-
Notifications
You must be signed in to change notification settings - Fork 0
Querries
KeithChamberlain edited this page May 15, 2021
·
1 revision
Welcome to SQL Journey!!
This page outlines queries.
create table, alter table, drop table, view table [as], select, insert, truncate, union [all], except, intercept, update, delete
distinct, from, where, order by, group by, having
count, sum, min, max, avg, etc.
and, or, like, in, not, is null, is not null, between, exists, ==, <>, !=, etc.
text, integer, numeric, real, none
char(s), varchar(s), tinytext(s), text(s), mediumtext(s), longtext(s), nchar(s), nvarchar(s), clob(s),
integer, numeric, real, date, datetime, timestamp, time
select [distinct] [columns or *]
from [table in db] as [local_name]
where [condition]