第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問題,去搜搜看,總會(huì)有你想問的

查詢哪里出問題了

查詢哪里出問題了

慕粉3884565 2016-11-14 14:03:11
Query : select *from where sid='S_1001' or sid='S_1002' or sid='S_1003'Error Code : 1064You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where sid='S_1001' or sid='S_1002' or sid='S_1003'' at line 1Execution Time : 00:00:00:000Transfer Time? : 00:00:00:000Total Time???? : 00:00:00:000為什么會(huì)這樣翻譯過的代碼也一樣這是數(shù)據(jù)庫(kù)所有代碼CREATE TABLE stu (?? ?sid?? ?CHAR(6),?? ?sname?? ??? ?VARCHAR(50),?? ?age?? ??? ?INT,?? ?gender?? ?VARCHAR(50));INSERT INTO stu VALUES('S_1001', 'liuYi', 35, 'male');INSERT INTO stu VALUES('S_1002', 'chenEr', 15, 'female');INSERT INTO stu VALUES('S_1003', 'zhangSan', 95, 'male');INSERT INTO stu VALUES('S_1004', 'liSi', 65, 'female');INSERT INTO stu VALUES('S_1005', 'wangWu', 55, 'male');INSERT INTO stu VALUES('S_1006', 'zhaoLiu', 75, 'female');INSERT INTO stu VALUES('S_1007', 'sunQi', 25, 'male');INSERT INTO stu VALUES('S_1008', 'zhouBa', 45, 'female');INSERT INTO stu VALUES('S_1009', 'wuJiu', 85, 'male');INSERT INTO stu VALUES('S_1010', 'zhengShi', 5, 'female');INSERT INTO stu VALUES('S_1011', 'xxx', NULL, NULL);CREATE TABLE emp(?? ?empno?? ??? ?INT,?? ?ename?? ??? ?VARCHAR(50),?? ?job?? ??? ?VARCHAR(50),?? ?mgr?? ??? ?INT,?? ?hiredate?? ?DATE,?? ?sal?? ??? ?DECIMAL(7,2),?? ?comm?? ??? ?DECIMAL(7,2),?? ?deptno?? ??? ?INT) ;INSERT INTO emp VALUES(7369,'SMITH','CLERK',7902,'1980-12-17',800,NULL,20);INSERT INTO emp VALUES(7499,'ALLEN','SALESMAN',7698,'1981-02-20',1600,300,30);INSERT INTO emp VALUES(7521,'WARD','SALESMAN',7698,'1981-02-22',1250,500,30);INSERT INTO emp VALUES(7566,'JONES','MANAGER',7839,'1981-04-02',2975,NULL,20);INSERT INTO emp VALUES(7654,'MARTIN','SALESMAN',7698,'1981-09-28',1250,1400,30);INSERT INTO emp VALUES(7698,'BLAKE','MANAGER',7839,'1981-05-01',2850,NULL,30);INSERT INTO emp VALUES(7782,'CLARK','MANAGER',7839,'1981-06-09',2450,NULL,10);INSERT INTO emp VALUES(7788,'SCOTT','ANALYST',7566,'1987-04-19',3000,NULL,20);INSERT INTO emp VALUES(7839,'KING','PRESIDENT',NULL,'1981-11-17',5000,NULL,10);INSERT INTO emp VALUES(7844,'TURNER','SALESMAN',7698,'1981-09-08',1500,0,30);INSERT INTO emp VALUES(7876,'ADAMS','CLERK',7788,'1987-05-23',1100,NULL,20);INSERT INTO emp VALUES(7900,'JAMES','CLERK',7698,'1981-12-03',950,NULL,30);INSERT INTO emp VALUES(7902,'FORD','ANALYST',7566,'1981-12-03',3000,NULL,20);INSERT INTO emp VALUES(7934,'MILLER','CLERK',7782,'1982-01-23',1300,NULL,10);CREATE TABLE dept(?? ?deptno?? ??? ?INT,?? ?dname?? ??? ?VARCHAR(14),?? ?loc?? ??? ?VARCHAR(13));INSERT INTO dept VALUES(10, 'ACCOUNTING', 'NEW YORK');INSERT INTO dept VALUES(20, 'RESEARCH', 'DALLAS');INSERT INTO dept VALUES(30, 'SALES', 'CHICAGO');INSERT INTO dept VALUES(40, 'OPERATIONS', 'BOSTON');SELECT * FROM dept;SELECT * FROM emp;SELECT * FROM stu;-- 查詢性別為女,并且年齡大于等于50的記錄SELECT*FROM stu WHERE gender='female' AND age>=50;-- 查詢學(xué)號(hào)為S_1001,或者姓名為liSi的記錄SELECT *FROM stu WHERE sid='S_1001' OR sname='lisi';-- 查詢學(xué)號(hào)為S_1001,S_1002,S_1003的記錄SELECT *FROM WHERE sid='S_1001' OR sid='S_1002' OR sid='S_1003'; --  查詢年齡為null的記錄
查看完整描述

1 回答

已采納
?
摩訶迦葉

TA貢獻(xiàn)146條經(jīng)驗(yàn) 獲得超54個(gè)贊


SELECT *FROM WHERE sid='S_1001' OR sid='S_1002' OR sid='S_1003';????? FROM 哪張表你沒寫

查看完整回答
2 反對(duì) 回復(fù) 2016-11-14
?
慕瓜9220888

TA貢獻(xiàn)868條經(jīng)驗(yàn) 獲得超0個(gè)贊

DBYCLZUMK

IHHOIGNUW

KNKUUOCLH

GLVLVZUZX

OQWUESAIW

WIEXOZQBZ

RMCYEIMHP

DIYPVDLMQ

QFCMMQJYN

MBYIYGRTK

LOFWGRPDI

MBVVTLFKY

DVCCFQUIX

HMSZPKKAR

AOGGDVSHY

CXAQITHRV

POEIRGHUY

WBHDCEVWD

KFPENQGEI

QRHFHEZJQ

PSYLKAEZF

JYVIEHYSJ

PKTTMEFJZ

EVBAGNHYS

LGZFYOIWW

FNUQMRIZT

BMOPYFNOY

SDPVYYMZT

VWPTWUBFP

WHNOOOBCM

HZLUQZPTU

LMLRKEWRB

GGFLOLSQE

LJLEAHOOO

UIUXXDYSW

WXDCFGGUE

EWLLNBYFW

XWBYTNRVV

FAGSLCMZT

DFHXJTHRY

MKQMVMGHB

LMCUNEOLW

FEYYVHNIW

YRUKAVZHU

DMMFZKBZP

FBTGPTYVP

RAWWSZXVQ

VXQGCZDOI

KVADADEIT

EWFODERLY

PEADVZGNB

PBXQWTEUH

GUTNXXINO

HXQGPLIMD

ASUTKBFFG

PRQYZJNEY

MRKIVNKVL

KKGHLTRMK

CWSOFFWHU

IAZFBYZWA

ZLXTSZGAH

VUQJFMKBP

FREZZNERX

EXENUJYEV

VURIOFNVW

XSSIVKUFE

GROHKSAEZ

ZERBBCDSM

DMTWMOAEZ

AFSPFTJXV

BKKYYMEMG

MIYSZAVTE

MTZHRZNLF

ATGGGRAAY

JSCPIQWEP

MVPFSGKCN

YDYPWOFGL

DZFFCQOEY

PQQYVFASG

PRRELKFDG

YANEAKVTX

TVYWRWNYZ

BTZIOSVWN

AHTPVFTQN

FTGNAXNOC

KZVHWZNDS

ZLDXPQQRB

MOAXWABSV

AIVVBYCWO

OGMHNKVPW

CUAJPWNQG

XVWFVTJKX

PNDSOIKOY

CVAAJQSMG

XIRRWNRQX

AIIHXHOYM

RQPYABIIC

JEXKTWKAL

CHNJSSMXU

GSRNDJXYF

LHURFURPD

NFFWCHIQT

RMDURVTVJ

XQYUHPWBI

LJJZQXSQB

BNNKDECXY

GOOLYGXFJ

KJFKEIXIG

BDDYLJXSI

UUOELCUFG

VEARXZXHF

FSFVIGEME

ZOUEAPGYK

WOVUHJKLC

LNAHDBWDC

WSSSLPOEZ

MUQWISTFM

HVVYHRVDE

EMSLOCGUO

SATMMTAKD

VADSOPBVI

ECIOYWWJQ

ZKTFLZPWK

TXNCLCPTU

OMMYGJUVV

QYXZABBJT

QOTPFGBFD

PXGSCMJFC

HWTADKHVF

OMIHERYST

UPVRTKBSF

OEEKWHSFD

RZIHXYSSP

GLUQQURSC

JDCRBBYMD

QJXEELJIF

HAQDGLSET

ZYLCSKLTE

WORVLPLPH

ELFBBARCR

YXDDGUMQM

NYORLKYGO

KJPMMKOMU

YRSHEBQOF

NLICIAGUI

ONXTQOWIA

GLORIWVJY

SXENHOWKL

VXUKXAOWX

BKTJXRZXB

BAKNYGIGW

ZJWJJXCAY

ENVLFDECA

YQDDYKMDG

QYHQFRCMF

ETCBROSPD

MOKTSMNXX

AIXDNPGAK

KJAJSWTAG

GBEGPOFCT

HPOHDUSCY

HGIRXOEYR

QRKXWNTHZ

QRHDUYFSW

GBQWVUPZP

PUDZUPQDE

BDPVBOXRT

XVIHQHTDY

AZWORCEVV

XEGMBCCWK

KILXNKXHR

DDAPSISDV

KOUNSJARE

HTZMMQODH

OXBMSZGOJ

QMJGNCKUR

UPWFFWKBC

ITWSRLMZT

AGDNXVYWH

YQAKWYTWW

查看完整回答
反對(duì) 回復(fù) 2021-10-21
  • 1 回答
  • 0 關(guān)注
  • 5255 瀏覽
慕課專欄
更多

添加回答

舉報(bào)

0/150
提交
取消
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)