3. Oracle – SQL – Summary

09Mar11

小總結:

SQL 大致上的格式
Select distinct name from table
where a.a=b.b and in a.b in ( SQL )
group by a.c
having avg(a.a) > 10

create table
(att1 varchar(8),
att2 numeric(4,0),
primary key att3 (att1)
check (att2 in ( 'Fall','spring'))
);



No Responses Yet to “3. Oracle – SQL – Summary”

  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s


Follow

Get every new post delivered to your Inbox.