Please enable JavaScript.
Coggle requires JavaScript to display documents.
SQL (DQL (where (between (! inclusive), in (performance), like (like '…
SQL
DQL
-
join
-
-
join order?
database optimizer choose the best order, BUT it is possible to provide a hint and set DRIVING TABLE (the first table)
-
-
group by
! only columns appeared in GROUP BY may be selected or columns selected in aggregate functions
! it is not possible to mix aggregate functions with just columns without GROUP BY
! column cannot be equal to null, it can be null
! col_val != val DOES NOT return null values
using
select t1.t2_id, t2.t2_id from t1 join t2 using (t2_id)
-
-
-
-
-
-
-
-
-