⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qu.5

📁 linux 下用c++ 开发的一个小型数据库系统
💻 5
字号:
/* * test 5 tests QU_Insert without indices *//* create relations */create table soaps(soapid int, name char(28), network char(4), rating real);load table soaps from ("../data/soaps.data");create table stars(starid int, real_name char(20), plays char(12), soapid int);load table stars from ("../data/stars.data");/* * luckily, Soap Operas Digest has a section called `Comings and Goings' * which makes the writing of the insert and delete tests much simpler */print table stars;/* * insert with attributes in order: * Parker Posey is going to be playing Tess on As the World Turns */insert into stars (starid, real_name, plays, soapid) values (100, "Posey, Parker",	      "Tess", 6);/* * insert with attributes out of order: * Laura Bonarrigo will be joining the cast of One Life to Live, in the * role of Cassie */insert into stars (real_name,soapid, starid, plays) values ("Bonarrigo, Laura", 3,	      101, "Cassie");print table stars;/*insert into stars (starid,soapid) values (123,  33);print table stars;*/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -