我有一個左一個SQL查詢中的連接工作正常: SELECT book.* FROM book
LEFT JOIN purchase ON book.book_id = purchase.book_id
WHERE purchase.user_id = 3
ORDER BY purchase.purchase_date
但我也需要從進貨表的相關信息,所以我嘗試: SELECT purchas
我試圖將一個表從實時遠程服務器複製到本地開發機器上。我想: select *
into mmm
from [sqlb8.webcontrolcenter.com].[1photo].[kelraie].[pix]
但得到這個錯誤: Msg 7202, Level 11, State 2, Line 1 Could not find server 'sqlb8.webcontrolcente
我有loginlog表如下 Field Type
login_id int(10) NOT NULL
platform varchar(50) NOT NULL
browser varchar(50) NOT NULL
ipaddress varchar(50) NOT NULL
last_login datetime NULL
last_logout datetime NULL