SQL基本查询语句有哪些?
展开全部
增、删、改、查
增:
INSERT titles
VALUES('BU2222', 'Faster!', 'business', '1389',
NULL, NULL, NULL, NULL, 'ok', '06/17/87')
删:
DELETE FROM authors
WHERE au_lname = 'McBadden'
改:
UPDATE publishers
SET city = 'Atlanta', state = 'GA'
查:
SELECT au_lname, pub_name
FROM authors CROSS JOIN publishers
增:
INSERT titles
VALUES('BU2222', 'Faster!', 'business', '1389',
NULL, NULL, NULL, NULL, 'ok', '06/17/87')
删:
DELETE FROM authors
WHERE au_lname = 'McBadden'
改:
UPDATE publishers
SET city = 'Atlanta', state = 'GA'
查:
SELECT au_lname, pub_name
FROM authors CROSS JOIN publishers
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询