select 1 from orders

Solutions on MaxInterview for select 1 from orders by the best coders in the world

showing results for - "select 1 from orders"
Chenai
02 Jan 2018
1select 1 from table will return the constant 1 for every row of the table. It's useful when you want to cheaply determine if record matches your where clause and/or join.