【文章內(nèi)容簡(jiǎn)介】
lect real_name,(submit_date+365) As new_date From users ? Select * From users Where submit_date2022111 AND real_name=“建波 ” Select語(yǔ)句 示例 ? Select * From users Where real_name like “%勇 %” ? Select * From users Order By real_name DESC ? Select Count(*) As total From users Where submit_date2022111 ? Select , From users,day_log Where = Insert語(yǔ)句 ?向用戶表 Uesrs中增加新成員時(shí),就需要將新用戶的數(shù)據(jù)插入到表 users中。此時(shí),可以使用 SQL語(yǔ)言中的 Insert語(yǔ)句來實(shí)現(xiàn)這個(gè)功能。 ? Insert Into 表 (字段 1,字段 2,… ) Values(字段 1的值 ,字段 2的值 ,… ) Insert語(yǔ)句 示例 ? Insert Into users ( user_name, password,real_name,tel,,sub