--查询数据并赋值
WITH brandid AS (
SELECT
id
FROM brand
WHERE code='bb'
)
--SELECT * FROM brandid;
--插入数据
insert into game(brand,game_code,attributes,category,supported_platform,create_at,update_at)
SELECT id,'gamecode',0,'gamecatetory','platform',
'2023-07-24 12:24:51.477876','2023-07-24 12:24:51.477876' FROM brandid;
--按赋值的条件查询数据
select * from game where brand=(select id from brandid);
FinecK819:
handle_info 和handle_call里调用call 会超时
adb logcat findstr 有时候会出现 写入错误,需要设置一下语言编码CHCP 65001 ,设置为UTF-8编码
VCPKG Warning: The following VS instances are excluded because the English language pack
生命大陆: