Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. SQL Server
  3. Question
SQL Server

What does % in this WHERE clause do?

Asked by Emma Lewis Sep 9, 2021 1.0K views 1 answer
Share

About this question

I'm doing training and one of the scripts has the following command: SELECT SUM(Col2) FROM clust_table WHERE Col1 % 3 = 1
I would like to know what this snippet is for in the WHERE clause: Col1 % 3 = 1

I did some research on the internet and found no references about this command.

Your answer

1 Answer

More SQL Server discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest SQL Server Blogs

Guides, tips and career advice on SQL Server from JanBask experts.