文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>数据库

数据库

时间:2011-03-15  来源:huhuuu

View Code
SELECT snum,sname,ssex,sbirth,dnum
FROM s
--where snum='S006'
WHERE dnum='d02'

SELECT score,snum
from sc
where score>=60 and score<=85

SELECT snum,sname
from s
where sname like '王_'

SELECT cnum,score*1.5
from sc
where cnum='c01'and score is not null

select distinct snum
from sc

select snum,score
from sc
where cnum='c01'
order by score asc

select s.snum,s.sname,sc.cnum,sc.score
from s,sc

select distinct s.sname,c.cname,c.cfreq
from s,c

select s.snum,s.sname,sc.score
from s,sc
where cnum='c02' and score>=85
相关阅读 更多 +
排行榜 更多 +
辰域智控app

辰域智控app

系统工具 下载
网医联盟app

网医联盟app

运动健身 下载
汇丰汇选App

汇丰汇选App

金融理财 下载