What does ORDER BY 1 do in MySQL?
it simply means sorting the view or table by 1st column of the query's result. above this query, the 'employee_id' column is the first column but this column is selected from two tables that's why to use this type of sorting. Lees verder »
Bron: stackoverflow.com
Gerelateerd aan What does ORDER BY 1 do in MySQL?
- Wat is de UNION-functie in SQL?
- Wat is het verschil tussen UNION en UNION ALL?
- Hoe combineer je twee SELECT-query's in SQL met verschillende kolommen?
- Wat is een UNION-bewerking in een DBMS?
- Hoe gebruik je UNION en UNION ALL in SQL?
- Wat doet UNION SELECT in SQL?
- Wat betekent != in SQL?
- Wat is het verschil tussen UNION en UNION ALL in T-SQL?