3
我試圖在插入查詢中使用SELECT UUID()
。 這裏是我的uery在插入語句中選擇UUID()MySQL
INSERT INTO `posts`(`post_id`, `user_id`, `content`, `time`) VALUES (SELECT uuid(),1,'my content',mytime)
我收到提示a comma or a closing bracket was expected mysql near uuid
另外,我想你可以刪除'VALUES('和')' – Strawberry