0
SELECT * FROM register WHERE user_id LIKE 'a%'
SELECT * FROM register WHERE user_id LIKE '%m'
SELECT * FROM register WHERE user_id LIKE '%andru%'
SELECT R.name,C.country_name,S.state_name
FROM register R JOIN country C ON R.country_id=C.country_id
JOIN state S ON R.state_id=S.state_id
SELECT R.name,C.country_name,S.state_name
FROM register R INNER JOIN country C ON R.country_id=C.country_id
INNER JOIN state S ON R.state_id=S.state_id
現在我需要LinqToSql查詢,而不是這些查詢LinqToSql查詢,而不是一些SQL查詢
[whathaveyoutried](http://www.whathaveyoutried.com)? –
@ErenErsönmez同意,我喜歡鏈接 –
在黑暗中刺戳:看看['SqlMethods.Like'](http://msdn.microsoft.com/zh-cn/library/bb355235.aspx) –