這是sql語句的題,望大神幫忙解決一下,跪謝

2022-03-30 05:17:21 字數 1692 閱讀 8748

1樓:

又是**.....算了!!

求大神幫忙解決資料庫的問題,妹紙跪謝!

2樓:匿名使用者

你的資料庫沒有連線上。檢查一下你的連線串的內容是否正確。

你是不是用自帶的sqlexpress來做資料庫?如果是的話,試一下把連線串改成:

string constr = "server=.\sqlexpress;database=da;user id=sa;password=1234 intergrated security=false;";

--------------

我漏了看了,你的insert 語句錯了。好好學一下sql的寫法。

3樓:

insert into w(樣本id,專案名稱,患者姓名,年齡,性別,結果,參考值範圍,評估)values(1112,aso,張三,54,男,31,31,21)

4樓:匿名使用者

看一下constr有沒有錯誤

求大神們幫忙做下資料庫的題,跪謝了,全做完了我會加分的,謝謝了 30

5樓:致命的溫柔丶

3、c4、b5、b 6、 c7、8、a9、c10、d11、a12、d13、b14、d16、a

3.備份,附加

4.實體,引用

8.mssql,mysql

9.mdf,.ndf

10,實體完整性,域完整性,引用完整性(沒有參照完整性)12.and,or

13.對應的資料,表

14.詳細設計,資料庫搭建

17.主鍵約束,(參照完整性確實沒聽說過)20.(和13題重複)

21.表,索引

6樓:leo分享

4、d 5、b 6、b 7、d 8、a 10、d 11、a 13、d 14、d 16、a

sql語句:查詢某欄位存在於一字串,大神幫忙解答一下~~~

7樓:

試試這個語句:

select * from archiveswhere charindex('張三是李四的兄弟,也是何八的兒子',title) > 0

用的是charindex函式判斷

8樓:匿名使用者

字串「張三是李四的兄弟,也是何八的兒子。」 這個應該也是放到某個表裡的吧

假設這句話是放在a表彙總的keyword欄位中可以這樣寫:

select b.id,b.title,b.bodyfrom a as a

join archives as b

on a.keyword like '%'+b.title+'%'

9樓:匿名使用者

select * from archives where title like 『%張三%』 or like 『%李四%』 or like 『%何八%』 看看是不是你想要的

sql查詢語句問題,本人初學者,在網上看到乙個試題,請大神幫忙看下答案是否正確

10樓:

因為b的group by裡只有occmonth,debitoccur前面沒有max()會報語法錯誤。

sql資料庫題求大神幫忙,sql資料庫題求大神幫忙

if object id n member is not null drop table membercreate table member mid char 10 not null primary key,mname char 50 not null goexec sp addextendedpr...

請大神幫忙解這道數學題,哪位大神能幫忙解一解這道數學題?

解 設 7 50 a,7 50 b則a 7 50,b 7 50 a b 7 50 7 50 14 又a b a b a ab b a b a b 3ab a b a b 3 7 50 7 50 a b a b 3 a b 3 a b 14 a b 2 a b 2 a b 7 0 a b 2 a b ...

SQL語句編寫都是很基礎的,但我不會,求幫忙編寫

純手打,望採納!1 select from department 2 select from employee where ezipcode 210010 order by eno desc,dno 3 select ename,etel,email from employee where dno ...