sql數(shù)據(jù)庫建表語句 怎樣用SQL語言建立學(xué)生數(shù)據(jù)表,包括對成績的刪除、錄入、查詢?
怎樣用SQL語言建立學(xué)生數(shù)據(jù)表,包括對成績的刪除、錄入、查詢?--1. --創(chuàng)建一個新的數(shù)據(jù)庫xsglcreatedatabasexsgl——創(chuàng)建一個新表student(student informa
怎樣用SQL語言建立學(xué)生數(shù)據(jù)表,包括對成績的刪除、錄入、查詢?
--1. --創(chuàng)建一個新的數(shù)據(jù)庫xsglcreatedatabasexsgl——創(chuàng)建一個新表student(student information)usexglgocreateable student(snochar(10)notnull,namechar(8),sexchar(2)default “male”notnull,birthdaydatetime,sdeptchar(20))——創(chuàng)建一個名為score的表(snochar(10)notnull,cnochar(10)notnull,gradereal)--2修改和刪除字段添加插入值修改更新刪除刪除