blob_id
stringlengths
40
40
language
stringclasses
1 value
repo_name
stringlengths
5
133
path
stringlengths
3
276
src_encoding
stringclasses
33 values
length_bytes
int64
23
9.61M
score
float64
2.52
5.28
int_score
int64
3
5
detected_licenses
listlengths
0
44
license_type
stringclasses
2 values
text
stringlengths
23
9.43M
download_success
bool
1 class
7c9ec13d8b1096471bf787c1623f7d7923654caa
SQL
gabrielgmaciel/Honda
/bd/cliente.sql
UTF-8
1,813
2.984375
3
[]
no_license
-- phpMyAdmin SQL Dump -- version 4.6.5.2 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: 14-Maio-2017 às 16:53 -- Versão do servidor: 10.1.21-MariaDB -- PHP Version: 5.6.30 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `bdappweb` -- -- -------------------------------------------------------- -- -- Estrutura da tabela `cliente` -- CREATE TABLE `cliente` ( `id_cliente` int(10) NOT NULL, `nome` varchar(50) NOT NULL, `endereco` varchar(100) NOT NULL, `cep` varchar(10) NOT NULL, `tel_celular` varchar(12) NOT NULL, `tel_residencial` varchar(12) NOT NULL, `email` varchar(50) NOT NULL, `senha` varchar(50) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Extraindo dados da tabela `cliente` -- INSERT INTO `cliente` (`id_cliente`, `nome`, `endereco`, `cep`, `tel_celular`, `tel_residencial`, `email`, `senha`) VALUES (1, 'wan test 1', 'enderecoTeste1', '71.880-015', '061993494591', '', 'wan@gmail.com', '123456'), (2, 'Teste 2', 'enderecoTeste2', '71880016', '', '', 'teste01@gmail.com', '123'); -- -- Indexes for dumped tables -- -- -- Indexes for table `cliente` -- ALTER TABLE `cliente` ADD PRIMARY KEY (`id_cliente`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `cliente` -- ALTER TABLE `cliente` MODIFY `id_cliente` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
true
c54cfe0654096727e26f815d1d5bc9ebc6ae5a34
SQL
xavi-barzallo/PHP_MySQL
/sql/practica02.sql
UTF-8
2,510
3.125
3
[]
no_license
-- phpMyAdmin SQL Dump -- version 5.1.0 -- https://www.phpmyadmin.net/ -- -- Servidor: 127.0.0.1 -- Tiempo de generación: 24-05-2021 a las 21:34:03 -- Versión del servidor: 10.4.18-MariaDB -- Versión de PHP: 8.0.3 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Base de datos: `practica02` -- -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `telefono` -- CREATE TABLE `telefono` ( `tel_codigo` int(11) NOT NULL, `tel_numero` int(11) NOT NULL, `tel_operadora` varchar(30) NOT NULL, `usu_cedula` varchar(10) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `usuario` -- CREATE TABLE `usuario` ( `usu_codigo` int(11) NOT NULL, `usu_cedula` varchar(10) NOT NULL, `usu_nombres` varchar(50) NOT NULL, `usu_apellidos` varchar(50) NOT NULL, `usu_direccion` varchar(75) NOT NULL, `usu_correo` varchar(50) NOT NULL, `usu_password` varchar(255) NOT NULL, `usu_rol` varchar(255) NOT NULL, `usu_fecha_nacimiento` date NOT NULL, `usu_eliminado` varchar(1) NOT NULL DEFAULT 'N', `usu_fecha_creacion` timestamp NOT NULL DEFAULT current_timestamp(), `usu_fecha_modificacion` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Índices para tablas volcadas -- -- -- Indices de la tabla `telefono` -- ALTER TABLE `telefono` ADD PRIMARY KEY (`tel_codigo`), ADD KEY `fk_usuario_telefono` (`usu_cedula`); -- -- Indices de la tabla `usuario` -- ALTER TABLE `usuario` ADD PRIMARY KEY (`usu_codigo`), ADD UNIQUE KEY `usu_cedula` (`usu_cedula`); -- -- AUTO_INCREMENT de las tablas volcadas -- -- -- AUTO_INCREMENT de la tabla `usuario` -- ALTER TABLE `usuario` MODIFY `usu_codigo` int(11) NOT NULL AUTO_INCREMENT; -- -- Restricciones para tablas volcadas -- -- -- Filtros para la tabla `telefono` -- ALTER TABLE `telefono` ADD CONSTRAINT `fk_usuario_telefono` FOREIGN KEY (`usu_cedula`) REFERENCES `usuario` (`usu_cedula`); COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
true
bb90e6aabc1ff0542330b2eb940c32e7843b3892
SQL
146379/vertex
/src/sql/facts/vertex_fact_zip_daily_gl_ledger_credit_change.sql
UTF-8
1,993
3.765625
4
[]
no_license
create or replace view vertex_fact_zip_daily_gl_ledger_credit_change as select lcc.effective_day_id, lcc.credit_change_type_id, lcc.accounting_category_id, COALESCE(fa.contract_entity_id, -1) as contract_entity_id, COALESCE(av.aggregate_version_id, 0) as aggregate_version_id, lcc.currency, COALESCE(CAST(lcc.fx_rate_id as int), 0) as fx_rate_id, case when dim_cct.gl_name like '%_paypal' then (SELECT COALESCE(country_id, 0) from vertex_dim_country where name = 'United States') when dim_cct.gl_name like '%_mpesa' then (SELECT COALESCE(country_id, 0) from vertex_dim_country where name = 'Kenya') else 0 end as country_id, SUM(case when lcc.price > 0 then 1 else 0 end) as num_items_plus, SUM(case when lcc.price > 0 then lcc.price else 0 end) as total_amount_plus_local, SUM(case when lcc.price > 0 then lcc.price else 0 end) as total_amount_plus_usd, SUM(case when lcc.price <= 0 then 1 else 0 end) as num_items_minus, SUM(case when lcc.price <= 0 then lcc.price else 0 end) as total_amount_minus_local, SUM(case when lcc.price <= 0 then lcc.price else 0 end) as total_amount_minus_usd from vertex_fact_zip_ledger_credit_change lcc inner join vertex_dim_credit_change_type dim_cct on lcc.credit_change_type_id = dim_cct.credit_change_type_id left join zip_fund_accounts fa on fa.id = lcc.fund_account_id left join gl_aggregate_version av on av.effective_day_id = lcc.effective_day_id and --if av_id = 0, pull from beginning of time. some credit_changes are pre-booked case when COALESCE(av.aggregate_version_id, 0) = 0 then lcc.create_time <= av.aggregation_end_time else lcc.create_time between av.aggregation_start_time and av.aggregation_end_time end where av.verse_report_name = 'zip_daily_gl_entries' group by lcc.effective_day_id, lcc.credit_change_type_id, lcc.accounting_category_id, fa.contract_entity_id, av.aggregate_version_id, lcc.currency, lcc.fx_rate_id, country_id ;
true
3e30fd493e5f4c4a2c3c4e2edb21ad19b87474c1
SQL
xiangerwu/Elective-inquiry-system
/stust.sql
UTF-8
3,793
3.5625
4
[]
no_license
-- phpMyAdmin SQL Dump -- version 4.7.4 -- https://www.phpmyadmin.net/ -- -- 主機: 127.0.0.1 -- 產生時間: 2017-11-22 16:18:43 -- 伺服器版本: 10.1.28-MariaDB -- PHP 版本: 5.6.32 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- 資料庫: `stust` -- -- -------------------------------------------------------- -- -- 資料表結構 `course` -- CREATE TABLE `course` ( `Course_name` char(50) NOT NULL, `Course_number` char(10) NOT NULL, `Credit_hours` int(2) NOT NULL, `Department` char(10) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- 資料表的匯出資料 `course` -- INSERT INTO `course` (`Course_name`, `Course_number`, `Credit_hours`, `Department`) VALUES ('Intro to Computer Science', 'CS1310', 4, 'CS'), ('Data Structures', 'CS3320', 4, 'CS'), ('Discrete Mathematics', 'MATH2410', 3, 'MATH'), ('Database', 'CS3380', 3, 'CS'); -- -------------------------------------------------------- -- -- 資料表結構 `grade_report` -- CREATE TABLE `grade_report` ( `Student_number` int(3) NOT NULL, `Section_identifider` int(4) NOT NULL, `Grade` char(1) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- 資料表的匯出資料 `grade_report` -- INSERT INTO `grade_report` (`Student_number`, `Section_identifider`, `Grade`) VALUES (8, 85, 'A'), (8, 92, 'A'), (8, 102, 'B'), (17, 112, 'B'), (17, 119, 'C'), (8, 135, 'A'); -- -------------------------------------------------------- -- -- 資料表結構 `prerequisite` -- CREATE TABLE `prerequisite` ( `Course_number` char(15) NOT NULL, `Prerequisite_number` char(15) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- 資料表的匯出資料 `prerequisite` -- INSERT INTO `prerequisite` (`Course_number`, `Prerequisite_number`) VALUES ('CS3380', 'CS3320'), ('CS3380', 'MATH2410'), ('CS3320', 'CS1310'); -- -------------------------------------------------------- -- -- 資料表結構 `section` -- CREATE TABLE `section` ( `Section_identifier` int(4) NOT NULL, `Course_number` char(10) NOT NULL, `Semester` char(10) NOT NULL, `Year` char(2) NOT NULL, `Instructor` char(20) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- 資料表的匯出資料 `section` -- INSERT INTO `section` (`Section_identifier`, `Course_number`, `Semester`, `Year`, `Instructor`) VALUES (85, 'MATH2410', 'Fall', '07', 'King'), (92, 'CS1310', 'Fall', '07', 'Anderson'), (102, 'CS3320', 'Spring', '08', 'Knuth'), (112, 'MATH2410', 'Fall', '08', 'Chang'), (119, 'CS1310', 'Fall', '08', 'Anderson'), (135, 'CS3380', 'Fall', '08', 'Stone'); -- -------------------------------------------------------- -- -- 資料表結構 `student` -- CREATE TABLE `student` ( `Name` char(20) NOT NULL, `Student_number` int(3) NOT NULL, `Class` int(2) NOT NULL, `Major` char(15) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- 資料表的匯出資料 `student` -- INSERT INTO `student` (`Name`, `Student_number`, `Class`, `Major`) VALUES ('Smith', 17, 1, 'CS'), ('Brown', 8, 1, 'CS'); -- -- 已匯出資料表的索引 -- -- -- 資料表索引 `grade_report` -- ALTER TABLE `grade_report` ADD UNIQUE KEY `Section_identifider` (`Section_identifider`); -- -- 資料表索引 `section` -- ALTER TABLE `section` ADD UNIQUE KEY `Section_identifier` (`Section_identifier`); COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
true
1a741cf08fcfa11653e04872f3674e99322fb33f
SQL
wangcug/shixi
/4添加数据.sql
UTF-8
1,223
3.1875
3
[]
no_license
/********************************** 作者:王成彬 日期:2020-05-08 学号:045435 班级:资源信息工程系 Email:wangchb@cug.edu.cn ***********************************/ use CUGer_student insert into Student --向Student添加数据 (Sno,Sname,Ssex,Sage,Sdept) --所添加的属性字段 values ('S01','王建平','男',21,'自动化') insert into Student --向Student添加数据 values ('S02','刘华','女',19,'自动化',NULL) insert into Student --向Student添加数据 values ('S03','范林军','女',18,'计算机',NULL), ('S04','李伟','男',19,'数学',NULL), ('S05','黄河','男',18,'数学',NULL), ('S06','长江','男',20,'数学',NULL) --向Course中添加数据 insert into Course --向Course添加数据 values ('C01','英语',NULL,4), ('C02','数据结构','C05',2), ('C03','数据库','C03',2), ('C04','DB_设计',NULL,3), ('C05','C++',NULL,3), ('C06','网络原理','C05',3), ('C07','操作系统',NULL,3) --向Repots中添加数据 insert into Reports --向Reports添加数据 values ('S01','C01',92), ('S01','C03',84), ('S02','C01',90), ('S02','C02',94), ('S02','C03',82), ('S03','C01',72), ('S03','C02',90), ('S04','C03',75)
true
bad9acf2e23e1c958a04d9e2b1dc49e3cbf6bcb2
SQL
davidemoraschi/APISA
/PANDAS_MALAGA/intervenciones firmadas.sql
UTF-8
1,995
3.59375
4
[]
no_license
/* Formatted on 11/21/2014 11:28:06 AM (QP5 v5.163.1008.3004) */ SELECT fecha, SUM (contador) FROM ( SELECT TRUNC (cab.fecha_hora_inicio, 'MM') FECHA, COUNT (1) AS contador FROM REP_HIS_OWN.ADM_QRF_IQ_PRE@SEE43DAE pre, REP_HIS_OWN.ADM_EPISODIO@SEE43DAE epi, REP_HIS_OWN.ADM_QRF_PQ_DET@SEE43DAE det, REP_HIS_OWN.ADM_QRF_PQ_CAB@SEE43DAE cab WHERE pre.episodio_id = epi.episodio_id AND det.iq_pre_id = pre.iq_pre_id AND det.pq_cab_id = cab.pq_cab_id AND epi.modalidad_asist = 1 AND det.iq_post_id IS NOT NULL AND (TRUNC (epi.fch_apertura, 'dd') <> TRUNC (epi.fch_cierre, 'dd')) AND TRUNC (cab.fecha_hora_inicio) >= TRUNC (ADD_MONTHS (SYSDATE, -12), 'MM') AND pre.estado_id <> 2 AND pre.estado_id <> 4 AND det.iq_despr_id IS NULL GROUP BY TRUNC (cab.fecha_hora_inicio, 'MM') UNION ALL SELECT * FROM ( SELECT TRUNC (cab.fecha_hora_inicio, 'MM') fecha, COUNT (1) AS contador FROM REP_HIS_OWN.ADM_QRF_IQ_PRE@SEE43DAE pre, REP_HIS_OWN.ADM_QRF_PQ_DET@SEE43DAE det, REP_HIS_OWN.ADM_QRF_PQ_CAB@SEE43DAE cab WHERE pre.episodio_id IS NULL AND pre.iq_pre_id = det.iq_pre_id AND det.pq_cab_id = cab.pq_cab_id AND pre.estado_id <> 2 AND pre.estado_id <> 4 AND det.iq_despr_id IS NULL AND det.iq_post_id IS NOT NULL AND modalidad_episodio (pre.id_usuario, cab.fecha_hora_inicio) = 1 AND TRUNC (cab.fecha_hora_inicio) >= TRUNC (ADD_MONTHS (SYSDATE, -12), 'MM') GROUP BY TRUNC (cab.fecha_hora_inicio, 'MM'))) GROUP BY fecha;
true
58ce16abb92df4c0e7b9e3c5015042b77a4d6781
SQL
gfriesen98/cms-project
/wiki.sql
UTF-8
5,547
2.859375
3
[ "MIT" ]
permissive
-- phpMyAdmin SQL Dump -- version 4.8.3 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Mar 24, 2019 at 08:55 PM -- Server version: 10.1.36-MariaDB -- PHP Version: 7.2.11 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `wiki` -- -- -------------------------------------------------------- -- -- Table structure for table `changes` -- CREATE TABLE `changes` ( `id` int(11) NOT NULL, `pageid` int(11) NOT NULL, `comment` varchar(100) NOT NULL, `type` char(1) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `items` -- CREATE TABLE `items` ( `id` int(11) NOT NULL, `name` varchar(200) NOT NULL, `location` varchar(100) NOT NULL, `description` varchar(15000) NOT NULL, `attributes` varchar(200) DEFAULT NULL, `creator` varchar(30) NOT NULL, `type` varchar(50) NOT NULL, `image_path` varchar(200) DEFAULT NULL, `page_type` char(1) NOT NULL DEFAULT 'I' ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `items` -- INSERT INTO `items` (`id`, `name`, `location`, `description`, `attributes`, `creator`, `type`, `image_path`, `page_type`) VALUES (1, 'h', 'h', 'h', 'h', 'admin', 'Consumable', 'images\\items\\gfriesenSA1-pshprintstopped.png', 'I'), (2, 'j', 'j', 'j', 'j', 'admin', 'Weapon', 'images\\items\\gfriesenDM2-PrintInstalled.png', 'I'); -- -------------------------------------------------------- -- -- Table structure for table `users` -- CREATE TABLE `users` ( `id` int(11) NOT NULL, `username` varchar(30) NOT NULL, `password` varchar(61) NOT NULL, `type` char(1) NOT NULL DEFAULT 'U', `email` varchar(50) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `users` -- INSERT INTO `users` (`id`, `username`, `password`, `type`, `email`) VALUES (1, 'test', '$2y$10$gKY09R3OOeIGXJorwE8XF.r', 'U', ''), (2, 'testing', '$2y$10$0yUQqFPWIdSN65/.G.pGduF', 'U', ''), (5, 'another', '$2y$10$jLu54QcFL.wIkvhCqlddEeUy1us/9zdPu2cgHrOCtmd.bNs45/UQu', 'A', ''), (6, 'admin', '$2y$10$YDI05uzIUWXic2gQB8JpCubSQqKH24LFIeAAa53vjIEB1qka3JtEy', 'A', ''), (7, 'normal', '$2y$10$KXF9Z0f14EGLTazD.ubj3uJppxoNlOTORU77QGM6pjN58e0IVIhKu', 'A', ''), (8, 'a', '$2y$10$YXPCNHszprcZfqmiq1o0l.ROt.DF3sbHY2mvlwJbTMG3hoDGwdybC', 'A', ''), (9, 'a', '$2y$10$xo1wS4EeW/mrYcttfGbpMuxHnIOwvzwZ8HulmNN9yy6FEeFzJuryi', 'A', 'a'), (10, 'a', '$2y$10$QMgjeUEQLFEtMlHNWpq4NOlt9Xeo8/NprAldFihsac7XautOjzham', 'A', 'a'), (11, 'a', '$2y$10$xSfY0nAsX1NrIEcyZSIVBOO3wB3nK3iNJRem2X50Ei3KH2zglxe0e', 'A', 'a'), (12, 'a', '$2y$10$mxux9uT5yzlvCIuuvasLfe/t7nVurTXUooj/pbC7NKEo8Xp8aW/4u', 'A', 'a'), (13, 'a', '$2y$10$hd/kMCFAlQZaQGhRadPELezv1VUW2eiZ8aRxJU1d.u5lD3glkPOzG', 'A', 'a'), (14, 'a', '$2y$10$jzQRoghlCmLbvJc8zxllb.7P4rXeCRWtcMKevle93vt8sGzYl/nVu', 'A', 'a'), (15, 'a', '$2y$10$UAlFE2z7J2aL113XxqTHVuTup6nXnbLBxjzJZPbsliuIDcfff/U9a', 'A', 'a'), (16, 'a', '$2y$10$OCAQzfcUawIc6SVva1b.f.0SPMTok/eMIb2Mns6zWooNvhNgOx8VG', 'A', 'a'), (17, 'asdassfdsfsafsaf', '$2y$10$pciXv8vIgczJv63e5C7jyu7iz9lHO/SH3H66kII3iQ1JPmZJF0rL6', 'U', 'sasdas'), (18, 'sahkjhkjh', '$2y$10$AVd6MIzzi0meWCAvfl2s9.pgPvUiZZcuxSCODMsOPzJWTPvFEUdw.', 'U', 'a'), (19, 'change', '$2y$10$DhlKISMzI/AMGTHDgpSwUeI5K8rwmh47N15/yFHLX8iC6boZAtfN2', 'A', 'change'), (20, 'aa', '$2y$10$/vQCDCh6Qo6CuECg/RtWIuI7MT9l.lmUrls/2E9/Q8LdDLf/My2sG', 'A', 'aa'), (21, 'aaa', '$2y$10$EiGtJlu0ab.1FoPOPfNw2uCZXHj92q2JqQCQJX0HeEzpN8VoSLUPS', 'A', 'aaa'), (22, 'f', '$2y$10$FQJIdSWrQbtPXVp0Sp6wYeT9aafCjOn98jt5lpOGzheDNFOSpm1Nm', 'U', 'f'), (23, 'g', '$2y$10$FaWL70h9kKyCotGzXsS35.tZD.5ZcvKQJix4jTn3kF6ZA/0ylNf8u', 'M', 'g'), (24, 'h', '$2y$10$AWcSiZpj9MbtrKHafa/LweiG4feKI7qshZR9UBvCh2ZDkUsN6fsgm', 'U', 'h'); -- -------------------------------------------------------- -- -- Table structure for table `user_changes` -- CREATE TABLE `user_changes` ( `id` int(11) NOT NULL, `comment` varchar(1500) NOT NULL DEFAULT 'Requests Administrative Access', `pageid` int(11) DEFAULT NULL, `username` varchar(30) DEFAULT NULL, `type` char(1) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Indexes for dumped tables -- -- -- Indexes for table `changes` -- ALTER TABLE `changes` ADD PRIMARY KEY (`id`); -- -- Indexes for table `items` -- ALTER TABLE `items` ADD PRIMARY KEY (`id`); -- -- Indexes for table `users` -- ALTER TABLE `users` ADD PRIMARY KEY (`id`); -- -- Indexes for table `user_changes` -- ALTER TABLE `user_changes` ADD PRIMARY KEY (`id`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `changes` -- ALTER TABLE `changes` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `items` -- ALTER TABLE `items` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- AUTO_INCREMENT for table `users` -- ALTER TABLE `users` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=25; -- -- AUTO_INCREMENT for table `user_changes` -- ALTER TABLE `user_changes` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
true
c137d8324183dda5571a79979c88465d7802108d
SQL
AOzsoylu/plsql-scripts
/sql/indexstat.sql
UTF-8
175
2.796875
3
[]
no_license
select index_name, status, partitioned from user_indexes where index_name IN (select index_name from user_indexes where table_name = Upper('&tabname') ) order by index_name /
true
da813283561ea004459df2f7846e8144343b52da
SQL
ZUNOXI/Finance-for-Youth
/python/stocksql.sql
UTF-8
3,028
3.203125
3
[]
no_license
show databases; create database javer; use javer; create table news( img varchar(1000), urltitle varchar(1000), title varchar(1000) ); select*from news; -- drop -- drop table member; drop table board; drop table comment; drop table replycomment; drop table replyboard; create table member( uid varchar(100) primary key, upw varchar(100) not null, uname varchar(100) not null, unickname varchar(100) not null unique, uphonenum varchar(100) unique, uemail varchar(100) unique, uaddress varchar(100), ufavor_ctg varchar(100), uprofilephoto varchar(2000), ubirth_date date, ujoin_date date not null, rcmd_blst varchar(4000) ); select*from member; create table board( bnum int auto_increment primary key, uid varchar(100) references member(uid) on delete cascade, btitle varchar(500), bcontent varchar(10000), bhit int, bcreation_date date, bctg varchar(100) ); select *from board; create table comment( cnum int auto_increment primary key, bnum int references board(bnum) on delete cascade, uid varchar(100) references member(uid) on delete cascade, ccontent varchar(1000), ccreation_date date ); create table replycomment( rnum int auto_increment primary key, cnum int references comment(cnum) on delete cascade, uid varchar(100) references member(uid) on delete cascade, rcontent varchar(1000), rcreation_date date ); create table replyboard( rnum int auto_increment primary key, bnum int references comment(bnum) on delete cascade, uid varchar(100) references member(uid) on delete cascade, rcontent varchar(1000), rcreation_date date ); use javer; select * from member; select * from board; select * from comment; select * from replyboard; select * from replycomment; ​ delete from member where uid="admin"; ​ insert into member(uid,upw, uname, unickname, uphonenum, uemail, ujoin_date) VALUES ('ssafy', ' 1111', 'asd', 'asdf' ,'sadf', 'asdf', now()); ​ insert into board(uid, btitle, bcontent, bctg) values ('ssafy', 'asdf', 'cvxb', 'fund'); ​ ​ ####################### ZuNo ########################## ​ delete from stock; drop table stock; CREATE TABLE stock ( num int(100) NOT NULL AUTO_INCREMENT, name varchar(255) NOT NULL, now varchar(100), close varchar(100), high varchar(100), open varchar(100), low varchar(100), PRIMARY KEY (num) ); select * from stock; insert into stock(name,now,close,high,open,low) values("co_name","now_price","close","high","open","low");
true
ca857d09dd22e29829d89c326277d8fd02c11747
SQL
radtek/abs3
/sql/mmfo/bars/Table/cin_kom1.sql
WINDOWS-1252
4,062
2.75
3
[]
no_license
PROMPT ===================================================================================== PROMPT *** Run *** ========== Scripts /Sql/BARS/Table/CIN_KOM1.sql =========*** Run *** ==== PROMPT ===================================================================================== PROMPT *** ALTER_POLICY_INFO to CIN_KOM1 *** BEGIN execute immediate 'begin bpa.alter_policy_info(''CIN_KOM1'', ''CENTER'' , null, null, null, null); bpa.alter_policy_info(''CIN_KOM1'', ''FILIAL'' , null, null, null, null); bpa.alter_policy_info(''CIN_KOM1'', ''WHOLE'' , null, null, null, null); null; end; '; END; / PROMPT *** Create table CIN_KOM1 *** begin execute immediate ' CREATE TABLE BARS.CIN_KOM1 ( RNK NUMBER(*,0), NMK VARCHAR2(35), NLS_2909 VARCHAR2(14), ID NUMBER(*,0), NAME VARCHAR2(35), MFO VARCHAR2(12), NLS VARCHAR2(14), REF NUMBER(*,0), S NUMBER(19,2), KA2 NUMBER(19,2), KA1 NUMBER(19,2), KB2 NUMBER(19,2), KB1 NUMBER(19,2), DAT1 DATE, DAT2 DATE, VDAT DATE, KC0 NUMBER(19,2), A2 NUMBER(19,2), B1 NUMBER(19,2), B2 NUMBER(19,2), C0 NUMBER(19,2), NLSR VARCHAR2(14), REC NUMBER(*,0), SR NUMBER, BRANCH VARCHAR2(22), SB1_MIN NUMBER, B3 NUMBER(19,2), KB3 NUMBER(19,2), S3 NUMBER(19,2) ) SEGMENT CREATION IMMEDIATE PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING TABLESPACE BRSDYND '; exception when others then if sqlcode=-955 then null; else raise; end if; end; / PROMPT *** ALTER_POLICIES to CIN_KOM1 *** exec bpa.alter_policies('CIN_KOM1'); COMMENT ON TABLE BARS.CIN_KOM1 IS ''; COMMENT ON COLUMN BARS.CIN_KOM1.RNK IS ''; COMMENT ON COLUMN BARS.CIN_KOM1.NMK IS ''; COMMENT ON COLUMN BARS.CIN_KOM1.NLS_2909 IS ''; COMMENT ON COLUMN BARS.CIN_KOM1.ID IS ''; COMMENT ON COLUMN BARS.CIN_KOM1.NAME IS ''; COMMENT ON COLUMN BARS.CIN_KOM1.MFO IS ''; COMMENT ON COLUMN BARS.CIN_KOM1.NLS IS ''; COMMENT ON COLUMN BARS.CIN_KOM1.REF IS ''; COMMENT ON COLUMN BARS.CIN_KOM1.S IS ''; COMMENT ON COLUMN BARS.CIN_KOM1.KA2 IS ''; COMMENT ON COLUMN BARS.CIN_KOM1.KA1 IS ''; COMMENT ON COLUMN BARS.CIN_KOM1.KB2 IS ''; COMMENT ON COLUMN BARS.CIN_KOM1.KB1 IS ''; COMMENT ON COLUMN BARS.CIN_KOM1.DAT1 IS ''; COMMENT ON COLUMN BARS.CIN_KOM1.DAT2 IS ''; COMMENT ON COLUMN BARS.CIN_KOM1.VDAT IS ''; COMMENT ON COLUMN BARS.CIN_KOM1.KC0 IS ''; COMMENT ON COLUMN BARS.CIN_KOM1.A2 IS ''; COMMENT ON COLUMN BARS.CIN_KOM1.B1 IS ''; COMMENT ON COLUMN BARS.CIN_KOM1.B2 IS ''; COMMENT ON COLUMN BARS.CIN_KOM1.C0 IS ''; COMMENT ON COLUMN BARS.CIN_KOM1.NLSR IS ''; COMMENT ON COLUMN BARS.CIN_KOM1.REC IS ''; COMMENT ON COLUMN BARS.CIN_KOM1.SR IS ''; COMMENT ON COLUMN BARS.CIN_KOM1.BRANCH IS ''; COMMENT ON COLUMN BARS.CIN_KOM1.SB1_MIN IS '1~Min.~ i'; COMMENT ON COLUMN BARS.CIN_KOM1.B3 IS ''; COMMENT ON COLUMN BARS.CIN_KOM1.KB3 IS ''; COMMENT ON COLUMN BARS.CIN_KOM1.S3 IS ''; PROMPT *** Create grants CIN_KOM1 *** grant SELECT on CIN_KOM1 to BARSREADER_ROLE; grant DELETE,INSERT,SELECT,UPDATE on CIN_KOM1 to BARS_ACCESS_DEFROLE; grant SELECT on CIN_KOM1 to BARS_DM; grant SELECT on CIN_KOM1 to PYOD001; grant DELETE,INSERT,SELECT,UPDATE on CIN_KOM1 to START1; grant SELECT on CIN_KOM1 to UPLD; PROMPT ===================================================================================== PROMPT *** End *** ========== Scripts /Sql/BARS/Table/CIN_KOM1.sql =========*** End *** ==== PROMPT =====================================================================================
true
7cf6a296c11f0a65483de9fb9977c9111a458553
SQL
mandouss/go_my_first_proj
/testSQL/fin/query.sql
UTF-8
884
3.5
4
[]
no_license
-- query in Contract SELECT Symbol.SYMBOL_NAME, Contract.AMOUNT FROM Contract, Symbol WHERE Contract.SYMBOL_ID=Symbol.SYMBOL_ID AND CONTRACT_ID='1'; -- query in ExecutedContract SELECT Symbol.SYMBOL_NAME, ExecutedContract.AMOUNT, ExecutedContract.PRICE, EXTRACT(EPOCH FROM ExecutedContract.MODIFICATION_TIME)::integer as TIME_PERIOD FROM ExecutedContract, Symbol WHERE ExecutedContract.SYMBOL_ID=Symbol.SYMBOL_ID AND CONTRACT_ID='1'; -- query in CancelledContract SELECT Symbol.SYMBOL_NAME, CancelledContract.AMOUNT, EXTRACT(EPOCH FROM CancelledContract.MODIFICATION_TIME)::integer as TIME_PERIOD FROM CancelledContract, Symbol WHERE CancelledContract.SYMBOL_ID=Symbol.SYMBOL_ID AND CONTRACT_ID='1'; -- prototype I use -- Select EXTRACT(EPOCH FROM ExecutedContract.MODIFICATION_TIME) from ExecutedContract; -- SELECT EXTRACT(MINUTE FROM TIMESTAMP '2001-02-16 20:38:40')::integer;
true
4739d63466839db550bc9fad4df5dfb07561b341
SQL
nikhilbhatewara/Leetcode
/Rectangles Area.sql
UTF-8
252
3.515625
4
[ "MIT" ]
permissive
select p1,p2,area from ( select p1.id p1 ,p2.id p2 , abs( (p1.x_value - p2.x_value) * (p1.y_value - p2.y_value) ) as area from points p1 cross join points p2 on p1.id < p2.id ) as T where area > 0 order by area desc ,p1,p2
true
b6965e14529e89b23da18628a2b53c7d0a4df542
SQL
yoan-durand/Projet-PLIC-EasyTab
/easytab.sql
UTF-8
3,590
3.578125
4
[]
no_license
-- phpMyAdmin SQL Dump -- version 3.5.1 -- http://www.phpmyadmin.net -- -- Client: localhost -- Version du serveur: 5.5.20-log -- Version de PHP: 5.3.9 SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+02:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; -- -- Base de données: `easytab` -- CREATE DATABASE `easytab` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci; USE `easytab`; -- -------------------------------------------------------- -- -- Structure de la table `tablature` -- CREATE TABLE IF NOT EXISTS `tablature` ( `id` int(11) NOT NULL AUTO_INCREMENT, `userId` int(11) NOT NULL, `nom` text NOT NULL, `chemin` text NOT NULL, `titre` text NOT NULL, `artiste` text NOT NULL, `public` tinyint(1) NOT NULL, PRIMARY KEY (`id`), KEY `userId` (`userId`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=24 ; -- -- Contenu de la table `tablature` -- -- -------------------------------------------------------- -- -- Structure de la table `user` -- CREATE TABLE IF NOT EXISTS `user` ( `id` int(11) NOT NULL AUTO_INCREMENT, `dateInscription` bigint(14) NOT NULL, `login` varchar(30) NOT NULL, `password` varchar(40) NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `login` (`login`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=11 ; -- -- Contenu de la table `user` -- INSERT INTO `user` (`id`, `dateInscription`, `login`, `password`) VALUES (1, -5694963725000, 'Admin', '3174685bb0ac5dfed704b7b41a5e44b713b759a1'), (2, 1341763667245, 'Fab', '03b8b8d1ba64d7498760a6b5e6cf197335d62ad7'), (3, 1341884838345, 'quidam', '279dc1e9d24616e6e4b553320688323cf8febf08'); -- -- Structure de la table `comment` -- CREATE TABLE IF NOT EXISTS `comment` ( `id` int(11) NOT NULL AUTO_INCREMENT, `auteurId` int(11) NOT NULL, `tablatureId` int(11) NOT NULL, `texte` text NOT NULL, `date` bigint(14) NOT NULL, PRIMARY KEY (`id`), KEY `auteurId` (`auteurId`), KEY `tablatureId` (`tablatureId`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ; -- -------------------------------------------------------- -- -- Structure de la table `note` -- CREATE TABLE IF NOT EXISTS `note` ( `id` int(11) NOT NULL AUTO_INCREMENT, `userId` int(11) NOT NULL, `tablatureId` int(11) NOT NULL, `note` int(11) NOT NULL, PRIMARY KEY (`id`), KEY `tablatureId` (`tablatureId`), KEY `userId` (`userId`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -- Contraintes pour les tables exportées -- -- -- Contraintes pour la table `comment` -- ALTER TABLE `comment` ADD CONSTRAINT `comment_ibfk_2` FOREIGN KEY (`tablatureId`) REFERENCES `tablature` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION, ADD CONSTRAINT `comment_ibfk_1` FOREIGN KEY (`auteurId`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION; -- -- Contraintes pour la table `note` -- ALTER TABLE `note` ADD CONSTRAINT `note_ibfk_2` FOREIGN KEY (`tablatureId`) REFERENCES `tablature` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION, ADD CONSTRAINT `note_ibfk_1` FOREIGN KEY (`userId`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION; -- -- Contraintes pour la table `tablature` -- ALTER TABLE `tablature` ADD CONSTRAINT `tablature_ibfk_2` FOREIGN KEY (`userId`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
true
b750ce0069c87f3cdaddbfd61c48f8fe656a2357
SQL
peacetrue/peacetrue-template-model
/peacetrue-template-model-content/src/test/resources/dictionary/schema-h2.sql
UTF-8
1,878
3.59375
4
[ "Apache-2.0" ]
permissive
DROP TABLE IF EXISTS dictionary_type; CREATE TABLE dictionary_type ( id BIGINT AUTO_INCREMENT PRIMARY KEY NOT NULL, code VARCHAR(255) NOT NULL COMMENT '编码', name VARCHAR(255) NOT NULL COMMENT '名称', creator_id BIGINT NOT NULL COMMENT '创建者主键', created_time DATETIME NOT NULL COMMENT '创建时间', modifier_id BIGINT NOT NULL COMMENT '修改者主键', modified_time DATETIME NOT NULL COMMENT '修改时间' ); insert into dictionary_type (id, code, name, creator_id, created_time, modifier_id, modified_time) values (1, 'sex', '性别', 1, '2010-01-01 01:01:01', 1, '2010-01-01 01:01:01'); DROP TABLE IF EXISTS dictionary_value; CREATE TABLE dictionary_value ( id BIGINT AUTO_INCREMENT PRIMARY KEY NOT NULL, dictionary_type_id BIGINT NOT NULL COMMENT '字典类型主键', code VARCHAR(255) NOT NULL COMMENT '编码', name VARCHAR(255) NOT NULL COMMENT '名称', creator_id BIGINT NOT NULL COMMENT '创建者主键', created_time DATETIME NOT NULL COMMENT '创建时间', modifier_id BIGINT NOT NULL COMMENT '修改者主键', modified_time DATETIME NOT NULL COMMENT '修改时间' ); insert into dictionary_value (id, dictionary_type_id, code, name, creator_id, created_time, modifier_id, modified_time) values (1, 1, 'man', '男', 1, '2010-01-01 01:01:01', 1, '2010-01-01 01:01:01'), (2, 1, 'woman', '女', 1, '2010-01-01 01:01:01', 1, '2010-01-01 01:01:01');
true
a17620fcaf23dc05b14447c47553d4bb106ea0a7
SQL
JaimeRamosMiranda/SQL-basics-repository
/query_4.sql
UTF-8
719
3.203125
3
[]
no_license
CREATE TABLE productos( codigo varchar(15), nombre varchar (20), descripcion nvarchar(50), precio money, stock int ) --modificar la definicion de una columna-- ALTER TABLE productos ALTER COLUMN codigo INT --<--DDL8|-- ALTER TABLE productos ALTER COLUMN codigo varchar(15) --eliminar y agregar columnas-- ALTER TABLE productos DROP COLUMN stock ALTER TABLE productos ADD stock INT --ejemplo2 de eliminar y agregar columna-- ALTER TABLE productos DROP COLUMN nombre ALTER TABLE productos ADD nombre varchar(20) --eliminar tabla-- DROP TABLE productos DROP TABLE Usuario --eliminar base de datos-- DROP DATABASE personal2 USE master --<--DDL9-- DROP DATABASE Personal2
true
dfe6d8bfdf74a54afc2d0dc28cb3c08a4e21ca25
SQL
kantos/Port-Monitor
/database.sql
UTF-8
4,820
3.3125
3
[]
no_license
CREATE DATABASE IF NOT EXISTS `port_monitor` /*!40100 DEFAULT CHARACTER SET latin1 */; USE `port_monitor`; -- MySQL dump 10.13 Distrib 5.5.35, for debian-linux-gnu (i686) -- -- Host: 127.0.0.1 Database: port_monitor -- ------------------------------------------------------ -- Server version 5.5.35-0ubuntu0.13.10.2 /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; /*!40103 SET TIME_ZONE='+00:00' */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; -- -- Table structure for table `diff` -- DROP TABLE IF EXISTS `diff`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `diff` ( `diff_id` int(11) NOT NULL AUTO_INCREMENT, `ip` varchar(15) DEFAULT NULL, `scan_id` int(11) DEFAULT NULL, `port_changed` int(11) DEFAULT NULL, `port_previous_state` varchar(45) DEFAULT NULL, `port_new_state` varchar(45) DEFAULT NULL, PRIMARY KEY (`diff_id`), KEY `fk_scan_id_idx` (`scan_id`), KEY `index_ip` (`ip`), CONSTRAINT `fk_scan_id` FOREIGN KEY (`scan_id`) REFERENCES `scans` (`scan_id`) ON DELETE NO ACTION ON UPDATE NO ACTION ) ENGINE=InnoDB AUTO_INCREMENT=30 DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `ips` -- DROP TABLE IF EXISTS `ips`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `ips` ( `id` int(11) NOT NULL AUTO_INCREMENT, `ip_text` varchar(15) NOT NULL, `last_scan_date` datetime DEFAULT NULL, `status` int(10) DEFAULT '-1', PRIMARY KEY (`id`), UNIQUE KEY `ip_text_UNIQUE` (`ip_text`) ) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `scan_ips` -- DROP TABLE IF EXISTS `scan_ips`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `scan_ips` ( `scan_id` int(11) NOT NULL, `ip_text` varchar(15) DEFAULT NULL, `os_match` varchar(500) DEFAULT NULL, `os_class` varchar(500) DEFAULT NULL, `open_ports_qty` int(11) DEFAULT NULL, PRIMARY KEY (`scan_id`), KEY `scan_ip_index` (`ip_text`), CONSTRAINT `fk_scanned_ips_1` FOREIGN KEY (`scan_id`) REFERENCES `scans` (`scan_id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `scan_results` -- DROP TABLE IF EXISTS `scan_results`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `scan_results` ( `id` int(11) NOT NULL AUTO_INCREMENT, `scan_id` int(11) DEFAULT NULL, `ip_text` varchar(15) DEFAULT NULL, `ip` int(11) DEFAULT NULL, `port` int(11) DEFAULT NULL, `protocol_tcp` varchar(3) DEFAULT NULL, `state` varchar(45) DEFAULT NULL, `service` varchar(200) DEFAULT NULL, `service_product` varchar(200) DEFAULT NULL, `service_version` varchar(200) DEFAULT NULL, `service_confidence` varchar(45) DEFAULT NULL, PRIMARY KEY (`id`), KEY `index1` (`scan_id`), CONSTRAINT `fk_scan_results_1` FOREIGN KEY (`scan_id`) REFERENCES `scans` (`scan_id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB AUTO_INCREMENT=2837 DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `scans` -- DROP TABLE IF EXISTS `scans`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `scans` ( `scan_id` int(11) NOT NULL, `start_date` datetime DEFAULT NULL, `end_date` datetime DEFAULT NULL, `status` int(11) DEFAULT '0', PRIMARY KEY (`scan_id`), KEY `status_idx` (`status`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; -- Dump completed on 2014-11-18 2:12:03
true
de03e157d11a7271fbbbec122c9582a891e9c363
SQL
Rohini-Murugesan/Tasks
/MYSQL_Social_Media/Social_Media.sql
UTF-8
4,596
3.40625
3
[]
no_license
#DROP database social_media; create database social_media; use social_media; CREATE TABLE user_profiles (user_id INT(5),name VARCHAR(15),age INT(3)); INSERT INTO user_profiles (user_id,name,age) VALUES (1,'Rohini',25); INSERT INTO user_profiles (user_id,name,age) VALUES (2,'Vidhya',25); INSERT INTO user_profiles (user_id,name,age) VALUES (3,'Moni',21); INSERT INTO user_profiles (user_id,name,age) VALUES (4,'Sudarsan',16); INSERT INTO user_profiles (user_id,name,age) VALUES (5,'Dinesh',17); SELECT * FROM user_profiles; CREATE TABLE profile_status (user_id INT(5),status VARCHAR(10)); INSERT INTO profile_status (user_id,status) VALUES (1,'ACTIVE'); INSERT INTO profile_status (user_id,status) VALUES (2,'INACTIVE'); INSERT INTO profile_status (user_id,status) VALUES (3,'ACTIVE'); INSERT INTO profile_status (user_id,status) VALUES (4,'INACTIVE'); INSERT INTO profile_status (user_id,status) VALUES (5,'ACTIVE'); SELECT * FROM profile_status; CREATE TABLE friends (user_id INT(5),friends_count INT(10)); INSERT INTO friends (user_id,friends_count) VALUES (1,20); INSERT INTO friends (user_id,friends_count) VALUES (2,20); INSERT INTO friends (user_id,friends_count) VALUES (3,30); INSERT INTO friends (user_id,friends_count) VALUES (4,30); INSERT INTO friends (user_id,friends_count) VALUES (5,40); SELECT * FROM friends; CREATE TABLE comments (user_id INT(5),comment VARCHAR(50),friend_id INT(5)); INSERT INTO comments (user_id,comment,friend_id) VALUES (1,"Hello",2); INSERT INTO comments (user_id,comment,friend_id) VALUES (2,"Hey",1); INSERT INTO comments (user_id,comment,friend_id) VALUES (3,"Sooperr!!",2); INSERT INTO comments (user_id,comment,friend_id) VALUES (4,"Wowww",1); INSERT INTO comments (user_id,comment,friend_id) VALUES (5,"Nice!!",3); INSERT INTO comments (user_id,comment,friend_id) VALUES (3,"Sooperr!!",5); INSERT INTO comments (user_id,comment,friend_id) VALUES (3,"Wowww",1); INSERT INTO comments (user_id,comment,friend_id) VALUES (3,"Nice!!",2); INSERT INTO comments (user_id,comment,friend_id) VALUES (3,"Sooperr!!",1); INSERT INTO comments (user_id,comment,friend_id) VALUES (3,"Wowww",4); INSERT INTO comments (user_id,comment,friend_id) VALUES (3,"Nice!!",5); INSERT INTO comments (user_id,comment,friend_id) VALUES (3,"Sooperr!!",2); INSERT INTO comments (user_id,comment,friend_id) VALUES (4,"Wowww",1); INSERT INTO comments (user_id,comment,friend_id) VALUES (5,"Nice!!",1); SELECT * FROM comments; CREATE TABLE likes (user_id INT(5),likes_count INT(10)); INSERT INTO likes (user_id,likes_count) VALUES (1,46); INSERT INTO likes (user_id,likes_count) VALUES (2,45); INSERT INTO likes (user_id,likes_count) VALUES (3,87); INSERT INTO likes (user_id,likes_count) VALUES (4,34); INSERT INTO likes (user_id,likes_count) VALUES (5,89); SELECT * FROM likes; CREATE TABLE posts (user_id INT(5),posts_count INT(10)); INSERT INTO posts (user_id,posts_count) VALUES (1,461); INSERT INTO posts (user_id,posts_count) VALUES (2,451); INSERT INTO posts (user_id,posts_count) VALUES (3,871); INSERT INTO posts (user_id,posts_count) VALUES (4,341); INSERT INTO posts (user_id,posts_count) VALUES (5,891); SELECT * FROM posts; CREATE TABLE user_login_details (user_id INT(5),email VARCHAR(25),pwd VARCHAR(8)); INSERT INTO user_login_details (user_id,email,pwd) VALUES (1,'Rohini@gmail.com','Vidhya23'); INSERT INTO user_login_details (user_id,email,pwd) VALUES (2,'Vidhya@gmail.com','Vidhya23'); INSERT INTO user_login_details (user_id,email,pwd) VALUES (3,'Moni@abc.com','Vidhya23'); INSERT INTO user_login_details (user_id,email,pwd) VALUES (4,'Sudarsan@abc.com','Vidhya23'); INSERT INTO user_login_details (user_id,email,pwd) VALUES (5,'Dinesh@abc.com','Vidhya23'); SELECT * FROM user_login_details; # In friends table list the data which are matched with the user profile id SELECT user_profiles.user_id,name,age,friends_count FROM friends INNER JOIN user_profiles ON friends.user_id = user_profiles.user_id; # Display all the posts of user id 5 SELECT * from posts where user_id = 5; #Write a query that matching the words or character with %gmail% SELECT * FROM user_login_details WHERE email LIKE '%gmail%'; # Limit the display data from the table comments for 5 which belongs to the user 3 SELECT * FROM comments WHERE user_id=3 limit 5; # Combine profile_status and user_profile and user_login_details display matching records SELECT profile_status.user_id,age,status,email,pwd FROM profile_status INNER JOIN user_profiles ON profile_status.user_id = user_profiles.user_id INNER JOIN user_login_details ON user_profiles.user_id = user_login_details.user_id;
true
d048dc54b49084f20c0a5349f8d715635114f179
SQL
darol81/php-chatforum
/sql_scripts/sukukanta.sql
UTF-8
1,566
2.859375
3
[]
no_license
-- phpMyAdmin SQL Dump -- version 2.8.2.4 -- http://www.phpmyadmin.net -- -- Palvelin: localhost:3306 -- Luontiaika: 19.01.2013 klo 09:43 -- Palvelimen versio: 5.1.56 -- PHP:n versio: 5.2.6 -- -- Tietokanta: `database` -- -- -------------------------------------------------------- -- -- Rakenne taululle `forum_posts` -- CREATE TABLE `forum_posts` ( `id` int(11) NOT NULL AUTO_INCREMENT, `topic_id` int(11) NOT NULL, `creator_id` int(11) NOT NULL, `message` text NOT NULL, `post_time` datetime NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=21 DEFAULT CHARSET=utf8 AUTO_INCREMENT=21 ; -- -- Vedostetaan dataa taulusta `forum_posts` -- -- -------------------------------------------------------- -- -- Rakenne taululle `forum_topics` -- CREATE TABLE `forum_topics` ( `id` int(11) NOT NULL AUTO_INCREMENT, `topic` varchar(100) NOT NULL, `creator_id` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=13 DEFAULT CHARSET=utf8 AUTO_INCREMENT=13 ; -- -- Vedostetaan dataa taulusta `forum_topics` -- -- -------------------------------------------------------- -- -- Rakenne taululle `users` -- CREATE TABLE `users` ( `id` int(11) NOT NULL AUTO_INCREMENT, `user_name` varchar(30) NOT NULL, `real_name` varchar(50) NOT NULL, `email` varchar(50) DEFAULT NULL, `password` char(128) NOT NULL, `salt` char(128) NOT NULL, `admin` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ; -- -- Vedostetaan dataa taulusta `users` --
true
bc04bbe6acfcc3d80c46084511e774179aa68859
SQL
Belvc5/RIT
/baserit.sql
UTF-8
7,193
3.390625
3
[]
no_license
-- phpMyAdmin SQL Dump -- version 3.5.1 -- http://www.phpmyadmin.net -- -- Servidor: localhost -- Tiempo de generación: 15-11-2016 a las 05:19:25 -- Versión del servidor: 5.5.24-log -- Versión de PHP: 5.4.3 SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; -- -- Base de datos: `baserit` -- -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `empleado` -- CREATE TABLE IF NOT EXISTS `empleado` ( `idpersona` int(11) NOT NULL, `sueldo` decimal(10,0) NOT NULL, `acceso` varchar(15) NOT NULL, `login` varchar(20) NOT NULL, `password` varchar(20) NOT NULL, `estado` varchar(20) NOT NULL, PRIMARY KEY (`idpersona`), UNIQUE KEY `login` (`login`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Volcado de datos para la tabla `empleado` -- INSERT INTO `empleado` (`idpersona`, `sueldo`, `acceso`, `login`, `password`, `estado`) VALUES (5, '1000', 'Administrador', 'admin', 'adminrit2016', 'Habilitado'), (6, '600', 'Agente ANT', 'user', 'userit2016', 'Habilitado'); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `infraccion` -- CREATE TABLE IF NOT EXISTS `infraccion` ( `idinfraccion` int(11) NOT NULL AUTO_INCREMENT, `tipo_infraccion` varchar(30) NOT NULL, `clase_contravencion` varchar(30) NOT NULL, `descripcion` varchar(255) NOT NULL, `valor_multa` decimal(7,2) NOT NULL, `puntos_licencia` varchar(45) NOT NULL, `dias_prision` varchar(20) NOT NULL, PRIMARY KEY (`idinfraccion`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=11 ; -- -- Volcado de datos para la tabla `infraccion` -- INSERT INTO `infraccion` (`idinfraccion`, `tipo_infraccion`, `clase_contravencion`, `descripcion`, `valor_multa`, `puntos_licencia`, `dias_prision`) VALUES (2, 'Contravención', 'Primera Clase', 'Conducir sin haber obtenido licencia; se retendrá\nel vehículo hasta cancelar la multa', '366.00', 'disminucion de 10 puntos ', '1 a 3 días'), (3, 'Contravención', 'Segunda Clase', 'Conducir con licencia caducada, anulada, revocada o suspendida, la misma\nque deberá ser retirada inmediatamente.', '183.00', 'disminución de 9 puntos', '0 días'), (4, 'Delito', 'Primera Clase', 'Exceso de pasajeros en transporte público', '1098.00', 'Suspensión de 6 a 12 meses', '6 a 12 meses'), (6, 'Contravención', 'Primera Clase', 'Faltar de obra a la autoridad o Agente de Tránsito', '366.00', 'disminucíon de 10 puntos', '1 a 3 días'), (9, 'Contravención', 'Tercera Clase', 'El conductor de transporte público o comercial que se niugue a brindar el servicio', '146.40', 'disminución de 7.5 puntos', '0 días'), (10, 'Contravención', 'Quinta Clase', 'conducir un vehículo en sentido contrario a la vía normal de circulación', '54.90', 'disminución de 3 puntos ', '0 días'); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `infractor` -- CREATE TABLE IF NOT EXISTS `infractor` ( `idpersona` int(11) NOT NULL, `placa_vehiculo` varchar(30) NOT NULL, PRIMARY KEY (`idpersona`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Volcado de datos para la tabla `infractor` -- INSERT INTO `infractor` (`idpersona`, `placa_vehiculo`) VALUES (1, 'ABB-2314'), (2, 'ABC-2547'), (7, 'ABD-2256'); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `persona` -- CREATE TABLE IF NOT EXISTS `persona` ( `idpersona` int(11) NOT NULL AUTO_INCREMENT, `nombre` varchar(30) NOT NULL, `apellido` varchar(30) NOT NULL, `tipo_documento` varchar(15) NOT NULL, `num_documento` varchar(11) NOT NULL, `direccion` varchar(100) NOT NULL, `telefono` varchar(8) NOT NULL, `email` varchar(50) NOT NULL, PRIMARY KEY (`idpersona`), UNIQUE KEY `telefono` (`telefono`), UNIQUE KEY `email` (`email`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=8 ; -- -- Volcado de datos para la tabla `persona` -- INSERT INTO `persona` (`idpersona`, `nombre`, `apellido`, `tipo_documento`, `num_documento`, `direccion`, `telefono`, `email`) VALUES (1, 'Cristina', 'Crespo', 'DNI', '0312417569', 'Yanahurco y los Andes', '4101423', 'cristina.crespo@ucuenca.ec'), (2, 'María Bélen', 'Vélez Castillo', 'DNI', '0105741599', 'venezuela y remigio crespo', '2814023', 'belvc5@gmail.com'), (3, 'Andres', 'Perez', 'DNI', '0104631289', 'Ecuador', '2815738', 'andresp@gmail.com'), (5, 'Belen', 'Velez', 'DNI', '0105741599', 'Ecuador', '2811085', 'bel@gmail.com'), (6, 'Paul', 'Valdez', 'DNI', '0104583459', 'Ecuador', '4101243', ''), (7, 'Maria', 'Jimenez', 'DNI', '0106238579', 'tarqui y sucre', '2884702', 'belen_05_velez@hotmail.com'); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `registro` -- CREATE TABLE IF NOT EXISTS `registro` ( `idregistro` int(11) NOT NULL AUTO_INCREMENT, `fecha` date NOT NULL, `hora` varchar(10) NOT NULL, `lugar` varchar(50) NOT NULL, `idinfraccion` int(11) NOT NULL, `idinfractor` int(11) NOT NULL, `idempleado` int(11) NOT NULL, `estado` varchar(20) NOT NULL, PRIMARY KEY (`idregistro`), KEY `fk_reserva_infraccion_idx` (`idinfraccion`), KEY `fk_reserc-infractor_idx` (`idinfractor`), KEY `fk_reserva_empleado_idx` (`idempleado`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=8 ; -- -- Volcado de datos para la tabla `registro` -- INSERT INTO `registro` (`idregistro`, `fecha`, `hora`, `lugar`, `idinfraccion`, `idinfractor`, `idempleado`, `estado`) VALUES (1, '2016-11-01', '10:30am', 'Av. Americas', 2, 1, 6, 'Enviada'), (3, '2016-11-04', '10:30', 'cuba 1-32 y venezuela', 3, 2, 5, 'Enviada'), (5, '2016-11-06', '3:30', 'Panamericana Norte', 2, 2, 5, 'Enviada'), (6, '2016-11-08', '12:50pm', 'Don Bosco y Loja', 9, 2, 5, 'Enviada'), (7, '2016-11-11', '5:30 pm', 'Av.12 de octubre e Isabela Catolica', 6, 2, 5, 'Enviada'); -- -- Restricciones para tablas volcadas -- -- -- Filtros para la tabla `empleado` -- ALTER TABLE `empleado` ADD CONSTRAINT `fk_persona_empleado` FOREIGN KEY (`idpersona`) REFERENCES `persona` (`idpersona`) ON DELETE NO ACTION ON UPDATE NO ACTION; -- -- Filtros para la tabla `infractor` -- ALTER TABLE `infractor` ADD CONSTRAINT `fk_persona_infractor` FOREIGN KEY (`idpersona`) REFERENCES `persona` (`idpersona`) ON DELETE NO ACTION ON UPDATE NO ACTION; -- -- Filtros para la tabla `registro` -- ALTER TABLE `registro` ADD CONSTRAINT `fk_reserva-infractor` FOREIGN KEY (`idinfractor`) REFERENCES `infractor` (`idpersona`) ON DELETE NO ACTION ON UPDATE NO ACTION, ADD CONSTRAINT `fk_reserva_empleado` FOREIGN KEY (`idempleado`) REFERENCES `empleado` (`idpersona`) ON DELETE NO ACTION ON UPDATE NO ACTION, ADD CONSTRAINT `fk_reserva_infraccion` FOREIGN KEY (`idinfraccion`) REFERENCES `infraccion` (`idinfraccion`) ON DELETE NO ACTION ON UPDATE NO ACTION; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
true
27bf45c8be06ea0ebc60350f3462644b69d5eb2e
SQL
arkajyotiadhikary/SQL-FOR-CSE-COURSE-BTECH
/Lab Assignment/Ex2/Pr1.sql
UTF-8
954
3.109375
3
[]
no_license
create database collage; show databases; use collage; create table Student (sid int unique, sname varchar(20) not null, sex varchar(1) not null , dob date not null, dno int unique, primary key(sid)); create table Depertment (dno int unique, dname varchar(20) not null, primary key(dno)); create table Faculty(f_id int unique, fname varchar(20) not null, designation varchar(10) not null, salary int not null, dno int not null, primary key(f_id), check(salary < 10000)); create table course(cid int unique, cname varchar(20), credits varchar(20) not null, dno int not null, primary key(cid)); create table register(sid int unique, cid int not null, sem varchar(5) not null, primary key(sid)); create table teaching(f_id int unique, cid int not null, sem varchar(5) not null, primary key(f_id)); create table hostel(hid int unique, hname varchar(20) not null, seats int not null,primary key(hid)); show tables; alter table Student add grade varchar(1);
true
8b6afc1080707d2d2c660d162e923397006d484e
SQL
First2019/maven-cloud
/1sql/permission.sql
UTF-8
1,211
3.703125
4
[]
no_license
CREATE TABLE PERMISSION ( perm_id INT(11) NOT NULL AUTO_INCREMENT COMMENT '自增主键', perm_no BIGINT(20) NOT NULL COMMENT '权限编号', perm_url VARCHAR(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '限制路径', perm_name VARCHAR(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '权限描述', PRIMARY KEY (perm_id) USING BTREE, INDEX idx_perm_no (perm_no) USING BTREE, INDEX idx_perm_name (perm_name) USING BTREE ) ENGINE = INNODB AUTO_INCREMENT = 0 CHARACTER SET = utf8 COLLATE utf8_general_ci COMMENT ='权限表' ROW_FORMAT = DYNAMIC; CREATE TABLE user_permssion ( up_id INT(11) NOT NULL AUTO_INCREMENT COMMENT '自增主键', up_no BIGINT(20) NOT NULL COMMENT '关联编号', user_no BIGINT(20) NOT NULL COMMENT '用户编号', perm_no BIGINT(20) NOT NULL COMMENT '权限编号', PRIMARY KEY (up_id) USING BTREE ) ENGINE = INNODB AUTO_INCREMENT = 0 CHARACTER SET = utf8 COLLATE utf8_general_ci COMMENT ='用户权限关联表' ROW_FORMAT = DYNAMIC
true
a8318a88d881533f96ca1305421872b806805fe6
SQL
DayeQianxu/github_test
/test/test.sql/8.sql
UTF-8
81
2.6875
3
[]
no_license
SELECT AVG(kids_number) AS "AverageKids" FROM employee WHERE end_year = null ;
true
68c46ac6e59d748437ed53ed0bf18944f06e2b24
SQL
polohero/leetcode
/sql/1555-bank-account-summary/Solution.sql
UTF-8
803
4.25
4
[]
no_license
SELECT user_id ,user_name ,credit ,CASE WHEN credit <= 0 THEN 'Yes' ELSE 'No' END AS credit_limit_breached FROM ( SELECT u.user_id ,u.user_name ,u.credit + IFNULL(paidTo.amount, 0) - IFNULL(paidBy.amount, 0) AS credit FROM Users u LEFT OUTER JOIN ( SELECT paid_to, SUM(IFNULL(t.amount, 0)) as amount FROM Transactions t GROUP BY t.paid_to ) paidTo ON paidTo.paid_to = u.user_id LEFT OUTER JOIN ( SELECT paid_by, SUM(IFNULL(t.amount, 0)) as amount FROM Transactions t GROUP BY t.paid_by ) paidBy ON paidBy.paid_by = u.user_id ) result
true
1d4c1a1b0a1916f67db2988811f10fd321b89a16
SQL
Ankit-k-karan/SQL-Common
/SQL Script/RFP 1/scoring ranking v4 10TC/target condition.sql
UTF-8
1,664
3.390625
3
[]
no_license
select 'Cat1' cat, 1 pror , 'NSDC Partners' descp select 'Cat2' cat, 1 pror , 'NSDC Partners' descp select 'Cat2' cat, 2 pror , 'Community Engagement score' descp select 'Cat3' cat, 1 pror , 'NSDC Partners' descp select 'Cat3' cat, 2 pror , 'Annual Turnover of the TP' descp select 'Cat4' cat, 1 pror , 'reported Placement %age should be more than 40%' descp select 'Cat4' cat, 2 pror , 'Community Engagement score in case of not for profit organisations and Annual Turnover in case of For Profit organisations' descp 1. NSDC Partnership 2. Annual Turnover/Expenditure 3. Placement percentage provided by the TP - For District Type 7 & District Type 8 districts, District saturation index & State saturation index (Actual scheme targets Vs Actual trained till date) would be referred to before allocating targets. 3.3. Limits of Target Allocation: The below mentioned parameters will be applied during target allocation of shortlisted training centers I. For district type 1 & 2 there would be capping of 2,000 per district and capping of 360 per TC with maximum of 60 per job role per cycle for 2 subsequent cycles. II. For district type 3 - 8 there would be capping of 1200 per district and capping of 360 per TC with maximum of 60 per job role per cycle for 2 subsequent cycles. III. Targets will be allocated to maximum 10 centers per TP/Organisation across the country. IV. Targets will be allocated to maximum 1 center per TP in a particular district. V. In case, if the target capped for any district is not expended, then the capping of 360 per center can be increased according to the residual available. Maximum 10 TC of TP can be allocated.
true
47636363b1a784a11b2e79c85363a3714a59189a
SQL
grayasm/git-main
/tutorial/postgresql_11.1_doc/05_data_definitions/02.0_default_values.sql
UTF-8
1,881
3.640625
4
[]
no_license
/* Chapter 5. Data Definition 5.2. Default Values psql -d mytestdb -U pgmihai \i 02.0_default_values.sql \? \qecho '\033[2J' */ DROP TABLE IF EXISTS my_table CASCADE; /* When a new row is added and no values are specified for some columns the default value is null value. A column can be asigned a default value; e.g. DEFAULT keyword. */ CREATE TABLE my_table (product integer, name text, price numeric DEFAULT 9.99 ); INSERT INTO my_table VALUES (1, 'left door'), (2, 'right door'), (3, 'front shield'), (4, 'back shield'); SELECT * FROM my_table; /* product | name | price ---------+--------------+------- 1 | left door | 9.99 2 | right door | 9.99 3 | front shield | 9.99 4 | back shield | 9.99 */ /* The default value can be an expression evaluated whenever the value is inserted. */ DROP TABLE my_table; CREATE TABLE my_table (product_name text, product_no SERIAL, date_time timestamp with time zone DEFAULT clock_timestamp()); INSERT INTO my_table (product_name) VALUES ('left door'), ('right door'), ('front shield'), ('back shield'); SELECT * FROM my_table; /* product_name | product_no | date_time --------------+------------+------------------------------- left door | 1 | 2018-05-27 11:21:25.452235+02 right door | 2 | 2018-05-27 11:21:25.452335+02 front shield | 3 | 2018-05-27 11:21:25.45234+02 back shield | 4 | 2018-05-27 11:21:25.452344+02 (4 rows) */
true
17fb25cd5d2ffe82fa71a4faac813a5420f1edfe
SQL
Fbossio/node_postgres
/sql/db.sql
UTF-8
1,172
3.625
4
[]
no_license
CREATE TABLE IF NOT EXISTS projects ( id integer PRIMARY KEY GENERATED BY DEFAULT AS IDENTITY, name text NOT NULL CHECK (name <> ''), priority integer NOT NULL, description text, deliverydate date NOT NULL ); CREATE TABLE IF NOT EXISTS tasks ( id integer PRIMARY KEY GENERATED BY DEFAULT AS IDENTITY, name text NOT NULL CHECK (name <> ''), done BOOLEAN, projectid INTEGER REFERENCES projects(id) ON DELETE CASCADE ); -- Insert projects INSERT INTO projects(name, priority, description, deliverydate) VALUES('Make a Web App', 1, 'Using JavaScript', '2021-10-12'); INSERT INTO projects(name, priority, description, deliverydate) VALUES('Make an App', 1, 'Using Dart', '2021-10-13'); INSERT INTO projects(name, priority, description, deliverydate) VALUES('Make a Desktop App', 2, 'Using C++', '2021-10-14'); -- Insert task data INSERT INTO tasks(name, done, projectid) VALUES('download vuejs',false, 1); INSERT INTO tasks(name, done, projectid) VALUES('Create UI web',false, 1); INSERT INTO tasks(name, done, projectid) VALUES('Download flutter',false, 2); INSERT INTO tasks(name, done, projectid) VALUES('Design UI',false, 3);
true
e548f7b7e27390070536ecb7c6f82d85c72fedbf
SQL
djomla1989/humanity_test
/database.sql
UTF-8
1,096
3.34375
3
[]
no_license
CREATE DATABASE IF NOT EXISTS `user_vacation`; CREATE TABLE IF NOT EXISTS `user` ( `id` int(11) NOT NULL auto_increment, `name` varchar(100) NOT NULL, `vacation_days` int(11) NOT NULL DEFAULT 20, `created` DATETIME DEFAULT CURRENT_TIMESTAMP, `modified` DATETIME ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id`) ); CREATE TABLE IF NOT EXISTS `user_vacation_request` ( `id` int(11) NOT NULL auto_increment, `user_id` int(11) NOT NULL, `approver_id` int(11) NOT NULL, `date_from` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', `date_to` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', `number_of_days` int(11) NOT NULL DEFAULT 0, `status` ENUM('pending' , 'approved', 'declined') DEFAULT 'pending', `created` DATETIME DEFAULT CURRENT_TIMESTAMP, `modified` DATETIME ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id`), CONSTRAINT `user_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`), CONSTRAINT `user_ibfk_2` FOREIGN KEY (`approver_id`) REFERENCES `user` (`id`) ); INSERT INTO user_vacation.`user` (name) VALUES('Petar Petrovic'), ('Sima Simic'), ('Laza Lazic');
true
847918f131e23bab3cf17adcacc1a9c3dd4aca4e
SQL
bdp612/IroquoisCiv
/Iroqouis_Config.sql
UTF-8
2,273
2.828125
3
[]
no_license
--========================================================================================================================== -- CONFIG DATA --========================================================================================================================== -- Players ------------------------------------- INSERT INTO Players (CivilizationType, Portrait, PortraitBackground, LeaderType, LeaderName, LeaderIcon, LeaderAbilityName, LeaderAbilityDescription, LeaderAbilityIcon, CivilizationName, CivilizationIcon, CivilizationAbilityName, CivilizationAbilityDescription, CivilizationAbilityIcon) VALUES ('CIVILIZATION_IROQOUIS', 'LEADER_DEGANAWIDA_NEUTRAL.dds', 'LEADER_MONTEZUMA_BACKGROUND', 'LEADER_DEGANAWIDA', 'LOC_LEADER_DEGANAWIDA_NAME', 'ICON_LEADER_MONTEZUMA', 'LOC_TRAIT_LEADER_THE_GREAT_PEACEMAKER_NAME', 'LOC_TRAIT_LEADER_THE_GREAT_PEACEMAKER_DESCRIPTION', 'ICON_LEADER_MONTEZUMA', 'LOC_CIVILIZATION_IROQOUIS_NAME', 'ICON_CIVILIZATION_KONGO', 'LOC_TRAIT_CIVILIZATION_ORENDA_NAME', 'LOC_TRAIT_CIVILIZATION_ORENDA_DESCRIPTION', 'ICON_CIVILIZATION_KONGO'); ------------------------------------- -- PlayerItems ------------------------------------- INSERT INTO PlayerItems (CivilizationType, LeaderType, Type, Icon, Name, Description, SortIndex) VALUES ('CIVILIZATION_IROQOUIS', 'LEADER_DEGANAWIDA', 'IMPROVEMENT_LONGHOUSE', 'ICON_IMPROVEMENT_LUMBER_MILL', 'LOC_IMPROVEMENT_LONGHOUSE_NAME', 'LOC_IMPROVEMENT_LONGHOUSE_DESCRIPTION', 20), ('CIVILIZATION_IROQOUIS', 'LEADER_DEGANAWIDA', 'UNIT_FALSEFACE', 'ICON_UNIT_MISSIONARY', 'LOC_UNIT_FALSEFACE_NAME', 'LOC_UNIT_FALSEFACE_DESCRIPTION', 10); ------------------------------------- -- MapSupportedValues ------------------------------------- --INSERT INTO MapSupportedValues -- (Value, Domain, Map) --SELECT 'LEADER_DEGANAWIDA', Domain, Map --FROM MapSupportedValues WHERE Value= 'LEADER_TRAJAN'; --========================================================================================================================== --==========================================================================================================================
true
7805ad3dac3bfdc85aaca37b52df962531586840
SQL
dasomeom/atlantaZoo
/databaseCreationScript.sql
UTF-8
4,062
3.703125
4
[]
no_license
/*Create Table from Phase 2 */ USE atlzoo; CREATE TABLE `exhibit` ( `Size` int(11) NOT NULL, `Water_Feature` tinyint(1) NOT NULL, `Name` varchar(20) NOT NULL, PRIMARY KEY (`Name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci # Comment to grading TA # For Water_Feature, value of zero is false, Non­zero values are considered true CREATE TABLE `animal` ( `Age` int(11) NOT NULL, `Type` enum('Amphibian','Bird','Fish','Invertebrate','Mammal','Reptile') NOT NULL, `Species` varchar(20) NOT NULL, `Name` varchar(20) NOT NULL, `Exhibit` varchar(20) NOT NULL, PRIMARY KEY (`Name`,`Species`), KEY `Exhibit` (`Exhibit`), CONSTRAINT `animal_ibfk_1` FOREIGN KEY (`Exhibit`) REFERENCES `exhibit` (`name`) ON DELETE RESTRICT ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci CREATE TABLE `admins` ( `Username` varchar(20) NOT NULL, `Password` varchar(100) NOT NULL, `Email` varchar(30) NOT NULL, PRIMARY KEY (`Username`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci CREATE TABLE `visitors` ( `Username` varchar(20) NOT NULL, `Password` varchar(100) NOT NULL, `Email` varchar(30) NOT NULL, PRIMARY KEY (`Username`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci CREATE TABLE `staff` ( `Username` varchar(20) NOT NULL, `Password` varchar(100) NOT NULL, `Email` varchar(30) NOT NULL, PRIMARY KEY (`Username`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci CREATE TABLE `shows` ( `Name` varchar(20) NOT NULL, `Date_and_time` datetime NOT NULL, `Located_at` varchar(20) NOT NULL, `Host` varchar(20) NOT NULL, PRIMARY KEY (`Name`,`Date_and_time`), KEY `Located_at` (`Located_at`), KEY `Host` (`Host`), CONSTRAINT `shows_ibfk_1` FOREIGN KEY (`Located_at`) REFERENCES `exhibit` (`name`) ON DELETE RESTRICT ON UPDATE CASCADE, CONSTRAINT `shows_ibfk_2` FOREIGN KEY (`Host`) REFERENCES `staff` (`username`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci CREATE TABLE `note` ( `Time` timestamp NOT NULL, `Text` text, `Username` varchar(20) NOT NULL, `Name` varchar(20) NOT NULL, `Species` varchar(20) NOT NULL, `Staff_email` varchar(30) NOT NULL, PRIMARY KEY (`Time`,`Username`,`Name`,`Species`,`Staff_email`), KEY `Username` (`Username`), KEY `Name` (`Name`,`Species`), CONSTRAINT `note_ibfk_1` FOREIGN KEY (`Username`) REFERENCES `staff` (`username`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `note_ibfk_2` FOREIGN KEY (`Name`, `Species`) REFERENCES `animal` (`name`, `species`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci CREATE TABLE `visit_show` ( `Shows_name` varchar(20) NOT NULL, `Visitor_username` varchar(20) NOT NULL, `Visitor_Email` varchar(30) NOT NULL, `Time` timestamp NOT NULL, PRIMARY KEY (`Time`,`Visitor_username`,`Shows_name`), KEY `Shows_name` (`Shows_name`), KEY `Visitor_username` (`Visitor_username`), CONSTRAINT `visit_show_ibfk_1` FOREIGN KEY (`Shows_name`) REFERENCES `shows` (`name`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `visit_show_ibfk_2` FOREIGN KEY (`Visitor_username`) REFERENCES `visitors` (`username`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci CREATE TABLE `visit_exhibit` ( `Datetime` timestamp NOT NULL, `Exhibit_name` varchar(20) NOT NULL, `Visitor_username` varchar(20) NOT NULL, `Visitor_Email` varchar(30) NOT NULL, PRIMARY KEY (`Datetime`,`Exhibit_name`,`Visitor_username`), KEY `Exhibit_name` (`Exhibit_name`), KEY `Visitor_username` (`Visitor_username`), CONSTRAINT `visit_exhibit_ibfk_1` FOREIGN KEY (`Exhibit_name`) REFERENCES `exhibit` (`name`) ON DELETE RESTRICT ON UPDATE CASCADE, CONSTRAINT `visit_exhibit_ibfk_2` FOREIGN KEY (`Visitor_username`) REFERENCES `visitors` (`username`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci
true
aec48509be2cd9c54867f4c2929da7d33c92387e
SQL
qius12345/feiniu
/feiniu.sql
UTF-8
3,504
2.9375
3
[]
no_license
CREATE DATABASE fn CHARSET=UTF8; USE fn; CREATE TABLE fn_user( uid INT PRIMARY KEY AUTO_INCREMENT, uname VARCHAR(20), upwd VARCHAR(32) ); INSERT INTO fn_user VALUES(null,'dongdong','123'); INSERT INTO fn_user VALUES(null,'xiaohua','123'); INSERT INTO fn_user VALUES(null,'naicha','123'); INSERT INTO fn_user VALUES(null,'13500000000','abc123'); INSERT INTO fn_user VALUES(null,'13600000000','abcd123'); INSERT INTO fn_user VALUES(null,'13700000000','abcd123'); CREATE TABLE fn_cart( cid INT PRIMARY KEY AUTO_INCREMENT, pid INT, uid INT, count INT ); INSERT INTO fn_cart VALUES(null,1,4,2); INSERT INTO fn_cart VALUES(null,3,4,2); CREATE TABLE fn_product( pid INT PRIMARY KEY AUTO_INCREMENT, pname VARCHAR(200), price DECIMAL(10,2), pic VARCHAR(100) ); INSERT INTO fn_product VALUES (1,'不二家 棒棒糖20支装(香醇牛奶+乳酸牛奶)116g/袋',15.00,'images/producting/1.jpg'), (2,'不二家 棒棒糖20支装(果味)125g/袋',13.5,'images/producting/2.jpg'), (3,'康元 什锦夹心饼干 1000g/袋',14.9,'images/producting/3.jpg'), (4,'不二家 棒棒糖8支装(清爽)50g/袋',6.5,'images/producting/4.jpg'), (5,'康元 什锦夹心饼干 1000g/袋',51.8,'images/producting/5.jpg'), (6,'不二家 棒棒糖8支装(清爽)50g/袋',6.5,'images/producting/6.jpg'), (7,'不二家 棒棒糖(草莓牛奶味+芒果牛奶味)8支装46g/袋',6.5,'images/producting/7.jpg'), (8,'不二家 棒棒糖8支装(清爽)50g/袋',6.5,'images/producting/8.jpg'), (9,'康元 可可卜 夹心饼干 350g/袋',14.9,'images/producting/9.jpg'), (10,'康元 巧克力威化饼干 115g/袋',6.5,'images/producting/10.jpg'), (11,'不二家 牛奶棒棒糖20支装(奶茶味+巧克力味)',15,'images/producting/11.jpg'), (12,'云间 尤利克清凉软糖 40g/袋',2.5,'images/producting/12.jpg'), (13,'云间 儿童休闲 水果味软糖 450g/罐',21.5,'images/producting/13.jpg'), (14,'康元 草莓味威化饼干 115g/袋',6.5,'images/producting/14.jpg'), (15,'康元 椰子奶油饼干 200g/袋',11.9,'images/producting/15.jpg'), (16,'康元 椰子奶油饼干 200g/袋',11.9,'images/producting/16.jpg'), (17,'康元 牛奶威化饼干 115g/袋',11.9,'images/producting/17.jpg'), (18,'云间 儿童休闲 水果味软糖 350g/罐',11.8,'images/producting/18.jpg'), (19,'不二家 牛奶棒棒糖20支装(抹茶牛奶味+咖啡牛奶味) 116g/袋',15,'images/producting/19.jpg'), (20,'云间 上海特产 花生牛轧糖 400g/袋',20.9,'images/producting/20.jpg'), (21,'云间 奶油话梅糖 158g/袋',8.5,'images/producting/21.jpg'), (22,'康元 香葱芝麻家庭克力架饼干 640g/袋',24.9,'images/producting/22.jpg'), (23,'康元 奶味家庭克力架饼干 640g/袋',24.9,'images/producting/23.jpg'), (24,'康元 家庭克力架饼干 640g/袋',24.9,'images/producting/24.jpg'), (25,'云间 上海特产 花生牛轧糖 400g/袋',20.9,'images/producting/20.jpg'), (26,'云间 奶油话梅糖 158g/袋',8.5,'images/producting/21.jpg'), (27,'康元 香葱芝麻家庭克力架饼干 640g/袋',24.9,'images/producting/22.jpg'), (28,'康元 奶味家庭克力架饼干 640g/袋',24.9,'images/producting/23.jpg'), (29,'康元 家庭克力架饼干 640g/袋',24.9,'images/producting/24.jpg'), (30,'不二家 棒棒糖20支装(香醇牛奶+乳酸牛奶)116g/袋',15.00,'images/producting/1.jpg'), (31,'不二家 牛奶棒棒糖20支装(奶茶味+巧克力味)',15,'images/producting/11.jpg'), (32,'云间 尤利克清凉软糖 40g/袋',2.5,'images/producting/12.jpg');
true
ff30737aefc7d2656f9de275041c7d36a5c09b2c
SQL
tomaszBlahut/hotelSimpleDB
/src/create_extras_booking.sql
UTF-8
252
3.125
3
[]
no_license
create table project1.extras_booking (extras_bookingId serial primary key, extrasId int not null, bookingId int not null, foreign key (extrasId) references project1.extras(extrasId), foreign key (bookingId) references project1.booking(bookingId));
true
e75286d62b52f1a01ed6d49d6763cb7694367409
SQL
nabilahsan/Learning
/Database/MySQL/Notes/Tables.sql
UTF-8
594
3.40625
3
[]
no_license
-- Deletes table DROP TABLE IF EXISTS tableName; -- Deletes table reguardless of references SET FOREIGN_KEY_CHECKS = 0; DROP TABLE IF EXISTS tableName; SET FOREIGN_KEY_CHECKS = 1; -- Table: create with a plural name CREATE TABLE Tweets ( username VARCHAR(15), content VARCHAR(140), favorites INT ); -- Adds column to a existing table ALTER TABLE Product ADD COLUMN SalePrice DECIMAL(6,2) AFTER p_photo; -- Alter table field contents UPDATE Product P SET SalePrice = (P.p_standard_price - P.p_standard_price * 0.15) WHERE P.p_standard_price < 400;
true
ba686bc955b4c9bb84d0542bf83af65e65f5d963
SQL
shijianzsh/fenggubao
/update/v1.0/upgraded/V1.8/存储过程.-.0621.修复出局状态.sql
UTF-8
1,847
3.609375
4
[]
no_license
DROP PROCEDURE IF EXISTS `Release_oldLock2`; DELIMITER ;; CREATE PROCEDURE `Release_oldLock2`(OUT error INT(11)) BEGIN declare done int default 0; declare c_user_id int default 0; declare c_id int default 0; declare c_total_amount DECIMAL(14,4) default 0; declare c_lock_amount DECIMAL(14,4) default 0; # 获取所有释放队列 declare c_user cursor for select m.id, l.id, l.total_amount, l.lock_amount from zc_lock as l left join zc_member as m on l.user_id = m.id where l.lock_amount > 0 AND m.is_lock = 0; declare continue handler for not found set done = 1; declare continue handler for sqlexception set error = 1; -- 异常错误 set error = 0; out_label: BEGIN open c_user; repeat fetch c_user into c_user_id, c_id, c_total_amount, c_lock_amount; if not done then begin out_repeat:BEGIN SET @releaseBai = 0.5; SET @releaseAmount = c_total_amount * @releaseBai * 0.01; if @releaseAmount > c_lock_amount THEN set @releaseAmount = c_lock_amount; end if; # 添加明细 CALL AddAccountRecord(c_user_id, 'goldcoin', 113, @releaseAmount, UNIX_TIMESTAMP(), '', 'sdjcsf', @releaseBai, error); if error then leave out_label; end if; END out_repeat; end; end if; until done end repeat; close c_user; END out_label; END ;; DELIMITER ; CALL Release_oldLock2(@error); SELECT @error; DROP PROCEDURE IF EXISTS `Release_oldLock2`;
true
e9b941bfa4835d333c9f740b01ef0d14fd155c6b
SQL
jovanapetk/prclo3
/resources/dbqueries.sql
UTF-8
2,853
3.5
4
[]
no_license
-- name: login-user SELECT * FROM korisnik WHERE username = :username and password = :password -- name: signin-user! INSERT INTO korisnik ( username, password, imePrezime) VALUES (:username, :password, :imePrezime ) -- name: proveriusername SELECT * FROM korisnik WHERE username = :username -- name: vrati-filmove SELECT film.filmID, film.imeFilma, film.godinaSnimanja, drzava.nazivDrzave, film.username FROM film JOIN drzava ON film.drzavaID=drzava.drzavaID -- name: vrati-film-premaid SELECT film.filmID, film.imeFilma, film.godinaSnimanja, drzava.nazivDrzave, film.username, film.kratakOpis FROM film JOIN drzava ON film.drzavaID=drzava.drzavaID where filmID = :filmID -- name: obrisi-film! DELETE FROM film WHERE filmID = :filmID -- name: film-new! INSERT INTO film (imeFilma, kratakOpis, godinaSnimanja, drzavaID, username) VALUES (:imeFilma, :kratakOpis, :godinaSnimanja, :drzavaID, :username) -- name: film-edit! UPDATE film SET imeFilma = :imeFilma, kratakOpis = :kratakOpis, godinaSnimanja = :godinaSnimanja, drzavaID = :drzavaID, username = :username WHERE filmID = :filmID -- name: vrati-nazive-drzava SELECT nazivDrzave from drzava -- name: vrati-id-drzave SELECT drzavaID from drzava where nazivDrzave = :nazivDrzave -- name: vrati-id-filma SELECT filmID from film where imeFilma = :imeFilma -- name: pretraga-glumaca SELECT glumac.glumacID, glumac.imePrezime, glumac.godinaRodjenja, glumac.pol, drzava.nazivDrzave from glumac join drzava on glumac.drzavaID=drzava.drzavaID where imePrezime = :imePrezime -- name: vrati-glumce SELECT glumac.glumacID, glumac.imePrezime, glumac.godinaRodjenja, glumac.pol, drzava.nazivDrzave from glumac join drzava on glumac.drzavaID=drzava.drzavaID -- name: vrati-glumce-kojiglumeufilmu SELECT glumac.glumacID, glumac.imePrezime, glumac.godinaRodjenja, glumac.pol, drzava.nazivDrzave from glumac join drzava on glumac.drzavaID=drzava.drzavaID join glumacfilm on glumac.glumacID=glumacfilm.glumacID where glumacfilm.filmID = :filmID -- name: glumacfilm-new! INSERT INTO glumacfilm (filmID, glumacID) VALUES (:filmID, :glumacID) -- name: glumacfilm-remove! DELETE FROM glumacfilm WHERE glumacID = :glumacID AND filmID = :filmID -- name: glumac-delete! DELETE FROM glumac WHERE glumacID = :glumacID -- name: glumac-new! INSERT INTO glumac (imePrezime, godinaRodjenja, pol, drzavaID) VALUES (:imePrezime, :godinaRodjenja, :pol, :drzavaID) -- name: vrati-polove SELECT * from pol -- name: glumac-edit! UPDATE glumac SET imePrezime = :imePrezime, godinaRodjenja = :godinaRodjenja, pol = :pol, drzavaID = :drzavaID WHERE glumacID = :glumacID -- name: vrati-glumca-premaid SELECT glumac.glumacID, glumac.imePrezime, glumac.godinaRodjenja, glumac.pol, drzava.nazivDrzave from glumac join drzava on glumac.drzavaID=drzava.drzavaID where glumac.glumacID = :glumacID
true
869347eaa91a1a0544fee72d911ff3ee7bb6c3e2
SQL
haimingzhao1/gitlearn
/demo/person.sql
UTF-8
1,564
2.75
3
[]
no_license
/* Navicat MySQL Data Transfer Source Server : zhm Source Server Version : 50533 Source Host : localhost:3306 Source Database : test Target Server Type : MYSQL Target Server Version : 50533 File Encoding : 65001 Date: 2020-04-16 10:48:39 */ SET FOREIGN_KEY_CHECKS=0; -- ---------------------------- -- Table structure for person -- ---------------------------- DROP TABLE IF EXISTS `person`; CREATE TABLE `person` ( `personid` int(11) NOT NULL AUTO_INCREMENT, `personname` varchar(10) NOT NULL, `personage` int(11) NOT NULL, PRIMARY KEY (`personid`) ) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of person -- ---------------------------- INSERT INTO `person` VALUES ('1', '张三', '13'); INSERT INTO `person` VALUES ('2', '李四', '14'); INSERT INTO `person` VALUES ('3', '王五', '15'); INSERT INTO `person` VALUES ('4', 'zh', '26'); INSERT INTO `person` VALUES ('5', 'z1h', '26'); INSERT INTO `person` VALUES ('6', 'zl', '22'); INSERT INTO `person` VALUES ('7', '赵六', '21'); INSERT INTO `person` VALUES ('8', '哈哈', '13'); INSERT INTO `person` VALUES ('9', '哈哈', '13'); INSERT INTO `person` VALUES ('10', '李四', '14'); INSERT INTO `person` VALUES ('11', '哈哈1', '13'); INSERT INTO `person` VALUES ('12', '哈哈', '15'); INSERT INTO `person` VALUES ('14', '哈哈22', '13'); INSERT INTO `person` VALUES ('15', '哈哈', '18'); INSERT INTO `person` VALUES ('17', '哈哈1111', '111'); INSERT INTO `person` VALUES ('20', '打发士', '131');
true
30421f6b1c230a10c1f80c9d0cdbfec57dffdecd
SQL
rahmanmushfiq/adminpanel
/psam.sql
UTF-8
3,709
3.078125
3
[]
no_license
-- phpMyAdmin SQL Dump -- version 4.6.5.2 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Sep 22, 2017 at 12:55 PM -- Server version: 10.1.21-MariaDB -- PHP Version: 7.1.1 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `psam` -- -- -------------------------------------------------------- -- -- Table structure for table `tbl_bills` -- CREATE TABLE `tbl_bills` ( `b_id` int(10) NOT NULL, `b_month` varchar(10) NOT NULL, `b_office` float NOT NULL, `b_current` float NOT NULL, `b_gas` float NOT NULL, `b_water` float NOT NULL, `b_net` float NOT NULL, `b_maintenance` float NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `tbl_bills` -- INSERT INTO `tbl_bills` (`b_id`, `b_month`, `b_office`, `b_current`, `b_gas`, `b_water`, `b_net`, `b_maintenance`) VALUES (1, 'feb', 1000, 10, 45, 100, 54, 456), (2, 'Mar', 5000, 20011, 800, 2000, 1000, 300), (3, 'jan', 7000, 5000, 400, 2000, 3000, 8000); -- -------------------------------------------------------- -- -- Table structure for table `tbl_message` -- CREATE TABLE `tbl_message` ( `m_id` int(10) NOT NULL, `m_name` varchar(50) NOT NULL, `m_email` varchar(100) NOT NULL, `m_subject` varchar(50) NOT NULL, `m_message` varchar(200) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `tbl_message` -- INSERT INTO `tbl_message` (`m_id`, `m_name`, `m_email`, `m_subject`, `m_message`) VALUES (2, 'Sunny', 'sunny_leone@gmail.com', 'Mara khawa', 'Jaa bhai mara kha :D '), (3, 'Tushar', 'tushar_kapoor@hotmail.com', 'Boring', 'Life boring hoye jaitese bhai '), (4, 'Mushfiq', 'mushfiq@gmail.com', 'Order', 'I want to make an order'); -- -------------------------------------------------------- -- -- Table structure for table `tbl_project` -- CREATE TABLE `tbl_project` ( `p_id` int(10) NOT NULL, `p_category` varchar(50) NOT NULL, `p_title` varchar(100) NOT NULL, `p_price` float NOT NULL, `p_quantity` int(10) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `tbl_project` -- INSERT INTO `tbl_project` (`p_id`, `p_category`, `p_title`, `p_price`, `p_quantity`) VALUES (2, 'android', 'Game', 1120, 1), (4, 'graphics design', 'Logo', 5000, 3), (5, 'web development', 'Website', 9000, 520), (6, 'android', 'App', 985.55, 2), (8, 'web development', 'LabManagement', 25000, 5), (9, 'web development', 'School Management', 90000, 5), (10, 'android', 'TOR', 4000, 2), (11, 'graphics design', 'Volvo ', 5000, 2); -- -- Indexes for dumped tables -- -- -- Indexes for table `tbl_bills` -- ALTER TABLE `tbl_bills` ADD PRIMARY KEY (`b_id`); -- -- Indexes for table `tbl_message` -- ALTER TABLE `tbl_message` ADD PRIMARY KEY (`m_id`); -- -- Indexes for table `tbl_project` -- ALTER TABLE `tbl_project` ADD PRIMARY KEY (`p_id`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `tbl_bills` -- ALTER TABLE `tbl_bills` MODIFY `b_id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; -- -- AUTO_INCREMENT for table `tbl_message` -- ALTER TABLE `tbl_message` MODIFY `m_id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5; -- -- AUTO_INCREMENT for table `tbl_project` -- ALTER TABLE `tbl_project` MODIFY `p_id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
true
3684c6cde86f9015c985c7ce025a6dd82a80d1fc
SQL
valent0ne/DifferenziAquila
/server/db/1007.sql
UTF-8
9,963
3.015625
3
[]
no_license
-- phpMyAdmin SQL Dump -- version 4.4.15.5 -- http://www.phpmyadmin.net -- -- Host: 127.0.0.1:3306 -- Generation Time: Jul 10, 2017 at 02:46 PM -- Server version: 5.6.34-log -- PHP Version: 7.0.13 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `differenziaquila` -- -- -------------------------------------------------------- -- -- Table structure for table `calendar` -- CREATE TABLE IF NOT EXISTS `calendar` ( `id` int(10) unsigned NOT NULL, `id_waste_category` int(11) unsigned NOT NULL, `day` date NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `collection_points` -- CREATE TABLE IF NOT EXISTS `collection_points` ( `id` int(10) unsigned NOT NULL, `id_special_waste` int(10) unsigned NOT NULL, `longitude` varchar(255) NOT NULL, `latitude` varchar(255) NOT NULL, `description` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `news` -- CREATE TABLE IF NOT EXISTS `news` ( `id` int(10) unsigned NOT NULL, `title` varchar(255) NOT NULL, `body` text NOT NULL, `date` date NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `recycling_sacks` -- CREATE TABLE IF NOT EXISTS `recycling_sacks` ( `id` int(10) unsigned NOT NULL, `id_waste_category` int(10) unsigned NOT NULL, `icon` varchar(255) NOT NULL, `name` varchar(255) NOT NULL, `color` varchar(255) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `recycling_sack_requests` -- CREATE TABLE IF NOT EXISTS `recycling_sack_requests` ( `id` int(10) unsigned NOT NULL, `id_recycling_sack` int(10) unsigned NOT NULL, `id_user` int(10) unsigned NOT NULL, `amount` int(10) unsigned NOT NULL, `date` date NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `sessions` -- CREATE TABLE IF NOT EXISTS `sessions` ( `id` int(10) unsigned NOT NULL, `token` varchar(255) NOT NULL, `id_user` int(10) unsigned NOT NULL ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=latin1; -- -- Dumping data for table `sessions` -- INSERT INTO `sessions` (`id`, `token`, `id_user`) VALUES (1, '2157498557024780947', 1), (3, '7291034528938415831', 1); -- -------------------------------------------------------- -- -- Table structure for table `special_wastes` -- CREATE TABLE IF NOT EXISTS `special_wastes` ( `id` int(10) unsigned NOT NULL, `name` varchar(255) NOT NULL, `description` varchar(255) NOT NULL ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=latin1; -- -- Dumping data for table `special_wastes` -- INSERT INTO `special_wastes` (`id`, `name`, `description`) VALUES (1, 'Agricultural waste', 'Agricultural waste description'), (2, 'Biomedical waste', 'Biomedical waste description'), (3, 'Electronic waste', 'Electronic waste description\r\n'), (4, 'Radioactive waste', 'Radioactive waste description'); -- -------------------------------------------------------- -- -- Table structure for table `special_waste_requests` -- CREATE TABLE IF NOT EXISTS `special_waste_requests` ( `id` int(10) unsigned NOT NULL, `id_special_waste` int(10) unsigned NOT NULL, `id_user` int(10) unsigned NOT NULL, `amount` int(10) unsigned NOT NULL, `date` date NOT NULL, `hour` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `users` -- CREATE TABLE IF NOT EXISTS `users` ( `id` int(11) unsigned NOT NULL, `client_code` varchar(255) NOT NULL, `first_name` varchar(255) NOT NULL, `last_name` varchar(255) NOT NULL, `address` varchar(255) NOT NULL COMMENT 'Via e numero civico' ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=latin1; -- -- Dumping data for table `users` -- INSERT INTO `users` (`id`, `client_code`, `first_name`, `last_name`, `address`) VALUES (1, '12345', 'Mario', 'Rossi', 'Via Roma, 1'), (4, '1122334455', 'Bruno', 'Bianchi', 'Via Boh, 5'); -- -------------------------------------------------------- -- -- Table structure for table `waste_categories` -- CREATE TABLE IF NOT EXISTS `waste_categories` ( `id` int(10) unsigned NOT NULL, `name` varchar(255) NOT NULL, `description` varchar(255) NOT NULL ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=latin1; -- -- Dumping data for table `waste_categories` -- INSERT INTO `waste_categories` (`id`, `name`, `description`) VALUES (1, 'paper', 'paper description'), (2, 'plastic', 'plastic description'), (4, 'undifferentiated', 'undifferentiated desription'), (5, 'glass', 'glass description'), (6, 'organic', 'organic description'); -- -- Indexes for dumped tables -- -- -- Indexes for table `calendar` -- ALTER TABLE `calendar` ADD PRIMARY KEY (`id`), ADD KEY `id_waste_category` (`id_waste_category`); -- -- Indexes for table `collection_points` -- ALTER TABLE `collection_points` ADD PRIMARY KEY (`id`), ADD KEY `id_special_waste` (`id_special_waste`); -- -- Indexes for table `news` -- ALTER TABLE `news` ADD PRIMARY KEY (`id`); -- -- Indexes for table `recycling_sacks` -- ALTER TABLE `recycling_sacks` ADD PRIMARY KEY (`id`), ADD KEY `id_waste_category` (`id_waste_category`); -- -- Indexes for table `recycling_sack_requests` -- ALTER TABLE `recycling_sack_requests` ADD PRIMARY KEY (`id`), ADD KEY `id_recycling_sack` (`id_recycling_sack`), ADD KEY `id_user` (`id_user`); -- -- Indexes for table `sessions` -- ALTER TABLE `sessions` ADD PRIMARY KEY (`id`), ADD KEY `fk_sessions_users_idx` (`id_user`); -- -- Indexes for table `special_wastes` -- ALTER TABLE `special_wastes` ADD PRIMARY KEY (`id`); -- -- Indexes for table `special_waste_requests` -- ALTER TABLE `special_waste_requests` ADD PRIMARY KEY (`id`), ADD KEY `id_special_waste` (`id_special_waste`), ADD KEY `id_user` (`id_user`); -- -- Indexes for table `users` -- ALTER TABLE `users` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `client_code` (`client_code`); -- -- Indexes for table `waste_categories` -- ALTER TABLE `waste_categories` ADD PRIMARY KEY (`id`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `calendar` -- ALTER TABLE `calendar` MODIFY `id` int(10) unsigned NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `collection_points` -- ALTER TABLE `collection_points` MODIFY `id` int(10) unsigned NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `news` -- ALTER TABLE `news` MODIFY `id` int(10) unsigned NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `recycling_sacks` -- ALTER TABLE `recycling_sacks` MODIFY `id` int(10) unsigned NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `recycling_sack_requests` -- ALTER TABLE `recycling_sack_requests` MODIFY `id` int(10) unsigned NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `sessions` -- ALTER TABLE `sessions` MODIFY `id` int(10) unsigned NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=5; -- -- AUTO_INCREMENT for table `special_wastes` -- ALTER TABLE `special_wastes` MODIFY `id` int(10) unsigned NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=5; -- -- AUTO_INCREMENT for table `special_waste_requests` -- ALTER TABLE `special_waste_requests` MODIFY `id` int(10) unsigned NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `users` -- ALTER TABLE `users` MODIFY `id` int(11) unsigned NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=5; -- -- AUTO_INCREMENT for table `waste_categories` -- ALTER TABLE `waste_categories` MODIFY `id` int(10) unsigned NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=7; -- -- Constraints for dumped tables -- -- -- Constraints for table `calendar` -- ALTER TABLE `calendar` ADD CONSTRAINT `calendar_ibfk_1` FOREIGN KEY (`id_waste_category`) REFERENCES `waste_categories` (`id`) ON DELETE NO ACTION ON UPDATE CASCADE; -- -- Constraints for table `collection_points` -- ALTER TABLE `collection_points` ADD CONSTRAINT `collection_points_ibfk_1` FOREIGN KEY (`id_special_waste`) REFERENCES `special_wastes` (`id`) ON DELETE NO ACTION ON UPDATE CASCADE; -- -- Constraints for table `recycling_sacks` -- ALTER TABLE `recycling_sacks` ADD CONSTRAINT `recycling_sacks_ibfk_1` FOREIGN KEY (`id_waste_category`) REFERENCES `waste_categories` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `recycling_sack_requests` -- ALTER TABLE `recycling_sack_requests` ADD CONSTRAINT `recycling_sack_requests_ibfk_1` FOREIGN KEY (`id_recycling_sack`) REFERENCES `recycling_sacks` (`id`) ON DELETE NO ACTION ON UPDATE CASCADE, ADD CONSTRAINT `recycling_sack_requests_ibfk_2` FOREIGN KEY (`id_user`) REFERENCES `users` (`id`) ON DELETE NO ACTION ON UPDATE CASCADE; -- -- Constraints for table `sessions` -- ALTER TABLE `sessions` ADD CONSTRAINT `fk_sessions_constraint` FOREIGN KEY (`id_user`) REFERENCES `users` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION; -- -- Constraints for table `special_waste_requests` -- ALTER TABLE `special_waste_requests` ADD CONSTRAINT `special_waste_requests_ibfk_1` FOREIGN KEY (`id_special_waste`) REFERENCES `special_wastes` (`id`) ON DELETE NO ACTION ON UPDATE CASCADE, ADD CONSTRAINT `special_waste_requests_ibfk_2` FOREIGN KEY (`id_user`) REFERENCES `users` (`id`) ON DELETE NO ACTION ON UPDATE CASCADE; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
true
8a924c0c4bfac3c135ed5e784a05f1b51792ba4f
SQL
zuoxiaojun/sql
/查询审批流.sql
GB18030
418
3.359375
3
[]
no_license
--ѯ select b.name, a.node_name, a.billtype, c.billtypename, decode(a.emendenum, 0, '޶', -1, 'ͨ') emendenum, decode(a.validity, 1, '', 2, 'δ', 0, 'ͣ') validity, a.version from pub_wf_def a left join org_orgs b on a.pk_org = b. pk_org left join bd_billtype c on a. billtype = c.pk_billtypecode where a.workflow_type = 2
true
50b3021cf6e0638e7fbda3792c49d13d62436421
SQL
s641/ershou
/2020/data/2017.sql
UTF-8
14,599
3.1875
3
[]
no_license
-- phpMyAdmin SQL Dump -- version 4.7.9 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1:3306 -- Generation Time: 2019-12-19 05:52:33 -- 服务器版本: 5.7.21 -- PHP Version: 5.6.35 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `2017` -- -- -------------------------------------------------------- -- -- 表的结构 `b_admin` -- DROP TABLE IF EXISTS `b_admin`; CREATE TABLE IF NOT EXISTS `b_admin` ( `aid` int(11) NOT NULL AUTO_INCREMENT COMMENT '管理员Id', `teacher` varchar(30) CHARACTER SET utf8 NOT NULL COMMENT '教工号', `password` varchar(50) CHARACTER SET utf8 NOT NULL COMMENT '密码', `addtime` datetime DEFAULT NULL COMMENT '添加时间', `status` int(4) NOT NULL DEFAULT '1' COMMENT '状态0或1', PRIMARY KEY (`aid`) ) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COLLATE=utf8_german2_ci; -- -- 转存表中的数据 `b_admin` -- INSERT INTO `b_admin` (`aid`, `teacher`, `password`, `addtime`, `status`) VALUES (1, 'admin', '123456', '2019-10-08 00:00:00', 1), (2, 'zhengxiaoman', '123456', '2019-12-18 01:12:03', 1); -- -------------------------------------------------------- -- -- 表的结构 `b_cart` -- DROP TABLE IF EXISTS `b_cart`; CREATE TABLE IF NOT EXISTS `b_cart` ( `cid` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, `uid` int(11) NOT NULL, `gid` int(11) NOT NULL, `cnum` int(11) UNSIGNED NOT NULL DEFAULT '1', `cprice` float NOT NULL, `ccreate_time` datetime NOT NULL, `cstatus` int(11) NOT NULL DEFAULT '1' COMMENT '0为已付款1为未付款', PRIMARY KEY (`cid`) ) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8; -- -- 转存表中的数据 `b_cart` -- INSERT INTO `b_cart` (`cid`, `uid`, `gid`, `cnum`, `cprice`, `ccreate_time`, `cstatus`) VALUES (8, 1, 9, 1, 1615, '2019-10-28 10:25:47', 1), (9, 2, 17, 1, 5000, '2019-12-01 10:29:14', 1); -- -------------------------------------------------------- -- -- 表的结构 `b_gonggao` -- DROP TABLE IF EXISTS `b_gonggao`; CREATE TABLE IF NOT EXISTS `b_gonggao` ( `ggid` int(11) NOT NULL AUTO_INCREMENT COMMENT '编号', `title` varchar(255) NOT NULL COMMENT '标题', `content` text NOT NULL COMMENT '内容', `time` datetime NOT NULL COMMENT '发布时间', PRIMARY KEY (`ggid`) ) ENGINE=MyISAM AUTO_INCREMENT=18 DEFAULT CHARSET=utf8; -- -- 转存表中的数据 `b_gonggao` -- INSERT INTO `b_gonggao` (`ggid`, `title`, `content`, `time`) VALUES (15, '1月10放假通知', '1月10放假通知', '2019-12-12 00:00:00'), (16, 'xxxxxxxxxxxxxx', '<p>\r\n xxx</p>', '2019-12-18 00:00:00'), (17, '信息工程学院改革中', '<p>\r\n 顶顶顶顶顶顶顶顶顶顶</p>', '2019-12-18 12:35:05'); -- -------------------------------------------------------- -- -- 表的结构 `b_goods` -- DROP TABLE IF EXISTS `b_goods`; CREATE TABLE IF NOT EXISTS `b_goods` ( `gid` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, `gname` varchar(255) NOT NULL, `gtypeid` int(11) UNSIGNED NOT NULL, `gcounts` int(11) NOT NULL, `gprice` decimal(10,2) NOT NULL, `goldprice` decimal(10,2) NOT NULL, `uid` int(11) UNSIGNED NOT NULL, `gadname` varchar(255) NOT NULL, `gadtel` varchar(255) NOT NULL, `gimgarray` varchar(255) NOT NULL, `gdetail` text NOT NULL, `gcreate_time` datetime NOT NULL, `gis_selloff` int(11) UNSIGNED NOT NULL DEFAULT '0' COMMENT '购买数量', `gview` int(11) UNSIGNED NOT NULL DEFAULT '0' COMMENT '浏览次数', `gdznum` int(11) NOT NULL DEFAULT '0' COMMENT '点赞数量', `gcollect` int(11) NOT NULL DEFAULT '0' COMMENT '收藏数量', PRIMARY KEY (`gid`) ) ENGINE=InnoDB AUTO_INCREMENT=18 DEFAULT CHARSET=utf8; -- -- 转存表中的数据 `b_goods` -- INSERT INTO `b_goods` (`gid`, `gname`, `gtypeid`, `gcounts`, `gprice`, `goldprice`, `uid`, `gadname`, `gadtel`, `gimgarray`, `gdetail`, `gcreate_time`, `gis_selloff`, `gview`, `gdznum`, `gcollect`) VALUES (1, '二手手机', 6, 2, '200.00', '200.00', 1, '小米', '188858395625', '2016-04-12/570c49ee63bb6.jpg', '质量保障', '2019-10-27 09:05:51', 1, 3, 0, 0), (2, '二手电脑', 7, 3, '1200.00', '1200.00', 0, '苹果', '', '2016-04-12/570c49ee63bb6.jpg', '质量保障', '2019-10-19 14:57:40', 1, 1, 0, 0), (3, 'iphone11', 4, 10, '7000.00', '12000.00', 1, '王女士', '18237465321', '2019-10-27/5db569353f552.jpg', '因为家里太有钱,便宜卖了', '2019-10-27 17:53:57', 0, 5, 0, 0), (4, '英语语法', 1, 20, '50.00', '500.00', 1, '李飞', '1856356926', '2019-10-28/5db63ef8f41af.jpg', '学习!', '2019-10-28 09:05:25', 0, 3, 0, 0), (5, '学习资料', 3, 30, '70.00', '700.00', 1, '念佛萨拉', '1856351568', '2019-10-28/5db63ef8f41af.jpg', '厉害啊', '2019-10-28 09:06:01', 0, 1, 0, 0), (6, '学习资料2', 5, 16, '60.00', '800.00', 1, '难咯', '1856356981', '2019-10-28/5db63f1a9ee86.jpg', '好好看书', '2019-10-28 09:06:34', 0, 0, 0, 0), (7, '书籍', 8, 80, '600.00', '1600.00', 1, '米板', '1856351550', '2019-10-28/5db63f50127ec.jpg', '膜拜', '2019-10-28 09:07:28', 1, 1, 0, 0), (8, '画画', 6, 60, '700.00', '2000.00', 1, '匆匆', '1856351590', '2019-10-28/5db63f7175af4.jpg', '好学', '2019-10-28 09:08:01', 0, 0, 0, 0), (9, '英语语法3', 1, 60, '1615.00', '18152.00', 1, '刹那间', '1856351550', '2019-10-28/5db63ef8f41af.jpg', '厉害', '2019-10-28 09:08:29', 0, 0, 0, 0), (10, '厉害', 6, 200, '2610.00', '14953.00', 1, '米哦哦', '1856356915', '2019-10-28/5db6404a51374.jpg', '漂亮', '2019-10-28 09:11:38', 0, 0, 0, 0), (11, '水彩衣服', 6, 1300, '15600.00', '156500.00', 1, '到位', '1856351502', '2019-10-28/5db6406d531ca.jpg', '漂亮', '2019-10-28 09:12:13', 0, 0, 0, 0), (12, '男生衣服', 5, 20, '300.00', '5000.00', 1, '迷哦', '1856351590', '2019-10-28/5db6408a008a5.jpg', '帅气', '2019-10-28 09:12:42', 0, 0, 0, 0), (13, '国风', 6, 300, '6000.00', '45000.00', 1, 'io', '1856365155', '2019-10-28/5db640a9dc53b.jpeg', '国风', '2019-10-28 09:13:14', 0, 0, 0, 0), (14, '艺术', 6, 120, '6000.00', '120000.00', 1, '偶像', '185635610', '2019-10-28/5db640d410c7c.jpg', '艺术', '2019-10-28 09:13:56', 0, 0, 0, 0), (15, '女生', 6, 150, '30000.00', '45600.00', 1, '解耦i', '1856351551', '2019-10-28/5db640eea1dd3.jpg', '女生', '2019-10-28 09:14:22', 0, 0, 0, 0), (16, '可爱', 7, 150, '6000.00', '12034.00', 1, 'VS', '182356973', '2019-10-28/5db6410d24957.jpg', '可爱', '2019-10-28 09:14:53', 0, 1, 0, 0), (17, '笔记本电脑', 4, 200, '5000.00', '12600.00', 1, '321', '1856351551', '2019-10-28/5db6417fa49d6.jpg', '笔记本电脑便宜卖', '2019-10-28 09:16:47', 0, 3, 0, 0); -- -------------------------------------------------------- -- -- 表的结构 `b_information` -- DROP TABLE IF EXISTS `b_information`; CREATE TABLE IF NOT EXISTS `b_information` ( `pid` int(11) NOT NULL AUTO_INCREMENT COMMENT '信息发布id', `uid` int(11) NOT NULL COMMENT '用户id', `pname` varchar(255) NOT NULL COMMENT '信息标题', `pcontent` text NOT NULL COMMENT '信息内容', PRIMARY KEY (`pid`) ) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8; -- -- 转存表中的数据 `b_information` -- INSERT INTO `b_information` (`pid`, `uid`, `pname`, `pcontent`) VALUES (1, 46, '求购理科专升本资料', '全套资料,信息工程学院的计算机应用技术专业'), (2, 1, 'ddddddd', '<p>\r\n &nbsp; &nbsp; &nbsp; &nbsp;这里写dddd你的初始化内容\r\n &nbsp; &nbsp;</p>'); -- -------------------------------------------------------- -- -- 表的结构 `b_jianyi` -- DROP TABLE IF EXISTS `b_jianyi`; CREATE TABLE IF NOT EXISTS `b_jianyi` ( `jian_id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'ID', `jian_content` text NOT NULL COMMENT '内容', `jian_date` varchar(30) NOT NULL COMMENT '时间', `uid` int(10) NOT NULL, PRIMARY KEY (`jian_id`) ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8; -- -- 转存表中的数据 `b_jianyi` -- INSERT INTO `b_jianyi` (`jian_id`, `jian_content`, `jian_date`, `uid`) VALUES (1, '内容较少', '2018-11-08 17:19:20', 44), (2, '账号注册时候有误 但自己不能修改 只能通过联系管理员修改 感觉麻烦', '2018-11-08 17:23:38', 44), (3, '很好', '2018-11-30 17:12:54', 44), (4, '真的可以', '2018-11-30 17:13:04', 44); -- -------------------------------------------------------- -- -- 表的结构 `b_link` -- DROP TABLE IF EXISTS `b_link`; CREATE TABLE IF NOT EXISTS `b_link` ( `link_id` int(10) NOT NULL AUTO_INCREMENT COMMENT '友情链接id', `link_name` varchar(30) NOT NULL COMMENT '友情链接姓名', `url` varchar(300) NOT NULL COMMENT '友情链接地址', PRIMARY KEY (`link_id`) ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8; -- -- 转存表中的数据 `b_link` -- INSERT INTO `b_link` (`link_id`, `link_name`, `url`) VALUES (1, 'CSDN', 'https://www.csdn.net/'), (2, '中国知网', 'http://epub.cnki.net/kns/default.htm'), (3, '中国机械网', 'http://www.jx.cn/'), (5, '百度', 'www.baidu.com'); -- -------------------------------------------------------- -- -- 表的结构 `b_message` -- DROP TABLE IF EXISTS `b_message`; CREATE TABLE IF NOT EXISTS `b_message` ( `mid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, `gid` int(11) NOT NULL, `uid` int(11) NOT NULL, `mcontent` text, `mcreate_time` datetime NOT NULL, PRIMARY KEY (`mid`) ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8; -- -- 转存表中的数据 `b_message` -- INSERT INTO `b_message` (`mid`, `gid`, `uid`, `mcontent`, `mcreate_time`) VALUES (1, 18, 1, '666', '2019-10-28 09:29:42'), (2, 17, 1, '666', '2019-10-28 09:39:01'), (3, 5, 1, '厉害', '2019-10-28 10:25:40'), (4, 3, 1, '还可以', '2019-10-30 16:14:58'); -- -------------------------------------------------------- -- -- 表的结构 `b_order` -- DROP TABLE IF EXISTS `b_order`; CREATE TABLE IF NOT EXISTS `b_order` ( `oid` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, `uid` int(11) NOT NULL, `gid` int(11) NOT NULL, `num` int(11) NOT NULL DEFAULT '1' COMMENT '商品数量', `order_method` varchar(255) NOT NULL DEFAULT '货到付款' COMMENT '支付方式', `fuid` int(11) NOT NULL COMMENT '发货人id', `order_addtime` datetime NOT NULL COMMENT '下单时间', `ostatus` int(11) NOT NULL DEFAULT '0' COMMENT '0为已付款1为未付款', PRIMARY KEY (`oid`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8; -- -- 转存表中的数据 `b_order` -- INSERT INTO `b_order` (`oid`, `uid`, `gid`, `num`, `order_method`, `fuid`, `order_addtime`, `ostatus`) VALUES (1, 45, 9, 1, '货到付款', 46, '2019-12-19 00:00:00', 0); -- -------------------------------------------------------- -- -- 表的结构 `b_type` -- DROP TABLE IF EXISTS `b_type`; CREATE TABLE IF NOT EXISTS `b_type` ( `tid` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, `tname` varchar(255) NOT NULL, PRIMARY KEY (`tid`) ) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8; -- -- 转存表中的数据 `b_type` -- INSERT INTO `b_type` (`tid`, `tname`) VALUES (1, '学习资料'), (2, '阅读书籍'), (3, '鞋服包饰'), (4, '美妆护理'), (5, '生活日用'), (6, '租凭买卖'), (7, '零食糖巧'), (8, '其他'); -- -------------------------------------------------------- -- -- 表的结构 `b_typeclass` -- DROP TABLE IF EXISTS `b_typeclass`; CREATE TABLE IF NOT EXISTS `b_typeclass` ( `tcid` int(11) NOT NULL AUTO_INCREMENT COMMENT '小分类id', `tid` int(11) NOT NULL COMMENT '大分类id', `tcname` varchar(255) NOT NULL COMMENT '类名', PRIMARY KEY (`tcid`) ) ENGINE=MyISAM AUTO_INCREMENT=27 DEFAULT CHARSET=utf8; -- -- 转存表中的数据 `b_typeclass` -- INSERT INTO `b_typeclass` (`tcid`, `tid`, `tcname`) VALUES (1, 1, '纸质资料'), (2, 1, '电子资料'), (3, 1, '各类考证'), (4, 2, '课外阅读'), (5, 2, '科目延伸'), (6, 2, '小说'), (7, 3, '鞋子'), (8, 3, '服装'), (9, 3, '箱包'), (10, 3, '首饰'), (11, 4, '彩妆工具'), (12, 4, '身体护理'), (13, 4, '各类彩妆'), (14, 5, '生活用品'), (15, 5, '清洁用品'), (16, 5, '学习用品'), (17, 6, '服装租凭'), (18, 6, '校园代步'), (19, 6, '闲置数码'), (20, 6, '其他'), (21, 7, '零食大礼包'), (22, 7, '地方特产'), (23, 7, '节日特惠'), (24, 8, '其他'); -- -------------------------------------------------------- -- -- 表的结构 `b_user` -- DROP TABLE IF EXISTS `b_user`; CREATE TABLE IF NOT EXISTS `b_user` ( `uid` int(10) NOT NULL AUTO_INCREMENT COMMENT '用户id', `user_num` int(10) DEFAULT NULL COMMENT '学号', `user_password` varchar(50) NOT NULL COMMENT '密码', `user_name` varchar(10) NOT NULL COMMENT '姓名', `user_sex` varchar(5) DEFAULT NULL COMMENT '性别', `user_college` varchar(10) DEFAULT NULL COMMENT '院系', `user_class` varchar(30) NOT NULL COMMENT '班级', `user_phone` varchar(11) NOT NULL COMMENT '电话', `user_QQ` varchar(15) DEFAULT NULL COMMENT 'QQ', `user_type` varchar(10) NOT NULL COMMENT '类别', `user_state` int(1) NOT NULL DEFAULT '1' COMMENT '0禁用1正常', PRIMARY KEY (`uid`) ) ENGINE=InnoDB AUTO_INCREMENT=53 DEFAULT CHARSET=utf8; -- -- 转存表中的数据 `b_user` -- INSERT INTO `b_user` (`uid`, `user_num`, `user_password`, `user_name`, `user_sex`, `user_college`, `user_class`, `user_phone`, `user_QQ`, `user_type`, `user_state`) VALUES (46, 16204067, 'e10adc3949ba59abbe56e057f20f883e', '杨素岚', '女', '信息工程学院', '计算机应用技术3班', '12323454321', '333333333', '学生', 0), (47, 16298987, '4297f44b13955235245b2497399d7a93', '易秋虹', '女', '机械工程学院', '16级机械3班', '12332123212', '1785481543', '学生', 1), (49, 16209089, '4297f44b13955235245b2497399d7a93', '张蕾', '女', '人文学院', '16级小教3班', '18008202453', '1785481543', '学生', 0), (50, 13243234, '4297f44b13955235245b2497399d7a93', '吴港', '男', '人文学院', '16级小教3班', '12332123212', '1785481543', '学生', 0), (51, 14232123, '4297f44b13955235245b2497399d7a93', '王老', '男', '建筑工程学院', '16级装饰3班', '18008202453', '1785481543', '老师', 0), (52, NULL, 'd8406e8445cc99a16ab984cc28f6931615c766fc', '111111', NULL, NULL, '11111111111', '13438762741', NULL, '1111111', 1); COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
true
352d0fb3ee3a172c1702b3eb8c72f5662e6f7e71
SQL
hennylee/kopo-04-database
/project/2_Oracle 외부데이터 적재 및 시각화/일자별_코로나확진자수 및 가계대출/SQL_코로나확진자수와 가계대출 데이터 JOIN.sql
UTF-8
2,439
4.1875
4
[]
no_license
SELECT * FROM CORONA; SELECT * FROM HOUSE_LOAN; -- 월별 코로나 확진자 수 구하기 : COUNT() 활용 SELECT REGDATE, COUNT(ID) FROM CORONA GROUP BY REGDATE ORDER BY REGDATE; -- 현재는 일자별로 그룹핑됨 -- 필요한 것은 년/월별로 총확진자 수가 필요하므로 REGDATE를 년/월만 나오도록 변경할 것이다. SELECT SUBSTR(REGDATE,0,5) FROM CORONA; -- SUBSTR 사용하기 -- 월별 확진자 수 구하기 SELECT SUBSTR(REGDATE,0,5) AS REGDATE, COUNT(ID) FROM CORONA GROUP BY SUBSTR(REGDATE,0,5) ORDER BY REGDATE; SELECT * FROM HOUSE_LOAN; -- 월별 가계대출 총합 구하기 -- 현재 기관별로 가계 대출 총합이 나눠져 있으니 이를 다 합쳐준 컬럼을 먼저 생성할 것이다. SELECT (예금취급기관+예금은행+주택담보대출+비은행예금취급기관 +주택담보대출2+상호저축은행+신용협동조합+상호금융+새마을금고+기타 ) AS TOTAL_LOAN FROM HOUSE_LOAN; -- 이제 필요한 데이터를 추출한다. -- 기간과 대출 총합이 필요함 SELECT REPLACE(SUBSTR(기간, 3), '.','/') AS REGDATE, (예금취급기관+예금은행+주택담보대출+비은행예금취급기관 +주택담보대출2+상호저축은행+신용협동조합+상호금융+새마을금고+기타 ) AS TOTAL_LOAN FROM HOUSE_LOAN; -- 기간을 JOIN할 데이터야 맞춰줘야 등가 조인이 가능하다. SELECT SUBSTR(기간, 3) FROM HOUSE_LOAN; -- .을 /으로 바꿔주기 위해 REPLACE()를 활용한다. SELECT REPLACE(SUBSTR(기간, 3), '.','/') FROM HOUSE_LOAN; DESC HOUSE_LOAN; --예금취급기관+예금은행+주택담보대출+비은행예금취급기관+주택담보대출2+상호저축은행+신용협동조합+상호금융+새마을금고+기타 NUMBER(30,1) -- 이제 처리 완료한 두 테이블을 JOIN해서 월별 가계대출 총액과 코로나 확진자수를 결합한 테이블을 생성할 것이다. SELECT C.REGDATE, C.COUNT, H.TOTAL_LOAN FROM ( SELECT SUBSTR(REGDATE,0,5) AS REGDATE, COUNT(ID) AS COUNT FROM CORONA GROUP BY SUBSTR(REGDATE,0,5) ORDER BY REGDATE ) C, ( SELECT REPLACE(SUBSTR(기간, 3), '.','/') AS REGDATE, (예금취급기관+예금은행+주택담보대출+비은행예금취급기관 +주택담보대출2+상호저축은행+신용협동조합+상호금융+새마을금고+기타 ) AS TOTAL_LOAN FROM HOUSE_LOAN ) H WHERE C.REGDATE = H.REGDATE ORDER BY REGDATE;
true
668e05018595f091e273e46164fe94a57c57e9bb
SQL
LoutreT/PHP-MySQL
/MySQL/4-DELETE-drill.sql
UTF-8
945
3.421875
3
[]
no_license
http://sqlfiddle.com/# CREATE TABLE Météo (`ville` varchar(9), `haut` int, `bas` int) ; --LA FONCTION DELETE NE PERMET QUE DE SUPPRIMER ENTIEREMENT UNE LIGNE OU UNE --COLONNE MAIS PAS UNE SEULE CASE D'UN TABLEAU. POUR UNE SEULE CASE, IL --FAUT VOIR CELA AVEC UPDATE ! INSERT INTO Météo (`ville`, `haut`, `bas`) VALUES ('Bruxelles', 27, 13), ('Liège', 25, 15), ('Namur', 26, 15), ('Charleroi', 25, 12), ('Bruges', 28, 16) ; DELETE from Météo WHERE ville ="Bruxelles" ; ________________________ | | | -- ET VOILÀ ! Une ligne éliminée !!! ________________________ Liège | 25 | 15 | ________________________ Namur | 26 | 15 | ________________________ Charleroi | 25 | 12 | ________________________ Bruges | 28 | 16 | ________________________ --DELETE from nom_de_la_table --WHERE nom_de_colonne OPERATEUR "valeur" --[and|or "nom_de_colonne" OPERATEUR "valeur"];
true
e1b6f5128c0d270137c12129627feae8fe7c3c26
SQL
ph-33/php_nguyenhn
/MVC/MVC5_use_database/user.sql
UTF-8
1,387
2.703125
3
[]
no_license
-- phpMyAdmin SQL Dump -- version 4.8.5 -- https://www.phpmyadmin.net/ -- -- Máy chủ: 127.0.0.1 -- Thời gian đã tạo: Th7 02, 2019 lúc 02:31 PM -- Phiên bản máy phục vụ: 10.1.38-MariaDB -- Phiên bản PHP: 7.3.3 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Cơ sở dữ liệu: `user` -- -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `users` -- CREATE TABLE `users` ( `Email` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `FirstName` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `LastName` varchar(255) COLLATE utf8_unicode_ci NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Đang đổ dữ liệu cho bảng `users` -- INSERT INTO `users` (`Email`, `FirstName`, `LastName`) VALUES ('nguyennhdn@gmail.com', 'tuant', 'nguyen'), ('admin@jdhub.vn', 'rewer', 'tuyen'), ('haan@gmail.com', 'ha', 'an'); COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
true
4ce4f5e3bcc07ba4a8c1810b7e497d538f59f9a0
SQL
hkolos1/rs20-tutorijali-zadace-hkolos1
/rs20-zadaca4-hkolos1/books.db.sql
UTF-8
607
2.78125
3
[]
no_license
BEGIN TRANSACTION; CREATE TABLE IF NOT EXISTS "books" ( "id" INTEGER, "author" TEXT, "title" TEXT, "isbn" TEXT, "pagecount" INTEGER, "publishdate" TEXT, PRIMARY KEY("id") ); INSERT INTO "books" ("id","author","title","isbn","pagecount","publishdate") VALUES (1,'Meša Selimović','Tvrđava','abcd',500,'2019-5-23'); INSERT INTO "books" ("id","author","title","isbn","pagecount","publishdate") VALUES (2,'Ivo Andrić','Travnička hronika','abcd',500,'2019-5-23'); INSERT INTO "books" ("id","author","title","isbn","pagecount","publishdate") VALUES (3,'J. K. Rowling','Harry Potter','abcd',500,'2019-5-23'); COMMIT;
true
5a2ecbfdbd60c586cff827b84a89d02bea165a7c
SQL
JChanut/zero-seconde
/sql/zero_sec.sql
UTF-8
24,515
2.796875
3
[]
no_license
-- phpMyAdmin SQL Dump -- version 4.1.14 -- http://www.phpmyadmin.net -- -- Client : 127.0.0.1 -- Généré le : Jeu 01 Octobre 2015 à 11:00 -- Version du serveur : 5.6.17 -- Version de PHP : 5.5.12 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; -- -- Base de données : `zero_sec` -- CREATE DATABASE IF NOT EXISTS `zero_sec` DEFAULT CHARACTER SET utf8 COLLATE utf8_bin; USE `zero_sec`; -- -------------------------------------------------------- -- -- Structure de la table `zs_cause_retard` -- CREATE TABLE IF NOT EXISTS `zs_cause_retard` ( `id_retard` int(11) NOT NULL, `id_unite` int(11) NOT NULL, `libelle` varchar(100) COLLATE utf8_bin NOT NULL, PRIMARY KEY (`id_retard`), KEY `fk_retard_unite` (`id_unite`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; -- -- Contenu de la table `zs_cause_retard` -- INSERT INTO `zs_cause_retard` (`id_retard`, `id_unite`, `libelle`) VALUES (1, 1, 'Oubli expédition'), (2, 1, 'Client retardataire'), (3, 1, 'Dépassement TS'), (4, 1, 'Mise à quai tardive'), (5, 1, 'Erreur saisie CATI'), (6, 1, 'Espacement induit'), (7, 2, 'Affluence'), (8, 2, 'Groupe'), (9, 2, 'PMR'), (10, 2, 'Junior et Cie'), (11, 2, 'Oubli bagage'), (12, 2, 'Espacement induit'), (13, 3, 'SUGE'), (14, 3, 'Police'), (15, 3, 'SDIS - SAMU'), (16, 3, 'Nettoyage'), (17, 3, 'Espacement induit'), (18, 4, 'Retard ADC'), (19, 4, 'Commande ADC'), (20, 4, 'Démarrage tardif'), (21, 4, 'Refus départ R.CLI'), (22, 4, 'Arrêt après départ'), (23, 4, 'Dépassement EF'), (24, 4, 'Erreur procédure'), (25, 4, 'Espacement induit'), (26, 5, 'Retard ASCT'), (27, 5, 'Commande ASCT'), (28, 5, 'Procédure VSTT'), (29, 5, 'Procédure annonce'), (30, 5, 'Procédure clients'), (31, 5, 'Client retardataire'), (32, 5, 'Espacement induit'), (33, 6, 'Incident portes'), (34, 6, 'Dépannage PAC'), (35, 6, 'Dépannage PMR'), (36, 6, 'REVER HS'), (37, 6, 'Fuite CG'), (38, 6, 'EM HS'), (39, 6, 'Espacement induit'), (40, 7, 'Correspondance'), (41, 7, 'Croisement matériel'), (42, 7, 'Crochet court'), (43, 7, 'Sous capacité'), (44, 7, 'Espacement induit'), (45, 8, 'Non ouverture signal'), (46, 8, 'Croisement, espacement'), (47, 8, 'Sortie chantiers'), (48, 8, 'Difficultés réception'), (49, 8, 'Erreur itinéraire'), (50, 8, 'Correspondance éléments'), (51, 8, 'Espacement induit'), (52, 9, 'Dérangement IS'), (53, 9, 'Restitution travaux'), (54, 9, 'Espacement induit'); -- -------------------------------------------------------- -- -- Structure de la table `zs_gare` -- CREATE TABLE IF NOT EXISTS `zs_gare` ( `id_gare` int(11) NOT NULL AUTO_INCREMENT, `libelle` varchar(100) COLLATE utf8_bin NOT NULL, PRIMARY KEY (`id_gare`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin AUTO_INCREMENT=2 ; -- -- Contenu de la table `zs_gare` -- INSERT INTO `zs_gare` (`id_gare`, `libelle`) VALUES (1, 'Dijon Ville'); -- -------------------------------------------------------- -- -- Structure de la table `zs_historique` -- CREATE TABLE IF NOT EXISTS `zs_historique` ( `id_historique` int(11) NOT NULL AUTO_INCREMENT, `id_OD` int(11) NOT NULL, `id_ACE` int(11) DEFAULT NULL, `id_prevision` int(11) NOT NULL, `id_retard` int(11) DEFAULT NULL, `date` date NOT NULL, `etat` enum('ok','ko','attente','inattendu') NOT NULL, `retard` tinyint(1) NOT NULL, `duree_retard` int(11) DEFAULT NULL, `commentaire` varchar(500) DEFAULT NULL, PRIMARY KEY (`id_historique`), KEY `zs_historique_ibfk_1` (`id_OD`), KEY `zs_historique_ibfk_2` (`id_ACE`), KEY `id_retard` (`id_retard`), KEY `zs_historique_ibfk_4` (`id_prevision`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=18 ; -- -- Contenu de la table `zs_historique` -- INSERT INTO `zs_historique` (`id_historique`, `id_OD`, `id_ACE`, `id_prevision`, `id_retard`, `date`, `etat`, `retard`, `duree_retard`, `commentaire`) VALUES (1, 1, 11, 20, 42, '2015-09-14', 'ok', 1, 2, 'RETARD FC'), (2, 1, NULL, 21, 36, '2015-09-14', 'ok', 1, NULL, 'RETARD FC'), (3, 1, NULL, 24, 52, '2015-09-14', 'ok', 1, NULL, 'RETARD FC'), (4, 1, NULL, 33, NULL, '2015-09-14', 'ok', 0, NULL, NULL), (5, 1, NULL, 34, NULL, '2015-09-14', 'ok', 0, NULL, NULL), (6, 1, NULL, 37, 26, '2015-09-14', 'ok', 1, NULL, 'RETARD BG'), (7, 1, NULL, 39, 29, '2015-09-14', 'ok', 1, NULL, 'RETARD BG'), (8, 1, NULL, 64, 35, '2015-09-14', 'ok', 1, NULL, 'RETARD BG'), (9, 1, NULL, 41, 52, '2015-09-14', 'ok', 1, NULL, 'RETARD BG'), (10, 1, NULL, 40, 35, '2015-09-14', 'ok', 1, NULL, 'RETARD BG'), (11, 1, NULL, 28, NULL, '2015-09-14', 'ok', 0, NULL, NULL), (12, 1, NULL, 30, NULL, '2015-09-14', 'ok', 0, NULL, NULL), (13, 1, NULL, 35, NULL, '2015-09-14', 'ok', 0, NULL, NULL), (14, 1, NULL, 26, 34, '2015-09-14', 'ok', 1, NULL, 'RETARD VOYAGE'), (15, 1, NULL, 46, NULL, '2015-09-14', 'ok', 0, NULL, NULL), (16, 1, NULL, 49, NULL, '2015-09-14', 'ok', 0, NULL, NULL), (17, 1, NULL, 68, NULL, '2015-09-14', 'ok', 0, NULL, NULL); -- -------------------------------------------------------- -- -- Structure de la table `zs_prevision` -- CREATE TABLE IF NOT EXISTS `zs_prevision` ( `id_prevision` int(11) NOT NULL AUTO_INCREMENT, `id_gare` int(11) NOT NULL, `heure` time NOT NULL, PRIMARY KEY (`id_prevision`), KEY `id_gare` (`id_gare`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin AUTO_INCREMENT=185 ; -- -- Contenu de la table `zs_prevision` -- INSERT INTO `zs_prevision` (`id_prevision`, `id_gare`, `heure`) VALUES (1, 1, '00:03:00'), (2, 1, '05:09:00'), (3, 1, '05:29:00'), (4, 1, '05:37:00'), (5, 1, '05:40:00'), (6, 1, '05:45:00'), (7, 1, '06:12:00'), (8, 1, '06:12:00'), (9, 1, '06:13:00'), (10, 1, '06:16:00'), (11, 1, '06:19:00'), (12, 1, '06:21:00'), (13, 1, '06:25:00'), (14, 1, '06:29:00'), (15, 1, '06:33:00'), (16, 1, '06:35:00'), (17, 1, '06:40:00'), (18, 1, '06:41:00'), (19, 1, '06:46:00'), (20, 1, '07:00:00'), (21, 1, '07:09:00'), (22, 1, '07:12:00'), (23, 1, '07:12:00'), (24, 1, '07:13:00'), (25, 1, '07:19:00'), (26, 1, '07:25:00'), (27, 1, '07:25:00'), (28, 1, '07:29:00'), (29, 1, '07:29:00'), (30, 1, '07:33:00'), (31, 1, '07:35:00'), (32, 1, '07:40:00'), (33, 1, '07:41:00'), (34, 1, '08:09:00'), (35, 1, '08:12:00'), (36, 1, '08:19:00'), (37, 1, '08:25:00'), (38, 1, '08:29:00'), (39, 1, '08:29:00'), (40, 1, '08:33:00'), (41, 1, '08:33:00'), (42, 1, '08:37:00'), (43, 1, '08:37:00'), (44, 1, '08:38:00'), (45, 1, '08:40:00'), (46, 1, '08:46:00'), (47, 1, '09:00:00'), (48, 1, '09:07:00'), (49, 1, '09:25:00'), (50, 1, '09:29:00'), (51, 1, '09:29:00'), (52, 1, '09:40:00'), (53, 1, '09:45:00'), (54, 1, '09:55:00'), (55, 1, '10:06:00'), (56, 1, '10:09:00'), (57, 1, '10:12:00'), (58, 1, '10:19:00'), (59, 1, '10:27:00'), (60, 1, '10:34:00'), (61, 1, '10:37:00'), (62, 1, '10:40:00'), (63, 1, '10:50:00'), (64, 1, '10:55:00'), (65, 1, '11:00:00'), (66, 1, '11:02:00'), (67, 1, '11:09:00'), (68, 1, '11:21:00'), (69, 1, '11:26:00'), (70, 1, '11:40:00'), (71, 1, '12:00:00'), (72, 1, '12:05:00'), (73, 1, '12:07:00'), (74, 1, '12:12:00'), (75, 1, '12:13:00'), (76, 1, '12:19:00'), (77, 1, '12:21:00'), (78, 1, '12:23:00'), (79, 1, '12:29:00'), (80, 1, '12:33:00'), (81, 1, '12:35:00'), (82, 1, '12:39:00'), (83, 1, '12:40:00'), (84, 1, '12:40:00'), (85, 1, '12:41:00'), (86, 1, '13:29:00'), (87, 1, '13:40:00'), (88, 1, '13:46:00'), (89, 1, '14:05:00'), (90, 1, '14:05:00'), (91, 1, '14:05:00'), (92, 1, '14:05:00'), (93, 1, '14:12:00'), (94, 1, '14:12:00'), (95, 1, '14:19:00'), (96, 1, '14:33:00'), (97, 1, '14:40:00'), (98, 1, '14:50:00'), (99, 1, '14:50:00'), (100, 1, '15:00:00'), (101, 1, '15:09:00'), (102, 1, '15:29:00'), (103, 1, '15:29:00'), (104, 1, '15:35:00'), (105, 1, '15:40:00'), (106, 1, '15:51:00'), (107, 1, '15:51:00'), (108, 1, '15:51:00'), (109, 1, '16:09:00'), (110, 1, '16:09:00'), (111, 1, '16:12:00'), (112, 1, '16:13:00'), (113, 1, '16:16:00'), (114, 1, '16:19:00'), (115, 1, '16:25:00'), (116, 1, '16:29:00'), (117, 1, '16:30:00'), (118, 1, '16:33:00'), (119, 1, '16:35:00'), (120, 1, '16:37:00'), (121, 1, '16:37:00'), (122, 1, '16:37:00'), (123, 1, '16:40:00'), (124, 1, '16:40:00'), (125, 1, '16:46:00'), (126, 1, '16:50:00'), (127, 1, '16:55:00'), (128, 1, '17:12:00'), (129, 1, '17:12:00'), (130, 1, '17:12:00'), (131, 1, '17:13:00'), (132, 1, '17:19:00'), (133, 1, '17:19:00'), (134, 1, '17:25:00'), (135, 1, '17:25:00'), (136, 1, '17:29:00'), (137, 1, '17:29:00'), (138, 1, '17:33:00'), (139, 1, '17:35:00'), (140, 1, '17:41:00'), (141, 1, '17:44:00'), (142, 1, '17:50:00'), (143, 1, '18:01:00'), (144, 1, '18:02:00'), (145, 1, '18:05:00'), (146, 1, '18:05:00'), (147, 1, '18:09:00'), (148, 1, '18:12:00'), (149, 1, '18:13:00'), (150, 1, '18:13:00'), (151, 1, '18:19:00'), (152, 1, '18:25:00'), (153, 1, '18:29:00'), (154, 1, '18:35:00'), (155, 1, '18:35:00'), (156, 1, '18:40:00'), (157, 1, '18:43:00'), (158, 1, '18:43:00'), (159, 1, '18:46:00'), (160, 1, '18:47:00'), (161, 1, '18:50:00'), (162, 1, '18:58:00'), (163, 1, '19:12:00'), (164, 1, '19:13:00'), (165, 1, '19:25:00'), (166, 1, '19:29:00'), (167, 1, '19:29:00'), (168, 1, '19:35:00'), (169, 1, '19:40:00'), (170, 1, '19:44:00'), (171, 1, '19:50:00'), (172, 1, '19:51:00'), (173, 1, '19:56:00'), (174, 1, '20:00:00'), (175, 1, '20:09:00'), (176, 1, '20:20:00'), (177, 1, '20:29:00'), (178, 1, '20:37:00'), (179, 1, '20:40:00'), (180, 1, '20:44:00'), (181, 1, '21:09:00'), (182, 1, '22:09:00'), (183, 1, '22:12:00'), (184, 1, '22:20:00'); -- -------------------------------------------------------- -- -- Structure de la table `zs_prevision_train` -- CREATE TABLE IF NOT EXISTS `zs_prevision_train` ( `id_prevision_train` int(11) NOT NULL AUTO_INCREMENT, `id_prevision` int(11) NOT NULL, `id_train` int(11) NOT NULL, `second_train` tinyint(1) NOT NULL DEFAULT '0', PRIMARY KEY (`id_prevision_train`), KEY `fk_prevision_train_train` (`id_train`), KEY `fk_prevision_train_prevision` (`id_prevision`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin AUTO_INCREMENT=220 ; -- -- Contenu de la table `zs_prevision_train` -- INSERT INTO `zs_prevision_train` (`id_prevision_train`, `id_prevision`, `id_train`, `second_train`) VALUES (1, 1, 1, 0), (2, 2, 2, 0), (3, 3, 3, 0), (4, 4, 4, 0), (5, 5, 5, 0), (6, 6, 6, 0), (7, 7, 7, 0), (8, 7, 8, 1), (9, 8, 9, 0), (10, 8, 10, 1), (11, 9, 11, 0), (12, 10, 12, 0), (13, 10, 13, 1), (14, 11, 14, 0), (15, 12, 15, 0), (16, 13, 16, 0), (17, 14, 17, 0), (18, 14, 18, 1), (19, 15, 19, 0), (20, 16, 20, 0), (21, 17, 21, 0), (22, 18, 22, 0), (23, 19, 23, 0), (24, 20, 24, 0), (25, 21, 25, 0), (26, 22, 26, 0), (27, 22, 27, 1), (28, 23, 28, 0), (29, 23, 29, 1), (30, 24, 30, 0), (31, 25, 31, 0), (32, 26, 32, 0), (33, 27, 33, 0), (34, 28, 34, 0), (35, 29, 35, 0), (36, 30, 36, 0), (37, 31, 37, 0), (38, 32, 38, 0), (39, 33, 39, 0), (40, 34, 40, 0), (41, 35, 41, 0), (42, 35, 42, 1), (43, 36, 43, 0), (44, 37, 44, 0), (45, 38, 45, 0), (46, 38, 46, 1), (47, 39, 47, 0), (48, 39, 48, 1), (49, 40, 49, 0), (50, 41, 50, 0), (51, 42, 51, 0), (52, 43, 52, 0), (53, 44, 53, 0), (54, 45, 54, 0), (55, 46, 55, 0), (56, 47, 56, 0), (57, 48, 57, 0), (58, 48, 35, 1), (59, 49, 58, 0), (60, 50, 59, 0), (61, 51, 60, 0), (62, 52, 61, 0), (63, 53, 62, 0), (64, 54, 63, 0), (65, 55, 64, 0), (66, 55, 65, 1), (67, 56, 66, 0), (68, 57, 67, 0), (69, 57, 68, 1), (70, 58, 69, 0), (71, 59, 70, 0), (72, 60, 71, 0), (73, 61, 72, 0), (74, 62, 73, 0), (75, 63, 74, 0), (76, 64, 75, 0), (77, 65, 76, 0), (78, 66, 77, 0), (79, 67, 78, 0), (80, 68, 79, 0), (81, 69, 80, 0), (82, 70, 81, 0), (83, 71, 82, 0), (84, 72, 83, 0), (85, 73, 84, 0), (86, 74, 85, 0), (87, 74, 86, 1), (88, 75, 87, 0), (89, 76, 88, 0), (90, 77, 89, 0), (91, 78, 90, 0), (92, 79, 91, 0), (93, 80, 92, 0), (94, 81, 93, 0), (95, 82, 94, 0), (96, 83, 95, 0), (97, 84, 96, 0), (98, 85, 97, 0), (99, 86, 98, 0), (100, 87, 99, 0), (101, 88, 100, 0), (102, 89, 101, 0), (103, 89, 102, 1), (104, 90, 103, 0), (105, 90, 104, 1), (106, 91, 105, 0), (107, 91, 106, 1), (108, 92, 107, 0), (109, 92, 108, 1), (110, 93, 109, 0), (111, 93, 110, 1), (112, 94, 111, 0), (113, 94, 112, 1), (114, 95, 113, 0), (115, 96, 114, 0), (116, 97, 115, 0), (117, 98, 116, 0), (118, 98, 117, 1), (119, 99, 118, 0), (120, 100, 119, 0), (121, 101, 120, 0), (122, 102, 121, 0), (123, 103, 122, 0), (124, 104, 123, 0), (125, 105, 124, 0), (126, 106, 125, 0), (127, 107, 126, 0), (128, 107, 125, 1), (129, 108, 127, 0), (130, 108, 128, 1), (131, 109, 129, 0), (132, 109, 130, 1), (133, 110, 131, 0), (134, 111, 132, 0), (135, 111, 133, 1), (136, 112, 134, 0), (137, 113, 135, 0), (138, 114, 136, 0), (139, 115, 137, 0), (140, 116, 138, 0), (141, 117, 139, 0), (142, 117, 140, 1), (143, 118, 141, 0), (144, 119, 142, 0), (145, 120, 143, 0), (146, 121, 144, 0), (147, 122, 145, 0), (148, 123, 146, 0), (149, 124, 147, 0), (150, 125, 148, 0), (151, 126, 149, 0), (152, 127, 150, 0), (153, 128, 151, 0), (154, 128, 152, 1), (155, 129, 153, 0), (156, 129, 154, 1), (157, 130, 155, 0), (158, 130, 156, 1), (159, 131, 157, 0), (160, 132, 158, 0), (161, 133, 159, 0), (162, 134, 160, 0), (163, 135, 161, 0), (164, 136, 162, 0), (165, 137, 163, 0), (166, 138, 164, 0), (167, 139, 165, 0), (168, 140, 166, 0), (169, 141, 167, 0), (170, 142, 168, 0), (171, 143, 169, 0), (172, 143, 170, 1), (173, 144, 171, 0), (174, 144, 172, 1), (175, 145, 173, 0), (176, 146, 174, 0), (177, 147, 175, 0), (178, 147, 176, 1), (179, 148, 177, 0), (180, 148, 178, 1), (181, 149, 179, 0), (182, 150, 180, 0), (183, 151, 181, 0), (184, 152, 182, 0), (185, 153, 183, 0), (186, 154, 184, 0), (187, 155, 185, 0), (188, 156, 186, 0), (189, 157, 187, 0), (190, 158, 188, 0), (191, 159, 189, 0), (192, 160, 190, 0), (193, 161, 191, 0), (194, 162, 192, 0), (195, 162, 193, 1), (196, 163, 194, 0), (197, 163, 195, 1), (198, 164, 196, 0), (199, 165, 197, 0), (200, 166, 198, 0), (201, 167, 199, 0), (202, 168, 200, 0), (203, 169, 201, 0), (204, 170, 202, 0), (205, 171, 203, 0), (206, 172, 204, 0), (207, 173, 205, 0), (208, 174, 206, 0), (209, 175, 207, 0), (210, 176, 208, 0), (211, 177, 209, 0), (212, 177, 210, 1), (213, 178, 211, 0), (214, 179, 212, 0), (215, 180, 213, 0), (216, 181, 214, 0), (217, 182, 215, 0), (218, 183, 216, 0), (219, 184, 217, 0); -- -------------------------------------------------------- -- -- Structure de la table `zs_train` -- CREATE TABLE IF NOT EXISTS `zs_train` ( `id_train` int(11) NOT NULL AUTO_INCREMENT, `num_train` int(11) NOT NULL, `famille` varchar(100) COLLATE utf8_bin NOT NULL, PRIMARY KEY (`id_train`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin AUTO_INCREMENT=218 ; -- -- Contenu de la table `zs_train` -- INSERT INTO `zs_train` (`id_train`, `num_train`, `famille`) VALUES (1, 894299, 'TER Franche Comte'), (2, 894101, 'TER Franche Comte'), (3, 17750, 'TER Bourgogne'), (4, 21899, 'TER Bourgogne'), (5, 17801, 'TER Bourgogne'), (6, 734701, 'TER Bourgogne'), (7, 893001, 'TER Bourgogne'), (8, 893000, 'TER Bourgogne'), (9, 893017, 'TER Bourgogne'), (10, 893016, 'TER Bourgogne'), (11, 894103, 'TER Franche Comte'), (12, 17833, 'TER Bourgogne'), (13, 17832, 'TER Bourgogne'), (14, 891701, 'TER Bourgogne'), (15, 6801, 'Voyages'), (16, 891501, 'TER Bourgogne'), (17, 891350, 'TER Bourgogne'), (18, 891351, 'TER Bourgogne'), (19, 891801, 'TER Bourgogne'), (20, 891900, 'TER Bourgogne'), (21, 17803, 'TER Bourgogne'), (22, 894211, 'TER Franche Comte'), (23, 891403, 'TER Bourgogne'), (24, 21907, 'TER Franche Comte'), (25, 894213, 'TER Franche Comte'), (26, 860883, 'TER Bourgogne'), (27, 860882, 'TER Bourgogne'), (28, 893027, 'TER Bourgogne'), (29, 893026, 'TER Bourgogne'), (30, 894215, 'TER Franche Comte'), (31, 891703, 'TER Bourgogne'), (32, 6744, 'Voyages'), (33, 891405, 'TER Bourgogne'), (34, 17754, 'TER Bourgogne'), (35, 21986, 'TER Bourgogne'), (36, 891803, 'TER Bourgogne'), (37, 891902, 'TER Bourgogne'), (38, 17805, 'TER Bourgogne'), (39, 894217, 'TER Franche Comte'), (40, 894219, 'TER Franche Comte'), (41, 893003, 'TER Bourgogne'), (42, 893002, 'TER Bourgogne'), (43, 891705, 'TER Bourgogne'), (44, 891407, 'TER Bourgogne'), (45, 891352, 'TER Bourgogne'), (46, 891353, 'TER Bourgogne'), (47, 891364, 'TER Bourgogne'), (48, 891365, 'TER Bourgogne'), (49, 891805, 'TER Bourgogne'), (50, 891807, 'TER Bourgogne'), (51, 21997, 'TER Bourgogne'), (52, 542099, 'TER Bourgogne'), (53, 21991, 'TER Bourgogne'), (54, 17807, 'TER Bourgogne'), (55, 6781, 'Voyages'), (56, 784801, 'TER Franche Comte'), (57, 21987, 'TER Bourgogne'), (58, 6821, 'Voyages'), (59, 17756, 'TER Bourgogne'), (60, 21756, 'TER Rhône Alpes'), (61, 17809, 'TER Bourgogne'), (62, 21909, 'TER Franche Comte'), (63, 21955, 'TER Bourgogne'), (64, 893005, 'TER Bourgogne'), (65, 893004, 'TER Bourgogne'), (66, 894231, 'TER Franche Comte'), (67, 893025, 'TER Bourgogne'), (68, 893024, 'TER Bourgogne'), (69, 891707, 'TER Bourgogne'), (70, 21913, 'TER Bourgogne'), (71, 21985, 'TER Bourgogne'), (72, 17755, 'TER Bourgogne'), (73, 17753, 'TER Bourgogne'), (74, 891411, 'TER Bourgogne'), (75, 784633, 'TER Bourgogne'), (76, 784533, 'TER Franche Comte'), (77, 6704, 'Voyages'), (78, 894237, 'TER Franche Comte'), (79, 6839, 'Voyages'), (80, 784957, 'TER Franche Comte'), (81, 17811, 'TER Bourgogne'), (82, 506199, 'Voyages'), (83, 6703, 'Voyages'), (84, 891354, 'TER Bourgogne'), (85, 893007, 'TER Bourgogne'), (86, 893006, 'TER Bourgogne'), (87, 894245, 'TER Franche Comte'), (88, 891709, 'TER Bourgogne'), (89, 891413, 'TER Bourgogne'), (90, 506839, 'Voyages'), (91, 891356, 'TER Bourgogne'), (92, 891809, 'TER Bourgogne'), (93, 891904, 'TER Bourgogne'), (94, 21977, 'TER Bourgogne'), (95, 17757, 'TER Bourgogne'), (96, 891906, 'TER Bourgogne'), (97, 894247, 'TER Franche Comte'), (98, 17760, 'TER Bourgogne'), (99, 17813, 'TER Bourgogne'), (100, 894253, 'TER Franche Comte'), (101, 1543, 'TER Champagne Ardennes'), (102, 1542, 'TER Champagne Ardennes'), (103, 21971, 'TER Bourgogne'), (104, 21970, 'TER Bourgogne'), (105, 21975, 'TER Bourgogne'), (106, 21974, 'TER Bourgogne'), (107, 21981, 'TER Bourgogne'), (108, 21980, 'TER Bourgogne'), (109, 893009, 'TER Bourgogne'), (110, 893008, 'TER Bourgogne'), (111, 893039, 'TER Bourgogne'), (112, 893038, 'TER Bourgogne'), (113, 891711, 'TER Bourgogne'), (114, 891811, 'TER Bourgogne'), (115, 17815, 'TER Bourgogne'), (116, 17835, 'TER Bourgogne'), (117, 17834, 'TER Bourgogne'), (118, 891415, 'TER Bourgogne'), (119, 809225, 'TER Franche Comte'), (120, 894261, 'TER Franche Comte'), (121, 21988, 'TER Bourgogne'), (122, 542080, 'TER Bourgogne'), (123, 734908, 'TER Bourgogne'), (124, 17817, 'TER Bourgogne'), (125, 11946, 'TER Champagne Ardennes'), (126, 11947, 'TER Champagne Ardennes'), (127, 839851, 'TER Bourgogne'), (128, 839850, 'TER Bourgogne'), (129, 860889, 'TER Bourgogne'), (130, 860888, 'TER Bourgogne'), (131, 894267, 'TER Franche Comte'), (132, 893031, 'TER Bourgogne'), (133, 893030, 'TER Bourgogne'), (134, 894123, 'TER Franche Comte'), (135, 6815, 'Voyages'), (136, 891713, 'TER Bourgogne'), (137, 891503, 'TER Bourgogne'), (138, 891358, 'TER Bourgogne'), (139, 17829, 'TER Bourgogne'), (140, 17828, 'TER Bourgogne'), (141, 891813, 'TER Bourgogne'), (142, 891908, 'TER Bourgogne'), (143, 17761, 'TER Bourgogne'), (144, 21931, 'TER Bourgogne'), (145, 542081, 'TER Bourgogne'), (146, 17819, 'TER Bourgogne'), (147, 21999, 'TER Bourgogne'), (148, 894271, 'TER Franche Comte'), (149, 891419, 'TER Bourgogne'), (150, 891715, 'TER Bourgogne'), (151, 893011, 'TER Bourgogne'), (152, 893010, 'TER Bourgogne'), (153, 893019, 'TER Bourgogne'), (154, 893018, 'TER Bourgogne'), (155, 893023, 'TER Bourgogne'), (156, 893022, 'TER Bourgogne'), (157, 894125, 'TER Franche Comte'), (158, 784500, 'TER Bourgogne'), (159, 891717, 'TER Bourgogne'), (160, 6740, 'Voyages'), (161, 891505, 'TER Bourgogne'), (162, 21964, 'TER Bourgogne'), (163, 21994, 'TER Bourgogne'), (164, 891815, 'TER Bourgogne'), (165, 891910, 'TER Bourgogne'), (166, 894277, 'TER Franche Comte'), (167, 17821, 'TER Bourgogne'), (168, 891423, 'TER Bourgogne'), (169, 839831, 'TER Bourgogne'), (170, 839830, 'TER Bourgogne'), (171, 14355, 'Téoz Sud Est'), (172, 14354, 'Téoz Sud Est'), (173, 21915, 'TER Bourgogne'), (174, 891817, 'TER Bourgogne'), (175, 893021, 'TER Bourgogne'), (176, 893020, 'TER Bourgogne'), (177, 893015, 'TER Bourgogne'), (178, 893014, 'TER Bourgogne'), (179, 21911, 'TER Bourgogne'), (180, 894281, 'TER Franche Comte'), (181, 891719, 'TER Bourgogne'), (182, 891425, 'TER Bourgogne'), (183, 891360, 'TER Bourgogne'), (184, 17763, 'TER Bourgogne'), (185, 891912, 'TER Bourgogne'), (186, 21993, 'TER Bourgogne'), (187, 891819, 'TER Bourgogne'), (188, 894283, 'TER Franche Comte'), (189, 6783, 'Voyages'), (190, 6885, 'Voyages'), (191, 891427, 'TER Bourgogne'), (192, 1545, 'TER Champagne Ardennes'), (193, 1544, 'TER Champagne Ardennes'), (194, 893013, 'TER Bourgogne'), (195, 893012, 'TER Bourgogne'), (196, 894287, 'TER Franche Comte'), (197, 891439, 'TER Bourgogne'), (198, 17766, 'TER Bourgogne'), (199, 21996, 'TER Bourgogne'), (200, 891914, 'TER Bourgogne'), (201, 891821, 'TER Bourgogne'), (202, 17823, 'TER Bourgogne'), (203, 891429, 'TER Bourgogne'), (204, 6869, 'Voyages'), (205, 891721, 'TER Bourgogne'), (206, 506827, 'Voyages'), (207, 894291, 'TER Franche Comte'), (208, 891435, 'TER Bourgogne'), (209, 891362, 'TER Bourgogne'), (210, 891363, 'TER Bourgogne'), (211, 21995, 'TER Bourgogne'), (212, 17827, 'TER Bourgogne'), (213, 891431, 'TER Bourgogne'), (214, 894293, 'TER Franche Comte'), (215, 894295, 'TER Franche Comte'), (216, 891433, 'TER Bourgogne'), (217, 784883, 'TER Bourgogne'); -- -------------------------------------------------------- -- -- Structure de la table `zs_unite` -- CREATE TABLE IF NOT EXISTS `zs_unite` ( `id_unite` int(11) NOT NULL AUTO_INCREMENT, `libelle` varchar(50) COLLATE utf8_bin NOT NULL, PRIMARY KEY (`id_unite`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin AUTO_INCREMENT=11 ; -- -- Contenu de la table `zs_unite` -- INSERT INTO `zs_unite` (`id_unite`, `libelle`) VALUES (1, 'Escale'), (2, 'Embarquement'), (3, 'Prestations externes'), (4, 'ET'), (5, 'ECT'), (6, 'MATERIEL'), (7, 'COP_COS'), (8, 'Infra C'), (9, 'Infra V'), (10, 'Incidents'); -- -------------------------------------------------------- -- -- Structure de la table `zs_utilisateur` -- CREATE TABLE IF NOT EXISTS `zs_utilisateur` ( `id_utilisateur` int(11) NOT NULL AUTO_INCREMENT, `id_gare` int(11) NOT NULL, `identifiant` varchar(20) NOT NULL, `mot_de_passe` varchar(30) NOT NULL, `nom` varchar(25) DEFAULT NULL, `prenom` varchar(25) DEFAULT NULL, `email` varchar(40) NOT NULL, `fonction` varchar(20) DEFAULT NULL, PRIMARY KEY (`id_utilisateur`), KEY `id_gare` (`id_gare`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=13 ; -- -- Contenu de la table `zs_utilisateur` -- INSERT INTO `zs_utilisateur` (`id_utilisateur`, `id_gare`, `identifiant`, `mot_de_passe`, `nom`, `prenom`, `email`, `fonction`) VALUES (1, 1, 'od', 'od', 'MORIN', 'Alan', 'ext.stage.alan.morin@sncf.fr', 'OD'), (11, 1, 'ace', 'ace', NULL, NULL, 'ace@sncf.fr', 'ACE'), (12, 1, 'od2', 'od2', 'OD2', 'OD2', '', 'OD'); -- -- Contraintes pour les tables exportées -- -- -- Contraintes pour la table `zs_cause_retard` -- ALTER TABLE `zs_cause_retard` ADD CONSTRAINT `zs_cause_retard_ibfk_1` FOREIGN KEY (`id_unite`) REFERENCES `zs_unite` (`id_unite`); -- -- Contraintes pour la table `zs_historique` -- ALTER TABLE `zs_historique` ADD CONSTRAINT `zs_historique_ibfk_1` FOREIGN KEY (`id_OD`) REFERENCES `zs_utilisateur` (`id_utilisateur`) ON DELETE CASCADE, ADD CONSTRAINT `zs_historique_ibfk_2` FOREIGN KEY (`id_ACE`) REFERENCES `zs_utilisateur` (`id_utilisateur`) ON DELETE CASCADE, ADD CONSTRAINT `zs_historique_ibfk_3` FOREIGN KEY (`id_retard`) REFERENCES `zs_cause_retard` (`id_retard`), ADD CONSTRAINT `zs_historique_ibfk_4` FOREIGN KEY (`id_prevision`) REFERENCES `zs_prevision` (`id_prevision`); -- -- Contraintes pour la table `zs_prevision` -- ALTER TABLE `zs_prevision` ADD CONSTRAINT `zs_prevision_ibfk_1` FOREIGN KEY (`id_gare`) REFERENCES `zs_gare` (`id_gare`); -- -- Contraintes pour la table `zs_prevision_train` -- ALTER TABLE `zs_prevision_train` ADD CONSTRAINT `zs_prevision_train_ibfk_1` FOREIGN KEY (`id_train`) REFERENCES `zs_train` (`id_train`), ADD CONSTRAINT `zs_prevision_train_ibfk_2` FOREIGN KEY (`id_prevision`) REFERENCES `zs_prevision` (`id_prevision`); -- -- Contraintes pour la table `zs_utilisateur` -- ALTER TABLE `zs_utilisateur` ADD CONSTRAINT `zs_utilisateur_ibfk_1` FOREIGN KEY (`id_gare`) REFERENCES `zs_gare` (`id_gare`); /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
true
195cb5ff91d2fa564ec71bcbb2fb9884969eed8f
SQL
sakura0423/TPCH-mysql
/query/Q22.sql
UTF-8
510
3.8125
4
[]
no_license
select cntrycode, count(*) as numcust, sum(c_acctbal) as totacctbal from ( select substr(c_phone from 1 for 2) as cntrycode, c_acctbal from CUSTOMER where substr(c_phone from 1 for 2) in ('26', '13', '21', '28', '11', '12', '19') and c_acctbal > ( select avg(c_acctbal) from CUSTOMER where c_acctbal > 0.00 and substr(c_phone from 1 for 2) in ('26', '13', '21', '28', '11', '12', '19') ) and not exists ( select * from ORDERS where o_custkey = c_custkey ) ) as custsale group by cntrycode order by cntrycode;
true
9c88454126ee5c4b759b55aa78afb8975f9b85b9
SQL
biggoong/final-project
/create_tables.sql
UTF-8
1,282
3.609375
4
[]
no_license
CREATE TABLE `hotspot`.`users` ( `user_id` INT NOT NULL AUTO_INCREMENT , `nickname` VARCHAR(15) NOT NULL , `email` VARCHAR(30) NOT NULL , `password` VARCHAR(50) NOT NULL , `salt` VARCHAR(50) NOT NULL , `token` VARCHAR(50) NOT NULL DEFAULT '0', `account_token` VARCHAR(50) NOT NULL , `status` TINYINT NOT NULL DEFAULT '0' , PRIMARY KEY (`user_id`)) ENGINE = InnoDB; CREATE TABLE `hotspot`.`posts` ( `post_id` INT NOT NULL AUTO_INCREMENT , `title` VARCHAR(50) NOT NULL , `text` TEXT NOT NULL , `publication_time` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP , `user_id` INT NOT NULL , `image_url` VARCHAR(100) NOT NULL , `short_desc` TEXT NOT NULL , `likes` INT NOT NULL DEFAULT '0' AFTER `short_desc` , `dislikes` INT NOT NULL DEFAULT '0' , PRIMARY KEY (`post_id`)) ENGINE = InnoDB; ALTER TABLE `posts` ADD FOREIGN KEY (`user_id`) REFERENCES `users`(`user_id`) ON DELETE NO ACTION ON UPDATE CASCADE; CREATE TABLE `hotspot`.`comments` ( `comment_id` INT NOT NULL AUTO_INCREMENT , `text` TEXT NOT NULL , `publication_time` DATE NOT NULL DEFAULT CURRENT_TIMESTAMP , `user_id` INT NOT NULL , `post_id` INT NOT NULL , PRIMARY KEY (`comment_id`)) ENGINE = InnoDB;
true
4a59ddab5b91c79f4791a4ca460c6d27ef60f74e
SQL
Noelwong/php_project
/eie3117-Milestone2/database/milestone2.sql
UTF-8
4,032
2.984375
3
[]
no_license
-- phpMyAdmin SQL Dump -- version 4.8.4 -- https://www.phpmyadmin.net/ -- -- 主機: localhost -- 產生時間: 2019 年 04 月 01 日 20:50 -- 伺服器版本: 10.1.37-MariaDB -- PHP 版本: 7.3.1 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- 資料庫: `milestone2` -- -- -------------------------------------------------------- -- -- 資料表結構 `history` -- CREATE TABLE `history` ( `requestNo` int(11) NOT NULL, `passengerName` varchar(20) NOT NULL, `driverName` varchar(20) NOT NULL, `pickup_location` text NOT NULL, `destination` text NOT NULL, `pickup_time` date NOT NULL, `tips` double NOT NULL, `startTime` datetime NOT NULL, `finishTime` datetime NOT NULL, `fare` double NOT NULL, `status` int(11) NOT NULL COMMENT 'Request = 0, Confirmed = 1, Cancelled = 2, Finished = 3, Dispute = 4, Accept_dispute = 5, Reject_dispute = 6', `reason` varchar(200) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- 資料表的匯出資料 `history` -- INSERT INTO `history` (`requestNo`, `passengerName`, `driverName`, `pickup_location`, `destination`, `pickup_time`, `tips`, `startTime`, `finishTime`, `fare`, `status`, `reason`) VALUES (34, 'anson', 'noelwong', '香港馬仔坑竹園道55號', '香港旺角廣東道1237號', '0000-00-00', 123, '2019-04-02 02:32:34', '2019-04-02 02:36:01', 0.001, 4, '手車唔得'), (35, 'anson', 'noel123', '香港馬仔坑天馬苑; 龍翔道', '香港旺角廣東道1237號', '0000-00-00', 100, '2019-04-02 02:42:49', '2019-04-02 02:44:11', 0.001, 5, '我要渣GTR!!!!!!'); -- -------------------------------------------------------- -- -- 資料表結構 `users` -- CREATE TABLE `users` ( `id` int(11) NOT NULL, `username` varchar(50) NOT NULL, `password` varchar(255) NOT NULL, `phoneNumber` int(12) DEFAULT NULL, `wallet` varchar(200) NOT NULL, `email` text, `verified` int(11) NOT NULL COMMENT '0=no, 1=yes', `verification_code` varchar(256) DEFAULT NULL, `created_at` datetime DEFAULT CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- 資料表的匯出資料 `users` -- INSERT INTO `users` (`id`, `username`, `password`, `phoneNumber`, `wallet`, `email`, `verified`, `verification_code`, `created_at`) VALUES (13, 'anson', '$2y$10$LPcXY7/mUoKpRFU6B1IA0OyJc00bLZnsq4fUT9agUJ4tZfYZ/Rx4m', 12312332, '', 'fds@gmail.com', 1, 'f32b09c44349d74ed23b935c28717a02', '2019-04-02 02:30:23'), (14, 'noel123', '$2y$10$CxtcSFySmHyV1ndOZdxP3ueeTbQ3CvOUejl9S5l33qUeBm0qYAMA.', 12312322, '', '33@gmail.com', 1, '7336c48763792f64f51b431cd3c843fe', '2019-04-02 02:41:27'), (12, 'noelwong', '$2y$10$lObFuzJ.djxnJ2SNKuou9eX2rp3ktZmVKe51koePrcT..xK9ex.uW', 12312312, '', 'asd@gmail.com', 1, '699c8f0489033dcb85f2efbcd2148993', '2019-04-02 02:28:17'); -- -- 已匯出資料表的索引 -- -- -- 資料表索引 `history` -- ALTER TABLE `history` ADD PRIMARY KEY (`requestNo`); -- -- 資料表索引 `users` -- ALTER TABLE `users` ADD PRIMARY KEY (`username`), ADD UNIQUE KEY `username` (`username`), ADD UNIQUE KEY `id` (`id`), ADD UNIQUE KEY `id_2` (`id`); -- -- 在匯出的資料表使用 AUTO_INCREMENT -- -- -- 使用資料表 AUTO_INCREMENT `history` -- ALTER TABLE `history` MODIFY `requestNo` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=36; -- -- 使用資料表 AUTO_INCREMENT `users` -- ALTER TABLE `users` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15; COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
true
f6d60a5d61b1cad82a4575133ea0dc8919c5fd4a
SQL
HEEYEOP/HEEYEOP.JAVA
/Project/sql백업파일/5.17트리거와 프로시저의 차이.sql
UTF-8
469
2.578125
3
[]
no_license
/* ==============트리거와 프로시저의 차이============== -트리거는 테이블 이벤트가 발생하여 트리거가 동작했을 때, 동일한 테이블의 다른 이벤트를 처리할 수 없다. ex) A테이블의 insert트리거를 작성하는데 A테이블을 update하는 코드를 작성하면 에러가 발생 -프로시저는 call을 통해 호출을 해야하지만, 트리거는 해당 이벤트가 발생하면 자동으로 호출된다 */
true
41b0b1b11762d8645e3527be4c3f0f6e8e5923e0
SQL
seo-dasom/dasom_jsp
/web_final/database/sql/board.sql
UTF-8
5,638
3.875
4
[]
no_license
/* * 테이블 생성에 문제 발생 시 테이블을 지우기 위해 미리 작성 */ DROP TABLE comments; DROP SEQUENCE comments_seq; DROP TABLE attach_files; DROP SEQUENCE attach_files_seq; DROP TABLE board; DROP SEQUENCE board_seq; DROP TABLE board_type; /* * 게시판 구분(종류)용 테이블 생성 */ CREATE TABLE board_type( id NUMBER, name NVARCHAR2(256) ); ALTER TABLE board_type ADD CONSTRAINT board_type_id_PK PRIMARY KEY(id); ALTER TABLE board_type MODIFY name CONSTRAINT board_type_name_NN NOT NULL; COMMENT ON COLUMN board_type.id IS '게시판 구분 식별 번호'; COMMENT ON COLUMN board_type.name IS '게시판 종류(이름)'; INSERT INTO board_type VALUES(1, '자유 게시판'); INSERT INTO board_type VALUES(2, '유머 게시판'); INSERT INTO board_type VALUES(3, '정치/사회 게시판'); /* * 게시판 테이블 생성 */ CREATE SEQUENCE board_seq NOCACHE; CREATE TABLE board( id NUMBER, btype NUMBER, aid NUMBER, title NVARCHAR2(256), contents NCLOB, vcnt NUMBER DEFAULT 0, gcnt NUMBER DEFAULT 0, bcnt NUMBER DEFAULT 0, cdate DATE DEFAULT SYSDATE, udate DATE DEFAULT SYSDATE, nodel CHAR(1) DEFAULT 'n', deleted CHAR(1) DEFAULT 'n' ); ALTER TABLE board ADD CONSTRAINT board_id_PK PRIMARY KEY(id); ALTER TABLE board ADD CONSTRAINT board_btype_FK FOREIGN KEY(btype) REFERENCES board_type(id); ALTER TABLE board ADD CONSTRAINT board_aid_FK FOREIGN KEY(aid) REFERENCES account(id); ALTER TABLE board MODIFY title CONSTRAINT board_title_NN NOT NULL; ALTER TABLE board ADD CONSTRAINT board_nodel_CK CHECK(nodel IN('n', 'y')); ALTER TABLE board ADD CONSTRAINT board_deleted_CK CHECK(deleted IN('n', 'y')); COMMENT ON COLUMN board.id IS '게시판 식별 번호'; COMMENT ON COLUMN board.btype IS '게시판 구분 식별 번호'; COMMENT ON COLUMN board.aid IS '게시판 작성자 식별 번호'; COMMENT ON COLUMN board.title IS '게시판 제목'; COMMENT ON COLUMN board.contents IS '게시판 내용'; COMMENT ON COLUMN board.vcnt IS '게시판 조회수'; COMMENT ON COLUMN board.gcnt IS '게시판 추천수'; COMMENT ON COLUMN board.bcnt IS '게시판 비추천수'; COMMENT ON COLUMN board.cdate IS '게시판 생성일'; COMMENT ON COLUMN board.udate IS '게시판 수정일'; COMMENT ON COLUMN board.nodel IS '게시판 삭제금지 구분(y 인 경우 작성자도 삭제 안됨)'; COMMENT ON COLUMN board.deleted IS '게시판 삭제 구분(y 인 경우 삭제된 것으로 간주)'; /* * 첨부파일용 테이블 */ CREATE SEQUENCE attach_files_seq NOCACHE; CREATE TABLE attach_files( id NUMBER, bid NUMBER, name NVARCHAR2(512), path NVARCHAR2(1024), url NVARCHAR2(1024) ); ALTER TABLE attach_files ADD CONSTRAINT attach_files_id_PK PRIMARY KEY(id); ALTER TABLE attach_files ADD CONSTRAINT attach_files_bid_FK FOREIGN KEY(bid) REFERENCES board(id); ALTER TABLE attach_files MODIFY name CONSTRAINT attach_files_name_NN NOT NULL; ALTER TABLE attach_files MODIFY path CONSTRAINT attach_files_path_NN NOT NULL; ALTER TABLE attach_files MODIFY url CONSTRAINT attach_files_url_NN NOT NULL; COMMENT ON COLUMN attach_files.id IS '첨부파일 식별 번호'; COMMENT ON COLUMN attach_files.bid IS '어떤 게시판의 첨부 파일인지 식별하기 위한 게시판 식별 번호'; COMMENT ON COLUMN attach_files.name IS '첨부파일의 파일명'; COMMENT ON COLUMN attach_files.path IS '첨부파일의 실제 저장 경로(위치)'; COMMENT ON COLUMN attach_files.url IS '첨부파일의 접근 URL 주소(경로)'; /* * 댓글용 테이블 */ CREATE SEQUENCE comments_seq NOCACHE; CREATE TABLE comments( id NUMBER, bid NUMBER, aid NUMBER, contents NVARCHAR2(1024), gcnt NUMBER DEFAULT 0, bcnt NUMBER DEFAULT 0, cdate DATE DEFAULT SYSDATE, udate DATE DEFAULT SYSDATE, deleted CHAR(1) DEFAULT 'n' ); ALTER TABLE comments ADD CONSTRAINT comments_id_PK PRIMARY KEY(id); ALTER TABLE comments ADD CONSTRAINT comments_bid_FK FOREIGN KEY(bid) REFERENCES board(id); ALTER TABLE comments ADD CONSTRAINT comments_aid_FK FOREIGN KEY(aid) REFERENCES account(id); ALTER TABLE comments MODIFY contents CONSTRAINT comments_contents_NN NOT NULL; ALTER TABLE comments ADD CONSTRAINT comments_deleted_CK CHECK(deleted IN('n', 'y')); COMMENT ON COLUMN comments.id IS '댓글 식별 번호'; COMMENT ON COLUMN comments.bid IS '어떤 게시글의 댓글인지 식별하기 위한 번호'; COMMENT ON COLUMN comments.aid IS '누가 작성한 댓글인지 식별하기 위한 번호'; COMMENT ON COLUMN comments.contents IS '댓글 내용'; COMMENT ON COLUMN comments.gcnt IS '댓글 추천수'; COMMENT ON COLUMN comments.bcnt IS '댓글 비추천수'; COMMENT ON COLUMN comments.cdate IS '댓글 작성일'; COMMENT ON COLUMN comments.udate IS '댓글 수정일'; COMMENT ON COLUMN comments.deleted IS '댓글 삭제 구분값(실제 삭제 처리는 하지 않고 값만 y로 변경)'; SELECT DBMS_LOB.SUBSTR(contents, DBMS_LOB.GETLENGTH(contents)) as contents FROM board; SELECT DBMS_LOB.SUBSTR(contents, 3) as contents FROM board; SELECT TO_CHAR(contents) as contents FROM board; SELECT * FROM board; SELECT * FROM comments; UPDATE board SET deleted = 'y' WHERE id = 6 AND nodel = 'n'; SELECT a.id, a.btype, b.name AS bname, a.aid, c.nickname AS aname, a.title, a.cdate, a.vcnt FROM board a JOIN board_type b ON a.btype = b.id JOIN account c ON a.aid = c.id; SELECT * FROM board_type; SELECT * FROM account; SELECT a.id , a.bid , a.aid , (SELECT nickname FROM account WHERE id = a.aid) AS aname , a.contents , a.gcnt , a.bcnt , a.cdate , a.udate , a.deleted FROM comments a WHERE bid = 6 ORDER BY a.id DESC;
true
6fb95a97362e715224b8d5e49f85050cdb3acaf7
SQL
nox491/saas-10
/SOA/Front-End/src/Back-End/databaseInit.sql
UTF-8
1,059
3.9375
4
[]
no_license
--DROP TABLE answers, keywords, questions, users; --DROP SCHEMA QATest; CREATE SCHEMA QATest; CREATE TABLE users( user_id SERIAL UNIQUE, email_address TEXT NOT NULL, passwrd TEXT NOT NULL, PRIMARY KEY(user_id), UNIQUE(email_adress) ); CREATE TABLE questions( question_id SERIAL PRIMARY KEY, user_id INT REFERENCES users(user_id), question_title TEXT NOT NULL, question_text TEXT, date_asked TIMESTAMP DEFAULT CURRENT_TIMESTAMP ); CREATE TABLE answers( answer_id SERIAL PRIMARY KEY, question_id INT REFERENCES questions(question_id), user_id INT REFERENCES users(user_id), answer_text TEXT NOT NULL, date_answered TIMESTAMP DEFAULT CURRENT_TIMESTAMP ); CREATE TABLE keywords( keyword VARCHAR(100) NOT NULL, question_id INT REFERENCES questions(question_id) ); /* INSERT INTO users (email_address, passwrd) VALUES ('aggelospip@gmail.com', '1223pass'); INSERT INTO questions (user_id, question_text) VALUES (1, 'will this really work?'); SELECT * FROM users INNER JOIN questions ON users.user_id = questions.user_id; */
true
df7bd595eebb752a4e158ed0c20b23daf4d3ee2e
SQL
Andi-IM/UAS_PBO_JAVA_AndiIrham_1911082006
/politeknikcontoh.sql
UTF-8
9,703
2.9375
3
[ "Apache-2.0" ]
permissive
-- phpMyAdmin SQL Dump -- version 5.0.2 -- https://www.phpmyadmin.net/ -- -- Host: localhost -- Waktu pembuatan: 23 Jun 2020 pada 11.38 -- Versi server: 5.7.24 -- Versi PHP: 7.2.19 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `politeknikcontoh` -- -- -------------------------------------------------------- -- -- Struktur dari tabel `mahasiswa` -- CREATE TABLE `mahasiswa` ( `no_bp` varchar(10) NOT NULL, `nama` varchar(30) NOT NULL, `jekel` varchar(10) NOT NULL, `tempatLahir` varchar(20) NOT NULL, `tanggalLahir` date NOT NULL, `alamat` varchar(50) NOT NULL, `noTelepon` varchar(20) NOT NULL, `kdJurusan` varchar(2) NOT NULL, `kdProdi` varchar(5) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `mahasiswa` -- INSERT INTO `mahasiswa` (`no_bp`, `nama`, `jekel`, `tempatLahir`, `tanggalLahir`, `alamat`, `noTelepon`, `kdJurusan`, `kdProdi`) VALUES ('1702021077', 'Morina Tokunaga', 'perempuan', 'Osaka', '2001-03-22', 'Chibubu, Osaka', '+8112290841', 'TM', 'TM002'), ('1702031033', 'Ahmad Hambali', 'laki-laki', 'Solok', '2000-03-13', 'Komplek Perumahan Dosen Unand Blok B3/11/04', '08231234321', 'TM', 'TM003'), ('1703011005', 'Richardo Simanjuntak', 'laki-laki', 'Mandailing Natal', '2000-03-20', 'Jalan Toba', '08247238123', 'TE', 'TE001'), ('1703012020', 'Rizal Ramlee', 'laki-laki', 'Bandung', '1998-12-05', 'Jalan Sitiung', '083147523821', 'TE', 'TE001'), ('1703052007', 'Shobirin Maulana', 'laki-laki', 'Padang', '2000-02-02', 'Komplek Unand Blok B', '08237849231', 'TE', 'TE005'), ('1704031056', 'Arif Nursahid', 'laki-laki', 'Bantul', '2001-05-01', 'Jl. Ringroad Timur No. 21, Bantul', '02745021223', 'TS', 'TS003'), ('1705021003', 'Suci Aurelia Puri', 'perempuan', 'Padang', '2000-03-02', 'Bunguih', '0784123123', 'AN', 'AN002'), ('1801022005', 'Khairul Amin Abdul Latif', 'laki-laki', 'Aceh Besar', '1999-01-01', 'Jalan By. Pass KM. 10, Padang', '08231239412', 'TI', 'TI002'), ('1802032026', 'Richard Feymann', 'laki-laki', 'GreenFields', '2020-01-01', 'Jalan Kabuto', '+1232452532', 'TM', 'TM003'), ('1803022001', 'Fathimah Az-Zahra', 'perempuan', 'Sawahlunto', '2000-08-07', 'Jalan Kenanga No. 1', '0824285732', 'TE', 'TE002'), ('1803051021', 'Ahmad Dahlan', 'laki-laki', 'Poso', '1999-05-13', 'Tanah Sirah', '0823123542', 'TE', 'TE005'), ('1804011005', 'Andini Khoiriyah', 'perempuan', 'Banjarnegara', '2001-02-14', 'Komplek Taruko ', '08524323412', 'TS', 'TS001'), ('1804012023', 'Irfan Syahputra', 'laki-laki', 'Palangkaraya', '2000-12-09', 'Komplek Cerdikiawan', '0823428723', 'TS', 'TS001'), ('1804021011', 'Alga Noor Hasanah', 'perempuan', 'Surakarta', '1999-07-08', 'Jl. Pisang No. 12 Surakarta', '085110003340', 'TS', 'TS002'), ('1901011003', 'Jerome Polin', 'laki-laki', 'Surabaya', '1999-10-31', 'Jl. Kapalo Koto', '08219248239', 'TI', 'TI003'), ('1901021015', 'Ahmad Affandi', 'laki-laki', 'Jakarta', '2001-05-31', 'Komplek Cendana No. 14 Padang', '08834212312', 'TI', 'TI002'), ('1902011002', 'Ahmad Hariawan', 'laki-laki', 'PadangPanjang', '2001-04-15', 'Komplek griya Insani ', '0822823921', 'TM', 'TM001'), ('1902012005', 'Rudy Hambali', 'laki-laki', 'Bukittinggi', '2003-02-22', 'Mess Polisi', '0820193123', 'TM', 'TM001'), ('1903021002', 'Chintya Rahma Ayunani', 'perempuan', 'Padang', '2001-02-15', 'Komplek Griya Insani Pemai No. 15', '08573482391', 'TE', 'TE002'), ('1903031011', 'Hatta Rajasa', 'laki-laki', 'Solo', '2002-10-07', 'Jalan Simpang Raja Ampat', '07519238721', 'TE', 'TE003'), ('1904022003', 'Hariyanto', 'laki-laki', 'Klaten', '2002-02-02', 'Jl. Pisang No.11 Surakarta', '0812423212', 'TS', 'TS002'), ('1904032024', 'Galih Wahyu', 'laki-laki', 'Surakarta', '2001-02-06', 'Jl. Kol. Ahmad Hosen No. 55 Surakarta', '+62823835531', 'TS', 'TS003'), ('1905011003', 'Tri Wahyu Putra', 'laki-laki', 'Muarolabuh', '2001-05-23', 'Jl. Andalas No. 14 Padang', '07512352412', 'AN', 'AN001'), ('1906021022', 'Muhammad Fajri', 'laki-laki', 'Padang', '2002-08-08', 'Jl. Bagindo Aziz Chan', '082383543241', 'AK', 'AK002'), ('1907012029', 'Furaidah', 'perempuan', 'Malang', '2001-01-05', 'Jl. Semarang No. 5', '0341123532', 'BI', 'BI001'), ('2001011001', 'Abdul Latif Sijabat', 'laki-laki', 'Medan', '2000-03-13', 'Jalan. Sitompul No. 15 Medan', '0823457321', 'TI', 'TI001'), ('2001012002', 'Annisa Azzahra', 'perempuan', 'Padang', '2002-07-09', 'Jalan Jend. Sudirman, Padang', '0882392123', 'TI', 'TI003'), ('2001012020', 'Kamado Tanjiro', 'laki-laki', 'Tohoku', '2000-02-19', 'Shibuya, Tokyo', '+0112715566', 'TI', 'TI001'), ('2002022022', 'Michida Haruno', 'perempuan', 'Kyoto', '2003-05-31', 'Yamanashi, Hokkaido', '+81092391824', 'TM', 'TM002'), ('2003032044', 'Rizal Mahfan At-Tirmidzi', 'laki-laki', 'Payakumbuh', '2020-01-01', 'Kompek Perumnas Indarung', '08528379842', 'TE', 'TE003'), ('2003041055', 'Ingga Pratama', 'laki-laki', 'Padang', '2000-03-19', 'Komplek Unand Blok B', '088212314532', 'TE', 'TE004'), ('2003042005', 'Annisa Al-Fatani', 'perempuan', 'Pasaman', '2020-01-01', 'Jalan Sebatas Kenangan', '0858923123', 'TE', 'TE004'), ('2004041001', 'Muklis', 'laki-laki', 'Mojokerto', '2001-08-06', 'Jalan Ki Hajar Dewantara No. 11 Klaten', '0272 3322442', 'TS', 'TS004'), ('2004042021', 'Miyanto', 'laki-laki', 'Brebes', '2000-06-19', 'Jalan Ki Hajar Dewantara No. 11 Klaten', '0272 4422131', 'TS', 'TS004'), ('2005022021', 'Kekeyi Kaka Kekeyu', 'perempuan', 'Bukittinggi', '2005-02-06', 'Komplek Perum. Griya Indah', '0723812312', 'AN', 'AN002'), ('2005022027', 'Jesica Iskandar', 'perempuan', 'Padang', '2020-01-01', 'Jl. Andalas No. 11', '0809223412', 'AN', 'AN001'), ('2006011002', 'Muhammad Fauzan', 'laki-laki', 'Padang', '2003-01-01', 'Jl. Dr. Soetomo No. 5', '085492398123', 'AK', 'AK001'), ('2006012004', 'Muhammad Faldi Dzaky', 'laki-laki', 'Padang', '2003-06-03', 'Jl. Dr. Soetomo No. 16', '085492398773', 'AK', 'AK001'), ('2006022002', 'Muhammad Fikri', 'laki-laki', 'Padang Panjang', '1997-02-01', 'Jl. Dr. Soetomo No. 5', '92463178683', 'AK', 'AK002'), ('2007011001', 'Zuliati Rohmah', 'perempuan', 'Surabaya', '2003-12-21', 'Jl. A Yani No. 11 Surabaya', '031849231', 'BI', 'BI001'); -- -------------------------------------------------------- -- -- Struktur dari tabel `prodi` -- CREATE TABLE `prodi` ( `kdjurusan` varchar(5) NOT NULL, `namajurusan` varchar(30) NOT NULL, `kdProdi` varchar(5) NOT NULL, `NamaProdi` varchar(30) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `prodi` -- INSERT INTO `prodi` (`kdjurusan`, `namajurusan`, `kdProdi`, `NamaProdi`) VALUES ('AK', 'Akuntansi', 'AK001', 'D3 Akuntansi'), ('AK', 'Akuntansi', 'AK002', 'D4 Akuntansi'), ('AN', 'Administrasi Niaga', 'AN001', 'D3 Administrasi Bisnis'), ('AN', 'Administrasi Niaga', 'AN002', 'D3 Usaha Perjalanan Wisata'), ('BI', 'Bahasa Inggris', 'BI001', 'D3 Bahasa Inggris'), ('TE', 'Teknik Elektro', 'TE001', 'D3 Teknik Listrik'), ('TE', 'Teknik Elektro', 'TE002', 'D3 Teknik Elektro'), ('TE', 'Teknik Elektro', 'TE003', 'D3 Teknik Telekomunikasi'), ('TE', 'Teknik Elektro', 'TE004', 'D4 Teknik Elektro'), ('TE', 'Teknik Elektro', 'TE005', 'D4 Teknik Telekomunikasi'), ('TI', 'Teknologi Informasi', 'TI001', 'D3 Teknik Komputer'), ('TI', 'Teknologi Informasi', 'TI002', 'D3 Manajemen Informatika'), ('TI', 'Teknologi Informasi', 'TI003', 'D4 Rekayasa Perangkat Lunak'), ('TM', 'Teknik Mesin', 'TM001', 'D3 Teknik Mesin'), ('TM', 'Teknik Mesin', 'TM002', 'D3 Teknik Alat Berat'), ('TM', 'Teknik Mesin', 'TM003', 'D4 Teknik Manufaktur'), ('TS', 'Teknik Sipil', 'TS001', 'D3 Teknik Sipil'), ('TS', 'Teknik Sipil', 'TS002', 'D4 Perencanaan Irigasi Rawa'), ('TS', 'Teknik Sipil', 'TS003', 'D4 Manajemen Rek. Konstruksi'), ('TS', 'Teknik Sipil', 'TS004', 'D4 Perancangan Jalan Jembatan'); -- -------------------------------------------------------- -- -- Struktur dari tabel `uangkuliah` -- CREATE TABLE `uangkuliah` ( `nopembayaran` varchar(5) NOT NULL, `no_bp` varchar(10) NOT NULL, `semester` varchar(2) NOT NULL, `tahunAjaran` varchar(10) NOT NULL, `jenispembayaran` varchar(20) NOT NULL, `golongan` varchar(2) NOT NULL, `jumlah` bigint(20) NOT NULL, `tanggalpembayaran` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `uangkuliah` -- INSERT INTO `uangkuliah` (`nopembayaran`, `no_bp`, `semester`, `tahunAjaran`, `jenispembayaran`, `golongan`, `jumlah`, `tanggalpembayaran`) VALUES ('NE001', '1702031033', '5', '2020/2021', 'e-Wallet', '5', 5000000, '2020-06-23 08:20:17'), ('TB001', '1702021077', '5', '2020/2021', 'Transfer Bank', '3', 2500000, '2020-06-23 08:19:26'), ('UK001', '2001011001', '1', '2020/2021', 'Tunai', '0', 0, '2020-06-23 00:54:45'); -- -- Indexes for dumped tables -- -- -- Indeks untuk tabel `mahasiswa` -- ALTER TABLE `mahasiswa` ADD PRIMARY KEY (`no_bp`), ADD KEY `kdJurusan` (`kdJurusan`,`kdProdi`); -- -- Indeks untuk tabel `prodi` -- ALTER TABLE `prodi` ADD PRIMARY KEY (`kdjurusan`,`kdProdi`) USING BTREE; -- -- Indeks untuk tabel `uangkuliah` -- ALTER TABLE `uangkuliah` ADD PRIMARY KEY (`nopembayaran`), ADD KEY `nobp` (`no_bp`); -- -- Ketidakleluasaan untuk tabel pelimpahan (Dumped Tables) -- -- -- Ketidakleluasaan untuk tabel `mahasiswa` -- ALTER TABLE `mahasiswa` ADD CONSTRAINT `mahasiswa_ibfk_1` FOREIGN KEY (`kdJurusan`,`kdProdi`) REFERENCES `prodi` (`kdjurusan`, `kdProdi`); -- -- Ketidakleluasaan untuk tabel `uangkuliah` -- ALTER TABLE `uangkuliah` ADD CONSTRAINT `uangkuliah_ibfk_1` FOREIGN KEY (`no_bp`) REFERENCES `mahasiswa` (`no_bp`); COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
true
1146667a9e5b40422e301cc134621420d1b7d2a4
SQL
alexbarcelo/incidencies
/protected/data/incidencies.sql
UTF-8
7,137
3.03125
3
[ "Apache-2.0" ]
permissive
-- phpMyAdmin SQL Dump -- version 3.5.8.1deb1 -- http://www.phpmyadmin.net -- -- Host: localhost -- Generation Time: Jun 28, 2013 at 07:52 PM -- Server version: 5.5.31-0ubuntu0.13.04.1 -- PHP Version: 5.4.9-4ubuntu2.1 SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; -- -- Database: `incidencies` -- -- -------------------------------------------------------- -- -- Table structure for table `alumnes` -- CREATE TABLE IF NOT EXISTS `alumnes` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `nom` varchar(40) NOT NULL, `cognom` varchar(40) NOT NULL, `emailContacte` varchar(100) DEFAULT NULL, `classe` mediumint(8) unsigned NOT NULL COMMENT 'CONSTRAINT FOREIGN KEY (classe) REFERENCES classes(id)', PRIMARY KEY (`id`), KEY `nom_complet` (`nom`,`cognom`), KEY `classe` (`classe`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=6 ; -- -- Dumping data for table `alumnes` -- INSERT INTO `alumnes` (`id`, `nom`, `cognom`, `emailContacte`, `classe`) VALUES (1, 'Joan', 'Sala Barceló', NULL, 1), (2, 'Enric', 'García Curado', NULL, 2), (3, 'Marta', 'Campos Garcia', NULL, 3), (4, 'Marius', 'Barcelo Garcia', NULL, 4), (5, 'Alba', 'Coma Punt', NULL, 3); -- -------------------------------------------------------- -- -- Table structure for table `amonestacions` -- CREATE TABLE IF NOT EXISTS `amonestacions` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `tipus` tinyint(3) unsigned NOT NULL COMMENT 'CONSTRAINT FOREIGN KEY (tipus) REFERENCES tipus(id)', `descripcio` varchar(100) NOT NULL, `alumne` bigint(20) unsigned NOT NULL COMMENT 'CONSTRAINT FOREIGN KEY (alumne) REFERENCES alumnes(id)', `profe` mediumint(8) unsigned NOT NULL COMMENT 'CONSTRAINT FOREIGN KEY (profe) REFERENCES profes(id)', `ennomde` mediumint(8) unsigned DEFAULT NULL COMMENT 'CONSTRAINT FOREIGN KEY (profe) REFERENCES profes(id)', `dataRegistre` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `horaLectiva` tinyint(3) unsigned DEFAULT NULL, `dataLectiva` date NOT NULL, `situacio` varchar(100) DEFAULT NULL, `notes` text, `assignadaEscrita` tinyint(1) NOT NULL DEFAULT '0', `jaVista` tinyint(1) NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `alumne` (`alumne`), KEY `tipus` (`tipus`), KEY `profe` (`profe`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=14 ; -- -- Dumping data for table `amonestacions` -- INSERT INTO `amonestacions` (`id`, `tipus`, `descripcio`, `alumne`, `profe`, `ennomde`, `dataRegistre`, `horaLectiva`, `dataLectiva`, `situacio`, `notes`, `assignadaEscrita`, `jaVista`) VALUES (1, 1, 'Blah1', 4, 3, NULL, '2013-06-26 10:06:58', 1, '2013-06-26', '', '', 0, 0), (2, 1, 'Blah1', 4, 3, NULL, '2013-06-26 10:07:55', 1, '0000-00-00', '', '', 0, 0), (3, 1, 'Blah1', 4, 3, NULL, '2013-06-26 10:08:05', 1, '0000-00-00', '', '', 0, 0), (4, 1, 'Blah1', 1, 3, NULL, '2013-06-26 10:31:38', 1, '2013-06-24', '..0', '', 0, 0), (5, 1, '1203', 1, 3, 2, '2013-06-26 11:01:33', 1, '2013-06-25', '', '', 0, 0), (6, 1, 'Descripció1', 4, 3, 1, '2013-06-27 16:48:00', 7, '2013-04-12', 'Una situació aleatòria', '', 0, 0), (7, 1, 'Això és un retard ', 1, 3, NULL, '2013-06-27 17:00:11', 1, '2013-06-11', '', '', 0, 0), (8, 1, 'La descripció d''avui', 1, 3, 2, '2013-06-28 07:55:56', 1, '2013-06-27', '', '', 0, 0), (9, 1, 'la segona descripció d''avui', 4, 3, NULL, '2013-06-28 08:04:59', 1, '2013-06-27', '', '', 0, 0), (10, 1, 'la segona descripció d''avui', 4, 3, 2, '2013-06-28 08:05:18', 1, '2013-06-27', '', '', 0, 0), (11, 1, 'la segona descripció d''avui', 4, 3, 1, '2013-06-28 08:05:50', 1, '2013-06-27', '', '', 0, 0), (12, 1, 'unaincidencia', 4, 3, 2, '2013-06-28 08:27:03', 1, '2013-06-27', '', '', 0, 0), (13, 1, 'ddd', 1, 3, NULL, '2013-06-28 08:28:04', 1, '2013-06-27', '', '', 0, 0); -- -------------------------------------------------------- -- -- Table structure for table `classes` -- CREATE TABLE IF NOT EXISTS `classes` ( `id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, `descr` varchar(10) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=25 ; -- -- Dumping data for table `classes` -- INSERT INTO `classes` (`id`, `descr`) VALUES (1, '1A'), (2, '1B'), (3, '1C'), (4, '1D'), (5, '1E'), (6, '2A'), (7, '2B'), (8, '2C'), (9, '2D'), (10, '2E'), (11, '3A'), (12, '3B'), (13, '3C'), (14, '3D'), (15, '4A'), (16, '4B'), (17, '4C'), (18, '4D'), (19, '1BTXA'), (20, '1BTXB'), (21, '1BTXC'), (22, '2BTXA'), (23, '2BTXB'), (24, '2BTXC'); -- -------------------------------------------------------- -- -- Table structure for table `profes` -- CREATE TABLE IF NOT EXISTS `profes` ( `id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, `equip_directiu` tinyint(1) NOT NULL DEFAULT '0', `tutor` mediumint(8) unsigned DEFAULT NULL COMMENT 'CONSTRAINT FOREIGN KEY (tutor) REFERENCES classes(id)', `nom` varchar(100) NOT NULL, `username` varchar(100) NOT NULL, `email` varchar(100) DEFAULT NULL, `password` varchar(100) NOT NULL, PRIMARY KEY (`id`), KEY `tutor` (`tutor`), KEY `username` (`username`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ; -- -- Dumping data for table `profes` -- INSERT INTO `profes` (`id`, `equip_directiu`, `tutor`, `nom`, `username`, `email`, `password`) VALUES (1, 0, NULL, 'John Smith', 'jsmith', 'jsmith@example.net', '1234'), (2, 1, NULL, 'Ana-Maria Carretero', 'acarretero', 'acarret5@xtec.cat', '*A4B6157319038724E3560894F7F932C8886EBFCF'), (3, 1, NULL, 'Alex Barcelo', 'barcelo', 'alex.barcelo@gmail.com', '$2a$13$AjH1CW0wNmIwfEJ6lL4xSOQ5/LIzjJ2m5eyX5advKg06hgcdUsSzy'); -- -------------------------------------------------------- -- -- Table structure for table `relacions_amonestacions` -- CREATE TABLE IF NOT EXISTS `relacions_amonestacions` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `petita` bigint(20) unsigned NOT NULL COMMENT 'CONSTRAINT FOREIGN KEY (petita) REFERENCES amonestacions(id)', `escrita` mediumint(8) unsigned NOT NULL COMMENT 'CONSTRAINT FOREIGN KEY (escrita) REFERENCES amonestacions(id)', PRIMARY KEY (`id`), KEY `petita` (`petita`), KEY `escrita` (`escrita`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `tipus` -- CREATE TABLE IF NOT EXISTS `tipus` ( `id` tinyint(3) unsigned NOT NULL AUTO_INCREMENT, `descr` varchar(20) NOT NULL, `longDescr` text, `abrev` varchar(5) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ; -- -- Dumping data for table `tipus` -- INSERT INTO `tipus` (`id`, `descr`, `longDescr`, `abrev`) VALUES (1, 'retard', 'Arribada amb retard dels estudiants', 'R'), (2, 'amonestacioOral', 'Amonestació de tipus oral a un estudiant per comportament o...', 'AO'), (3, 'expulsio', 'Expulsió a un estudiant per conducta blah blah', 'E'); /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
true
c37c38f42aa716966cb11da8075f81dce30212e3
SQL
evabanegacom/SEQUEL
/SELECT from Nobel.sql
UTF-8
1,362
4.0625
4
[]
no_license
-- 01 -- SELECT yr, subject, winner FROM nobel WHERE yr = 1950 -- 02 -- SELECT winner FROM nobel WHERE yr = 1962 AND subject = 'Literature' -- 03 -- SELECT yr, subject FROM nobel WHERE winner = 'Albert Einstein' -- 04 -- SELECT winner FROM nobel WHERE subject = 'Peace' AND yr >= 2000; -- 05 -- SELECT yr, subject, winner FROM nobel WHERE subject = 'Literature' and yr BETWEEN 1980 AND 1989 -- 06 -- SELECT * FROM nobel WHERE winner IN ('Theodore Roosevelt', 'Woodrow Wilson', 'Jimmy Carter', 'Barack Obama') -- 07 -- SELECT winner FROM nobel WHERE winner LIKE 'John%' -- 08 -- SELECT yr, subject , winner FROM nobel WHERE (subject = 'Physics' AND yr = 1980) OR (subject = 'Chemistry' AND yr = 1984) -- 09 -- SELECT yr, subject, winner FROM nobel WHERE yr = 1980 AND subject NOT IN('Chemistry' , 'Medicine') -- 10 -- SELECT * FROM nobel WHERE subject = 'Medicine' AND yr < 1910 OR subject = 'Literature' AND yr >= 2004; -- 11 -- SELECT yr, subject,winner FROM nobel WHERE winner = 'Peter Grünberg' -- 12 -- SELECT yr, subject,winner FROM nobel WHERE winner = 'EUGENE O''Neill ' -- 13 -- SELECT winner, yr, subject FROM nobel WHERE winner LIKE 'Sir%' ORDER BY yr DESC -- 14 -- SELECT winner, subject FROM nobel WHERE yr=1984 ORDER BY CASE WHEN subject IN ('Physics','Chemistry') THEN 1 ELSE 0 END, subject, winner;
true
b5702aa96121d763214a6627b881125b298d162f
SQL
marekburdel/StreamSetsScanner
/Generator/manta-dataflow-generator-streamsets/src/test/resources/ddl/Hive/datasource/Username/script.sql
UTF-8
191
2.609375
3
[]
no_license
CREATE TABLE Username.Person ( Name INT, Surname INT, Mail INT, Mobile INT ); CREATE TABLE Username.Dog ( Nickname INT, Age INT ); SELECT Name FROM Username.Person;
true
e36ffe0ab4ab603376becfa40afbe22f62b9e493
SQL
sturdy-dev/sturdy
/api/pkg/db/migrate/schema/migrations/000126_codebase_users_rm_duplicates.up.sql
UTF-8
108
2.5625
3
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
CREATE UNIQUE INDEX codebase_users_user_id_codebase_id_uq_idx ON codebase_users (user_id, codebase_id);
true
4050c105f1b933dd27b92a6e05c93615660f05c2
SQL
polyglotm/coding-dojo
/coding-challange/leetcode/medium/~2022-08-11/2084-drop-type-1-orders-for-customers-with-type-0-orders/2084-drop-type-1-orders-for-customers-with-type-0-orders.sql
UTF-8
1,441
3.953125
4
[]
no_license
# 2084-drop-type-1-orders-for-customers-with-type-0-orders # leetcode/medium/2084. Drop Type 1 Orders for Customers With Type 0 Orders # URL: https://leetcode.com/problems/drop-type-1-orders-for-customers-with-type-0-orders/ # # Input: # Orders table: # +----------+-------------+------------+ # | order_id | customer_id | order_type | # +----------+-------------+------------+ # | 1 | 1 | 0 | # | 2 | 1 | 0 | # | 11 | 2 | 0 | # | 12 | 2 | 1 | # | 21 | 3 | 1 | # | 22 | 3 | 0 | # | 31 | 4 | 1 | # | 32 | 4 | 1 | # +----------+-------------+------------+ # Output: # +----------+-------------+------------+ # | order_id | customer_id | order_type | # +----------+-------------+------------+ # | 31 | 4 | 1 | # | 32 | 4 | 1 | # | 1 | 1 | 0 | # | 2 | 1 | 0 | # | 11 | 2 | 0 | # | 22 | 3 | 0 | # +----------+-------------+------------+ SELECT * FROM (SELECT * FROM Orders WHERE order_type = 0) AS A UNION SELECT * FROM Orders WHERE order_type = 1 AND customer_id NOT IN (SELECT customer_id FROM Orders WHERE order_type = 0)
true
d304ae596376fd1251606eaffb301d0800432e9e
SQL
AQR7/practicaClienteBloque3
/upoinmobiliaria.sql
UTF-8
5,624
3.203125
3
[]
no_license
-- phpMyAdmin SQL Dump -- version 4.2.7.1 -- http://www.phpmyadmin.net -- -- Servidor: 127.0.0.1 -- Tiempo de generación: 09-03-2016 a las 13:33:22 -- Versión del servidor: 5.5.39 -- Versión de PHP: 5.4.31 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; -- -- Base de datos: `upoinmobiliaria` -- CREATE DATABASE IF NOT EXISTS `upoinmobiliaria` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci; USE `upoinmobiliaria`; -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `alquiler` -- DROP TABLE IF EXISTS `alquiler`; CREATE TABLE IF NOT EXISTS `alquiler` ( `id` int(3) NOT NULL, `dniCliente` varchar(9) NOT NULL, `Duracion` int(3) NOT NULL, `precio` int(7) NOT NULL, `fecha` date NOT NULL, `idInmueble` int(3) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=6 ; -- -- Volcado de datos para la tabla `alquiler` -- INSERT INTO `alquiler` (`id`, `dniCliente`, `Duracion`, `precio`, `fecha`, `idInmueble`) VALUES (1, '12345678A', 45, 12, '2016-03-23', 1), (2, '12345678B', 34, 55, '2016-03-30', 2), (3, '12345678O', 34, 1234, '2016-03-23', 7), (4, '12345678B', 234, 343, '2016-03-16', 3), (5, '12345678B', 232, 232, '2016-03-23', 17); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `cliente` -- DROP TABLE IF EXISTS `cliente`; CREATE TABLE IF NOT EXISTS `cliente` ( `dni` varchar(9) NOT NULL, `nombre` varchar(20) NOT NULL, `apellidos` varchar(40) NOT NULL, `telefono` int(9) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Volcado de datos para la tabla `cliente` -- INSERT INTO `cliente` (`dni`, `nombre`, `apellidos`, `telefono`) VALUES ('12345678A', 'Alberto', 'Quevedo Rodríguez', 123456789), ('12345678B', 'Fran', 'Rodríguez De la Peña', 123456788), ('12345678C', 'Luis', 'Gomez Martinez', 987654321), ('12345678Q', 'Juanito', 'Perez', 123456765); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `empleado` -- DROP TABLE IF EXISTS `empleado`; CREATE TABLE IF NOT EXISTS `empleado` ( `dni` varchar(9) NOT NULL, `nombre` varchar(20) NOT NULL, `apellidos` varchar(40) NOT NULL, `telefono` int(9) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Volcado de datos para la tabla `empleado` -- INSERT INTO `empleado` (`dni`, `nombre`, `apellidos`, `telefono`) VALUES ('12345678X', 'Felipe', 'Alvarez', 123456789), ('12345678Y', 'Marta', 'Guillen', 987654321), ('12345678Z', 'Carmen', 'Prada', 123456788), ('12345685R', 'Daniel', 'Portillo', 741258963), ('54678932D', 'Aziz', 'Labib ', 456321798); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `inmueble` -- DROP TABLE IF EXISTS `inmueble`; CREATE TABLE IF NOT EXISTS `inmueble` ( `id` int(3) NOT NULL, `direccion` varchar(50) NOT NULL, `dniEmpleado` varchar(9) NOT NULL, `m2` int(4) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Volcado de datos para la tabla `inmueble` -- INSERT INTO `inmueble` (`id`, `direccion`, `dniEmpleado`, `m2`) VALUES (1, 'Calle Inventada', '12345678A', 1234), (2, 'Calle de la calle', '12345678B', 234), (3, 'Plaza de España', '12345678B', 213), (4, 'Callecita n4', '12345678C', 4), (7, 'Distrito 9', '12345678A', 22222), (17, 'Avenida escondida', '12345678A', 33333); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `ventas` -- DROP TABLE IF EXISTS `ventas`; CREATE TABLE IF NOT EXISTS `ventas` ( `id` int(3) NOT NULL, `dniCliente` varchar(9) NOT NULL, `precio` int(7) NOT NULL, `fecha` date NOT NULL, `idInmueble` int(3) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Volcado de datos para la tabla `ventas` -- INSERT INTO `ventas` (`id`, `dniCliente`, `precio`, `fecha`, `idInmueble`) VALUES (1, '12345678A', 100, '2016-03-11', 4), (2, '12345678B', 11111, '2016-02-02', 2), (3, '12345678Q', 445, '2016-04-06', 1), (4, '12345678A', 2332, '2016-03-16', 3), (5, '12345678R', 4445, '2016-03-17', 17); -- -- Índices para tablas volcadas -- -- -- Indices de la tabla `alquiler` -- ALTER TABLE `alquiler` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `id` (`id`), ADD KEY `dniCliente` (`dniCliente`), ADD KEY `idInmueble` (`idInmueble`), ADD KEY `dniCliente_2` (`dniCliente`), ADD KEY `idInmueble_2` (`idInmueble`); -- -- Indices de la tabla `cliente` -- ALTER TABLE `cliente` ADD PRIMARY KEY (`dni`), ADD UNIQUE KEY `dni` (`dni`); -- -- Indices de la tabla `empleado` -- ALTER TABLE `empleado` ADD PRIMARY KEY (`dni`), ADD UNIQUE KEY `dni` (`dni`); -- -- Indices de la tabla `inmueble` -- ALTER TABLE `inmueble` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `id` (`id`), ADD KEY `dniEmpleado` (`dniEmpleado`), ADD KEY `dniEmpleado_2` (`dniEmpleado`); -- -- Indices de la tabla `ventas` -- ALTER TABLE `ventas` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `idInmueble_2` (`idInmueble`), ADD UNIQUE KEY `id` (`id`), ADD KEY `idInmueble` (`idInmueble`), ADD KEY `dniCliente` (`dniCliente`); -- -- AUTO_INCREMENT de las tablas volcadas -- -- -- AUTO_INCREMENT de la tabla `alquiler` -- ALTER TABLE `alquiler` MODIFY `id` int(3) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=6; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
true
cb6afc9f730dc06a24e7ccb22d7fc6ea6151cc2e
SQL
james-monahan/Python_SQL_practice
/Bath_Bed_Easy.sql
UTF-8
272
3.78125
4
[]
no_license
/*Find the average number of bathrooms and bedrooms for each city’s property types. Output the result along with the city name and the property type.*/ select city, property_type, AVG(bathrooms), AVG(bedrooms) from airbnb_search_details GROUP BY city, property_type;
true
4d91a121cf31f50597ed6d76991ba1511ee26b8e
SQL
apurvmishra99/idb-cw1
/02.sql
UTF-8
96
3
3
[]
no_license
select count(S.uun) from students S join degrees D on S.degree = D.code where D.type = 'PG';
true
dacc62623878a9dc1d4b33cd70998cc4f8eb3577
SQL
seonghl/jsp_blog
/jsp_blog/WebContent/WEB-INF/sql/address.sql
UTF-8
697
3.5
4
[]
no_license
create table address( no number not null, name varchar(10) not null, phone varchar(20) not null, zipcode varchar(7) not null, address1 varchar(200) not null, address2 varchar(200) not null, wdate date not null, primary key(no) ) select nvl(max(no),0)+1 from address insert into address(no,name,phone,zipcode,address1,address2,wdate) values((select nvl(max(no),0)+1 from address), '홍길동', '010-1111-1111', '12345', '서울시 마포구 ', '123456', sysdate) select * from address select count(*) from address where name like '%길%' delete from address select no, name, phone, wdate from address order by no desc
true
bcb77cdadd67e5f54f45f7acdadda29ba955c9d4
SQL
52gui/MyGithub
/ManageSystem/doc/table.sql
UTF-8
5,982
3.265625
3
[]
no_license
--用户表 DROP TABLE IF EXISTS `user`; CREATE TABLE `user` ( `id` int(10) NOT NULL AUTO_INCREMENT, `name` varchar(64) NOT NULL DEFAULT '', `login_name` varchar(32) NOT NULL DEFAULT 'admin', `password` varchar(32) NOT NULL DEFAULT '123456', `login_times` int(10) NOT NULL DEFAULT '0', `last_login_ip` varchar(16) DEFAULT '0.0.0.0', `superadmin` smallint(6) NOT NULL DEFAULT '0', `module_right` smallint(6) NOT NULL DEFAULT '0', `authority` smallint(6) NOT NULL DEFAULT '0', `sn` int(10) NOT NULL DEFAULT '0', `visible` smallint(6) NOT NULL DEFAULT '1', `enabled` smallint(6) NOT NULL DEFAULT '1', `deleted` smallint(6) NOT NULL DEFAULT '0', `create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `last_modify_time` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `last_login_time` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`id`), KEY `id` (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8; insert into user (name, login_name, password, superadmin) values ('系统管理员', 'admin', 'bloom', 1); --系统日志表 DROP TABLE IF EXISTS `log`; CREATE TABLE `log` ( `id` int(11) NOT NULL AUTO_INCREMENT, `type` smallint(6) NOT NULL DEFAULT '1', `user` int(11) NOT NULL DEFAULT '0', `operate` smallint(6) NOT NULL DEFAULT '0', `description` varchar(256) NOT NULL DEFAULT '', `result` smallint(6) NOT NULL DEFAULT '0', `ip_address` char(16) NOT NULL DEFAULT '', `sn` int(10) NOT NULL DEFAULT '0', `visible` smallint(6) NOT NULL DEFAULT '1', `enabled` smallint(6) NOT NULL DEFAULT '1', `deleted` smallint(6) NOT NULL DEFAULT '0', `create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `last_modify_time` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`id`), KEY `id` (`id`), KEY `type` (`type`), KEY `user` (`user`), KEY `operate` (`operate`), KEY `result` (`result`), CONSTRAINT `log_ibfk_3` FOREIGN KEY (`result`) REFERENCES `ct_log_result` (`id`), CONSTRAINT `log_ibfk_1` FOREIGN KEY (`type`) REFERENCES `ct_log_type` (`id`), CONSTRAINT `log_ibfk_2` FOREIGN KEY (`operate`) REFERENCES `ct_log_operate` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; --会员表 DROP TABLE IF EXISTS `member`; CREATE TABLE `member` ( `id` int(11) NOT NULL AUTO_INCREMENT, `member_name` varchar(32) NOT NULL, `password` varchar(64) NOT NULL, `weixin_id` varchar(64) NOT NULL, `email` varchar(64) DEFAULT NULL, `real_name` varchar(32) DEFAULT NULL, `mobile` varchar(12) DEFAULT NULL, `address` varchar(64) DEFAULT NULL, `qq` varchar(16) DEFAULT NULL, `sn` smallint(6) NOT NULL DEFAULT '0', `visible` smallint(6) NOT NULL DEFAULT '1', `enabled` smallint(6) NOT NULL DEFAULT '1', `deleted` smallint(6) NOT NULL DEFAULT '0', `create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `last_modify _time` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; --试卷表 DROP TABLE IF EXISTS `paper`; CREATE TABLE `paper` ( `id` int(11) NOT NULL AUTO_INCREMENT, `title` varchar(32) NOT NULL, `describe` varchar(512) DEFAULT NULL, `is_score` smallint(6) NOT NULL DEFAULT '0', `sn` smallint(6) NOT NULL DEFAULT '0', `visible` smallint(6) NOT NULL DEFAULT '1', `enabled` smallint(6) NOT NULL DEFAULT '1', `deleted` smallint(6) NOT NULL DEFAULT '0', `create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `last_modify _time` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; --问题表 DROP TABLE IF EXISTS `question`; CREATE TABLE `question` ( `id` int(11) NOT NULL AUTO_INCREMENT, `paper_id` int(11) NOT NULL, `title` varchar(128) NOT NULL, `order` smallint(6) DEFAULT '0', `type` smallint(6) NOT NULL DEFAULT '1', `up_limit` smallint(6) NOT NULL DEFAULT '1', `low_limit` smallint(6) NOT NULL DEFAULT '1', `is_must` smallint(6) NOT NULL DEFAULT '1', `sn` smallint(6) NOT NULL DEFAULT '0', `visible` smallint(6) NOT NULL DEFAULT '1', `enabled` smallint(6) NOT NULL DEFAULT '1', `deleted` smallint(6) NOT NULL DEFAULT '0', `create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `last_modify _time` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`id`), KEY `paper_id` (`paper_id`), CONSTRAINT `paper_id` FOREIGN KEY (`paper_id`) REFERENCES `paper` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; --选项表 DROP TABLE IF EXISTS `question_option`; CREATE TABLE `question_option` ( `id` int(11) NOT NULL AUTO_INCREMENT, `question_id` int(11) NOT NULL, `type` smallint(6) NOT NULL DEFAULT '1', `content` varchar(128) DEFAULT NULL, `order` smallint(6) DEFAULT '0', `index` smallint(6) NOT NULL DEFAULT '1', `sn` smallint(6) NOT NULL DEFAULT '0', `visible` smallint(6) NOT NULL DEFAULT '1', `enabled` smallint(6) NOT NULL DEFAULT '1', `deleted` smallint(6) NOT NULL DEFAULT '0', `create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `last_modify _time` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`id`), KEY `question_id` (`question_id`), CONSTRAINT `question_id` FOREIGN KEY (`question_id`) REFERENCES `question` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; --会员回答表 DROP TABLE IF EXISTS `member_answer`; CREATE TABLE `member_answer` ( `id` int(11) NOT NULL AUTO_INCREMENT, `member_id` int(11) NOT NULL, `paper_id` int(11) NOT NULL, `question_id` int(11) NOT NULL, `type` smallint(6) NOT NULL DEFAULT '1', `answer_select` smallint(6) DEFAULT NULL, `answer_text` varchar(512) DEFAULT NULL, `sn` smallint(6) NOT NULL DEFAULT '0', `visible` smallint(6) NOT NULL DEFAULT '1', `enabled` smallint(6) NOT NULL DEFAULT '1', `deleted` smallint(6) NOT NULL DEFAULT '0', `create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `last_modify _time` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
true
0e0b830b745096767d2f88624eb1ea03cd3a1258
SQL
SparkhoundSQL/sql-server-toolbox
/AG - Am I Primary.sql
UTF-8
418
3.078125
3
[]
no_license
--add as step 1 on every AAG-aware job IF NOT EXISTS ( SELECT @@SERVERNAME, * FROM sys.dm_hadr_availability_replica_states rs inner join sys.availability_databases_cluster dc on rs.group_id = dc.group_id WHERE is_local = 1 and role_desc = 'PRIMARY' and dc.database_name = N'whateverdbname' ) BEGIN print 'local SQL instance is not primary, skipping'; throw 50000, 'Do not continue', 1; END
true
c511a55bd40ec68025c48c197b4c4a081d3ac453
SQL
MartinRodriguez93/sql-classicmodels-db
/payments-table/query-payments.sql
UTF-8
871
3.734375
4
[]
no_license
use classicmodels_db; #PAYMENTS TABLE: #Avg payments amount: '32431.645531' select avg(`amount`) from `payments`; #Avg payments amount per customerNumber classified: select `customerNumber`, avg(`amount`) as avg_payment, case when avg(`amount`)>(select avg(`amount`) from `payments`) then "Above avg" else "Below avg" end as `AvgClassification` from `payments` group by `customerNumber` order by avg(`amount`) desc; #Monthly number of payments per year: 2005 only six months select YEAR(`paymentDate`) as paymentYear, MONTH(`paymentDate`) as paymentMonth, COUNT(`paymentDate`) as paymentCount, format(sum(`amount`),0) as paymentTotals, format((sum(`amount`)/COUNT(`paymentDate`)),0) as avg_paymentAmount from `payments` GROUP BY YEAR(`paymentDate`), MONTH(`paymentDate`) ORDER BY YEAR(`paymentDate`);
true
a42d2d01dd28f1d3e4df200300e6c12b76df040a
SQL
evolutivo/corebos
/modules/Cuestionario/PreguntasDetailSchema.sql
UTF-8
500
2.84375
3
[]
no_license
CREATE TABLE `vtiger_cuestiones` ( `cuestionesid` INT( 19 ) NOT NULL AUTO_INCREMENT , `cuestionarioid` INT( 19 ) NOT NULL , `pregunta` VARCHAR(250) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL , `categoria` VARCHAR(250) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL , `subcategoria` VARCHAR(250) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL , `yes_points` FLOAT NOT NULL , `no_points` FLOAT NOT NULL , PRIMARY KEY ( `cuestionesid` ) , INDEX (`cuestionarioid`) ) ENGINE = INNODB
true
6e1b656e5c543f5d6837db90166d099d96e68f1c
SQL
ahmadtechcampus2/ahmad4
/برنامج الامين المحاسبي/Bin/System/vwBp_Sums.sql
WINDOWS-1256
615
2.828125
3
[]
no_license
######################################################### CREATE VIEW vwBp_SumPay AS SELECT [bpPayGUID], SUM([bpPayVal]) AS [bpVal] FROM [vwBp] WHERE BpTYPE <> 4-- GROUP BY [bpPayGUID] ######################################################### CREATE VIEW vwBp_SumDebt AS SELECT [BpDebtGUID], SUM([bpVal]) AS [bpVal] FROM [vwBp] WHERE BpTYPE <> 4-- GROUP BY [bpDebtGUID] ######################################################### #END
true
70e88a4c311146f64d356dd9c08a344422c6e5f0
SQL
indratbg/code
/SPR_RECON_STK_BAL_REK_001_004.sql
UTF-8
10,816
3.21875
3
[]
no_license
create or replace PROCEDURE SPR_RECON_STK_BAL_REK_001_004(P_SUBREK_TYPE VARCHAR2, P_BGN_STK VARCHAR2, P_BGN_CLIENT VARCHAR2, P_END_STK VARCHAR2, P_END_CLIENT VARCHAR2, P_ALL_RECORD VARCHAR2, P_DT_END_DATE DATE, P_DT_BGN_DATE DATE, P_USER_ID VARCHAR2, P_GENERATE_DATE DATE, P_RANDOM_VALUE OUT NUMBER, P_ERROR_MSG OUT VARCHAR2, P_ERROR_CD OUT NUMBER) IS V_ERROR_MSG VARCHAR2(200); V_ERROR_CD NUMBER(10); v_random_value NUMBER(10); V_ERR EXCEPTION; BEGIN v_random_value := abs(dbms_random.random); BEGIN SP_RPT_REMOVE_RAND('R_RECON_STK_BAL_REK_001_004',V_RANDOM_VALUE,V_ERROR_MSG,V_ERROR_CD); EXCEPTION WHEN OTHERS THEN V_ERROR_CD := -10; V_ERROR_MSG := SUBSTR('SP_RPT_REMOVE_RAND '||V_ERROR_MSG||SQLERRM(SQLCODE),1,200); RAISE V_err; END; IF V_ERROR_CD<0 THEN V_ERROR_CD := -20; V_ERROR_MSG := SUBSTR('SP_RPT_REMOVE_RAND'||V_ERROR_MSG,1,200); RAISE V_ERR; END IF; BEGIN INSERT INTO R_RECON_STK_BAL_REK_001_004(SKEY,SUBREK004,CLIENT_CD,SUBREK001,STK_CD, PDATE_THEO,PDATE_ONH,SECU_ONH,NORUT,IP_QTY, KSEI_QTY,SELISIH,USER_ID,GENERATE_DATE,RAND_VALUE,DT_BGN_DATE,DT_END_DATE) SELECT skey, subrek004, client_cd, subrek001,stk_cd, pdate_theo, pdate_onh, secu_onh, norut, DECODE(norut,1, ip_qty, 0) ip_qty, DECODE(norut,1, ksei_qty, 0) ksei_qty, DECODE( ip_qty,ksei_qty,'','SELISIH') Selisih,P_USER_ID, P_GENERATE_DATE, V_RANDOM_VALUE, P_DT_BGN_DATE,P_DT_END_DATE FROM( SELECT skey,subrek001,subrek004, client_cd, stk_cd, pdate_theo, pdate_onh, secu_onh, SUM( DECODE(P_SUBREK_TYPE,'001',secu_onh - acct13, acct13)) over (PARTITION BY skey, stk_cd ORDER BY skey, stk_cd ) AS ip_qty, SUM( ksei) over (PARTITION BY skey, stk_cd ORDER BY skey, stk_cd ) AS ksei_qty, row_number() over (PARTITION BY skey, stk_cd ORDER BY skey, stk_cd, client_cd DESC) norut FROM( SELECT skey, subrek001, subrek004, client_cd, stk_cd, SUM( secu_end_theo) secu_theo, SUM( secu_end_onh) secu_onh, SUM( acct13) acct13, SUM( pdate_beg_theo + pdate_mvmt_theo) pdate_theo, SUM( pdate_beg_onh + pdate_mvmt_onh) pdate_onh, SUM( ksei) ksei FROM( SELECT subrek001,subrek004,skey, x.client_cd, x.stk_cd, x.secu_end_theo, x.secu_end_onh * DECODE(P_SUBREK_TYPE,'004',0,1) secu_end_onh, x.secu_end_bal, x.secu_os_buy, x.secu_os_sell, x.acct13 , x.curr_onh, x.pdate_beg_theo, x.pdate_beg_onh, x.pdate_mvmt_theo, x.pdate_mvmt_onh, x.ksei FROM( SELECT client_cd, stk_cd, SUM(DECODE(trim(gl_acct_cd),'10',1,'12',1,'13',1,'14',1,'51',1,0) * (beg_bal + mvmt)) secu_end_theo, SUM(DECODE(trim(gl_acct_cd),'36',1,'33',0,0) * (beg_bal + mvmt)) secu_end_onh, SUM( beg_bal + mvmt) AS secu_end_bal, SUM(DECODE(trim(gl_acct_cd),'59',-1,'55',-1,0) * (beg_bal + mvmt)) secu_os_buy, SUM(DECODE(trim(gl_acct_cd),'17',1,'21',1,0) * (beg_bal + mvmt)) secu_os_sell, SUM(DECODE(trim(gl_acct_cd),'09',1,0) * (beg_bal + mvmt)) acct13, 0 curr_onh, 0 pdate_beg_theo, 0 pdate_beg_onh, 0 pdate_mvmt_theo, 0 pdate_mvmt_onh, 0 ksei FROM( SELECT client_cd, stk_cd, gl_acct_cd, 0 beg_bal, DECODE(trim(gl_acct_cd), '36',-1, 1) * DECODE(trim(db_cr_flg),'D',1,-1) * (NVL(withdrawn_share_qty,0) + NVL(total_share_qty,0)) mvmt FROM T_STK_MOVEMENT WHERE doc_dt BETWEEN P_DT_BGN_DATE AND P_DT_END_DATE AND client_cd BETWEEN P_BGN_CLIENT AND P_END_CLIENT AND stk_cd BETWEEN P_BGN_STK AND P_END_STK AND gl_acct_cd IS NOT NULL AND doc_stat = '2' UNION ALL SELECT client_cd, stk_cd, gl_acct_cd, DECODE(SIGN(TO_NUMBER(trim(gl_acct_cd)) - 37), 1,-1, 1) * qty AS beg_bal, 0 mvmt FROM T_SECU_BAL WHERE bal_dt = P_DT_BGN_DATE AND client_cd BETWEEN P_BGN_CLIENT AND P_END_CLIENT AND stk_cd BETWEEN P_BGN_STK AND P_END_STK AND gl_acct_cd <> '33' ) GROUP BY client_cd, stk_cd, gl_acct_cd UNION ALL SELECT client_cd, stk_cd, 0 secu_end_theo, 0 secu_end_onh, 0 secu_end_bal, 0 secu_os_buy, 0 secu_os_sell, 0 curr_theo, 0 curr_onh, 0 pdate_beg_theo, 0 pdate_beg_onh, (NVL(DECODE(SUBSTR(doc_num,5,2),'BR',1,'JR',1,'BI',1,'JI',1,'RS',1,'WS',1,0) * DECODE(trim(NVL(gl_acct_cd,'36')),'14',1,'51',1,'12',1,'13',1,'10',1,0) * DECODE(db_cr_flg,'D',1,-1) * (total_share_qty + withdrawn_share_qty),0)) pdate_mvmt_theo, (NVL(DECODE(SUBSTR(doc_num,5,2),'JV',1,'XS',0,'LS',0,'RS',1,'WS',1,'CS',1,0) * DECODE(trim(NVL(gl_acct_cd,'36')),'36',1, 0) * DECODE(db_cr_flg,'D',-1,1) * (total_share_qty + withdrawn_share_qty),0)) pdate_mvmt_onh, 0 ksei FROM T_STK_MOVEMENT WHERE doc_dt BETWEEN P_DT_BGN_DATE AND P_DT_END_DATE AND client_cd BETWEEN P_BGN_CLIENT AND P_END_CLIENT AND stk_cd BETWEEN P_BGN_STK AND P_END_STK AND gl_acct_cd IS NOT NULL AND gl_acct_cd IN ('14','51','10','12','13','33','36') AND doc_stat = '2' AND SUBSTR(doc_num,5,3) <> 'JAD' UNION ALL SELECT client_cd, stk_cd, 0 secu_end_theo, 0 secu_end_onh, 0 secu_end_bal, 0 secu_os_buy, 0 secu_os_sell, 0 curr_theo, 0 curr_onh, beg_bal_qty AS pdate_beg_theo, beg_on_hand + on_lent - on_borrow AS pdate_beg_onh, 0 pdate_mvmt_theo, 0 pdate_mvmt_onh, 0 ksei FROM T_STKBAL WHERE BAL_DT = P_DT_BGN_DATE AND client_cd BETWEEN P_BGN_CLIENT AND P_END_CLIENT AND stk_cd BETWEEN P_BGN_STK AND P_END_STK AND (beg_on_hand <> 0 OR beg_bal_qty <> 0 OR on_lent <> 0 OR on_borrow <> 0) ) x, ( SELECT subrek001,subrek004, DECODE(P_SUBREK_TYPE,'001',subrek001,subrek004) skey, m.client_cd, 0 client004 FROM ( SELECT client_Cd FROM MST_CLIENT WHERE susp_stat = 'N' UNION SELECT client_Cd FROM T_CLIENT_CLOSING WHERE TRUNC(upd_dt) >= P_DT_END_DATE) m, v_client_subrek14 v WHERE m.client_cd BETWEEN P_BGN_CLIENT AND P_END_CLIENT AND (( P_SUBREK_TYPE ='001') OR ( P_SUBREK_TYPE ='004')) AND m.client_cd = v.client_cd AND SUBSTR(NVL(subrek001,'XXXXX0000'),6,4) <> '0000' ) m WHERE x.client_cd = m.client_cd UNION ALL SELECT DECODE(P_SUBREK_TYPE,'001',sub_rek,'-') AS subrek001, DECODE(P_SUBREK_TYPE,'004',sub_rek, '-') AS subrek004, sub_rek AS skey, '%' client_cd, stk_cd, 0 secu_end_theo, 0 secu_end_onh, 0 secu_end_bal, 0 secu_os_buy, 0 secu_os_sell, 0 curr_theo, 0 curr_onh, 0 pdate_beg_theo, 0 pdate_beg_onh, 0 pdate_mvmt_theo, 0 pdate_mvmt_onh, qty AS ksei FROM T_STK_KSEI WHERE SUBSTR(sub_rek, 6,4) <> '0000' AND SUBSTR(sub_rek, 10,3) = P_SUBREK_TYPE AND bal_dt = P_DT_END_DATE AND stk_cd BETWEEN P_BGN_STK AND P_END_STK AND STK_CD <> 'IDR'--17nov2015 UNION SELECT DECODE(P_SUBREK_TYPE,'001',sub_rek,'-') AS subrek001, DECODE(P_SUBREK_TYPE,'004',sub_rek, '-') AS subrek004, sub_rek AS skey, '%' client_cd, stk_cd, 0 secu_end_theo, 0 secu_end_onh, 0 secu_end_bal, 0 secu_os_buy, 0 secu_os_sell, 0 curr_theo, 0 curr_onh, 0 pdate_beg_theo, 0 pdate_beg_onh, 0 pdate_mvmt_theo, 0 pdate_mvmt_onh, qty AS ksei FROM T_STK_KSEI_HIST WHERE bal_dt = P_DT_END_DATE AND SUBSTR(sub_rek, 6,4) <> '0000' AND SUBSTR(sub_rek, 10,3) = P_SUBREK_TYPE AND stk_cd BETWEEN P_BGN_STK AND P_END_STK AND STK_CD <> 'IDR'--17nov2015 ) GROUP BY skey, subrek004,subrek001, client_cd, stk_cd ) WHERE secu_onh <> 0 OR ksei <> 0 OR acct13 <> 0 ) WHERE (client_cd <> '%' OR norut =1) AND ( pdate_onh <> 0 OR secu_onh <> 0 OR NVL(ksei_qty,0) <> 0) AND (NOT (NVL(ip_qty,0) =0 AND NVL(ksei_qty,0) = 0)) AND ((ksei_qty <> ip_qty AND P_ALL_RECORD = 'N') OR P_ALL_RECORD = 'Y') ORDER BY stk_cd, skey, norut; EXCEPTION WHEN OTHERS THEN V_ERROR_CD := -30; V_ERROR_MSG := SUBSTR('INSERT R_RECON_STK_BAL_REK_001_004 '||V_ERROR_MSG||SQLERRM(SQLCODE),1,200); RAISE V_err; END; P_RANDOM_VALUE :=V_RANDOM_VALUE; P_ERROR_CD := 1 ; P_ERROR_MSG := ''; EXCEPTION WHEN V_ERR THEN ROLLBACK; P_ERROR_MSG := V_ERROR_MSG; P_ERROR_CD := V_ERROR_CD; WHEN OTHERS THEN P_ERROR_CD := -1 ; P_ERROR_MSG := SUBSTR(SQLERRM(SQLCODE),1,200); RAISE; END SPR_RECON_STK_BAL_REK_001_004;
true
e280c44c6689bcee39ac12952bb6534266de97eb
SQL
lengjian2014/CityMemory
/data/huanxiang.sql
UTF-8
11,842
3.234375
3
[]
no_license
/* SQLyog v10.2 MySQL - 5.0.67-community-nt : Database - fantasyworld ********************************************************************* */ /*!40101 SET NAMES utf8 */; /*!40101 SET SQL_MODE=''*/; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; CREATE DATABASE /*!32312 IF NOT EXISTS*/`fantasyworld` /*!40100 DEFAULT CHARACTER SET utf8 */; USE `fantasyworld`; /*Table structure for table `category` */ DROP TABLE IF EXISTS `category`; CREATE TABLE `category` ( `id` int(11) NOT NULL auto_increment, `pid` int(11) NOT NULL default '0', `title` varchar(150) NOT NULL, `describe` varchar(250) default '', `type` tinyint(2) default '0', `addtime` int(11) NOT NULL, `updatetime` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*Data for the table `category` */ /*Table structure for table `comment` */ DROP TABLE IF EXISTS `comment`; CREATE TABLE `comment` ( `id` int(11) NOT NULL auto_increment, `uid` int(11) NOT NULL, `isuid` int(11) default '0' COMMENT '被评论人', `type` int(11) default '0' COMMENT '0装备1武器2草药3矿石4其他', `dataid` int(11) default '0' COMMENT '评论的数据', `content` varchar(250) default '', `addtime` int(11) NOT NULL, `updatetime` int(11) NOT NULL, PRIMARY KEY (`id`), KEY `uid` (`uid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='评论表'; /*Data for the table `comment` */ /*Table structure for table `comments` */ DROP TABLE IF EXISTS `comments`; CREATE TABLE `comments` ( `id` int(11) NOT NULL auto_increment, `uid` int(11) NOT NULL, `isuid` int(11) default '0' COMMENT '被评论人', `commentid` int(11) default '0' COMMENT '评论表ID', `content` varchar(250) default '', `addtime` int(11) NOT NULL, `updatetime` int(11) NOT NULL, PRIMARY KEY (`id`), KEY `uid` (`uid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='评论附表'; /*Data for the table `comments` */ /*Table structure for table `equip` */ DROP TABLE IF EXISTS `equip`; CREATE TABLE `equip` ( `id` int(11) NOT NULL auto_increment, `uid` int(11) NOT NULL, `title` varchar(150) NOT NULL, `cid` int(11) default '0' COMMENT '分类id', `position` tinyint(2) default '0' COMMENT '0其他,1套装,2头部...', `belong` tinyint(2) default '0' COMMENT '0其他,1游戏,2小说,3自创', `belongs` varchar(150) default '', `material` varchar(150) default '', `effect` varchar(150) default '' COMMENT '特效', `describe` varchar(250) default '', `state` tinyint(2) default '0' COMMENT '0未审核,1已审核,2未通过', `pic` varchar(250) default '', `addtime` int(11) NOT NULL, `updatetime` int(11) NOT NULL, PRIMARY KEY (`id`), KEY `uid` (`uid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='装备'; /*Data for the table `equip` */ /*Table structure for table `favorites` */ DROP TABLE IF EXISTS `favorites`; CREATE TABLE `favorites` ( `id` int(11) NOT NULL auto_increment, `cuid` int(11) NOT NULL COMMENT '收藏人', `type` tinyint(2) default '0' COMMENT '0装备1武器2草药3矿石4其他', `pid` int(11) NOT NULL default '0', `puid` int(11) NOT NULL default '0' COMMENT '所属人', `addtime` int(11) NOT NULL, `updatetime` int(11) NOT NULL, PRIMARY KEY (`id`), KEY `puid` (`puid`), KEY `cuid` (`cuid`), KEY `pid` (`pid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*Data for the table `favorites` */ /*Table structure for table `gamesfiction` */ DROP TABLE IF EXISTS `gamesfiction`; CREATE TABLE `gamesfiction` ( `id` int(11) NOT NULL auto_increment, `uid` int(11) default '0', `name` varchar(150) default '', `type` tinyint(2) default '0' COMMENT '0其他1游戏2小说', `author` varchar(150) default '', `describe` varchar(250) default '', `addtime` int(11) NOT NULL, `updatetime` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='游戏小说表'; /*Data for the table `gamesfiction` */ /*Table structure for table `herbs` */ DROP TABLE IF EXISTS `herbs`; CREATE TABLE `herbs` ( `id` int(11) NOT NULL auto_increment, `uid` int(11) NOT NULL, `title` varchar(150) NOT NULL, `cid` int(11) default '0' COMMENT '分类id', `belong` tinyint(2) default '0' COMMENT '0其他,1游戏,2小说,3自创', `belongs` varchar(150) default '', `shape` varchar(150) default NULL COMMENT '外形', `efficacy` varchar(150) default NULL COMMENT '功效', `grow` varchar(150) default '' COMMENT '生长环境', `associated` varchar(150) default NULL COMMENT '伴生', `evolution` tinyint(2) default '0' COMMENT '0不可进化1可进化', `evolutionary` varchar(150) default '' COMMENT '进化物', `guardian` varchar(100) default '' COMMENT '守护兽', `action` varchar(150) default '' COMMENT '作用', `parameter` varchar(250) default '' COMMENT '参数', `level` tinyint(2) default '0' COMMENT '级别', `describe` varchar(250) default '', `state` tinyint(2) default '0' COMMENT '0未审核,1已审核,2未通过', `pic` varchar(250) default '', `addtime` int(11) NOT NULL, `updatetime` int(11) NOT NULL, PRIMARY KEY (`id`), KEY `uid` (`uid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='草药'; /*Data for the table `herbs` */ /*Table structure for table `label` */ DROP TABLE IF EXISTS `label`; CREATE TABLE `label` ( `id` int(11) NOT NULL auto_increment, `uid` int(11) NOT NULL default '0' COMMENT '0默认', `name` char(50) default '', `num` smallint(8) default '0' COMMENT '使用数', `addtime` int(11) NOT NULL, `updatetime` int(11) NOT NULL, PRIMARY KEY (`id`), KEY `uid` (`uid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='标签'; /*Data for the table `label` */ /*Table structure for table `ore` */ DROP TABLE IF EXISTS `ore`; CREATE TABLE `ore` ( `id` int(11) NOT NULL auto_increment, `uid` int(11) NOT NULL, `title` varchar(150) NOT NULL, `cid` int(11) default '0' COMMENT '分类id', `belong` tinyint(2) default '0' COMMENT '0其他,1游戏,2小说,3自创', `belongs` varchar(150) default '', `grow` varchar(150) default '' COMMENT '生长环境', `action` varchar(150) default '' COMMENT '作用', `level` tinyint(2) default '0' COMMENT '级别', `describe` varchar(250) default '', `state` tinyint(2) default '0' COMMENT '0未审核,1已审核,2未通过', `pic` varchar(250) default '', `addtime` int(11) NOT NULL, `updatetime` int(11) NOT NULL, PRIMARY KEY (`id`), KEY `uid` (`uid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='矿石'; /*Data for the table `ore` */ /*Table structure for table `scale` */ DROP TABLE IF EXISTS `scale`; CREATE TABLE `scale` ( `id` int(11) NOT NULL auto_increment, `suid` int(11) NOT NULL COMMENT '评分人', `score` tinyint(2) default '0', `type` tinyint(2) default '0' COMMENT '0装备1武器2草药3矿石4其他', `pid` int(11) NOT NULL default '0', `puid` int(11) NOT NULL default '0' COMMENT '所属人', `addtime` int(11) NOT NULL, `updatetime` int(11) NOT NULL, PRIMARY KEY (`id`), KEY `puid` (`puid`), KEY `suid` (`suid`), KEY `pid` (`pid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='等级评分'; /*Data for the table `scale` */ /*Table structure for table `score` */ DROP TABLE IF EXISTS `score`; CREATE TABLE `score` ( `id` int(11) NOT NULL auto_increment, `uid` int(11) NOT NULL, `type` int(11) default '0' COMMENT '0装备1武器2草药3矿石4其他', `dataid` int(11) default '0' COMMENT '数据ID', `score` smallint(8) default '0' COMMENT '积分', `isadd` tinyint(2) default '0' COMMENT '0增加1减少', `addtime` int(11) NOT NULL, `updatetime` int(11) NOT NULL, PRIMARY KEY (`id`), KEY `uid` (`uid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='积分'; /*Data for the table `score` */ /*Table structure for table `top` */ DROP TABLE IF EXISTS `top`; CREATE TABLE `top` ( `id` int(11) NOT NULL auto_increment, `tuid` int(11) NOT NULL COMMENT '置顶人', `type` tinyint(2) default '0' COMMENT '0装备1武器2草药3矿石4其他', `pid` int(11) NOT NULL default '0', `puid` int(11) NOT NULL default '0' COMMENT '所属人', `addtime` int(11) NOT NULL, `updatetime` int(11) NOT NULL, PRIMARY KEY (`id`), KEY `puid` (`puid`), KEY `tuid` (`tuid`), KEY `pid` (`pid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*Data for the table `top` */ /*Table structure for table `user` */ DROP TABLE IF EXISTS `user`; CREATE TABLE `user` ( `uid` int(11) NOT NULL auto_increment, `username` varchar(100) default NULL, `nickname` varchar(150) default NULL, `email` varchar(150) NOT NULL, `password` char(100) NOT NULL, `state` tinyint(2) default '1' COMMENT '1正常,0关闭', `addtime` int(11) NOT NULL, `updatetime` int(11) NOT NULL, PRIMARY KEY (`uid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*Data for the table `user` */ /*Table structure for table `user_expand` */ DROP TABLE IF EXISTS `user_expand`; CREATE TABLE `user_expand` ( `uid` int(11) NOT NULL, `photo` varchar(150) default '' COMMENT '头像', `isactive` tinyint(2) default '0' COMMENT '0未激活1激活', `isstr` char(20) default NULL COMMENT '激活字符串', `sex` tinyint(4) default '0' COMMENT '0女1男', `like` varchar(150) default '' COMMENT '爱好', `score` smallint(8) default '0' COMMENT '积分', `addtime` int(11) NOT NULL, `updatetime` int(11) NOT NULL, UNIQUE KEY `uid` (`uid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*Data for the table `user_expand` */ /*Table structure for table `watch` */ DROP TABLE IF EXISTS `watch`; CREATE TABLE `watch` ( `id` int(11) NOT NULL auto_increment, `wuid` int(11) NOT NULL COMMENT '关注人', `cuid` int(11) NOT NULL COMMENT '被关注人', `addtime` int(11) NOT NULL, `updatetime` int(11) NOT NULL, PRIMARY KEY (`id`), KEY `wuid` (`wuid`), KEY `cuid` (`cuid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='关注'; /*Data for the table `watch` */ /*Table structure for table `weapon` */ DROP TABLE IF EXISTS `weapon`; CREATE TABLE `weapon` ( `id` int(11) NOT NULL auto_increment, `uid` int(11) NOT NULL, `title` varchar(150) NOT NULL, `cid` int(11) default '0' COMMENT '分类id', `belong` tinyint(2) default '0' COMMENT '0其他,1游戏,2小说,3自创', `belongs` varchar(150) default '', `shape` varchar(150) default NULL COMMENT '外形', `usage` varchar(150) default NULL COMMENT '使用方式', `attack` varchar(150) default NULL COMMENT '攻击方式', `material` varchar(150) default '', `parameter` varchar(250) default NULL COMMENT '参数', `people` varchar(150) default NULL COMMENT '使用人', `consume` varchar(150) default NULL COMMENT '消耗', `effect` varchar(150) default '' COMMENT '特效', `describe` varchar(250) default '', `state` tinyint(2) default '0' COMMENT '0未审核,1已审核,2未通过', `pic` varchar(250) default '', `addtime` int(11) NOT NULL, `updatetime` int(11) NOT NULL, PRIMARY KEY (`id`), KEY `uid` (`uid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='武器'; /*Data for the table `weapon` */ /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
true
542719f42b6b0c338e7a67a6728b00a60b57647d
SQL
bellmit/peacetrue-order
/peacetrue-order-service-impl/src/main/resources/schema-order-mysql.sql
UTF-8
2,032
3.671875
4
[]
no_license
drop table if exists `order`; create table `order` ( id bigint unsigned primary key auto_increment comment '主键', code VARCHAR(255) UNIQUE NOT NULL COMMENT '编号', goods_id bigint unsigned NOT NULL COMMENT '商品. 主键', goods_count int unsigned NOT NULL COMMENT '商品件数', shipping_address_id bigint unsigned NOT NULL COMMENT '收货地址. 主键', amount decimal(11, 2) unsigned NOT NULL COMMENT '金额(元). 保留 2 位小数', payment_amount decimal(11, 2) unsigned NOT NULL COMMENT '付款金额(元). 保留 2 位小数', payment_time datetime COMMENT '付款时间', node enum ('SUBMIT','PAY','DELIVER','RECEIVE','CANCEL','REFUND') NOT NULL COMMENT '环节. 下单、付款、发货、收货、取消、退款', tense_state enum ('DOING','SUCCESS','FAILURE') NOT NULL COMMENT '时态. 进行中、成功、失败', final_state enum ('DOING','SUCCESS','FAILURE') NOT NULL COMMENT '终态. 进行中、交易成功、交易失败', remark VARCHAR(255) NOT NULL default '' COMMENT '备注', creator_id bigint unsigned not null comment '创建者. 主键', created_time datetime not null comment '创建时间', modifier_id bigint unsigned not null comment '最近修改者. 主键', modified_time timestamp not null comment '最近修改时间' ) comment '订单';
true
5a7248d26bd0b4a8187213b613b04a02f8faedab
SQL
egpafinhambane/OpenMRS-Scripts
/start_pre_tarv_query.sql
UTF-8
6,629
3.796875
4
[]
no_license
-- Fluxo de registo pre-tarv -- cocept 6263 - Livro 1 value_coded 6259 -- - Livro 2 value_coded 6220 -- paramentros para teste set @startDate := '2010-09-21 00:00:00'; set @endDate := '2018-12-20 00:00:00'; set @location := 212; -- location de uma us de inhambane select * from (select inicio_real.patient_id, pid.identifier as NID, concat(ifnull(pn.given_name,''),' ',ifnull(pn.middle_name,''),' ',ifnull(pn.family_name,'')) as 'NomeCompleto', p.gender, round(datediff( @endDate,p.birthdate)/365) as idade_actual, pad3.county_district as 'Distrito', pad3.address2 as 'PAdministrativo', pad3.address6 as 'Localidade', pad3.address5 as 'Bairro', pad3.address1 as 'PontoReferencia', inicio_real.data_inicio, if(programa_pre_tarv.patient_id is null,'NAO','SIM') registado_progr_pre_tarv, if(programa_tarv.patient_id is null,'NAO','SIM') registado_progr_tarv, if(inicio_tarv.patient_id is null,'NAO','SIM') iniciou_tarv, -- saida.encounter_datetime as data_saida, saida.name as tipo_saida from (select patient_id,data_inicio from (select patient_id,min(data_inicio) data_inicio from -- Inscricao no livro pre-tarv ( select p.patient_id,min(e.encounter_datetime) data_inicio from patient p inner join encounter e on p.patient_id=e.patient_id inner join obs o on o.encounter_id=e.encounter_id where e.voided=0 and o.voided=0 and p.voided=0 and e.encounter_type =32 and o.concept_id=6263 and o.value_coded in (6259,6260) and e.encounter_datetime<=@endDate and e.location_id=@location group by p.patient_id -- union -- Programa tarv cuidado -- select pg.patient_id,date_enrolled data_inicio -- from patient p inner join patient_program pg on p.patient_id=pg.patient_id -- where pg.voided=0 and p.voided=0 and program_id=1 and date_enrolled<=@endDate and location_id=@location ) inicio group by patient_id )inicio1 where data_inicio between @startDate and @endDate )inicio_real inner join person p on p.person_id=inicio_real.patient_id inner join ( select p.patient_id from patient p inner join encounter e on e.patient_id=p.patient_id where e.voided=0 and p.voided=0 and e.encounter_type in (5,7) and e.encounter_datetime<=@endDate and e.location_id = @location union select pg.patient_id from patient p inner join patient_program pg on p.patient_id=pg.patient_id where pg.voided=0 and p.voided=0 and program_id=1 and date_enrolled<=@endDate and location_id=@location )inscricao on inicio_real.patient_id=inscricao.patient_id left join ( select pad1.* from person_address pad1 inner join ( select person_id,min(person_address_id) id from person_address where voided=0 group by person_id ) pad2 where pad1.person_id=pad2.person_id and pad1.person_address_id=pad2.id ) pad3 on pad3.person_id=inicio_real.patient_id left join ( select pn1.* from person_name pn1 inner join ( select person_id,min(person_name_id) id from person_name where voided=0 group by person_id ) pn2 where pn1.person_id=pn2.person_id and pn1.person_name_id=pn2.id ) pn on pn.person_id=inicio_real.patient_id left join ( select pid1.* from patient_identifier pid1 inner join ( select patient_id,min(patient_identifier_id) id from patient_identifier where voided=0 group by patient_id ) pid2 where pid1.patient_id=pid2.patient_id and pid1.patient_identifier_id=pid2.id ) pid on pid.patient_id=inicio_real.patient_id -- INICIOU Programa TARV left join ( Select p.patient_id,min(value_datetime) data_inicio from patient p inner join encounter e on p.patient_id=e.patient_id inner join obs o on e.encounter_id=o.encounter_id where p.voided=0 and e.voided=0 and o.voided=0 and e.encounter_type in (18,6,9) and o.concept_id=1190 and o.value_datetime is not null and o.value_datetime<=@endDate and e.location_id=@location group by p.patient_id) inicio_tarv on inicio_tarv.patient_id=inicio_real.patient_id left join ( select pg.patient_id from patient p inner join patient_program pg on p.patient_id=pg.patient_id where pg.voided=0 and p.voided=0 and program_id=1 and date_enrolled<=@endDate and location_id=@location ) programa_pre_tarv on programa_pre_tarv.patient_id=inicio_real.patient_id left join ( select pg.patient_id from patient p inner join patient_program pg on p.patient_id=pg.patient_id where pg.voided=0 and p.voided=0 and program_id=2 and date_enrolled<=@endDate and location_id=@location ) programa_tarv on programa_tarv.patient_id=inicio_real.patient_id left join ( select t.* from ( select * from ( SELECT pp.patient_program_id,pp.patient_id, ps.state,pws.concept_id as pws_concept_id, pp.date_enrolled,pp.date_completed,ps.start_date, ps.end_date -- ,cn.concept_id, initial,terminal,cn.name FROM hrv.patient_state ps inner join hrv.patient_program pp on pp.patient_program_id = ps.patient_program_id inner join hrv.program_workflow_state pws on pws.program_workflow_state_id = ps.state -- inner join hrv.concept_name cn on cn.concept_id = pws.concept_id and pp.program_id=1 ) pre_tarv left join ( SELECT pg_wfs.concept_id, cn.name FROM hrv.program_workflow pg_wf inner join hrv.program_workflow_state pg_wfs ON pg_wfs.program_workflow_id = pg_wf.program_workflow_id inner join hrv.concept_name cn on cn.concept_id = pg_wfs.concept_id and pg_wf.program_id=1 and name in ('ACTIVO NO PROGRAMA','ABANDONO','TRANSFERIDO PARA','OBITOU', 'TRANSFERIDO DE' ) ) estado_saida on estado_saida.concept_id=pre_tarv.pws_concept_id group by patient_id,estado_saida.concept_id,name order by patient_id, FIELD(name,'OBITOU', 'ABANDONO','TRANSFERIDO PARA','ACTIVO NO PROGRAMA') ) t where t.name <> '' ) saida on saida.patient_id=inicio_real.patient_id )inicios where registado_progr_tarv ='NAO' and tipo_saida <>'ABANDONO' group by patient_id
true
cf9fb6fd961eb332b6c30a953c989778bdcd9cb7
SQL
almitrad/PartyTime
/sql/tables.sql
UTF-8
1,694
3.796875
4
[]
no_license
drop table if exists party; drop table if exists rating; drop table if exists invite_lst; drop table if exists atendee_lst; --drop table if exists invite; drop table if exists frat; drop table if exists user; drop table if exists incidence; create table party ( party_id integer primary key, frat_id integer references frat(frat_id), desc1 text, desc2 text, desc3 text, --invite_id number references invite(invite_id), type varchar(7), status varchar(6), posted_time text, start_time text, end_time text ); create table rating ( rating_id integer primary key, party_id integer references party (party_id), user_id integer references user (user_id), rating decimal, rating_desc text ); create table invite_lst ( party_id integer references party (party_id), user_id number references user(user_id) --invite_id number references invite(invite_id) ); create table atendee_lst ( party_id integer references party (party_id), user_id number references user(user_id) --invite_id number references invite(invite_id) ); /*create table invite ( invite_id number primary key, invite_desc text ); */ create table frat ( frat_id integer primary key , name text , location text , access_code text unique , user_id integer references user(user_id) ); create table user ( user_id integer primary key , status_type varchar (5) , first_name text , last_name text , email text , passwd text , gender char (1) , age integer , frat_id integer references frat(frat_id) ); create table incidence ( incidence_id integer primary key , frat_id integer references frat(frat_id) , party_id integer , incidence_desc text );
true
c2a4cde30c19ebaff0889b3d48d3de0ba7fd4519
SQL
Yasmini19/EkostMalang
/infokost.sql
UTF-8
4,105
3.21875
3
[]
no_license
-- phpMyAdmin SQL Dump -- version 4.5.1 -- http://www.phpmyadmin.net -- -- Host: 127.0.0.1 -- Generation Time: Oct 23, 2018 at 11:39 AM -- Server version: 10.1.19-MariaDB -- PHP Version: 5.6.28 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `infokost` -- -- -------------------------------------------------------- -- -- Table structure for table `booking_kost` -- CREATE TABLE `booking_kost` ( `id_booking` int(11) NOT NULL, `fk_id_user` int(11) NOT NULL, `fk_id_kost` int(5) NOT NULL, `tgl_booking` date NOT NULL, `harga` double NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `booking_kost` -- INSERT INTO `booking_kost` (`id_booking`, `fk_id_user`, `fk_id_kost`, `tgl_booking`, `harga`) VALUES (1, 5, 1, '2018-10-18', 475000), (2, 5, 1, '2018-10-30', 475000), (3, 5, 1, '2018-10-11', 475000), (4, 5, 1, '2018-10-24', 475000); -- -------------------------------------------------------- -- -- Table structure for table `kost` -- CREATE TABLE `kost` ( `id_kost` int(5) NOT NULL, `id_user` int(5) NOT NULL, `nama_kost` varchar(40) NOT NULL, `jenis_kost` varchar(9) NOT NULL, `fasilitas` text NOT NULL, `harga` decimal(8,0) NOT NULL, `alamat_kost` varchar(50) NOT NULL, `stok` int(3) NOT NULL, `foto` varchar(200) NOT NULL, `longitude` varchar(20) NOT NULL, `latitude` varchar(20) NOT NULL, `no_tlp` int(13) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `kost` -- INSERT INTO `kost` (`id_kost`, `id_user`, `nama_kost`, `jenis_kost`, `fasilitas`, `harga`, `alamat_kost`, `stok`, `foto`, `longitude`, `latitude`, `no_tlp`) VALUES (1, 6, 'Kost Bougenville 2', 'laki-laki', 'kamar mandi luar, dapur,almari,tempat tidur', '475000', 'jl simpang remujung no 3 Malang', 10, '9.jpg', '10', '3', 2147483647); -- -------------------------------------------------------- -- -- Table structure for table `tabel_user` -- CREATE TABLE `tabel_user` ( `id_user` int(11) NOT NULL, `nama` varchar(50) NOT NULL, `alamat` varchar(50) NOT NULL, `email` varchar(50) NOT NULL, `no_tlp` varchar(15) NOT NULL, `username` varchar(50) NOT NULL, `password` varchar(200) NOT NULL, `level` enum('admin','pemilik','penyewa','rt') NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `tabel_user` -- INSERT INTO `tabel_user` (`id_user`, `nama`, `alamat`, `email`, `no_tlp`, `username`, `password`, `level`) VALUES (1, 'Admin', 'Malang', 'admin@gmail.com', '09866434', 'admin', '21232f297a57a5a743894a0e4a801fc3', 'admin'), (4, 'Phad', 'Caruban', 'p@gmail.com', '0989865646', 'phad', 'c92514decd7adfb46b43fbddf113ebba', 'pemilik'), (5, 'yasmini', 'malang', 'yasmini45@gmail.com', '087654987456', 'yasmini', '0bad1b8571cd7ad70fb02939a1f9b6fb', 'penyewa'), (6, 'fairus', 'malang', 'fairusafif23@mail.com', '089654787890', 'fairus', 'add20bd46f6dde19c79729450804ba6a', 'pemilik'), (7, 'adam kurnia', 'Malang', 'adamkurnia35@gmail.com', '087789098789', 'adam', '1d7c2923c1684726dc23d2901c4d8157', 'penyewa'); -- -- Indexes for dumped tables -- -- -- Indexes for table `booking_kost` -- ALTER TABLE `booking_kost` ADD PRIMARY KEY (`id_booking`); -- -- Indexes for table `kost` -- ALTER TABLE `kost` ADD PRIMARY KEY (`id_kost`); -- -- Indexes for table `tabel_user` -- ALTER TABLE `tabel_user` ADD PRIMARY KEY (`id_user`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `booking_kost` -- ALTER TABLE `booking_kost` MODIFY `id_booking` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5; -- -- AUTO_INCREMENT for table `kost` -- ALTER TABLE `kost` MODIFY `id_kost` int(5) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT for table `tabel_user` -- ALTER TABLE `tabel_user` MODIFY `id_user` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
true
13011b2c091b17f726b4c4f077acad7fe90d6366
SQL
Chanwit21/Codecamp9_Chanwit
/Back-end/Learn Database/Database/LAB Advanced SQL Statement.sql
UTF-8
1,311
3.828125
4
[]
no_license
USE world; -- LAB1 SELECT `CountryCode` AS `Code` FROM `city`; -- LAB2 SELECT COUNT(*) FROM `country`; SELECT COUNT(DISTINCT `Language`) FROM `countrylanguage`; SELECT COUNT(DISTINCT `District`) FROM `city`; -- LAB3 SELECT SUM(`Percentage`) FROM `countrylanguage` WHERE `Language` = "dutch" ; SELECT SUM(`Percentage`) FROM `countrylanguage` WHERE `Language` = "english" AND `Percentage` > 50; -- LAB4 SELECT AVG(`Percentage`) FROM `countrylanguage` WHERE `Language` = "greek"; SELECT AVG(`Percentage`) FROM `countrylanguage` WHERE `Language` = "spanish" AND `isOfficial` = "T" ; -- LAB5 SELECT AVG(`Percentage`),MAX(`Percentage`) ,MIN(`Percentage`) FROM `countrylanguage` ; SELECT AVG(`Percentage`),MAX(`Percentage`) ,MIN(`Percentage`) FROM `countrylanguage` WHERE `Language` = "german"; -- LAB6 SELECT SUM(`Percentage`) ,`isOfficial`FROM `countrylanguage` GROUP BY `isOfficial`; SELECT SUM(`Percentage`) AS sum,`CountryCode` FROM `countrylanguage` GROUP BY `CountryCode` ORDER BY sum DESC; SELECT SUM(`Percentage`) ,`Language` FROM `countrylanguage` WHERE `Percentage` > 50 GROUP BY `Language` ORDER BY SUM(`Percentage`) LIMIT 10 OFFSET 20; SELECT AVG(`Percentage`) ,`Language` FROM `countrylanguage` GROUP BY `Language` HAVING AVG(`Percentage`) BETWEEN 41 AND 59 ORDER BY AVG(`Percentage`) DESC;
true
7fc395c0559206b88062d91658fe22864c451334
SQL
ceydatekin/QuizGame
/sql/test.sql
UTF-8
7,765
3.34375
3
[]
no_license
-- phpMyAdmin SQL Dump -- version 5.0.4 -- https://www.phpmyadmin.net/ -- -- Anamakine: 127.0.0.1 -- Üretim Zamanı: 17 Haz 2021, 20:01:55 -- Sunucu sürümü: 10.4.17-MariaDB -- PHP Sürümü: 7.3.27 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Veritabanı: `test` -- -- -------------------------------------------------------- -- -- Tablo için tablo yapısı `admin` -- CREATE TABLE `admin` ( `id` int(11) NOT NULL, `mail` varchar(50) NOT NULL, `password` varchar(100) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Tablo döküm verisi `admin` -- INSERT INTO `admin` (`id`, `mail`, `password`) VALUES (1, 'deneme@gmail.com', '123456'); -- -------------------------------------------------------- -- -- Tablo için tablo yapısı `answer` -- CREATE TABLE `answer` ( `soruId` int(11) NOT NULL, `correctAnswer` varchar(11) NOT NULL, `id` int(11) NOT NULL, `quizId` int(12) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Tablo döküm verisi `answer` -- INSERT INTO `answer` (`soruId`, `correctAnswer`, `id`, `quizId`) VALUES (39, 'ch1', 30, 4), (40, 'ch2', 31, 4), (41, 'ch4', 32, 4), (42, 'ch4', 33, 4), (43, 'ch4', 34, 4), (44, 'ch2', 35, 4), (45, 'ch2', 46, 5), (46, 'ch3', 47, 5), (47, 'ch2', 48, 5), (48, 'ch1', 49, 5), (49, 'ch2', 50, 5), (49, 'ch1', 51, 5), (49, 'ch4', 52, 5), (52, 'ch3', 53, 5), (53, 'ch2', 54, 5), (54, 'ch1', 55, 5); -- -------------------------------------------------------- -- -- Tablo için tablo yapısı `course` -- CREATE TABLE `course` ( `courseNo` int(11) NOT NULL, `name` varchar(100) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Tablo döküm verisi `course` -- INSERT INTO `course` (`courseNo`, `name`) VALUES (12, 'cp'); -- -------------------------------------------------------- -- -- Tablo için tablo yapısı `options` -- CREATE TABLE `options` ( `soruId` int(11) NOT NULL, `optionId` int(11) NOT NULL, `ch1` varchar(500) NOT NULL, `quizId` int(11) DEFAULT NULL, `ch2` varchar(150) DEFAULT NULL, `ch3` varchar(150) DEFAULT NULL, `ch4` varchar(150) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Tablo döküm verisi `options` -- INSERT INTO `options` (`soruId`, `optionId`, `ch1`, `quizId`, `ch2`, `ch3`, `ch4`) VALUES (39, 85, 'a1', 4, 'b1', 'c1', 'd1'), (40, 86, 'a2', 4, 'b2', 'c2', 'd2'), (41, 87, 'a3', 4, 'b3', 'c3', 'd3'), (42, 88, 'a4', 4, 'b4', 'c4', 'd4'), (43, 89, 'a5', 4, 'b5', 'c5', 'd5'), (44, 90, 'a6', 4, 'b6', 'c6', 'd6'), (45, 101, 'cevap1', 5, 'cevap2', 'cevap3', 'cevap4'), (46, 102, 'cevap5', 5, 'cevap6', 'cevap7', 'cevap8'), (47, 103, 'cevap9', 5, 'cevap10', 'cevap11', 'cevap12'), (48, 104, 'cevap13', 5, 'cevap14', 'cevap15', 'cevap16'), (49, 105, 'jshjdjd', 5, 'sdafswadf', 'sdfsadf', 'sfdsaefg'), (49, 106, 'sfdaergf', 5, 'sdafergf', 'sadfegrfw', 'sfdaergf'), (49, 107, 'sfdaergf', 5, 'safdergf', 'sdfaertgf', 'e4rwgfer'), (52, 108, 'rewqfgd', 5, '3qgrfwadv', 'q3ewrfad', '3gfr4qevd'), (53, 109, '?kerwuh', 5, 'oe4tuwbj', 'ertgerfg', 'qreg3fv'), (54, 110, 'ewqewrf', 5, '2efwc', '2fewqcd', '2qwfde'); -- -------------------------------------------------------- -- -- Tablo için tablo yapısı `questions` -- CREATE TABLE `questions` ( `quizId` int(11) NOT NULL, `soruId` int(11) NOT NULL, `soru` varchar(500) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Tablo döküm verisi `questions` -- INSERT INTO `questions` (`quizId`, `soruId`, `soru`) VALUES (4, 39, 'soru1'), (4, 40, 'soru2'), (4, 41, 'soru3'), (4, 42, 'soru4'), (4, 43, 'soru5'), (4, 44, 'soru6'), (5, 45, 'Sorular1'), (5, 46, 'sorular2'), (5, 47, 'sorular3'), (5, 48, 'sorular4'), (5, 49, 'sorular5'), (5, 50, 'sorular5'), (5, 51, 'sorular5'), (5, 52, 'sorular8'), (5, 53, 'sorular9'), (5, 54, 'sorular10'), (5, 55, 'Sorular1'), (5, 56, 'sorular2'), (5, 57, 'sorular3'), (5, 58, 'sorular4'), (5, 59, 'sorular5'), (5, 60, 'sorular5'), (5, 61, 'sorular5'), (5, 62, 'sorular8'), (5, 63, 'sorular9'), (5, 64, 'sorular10'); -- -------------------------------------------------------- -- -- Tablo için tablo yapısı `quiz` -- CREATE TABLE `quiz` ( `quizId` int(11) NOT NULL, `courseNo` int(11) NOT NULL, `quizName` varchar(50) NOT NULL, `suresi` int(11) NOT NULL, `sorusayisi` int(11) NOT NULL, `starttime` datetime NOT NULL, `endtime` datetime NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Tablo döküm verisi `quiz` -- INSERT INTO `quiz` (`quizId`, `courseNo`, `quizName`, `suresi`, `sorusayisi`, `starttime`, `endtime`) VALUES (4, 12, 'deneme', 5, 6, '2021-08-19 13:45:00', '2021-08-19 13:45:00'), (5, 12, 'yeni S?nav', 5, 10, '2021-08-19 13:45:00', '2021-08-19 13:45:00'); -- -------------------------------------------------------- -- -- Tablo için tablo yapısı `user` -- CREATE TABLE `user` ( `email` varchar(50) NOT NULL, `password` varchar(100) NOT NULL, `name` varchar(100) NOT NULL, `GSM` decimal(10,0) NOT NULL, `addres` varchar(100) NOT NULL, `class` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Tablo döküm verisi `user` -- INSERT INTO `user` (`email`, `password`, `name`, `GSM`, `addres`, `class`) VALUES ('ogr@gmail.com', '123456', 'cy', '567', 'gbdf', 0); -- -- Dökümü yapılmış tablolar için indeksler -- -- -- Tablo için indeksler `admin` -- ALTER TABLE `admin` ADD PRIMARY KEY (`id`); -- -- Tablo için indeksler `answer` -- ALTER TABLE `answer` ADD PRIMARY KEY (`id`); -- -- Tablo için indeksler `course` -- ALTER TABLE `course` ADD PRIMARY KEY (`courseNo`); -- -- Tablo için indeksler `options` -- ALTER TABLE `options` ADD PRIMARY KEY (`optionId`), ADD KEY `quizId` (`quizId`); -- -- Tablo için indeksler `questions` -- ALTER TABLE `questions` ADD PRIMARY KEY (`soruId`), ADD KEY `quizId` (`quizId`); -- -- Tablo için indeksler `quiz` -- ALTER TABLE `quiz` ADD PRIMARY KEY (`quizId`), ADD KEY `courseNo` (`courseNo`); -- -- Tablo için indeksler `user` -- ALTER TABLE `user` ADD PRIMARY KEY (`email`); -- -- Dökümü yapılmış tablolar için AUTO_INCREMENT değeri -- -- -- Tablo için AUTO_INCREMENT değeri `admin` -- ALTER TABLE `admin` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- Tablo için AUTO_INCREMENT değeri `answer` -- ALTER TABLE `answer` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=56; -- -- Tablo için AUTO_INCREMENT değeri `options` -- ALTER TABLE `options` MODIFY `optionId` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=111; -- -- Tablo için AUTO_INCREMENT değeri `questions` -- ALTER TABLE `questions` MODIFY `soruId` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=65; -- -- Tablo için AUTO_INCREMENT değeri `quiz` -- ALTER TABLE `quiz` MODIFY `quizId` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7; -- -- Dökümü yapılmış tablolar için kısıtlamalar -- -- -- Tablo kısıtlamaları `options` -- ALTER TABLE `options` ADD CONSTRAINT `options_ibfk_1` FOREIGN KEY (`quizId`) REFERENCES `quiz` (`quizId`); -- -- Tablo kısıtlamaları `questions` -- ALTER TABLE `questions` ADD CONSTRAINT `questions_ibfk_1` FOREIGN KEY (`quizId`) REFERENCES `quiz` (`quizId`); -- -- Tablo kısıtlamaları `quiz` -- ALTER TABLE `quiz` ADD CONSTRAINT `quiz_ibfk_1` FOREIGN KEY (`courseNo`) REFERENCES `course` (`courseNo`); COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
true
f75a6480fdce5acd41290e505792839d8dbec92a
SQL
akula-srinu/Customization_Test
/custom/NVWB_INV_Items_Vsat.sql
UTF-8
245,139
2.71875
3
[]
no_license
-- ******************************************************************************* -- FileName: NVWB_INV_Items_Vsat.sql -- -- Date Created: 2020/Apr/06 04:08:14 -- Created By: nemuser -- -- Source: -- - Package: Incremental_Regen -- - Environment: EBSPJD1 -- - NoetixViews Schema: NOETIX_VIEWS -- -- Versions: -- - Oracle EBS: 12.1.3 -- - Oracle DB: 11.2.0 -- - NoetixViews: 6.5.1 -- -- ******************************************************************************* -- output to NVWB_INV_Items_Vsat.lst file @utlspon NVWB_INV_Items_Vsat -- ******************************************************************************* -- Revision Number: 21 -- ******************************************************************************* SET DEFINE OFF; WHENEVER SQLERROR EXIT 904; INSERT INTO n_view_templates( view_label, application_label, description, profile_option, essay, keywords, product_version, include_flag, user_include_flag, export_view, security_code, special_process_code, sort_layer, freeze_flag, created_by, last_updated_by, original_version, current_version ) VALUES ( 'INV_Items_Vsat', 'INV', 'Base View: ViaSat Custom', null, 'This custom inventory view contains ViaSats most frequently used item definition information gathered from multiple tabs of the Oracle Organization Items form. A record will be returned for each combination of Organization Code and Item Number.', null, '%', 'Y', 'Y', 'Y', 'NONE', 'NONE', null, 'N', 'dpagadala', 'nemuser', null, null ); INSERT INTO n_view_query_templates( view_label, query_position, union_minus_intersection, group_by_flag, profile_option, product_version, include_flag, user_include_flag, view_comment, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, null, 'N', null, '%', 'Y', 'Y', null, 'dpagadala', 'dpagadala' ); INSERT INTO n_view_table_templates( view_label, query_position, table_alias, from_clause_position, application_label, table_name, profile_option, product_version, include_flag, user_include_flag, base_table_flag, key_view_label, subquery_flag, created_by, last_updated_by, gen_search_by_col_flag ) VALUES ( 'INV_Items_Vsat', 1.0, 'ITYPE', 5.0, 'NOETIX', 'N_FND_COMMON_LOOKUPS_VL', null, '%', 'Y', 'Y', 'N', null, 'N', 'dpagadala', 'dpagadala', 'N' ); INSERT INTO n_view_table_templates( view_label, query_position, table_alias, from_clause_position, application_label, table_name, profile_option, product_version, include_flag, user_include_flag, base_table_flag, key_view_label, subquery_flag, created_by, last_updated_by, gen_search_by_col_flag ) VALUES ( 'INV_Items_Vsat', 1.0, 'ISTAT', 6.0, 'INV', 'MTL_ITEM_STATUS_TL', null, '%', 'Y', 'Y', 'N', null, 'N', 'dpagadala', 'dpagadala', 'N' ); INSERT INTO n_view_table_templates( view_label, query_position, table_alias, from_clause_position, application_label, table_name, profile_option, product_version, include_flag, user_include_flag, base_table_flag, key_view_label, subquery_flag, created_by, last_updated_by, gen_search_by_col_flag ) VALUES ( 'INV_Items_Vsat', 1.0, 'ITEM', 10.0, 'INV', 'MTL_SYSTEM_ITEMS_B', null, '%', 'Y', 'Y', 'N', null, 'N', 'dpagadala', 'dpagadala', 'N' ); INSERT INTO n_view_table_templates( view_label, query_position, table_alias, from_clause_position, application_label, table_name, profile_option, product_version, include_flag, user_include_flag, base_table_flag, key_view_label, subquery_flag, created_by, last_updated_by, gen_search_by_col_flag ) VALUES ( 'INV_Items_Vsat', 1.0, 'MPARM', 9.0, 'INV', 'MTL_PARAMETERS', null, '%', 'Y', 'Y', 'Y', null, 'N', 'dpagadala', 'dpagadala', 'Y' ); INSERT INTO n_view_table_templates( view_label, query_position, table_alias, from_clause_position, application_label, table_name, profile_option, product_version, include_flag, user_include_flag, base_table_flag, key_view_label, subquery_flag, created_by, last_updated_by, gen_search_by_col_flag ) VALUES ( 'INV_Items_Vsat', 1.0, 'DUOM', 1.0, 'INV', 'MTL_UNITS_OF_MEASURE_TL', null, '%', 'Y', 'Y', 'N', null, 'N', 'dpagadala', 'dpagadala', 'N' ); INSERT INTO n_view_table_templates( view_label, query_position, table_alias, from_clause_position, application_label, table_name, profile_option, product_version, include_flag, user_include_flag, base_table_flag, key_view_label, subquery_flag, created_by, last_updated_by, gen_search_by_col_flag ) VALUES ( 'INV_Items_Vsat', 1.0, 'XMAP', 8.0, 'INV', 'INV_INV_ACL_MAP_BASE', null, '%', 'Y', 'Y', 'Y', null, 'N', 'dpagadala', 'dpagadala', 'Y' ); INSERT INTO n_view_table_templates( view_label, query_position, table_alias, from_clause_position, application_label, table_name, profile_option, product_version, include_flag, user_include_flag, base_table_flag, key_view_label, subquery_flag, created_by, last_updated_by, gen_search_by_col_flag ) VALUES ( 'INV_Items_Vsat', 1.0, 'PSOUR', 4.0, 'NOETIX', 'N_FND_LOOKUPS_VL', null, '%', 'Y', 'Y', 'N', null, 'N', 'dpagadala', 'dpagadala', 'N' ); INSERT INTO n_view_table_templates( view_label, query_position, table_alias, from_clause_position, application_label, table_name, profile_option, product_version, include_flag, user_include_flag, base_table_flag, key_view_label, subquery_flag, created_by, last_updated_by, gen_search_by_col_flag ) VALUES ( 'INV_Items_Vsat', 1.0, 'ITEML', 7.0, 'INV', 'MTL_SYSTEM_ITEMS_TL', null, '%', 'Y', 'Y', 'N', null, 'N', 'dpagadala', 'dpagadala', 'N' ); INSERT INTO n_view_table_templates( view_label, query_position, table_alias, from_clause_position, application_label, table_name, profile_option, product_version, include_flag, user_include_flag, base_table_flag, key_view_label, subquery_flag, created_by, last_updated_by, gen_search_by_col_flag ) VALUES ( 'INV_Items_Vsat', 1.0, 'DLSC', 2.0, 'INV', 'MTL_MATERIAL_STATUSES_TL', null, '%', 'Y', 'Y', 'N', null, 'N', 'dpagadala', 'dpagadala', 'N' ); INSERT INTO n_view_table_templates( view_label, query_position, table_alias, from_clause_position, application_label, table_name, profile_option, product_version, include_flag, user_include_flag, base_table_flag, key_view_label, subquery_flag, created_by, last_updated_by, gen_search_by_col_flag ) VALUES ( 'INV_Items_Vsat', 1.0, 'CTYPE', 3.0, 'NOETIX', 'N_MFG_LOOKUPS_VL', null, '%', 'Y', 'Y', 'N', null, 'N', 'dpagadala', 'dpagadala', 'N' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Items$non_Mrp_Actionable', 'ITEM', 'ATTRIBUTE13', 128.0, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'N', 'dpagadala', 'nemuser' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Inventory_Item_Flag', null, 'NVL (ITEM.INVENTORY_ITEM_FLAG, ''N'')', 20.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatpsdc_Product_Type', null, 'NOETIX_VSAT_UTILITY_PKG.GetProductType (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''14'')', 101.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatpror_Item_Category_Kff', null, 'NOETIX_VSAT_UTILITY_PKG.GetItemCategory (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''11'')', 95.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatpac_Item_Category_Kff', null, 'NOETIX_VSAT_UTILITY_PKG.GetItemCategory (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''13'')', 67.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatpur_Inventory_Class', null, 'NOETIX_VSAT_UTILITY_PKG.GetInvClass (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''2'')', 110.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Experimental_Item_Flag', null, 'NVL (ITEM.ENG_ITEM_FLAG, ''N'')', 15.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Hazard_Class', null, '(SELECT phc.hazard_class FROM PO.PO_HAZARD_CLASSES_TL PHC WHERE ITEM.HAZARD_CLASS_ID = PHC.HAZARD_CLASS_ID AND PHC.LANGUAGE = NOETIX_ENV_PKG.GET_LANGUAGE)', 11.900007, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'nemuser', 'nemuser' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcateng_Item_Category_Kff', null, 'NOETIX_VSAT_UTILITY_PKG.GetItemCategory (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''6'')', 47.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Last_Updated_By', null, '(SELECT fnu.User_Name FROM APPLSYS.FND_USER FNU WHERE ITEM.Last_Updated_by = FNU.User_ID) ', 11.400005, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'nemuser', 'nemuser' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Item_Number', null, 'NVL(ITEM.SEGMENT1,NULL)', 10.1, 'EXPR', 'Custom Field Added by Zensar', null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'nemuser', 'nemuser' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Items$exclude_From_Lead_Time_U', 'ITEM', 'ATTRIBUTE11', 123.0, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'N', 'dpagadala', 'nemuser' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatcost_Item_Category_Kff', null, 'NOETIX_VSAT_UTILITY_PKG.GetItemCategory (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''5'')', 43.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatpgbc_Item_Category_Kff', null, 'NOETIX_VSAT_UTILITY_PKG.GetItemCategory (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''18'')', 75.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatgdsng_Item_Category_Kff', null, 'NOETIX_VSAT_UTILITY_PKG.GetItemCategory (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''21'')', 55.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatgdsng_Product_Line', null, 'NOETIX_VSAT_UTILITY_PKG.GetProductLine (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''21'')', 56.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatplan_Product_Line', null, 'NOETIX_VSAT_UTILITY_PKG.GetProductLine (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''3'')', 88.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatserv_Product_Line', null, 'NOETIX_VSAT_UTILITY_PKG.GetProductLine (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''4'')', 116.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatasset_Product_Type', null, 'NOETIX_VSAT_UTILITY_PKG.GetProductType (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''9'')', 37.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Hazardous_Material_Flag', 'ITEM', 'HAZARDOUS_MATERIAL_FLAG', 11.800007, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'nemuser', 'nemuser' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Items$replenishment_Type', 'ITEM', 'ATTRIBUTE5', 129.0, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'N', 'dpagadala', 'nemuser' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Lot_Divisible_Flag', null, 'NVL (ITEM.LOT_DIVISIBLE_FLAG, ''N'')', 136.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatpror_Inventory_Class', null, 'NOETIX_VSAT_UTILITY_PKG.GetInvClass (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''11'')', 94.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatplan_Inventory_Class', null, 'NOETIX_VSAT_UTILITY_PKG.GetInvClass (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''3'')', 86.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Maximum_Order_Quantity', null, 'NVL (ITEM.MAXIMUM_ORDER_QUANTITY, 0)', 140.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Average_Cost', null, '(SELECT cic.item_cost FROM bom.cst_item_costs cic WHERE 1 = 1 AND item.inventory_item_id = cic.inventory_item_id AND item.organization_id = cic.organization_id AND cic.cost_type_id = 2)', 10.700003, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'nemuser', 'nemuser' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Item_Long_Description', 'ITEML', 'LONG_DESCRIPTION', 29.0, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Item$organization_Id', 'ITEM', 'ORGANIZATION_ID', 24.0, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatpgc_Product_Type', null, 'NOETIX_VSAT_UTILITY_PKG.GetProductType (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''17'')', 81.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Item_Status', 'ISTAT', 'DESCRIPTION', 31.0, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Min_Minmax_Quantity', null, 'NVL (ITEM.MIN_MINMAX_QUANTITY, 0)', 141.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatpur_Product_Type', null, 'NOETIX_VSAT_UTILITY_PKG.GetProductType (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''2'')', 113.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcateng_Inventory_Class', null, 'NOETIX_VSAT_UTILITY_PKG.GetInvClass (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''6'')', 46.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatpcc_Inventory_Class', null, 'NOETIX_VSAT_UTILITY_PKG.GetInvClass (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''19'')', 70.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatpgc_Item_Category_Kff', null, 'NOETIX_VSAT_UTILITY_PKG.GetItemCategory (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''17'')', 79.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatoe_Product_Type', null, 'NOETIX_VSAT_UTILITY_PKG.GetProductType (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''7'')', 65.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Pricing_Source', 'PSOUR', 'MEANING', 154.0, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Planning_Make_Buy_Code', null, '(SELECT PMBC.MEANING FROM NOETIX_VIEWS.N_MFG_LOOKUPS_VL PMBC WHERE ITEM.PLANNING_MAKE_BUY_CODE = PMBC.LOOKUP_CODE(+) AND PMBC.LOOKUP_TYPE(+) = ''MTL_PLANNING_MAKE_BUY'' AND PMBC.LANGUAGE(+) = NOETIX_ENV_PKG.GET_LANGUAGE)', 151.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Forecast_Control', null, '(SELECT FCTL.MEANING FROM NOETIX_VIEWS.N_MFG_LOOKUPS_VL FCTL WHERE ITEM.ATO_FORECAST_CONTROL = FCTL.LOOKUP_CODE(+) AND FCTL.LOOKUP_TYPE(+) = ''MRP_ATO_FORECAST_CONTROL'' AND FCTL.LANGUAGE(+) = NOETIX_ENV_PKG.GET_LANGUAGE)', 18.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Items$country_Of_Origin', 'ITEM', 'ATTRIBUTE4', 121.0, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'N', 'dpagadala', 'nemuser' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcateng_Product_Type', null, 'NOETIX_VSAT_UTILITY_PKG.GetProductType (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''6'')', 49.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatserv_Inventory_Class', null, 'NOETIX_VSAT_UTILITY_PKG.GetInvClass (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''4'')', 114.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatpur_Item_Category_Kff', null, 'NOETIX_VSAT_UTILITY_PKG.GetItemCategory (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''2'')', 111.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Grade_Control_Flag', null, 'NVL (ITEM.GRADE_CONTROL_FLAG, ''N'')', 19.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Location_Control', null, '(CASE ITEM.LOCATION_CONTROL_CODE WHEN 1 THEN ''No Control'' WHEN 2 THEN ''Prespecified'' WHEN 3 THEN ''Dynamic Entry'' ELSE TO_CHAR (ITEM.LOCATION_CONTROL_CODE) END)', 134.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Child_Lot_Control_Flag', null, 'NVL (ITEM.CHILD_LOT_FLAG, ''N'')', 4.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Master_Organization_Name', 'XMAP', 'MASTER_ORGANIZATION_NAME', 138.0, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'End_Assembly_Pegging_Flag', null, 'NVL (ITEM.END_ASSEMBLY_PEGGING_FLAG, ''N'')', 14.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatpgc_Inventory_Class', null, 'NOETIX_VSAT_UTILITY_PKG.GetInvClass (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''17'')', 78.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatasset_Product_Line', null, 'NOETIX_VSAT_UTILITY_PKG.GetProductLine (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''9'')', 36.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Item_Status_Code', 'ISTAT', 'INVENTORY_ITEM_STATUS_CODE', 32.0, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Processing_Lead_Time', 'ITEM', 'FULL_LEAD_TIME', 155.0, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatserv_Item_Category_Kff', null, 'NOETIX_VSAT_UTILITY_PKG.GetItemCategory (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''4'')', 115.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatpgbc_Inventory_Class', null, 'NOETIX_VSAT_UTILITY_PKG.GetInvClass (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''18'')', 74.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatpsdc_Product_Line', null, 'NOETIX_VSAT_UTILITY_PKG.GetProductLine (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''14'')', 100.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Cumulative_Total_Lead_Time', 'ITEM', 'CUMULATIVE_TOTAL_LEAD_TIME', 8.0, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Lot_Status_Enabled_Flag', null, 'NVL (ITEM.LOT_STATUS_ENABLED, ''N'')', 137.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatpla_Product_Line', null, 'NOETIX_VSAT_UTILITY_PKG.GetProductLine (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''8'')', 84.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Shelf_Life_Days', 'ITEM', 'SHELF_LIFE_DAYS', 160.0, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatpla_Product_Type', null, 'NOETIX_VSAT_UTILITY_PKG.GetProductType (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''8'')', 85.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatoe_Product_Line', null, 'NOETIX_VSAT_UTILITY_PKG.GetProductLine (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''7'')', 64.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatptc_Product_Type', null, 'NOETIX_VSAT_UTILITY_PKG.GetProductType (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''16'')', 109.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Inventory_Planning_Method_Code', null, '(SELECT LV.MEANING FROM APPLSYS.FND_LOOKUP_VALUES LV WHERE 1 = 1 AND LV.LANGUAGE = USERENV (''LANG'') AND LV.VIEW_APPLICATION_ID = 700 AND LV.SECURITY_GROUP_ID = 0 AND ITEM.INVENTORY_PLANNING_CODE = LV.LOOKUP_CODE AND LV.LOOKUP_TYPE = ''MTL_MATERIAL_PLANNING'' AND LV.LANGUAGE = NOETIX_ENV_PKG.GET_LANGUAGE)', 165.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Max_Minmax_Quantity', null, 'NVL (ITEM.MAX_MINMAX_QUANTITY, 0)', 139.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatpgc_Product_Line', null, 'NOETIX_VSAT_UTILITY_PKG.GetProductLine (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''17'')', 80.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Items$lead_Time_Updated', 'ITEM', 'ATTRIBUTE9', 126.0, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'N', 'dpagadala', 'nemuser' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatpsic_Product_Type', null, 'NOETIX_VSAT_UTILITY_PKG.GetProductType (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''15'')', 105.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Organization_Code', 'MPARM', 'ORGANIZATION_CODE', 147.0, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Dual_Uom', 'DUOM', 'UNIT_OF_MEASURE_TL', 13.0, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Deviation_Factor_Low', 'ITEM', 'DUAL_UOM_DEVIATION_LOW', 12.0, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Item_Replenishment_Type', null, 'NVL (ITEM.ATTRIBUTE5, NULL)', 30.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatinv_Product_Line', null, 'NOETIX_VSAT_UTILITY_PKG.GetProductLine (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''1'')', 60.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Receiving_Routing_Id', 'ITEM', 'RECEIVING_ROUTING_ID', 156.0, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Inv_Cat_Exists', null, 'NOETIX_VSAT_UTILITY_PKG.INVENTORYCATEGORYEXISTS(ITEM.ORGANIZATION_ID,ITEM.INVENTORY_ITEM_ID)', 10.500002, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'nemuser', 'nemuser' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatinv_Item_Category_Kff', null, 'NOETIX_VSAT_UTILITY_PKG.GetItemCategory (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''1'')', 59.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatpsdc_Item_Category_Kff', null, 'NOETIX_VSAT_UTILITY_PKG.GetItemCategory (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''14'')', 99.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Buyer_Name', null, '(SELECT Buy.FULL_NAME FROM HR.PER_ALL_PEOPLE_F Buy WHERE Buy.PERSON_ID(+) = ITEM.BUYER_ID AND (ITEM.BUYER_ID IS NULL OR TO_CHAR (buy.EFFECTIVE_START_DATE, ''YYYYMMDDHH24MISS'') || TO_CHAR (buy.EFFECTIVE_END_DATE, ''YYYYMMDDHH24MISS'') = (SELECT MAX ( TO_CHAR (HRSUB.EFFECTIVE_START_DATE, ''YYYYMMDDHH24MISS'') || TO_CHAR (HRSUB.EFFECTIVE_END_DATE, ''YYYYMMDDHH24MISS'')) FROM HR.PER_ALL_PEOPLE_F HRSUB WHERE HRSUB.PERSON_ID = ITEM.BUYER_ID)))', 2.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatinv_Product_Type', null, 'NOETIX_VSAT_UTILITY_PKG.GetProductType (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''1'')', 61.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Item_Creation_Date', 'ITEM', 'CREATION_DATE', 26.0, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Items$agile_Access_Restriction', 'ITEM', 'ATTRIBUTE10', 118.0, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'N', 'dpagadala', 'nemuser' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatpur_Category_Desc', null, 'NOETIX_VSAT_UTILITY_PKG.GetItemCategoryDesc(ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''2'') ', 11.200005, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'nemuser', 'nemuser' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatppl_Item_Category_Kff', null, 'NOETIX_VSAT_UTILITY_PKG.GetItemCategory (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''20'')', 91.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Expiration_Action_Interval', 'ITEM', 'EXPIRATION_ACTION_INTERVAL', 16.0, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Items$warranty_Period', 'ITEM', 'ATTRIBUTE2', 132.0, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'N', 'dpagadala', 'nemuser' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatserv_Product_Type', null, 'NOETIX_VSAT_UTILITY_PKG.GetProductType (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''4'')', 117.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Source_Organization_Code', null, '(select MPARM2.ORGANIZATION_CODE from INV.MTL_PARAMETERS MPARM2 where ITEM.SOURCE_ORGANIZATION_ID = MPARM2.ORGANIZATION_ID)', 11.100004, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'nemuser', 'nemuser' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Wip_Supply_Type', null, '(SELECT WST.MEANING FROM NOETIX_VIEWS.N_MFG_LOOKUPS_VL WST WHERE ITEM.WIP_SUPPLY_TYPE = WST.LOOKUP_CODE(+) AND WST.LOOKUP_TYPE(+) = ''WIP_SUPPLY'' AND WST.LANGUAGE(+) = NOETIX_ENV_PKG.GET_LANGUAGE)', 164.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatpac_Inventory_Class', null, 'NOETIX_VSAT_UTILITY_PKG.GetInvClass (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''13'')', 66.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Item_Type', 'ITYPE', 'MEANING', 33.0, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Items$invoice_Uom', 'ITEM', 'ATTRIBUTE15', 124.0, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'N', 'dpagadala', 'nemuser' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatasset_Item_Category_Kff', null, 'NOETIX_VSAT_UTILITY_PKG.GetItemCategory (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''9'')', 35.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Conversions_Type', 'CTYPE', 'MEANING', 5.0, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Replentishment_Source_Type', null, '(SELECT MEANING FROM NOETIX_VIEWS.N_MFG_LOOKUPS_VL REPS WHERE REPS.LOOKUP_TYPE = ''MTL_SOURCE_TYPES'' AND REPS.LOOKUP_CODE = NVL (ITEM.SOURCE_TYPE, MPARM.SOURCE_TYPE) AND REPS.LANGUAGE LIKE NOETIX_ENV_PKG.GET_LANGUAGE AND REPS.SECURITY_GROUP_ID = NOETIX_APPS_SECURITY_PKG.LOOKUP_SECURITY_GROUP ( REPS.LOOKUP_TYPE, REPS.VIEW_APPLICATION_ID))', 157.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Stock_Enabled_Flag', null, 'NVL (ITEM.STOCK_ENABLED_FLAG, ''N'')', 162.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Item_Expiration_Action_Code', 'ITEM', 'EXPIRATION_ACTION_CODE', 28.0, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatinv_Inventory_Class', null, 'NOETIX_VSAT_UTILITY_PKG.GetInvClass (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''1'')', 58.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Variable_Lead_Time', 'ITEM', 'VARIABLE_LEAD_TIME', 11.300005, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'nemuser', 'nemuser' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatgdsn_Product_Line', null, 'NOETIX_VSAT_UTILITY_PKG.GetProductLine (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''12'')', 52.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Items$reserved_Pn', 'ITEM', 'ATTRIBUTE14', 130.0, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'N', 'dpagadala', 'nemuser' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatpla_Inventory_Class', null, 'NOETIX_VSAT_UTILITY_PKG.GetInvClass (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''8'')', 82.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Last_Update_Date', 'ITEM', 'LAST_UPDATE_DATE', 11.500006, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'nemuser', 'nemuser' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Item$non_Mrp_Actionable', 'ITEM', 'ATTRIBUTE13', 23.0, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Default_Lot_Status_Code', 'DLSC', 'STATUS_CODE', 10.0, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatcost_Product_Line', null, 'NOETIX_VSAT_UTILITY_PKG.GetProductLine (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''5'')', 44.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Retest_Interval_Days', 'ITEM', 'RETEST_INTERVAL', 158.0, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Items$item_Net_Weight__Lbs', 'ITEM', 'ATTRIBUTE3', 125.0, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'N', 'dpagadala', 'nemuser' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Inventory_Item_Id', 'ITEM', 'INVENTORY_ITEM_ID', 10.400002, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'nemuser', 'nemuser' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Order_Cost', null, 'NVL (ITEM.ORDER_COST, 0)', 145.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatgdsng_Inventory_Class', null, 'NOETIX_VSAT_UTILITY_PKG.GetInvClass (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''21'')', 54.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Mtl_Transactions_Enabled_Flag', null, 'NVL (ITEM.MTL_TRANSACTIONS_ENABLED_FLAG, ''N'')', 144.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Chart_Of_Accounts_Name', 'XMAP', 'CHART_OF_ACCOUNTS_NAME', 3.0, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Lot_Control_Flag', null, '(CASE ITEM.LOT_CONTROL_CODE WHEN 1 THEN ''N'' ELSE ''Y'' END)', 135.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Items$legacy_System_Item_Numbe', 'ITEM', 'ATTRIBUTE12', 127.0, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'N', 'dpagadala', 'nemuser' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Items', 'ITEM', 'ITEMS', 10.800003, 'ATTR', 'Items DFF.', null, null, null, 'ATTRIBUTE%', 'Items', null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'nemuser', 'nemuser' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatppl_Product_Type', null, 'NOETIX_VSAT_UTILITY_PKG.GetProductType (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''20'')', 93.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Items$comsec', 'ITEM', 'ATTRIBUTE8', 120.0, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'N', 'dpagadala', 'nemuser' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatoe_Item_Category_Kff', null, 'NOETIX_VSAT_UTILITY_PKG.GetItemCategory (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''7'')', 63.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatcont_Item_Category_Kff', null, 'NOETIX_VSAT_UTILITY_PKG.GetItemCategory (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''10'')', 39.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatpgbc_Product_Line', null, 'NOETIX_VSAT_UTILITY_PKG.GetProductLine (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''18'')', 76.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Shelf_Life_Code', null, '(SELECT SLCOD.MEANING FROM NOETIX_VIEWS.N_MFG_LOOKUPS_VL SLCOD WHERE 1=1 AND ITEM.SHELF_LIFE_CODE = SLCOD.LOOKUP_CODE(+) AND SLCOD.LOOKUP_TYPE(+) = ''MTL_SHELF_LIFE'' AND SLCOD.LANGUAGE (+) = NOETIX_ENV_PKG.GET_LANGUAGE AND SLCOD.SECURITY_GROUP_ID(+) = NOETIX_APPS_SECURITY_PKG.LOOKUP_SECURITY_GROUP (SLCOD.LOOKUP_TYPE(+), SLCOD.VIEW_APPLICATION_ID(+)))', 11.7000065, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'nemuser', 'nemuser' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatpcc_Item_Category_Kff', null, 'NOETIX_VSAT_UTILITY_PKG.GetItemCategory (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''19'')', 71.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Deviation_Factor_High', 'ITEM', 'DUAL_UOM_DEVIATION_HIGH', 11.0, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Receipt_Routing', null, '(SELECT FLV.MEANING FROM APPLSYS.FND_LOOKUP_VALUES FLV WHERE 1 = 1 AND ITEM.RECEIVING_ROUTING_ID = FLV.LOOKUP_CODE(+) AND FLV.LOOKUP_TYPE(+) = ''RCV_ROUTING_HEADERS'' AND FLV.LANGUAGE(+) = NOETIX_ENV_PKG.GET_LANGUAGE)', 166.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatpror_Product_Line', null, 'NOETIX_VSAT_UTILITY_PKG.GetProductLine (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''11'')', 96.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatasset_Inventory_Class', null, 'NOETIX_VSAT_UTILITY_PKG.GetInvClass (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''9'')', 34.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Item_Description', 'ITEML', 'DESCRIPTION', 27.0, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatgdsn_Inventory_Class', null, 'NOETIX_VSAT_UTILITY_PKG.GetInvClass (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''12'')', 50.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Serial_Number_Control_Code', null, '(SELECT SNCC.MEANING FROM NOETIX_VIEWS.N_MFG_LOOKUPS_VL SNCC WHERE ITEM.SERIAL_NUMBER_CONTROL_CODE = SNCC.LOOKUP_CODE(+) AND SNCC.LOOKUP_TYPE(+) = ''MTL_SERIAL_NUMBER'' AND SNCC.LANGUAGE(+) = NOETIX_ENV_PKG.GET_LANGUAGE)', 159.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatcont_Product_Type', null, 'NOETIX_VSAT_UTILITY_PKG.GetProductType (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''10'')', 41.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatptc_Product_Line', null, 'NOETIX_VSAT_UTILITY_PKG.GetProductLine (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''16'')', 108.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatptc_Inventory_Class', null, 'NOETIX_VSAT_UTILITY_PKG.GetInvClass (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''16'')', 106.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Cum_Manufacturing_Lead_Time', 'ITEM', 'Cum_Manufacturing_Lead_Time', 7.0, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Build_In_Wip_Flag', null, 'NVL (ITEM.BUILD_IN_WIP_FLAG, ''N'')', 1.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Hazard_Class_Description', null, '(SELECT phc.description FROM PO.PO_HAZARD_CLASSES_TL PHC WHERE ITEM.HAZARD_CLASS_ID = PHC.HAZARD_CLASS_ID AND PHC.LANGUAGE = NOETIX_ENV_PKG.GET_LANGUAGE)', 12.000008, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'nemuser', 'nemuser' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatpcc_Product_Type', null, 'NOETIX_VSAT_UTILITY_PKG.GetProductType (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''19'')', 73.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatpac_Product_Type', null, 'NOETIX_VSAT_UTILITY_PKG.GetProductType (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''13'')', 69.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Unit_Of_Measure', 'ITEM', 'PRIMARY_UNIT_OF_MEASURE', 163.0, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Organization', null, 'TO_CHAR (NULL)', 146.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Item$inventory_Item_Id', 'ITEM', 'INVENTORY_ITEM_ID', 21.0, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Shrinkage_Rate', null, 'NVL (ITEM.SHRINKAGE_RATE, 0)', 161.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatpror_Product_Type', null, 'NOETIX_VSAT_UTILITY_PKG.GetProductType (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''11'')', 97.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatcost_Inventory_Class', null, 'NOETIX_VSAT_UTILITY_PKG.GetInvClass (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''5'')', 42.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatplan_Product_Type', null, 'NOETIX_VSAT_UTILITY_PKG.GetProductType (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''3'')', 89.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatpsic_Inventory_Class', null, 'NOETIX_VSAT_UTILITY_PKG.GetInvClass (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''15'')', 102.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Critical_Component_Flag', null, '(CASE ITEM.CRITICAL_COMPONENT_FLAG WHEN 1 THEN ''Y'' ELSE ''N'' END)', 6.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatpsic_Product_Line', null, 'NOETIX_VSAT_UTILITY_PKG.GetProductLine (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''15'')', 104.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatppl_Product_Line', null, 'NOETIX_VSAT_UTILITY_PKG.GetProductLine (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''20'')', 92.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatoe_Inventory_Class', null, 'NOETIX_VSAT_UTILITY_PKG.GetInvClass (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''7'')', 62.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Planner_Code', 'ITEM', 'PLANNER_CODE', 149.0, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatcont_Inventory_Class', null, 'NOETIX_VSAT_UTILITY_PKG.GetInvClass (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''10'')', 38.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatgdsn_Item_Category_Kff', null, 'NOETIX_VSAT_UTILITY_PKG.GetItemCategory (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''12'')', 51.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Items$bin_Qty', 'ITEM', 'ATTRIBUTE6', 119.0, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'N', 'dpagadala', 'nemuser' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Serial_Starting_Number', 'ITEM', 'START_AUTO_SERIAL_NUMBER', 11.000004, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'nemuser', 'nemuser' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Serial_Starting_Prefix', 'ITEM', 'AUTO_SERIAL_ALPHA_PREFIX', 10.900003, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'nemuser', 'nemuser' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Items$end_Of_Life_Buy', 'ITEM', 'ATTRIBUTE7', 122.0, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'N', 'dpagadala', 'nemuser' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Items$st_Applies', 'ITEM', 'ATTRIBUTE1', 131.0, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'N', 'dpagadala', 'nemuser' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatgdsng_Product_Type', null, 'NOETIX_VSAT_UTILITY_PKG.GetProductType (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''21'')', 57.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Planning_Exception_Set', 'ITEM', 'PLANNING_EXCEPTION_SET', 150.0, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Organization_Name', 'XMAP', 'ORGANIZATION_NAME', 148.0, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatptc_Item_Category_Kff', null, 'NOETIX_VSAT_UTILITY_PKG.GetItemCategory (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''16'')', 107.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatppl_Inventory_Class', null, 'NOETIX_VSAT_UTILITY_PKG.GetInvClass (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''20'')', 90.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatpsic_Item_Category_Kff', null, 'NOETIX_VSAT_UTILITY_PKG.GetItemCategory (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''15'')', 103.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatcont_Product_Line', null, 'NOETIX_VSAT_UTILITY_PKG.GetProductLine (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''10'')', 40.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Track_In_Installed_Base', 'ITEM', 'COMMS_NL_TRACKABLE_FLAG', 10.600002, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'nemuser', 'nemuser' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatgdsn_Product_Type', null, 'NOETIX_VSAT_UTILITY_PKG.GetProductType (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''12'')', 53.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatpcc_Product_Line', null, 'NOETIX_VSAT_UTILITY_PKG.GetProductLine (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''19'')', 72.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatpgbc_Product_Type', null, 'NOETIX_VSAT_UTILITY_PKG.GetProductType (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''18'')', 77.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Organization_Id', 'ITEM', 'ORGANIZATION_ID', 10.300001, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'nemuser', 'nemuser' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Preprocessing_Lead_Time', 'ITEM', 'PREPROCESSING_LEAD_TIME', 153.0, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'List_Price_Per_Unit', null, 'NVL (ITEM.LIST_PRICE_PER_UNIT, 0)', 133.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Item$replenishment_Type', 'ITEM', 'ATTRIBUTE5', 25.0, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Postprocessing_Lead_Time', 'ITEM', 'POSTPROCESSING_LEAD_TIME', 152.0, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Mrp_Planning_Method', null, '(SELECT MRPP.MEANING FROM NOETIX_VIEWS.N_MFG_LOOKUPS_VL MRPP WHERE ITEM.MRP_PLANNING_CODE = MRPP.LOOKUP_CODE(+) AND MRPP.LOOKUP_TYPE(+) = ''MRP_PLANNING_CODE'' AND MRPP.LANGUAGE(+) = NOETIX_ENV_PKG.GET_LANGUAGE)', 143.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatpac_Product_Line', null, 'NOETIX_VSAT_UTILITY_PKG.GetProductLine (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''13'')', 68.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatpur_Product_Line', null, 'NOETIX_VSAT_UTILITY_PKG.GetProductLine (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''2'')', 112.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Item_Revision_Control_Flag', null, 'DECODE(ITEM.REVISION_QTY_CONTROL_CODE, 2, ''Y'', ''N'')', 11.600006, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'nemuser', 'nemuser' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Fixed_Lead_Time', 'ITEM', 'FIXED_LEAD_TIME', 17.0, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatpsdc_Inventory_Class', null, 'NOETIX_VSAT_UTILITY_PKG.GetInvClass (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''14'')', 98.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatplan_Item_Category_Kff', null, 'NOETIX_VSAT_UTILITY_PKG.GetItemCategory (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''3'')', 87.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Purchase_Commod', null, ' (select CAT.SEGMENT6 FROM INV.MTL_CATEGORIES_B CAT, INV.MTL_ITEM_CATEGORIES ICAT WHERE ICAT.INVENTORY_ITEM_ID = ITEM.INVENTORY_ITEM_ID AND ICAT.ORGANIZATION_ID = ITEM.ORGANIZATION_ID AND ICAT.CATEGORY_SET_ID = 8 AND CAT.CATEGORY_ID = ICAT.CATEGORY_ID AND CAT.ENABLED_FLAG = ''Y'' AND NVL (CAT.START_DATE_ACTIVE, SYSDATE - 1) <= SYSDATE AND NVL (CAT.END_DATE_ACTIVE, SYSDATE + 1) >= SYSDATE)', 10.200001, 'EXPR', 'Custom Field Added by Zensar', null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'nemuser', 'nemuser' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Minimum_Order_Quantity', null, 'NVL (ITEM.MINIMUM_ORDER_QUANTITY, 0)', 142.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Item$lead_Time_Updated', 'ITEM', 'ATTRIBUTE9', 22.0, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Default_Grade_Code', 'ITEM', 'DEFAULT_GRADE', 9.0, 'COL', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatcost_Product_Type', null, 'NOETIX_VSAT_UTILITY_PKG.GetProductType (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''5'')', 45.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcatpla_Item_Category_Kff', null, 'NOETIX_VSAT_UTILITY_PKG.GetItemCategory (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''8'')', 83.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_column_templates( view_label, query_position, column_label, table_alias, column_expression, column_position, column_type, description, ref_application_label, ref_table_name, key_view_label, ref_lookup_column_name, ref_description_column_name, ref_lookup_type, id_flex_application_id, id_flex_code, group_by_flag, format_mask, format_class, gen_search_by_col_flag, lov_view_label, lov_column_label, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 'Itemcateng_Product_Line', null, 'NOETIX_VSAT_UTILITY_PKG.GetProductLine (ITEM.INVENTORY_ITEM_ID, ITEM.ORGANIZATION_ID, ''6'')', 48.0, 'EXPR', null, null, null, null, null, null, null, null, null, 'N', null, 'STRING', 'N', null, null, null, '%', 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_where_templates( view_label, query_position, where_clause_position, where_clause, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 1.0, 'AND 1 = 1', null, null, 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_where_templates( view_label, query_position, where_clause_position, where_clause, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 2.0, 'and MPARM.ORGANIZATION_ID = XMAP.ORGANIZATION_ID', null, null, 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_where_templates( view_label, query_position, where_clause_position, where_clause, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 8.0, 'and ISTAT.LANGUAGE (+) = NOETIX_ENV_PKG.GET_LANGUAGE', null, null, 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_where_templates( view_label, query_position, where_clause_position, where_clause, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 11.0, 'and ITYPE.LANGUAGE (+) = NOETIX_ENV_PKG.GET_LANGUAGE', null, null, 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_where_templates( view_label, query_position, where_clause_position, where_clause, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 20.0, 'and CTYPE.SECURITY_GROUP_ID (+) = NOETIX_APPS_SECURITY_PKG.LOOKUP_SECURITY_GROUP ( CTYPE.LOOKUP_TYPE(+), CTYPE.VIEW_APPLICATION_ID(+))', null, null, 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_where_templates( view_label, query_position, where_clause_position, where_clause, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 4.0, 'and ITEML.INVENTORY_ITEM_ID (+) = ITEM.INVENTORY_ITEM_ID', null, null, 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_where_templates( view_label, query_position, where_clause_position, where_clause, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 7.0, 'and ISTAT.INVENTORY_ITEM_STATUS_CODE (+) = ITEM.INVENTORY_ITEM_STATUS_CODE', null, null, 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_where_templates( view_label, query_position, where_clause_position, where_clause, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 10.0, 'and ITYPE.LOOKUP_TYPE (+) = ''ITEM_TYPE''', null, null, 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_where_templates( view_label, query_position, where_clause_position, where_clause, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 22.0, 'and DLSC.LANGUAGE (+) = NOETIX_ENV_PKG.GET_LANGUAGE', null, null, 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_where_templates( view_label, query_position, where_clause_position, where_clause, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 15.0, 'and PSOUR.LANGUAGE (+) = NOETIX_ENV_PKG.GET_LANGUAGE', null, null, 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_where_templates( view_label, query_position, where_clause_position, where_clause, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 18.0, 'and CTYPE.LOOKUP_TYPE (+) = ''MTL_CONVERSION_TYPE''', null, null, 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_where_templates( view_label, query_position, where_clause_position, where_clause, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 5.0, 'and ITEML.ORGANIZATION_ID (+) = ITEM.ORGANIZATION_ID', null, null, 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_where_templates( view_label, query_position, where_clause_position, where_clause, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 23.0, 'and ITEM.SECONDARY_UOM_CODE = DUOM.UOM_CODE (+)', null, null, 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_where_templates( view_label, query_position, where_clause_position, where_clause, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 12.0, 'and ITYPE.SECURITY_GROUP_ID (+) = NOETIX_APPS_SECURITY_PKG.LOOKUP_SECURITY_GROUP ( ITYPE.LOOKUP_TYPE(+), ITYPE.VIEW_APPLICATION_ID(+))', null, null, 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_where_templates( view_label, query_position, where_clause_position, where_clause, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 24.0, 'and DUOM.LANGUAGE (+) = NOETIX_ENV_PKG.GET_LANGUAGE', null, null, 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_where_templates( view_label, query_position, where_clause_position, where_clause, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 19.0, 'and CTYPE.LANGUAGE (+) = NOETIX_ENV_PKG.GET_LANGUAGE', null, null, 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_where_templates( view_label, query_position, where_clause_position, where_clause, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 17.0, 'and ITEM.ALLOWED_UNITS_LOOKUP_CODE = CTYPE.LOOKUP_CODE (+)', null, null, 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_where_templates( view_label, query_position, where_clause_position, where_clause, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 6.0, 'and ITEML.LANGUAGE (+) LIKE NOETIX_ENV_PKG.GET_LANGUAGE', null, null, 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_where_templates( view_label, query_position, where_clause_position, where_clause, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 3.0, 'and ITEM.ORGANIZATION_ID = MPARM.ORGANIZATION_ID', null, null, 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_where_templates( view_label, query_position, where_clause_position, where_clause, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 9.0, 'and ITEM.ITEM_TYPE = ITYPE.LOOKUP_CODE (+)', null, null, 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_where_templates( view_label, query_position, where_clause_position, where_clause, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 21.0, 'and ITEM.DEFAULT_LOT_STATUS_ID = DLSC.STATUS_ID (+)', null, null, 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_where_templates( view_label, query_position, where_clause_position, where_clause, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 16.0, 'and PSOUR.SECURITY_GROUP_ID (+) = NOETIX_APPS_SECURITY_PKG.LOOKUP_SECURITY_GROUP ( PSOUR.LOOKUP_TYPE(+), PSOUR.VIEW_APPLICATION_ID(+))', null, null, 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_where_templates( view_label, query_position, where_clause_position, where_clause, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 14.0, 'and PSOUR.LOOKUP_TYPE (+) = ''INV_PRICING_UOM_TYPE''', null, null, 'Y', 'Y', 'dpagadala', 'dpagadala' ); INSERT INTO n_view_where_templates( view_label, query_position, where_clause_position, where_clause, profile_option, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INV_Items_Vsat', 1.0, 13.0, 'and ITEM.ONT_PRICING_QTY_SOURCE = PSOUR.LOOKUP_CODE (+)', null, null, 'Y', 'Y', 'dpagadala', 'dpagadala' ); COMMIT; SET DEFINE ON; WHENEVER SQLERROR CONTINUE; SET DEFINE OFF; WHENEVER SQLERROR EXIT 904; INSERT INTO n_role_view_templates( role_label, view_label, product_version, include_flag, user_include_flag, created_by, last_updated_by ) VALUES ( 'INVENTORY', 'INV_Items_Vsat', '%', null, null, 'dpagadala', 'dpagadala' ); COMMIT; SET DEFINE ON; WHENEVER SQLERROR CONTINUE; @utlspoff
true
bf3b4519acb0264a1838af57ca06fa441f0af081
SQL
wildgrok/SQLSERVER
/list_tables_and_owners_by_fks.sql
UTF-8
1,630
4.3125
4
[]
no_license
with cte (lvl,object_id,name) as ( select 1 ,tb.object_id --,tb.name as 'name' ,s.name + '.' + tb.name AS name from sys.tables as tb JOIN sys.schemas AS s ON tb.[schema_id] = s.[schema_id] where tb.type_desc = 'USER_TABLE' and tb.is_ms_shipped = 0 union all select cte.lvl + 1 ,t.object_id --,t.name ,s.name + '.' + t.name AS name from cte join sys.tables as t on exists ( select null from sys.foreign_keys as fk where fk.parent_object_id = t.object_id and fk.referenced_object_id = cte.object_id ) and cte.lvl < 30 JOIN sys.schemas AS s ON t.[schema_id] = s.[schema_id] and t.object_id <> cte.object_id where t.type_desc = 'USER_TABLE' and t.is_ms_shipped = 0 ) select name ,max (lvl) as dependency_level from cte group by name order by dependency_level ,name ; /* SELECT s.name + '.' + tb.name AS name FROM sys.tables AS tb INNER JOIN sys.schemas AS s ON tb.[schema_id] = s.[schema_id] */
true
523cf8c5f610ce8ab6dcc48046845a6221a97dae
SQL
gitprojectjockey/DatabaseScripts
/SQL/StoredProcedures/prc_CWI_SetIntegrationFacebookResponse.PRC
UTF-8
4,560
3.390625
3
[]
no_license
/****** Object: StoredProcedure [dbo].[prc_CWI_SetIntegrationFacebookResponse] Script Date: 8/26/2014 1:46:11 PM ******/ IF EXISTS (SELECT * FROM sys.objects WHERE type = 'P' AND name = 'prc_CWI_SetIntegrationFacebookResponse' ) DROP PROCEDURE [dbo].[prc_CWI_SetIntegrationFacebookResponse] GO /****** Object: StoredProcedure [dbo].[prc_CWI_SetIntegrationFacebookResponse] Script Date: 8/26/2014 1:46:11 PM ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO /******************************************************************************************************************************************* * PROCEDURE: prc_CWI_SetIntegrationFacebookResponse * Purpose : This PROC would be called to insert/update a row into [CWI_Integration_Facebook] table * Invoked from : <TBD> * CREATED: Jorge Maldonado * MODIFICATION HISTORY * DATE AUTHOR DESCRIPTION 08/20/2014 ********************************************************************** Execution example : ********************************************************************** ********************************************************************************************************************************************/ CREATE PROCEDURE [dbo].[prc_CWI_SetIntegrationFacebookResponse] -- Add the parameters for the stored procedure here @ClientName VARCHAR(500) ,@ProductName VARCHAR(500) ,@Date DATETIME ,@Impressions INT ,@Clicks Decimal(17,2) ,@Spend Money ,@PageLike INT ,@PageLike28d INT ,@PageLike1d INT ,@CostPerPageLike Money ,@ClickToPageLike Decimal(17,2) ,@PostLike Decimal(17,2) ,@PostLike28d INT ,@PostLike1d INT ,@CostPerPostLike Money ,@ClickToPostLike Decimal(17,2) ,@LeadConversion Decimal(17,2) ,@Visits INT ,@Leads INT ,@Calls INT ,@LeadConversion28dPostClick INT ,@LeadConversion1dPostImpression INT ,@CostPerLeadConversion Money ,@ClicktoLeadConversionPercent Decimal(17,2) ,@LeadConversionValue Decimal(17,2) ,@UserID INT AS BEGIN BEGIN TRY SET NOCOUNT ON; DECLARE @Count INT SELECT @Count=COUNT(1) FROM [dbo].[CWI_Integration_Facebook] WHERE ClientName=@ClientName AND [Date]=@DATE AND ProductName=@ProductName IF @Count=0 BEGIN INSERT INTO [dbo].[CWI_Integration_Facebook] ([ClientName] ,[ProductName] ,[Date] ,[Impressions] ,[Clicks] ,[Spend] ,[PageLike] ,[PageLike28d] ,[PageLike1d] ,[CostPerPageLike] ,[ClickToPageLike] ,[PostLike] ,[PostLike28d] ,[PostLike1d] ,[CostPerPostLike] ,[ClickToPostLike] ,[LeadConversion] ,[Visits] ,[Leads] ,[Calls] ,[LeadConversion28dPostClick] ,[LeadConversion1dPostImpression] ,[CostPerLeadConversion] ,[ClicktoLeadConversionPercent] ,[LeadConversionValue] ,[CreatedBy] ,[CreatedOn] ) VALUES (@ClientName ,@ProductName ,@Date ,@Impressions ,@Clicks ,@Spend ,@PageLike ,@PageLike28d ,@PageLike1d ,@CostPerPageLike ,@ClickToPageLike ,@PostLike ,@PostLike28d ,@PostLike1d ,@CostPerPostLike ,@ClickToPostLike ,@LeadConversion ,@Visits ,@Leads ,@Calls ,@LeadConversion28dPostClick ,@LeadConversion1dPostImpression ,@CostPerLeadConversion ,@ClicktoLeadConversionPercent ,@LeadConversionValue ,@UserID ,getdate() ) END ELSE BEGIN UPDATE [dbo].[CWI_Integration_Facebook] SET Impressions=@Impressions ,Clicks=@Clicks ,Spend=@Spend ,PageLike=@PageLike ,PageLike28d=@PageLike28d ,PageLike1d=@PageLike1d ,CostPerPageLike=@CostPerPageLike ,ClickToPageLike=@ClickToPageLike ,PostLike=@PostLike ,PostLike28d=@PostLike28d ,PostLike1d=@PostLike1d ,CostPerPostLike=@CostPerPostLike ,ClickToPostLike=@ClickToPostLike ,LeadConversion=@LeadConversion ,Visits=@Visits ,Leads=@Leads ,Calls=@Calls ,LeadConversion28dPostClick=@LeadConversion28dPostClick ,LeadConversion1dPostImpression=@LeadConversion1dPostImpression ,CostPerLeadConversion=@CostPerLeadConversion ,ClicktoLeadConversionPercent=@ClicktoLeadConversionPercent ,LeadConversionValue=@LeadConversionValue ,ModifiedOn=GETDATE() ,ModifiedBy=@UserID WHERE ClientName=@ClientName AND [Date]=@DATE AND ProductName=@ProductName END END TRY BEGIN CATCH EXEC prc_CWI_AppRaiseError; THROW; END CATCH END GO
true
5da3b459855f9532428162ee8f9f6196059a943c
SQL
SophiaAvvo/Projects
/2016 Projects/Registered Users/May 2016 Registered Users (Leigh)/20160502_Traffic_query_from_Nadine_RU_db.sql
UTF-8
4,047
3.328125
3
[]
no_license
with first_visit as ( select t.persistent_session_id , t.event_date as first_visit_date from dm.traffic t where t.first_persistent_session = true ) select case when resolved_user_ID is null then 'Not Registered' else 'Registered User' end as Registered_User ,case when lawyer_user_id = true then 'Lawyer' else '' end as Lawyer ,case when t.first_persistent_session = true then 'First Visit' else '' end as First_Visit --,fv.first_visit_date ,case when datediff(t.event_date,fv.first_visit_date) <= 30 then 'New User' else 'Return User' end as User_Status ,dcd.device_category_name ,lpv_page_type ,lpv_medium ,lpv_content ,event_date ,sum(cast(regexp_extract(page_type_summary, '"Total": ([0-9]+)', 1) as int)) as pageviews --, case when regexp_extract(page_type_summary, '"Find A Lawyer": ([0-9]+)', 1) = '0' then 'N' else 'Y' end as PV_Find_A_Lawyer --, case when regexp_extract(page_type_summary, '"Lawyer Dashboard": ([0-9]+)', 1) = '0' then 'N' else 'Y' end as PV_Lawyer_Dashboard --, case when regexp_extract(page_type_summary, '"Lawyer Profile": ([0-9]+)', 1)= '0' then 'N' else 'Y' end as PV_Lawyer_Profile --, case when regexp_extract(page_type_summary, '"Lawyer SERP": ([0-9]+)', 1)= '0' then 'N' else 'Y' end as PV_Lawyer_SERP --, case when regexp_extract(page_type_summary, '"Ask A Lawyer": ([0-9]+)', 1)= '0' then 'N' else 'Y' end as PV_Ask_A_Lawyer --, case when regexp_extract(page_type_summary, '"Free Legal Advice": ([0-9]+)', 1)= '0' then 'N' else 'Y' end as PV_Free_Legal_Advice --, case when regexp_extract(page_type_summary, '"Guide Detail": ([0-9]+)', 1)= '0' then 'N' else 'Y' end as PV_Guide_Detail --, case when regexp_extract(page_type_summary, '"KB SERP": ([0-9]+)', 1)= '0' then 'N' else 'Y' end as PV_KB_SERP --, case when regexp_extract(page_type_summary, '"QA Detail": ([0-9]+)', 1)= '0' then 'N' else 'Y' end as PV_QA_Detail --, case when regexp_extract(page_type_summary, '"Topics": ([0-9]+)', 1)= '0' then 'N' else 'Y' end as PV_Topics --, case when regexp_extract(page_type_summary, '"Homepage": ([0-9]+)', 1)= '0' then 'N' else 'Y' end as PV_Homepage --, case when regexp_extract(page_type_summary, '"Account": ([0-9]+)', 1)= '0' then 'N' else 'Y' end as PV_Account --, case when regexp_extract(page_type_summary, '"Support": ([0-9]+)', 1)= '0' then 'N' else 'Y' end as PV_Support --, case when regexp_extract(page_type_summary, '"Unknown": ([0-9]+)', 1)= '0' then 'N' else 'Y' end as PV_Unknown --,regexp_extract(page_type_summary, '"Total": ([0-9]+)', 1) as PV_Total /*,regexp_extract(page_type_summary, '"Find A Lawyer": ([0-9]+)', 1)as PV_Find_A_Lawyer ,regexp_extract(page_type_summary, '"Lawyer Dashboard": ([0-9]+)', 1) as PV_Lawyer_Dashboard ,regexp_extract(page_type_summary, '"Lawyer Profile": ([0-9]+)', 1) as PV_Lawyer_Profile ,regexp_extract(page_type_summary, '"Lawyer SERP": ([0-9]+)', 1) as PV_Lawyer_SERP ,regexp_extract(page_type_summary, '"Ask A Lawyer": ([0-9]+)', 1) as PV_Ask_A_Lawyer ,regexp_extract(page_type_summary, '"Free Legal Advice": ([0-9]+)', 1) as PV_Free_Legal_Advice ,regexp_extract(page_type_summary, '"Guide Detail": ([0-9]+)', 1) as PV_Guide_Detail ,regexp_extract(page_type_summary, '"KB SERP": ([0-9]+)', 1) as PV_KB_SERP ,regexp_extract(page_type_summary, '"QA Detail": ([0-9]+)', 1) as PV_QA_Detail ,regexp_extract(page_type_summary, '"Topics": ([0-9]+)', 1) as PV_Topics ,regexp_extract(page_type_summary, '"Homepage": ([0-9]+)', 1) as PV_Homepage ,regexp_extract(page_type_summary, '"Account": ([0-9]+)', 1) as PV_Account ,regexp_extract(page_type_summary, '"Support": ([0-9]+)', 1) as PV_Support ,regexp_extract(page_type_summary, '"Unknown": ([0-9]+)', 1) as PV_Unknown */ ,count(distinct t.persistent_session_id) as visitors ,count(session_id) as visits from dm.traffic t left join dm.device_category_dim dcd on dcd.device_category_id = t.lpv_device_category_id left join first_visit fv on fv.persistent_session_id = t.persistent_session_id where t.event_date >= '2014-01-01' group by 1,2,3,4,5,6,7,8,9 --,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23
true
11db18845dc8c0ba1924bbad5ba1b0e462d89160
SQL
subbramanil/course-projects
/AirTravels/src/main/data/DBScript.sql
UTF-8
2,740
3.671875
4
[]
no_license
create table Airport ( Airport_code char(10) not null, Name varchar(45), City varchar(45), State varchar(45), primary key(Airport_code) ); create table flight ( flight_number varchar(10) not null, airline varchar(45), weekdays varchar(45), departure_airport_code varchar(45), scheduled_departure_time time, arrival_airport_code varchar(45), scheduled_arrival_time time,: primary key(flight_number) ); create table airplane_type( Airplane_type_name varchar(45) not null, Max_seats int, Company varchar(45), primary key(airplane_type_name) ); create table airplane( Airplane_id int not null, Total_number_of_seats int, Airplane_type varchar(45), primary key(airplane_id), foreign key(airplane_type) references airplane_type(airplane_type_name) ); create table fare( Flight_number varchar(45) not null, Fare_code varchar(45) not null, Amount decimal(6,2), Restrictions varchar(45), primary key(flight_number, fare_code, Restrictions), foreign key(flight_number) references flight(flight_number) ); create table can_land ( Airplane_type_name varchar(45) not null, Airport_code char(10) not null, primary key(Airplane_type_name, Airport_code), foreign key(Airport_code) references Airport(Airport_code) ); create table flight_instance( Flight_number varchar(10) not null, travelDate DATE not null, Number_of_available_seats int, Airplane_id int not null, Departure_time time, Arrival_time time, primary key(Flight_number,travelDate), foreign key(airplane_id) references airplane(airplane_id) ); create table seat_reservation ( Flight_number varchar(10) not null, travelDate date not null, Seat_number int not null, Customer_name varchar(45), Customer_phone decimal(11), primary key(Flight_number,travelDate,Seat_number), foreign key(flight_number) references flight(flight_number) ); Load data infile 'AIRPORT.csv' into table airlinedb.airport FIELDS TERMINATED BY ',' ENCLOSED BY '"' LINES TERMINATED BY '\n' IGNORE 1 ROWS; Load data infile 'AIRPLANE_TYPE.csv' into table airlinedb.airplane_type FIELDS TERMINATED BY ',' ENCLOSED BY '"' LINES TERMINATED BY '\n' IGNORE 1 ROWS; Load data infile 'AIRPLANE.csv' into table airlinedb.airplane FIELDS TERMINATED BY ',' LINES TERMINATED BY '\r\n' IGNORE 1 ROWS; Load data infile 'CAN_LAND.csv' into table airlinedb.can_land FIELDS TERMINATED BY ',' LINES TERMINATED BY '\r\n' IGNORE 0 ROWS; Load data infile 'fares.csv' into table airlinedb.fare FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n' IGNORE 0 ROWS; Load data infile 'flights.csv' into table airlinedb.flight FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n' IGNORE 0 ROWS; Load data infile 'flight_instance.csv' into table airlinedb.flight_instance FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n' IGNORE 0 ROWS;
true
0e42d05457f75caf4052be23fb20e00a29025458
SQL
michaelvernon254/Booking-App
/db/appointments.sql
UTF-8
1,622
2.90625
3
[]
no_license
-- phpMyAdmin SQL Dump -- version 4.6.6deb5 -- https://www.phpmyadmin.net/ -- -- Host: localhost:3306 -- Generation Time: Jun 28, 2019 at 04:07 PM -- Server version: 10.1.40-MariaDB-0ubuntu0.18.04.1 -- PHP Version: 7.3.6-1+ubuntu18.04.1+deb.sury.org+1 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `appointments` -- -- -------------------------------------------------------- -- -- Table structure for table `booking` -- CREATE TABLE `booking` ( `id` int(255) NOT NULL, `name` varchar(255) NOT NULL, `date` varchar(255) NOT NULL, `service` varchar(255) NOT NULL, `time` varchar(255) NOT NULL, `cost` varchar(255) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data for table `booking` -- INSERT INTO `booking` (`id`, `name`, `date`, `service`, `time`, `cost`) VALUES (2, 'King', '2019-05-27', 'Plaiting', '12.00pm', '1000'); -- -- Indexes for dumped tables -- -- -- Indexes for table `booking` -- ALTER TABLE `booking` ADD PRIMARY KEY (`id`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `booking` -- ALTER TABLE `booking` MODIFY `id` int(255) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
true
6dbcb4c9e725a5937b823bc02710bfd09537f1e7
SQL
fragmentally/rbac
/PhpRbac/database/postgresql.sql
UTF-8
2,198
3.765625
4
[]
no_license
/* * Create Tables */ CREATE SEQUENCE PREFIX_permissions_id_seq; CREATE TABLE IF NOT EXISTS "PREFIX_permissions" ( "ID" integer NOT NULL DEFAULT nextval('PREFIX_permissions_id_seq'), "Lft" integer NOT NULL, "Rght" integer NOT NULL, "Title" character varying(64) NOT NULL, "Description" text NOT NULL, CONSTRAINT pkey_rbac_permissions PRIMARY KEY ("ID") ); ALTER SEQUENCE PREFIX_permissions_id_seq OWNED BY "PREFIX_permissions"."ID"; CREATE TABLE IF NOT EXISTS "PREFIX_rolepermissions" ( "RoleID" integer NOT NULL, "PermissionID" integer NOT NULL, "AssignmentDate" integer NOT NULL, CONSTRAINT pkey_rbac_rolepermissions PRIMARY KEY ("RoleID", "PermissionID") ); CREATE SEQUENCE PREFIX_roles_id_seq; CREATE TABLE IF NOT EXISTS "PREFIX_roles" ( "ID" integer NOT NULL DEFAULT nextval('PREFIX_roles_id_seq'), "Lft" integer NOT NULL, "Rght" integer NOT NULL, "Title" character varying(128) NOT NULL, "Description" text NOT NULL, CONSTRAINT pkey_rbac_roles PRIMARY KEY ("ID") ); ALTER SEQUENCE PREFIX_roles_id_seq OWNED BY "PREFIX_roles"."ID"; CREATE TABLE IF NOT EXISTS "PREFIX_userroles" ( "UserID" integer NOT NULL, "RoleID" integer NOT NULL, "AssignmentDate" integer NOT NULL, CONSTRAINT pkey_rbac_userroles PRIMARY KEY ("UserID", "RoleID") ); CREATE INDEX ix_rbac_permissions_lft ON "PREFIX_permissions" ("Lft"); CREATE INDEX ix_rbac_permissions_rght ON "PREFIX_permissions" ("Rght"); CREATE INDEX ix_rbac_permissions_title ON "PREFIX_permissions" ("Title"); CREATE INDEX ix_rbac_roles_lft ON "PREFIX_roles" ("Lft"); CREATE INDEX ix_rbac_roles_rght ON "PREFIX_roles" ("Rght"); CREATE INDEX ix_rbac_roles_title ON "PREFIX_roles" ("Title"); /* * Insert Initial Table Data */ INSERT INTO "PREFIX_permissions" ("ID", "Lft", "Rght", "Title", "Description") VALUES (1, 0, 1, 'root', 'root'); INSERT INTO "PREFIX_rolepermissions" ("RoleID", "PermissionID", "AssignmentDate") VALUES (1, 1, EXTRACT(EPOCH FROM NOW())::integer); INSERT INTO "PREFIX_roles" ("ID", "Lft", "Rght", "Title", "Description") VALUES (1, 0, 1, 'root', 'root'); INSERT INTO "PREFIX_userroles" ("UserID", "RoleID", "AssignmentDate") VALUES (1, 1, EXTRACT(EPOCH FROM NOW())::integer);
true
d9bc0ff2c53694968c299f1e2b6a5122036305a1
SQL
jbredow/sql-queries
/pricing development/delivery_and_install/archive/delivery_and_install_temp.sql
UTF-8
1,312
3.578125
4
[]
no_license
SELECT DISTINCT TPD.YEARMONTH, SWD.DIVISION_NAME, SWD.REGION_NAME, SWD.ACCOUNT_NAME, SWD.ACCOUNT_NUMBER_NK, SWD.WAREHOUSE_NUM_NAME, IHF.WRITER, ILF.ALT_CODE, ILF.PRODUCT_NUMBER_NK, SUM (ILF.EXT_SALES_AMOUNT) AS EXT_SALES, SUM (ILF.EXT_AVG_COGS_AMOUNT) AS EXT_AVG_COGS, SUM (ILF.EXT_ACTUAL_COGS_AMOUNT) AS EXT_INV_COGS FROM ((DW_FEI.INVOICE_HEADER_FACT IHF INNER JOIN SALES_MART.TIME_PERIOD_DIMENSION TPD ON (IHF.YEARMONTH = TPD.YEARMONTH)) INNER JOIN DW_FEI.INVOICE_LINE_FACT ILF ON (ILF.INVOICE_NUMBER_GK = IHF.INVOICE_NUMBER_GK)) INNER JOIN SALES_MART.SALES_WAREHOUSE_DIM SWD ON (IHF.WAREHOUSE_NUMBER = SWD.WAREHOUSE_NUMBER_NK) WHERE (SWD.ACCOUNT_NUMBER_NK = '2000') AND (ILF.DISCOUNT_GROUP_NK = '9181') AND (TPD.FISCAL_YEAR_TO_DATE = 'YEAR TO DATE') GROUP BY TPD.YEARMONTH, TPD.FISCAL_YEAR_TO_DATE, SWD.DIVISION_NAME, SWD.REGION_NAME, SWD.ACCOUNT_NAME, SWD.ACCOUNT_NUMBER_NK, SWD.WAREHOUSE_NUM_NAME, IHF.WRITER, ILF.ALT_CODE, ILF.PRODUCT_NUMBER_NK, ILF.DISCOUNT_GROUP_NK ;
true
49a9fecb1585238d41e994a5242ba447249ee042
SQL
johnnycastro72/Reto5
/src/Utils/Reto_5.sql
UTF-8
8,275
2.765625
3
[]
no_license
-- MySQL dump 10.13 Distrib 8.0.26, for Win64 (x86_64) -- -- Host: localhost Database: 4chanvideos -- ------------------------------------------------------ -- Server version 8.0.26 /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!50503 SET NAMES utf8 */; /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; /*!40103 SET TIME_ZONE='+00:00' */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; -- -- Table structure for table `contenidos` -- DROP TABLE IF EXISTS `contenidos`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `contenidos` ( `con_id` int NOT NULL, `titulo` varchar(45) NOT NULL, PRIMARY KEY (`con_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `contenidos` -- LOCK TABLES `contenidos` WRITE; /*!40000 ALTER TABLE `contenidos` DISABLE KEYS */; INSERT INTO `contenidos` VALUES (1,'Los Vengadores'),(2,'Interestelar'),(3,'El viaje de Chihiro'),(4,'Parasitos'),(5,'Mas alla de los sueños'),(6,'The walking dead'),(7,'Viaje a las estrellas: la serie original'),(8,'Glow'),(9,'La casa de papel'),(10,'Friends'),(11,'Arrow'),(12,'The big bang theory'),(13,'Vikingos'); /*!40000 ALTER TABLE `contenidos` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `director` -- DROP TABLE IF EXISTS `director`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `director` ( `dir_id` int NOT NULL, `dir_nombre` varchar(45) NOT NULL, `dir_apellido` varchar(45) NOT NULL, `dir_nacionalidad` varchar(45) NOT NULL, PRIMARY KEY (`dir_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `director` -- LOCK TABLES `director` WRITE; /*!40000 ALTER TABLE `director` DISABLE KEYS */; INSERT INTO `director` VALUES (1,'Hayo','Miyazaki','japones'),(2,'Joss','Whedon','estadounidense'),(3,'Christopher','Nolan','estadounidense'),(4,'Bong','Joon-ho','coreano'),(5,'Vincent','Ward','neozelandes'); /*!40000 ALTER TABLE `director` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `pelicula` -- DROP TABLE IF EXISTS `pelicula`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `pelicula` ( `pel_id` int NOT NULL, `pel_con_id` int NOT NULL, `pel_resumen` text NOT NULL, `pel_anio` varchar(4) NOT NULL, `pel_dir_id` int NOT NULL, PRIMARY KEY (`pel_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `pelicula` -- LOCK TABLES `pelicula` WRITE; /*!40000 ALTER TABLE `pelicula` DISABLE KEYS */; INSERT INTO `pelicula` VALUES (1,1,'Pelicula de superheroes basada en Marvel Comics. Nick Fury director de SHIELD recluta a Tony Stark, \nSteve Rogers, Bruce Banner y Thor para forma un equipo y evitar que Loki, \nhermano de Thor, se apodere de la tierra.','2012',2),(2,2,'Pelicula de ciencia ficción, donde la humanidad lucha por sobrevivir. La pelicula cuenta una historia \nde un grupo de astronautas que viajan a traves de un agujero de gusano en busca de un nuevo hogar.','2014',3),(3,3,'Pelicula de animación japonesa. Es la historia de una niña de 12 años, quien se ve atrapada por un \nmundo mágico y sobrenatural, teniendo como misión buscar su libertad y la de sus padres y regresar al mundo real.','2001',1),(4,4,'Pelicula de drama, suspenso y humor negro. Toca temas como las diferencias sociales y vulnerabilidad del espiritu \nhumano.','2019',4),(5,5,'Pelicula de drama, narra una historia trágica de una familia, donde el padre va en busca de sus esposa al mas \nallá para recuperarla.','1998',5); /*!40000 ALTER TABLE `pelicula` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `serie` -- DROP TABLE IF EXISTS `serie`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `serie` ( `ser_id` int NOT NULL, `ser_con_id` int NOT NULL, `ser_temporadas` int NOT NULL, `ser_episodios` int NOT NULL, PRIMARY KEY (`ser_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `serie` -- LOCK TABLES `serie` WRITE; /*!40000 ALTER TABLE `serie` DISABLE KEYS */; INSERT INTO `serie` VALUES (1,6,153,11),(2,7,80,3),(3,8,30,3),(4,9,31,4),(5,10,236,10),(6,11,170,8),(7,12,279,12),(8,13,79,6); /*!40000 ALTER TABLE `serie` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `transmisiones` -- DROP TABLE IF EXISTS `transmisiones`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `transmisiones` ( `tra_usu_alias` varchar(10) NOT NULL, `tra_con_id` int NOT NULL, `tra_fechahora` datetime NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `transmisiones` -- LOCK TABLES `transmisiones` WRITE; /*!40000 ALTER TABLE `transmisiones` DISABLE KEYS */; INSERT INTO `transmisiones` VALUES ('lucky',1,'2017-10-25 20:00:00'),('lucky',4,'2019-03-15 18:30:00'),('lucky',9,'2019-05-20 20:30:00'),('malopez',1,'2018-05-20 20:30:00'),('malopez',9,'2020-01-20 20:30:00'),('diva',2,'2019-05-20 20:30:00'),('diva',3,'2018-06-22 21:30:00'),('diva',6,'2020-03-17 15:30:20'),('dreamer',6,'2020-03-17 15:30:20'),('dreamer',7,'2020-04-10 18:30:20'),('ninja',8,'2020-02-17 20:30:20'),('ninja',9,'2020-02-20 16:30:20'),('ninja',11,'2020-03-27 18:30:20'),('rose',10,'2020-03-20 21:30:20'),('green',2,'2020-01-10 17:30:20'),('green',5,'2020-03-17 18:30:20'); /*!40000 ALTER TABLE `transmisiones` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `usuarios` -- DROP TABLE IF EXISTS `usuarios`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `usuarios` ( `usu_alias` varchar(10) NOT NULL, `usu_nombre` varchar(45) NOT NULL, `usu_apellido` varchar(45) NOT NULL, `usu_email` varchar(45) DEFAULT NULL, `usu_celular` varchar(45) DEFAULT NULL, `usu_password` varchar(45) DEFAULT NULL, `usu_nacimiento` date DEFAULT NULL, PRIMARY KEY (`usu_alias`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `usuarios` -- LOCK TABLES `usuarios` WRITE; /*!40000 ALTER TABLE `usuarios` DISABLE KEYS */; INSERT INTO `usuarios` VALUES ('diva','Ana','Diaz',NULL,NULL,NULL,NULL),('dreamer','Luis','Rojas',NULL,NULL,NULL,NULL),('green','Jorge','Rodriguez',NULL,NULL,NULL,NULL),('lucky','Pedro','Perez',NULL,NULL,NULL,NULL),('malopez','Maria','Lopez',NULL,NULL,NULL,NULL),('neon','Nelson','Ruiz',NULL,NULL,NULL,NULL),('ninja','Andres','Cruz',NULL,'3115678432',NULL,NULL),('rose','Claudia','Mendez',NULL,NULL,NULL,NULL); /*!40000 ALTER TABLE `usuarios` ENABLE KEYS */; UNLOCK TABLES; /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; -- Dump completed on 2021-09-07 19:31:01
true
02ea1f3117c5586434323c99fde05cb759980b04
SQL
LuisHerLe/masterPhp
/aprendiendo-php/bdMySQL/02-diseno/consultas.sql
UTF-8
1,333
4.3125
4
[]
no_license
/* AVG: Sacar la media estadística COUNT: Contar el número de elementos MAX: Valor máximo MIN: Valor mínimo SUM: Sumar todo el contenido del grupo */ # Mostrar la media de las entradas SELECT AVG(n_id) FROM entradas; # Consultas de agrupamiento, se recomienda usar HAVING en vez de WHERE SELECT COUNT(s_titulo) AS 'Títulos', n_categoria_id from entradas GROUP BY n_categoria_id HAVING COUNT(s_titulo) >=2; # Subconsultas SELECT s_nombre FROM usuarios WHERE n_id IN (SELECT n_usuario_id FROM entradas WHERE s_descripcion LIKE '%libro%'); # Sacar todas las entradas de la categoría aventura utilizando su nombre: SELECT s_titulo FROM entradas where n_id = (SELECT n_id FROM categorias WHERE s_nombre = 'Aventura'); # Mostrar las categorías con 3 o más entradas: SELECT * FROM categorias WHERE n_id IN (SELECT n_categoria_id FROM entradas GROUP BY n_categoria_id HAVING COUNT(n_categoria_id)>=2); # Mostrar los usuarios que crearon una entrada un Jueves SELECT * FROM usuarios WHERE n_id IN (SELECT n_usuario_id FROM entradas WHERE DAYOFWEEK(d_fecha)=6); # Seleccionar usuario que tenga más entradas SELECT CONCAT (s_nombre, ' ', s_apellidos) AS 'Usuario con más entradas' FROM usuarios WHERE n_id = (SELECT COUNT(n_id) FROM entradas GROUP BY n_usuario_id ORDER BY COUNT(n_id) DESC LIMIT 1);
true
7df10a9ee92276ea7b327f54ab97ab06f5427215
SQL
hhagyeong/SQL
/Programmers/GROUP BY/입양 시각 구하기(2).sql
UTF-8
328
3.8125
4
[]
no_license
WITH RECURSIVE cte AS (SELECT 0 AS HOUR UNION ALL SELECT HOUR + 1 FROM cte WHERE HOUR < 23 ) SELECT cte.hour, COUNT(ani.ANIMAL_ID) FROM cte LEFT JOIN ANIMAL_OUTS AS ani ON cte.hour = HOUR(ani.DATETIME) GROUP BY cte.hour;
true
c12d34396ccea79424994a39ce62b73249146dcc
SQL
FatimaYacoubi/PureBowl
/Databases/promo.sql
UTF-8
1,862
3.28125
3
[]
no_license
-- phpMyAdmin SQL Dump -- version 5.0.4 -- https://www.phpmyadmin.net/ -- -- Hôte : 127.0.0.1 -- Généré le : ven. 21 mai 2021 à 01:20 -- Version du serveur : 10.4.17-MariaDB -- Version de PHP : 7.4.15 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Base de données : `webprojet` -- -- -------------------------------------------------------- -- -- Structure de la table `promo` -- CREATE TABLE `promo` ( `id_promo` int(11) NOT NULL, `id_pack` int(11) NOT NULL, `pourcentage` int(11) NOT NULL, `date_fin` date NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Déchargement des données de la table `promo` -- INSERT INTO `promo` (`id_promo`, `id_pack`, `pourcentage`, `date_fin`) VALUES (174, 5, 50, '2021-05-11'), (176, 15, 45, '2021-05-30'); -- -- Index pour les tables déchargées -- -- -- Index pour la table `promo` -- ALTER TABLE `promo` ADD PRIMARY KEY (`id_promo`), ADD KEY `fk_offre_promo` (`id_pack`); -- -- AUTO_INCREMENT pour les tables déchargées -- -- -- AUTO_INCREMENT pour la table `promo` -- ALTER TABLE `promo` MODIFY `id_promo` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=177; -- -- Contraintes pour les tables déchargées -- -- -- Contraintes pour la table `promo` -- ALTER TABLE `promo` ADD CONSTRAINT `fk_offre_promo` FOREIGN KEY (`id_pack`) REFERENCES `offre` (`id_offre`) ON DELETE CASCADE ON UPDATE CASCADE; COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
true
4390cd1c2ab30c6d8d5d574094cabecd78390bb4
SQL
Jordanraitt/week_3_day_3_homework
/db/music_collection.sql
UTF-8
275
2.78125
3
[]
no_license
DROP TABLE IF EXISTS albums; DROP TABLE IF EXISTS artists; CREATE TABLE artists( id SERIAL8 PRIMARY KEY, name VARCHAR(255) ); CREATE TABLE albums( id SERIAL8 PRIMARY KEY, artists_id INT8 REFERENCES artists(id), name_title VARCHAR(255), genre VARCHAR(255) );
true
16df32446e12382760a6fda57083d871f3aa9955
SQL
HTTPArchive/almanac.httparchive.org
/sql/2022/structured-data/jsonld_depth_percentiles.sql
UTF-8
2,113
4.125
4
[ "Apache-2.0" ]
permissive
# standardSQL # Find the most nested entity in a JSON-LD document CREATE TEMP FUNCTION getJSONLDEntitiesRelationships(rendered STRING) RETURNS ARRAY<STRUCT<_from STRING, relationship STRING, _to STRING, depth NUMERIC>> LANGUAGE js AS """ try { const types = new Map(); const loadTypes = (o) => { if (Array.isArray(o)) { o.forEach(loadTypes); } else if (o instanceof Object) { if (o['@id'] && o['@type']) { types.set(o['@id'], o['@type']); } Object.values(o).forEach(loadTypes); } } const arrayify = (value) => Array.isArray(value) ? value : [value]; const getEntitiesAndRelationships = (o, _from, relationship, depth = 0) => { if (Array.isArray(o)) return o.map(value => getEntitiesAndRelationships(value, _from, relationship, depth)).flat(); if (o instanceof Object) { const type = types.get(o['@id']) || o['@type']; return [{_from, relationship, _to: type, depth}, ...Object.entries(o).map(([k, value]) => getEntitiesAndRelationships(value, type, k, depth + 1))].flat(); } return []; } rendered = JSON.parse(rendered); const jsonld_scripts = rendered.jsonld_scripts.map(JSON.parse); loadTypes(jsonld_scripts); return jsonld_scripts.map(jsonld_script => getEntitiesAndRelationships(jsonld_script, undefined, undefined, 0)).flat(); } catch (e) { return []; } """; WITH rendered_data AS ( SELECT _TABLE_SUFFIX AS client, url, getJSONLDEntitiesRelationships(JSON_EXTRACT(JSON_VALUE(JSON_EXTRACT(payload, '$._structured-data')), '$.structured_data.rendered')) AS jsonld_entities_relationships FROM `httparchive.pages.2022_06_01_*` ) SELECT client, percentile, APPROX_QUANTILES(jsonld_entity_relationship.depth, 1000)[OFFSET(percentile * 10)] AS depth, ARRAY_TO_STRING(ARRAY_AGG(DISTINCT url LIMIT 5), ' ') AS sample_urls FROM rendered_data, UNNEST(jsonld_entities_relationships) AS jsonld_entity_relationship, UNNEST([10, 25, 50, 75, 90, 100]) AS percentile GROUP BY client, percentile ORDER BY client, percentile
true
88eefad7d79ff59e91d96cbd0b4391032e3960ee
SQL
JJBT/sql_project
/scripts/create.sql
UTF-8
1,693
3.671875
4
[]
no_license
CREATE DATABASE IF NOT EXISTS project; USE project; CREATE TABLE if not exists Team ( id INT NOT NULL PRIMARY KEY AUTO_INCREMENT, division INT, plays INT, points INT ); CREATE TABLE if not exists Inventory ( id INT NOT NULL PRIMARY KEY AUTO_INCREMENT, name NCHAR(45) ); CREATE TABLE if not exists Coach ( id INT NOT NULL PRIMARY KEY AUTO_INCREMENT, name NCHAR(45), age INT, xp INT, type ENUM('regular', 'manager', 'goalkeeper', 'fitness'), idTeam INT, constraint fk_team_coach FOREIGN KEY(idTeam) references Team(id) ); CREATE TABLE if not exists Player ( id INT NOT NULL PRIMARY KEY AUTO_INCREMENT, name NCHAR(45), age INT, transfer_cost INT, position ENUM('goalkeeper', 'back', 'midfielder', 'forward'), idTeam INT, constraint fk_team_player FOREIGN KEY(idTeam) references Team(id) ); CREATE TABLE if not exists Doctor ( id INT NOT NULL PRIMARY KEY AUTO_INCREMENT, name NCHAR(45), age INT, spec NCHAR(45) ); CREATE TABLE if not exists Disease ( id INT NOT NULL PRIMARY KEY AUTO_INCREMENT, idPlayer INT NOT NULL, idDoctor INT NOT NULL, type NCHAR(45), settlement DATE, discharge DATE, constraint fk_player FOREIGN KEY(idPlayer) references Player(id), constraint fk_doctor FOREIGN KEY(idDoctor) references Doctor(id) ); CREATE TABLE if not exists Team_Inventory ( id INT NOT NULL PRIMARY KEY AUTO_INCREMENT, idTeam INT NOT NULL, idInventory INT NOT NULL, start_time DATE, end_time DATE, constraint fk_pl_inv_inv FOREIGN KEY(idInventory) references Inventory(id), constraint fk_pl_inv_pl FOREIGN KEY(idTeam) references Team(id) );
true
edf859df181579151f9fb5c471abdbc0af22483e
SQL
joelasm/proyecto
/ProyectoCoppel/SQLQuery Proyecto coppel.sql
UTF-8
1,303
3.46875
3
[]
no_license
-----------Crear Base de datos create database bdProyecto ----------------USar base de datos use bdProyecto ---------------------tabla usuario create table tblUsuarios ( UsuarioId int identity (1,1) primary key not null, Clave varchar(3) not null, Nombre varchar(20) null, Apellido varchar(20) null, Fecha_N date null, Estatus Bit null ) ------------------------Tabla de Comentarios Create table tblComentarios ( ComentarioId int identity(1,1) primary key not null, Descripcion varchar(50) null, UsuarioId int foreign key (UsuarioId) references tblUsuarios (UsuarioId), Estatus bit null ) --------------Tabla de proveedores Create table tblProveedores ( ProveedorId int identity(1,1) primary key not null, RFC varchar(13) null check (RFC like '[A-Z][A-Z][A-Z][A-Z][0-9][0-9][0-9][0-9][0-9][0-9]%'), nombre varchar(20) null, Estatus bit null ) -------------Table de prodcutos create table tblProductos ( ProductoID int identity(1,1) primary key not null, Descripcion varchar (20) null, Estatus bit ) --------------- Tabla de registros proveedor_producto create table tblProveedorProducto ( ProveedorId int foreign key (ProveedorId) references tblProveedores (ProveedorId), ProductoId int foreign key (ProductoId) references tblProductos (ProductoId) )
true
0a3bb82b881f55b9fcb7ebe0ac2d9e0980e5bedb
SQL
danmaq/IllustBot
/sql/image/ddl.sql
UTF-8
303
2.703125
3
[ "MIT" ]
permissive
CREATE TABLE IF NOT EXISTS IB01_IMAGE_STORE ( ADDED_ID INTEGER UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY, HASH INTEGER UNSIGNED NOT NULL COMMENT '画像のハッシュ', BODY MEDIUMBLOB NOT NULL COMMENT '画像本体', UNIQUE KEY (HASH) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='画像';
true
e470b9f3c24513584f0ab99039ac3ae3d8fa5002
SQL
rakarhdyn/simluhtanci4
/simluhdb.sql
UTF-8
1,882
3.015625
3
[ "MIT" ]
permissive
-- phpMyAdmin SQL Dump -- version 5.1.1 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Waktu pembuatan: 10 Agu 2021 pada 05.05 -- Versi server: 10.4.20-MariaDB -- Versi PHP: 8.0.8 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `simluhdb` -- -- -------------------------------------------------------- -- -- Struktur dari tabel `penyuluh` -- CREATE TABLE `penyuluh` ( `id` int(11) NOT NULL, `nama` varchar(255) NOT NULL, `alamat` varchar(255) NOT NULL, `telpon` varchar(12) NOT NULL, `created_at` datetime DEFAULT NULL, `updated_at` datetime DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `penyuluh` -- INSERT INTO `penyuluh` (`id`, `nama`, `alamat`, `telpon`, `created_at`, `updated_at`) VALUES (1, 'Rudi Salam', 'Jl Kutilang no 21, Depok', '08126666688', '2021-08-08 17:10:52', '2021-08-08 17:10:52'), (2, 'Greysia Polli', 'Jl. Mentawai No 22, Sulawesi Tengah', '0811222333', '2021-08-08 17:11:42', '2021-08-08 17:11:42'), (3, 'Kevin Sanjaya', 'Jl. Barito No 44', '0822332233', '2021-08-08 17:11:42', '2021-08-08 17:11:42'); -- -- Indexes for dumped tables -- -- -- Indeks untuk tabel `penyuluh` -- ALTER TABLE `penyuluh` ADD PRIMARY KEY (`id`); -- -- AUTO_INCREMENT untuk tabel yang dibuang -- -- -- AUTO_INCREMENT untuk tabel `penyuluh` -- ALTER TABLE `penyuluh` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
true
15eaf874a52146bec86826030ad3c860ad1b1ac6
SQL
elai296/epic_meal_planner
/MealPlan (6).sql
UTF-8
250,247
3
3
[ "MIT" ]
permissive
-- phpMyAdmin SQL Dump -- version 4.6.6deb5 -- https://www.phpmyadmin.net/ -- -- Host: localhost:3306 -- Generation Time: Dec 12, 2019 at 09:14 PM -- Server version: 5.7.27-0ubuntu0.18.04.1 -- PHP Version: 7.2.19-0ubuntu0.18.04.1 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `MealPlan` -- -- -------------------------------------------------------- -- -- Table structure for table `calendar` -- DROP TABLE IF EXISTS `calendar`; CREATE TABLE `calendar` ( `id` mediumint(8) UNSIGNED NOT NULL, `date` date NOT NULL, `meal_time` enum('breakfast','lunch','dinner') COLLATE utf8_unicode_ci NOT NULL, `recipe_id` mediumint(9) UNSIGNED DEFAULT NULL, `recipe_label` text COLLATE utf8_unicode_ci NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Dumping data for table `calendar` -- INSERT INTO `calendar` (`id`, `date`, `meal_time`, `recipe_id`, `recipe_label`) VALUES (1, '2019-09-08', 'lunch', 1, ''), (2, '2019-09-10', 'breakfast', 2, ''), (3, '2019-09-10', 'dinner', 3, ''), (4, '2019-09-17', 'breakfast', 280, 'Paleo Sriracha '), (5, '2019-09-20', 'dinner', 280, 'Paleo Sriracha '), (6, '2019-11-17', 'breakfast', 280, 'Paleo Sriracha '), (7, '2019-11-20', 'lunch', 280, 'Paleo Sriracha '), (8, '2019-11-18', 'breakfast', 294, 'Steak'), (9, '2019-11-17', 'lunch', 2, 'Steak'), (10, '2019-11-18', 'lunch', 149, 'Crispy Pan-Frie'), (11, '2019-11-20', 'breakfast', 394, 'Spinach Gunge'), (12, '2019-11-22', 'lunch', 394, 'Spinach Gunge'), (13, '2019-11-22', 'breakfast', 819, 'Baked Goldfish®'), (14, '2019-11-22', 'dinner', 779, 'Togarashi Popco'), (15, '2019-11-20', 'dinner', 779, 'Togarashi Popco'), (16, '2019-11-25', 'breakfast', 411, 'Pinky Pasta rec'), (17, '2019-11-26', 'dinner', 411, 'Pinky Pasta rec'), (18, '2019-11-26', 'breakfast', NULL, 'Chicken'), (19, '2019-12-05', 'breakfast', NULL, 'Fish'), (20, '2019-11-27', 'breakfast', 410, 'Pasta Frittata '), (21, '2019-11-27', 'lunch', 410, 'Pasta Frittata '), (22, '2019-11-25', 'lunch', 410, 'Pasta Frittata '), (23, '2019-11-26', 'lunch', 410, 'Pasta Frittata '), (24, '2019-11-24', 'dinner', 410, 'Pasta Frittata '), (25, '2019-11-25', 'dinner', 410, 'Pasta Frittata '), (26, '2019-11-24', 'breakfast', NULL, 'chicken wings'), (27, '2019-12-03', 'lunch', NULL, 'Pasta dish'); -- -------------------------------------------------------- -- -- Table structure for table `favorites` -- DROP TABLE IF EXISTS `favorites`; CREATE TABLE `favorites` ( `id` mediumint(8) UNSIGNED NOT NULL, `recipe_id` mediumint(8) UNSIGNED NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `recipe` -- DROP TABLE IF EXISTS `recipe`; CREATE TABLE `recipe` ( `id` mediumint(8) UNSIGNED NOT NULL, `directions_url` varchar(150) COLLATE utf8_unicode_ci NOT NULL, `image_url` varchar(200) COLLATE utf8_unicode_ci NOT NULL, `serving_size` tinyint(4) NOT NULL, `label` varchar(30) COLLATE utf8_unicode_ci NOT NULL, `cooking_time` mediumint(9) NOT NULL, `categories` enum('favorites','gluten-free','vegan','keto','paleo','dairy-free') COLLATE utf8_unicode_ci DEFAULT NULL, `favorites` tinyint(1) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Dumping data for table `recipe` -- INSERT INTO `recipe` (`id`, `directions_url`, `image_url`, `serving_size`, `label`, `cooking_time`, `categories`, `favorites`) VALUES (1, 'http://www.seriouseats.com/recipes/2014/04/vegan-chocolate-coffee-muffins.html', 'https://www.edamam.com/web-img/cd0/cd0f763c1566ec5a0f0ae099ecebc5a7.jpg', 12, 'Vegan Chocolate-Coffee Muffins', 35, 'vegan', 0), (2, 'http://www.foodrepublic.com/recipes/classic-american-fare-now-in-vegan/', 'https://www.edamam.com/web-img/bee/beea3f58e66dbe7ab6e6923fdb4ba670', 4, 'Classic American Fare, Now In ', 30, 'vegan', 0), (3, 'https://food52.com/recipes/10685-test', 'https://www.edamam.com/web-img/63b/63b0846892401dc1063102db7970fd9a.jpg', 12, 'Snickerdoodles (vegan)', 38, 'vegan', 0), (4, 'http://honestcooking.com/dairy-free-vegan-nachos-recipe/', 'https://www.edamam.com/web-img/ed3/ed32750be9cc9b518e464a812c533f59.jpg', 4, 'Vegan Nachos', 15, 'vegan', 0), (5, 'http://www.chowhound.com/recipes/vegan-chocolate-frosting-29437', 'https://www.edamam.com/web-img/837/837ded9f80eb5db293a414dd0f10d0d1', 6, 'Vegan Chocolate Frosting recip', 20, 'vegan', 0), (6, 'http://pinchofyum.com/peanut-butter-honey-muffins', 'https://www.edamam.com/web-img/389/389330863fe0a761d97a1b138e00bb0d', 6, '{Vegan} Peanut Butter & Honey ', 25, 'vegan', 0), (7, 'http://www.jamieoliver.com/recipes/fruit-recipes/vegan-toffee-apple-upside-down-cake/', 'https://www.edamam.com/web-img/3fd/3fdc78b639068ebbcf08f8cc564a1569.jpg', 9, 'Vegan toffee apple upside-down', 50, 'vegan', 0), (8, 'http://thepioneerwoman.com/food-and-friends/peanut-butter-chocolate-chip-ice-cream/', 'https://www.edamam.com/web-img/436/436a1011971012df34b58ceb0aaffcf8', 6, 'No-churn Vegan Peanut Butter C', 13, 'vegan', 0), (9, 'http://www.thekitchn.com/recipe-vegan-sourdough-portobello-mushroom-sandwich-227948', 'https://www.edamam.com/web-img/21f/21f6ef18488f0c1273f16842ae389f08', 1, 'Vegan Sourdough Portobello Mus', 20, 'vegan', 0), (10, 'https://elanaspantry.com/keto-chocolate-smoothie/', 'https://www.edamam.com/web-img/083/0834f93ea42c9df7e2faf4125f2b13c1', 2, 'Keto Chocolate Smoothie recipe', 10, NULL, 0), (11, 'http://www.ruled.me/keto-mixed-green-spring-salad/', 'https://www.edamam.com/web-img/332/332c010aad78689ef18d1d02b3b44127', 1, 'Keto Mixed Green Spring Salad ', 20, 'keto', 0), (12, 'https://www.allrecipes.com/recipe/263875/keto-and-gluten-free-spinach-feta-and-tomato-wraps-for-two/', 'https://www.edamam.com/web-img/286/28635841b2d4c8c057dfa4191d322da1.png', 2, 'Keto and Gluten-Free Spinach, ', 25, 'keto', 0), (13, 'http://www.ditchthecarbs.com/2016/01/25/keto-crepes/', 'https://www.edamam.com/web-img/835/835f91bc0dac7f322f75b85b2eba3ce6', 4, 'Keto Crepes recipes', 20, 'keto', 0), (14, 'http://fluffychixcook.com/keto-chocolate-cake/', 'https://www.edamam.com/web-img/962/962c283e4a2201b4ec71a5b1b6971f3d', 12, 'Keto Chocolate Cake recipes', 2, 'keto', 0), (15, 'http://ketodietapp.com/Blog/post/2015/05/21/vegetarian-keto-burgers', 'https://www.edamam.com/web-img/0ed/0ed68f9e847d4d48d81ad3b65dfd000b', 2, 'Vegetarian Keto Burgers recipe', 20, 'keto', 0), (16, 'https://ifood.tv/ingredient/1030443-keto-friendly-bbq-sauce-low-carb-chicken-wing', 'https://www.edamam.com/web-img/366/366a6045c5310caae7501bcfd694845a.jpg', 4, 'Keto Friendly BBQ Sauce - Low ', 25, 'keto', 0), (17, 'https://ketodietapp.com/Blog/post/2014/12/16/Ultimate-Keto-Burgers', 'https://www.edamam.com/web-img/b17/b179b60d9770583f1f16dfd8b6c406fd', 4, 'Ultimate Keto Burgers recipes', 15, 'keto', 0), (18, 'http://fluffychixcook.com/keto-boboli-copykat-low-carb-keto-gluten-free/', 'https://www.edamam.com/web-img/d6c/d6c1286944e450cb82cc9337148c47e4', 2, 'Keto Boboli Copykat – Low Carb', 15, 'keto', 0), (19, 'http://nomnompaleo.com/post/36060636540/paleo-sriracha', 'https://www.edamam.com/web-img/e50/e50584043c015a91a26a7a37f093d476', 2, 'Paleo Sriracha recipes', 20, 'paleo', 0), (20, 'http://www.foodrepublic.com/recipes/holy-grail-status-perfect-paleo-pie-crust-recipe/', 'https://www.edamam.com/web-img/1ca/1cab9debb6ffa9230133b17eb123e210', 8, 'Perfect Paleo Pie Crust recipe', 15, 'paleo', 0), (21, 'http://www.thekitchn.com/recipe-bacon-date-paleo-bites-232303', 'https://www.edamam.com/web-img/07b/07bf503e209ce697ff840e3c4d987349', 15, 'Bacon Date Paleo Bites recipes', 30, 'paleo', 0), (22, 'http://www.chowhound.com/recipes/grain-free-cauliflower-fried-rice-31780', 'https://www.edamam.com/web-img/905/90574d5fb594e757bbefbff9b34a60b2', 4, 'Grain-Free Cauliflower Fried R', 45, 'paleo', 0), (23, 'https://elanaspantry.com/turkey-sandwich/', 'https://www.edamam.com/web-img/7a9/7a94dfa88004e3c8fda2d05d5ca971e5', 4, 'Leftover Turkey Sandwich recip', 10, 'paleo', 0), (24, 'http://nomnompaleo.com/2017/06/06/20170606bacon-deviled-egg-salad', 'https://www.edamam.com/web-img/8fa/8fa27e915bd4cbc7bb2d88b7515e0a29', 4, 'Paleo Recipes recipes', 60, 'paleo', 0), (25, 'http://www.kitchendaily.com/recipe/vegan-green-bean-casserole', 'https://www.edamam.com/web-img/2c3/2c3ddcb338f552ec323a961b223587b8.jpg', 4, 'Vegan Green Bean Casserole', 40, 'paleo', 0), (26, 'http://www.thekitchn.com/recipe-dairyfree-nutella-recipes-from-the-kitchn-213608', 'https://www.edamam.com/web-img/804/804e22679610454e527cac4fa8cdcc2d', 2, 'Dairy-Free Nutella recipes', 30, 'dairy-free', 0), (27, 'http://honestcooking.com/dairy-free-apple-pancakes-recipe/', 'https://www.edamam.com/web-img/0c4/0c49694ee37c9ce486ed8465d1ee3664.jpg', 2, 'Dairy-free Apple Pancakes', 25, 'dairy-free', 0), (28, 'http://www.jamieoliver.com/recipes/dessert-recipes/almond-honey-dairy-free-ice-cream/', 'https://www.edamam.com/web-img/433/4331578930944ea50d624ca3783b062d.jpg', 6, 'Almond & honey dairy-free ice ', 15, 'dairy-free', 0), (29, 'http://www.seriouseats.com/recipes/2012/06/gluten-free-cream-cheese-pancakes-recipe.html', 'https://www.edamam.com/web-img/9a7/9a7c1f32d17f6c660d6508165b136de9.jpg', 4, 'Gluten-Free Cream Cheese Panca', 20, 'dairy-free', 0), (30, 'https://www.marthastewart.com/1164898/dairy-free-smashed-potatoes', 'https://www.edamam.com/web-img/bfe/bfecdf0b1d3d2ca9f56c7a47e989d29b.jpg', 8, 'Dairy-Free Smashed Potatoes', 30, 'dairy-free', 0), (31, 'http://www.biggirlssmallkitchen.com/2013/08/dairy-free-peach-crisp.html', 'https://www.edamam.com/web-img/a46/a46cbe8247345cad439518b7f82a7dd2', 4, 'Dairy-Free Peach Crisp recipes', 50, 'dairy-free', 0), (32, 'http://www.bonappetit.com/recipe/neo-neapolitan-bombe', 'https://www.edamam.com/web-img/13d/13de8d72e4220ab2ec05ffdf19d54dd9', 18, 'Neo-Neapolitan Bombe recipes', 50, 'dairy-free', 0), (33, 'https://food52.com/recipes/12485-gluten-free-sugar-free-dairy-free-brownies', 'https://www.edamam.com/web-img/e37/e37d7c629d652eed4f63d745c1b8e7e8.jpg', 12, 'Gluten-free, Sugar-free, Dairy', 41, 'dairy-free', 0), (34, 'http://kitchenconfidante.com/peanut-butter-oatmeal-cookies-gluten-free-recipe', 'https://www.edamam.com/web-img/ee2/ee2bf9a2837e04f8620d5cfe4f7a2f03', 4, 'Almond Butter Oatmeal Cookies ', 45, 'dairy-free', 0), (35, 'http://www.seriouseats.com/recipes/2011/11/gluten-free-tuesday-thanksgiving-stuffing.html', 'https://www.edamam.com/web-img/af4/af405d431723a6a5e400e05bcf353f33.jpg', 6, 'Gluten-Free Stuffing', 60, 'gluten-free', 0), (36, 'http://honestcooking.com/gluten-free-mac-and-cheese/', 'https://www.edamam.com/web-img/789/78993859e05cf4e542720658ae78c80b.jpg', 14, 'Gluten-Free Mac and Cheese', 25, 'gluten-free', 0), (37, 'http://www.jamieoliver.com/recipes/uncategorised-recipes/gluten-free-citrus-shortbread/', 'https://www.edamam.com/web-img/be9/be9a7ba855f40d1df3f76d18658b1136.jpg', 20, 'Gluten-free citrus shortbread', 30, 'gluten-free', 0), (38, 'https://www.chowhound.com/recipes/gluten-free-almond-crinkle-cookies-31189', 'https://www.edamam.com/web-img/dfa/dfa0dd872fd439021b81f1a725adddb5.jpg', 16, 'Gluten-Free Almond Crinkle Coo', 40, 'gluten-free', 0), (39, 'https://www.marthastewart.com/945295/gluten-free-oatmeal-cookies', 'https://www.edamam.com/web-img/573/573dfb503e70012138a4716f7bf74fc5.jpg', 36, 'Gluten-Free Oatmeal Cookies', 60, 'gluten-free', 0), (40, 'https://glutenfreegirl.com/2009/07/gluten-free-cornbread/', 'https://www.edamam.com/web-img/ddf/ddf3eda9c7c56d2b90a10e95d63f3b8e', 4, 'Gluten-free Cornbread recipes', 50, 'gluten-free', 0), (41, 'http://www.foodandwine.com/recipes/gluten-free-chicken-parmesan', 'https://www.edamam.com/web-img/079/07908243abc03f9f3ca1c07be9cf60d7', 4, 'Gluten-Free Chicken Parmesan r', 45, 'favorites', 0), (42, 'https://food52.com/recipes/14809-gluten-free-scallion-pancakes', 'https://www.edamam.com/web-img/0e4/0e4d2ad0c556acbd202f05153e1303d6.jpg', 8, 'Gluten-free Scallion Pancakes', 41, 'gluten-free', 0), (43, 'http://www.epicurious.com/recipes/food/views/Gluten-Free-Vegan-Oatmeal-Raisin-Cookies-51262680', 'https://www.edamam.com/web-img/c3f/c3f4a724a21a0881ee5bb940d6a2677b', 9, 'Gluten-Free Vegan Oatmeal Rais', 30, 'gluten-free', 0), (44, 'https://smittenkitchen.com/2009/01/bittersweet-chocolate-and-pear-cake/#comment-231312', 'https://www.edamam.com/web-img/017/017c656833ea59ef2ceff0b6b92b0b17', 4, 'Al Di La’s Torta di Pere [Bitt', 55, 'favorites', 0), (45, 'https://food52.com/recipes/1422-country-stuffing', 'https://www.edamam.com/web-img/22b/22bb093e1e45eaf2a57ae1af7fbfdd80.jpg', 12, 'Country Stuffing', 37, 'favorites', 0), (46, 'http://www.foodrepublic.com/2016/02/03/vinho-verde-takes-on-south-korean-favorites-part-2/', 'https://www.edamam.com/web-img/464/464ccdcda015b12fef82c3d951be9b42', 2, 'Vinho Verde Takes on South Kor', 40, 'favorites', 0), (47, 'http://www.101cookbooks.com/archives/favorite-egg-recipes-recipe.html', 'https://www.edamam.com/web-img/18d/18dcf27a67d4146704e1317f7cb7b3b4', 2, 'Favorite Egg Recipes recipes', 55, 'favorites', 0), (48, 'http://ruhlman.com/2012/09/guest-post-rob-levitt/', 'https://www.edamam.com/web-img/f18/f18522e62a50c00c643a8cedd1c03ab9.jpg', 8, 'Recipe for the Perfect Start t', 3, 'favorites', 0), (49, 'http://thepioneerwoman.com/cooking/pioneer_womans_favorite_sandwich/', 'https://www.edamam.com/web-img/b11/b11f269e9e9a0bff6685d13c9cbfafcc', 1, 'Pioneer Woman’s Favorite Sandw', 20, 'favorites', 0), (50, 'http://www.sassyradish.com/2013/04/my-favorite-tuna-salad/', 'https://www.edamam.com/web-img/44f/44fe2367ad901fa3597830359420e195.jpg', 1, 'My favorite tuna salad', 8, 'favorites', 0), (58, 'http://www.seriouseats.com/recipes/2011/12/chicken-vesuvio-recipe.html', 'https://www.edamam.com/web-img/e42/e42f9119813e890af34c259785ae1cfb.jpg', 4, 'Chicken Vesuvio', 60, 'favorites', 0), (59, 'https://www.chowhound.com/recipes/creamed-chicken-18860', 'https://www.edamam.com/web-img/67d/67dfcb646ef76499afc7b89640868099', 5, 'Creamed Chicken recipes', 30, 'favorites', 0), (60, 'https://www.tastingtable.com/entry_detail/chefs_recipes/10154/Matzo_balls_watch_your_back.htm', 'https://www.edamam.com/web-img/4dd/4dd1c7a0d8b00e8929bd6babf0968ba2.jpg', 8, 'Kreplach (Chicken Dumplings)', 10, 'favorites', 0), (61, 'http://www.marthastewart.com/340994/chicken-parmigiana', 'https://www.edamam.com/web-img/f14/f14c9894afc5574d0e12cdb72f6062e0', 4, 'Chicken Parmigiana recipes', 35, 'favorites', 0), (62, 'https://food52.com/recipes/14954-chicken-quinoa', 'https://www.edamam.com/web-img/560/5606f4fb972e0789464fecdc9ca595aa.JPG', 2, 'Chicken Quinoa', 29, 'favorites', 0), (63, 'http://www.bbc.co.uk/food/recipes/chickenalocacciatore_70349', 'https://www.edamam.com/web-img/2ca/2ca946a40338e9b93c1d14dec518e1b8.jpg', 6, 'Chicken cacciatore', 60, 'favorites', 0), (64, 'http://www.cookingchanneltv.com/recipes/chicken-saltimbocca.html', 'https://www.edamam.com/web-img/36f/36f50faee795ad7c689c16afb606465d.jpg', 6, 'Chicken Saltimbocca', 35, 'favorites', 0), (65, 'http://www.jamieoliver.com/recipes/chicken-recipes/chicken-paella/', 'https://www.edamam.com/web-img/6b2/6b24bd420a1ddc88c0476c90919f2e2e.jpg', 10, 'Chicken ‘paella’', 60, 'favorites', 0), (66, 'https://www.foodnetwork.com/recipes/sandra-lee/smothered-chicken-recipe-1950282', 'https://www.edamam.com/web-img/65a/65a7ad1b644869cd901aafd23aa3bf11.jpeg', 4, 'Smothered Chicken', 50, 'favorites', 0), (67, 'https://food52.com/recipes/8807-salad-abc-apples-bacon-cumin-cheese', 'https://www.edamam.com/web-img/2bd/2bdd379ea57d5066c1b447cf0415f490.JPG', 4, 'Salad ABC - Apples, Bacon, Cum', 24, NULL, 0), (68, 'http://www.seriouseats.com/recipes/2011/11/crab-toasts-with-sriracha-mayonnaise-recipe.html', 'https://www.edamam.com/web-img/d71/d71108e1d212d38b837d196850ed958e.jpg', 4, 'Crab Toasts with Sriracha Mayo', 15, NULL, 0), (69, 'https://www.tastingtable.com/entry_detail/chefs_recipes/1944/Reimagining_the_caprese_salad.htm', 'https://www.edamam.com/web-img/7e1/7e1de6821a065ac1f1465a6d95705f1d.jpg', 4, 'Heirloom Tomato and Mozzarella', 9, NULL, 0), (70, 'http://www.foodrepublic.com/recipes/summer-corn-with-lime-and-manchego-recipe/', 'https://www.edamam.com/web-img/fbf/fbf5e13efa74408d0a830a439e8d60d4.jpg', 6, 'Summer Corn With Lime And Manc', 35, NULL, 0), (71, 'http://www.seriouseats.com/recipes/2013/02/singaporean-singapore-chili-crab-recipe.html', 'https://www.edamam.com/web-img/aa5/aa536f477527a67d6ccb82423c9e2fa5.jpg', 2, 'Singaporean Chili Crab Recipe', 15, NULL, 0), (72, 'http://www.seriouseats.com/recipes/2011/11/carrot-and-avocado-salad-with-crunchy-seeds-recipe.html', 'https://www.edamam.com/web-img/3fb/3fbbda164dadd5d3ff370f54bb00bbdb.jpg', 4, 'Carrot and Avocado Salad with ', 60, NULL, 0), (73, 'http://www.kraftrecipes.com/recipes/abc-soup-112359.aspx', 'https://www.edamam.com/web-img/860/860d6c3528160119f729337a32ad45e3.jpg', 6, '\"ABC\" Soup', 30, NULL, 0), (74, 'http://www.seriouseats.com/recipes/2012/05/tender-grilled-short-ribs.html', 'https://www.edamam.com/web-img/4b2/4b2e7953ff6f99118bd1c418d249bc87.jpg', 4, 'Tender Grilled Short Ribs Reci', 30, NULL, 0), (75, 'http://smittenkitchen.com/blog/2015/06/oven-ribs-even-better/', 'https://www.edamam.com/web-img/627/627a131e098b6a4b7230b801d7234708', 1, 'Oven Ribs, Even Better recipes', 50, NULL, 0), (76, 'http://www.bbc.co.uk/food/recipes/jennysbarbecuesparer_70172', 'https://www.edamam.com/web-img/439/43935b922c6b19e33b0fcd353477c198.jpg', 6, 'Barbecue ribs', 60, NULL, 0), (77, 'http://www.epicurious.com/recipes/food/views/Chinese-Barbecued-Baby-Back-Ribs-240581', 'https://www.edamam.com/web-img/323/323d188c71c9ee213fcea802c58a3d5b', 4, 'Chinese Barbecued Baby Back Ri', 60, NULL, 0), (78, 'https://www.realsimple.com/food-recipes/browse-all-recipes/dry-rubbed-baby-back-ribs', 'https://www.edamam.com/web-img/c9d/c9de7422ba9110a76a9c1846f4985216.jpg', 4, 'Dry-Rubbed Baby-Back Ribs', 45, NULL, 0), (79, 'http://www.delish.com/cooking/recipe-ideas/recipes/a20656/hoisin-glazed-ribs-recipe-fw0113/', 'https://www.edamam.com/web-img/a43/a43596f8273ee676321177faeddd35a0.jpg', 2, 'Hoisin-Glazed Ribs', 10, NULL, 0), (81, 'http://www.foodrepublic.com/recipes/braised-beef-short-ribs-recipe/', 'https://www.edamam.com/web-img/d33/d33e1ec9380845a5123b3abe80581b6b', 4, 'Braised Beef Short Ribs recipe', 30, NULL, 0), (82, 'http://www.goodhousekeeping.com/food-recipes/a6850/baby-back-ribs-4434/', 'https://www.edamam.com/web-img/be9/be9ed513925c1f42aba957549867876e.jpg', 6, 'Baby Back Ribs', 10, NULL, 0), (83, 'http://notwithoutsalt.com/dinner-in-15-harissa-chickpeas-with-spinach/', 'https://www.edamam.com/web-img/4ba/4ba6be7df6b8926da66512bcf3e96fae', 4, 'Harissa Chickpeas with spinach', 30, NULL, 0), (84, 'https://www.tastingtable.com/entry_detail/chefs_recipes/12903/Fried_Chickpeas.htm', 'https://www.edamam.com/web-img/2e3/2e34fa1199c12607497174cf6e8ad1c8.jpeg', 6, 'Fried Chickpeas', 2, NULL, 0), (85, 'http://www.epicurious.com/recipes/food/views/crispy-curry-roasted-chickpeas-56389735', 'https://www.edamam.com/web-img/bc4/bc4fbfafa5efd3e3800ef0ba2d7656fd', 6, 'Crispy Curry-Roasted Chickpeas', 45, NULL, 0), (86, 'https://www.marthastewart.com/341023/crunchy-paprika-chickpeas', 'https://www.edamam.com/web-img/68d/68d0fef45ba81558ea8a1fa607e952ee.jpg', 6, 'Crunchy Paprika Chickpeas', 45, NULL, 0), (87, 'http://honestcooking.com/refreshing-chickpeas-salad-crispy-bread-fresh-vegetables-recipe/', 'https://www.edamam.com/web-img/24b/24bbb48acb6b497bdc9079171e191b0c.jpg', 3, 'Chickpeas Salad', 15, NULL, 0), (88, 'https://www.realsimple.com/food-recipes/browse-all-recipes/soy-roasted-chickpeas', 'https://www.edamam.com/web-img/0a0/0a08a88ce8361d7c47d7cdf133f96fca.jpg', 4, 'Soy-Roasted Chickpeas', 20, NULL, 0), (89, 'http://www.thekitchn.com/recipe-cheetos-style-chickpeas-227533', 'https://www.edamam.com/web-img/815/8159de3e2ce56bb199a189aeb4cf23a0', 2, 'Vegan Cheetos Chickpeas recipe', 45, NULL, 0), (90, 'http://www.chowhound.com/recipes/fried-chickpeas-with-sage-11203', 'https://www.edamam.com/web-img/0c3/0c376ef65628a334720650c18e321a74', 7, 'Fried Chickpeas with Sage reci', 35, NULL, 0), (91, 'http://www.kitchendaily.com/recipe/crispy-chickpeas', 'https://www.edamam.com/web-img/b0e/b0e2e2092f9436d74d8d59cb605785af.jpeg', 8, 'Crispy Chickpeas', 30, NULL, 0), (101, 'http://www.marthastewart.com/340566/sauteed-spinach', 'https://www.edamam.com/web-img/caa/caa67c669b063cde086c711ea2d2ce62.jpg', 4, 'Sauteed Spinach', 15, NULL, 0), (102, 'http://www.epicurious.com/recipes/food/views/Spinach-Gunge-365772', 'https://www.edamam.com/web-img/698/698124a525a8bd651784273fe77ca310.jpg', 4, 'Spinach Gunge', 17, NULL, 0), (103, 'http://www.jamieoliver.com/recipes/pasta-recipes/spinach-lasagne/', 'https://www.edamam.com/web-img/ef9/ef96b1ac7cc124f7404ef245f5e8db2a.jpg', 6, 'Spinach lasagne', 50, NULL, 0), (104, 'http://www.foodandwine.com/recipes/creamy-spinach', 'https://www.edamam.com/web-img/a90/a90908da3e7d9bc5c9ffdcbb3e3983e5.jpg', 4, 'Creamy Spinach', 20, NULL, 0), (105, 'http://www.cookstr.com/recipes/creamed-spinach-3-hans-rueffert', 'https://www.edamam.com/web-img/21d/21dcc2e31bd4e6ac5b7f1589f0176e5b.jpg', 4, 'Creamed Spinach', 15, NULL, 0), (106, 'http://www.eatingwell.com/recipe/250846/spinach-apple-juice', 'https://www.edamam.com/web-img/d4a/d4a3c86ae3a941c74df4b06348e12008.jpg', 2, 'Spinach-Apple Juice', 15, NULL, 0), (107, 'http://www.delish.com/cooking/recipe-ideas/recipes/a25103/garlicky-spinach-1078/', 'https://www.edamam.com/web-img/44b/44b8dbddbd11aa4e9ab7f30c8e5d7029.jpg', 2, 'Garlicky Spinach', 10, NULL, 0), (109, 'http://familyfoodie.com/shower-recipes-crustless-spinach-quiche-sundaysupper/', 'https://www.edamam.com/web-img/786/786e22eb33cb812e5040a62c19a1936a.jpg', 6, 'Crustless Spinach Quiche', 42, NULL, 0), (119, 'http://www.seriouseats.com/recipes/2011/03/deep-fried-fish-bones-recipe.html', 'https://www.edamam.com/web-img/c8c/c8ccf12e2aa2c78b94817f18cd4eaff2.jpg', 4, 'Deep Fried Fish Bones', 31, NULL, 0), (120, 'http://www.marthastewart.com/314623/fish-bowl-gelatin', 'https://www.edamam.com/web-img/564/564624d44f3551c395d3a4fa2a52d727', 8, 'Fish Bowl Gelatin recipes', 30, NULL, 0), (121, 'http://www.bbc.co.uk/food/recipes/homemade_fish_fingers_85938', 'https://www.edamam.com/web-img/798/79872b022c279ee76b9bee7421481e5f.jpg', 4, 'Homemade fish fingers', 60, NULL, 0), (122, 'http://www.foodrepublic.com/2016/01/20/what-is-fish-sauce-caramel/', 'https://www.edamam.com/web-img/a52/a5245222016451d202b5414cd52d36e6', 4, 'Black Fish Sauce Caramel recip', 25, NULL, 0), (123, 'https://food52.com/recipes/9522-valla-curry-mango-fish-curry', 'https://www.edamam.com/web-img/5c7/5c75f5407f856c60800da2928d994969.jpg', 4, 'Valla Curry (Mango Fish Curry ', 52, 'favorites', 0), (124, 'http://honestcooking.com/indian-chinese-chilli-fish-recipe/', 'https://www.edamam.com/web-img/da5/da5feaede89663336c7b332d3140df23.jpg', 4, 'Indian Chinese Chilli Fish', 45, NULL, 0), (125, 'http://www.cookstr.com/recipes/fish-stock-4', 'https://www.edamam.com/web-img/940/940d58603bdc4d0dff1122d127094b6a.jpg', 2, 'Fish Stock', 60, NULL, 0), (126, 'http://www.eatingwell.com/recipe/248933/easy-sauteed-fish-fillets', 'https://www.edamam.com/web-img/5e8/5e86367b3d64dc7c222285ce9b233e93.jpg', 4, 'Easy Sautéed Fish Fillets', 30, NULL, 0), (299, 'http://www.seriouseats.com/recipes/2013/05/mango-orange-bellini-sparkling-wine-brunch-cocktail-recipe.html', 'https://www.edamam.com/web-img/ff3/ff32b5a61e62da447197f926661f1198.jpg', 4, 'Mango-Orange Bellini Recipe', 5, NULL, 0), (300, 'http://www.epicurious.com/recipes/food/views/Mango-Sake-363341', 'https://www.edamam.com/web-img/c42/c4219b4f96885ca291269c2a8fb4c66c', 12, 'Mango Sake recipes', 40, NULL, 0), (301, 'https://food52.com/recipes/8982-mango-guacamole', 'https://www.edamam.com/web-img/393/3937aa456f4dcb364b211045422af2c6.jpg', 4, 'Mango guacamole', 15, NULL, 0), (302, 'http://www.eatingwell.com/recipe/249385/broiled-mango', 'https://www.edamam.com/web-img/e76/e7663fc9a84fe4f249eea384c000f063.JPG', 2, 'Broiled Mango', 30, NULL, 0), (303, 'https://www.marthastewart.com/1153932/mango-lassi-smoothie', 'https://www.edamam.com/web-img/4c6/4c6a8ca711199a5cf11d6c890dda9f36.jpg', 4, 'Mango Lassi Smoothie', 5, NULL, 0), (304, 'https://www.realsimple.com/food-recipes/browse-all-recipes/mango-salsa', 'https://www.edamam.com/web-img/aa9/aa935237bc68af9b67be048ebf8d9d68.jpg', 6, 'Mango Salsa', 5, NULL, 0), (305, 'http://www.cookstr.com/recipes/mango-lassi-sharon-herbst', 'https://www.edamam.com/web-img/250/25041aac0c1592e5ee4e17c26d19cd6c.jpg', 4, 'Mango Lassi', 30, NULL, 0), (306, 'http://www.pbs.org/food/recipes/mango-infusion/', 'https://www.edamam.com/web-img/b0b/b0b039215897e20a8a19b90f673951fb.jpg', 2, 'Mango Infusion', 4, NULL, 0), (307, 'http://www.cookingchanneltv.com/recipes/indian-ice-cream-mango-kulfi', 'https://www.edamam.com/web-img/aaf/aaf6760230202839170a2953d19e23a8', 4, 'Mango Kulfi recipes', 45, NULL, 0), (335, 'http://www.marthastewart.com/314256/sweet-hibiscus-tea', 'https://www.edamam.com/web-img/b7a/b7aae515e6f8893b67dd537653eec917.jpg', 6, 'Sweet Hibiscus Tea', 38, 'favorites', 0), (336, 'http://www.epicurious.com/recipes/food/views/Tipsy-Tea-with-Homemade-Sweet-Tea-359322', 'https://www.edamam.com/web-img/185/1858b75f79e7181df021df238e6119a6', 1, 'Tipsy Tea with Homemade Sweet ', 10, NULL, 0), (337, 'https://food52.com/recipes/9175-chai-indian-tea', 'https://www.edamam.com/web-img/213/21307a6d26da86828e385c389a01e9b6.jpg', 4, 'Chai (Indian Tea)', 53, NULL, 0), (338, 'http://www.saveur.com/article/Recipes/Spiced-Tea-Masala-Chai', 'https://www.edamam.com/web-img/a84/a846fa791b78f17ba3bb173fb0e14f85.jpg', 2, 'Spiced Tea (Masala Chai)', 23, NULL, 0), (339, 'https://www.realsimple.com/food-recipes/browse-all-recipes/bourbon-mint-iced-tea', 'https://www.edamam.com/web-img/eb1/eb14a7566e5e2db818ef234e45bb5897.jpg', 4, 'Bourbon Mint Iced Tea', 30, NULL, 0), (340, 'http://www.kitchendaily.com/recipe/backyard-tea', 'https://www.edamam.com/web-img/73d/73d0c57468919a8fa777563ec024a2fe.jpg', 1, 'Backyard Tea', 5, NULL, 0), (341, 'http://www.foodandwine.com/recipes/mint-tea', 'https://www.edamam.com/web-img/4f5/4f56fb6583c26f1e922eb1dc74f4629b.jpg', 4, 'Mint Tea', 28, NULL, 0), (342, 'http://www.latimes.com/food/la-fo-granitarec2-20110901-story.html', 'https://www.edamam.com/web-img/d7b/d7b4a9e788ea9d6eaae1cbf28148df20.jpg', 4, 'Green tea granita', 20, NULL, 0), (343, 'http://www.thekitchn.com/recipe-chai-tea-cookies-recipes-from-the-kitchn-198045', 'https://www.edamam.com/web-img/36c/36ce5521cf1ae1f04f3fb9ed00746e33', 12, 'Chai Tea Cookies recipes', 50, NULL, 0), (344, 'https://www.tastingtable.com/entry_detail/chefs_recipes/14009/Corn_off_the_cob_with_a_five_point_twist.htm', 'https://www.edamam.com/web-img/93d/93d0112cea5b5b212caf763956e4a37c.jpg', 4, 'Chipotle Buttered Corn', 30, NULL, 0), (345, 'http://www.food.com/recipe/sophia-loren-s-tiramisu-294303', 'https://www.edamam.com/web-img/dc5/dc53d8605337cad1810a2b2485b31096.jpg', 8, 'Sophia Loren’s Tiramisu', 20, NULL, 0), (346, 'http://recipes-plus.com/recipe/linguine-con-salsa-alla-sophia-loren-17275', 'https://www.edamam.com/web-img/3cf/3cf408545c8accb4e861eb0f4362f50b', 4, 'Linguine con salsa alla Sophia', 20, NULL, 0), (347, 'https://ifood.tv/dish/1020608-southern-banana-cake', 'https://www.edamam.com/web-img/dde/dde4089e1e9fa8c5e6a30397998ae046.jpg', 6, 'Southern Banana Cake', 40, NULL, 0), (348, 'http://www.marthastewart.com/336682/grape-gelatin', 'https://www.edamam.com/web-img/0f8/0f8cf4c9a238d5ff8d2e6fbb46fe0956', 6, 'Grape Gelatin recipes', 40, NULL, 0), (349, 'http://www.epicurious.com/recipes/food/views/Grape-Tomato-Blossoms-108382', 'https://www.edamam.com/web-img/a84/a84fdac4a6a8019fba182c43659cbf7a', 18, 'Grape Tomato \"Blossoms\" recipe', 45, NULL, 0), (350, 'http://www.pbs.org/food/fresh-tastes/vegan-grape-jelly/', 'https://www.edamam.com/web-img/4fa/4fa0da9e9cd9289558d7f67bb399b1c6', 4, 'Vegan Grape Jelly recipes', 15, NULL, 0), (351, 'http://www.cookingchanneltv.com/recipes/quick-grape-spritzer.html', 'https://www.edamam.com/web-img/dc2/dc259544de51c0570725b447316c4ef0.jpg', 8, 'Quick Grape Spritzer', 5, NULL, 0), (352, 'http://www.delish.com/cooking/recipe-ideas/recipes/a29391/great-grape-smoothie-ghk/', 'https://www.edamam.com/web-img/175/1751a942d67fc92310367332c7827875.jpg', 2, 'Great Grape Smoothie', 5, NULL, 0), (353, 'https://www.foodnetwork.com/recipes/concord-grape-fizz-3363039', 'https://www.edamam.com/web-img/1f3/1f3cf9b3e964f3de8e683b28647d4d3a.jpeg', 4, 'Concord Grape Fizz', 10, NULL, 0), (354, 'http://www.bonappetit.com/recipe/chicken-and-sausage-cacciatore-with-grape-tomatoes', 'https://www.edamam.com/web-img/0ce/0ce494cd4f4bddc37cd770cf10b5516f.jpg', 4, 'Chicken and Sausage Cacciatore', 45, NULL, 0), (355, 'http://www.cookstr.com/recipes/grilled-whole-fish-in-grape-leaves', 'https://www.edamam.com/web-img/63c/63cecc1a81bea16ec3dc0e3a154f55a1.jpg', 6, 'Grilled Whole Fish in Grape Le', 60, NULL, 0), (356, 'http://www.saveur.com/article/Recipes/Three-Cheese-Mixture', 'https://www.edamam.com/web-img/5b3/5b35a46cd5e761f093e382273f6cc68e.jpg', 4, 'Three-Cheese Mixture', 7, NULL, 0), (357, 'https://www.marthastewart.com/345229/goat-cheese-frosting', 'https://www.edamam.com/web-img/967/967190a706932e29ea209d3d4b3fe20c.jpg', 10, 'Goat Cheese Frosting', 10, NULL, 0), (358, 'http://www.epicurious.com/recipes/food/views/Cheese-Omelette-51262180', 'https://www.edamam.com/web-img/06c/06c806cbf05be094b085fa81e0620d2e', 1, 'Cheese Omelette recipes', 5, NULL, 0), (359, 'http://www.jamieoliver.com/recipes/eggs-recipes/simple-cheese-omelette/', 'https://www.edamam.com/web-img/80f/80f11ea92070e2ccfc6d543862a4127f.jpg', 1, 'Simple cheese omelette', 10, NULL, 0), (360, 'http://www.bbc.co.uk/food/recipes/cheesescones_1287', 'https://www.edamam.com/web-img/8b2/8b2f81156a3b26e898a595f4a4704749.jpg', 10, 'Cheese scones', 60, NULL, 0), (361, 'http://thepioneerwoman.com/cooking/pimento-cheese/', 'https://www.edamam.com/web-img/c4c/c4c492f7b5540dc91032d63ac8f933bc', 12, 'Pimento Cheese recipes', 15, NULL, 0), (362, 'http://www.foodrepublic.com/recipes/swiss-cheese-fondue-recipe/', 'https://www.edamam.com/web-img/eb3/eb3b7fcabff47bd8dfc422a8469374ea', 4, 'Swiss Cheese Fondue recipes', 40, NULL, 0), (363, 'http://honestcooking.com/cheese-bites/', 'https://www.edamam.com/web-img/b08/b089e0b763881289ad320c2caaea7c30.jpg', 6, 'Cheese bites', 45, NULL, 0), (364, 'https://www.foodnetwork.com/recipes/three-cheese-grilled-cheese-recipe-1973233', 'https://www.edamam.com/web-img/f2a/f2abf3d253f2142b5339de3465a022fc.jpeg', 16, 'Three-Cheese Grilled Cheese', 25, NULL, 0), (365, 'http://www.seriouseats.com/recipes/2015/09/apple-sparkling-wine-sherry-cocktail-recipe.html', 'https://www.edamam.com/web-img/97c/97ca85ce05ff03fbe74abb1e4c7684d1.jpg', 1, 'Sparkling Apple Sherry Cocktai', 5, NULL, 0), (366, 'http://www.marthastewart.com/354108/shaken-and-stirred-big-apple', 'https://www.edamam.com/web-img/ffe/ffec3dfe693bd7e995d3466543594a06', 4, 'The Big Apple recipes', 15, NULL, 0), (367, 'http://www.chowhound.com/recipes/apple-ice-10561', 'https://www.edamam.com/web-img/52b/52b4fe1b30c50791dadd35824340eb7c.jpg', 8, 'Apple Ice Recipe', 15, NULL, 0), (368, 'http://www.epicurious.com/recipes/food/views/sparkling-apple-cocktail-362470', 'https://www.edamam.com/web-img/112/112429f20a725ba2f2e8f3ab5a71b60f', 1, 'Sparkling Apple Cocktail recip', 10, NULL, 0), (369, 'http://www.jamieoliver.com/recipes/fruit-recipes/grapefruit-carrot-apple-juice/', 'https://www.edamam.com/web-img/ba0/ba0a2fa6a0ca32b1012d576dda10479e.jpg', 2, 'Grapefruit, carrot & apple jui', 5, NULL, 0), (370, 'https://food52.com/recipes/8730-apple-slaw', 'https://www.edamam.com/web-img/a3a/a3ad2b6121c0d0e0d750b3b3879e6a52.jpeg', 3, 'Apple Slaw', 16, NULL, 0), (371, 'http://www.foodandwine.com/recipes/apple-bomb', 'https://www.edamam.com/web-img/4b9/4b9169a70befe46eec9ebf30e21e00e9.jpg', 1, 'Apple Bomb', 6, NULL, 0), (372, 'https://www.foodnetwork.com/recipes/giada-de-laurentiis/apple-martini-with-sour-apple-hard-candy-recipe-1944771', 'https://www.edamam.com/web-img/b83/b8395a5dc2fa5d7af7399365418257f2.jpeg', 1, 'Apple Martini with Sour Apple ', 3, NULL, 0), (373, 'http://www.myrecipes.com/recipe/apple-cider-syrup', 'https://www.edamam.com/web-img/9d6/9d6e0a01abe3f05f8c9449337ed110fc.jpg', 4, 'Apple Cider Syrup', 20, NULL, 0), (410, 'http://www.foodrepublic.com/recipes/pasta-frittata-recipe/', 'https://www.edamam.com/web-img/918/91893c1b387c35e0c3c3937c3308a8c3', 4, 'Pasta Frittata recipes', 15, 'favorites', 0), (411, 'http://www.marthastewart.com/349716/pinky-pasta', 'https://www.edamam.com/web-img/549/54968edfd2ec18438760ed27680a2dc7', 6, 'Pinky Pasta recipes', 30, NULL, 0), (412, 'http://honestcooking.com/stove-top-mac-cheese-recipe/', 'https://www.edamam.com/web-img/c66/c661f2829c1c1454763501816b5895f7.jpg', 4, 'Creamy pasta', 15, NULL, 0), (413, 'http://www.bonappetit.com/recipe/pasta-with-pancetta-and-miso', 'https://www.edamam.com/web-img/fb2/fb236074102bc19e60e975e0809f4deb', 2, 'Pasta with Pancetta and Miso r', 35, NULL, 0), (414, 'http://www.seriouseats.com/recipes/2012/02/dinner-tonight-swiss-chard-and-pasta-soup.html', 'https://www.edamam.com/web-img/bf9/bf95103d6f82239d3d7fa4494d0beef5.jpg', 4, 'Swiss Chard and Pasta Soup Rec', 60, NULL, 0), (415, 'https://food52.com/recipes/3898-avocado-pasta-salad', 'https://www.edamam.com/web-img/fa8/fa8d9e1d95ef29dc74813fbc9dc336ad.jpg', 4, 'Avocado Pasta Salad', 39, NULL, 0), (417, 'http://www.epicurious.com/recipes/food/views/Scrambled-Egg-Pasta-352270', 'https://www.edamam.com/web-img/d60/d6071c0bb79febc3f853d8169e2bfb25', 4, 'Scrambled Egg Pasta recipes', 20, NULL, 0), (418, 'http://www.delish.com/cooking/recipe-ideas/recipes/a18417/pasta-puttanesca-tuna-122173/', 'https://www.edamam.com/web-img/407/407dc7452b5a12641ecb4e6552713b95.jpg', 6, 'Pasta Puttanesca and Tuna', 25, NULL, 0), (464, 'http://www.epicurious.com/recipes/food/views/zucchini-noodles-with-anchovy-butter-56389802', 'https://www.edamam.com/web-img/d05/d05bdc0d9cca48ff7cede2b8159e7ad8', 6, 'Zucchini Noodles with Anchovy ', 20, NULL, 0), (465, 'http://www.delish.com/cooking/recipe-ideas/recipes/a32913/noodle-pancakes-120801/', 'https://www.edamam.com/web-img/920/9202daf12ac490bc0d6a12371ced0c82.jpg', 4, 'Noodle Pancakes', 22, NULL, 0), (466, 'http://www.marthastewart.com/337178/asian-noodle-salad', 'https://www.edamam.com/web-img/e5b/e5bb9103fc2fa989d3af3174ec11868b.jpg', 2, 'Asian Noodle Salad', 15, NULL, 0), (467, 'https://www.menshealth.com/recipes/chicken-noodle-soup', 'https://www.edamam.com/web-img/b14/b140daf0b4d0b3f111750c46f1f07501.jpg', 8, 'Chicken-Noodle Soup', 19, NULL, 0), (468, 'https://food52.com/recipes/17766-korean-cold-noodle-salad', 'https://www.edamam.com/web-img/629/629ed6a2cfef5bc7fc99ed039f62fa24.JPG', 4, 'Korean cold noodle salad', 10, NULL, 0), (469, 'http://www.jamieoliver.com/recipes/vegetables-recipes/pepper-noodle-salad/', 'https://www.edamam.com/web-img/9b3/9b3f8781553ef7943727c019089c490b.jpg', 4, 'Pepper & noodle salad', 30, NULL, 0), (470, 'https://www.realsimple.com/food-recipes/browse-all-recipes/noodle-salad', 'https://www.edamam.com/web-img/9d3/9d33d463cd826fa78e44bb39457f4158.jpg', 4, 'Noodle Salad', 30, NULL, 0), (471, 'http://www.goodhousekeeping.com/food-recipes/a5177/seafood-noodle-soup-supper-1391/', 'https://www.edamam.com/web-img/6e2/6e2c77a062df58f6ec339a284706e097.jpg', 3, 'Seafood Noodle-Soup Supper', 30, NULL, 0), (472, 'http://www.cookingchanneltv.com/recipes/noodle-kugel.html', 'https://www.edamam.com/web-img/383/383fde345d21bf9b76f056093b259d5a.jpg', 6, 'Noodle Kugel', 50, NULL, 0), (473, 'http://www.marthastewart.com/950845/perfect-white-rice-rice-cooker', 'https://www.edamam.com/web-img/61e/61e1dcab964820d42addb821223169c0.jpg', 4, 'Perfect White Rice in a Rice C', 17, NULL, 0), (474, 'http://thepioneerwoman.com/cooking/perfect-sushi-rice/', 'https://www.edamam.com/web-img/a0d/a0d422e9f189fb72c3c73be07630f303', 4, 'Perfect Sushi Rice recipes', 50, NULL, 0), (475, 'http://www.saveur.com/perfect-brown-rice-recipe', 'https://www.edamam.com/web-img/366/3662b94da8e7f6c0fdc51d5168beb9fc.jpg', 4, 'Perfect Brown Rice', 51, NULL, 0), (476, 'http://www.thekitchn.com/how-to-make-rice-in-a-rice-cooker-226756', 'https://www.edamam.com/web-img/c0a/c0abc8cdde5ed0139ca6b51a8f09caea', 5, 'How To Make Rice in a Rice Coo', 45, NULL, 0), (477, 'http://www.cookstr.com/recipes/jasmine-rice', 'https://www.edamam.com/web-img/b77/b77ee47ca0fef42ab0cbc36eb35601d6.jpg', 6, 'Jasmine Rice', 30, NULL, 0), (478, 'http://www.epicurious.com/recipes/food/views/coriander-rice-109590', 'https://www.edamam.com/web-img/f6f/f6f54fe4464c56ac7483afe57caf7e2d', 16, 'Coriander Rice recipes', 60, NULL, 0), (479, 'http://herbivoracious.com/2009/03/coconut-rice-recipe.html', 'https://www.edamam.com/web-img/6fe/6fe5d943de92d453937a95ff1c0e7d89.jpg', 4, 'Coconut Rice', 29, NULL, 0), (480, 'http://www.cookingchanneltv.com/recipes/robert-irvine/rice-balls.html', 'https://www.edamam.com/web-img/960/960025afde06f1f61f8fa6059435cc91.jpg', 24, 'Rice Balls', 30, NULL, 0), (481, 'https://www.realsimple.com/food-recipes/browse-all-recipes/easy-rice-pudding', 'https://www.edamam.com/web-img/326/326386749eaff18f5fa3914a95295acb.jpg', 6, 'Easy Rice Pudding', 15, NULL, 0); -- -------------------------------------------------------- -- -- Table structure for table `recipe_20191121` -- DROP TABLE IF EXISTS `recipe_20191121`; CREATE TABLE `recipe_20191121` ( `id` mediumint(8) UNSIGNED NOT NULL DEFAULT '0', `directions_url` varchar(150) COLLATE utf8_unicode_ci NOT NULL, `image_url` varchar(200) COLLATE utf8_unicode_ci NOT NULL, `serving_size` tinyint(4) NOT NULL, `label` varchar(30) COLLATE utf8_unicode_ci NOT NULL, `cooking_time` mediumint(9) NOT NULL, `categories` enum('favorites','gluten-free','vegan','keto','paleo','dairy-free') COLLATE utf8_unicode_ci DEFAULT NULL, `favorites` tinyint(1) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Dumping data for table `recipe_20191121` -- INSERT INTO `recipe_20191121` (`id`, `directions_url`, `image_url`, `serving_size`, `label`, `cooking_time`, `categories`, `favorites`) VALUES (1, 'http://www.seriouseats.com/recipes/2011/12/chicken-vesuvio-recipe.html', 'https://www.edamam.com/web-img/e42/e42f9119813e890af34c259785ae1cfb.jpg', 4, 'Chicken Vesuvio', 60, NULL, 0), (2, 'http://www.latimes.com/food/la-fo-master-class-recipe3-20110908-story.html', 'https://www.edamam.com/web-img/980/9807d9d44544c2b1a92576ef4e409836', 1, 'Steak', 51, NULL, 0), (3, 'http://www.marthastewart.com/862754/pork-quesadillas', 'https://www.edamam.com/web-img/310/3109aa67eaebff453982004a29ae61f5.jpg', 4, 'Pork Quesadilla', 25, NULL, 0), (7, 'https://www.foodnetwork.com/recipes/sandra-lee/smothered-chicken-recipe-1950282', 'https://www.edamam.com/web-img/65a/65a7ad1b644869cd901aafd23aa3bf11.jpeg', 4, 'Smothered Chicken', 30, NULL, 0), (10, 'http://www.marthastewart.com/851307/chicken-reuben', 'https://www.edamam.com/web-img/141/141f3159fe249dd51240b9f6ff8161ff.jpg', 4, 'Chicken Reuben', 15, NULL, 0), (145, 'http://www.seriouseats.com/recipes/2011/02/creamy-tofu-sauce-recipe.html', 'https://www.edamam.com/web-img/d50/d5015f52972ebbf2746ae592d477dc4d.jpg', 2, 'Creamy Tofu Sauce Recipe', 10, NULL, 0), (146, 'https://www.marthastewart.com/1049665/baked-tofu', 'https://www.edamam.com/web-img/b71/b710b321ef24d6dc06e437729fc954dd.jpg', 16, 'Baked Tofu', 70, NULL, 0), (148, 'http://www.epicurious.com/recipes/food/views/marinated-tofu-51181210', 'https://www.edamam.com/web-img/a03/a036fb0b3e5e40dd1df4cc2b68b83330', 4, 'Marinated Tofu recipes', 45, NULL, 0), (149, 'http://www.foodrepublic.com/recipes/crispy-pan-fried-tofu-recipe/', 'https://www.edamam.com/web-img/fbb/fbb0e7c450a36325a99619cb8e8057d6', 4, 'Crispy Pan-Fried Tofu recipes', 25, NULL, 0), (150, 'http://www.cookingchanneltv.com/recipes/roger-mooking/tofu-fries.html', 'https://www.edamam.com/web-img/923/923a5695c21673352373147b02e69c52.jpg', 4, 'Tofu Fries', 25, NULL, 0), (151, 'http://www.ditchthecarbs.com/2016/01/25/keto-crepes/', 'https://www.edamam.com/web-img/835/835f91bc0dac7f322f75b85b2eba3ce6', 4, 'Keto Crepes recipes', 20, NULL, 0), (152, 'http://fluffychixcook.com/keto-chocolate-cake/', 'https://www.edamam.com/web-img/962/962c283e4a2201b4ec71a5b1b6971f3d', 12, 'Keto Chocolate Cake recipes', 2, NULL, 0), (153, 'http://www.cookstr.com/recipes/barbecued-pork-nina-simonds', 'https://www.edamam.com/web-img/4b2/4b234f17846dabd0b06ee5c4b18043ba.jpg', 8, 'Barbecued Pork', 60, NULL, 0), (154, 'https://www.chowhound.com/recipes/pork-chicharron-quesadillas-31531', 'https://www.edamam.com/web-img/bc2/bc2386d04da921a3250ff3e76aa037aa.jpg', 20, 'Pork Chicharron Quesadillas', 4, NULL, 0), (280, 'http://nomnompaleo.com/post/36060636540/paleo-sriracha', 'https://www.edamam.com/web-img/e50/e50584043c015a91a26a7a37f093d476', 2, 'Paleo Sriracha recipes', 20, 'favorites', 0), (281, 'http://www.foodrepublic.com/recipes/holy-grail-status-perfect-paleo-pie-crust-recipe/', 'https://www.edamam.com/web-img/1ca/1cab9debb6ffa9230133b17eb123e210', 8, 'Perfect Paleo Pie Crust recipe', 15, NULL, 0), (282, 'http://www.thekitchn.com/recipe-bacon-date-paleo-bites-232303', 'https://www.edamam.com/web-img/07b/07bf503e209ce697ff840e3c4d987349', 15, 'Bacon Date Paleo Bites recipes', 30, NULL, 0), (283, 'https://www.chowhound.com/recipes/grain-free-cauliflower-fried-rice-31780', 'https://www.edamam.com/web-img/a08/a0871c36533ebb21415125931b6587ea.jpg', 4, 'Grain-Free Cauliflower Fried R', 45, 'favorites', 0), (287, 'http://honestcooking.com/delicious-side-dish-baked-cauliflower/', 'https://www.edamam.com/web-img/505/50531df0f42014f1c35269289d529a38.jpg', 2, 'Baked cauliflower', 40, 'favorites', 0), (289, 'http://www.thekitchn.com/recipe-dairyfree-nutella-recipes-from-the-kitchn-213608', 'https://www.edamam.com/web-img/804/804e22679610454e527cac4fa8cdcc2d', 2, 'Dairy-Free Nutella recipes', 30, NULL, 0), (290, 'http://honestcooking.com/dairy-free-apple-pancakes-recipe/', 'https://www.edamam.com/web-img/0c4/0c49694ee37c9ce486ed8465d1ee3664.jpg', 2, 'Dairy-free Apple Pancakes', 25, 'favorites', 0), (291, 'http://www.jamieoliver.com/recipes/dessert-recipes/almond-honey-dairy-free-ice-cream/', 'https://www.edamam.com/web-img/433/4331578930944ea50d624ca3783b062d.jpg', 6, 'Almond & honey dairy-free ice ', 15, 'favorites', 1), (292, 'http://www.seriouseats.com/recipes/2012/06/gluten-free-cream-cheese-pancakes-recipe.html', 'https://www.edamam.com/web-img/9a7/9a7c1f32d17f6c660d6508165b136de9.jpg', 4, 'Gluten-Free Cream Cheese Panca', 20, 'favorites', 0), (293, 'https://www.marthastewart.com/1164898/dairy-free-smashed-potatoes', 'https://www.edamam.com/web-img/bfe/bfecdf0b1d3d2ca9f56c7a47e989d29b.jpg', 8, 'Dairy-Free Smashed Potatoes', 30, 'favorites', 0), (294, 'http://www.seriouseats.com/recipes/2011/11/gluten-free-tuesday-thanksgiving-stuffing.html', 'https://www.edamam.com/web-img/af4/af405d431723a6a5e400e05bcf353f33.jpg', 6, 'Gluten-Free Stuffing', 60, 'favorites', 0), (295, 'http://honestcooking.com/gluten-free-mac-and-cheese/', 'https://www.edamam.com/web-img/789/78993859e05cf4e542720658ae78c80b.jpg', 14, 'Gluten-Free Mac and Cheese', 25, 'favorites', 0), (296, 'http://www.jamieoliver.com/recipes/uncategorised-recipes/gluten-free-citrus-shortbread/', 'https://www.edamam.com/web-img/be9/be9a7ba855f40d1df3f76d18658b1136.jpg', 20, 'Gluten-free citrus shortbread', 30, 'favorites', 0), (297, 'https://www.chowhound.com/recipes/gluten-free-almond-crinkle-cookies-31189', 'https://www.edamam.com/web-img/dfa/dfa0dd872fd439021b81f1a725adddb5.jpg', 16, 'Gluten-Free Almond Crinkle Coo', 40, 'favorites', 0), (298, 'https://www.marthastewart.com/945295/gluten-free-oatmeal-cookies', 'https://www.edamam.com/web-img/573/573dfb503e70012138a4716f7bf74fc5.jpg', 36, 'Gluten-Free Oatmeal Cookies', 60, NULL, 0), (304, 'https://www.chowhound.com/recipes/mixed-greens-salad-31352', 'https://www.edamam.com/web-img/893/893b3132c9db111710d5e823a1a84dd7.jpg', 6, 'Mixed Greens Salad', 15, 'favorites', 0), (305, 'http://zesterdaily.com/cooking/cucumber-seed-salad/', 'https://www.edamam.com/web-img/1ad/1ada7332c4b265716789ca06a0d178c8.jpg', 2, 'Cucumber Seed Salad', 8, NULL, 0), (306, 'https://food52.com/recipes/1546-wilted-spinach-salad', 'https://www.edamam.com/web-img/2ad/2ad4f4613c53496d14f16e35d92cdc75.jpg', 8, 'Wilted Spinach Salad', 33, NULL, 0), (307, 'http://www.cookstr.com/recipes/shrimp-salad-mimi-sheraton', 'https://www.edamam.com/web-img/a35/a35a9ea5a5b0e712d8193b5ca61201d5.jpg', 6, 'Shrimp Salad', 60, NULL, 0), (308, 'http://www.jamieoliver.com/recipes/vegetables-recipes/bombay-potato-salad/', 'https://www.edamam.com/web-img/cb9/cb93e742f8f5e1e0b93a45a42d2d334e.jpg', 8, 'Bombay potato salad', 40, NULL, 0), (309, 'http://www.seriouseats.com/recipes/2015/04/crispy-cheese-tacos-recipe.html', 'https://www.edamam.com/web-img/9fb/9fbdf8a084eb5fbbf8e116867a99e8cc.jpg', 8, 'Crispy Cheese Tacos Recipe', 15, 'favorites', 0), (310, 'http://ruhlman.com/2011/05/veal-salt/', 'https://www.edamam.com/web-img/8a2/8a2a6a50ad6cdf99869a402b69f3639e.jpeg', 2, 'Veal Salt', 17, NULL, 0), (311, 'http://www.davidlebovitz.com/strawberry-vodka-recipe-infusion/', 'https://www.edamam.com/web-img/018/018c94e42ca9816d6800e22e1d967906.jpg', 14, 'Strawberry Vodka', 36, NULL, 0), (312, 'http://notwithoutsalt.com/roasted-strawberry-milkshake/', 'https://www.edamam.com/web-img/956/956ae36a54b50f51a2844e531bd7039d', 4, 'Roasted Strawberry Milkshake r', 50, NULL, 0), (313, 'http://nymag.com/restaurants/articles/recipes/tamarindrumpunch.htm', 'https://www.edamam.com/web-img/bbe/bbec917e06aa187c963d10c47be7d93d.jpg', 1, 'Tamarind Rum Punch', 3, NULL, 0), (314, 'http://www.marthastewart.com/337178/asian-noodle-salad', 'https://www.edamam.com/web-img/e5b/e5bb9103fc2fa989d3af3174ec11868b.jpg', 2, 'Asian Noodle Salad', 15, NULL, 0), (315, 'http://www.delish.com/cooking/recipe-ideas/recipes/a32913/noodle-pancakes-120801/', 'https://www.edamam.com/web-img/920/9202daf12ac490bc0d6a12371ced0c82.jpg', 4, 'Noodle Pancakes', 22, 'favorites', 0), (316, 'https://food52.com/recipes/17766-korean-cold-noodle-salad', 'https://www.edamam.com/web-img/629/629ed6a2cfef5bc7fc99ed039f62fa24.JPG', 4, 'Korean cold noodle salad', 10, NULL, 0), (317, 'https://www.menshealth.com/recipes/chicken-noodle-soup', 'https://www.edamam.com/web-img/b14/b140daf0b4d0b3f111750c46f1f07501.jpg', 8, 'Chicken-Noodle Soup', 19, NULL, 0), (318, 'http://www.jamieoliver.com/recipes/vegetables-recipes/pepper-noodle-salad/', 'https://www.edamam.com/web-img/9b3/9b3f8781553ef7943727c019089c490b.jpg', 4, 'Pepper & noodle salad', 30, NULL, 0), (325, 'http://www.chowhound.com/recipes/creamed-chicken-18860', 'https://www.edamam.com/web-img/8dc/8dcf8e8c18adde67992fabe142e4ae04', 5, 'Creamed Chicken recipes', 30, 'favorites', 0), (326, 'https://www.tastingtable.com/entry_detail/chefs_recipes/10154/Matzo_balls_watch_your_back.htm', 'https://www.edamam.com/web-img/4dd/4dd1c7a0d8b00e8929bd6babf0968ba2.jpg', 8, 'Kreplach (Chicken Dumplings)', 10, NULL, 0), (327, 'https://food52.com/recipes/14954-chicken-quinoa', 'https://www.edamam.com/web-img/560/5606f4fb972e0789464fecdc9ca595aa.JPG', 2, 'Chicken Quinoa', 29, NULL, 0), (339, 'http://www.grouprecipes.com/24105/black-rasperry-scones.html', 'https://www.edamam.com/web-img/73e/73e9dcd11a2c7b92ed02e279c1ca0b9c.JPG', 8, 'Black rasperry scones Recipe', 20, NULL, 0), (340, 'http://recipes-plus.com/recipe/baked-rasperry-dessert-meringue-topping-18116', 'https://www.edamam.com/web-img/567/5674319445999be120f9d16a06995c30', 6, 'Baked Rasperry Dessert with Me', 50, NULL, 0), (341, 'http://www.food.com/recipe/low-fat-chocolate-berry-smoothie-283353', 'https://www.edamam.com/web-img/8a1/8a1800bdeab44b41b852d33241575005.jpg', 3, 'Low Fat Chocolate Berry Smooth', 5, NULL, 0), (342, 'http://www.marthastewart.com/335621/cherry-beer', 'https://www.edamam.com/web-img/1f2/1f24cb7edd76242ee3eba0f5f57c283f.jpg', 6, 'Cherry Beer', 2, NULL, 0), (343, 'http://www.seriouseats.com/recipes/2013/03/candied-cherry-tomatoes-recipe.html', 'https://www.edamam.com/web-img/cbf/cbf94fb62e0ab62ed3601f60ce5601dd.jpg', 24, 'Candied Cherry Tomatoes', 30, NULL, 0), (344, 'http://www.epicurious.com/recipes/food/views/Cherry-Smash-230611', 'https://www.edamam.com/web-img/14e/14ec9fff5cd1dfb5a98fb3d1ed486f71', 2, 'Cherry Smash recipes', 25, NULL, 0), (345, 'http://foodandstyle.com/2014/06/26/sour-beer-and-cherry-punch/', 'https://www.edamam.com/web-img/155/1556063eb305f58925949df66acd3b39', 4, 'Sour Beer and Cherry Punch rec', 10, NULL, 0), (346, 'http://www.chowhound.com/recipes/cherry-sugar-fizz-10382', 'https://www.edamam.com/web-img/ba9/ba9bc6206c8ff6c932ca59d6df8b6473.jpg', 4, 'Cherry Sugar Fizz Recipe', 12, NULL, 0), (347, 'http://nymag.com/restaurants/articles/recipes/bloodorangemimosa.htm', 'https://www.edamam.com/web-img/916/916cfbfecd2cec42aef45990560e06df.jpg', 4, 'Blood-Orange Mimosa', 3, NULL, 0), (348, 'http://www.marthastewart.com/1132604/orange-glaze', 'https://www.edamam.com/web-img/a29/a29d3197163962e25ec044d83649dcc4.jpg', 4, 'Orange Glaze', 8, NULL, 0), (349, 'http://www.chowhound.com/recipes/orange-blossom-10273', 'https://www.edamam.com/web-img/722/722c6052effd11b42ee785941f425bfc', 1, 'Orange Blossom recipes', 5, NULL, 0), (350, 'http://www.cookstr.com/recipes/orange-slices-in-orange-syrup', 'https://www.edamam.com/web-img/693/693aa63682977c1f0e7d27217d531989.jpg', 4, 'Orange Slices in Orange Syrup', 15, NULL, 0), (351, 'http://www.bonappetit.com/recipe/blueberry-orange-smoothie', 'https://www.edamam.com/web-img/ffa/ffa5d323b90fb1fa7b912014f5908fe9.jpg', 2, 'Blueberry-Orange Smoothie', 10, NULL, 0), (352, 'https://www.foodnetwork.com/recipes/cream-of-nectar-sno-ball-recipe-1925644', 'https://www.edamam.com/web-img/859/8597e8e64b3c7256240cd55de980a7d9.jpeg', 4, 'Cream of Nectar Sno-Ball', 10, NULL, 0), (353, 'http://www.myrecipes.com/recipe/seeded-agave-nectar-mustard', 'https://www.edamam.com/web-img/364/3642f76d6130e62f1014c4680816c810.jpg', 2, 'Seeded Agave Nectar Mustard', 10, NULL, 0), (354, 'http://www.marthastewart.com/337825/golden-nectar-smoothie', 'https://www.edamam.com/web-img/025/025dc32fae663b9ccb8885dc9505208f', 4, 'Golden Nectar Smoothie recipes', 15, NULL, 0), (356, 'http://www.seriouseats.com/recipes/2013/02/miso-agave-mayonnaise-recipe.html', 'https://www.edamam.com/web-img/03f/03fbd82f946ff065ff5b0842801cf581.jpg', 3, 'Miso-Agave Mayonnaise (Vegan) ', 5, NULL, 0), (357, 'http://www.seriouseats.com/recipes/2011/06/skate-wing-with-tomatoes-and-capers-recipe.html', 'https://www.edamam.com/web-img/b09/b0951dc61611481e3ccf5edb89ff0921.jpg', 4, 'Skate Wing with Tomatoes and C', 20, NULL, 0), (358, 'http://www.foodrepublic.com/recipes/when-pigs-fly-wings-recipe/', 'https://www.edamam.com/web-img/be6/be65edb3ec48bda4ca2bfcbde7116d9c', 4, 'When Pigs Fly Wings recipes', 45, NULL, 0), (359, 'https://www.marthastewart.com/1016121/ginger-scallion-wings', 'https://www.edamam.com/web-img/3f9/3f93fa18f094032a6f8008daa1a776e8.jpg', 14, 'Ginger-Scallion Wings', 45, NULL, 0), (360, 'http://www.epicurious.com/recipes/food/views/Parmesan-Mustard-Chicken-Wings-10251', 'https://www.edamam.com/web-img/232/2322d2801e2915e7212720c73dbcebfd.jpg', 6, 'Parmesan Mustard Chicken Wings', 55, NULL, 0), (361, 'http://www.pbs.org/food/recipes/kevins-famous-west-coast-wings/', 'https://www.edamam.com/web-img/416/41651e5723a613374327fa594d892a58', 7, 'Kevin’s Famous West Coast Wing', 30, NULL, 0), (362, 'http://honestcooking.com/cooking-the-magazines-buffalo-wing-hummus/', 'https://www.edamam.com/web-img/820/820d13f57296a6e291ec4b7d0e6ee55c.jpg', 4, 'Buffalo Wing Hummus', 5, NULL, 0), (363, 'http://www.simplyrecipes.com/recipes/spicy_breaded_chicken_wings/', 'https://www.edamam.com/web-img/c1d/c1d1fccbb18109cf35a1679674ce2b85', 4, 'Spicy Breaded Chicken Wings re', 55, NULL, 0), (364, 'http://www.cookingchanneltv.com/recipes/oven-roasted-chicken-wings.html', 'https://www.edamam.com/web-img/1a1/1a1ba6c28e65f7b1c3f99579f09df086.jpg', 4, 'Oven-Roasted Chicken Wings', 40, NULL, 0), (365, 'https://www.menshealth.com/recipes/chicken-not-wings', 'https://www.edamam.com/web-img/1a1/1a1957c06915c77166a475c1041f0106.jpg', 8, 'Chicken \"Not\" Wings', 35, NULL, 0), (371, 'https://smittenkitchen.com/2010/01/cranberry-syrup-and-an-intensely-almond-cake/', 'https://www.edamam.com/web-img/417/417a443e47314ca1e2dce198caa0d5ac', 4, 'Cranberry Syrup recipes', 40, NULL, 0), (372, 'http://www.seriouseats.com/recipes/2016/08/iced-matcha-green-tea-recipe.html', 'https://www.edamam.com/web-img/643/643d4bad9cc21284f7f52b1b9b862848.jpg', 2, 'Frothy Iced Matcha Green Tea R', 2, NULL, 0), (373, 'http://ruhlman.com/2011/08/beer-vinegar-recipe/', 'https://www.edamam.com/web-img/04d/04de9840ef7b6bc8ed5bf5f132bba398.jpg', 4, 'Beer Vinegar', 9, NULL, 0), (374, 'http://notwithoutsalt.com/light-desserts/', 'https://www.edamam.com/web-img/b78/b785be5c893980a639d28c0b24ec3d51', 4, 'Italian Coffee Granita recipes', 35, NULL, 0), (378, 'http://www.marthastewart.com/340994/chicken-parmigiana', 'https://www.edamam.com/web-img/f14/f14c9894afc5574d0e12cdb72f6062e0', 4, 'Chicken Parmigiana recipes', 35, NULL, 0), (380, 'http://www.bbc.co.uk/food/recipes/chickenalocacciatore_70349', 'https://www.edamam.com/web-img/2ca/2ca946a40338e9b93c1d14dec518e1b8.jpg', 6, 'Chicken cacciatore', 60, NULL, 0), (381, 'http://www.cookingchanneltv.com/recipes/chicken-saltimbocca.html', 'https://www.edamam.com/web-img/36f/36f50faee795ad7c689c16afb606465d.jpg', 6, 'Chicken Saltimbocca', 35, NULL, 0), (382, 'http://www.jamieoliver.com/recipes/chicken-recipes/chicken-paella/', 'https://www.edamam.com/web-img/6b2/6b24bd420a1ddc88c0476c90919f2e2e.jpg', 10, 'Chicken ‘paella’', 60, NULL, 0), (393, 'http://www.marthastewart.com/340566/sauteed-spinach', 'https://www.edamam.com/web-img/caa/caa67c669b063cde086c711ea2d2ce62.jpg', 4, 'Sauteed Spinach', 15, NULL, 0), (394, 'http://www.epicurious.com/recipes/food/views/Spinach-Gunge-365772', 'https://www.edamam.com/web-img/698/698124a525a8bd651784273fe77ca310.jpg', 4, 'Spinach Gunge', 17, 'favorites', 0), (395, 'http://www.jamieoliver.com/recipes/pasta-recipes/spinach-lasagne/', 'https://www.edamam.com/web-img/ef9/ef96b1ac7cc124f7404ef245f5e8db2a.jpg', 6, 'Spinach lasagne', 50, 'favorites', 0), (396, 'http://www.foodandwine.com/recipes/creamy-spinach', 'https://www.edamam.com/web-img/a90/a90908da3e7d9bc5c9ffdcbb3e3983e5.jpg', 4, 'Creamy Spinach', 20, NULL, 0), (397, 'http://www.cookstr.com/recipes/creamed-spinach-3-hans-rueffert', 'https://www.edamam.com/web-img/21d/21dcc2e31bd4e6ac5b7f1589f0176e5b.jpg', 4, 'Creamed Spinach', 15, 'favorites', 0), (398, 'http://www.eatingwell.com/recipe/250846/spinach-apple-juice', 'https://www.edamam.com/web-img/d4a/d4a3c86ae3a941c74df4b06348e12008.jpg', 2, 'Spinach-Apple Juice', 15, NULL, 0), (399, 'http://www.delish.com/cooking/recipe-ideas/recipes/a25103/garlicky-spinach-1078/', 'https://www.edamam.com/web-img/44b/44b8dbddbd11aa4e9ab7f30c8e5d7029.jpg', 2, 'Garlicky Spinach', 10, NULL, 0), (401, 'http://familyfoodie.com/shower-recipes-crustless-spinach-quiche-sundaysupper/', 'https://www.edamam.com/web-img/786/786e22eb33cb812e5040a62c19a1936a.jpg', 6, 'Crustless Spinach Quiche', 42, NULL, 0), (406, 'http://www.chowhound.com/recipes/cherry-sugar-fizz-10382', 'https://www.edamam.com/web-img/5b6/5b6a6d84d8219f5e65f6324a4cb9923e', 4, 'Cherry Sugar Fizz recipes', 5, NULL, 0), (407, 'http://www.loveandoliveoil.com/2014/07/cherry-lambic-beer-milkshakes.html', 'https://www.edamam.com/web-img/265/265f175b27a0c74883219ff8bae5b2e7', 2, 'Cherry Lambic Milkshakes recip', 15, NULL, 0), (408, 'https://www.realsimple.com/food-recipes/browse-all-recipes/cherry-manhattan', 'https://www.edamam.com/web-img/ed9/ed9182365d13260da84b02359bfd7273.jpg', 1, 'Cherry Manhattan', 5, NULL, 0), (409, 'http://www.latimes.com/food/la-fo-granitarec3-20110901-story.html', 'https://www.edamam.com/web-img/533/53312676cf1848cbd4c9cd68ed3ba89d.jpg', 4, 'Cherry granita', 15, NULL, 0), (410, 'http://www.foodandwine.com/recipes/sour-cherry-lambic-sorbet', 'https://www.edamam.com/web-img/9a6/9a6f91c7c7e0b13d7c0bc9bffeabe34c.jpg', 4, 'Sour-Cherry Lambic Sorbet', 45, NULL, 0), (411, 'http://www.marthastewart.com/284463/pizza-frizza', 'https://www.edamam.com/web-img/9a8/9a87dd2cd93448b915b0199a2e2c646e.jpg', 4, 'Pizza Frizza', 31, 'favorites', 0), (412, 'http://smittenkitchen.com/2010/05/shaved-asparagus-pizza/', 'https://www.edamam.com/web-img/69b/69b8d995e081e796213efba80596e8ce', 4, 'Shaved Asparagus Pizza recipes', 45, NULL, 0), (413, 'http://www.foodrepublic.com/recipes/grilled-blt-pizza-recipe/', 'https://www.edamam.com/web-img/2ac/2ac98d88117ff8f2327d302ab290b164', 4, 'Grilled BLT Pizza recipes', 25, NULL, 0), (414, 'http://www.epicurious.com/recipes/food/views/Pizza-6-Pan-fried-Hawaiian-Pizza-51114420', 'https://www.edamam.com/web-img/502/502f2cc27328b72daf54e20776b139e3.jpg', 6, 'Pizza 6: Pan-fried Hawaiian Pi', 20, NULL, 0), (415, 'http://www.kitchendaily.com/recipe/cauliflower-alfredo-veggie-pizza', 'https://www.edamam.com/web-img/56b/56bf65db80174c564d8adc23f6711c2d.jpg', 8, 'Cauliflower Alfredo Veggie Piz', 48, NULL, 0), (416, 'http://honestcooking.com/fresh-homemade-pizza-recipe/', 'https://www.edamam.com/web-img/45b/45b6d85ac1b867219a41efe2a29d7a9a.jpg', 4, 'Fresh Homemade Pizza', 35, NULL, 0), (417, 'http://www.eatingwell.com/recipe/249873/pizza-roll-up/', 'https://www.edamam.com/web-img/56b/56b056d1c03896c5532e7cd873b9f8c7', 4, 'Pizza Roll-Up recipes', 15, NULL, 0), (418, 'https://www.realsimple.com/food-recipes/browse-all-recipes/pizza-margherita', 'https://www.edamam.com/web-img/af9/af99babb7d19e4c0d64e9047d59bf269.jpg', 4, 'Pizza Margherita', 25, NULL, 0), (419, 'http://www.cookstr.com/recipes/ground-chicken-pizza', 'https://www.edamam.com/web-img/705/7055effa4bd63c8a4fcbe2881ab85326.jpg', 4, 'Ground Chicken Pizza', 60, NULL, 0), (456, 'https://food52.com/recipes/8807-salad-abc-apples-bacon-cumin-cheese', 'https://www.edamam.com/web-img/2bd/2bdd379ea57d5066c1b447cf0415f490.JPG', 4, 'Salad ABC - Apples, Bacon, Cum', 24, NULL, 0), (457, 'http://www.seriouseats.com/recipes/2011/11/crab-toasts-with-sriracha-mayonnaise-recipe.html', 'https://www.edamam.com/web-img/d71/d71108e1d212d38b837d196850ed958e.jpg', 4, 'Crab Toasts with Sriracha Mayo', 15, NULL, 0), (458, 'https://www.tastingtable.com/entry_detail/chefs_recipes/1944/Reimagining_the_caprese_salad.htm', 'https://www.edamam.com/web-img/7e1/7e1de6821a065ac1f1465a6d95705f1d.jpg', 4, 'Heirloom Tomato and Mozzarella', 9, NULL, 0), (459, 'http://www.foodrepublic.com/recipes/summer-corn-with-lime-and-manchego-recipe/', 'https://www.edamam.com/web-img/fbf/fbf5e13efa74408d0a830a439e8d60d4.jpg', 6, 'Summer Corn With Lime And Manc', 35, NULL, 0), (460, 'http://www.seriouseats.com/recipes/2013/02/singaporean-singapore-chili-crab-recipe.html', 'https://www.edamam.com/web-img/aa5/aa536f477527a67d6ccb82423c9e2fa5.jpg', 2, 'Singaporean Chili Crab Recipe', 15, NULL, 0), (461, 'http://www.seriouseats.com/recipes/2011/11/carrot-and-avocado-salad-with-crunchy-seeds-recipe.html', 'https://www.edamam.com/web-img/3fb/3fbbda164dadd5d3ff370f54bb00bbdb.jpg', 4, 'Carrot and Avocado Salad with ', 60, NULL, 0), (462, 'http://www.kraftrecipes.com/recipes/abc-soup-112359.aspx', 'https://www.edamam.com/web-img/860/860d6c3528160119f729337a32ad45e3.jpg', 6, '\"ABC\" Soup', 30, 'favorites', 1), (472, 'http://www.saveur.com/article/Recipes/Three-Cheese-Mixture', 'https://www.edamam.com/web-img/5b3/5b35a46cd5e761f093e382273f6cc68e.jpg', 4, 'Three-Cheese Mixture', 7, NULL, 0), (473, 'https://www.marthastewart.com/345229/goat-cheese-frosting', 'https://www.edamam.com/web-img/967/967190a706932e29ea209d3d4b3fe20c.jpg', 10, 'Goat Cheese Frosting', 10, NULL, 0), (474, 'http://www.epicurious.com/recipes/food/views/Cheese-Omelette-51262180', 'https://www.edamam.com/web-img/06c/06c806cbf05be094b085fa81e0620d2e', 1, 'Cheese Omelette recipes', 5, NULL, 0), (475, 'http://www.jamieoliver.com/recipes/eggs-recipes/simple-cheese-omelette/', 'https://www.edamam.com/web-img/80f/80f11ea92070e2ccfc6d543862a4127f.jpg', 1, 'Simple cheese omelette', 10, NULL, 0), (476, 'http://www.bbc.co.uk/food/recipes/cheesescones_1287', 'https://www.edamam.com/web-img/8b2/8b2f81156a3b26e898a595f4a4704749.jpg', 10, 'Cheese scones', 60, NULL, 0), (477, 'http://thepioneerwoman.com/cooking/pimento-cheese/', 'https://www.edamam.com/web-img/c4c/c4c492f7b5540dc91032d63ac8f933bc', 12, 'Pimento Cheese recipes', 15, NULL, 0), (478, 'http://www.foodrepublic.com/recipes/swiss-cheese-fondue-recipe/', 'https://www.edamam.com/web-img/eb3/eb3b7fcabff47bd8dfc422a8469374ea', 4, 'Swiss Cheese Fondue recipes', 40, NULL, 0), (479, 'http://honestcooking.com/cheese-bites/', 'https://www.edamam.com/web-img/b08/b089e0b763881289ad320c2caaea7c30.jpg', 6, 'Cheese bites', 45, NULL, 0), (480, 'https://www.foodnetwork.com/recipes/three-cheese-grilled-cheese-recipe-1973233', 'https://www.edamam.com/web-img/f2a/f2abf3d253f2142b5339de3465a022fc.jpeg', 16, 'Three-Cheese Grilled Cheese', 25, NULL, 0), (481, 'http://www.foodrepublic.com/recipes/pasta-frittata-recipe/', 'https://www.edamam.com/web-img/918/91893c1b387c35e0c3c3937c3308a8c3', 4, 'Pasta Frittata recipes', 15, 'favorites', 0), (482, 'http://www.marthastewart.com/349716/pinky-pasta', 'https://www.edamam.com/web-img/549/54968edfd2ec18438760ed27680a2dc7', 6, 'Pinky Pasta recipes', 30, 'favorites', 0), (483, 'http://honestcooking.com/stove-top-mac-cheese-recipe/', 'https://www.edamam.com/web-img/c66/c661f2829c1c1454763501816b5895f7.jpg', 4, 'Creamy pasta', 15, 'favorites', 0), (484, 'http://www.bonappetit.com/recipe/pasta-with-pancetta-and-miso', 'https://www.edamam.com/web-img/fb2/fb236074102bc19e60e975e0809f4deb', 2, 'Pasta with Pancetta and Miso r', 35, NULL, 0), (485, 'http://www.seriouseats.com/recipes/2012/02/dinner-tonight-swiss-chard-and-pasta-soup.html', 'https://www.edamam.com/web-img/bf9/bf95103d6f82239d3d7fa4494d0beef5.jpg', 4, 'Swiss Chard and Pasta Soup Rec', 60, NULL, 0), (486, 'https://food52.com/recipes/3898-avocado-pasta-salad', 'https://www.edamam.com/web-img/fa8/fa8d9e1d95ef29dc74813fbc9dc336ad.jpg', 4, 'Avocado Pasta Salad', 39, NULL, 0), (488, 'http://www.epicurious.com/recipes/food/views/Scrambled-Egg-Pasta-352270', 'https://www.edamam.com/web-img/d60/d6071c0bb79febc3f853d8169e2bfb25', 4, 'Scrambled Egg Pasta recipes', 20, NULL, 0), (489, 'http://www.delish.com/cooking/recipe-ideas/recipes/a18417/pasta-puttanesca-tuna-122173/', 'https://www.edamam.com/web-img/407/407dc7452b5a12641ecb4e6552713b95.jpg', 6, 'Pasta Puttanesca and Tuna', 25, NULL, 0), (535, 'http://www.epicurious.com/recipes/food/views/zucchini-noodles-with-anchovy-butter-56389802', 'https://www.edamam.com/web-img/d05/d05bdc0d9cca48ff7cede2b8159e7ad8', 6, 'Zucchini Noodles with Anchovy ', 20, NULL, 0), (541, 'https://www.realsimple.com/food-recipes/browse-all-recipes/noodle-salad', 'https://www.edamam.com/web-img/9d3/9d33d463cd826fa78e44bb39457f4158.jpg', 4, 'Noodle Salad', 30, NULL, 0), (542, 'http://www.goodhousekeeping.com/food-recipes/a5177/seafood-noodle-soup-supper-1391/', 'https://www.edamam.com/web-img/6e2/6e2c77a062df58f6ec339a284706e097.jpg', 3, 'Seafood Noodle-Soup Supper', 30, NULL, 0), (543, 'http://www.cookingchanneltv.com/recipes/noodle-kugel.html', 'https://www.edamam.com/web-img/383/383fde345d21bf9b76f056093b259d5a.jpg', 6, 'Noodle Kugel', 50, NULL, 0), (553, 'http://www.bbc.co.uk/food/recipes/strawberrydiaquiri_86315', 'https://www.edamam.com/web-img/8d1/8d1ba637a2a97f2ebf926420a699a10b.jpg', 1, 'Strawberry Daiquiri', 15, 'favorites', 0), (554, 'https://food52.com/recipes/5679-strawberry-refreshment', 'https://www.edamam.com/web-img/ec8/ec831cdf67af72374fd255c1fc9235f0.jpg', 1, 'Strawberry Refreshment', 36, NULL, 0), (555, 'http://www.seriouseats.com/recipes/2012/05/sparkling-strawberry-sangria-recipe.html', 'https://www.edamam.com/web-img/f3d/f3df36f84726dab7017720c50246d61e.jpg', 6, 'Sparkling Strawberry Sangria R', 10, NULL, 0), (556, 'http://www.epicurious.com/recipes/food/views/strawberry-milk-shakes-238532', 'https://www.edamam.com/web-img/58f/58fdd067f44b9fb7ab02ed945fd9430f', 4, 'Strawberry Milk Shakes recipes', 50, NULL, 0), (558, 'http://honestcooking.com/strawberry-pancakes-recipe/', 'https://www.edamam.com/web-img/372/3722fc680622ee9a6a3f7807aeb6a767.jpg', 2, 'Strawberry Pancakes', 20, NULL, 0), (559, 'http://pinchmysalt.com/whats-simpler-than-a-smoothie-strawberry-milk/', 'https://www.edamam.com/web-img/262/26294a1751de13540d6ceb25a0b20658', 2, 'Strawberry Milk recipes', 10, NULL, 0), (560, 'http://www.delish.com/cooking/recipe-ideas/recipes/a24878/strawberry-sodas-512/', 'https://www.edamam.com/web-img/d3b/d3b47d0967570a336e706c3b51d4c2bf.jpg', 5, 'Strawberry Sodas', 10, NULL, 0), (561, 'https://www.foodnetwork.com/recipes/sandra-lee/strawberry-cream-martini-recipe-1940770', 'https://www.edamam.com/web-img/0a0/0a0543c367ee92af823568bbf8126439.jpeg', 2, 'Strawberry Cream Martini', 2, NULL, 0), (562, 'https://food52.com/recipes/13294-summer-water', 'https://www.edamam.com/web-img/13d/13d49250f0f82bff4d4607e654adba03.jpg', 4, 'Summer water', 1, 'favorites', 0), (563, 'http://www.marthastewart.com/332834/bacon-wrapped-water-chestnuts', 'https://www.edamam.com/web-img/99c/99cf95b82863850d20d35bef3aeacdc3.jpg', 12, 'Bacon-Wrapped Water Chestnuts', 46, NULL, 0), (564, 'http://www.chowhound.com/recipes/cucumber-orange-water-11282', 'https://www.edamam.com/web-img/b86/b86edddf1273ad8a3cc3b6350618e081.jpg', 6, 'Cucumber-Orange Water Recipe', 32, NULL, 0), (565, 'http://www.epicurious.com/recipes/food/views/grapefruit-sparkling-water', 'https://www.edamam.com/web-img/009/0093a12521ae2dc285f9e80d53e2598d', 1, 'Grapefruit Sparkling Water rec', 5, NULL, 0), (566, 'http://www.bonappetit.com/recipe/rose-water-marshmallows', 'https://www.edamam.com/web-img/bdd/bdd85d8cc40bba944452d11e5544e072', 70, 'Rose Water Marshmallows recipe', 35, NULL, 0), (567, 'http://www.latimes.com/food/la-fo-granitarec5-20110901-story.html', 'https://www.edamam.com/web-img/1ab/1ab66b1f135b18e2c2b05f49c64f3bc6.jpg', 6, 'Rose water granita', 15, NULL, 0), (568, 'http://www.seriouseats.com/recipes/2013/09/spicy-honeydew-melon-coconut-water-agua-fresca-recipe.html', 'https://www.edamam.com/web-img/7ce/7cea53276632192736b0120407b40b9a.jpg', 4, 'Spicy Honeydew and Coconut Wat', 30, NULL, 0), (569, 'https://www.foodnetwork.com/recipes/giada-de-laurentiis/spa-water-2495690', 'https://www.edamam.com/web-img/1bf/1bf6b1ba6b72e96270ef0e80c9afa9a0.jpeg', 6, 'Spa Water', 40, NULL, 0), (570, 'http://www.myrecipes.com/recipe/blackberry-sage-water', 'https://www.edamam.com/web-img/532/532b2d7d5c989587d4ac8eaba7bcd121.jpg', 1, 'Blackberry-Sage Water', 5, NULL, 0), (640, 'http://www.tastingtable.com/entry_detail/chefs_recipes/13040/Spicy_Stir_Fried_Pork_Recipe_from_our_Test_Kitchen.htm', 'https://www.edamam.com/web-img/952/95225ef065f31609859c3e1feaf44f26', 4, 'Fry Away Home recipes', 5, NULL, 0), (641, 'http://www.marthastewart.com/317102/dinner-home-fries', 'https://www.edamam.com/web-img/265/265558f0aa746061684e4a18aeb2db78.jpg', 4, 'Dinner Home Fries', 35, NULL, 0), (642, 'http://www.foodrepublic.com/recipes/best-basic-home-fries-recipe/', 'https://www.edamam.com/web-img/eca/ecad2a0bba2dabe360cde64793fed590', 4, 'Best Basic Home Fries recipes', 45, NULL, 0), (643, 'https://www.realsimple.com/food-recipes/browse-all-recipes/home-fries', 'https://www.edamam.com/web-img/46e/46e995cf653291b3eed0dfa599060afe.jpg', 6, 'Home Fries', 30, NULL, 0), (644, 'https://food52.com/recipes/14253-chasing-cezanne-carrot-corn-salad', 'https://www.edamam.com/web-img/c2a/c2ad05b20d791db49797342ab32b1a24.JPG', 2, 'Chasing Cézanne Carrot & Corn ', 37, NULL, 0), (645, 'http://honestcooking.com/japanese-home-cooking-okonomiyaki-pancakes/', 'https://www.edamam.com/web-img/a52/a52fcb86dc8d84bbcd4f7e077ab6c9ee.jpg', 2, 'Japanese home cooking: Okonomi', 20, NULL, 0), (646, 'http://www.biggirlssmallkitchen.com/2014/08/how-to-cook-a-lobster-feast-at-home.html', 'https://www.edamam.com/web-img/292/29271ebbda24e61d420dab08736012fc', 2, 'An At-Home Lobster Feast recip', 50, NULL, 0), (647, 'http://www.thekitchn.com/how-to-make-diner-style-home-fries-230152', 'https://www.edamam.com/web-img/0a7/0a79c82dfbb6bc3070d8c4b45bf3d938', 3, 'How To Make Home Fries recipes', 50, NULL, 0), (648, 'http://www.epicurious.com/recipes/food/views/Curried-Egg-Salad-Sandwiches-105357', 'https://www.edamam.com/web-img/416/41670586041de25440e76b966fb66220', 6, 'Curried Egg Salad Sandwiches r', 30, NULL, 0), (694, 'http://www.marthastewart.com/945323/fried-egg', 'https://www.edamam.com/web-img/c2b/c2be725772f0e17dfdea596f5a49eb90.jpg', 1, 'Fried Egg', 36, NULL, 0), (695, 'http://www.chowhound.com/recipes/rolled-egg-28844', 'https://www.edamam.com/web-img/82c/82c413a96206893705fa57e626d122b4', 1, 'Rolled Egg recipes', 25, NULL, 0), (696, 'http://www.seriouseats.com/recipes/2016/01/homemade-egg-mcmuffin-mcdonalds-recipe.html', 'https://www.edamam.com/web-img/b59/b59db6e8895ec9d4e47ab504439963ad.jpg', 4, 'Homemade Egg McMuffin Recipe', 10, NULL, 0), (697, 'https://food52.com/recipes/15564-the-winter-egg', 'https://www.edamam.com/web-img/495/495493884a39b49f5b69d040bce5f851.jpg', 1, 'The Winter Egg', 35, NULL, 0), (698, 'http://www.eatingwell.com/recipe/250195/devilish-egg', 'https://www.edamam.com/web-img/81b/81b4ccdeff15f14726a152164b6c920f.JPG', 1, 'Devilish Egg', 10, NULL, 0), (699, 'http://www.bonappetit.com/recipe/cured-egg-yolks', 'https://www.edamam.com/web-img/cb6/cb6e819c4d43299ad77a7219042cdb32', 4, 'Cured Egg Yolks recipes', 55, NULL, 0), (700, 'http://thepioneerwoman.com/cooking/egg-in-a-hole-see-alternate-names-below/', 'https://www.edamam.com/web-img/2ae/2ae385e81a990365c96544f47eb1262e', 1, 'Egg-in-a-Hole recipes', 10, NULL, 0), (701, 'http://www.cookingchanneltv.com/recipes/mark-bittman/egg-noodle.html', 'https://www.edamam.com/web-img/247/247540448d480199673b62f7b0899ed1.jpg', 4, 'Egg Noodle', 15, NULL, 0), (702, 'http://honestcooking.com/egg-muffins-lifestyle-changes/', 'https://www.edamam.com/web-img/471/4710d6b52277471f56cf058c3fc80019.jpeg', 3, 'Egg Muffins', 25, NULL, 0), (712, 'http://www.seriouseats.com/recipes/2015/09/apple-sparkling-wine-sherry-cocktail-recipe.html', 'https://www.edamam.com/web-img/97c/97ca85ce05ff03fbe74abb1e4c7684d1.jpg', 1, 'Sparkling Apple Sherry Cocktai', 5, NULL, 0), (713, 'http://www.marthastewart.com/354108/shaken-and-stirred-big-apple', 'https://www.edamam.com/web-img/ffe/ffec3dfe693bd7e995d3466543594a06', 4, 'The Big Apple recipes', 15, NULL, 0), (714, 'http://www.chowhound.com/recipes/apple-ice-10561', 'https://www.edamam.com/web-img/52b/52b4fe1b30c50791dadd35824340eb7c.jpg', 8, 'Apple Ice Recipe', 15, NULL, 0), (715, 'http://www.epicurious.com/recipes/food/views/sparkling-apple-cocktail-362470', 'https://www.edamam.com/web-img/112/112429f20a725ba2f2e8f3ab5a71b60f', 1, 'Sparkling Apple Cocktail recip', 10, NULL, 0), (716, 'http://www.jamieoliver.com/recipes/fruit-recipes/grapefruit-carrot-apple-juice/', 'https://www.edamam.com/web-img/ba0/ba0a2fa6a0ca32b1012d576dda10479e.jpg', 2, 'Grapefruit, carrot & apple jui', 5, NULL, 0), (717, 'https://food52.com/recipes/8730-apple-slaw', 'https://www.edamam.com/web-img/a3a/a3ad2b6121c0d0e0d750b3b3879e6a52.jpeg', 3, 'Apple Slaw', 16, NULL, 0), (718, 'http://www.foodandwine.com/recipes/apple-bomb', 'https://www.edamam.com/web-img/4b9/4b9169a70befe46eec9ebf30e21e00e9.jpg', 1, 'Apple Bomb', 6, NULL, 0), (719, 'https://www.foodnetwork.com/recipes/giada-de-laurentiis/apple-martini-with-sour-apple-hard-candy-recipe-1944771', 'https://www.edamam.com/web-img/b83/b8395a5dc2fa5d7af7399365418257f2.jpeg', 1, 'Apple Martini with Sour Apple ', 3, NULL, 0), (720, 'http://www.myrecipes.com/recipe/apple-cider-syrup', 'https://www.edamam.com/web-img/9d6/9d6e0a01abe3f05f8c9449337ed110fc.jpg', 4, 'Apple Cider Syrup', 20, NULL, 0), (757, 'http://www.seriouseats.com/recipes/2012/03/the-kale-mary-kale-juice-tomato-celery-recipe.html', 'https://www.edamam.com/web-img/5b2/5b2ca4e9ec5aa7d2d82a804b1a20b0e3.jpg', 2, 'The Kale Mary Recipe', 15, NULL, 0), (758, 'http://www.marthastewart.com/1145944/plain-and-simple-kale', 'https://www.edamam.com/web-img/1bc/1bc782210eaea849a64dcac06e1151e6.jpg', 4, 'Plain and Simple Kale', 35, NULL, 0), (759, 'https://food52.com/recipes/14182-kale-crisps', 'https://www.edamam.com/web-img/00b/00b85c5db43604a5b70cad0114ae9846.JPG', 2, 'Kale crisps', 35, NULL, 0), (760, 'http://www.epicurious.com/recipes/food/views/Lacinato-Kale-and-Ricotta-Salata-Salad-236940', 'https://www.edamam.com/web-img/726/7267f26e243470b395ddcb6ea37ba4ee', 6, 'Lacinato Kale and Ricotta Sala', 25, NULL, 0), (761, 'http://thepioneerwoman.com/cooking/panfried-kale/', 'https://www.edamam.com/web-img/ab5/ab539b0bdf0ad6df729590ca8255c0b9', 4, 'Panfried Kale recipes', 7, NULL, 0), (762, 'http://www.jamieoliver.com/recipes/vegetables-recipes/sesame-roasted-kale/', 'https://www.edamam.com/web-img/846/84668311e3ece02fca3dea84a3a5b318.jpg', 4, 'Sesame-roasted kale', 30, NULL, 0), (763, 'http://www.pbs.org/food/recipes/kale-chips/', 'https://www.edamam.com/web-img/be6/be6daddee0e073d98b079387b2d7de8e', 4, 'Kale Chips recipes', 35, NULL, 0), (764, 'http://www.cookstr.com/recipes/crunchy-kale', 'https://www.edamam.com/web-img/b9d/b9db39d8afcf20d3af117a519f494cd7.jpg', 2, 'Crunchy Kale', 30, NULL, 0), (765, 'http://www.thekitchn.com/how-to-make-kale-chips-cooking-lessons-from-the-kitchn-183073', 'https://www.edamam.com/web-img/4f6/4f6ac02d5a9af4c71fbc07f87eef104f', 4, 'How To Make Kale Chips recipes', 30, NULL, 0), (775, 'http://www.seriouseats.com/recipes/2011/03/double-peanut-popcorn-recipe.html', 'https://www.edamam.com/web-img/0b4/0b4619615950c01a9f4fcb384996ad69.jpg', 4, 'Double Peanut Popcorn', 20, NULL, 0), (776, 'http://www.loveandoliveoil.com/2010/12/olive-oil-popcorn.html', 'https://www.edamam.com/web-img/206/20688962f61438570287632cb71731c8', 1, 'Olive Oil Popcorn recipes', 30, NULL, 0), (777, 'http://www.marthastewart.com/337688/cocoa-popcorn', 'https://www.edamam.com/web-img/555/555d8547dcb1048c80416b1e361a162b.jpg', 4, 'Cocoa Popcorn', 5, NULL, 0), (778, 'http://www.foodrepublic.com/recipes/basil-garlic-popcorn-recipe/', 'https://www.edamam.com/web-img/180/180572dd5a27a28c13e174ecf78f70c2', 5, 'Basil Garlic Popcorn recipes', 15, NULL, 0), (779, 'http://www.epicurious.com/recipes/food/views/Togarashi-Popcorn-367725', 'https://www.edamam.com/web-img/732/732eab006f739e3da89ca363df7a892c', 7, 'Togarashi Popcorn recipes', 25, NULL, 0), (780, 'https://www.realsimple.com/food-recipes/browse-all-recipes/popcorn-balls', 'https://www.edamam.com/web-img/649/649d0fe5be6229c6516e21d9104e0b20.jpg', 12, 'Popcorn Balls', 20, NULL, 0), (781, 'http://honestcooking.com/homemade-caramel-popcorn-recipe/', 'https://www.edamam.com/web-img/4d8/4d8c224e880d37b7cc6a161df9eab34b.png', 2, 'Homemade Caramel Popcorn', 25, NULL, 0), (782, 'http://www.chowhound.com/recipes/frenchified-popcorn-10107', 'https://www.edamam.com/web-img/66e/66e9a195d994663f8cb1480279f3a554', 4, 'Frenchified Popcorn recipes', 20, NULL, 0), (783, 'https://www.foodnetwork.com/recipes/food-network-kitchen/popcorn-shrimp-popcorn-3634996', 'https://www.edamam.com/web-img/ae6/ae610a2c8fcf2346b890b82007b493cf.jpeg', 8, 'Popcorn Shrimp Popcorn', 30, NULL, 0), (784, 'https://www.foodnetwork.com/recipes/coco-bread-sandwich-recipe-2108177', 'https://www.edamam.com/web-img/e98/e985d8848c1ab6af4945ff5cba68e2ff.jpeg', 1, 'Coco Bread Sandwich', 10, NULL, 0), (785, 'http://www.seriouseats.com/recipes/2011/08/best-pina-colada-recipe-tropical-drinks.html', 'https://www.edamam.com/web-img/a81/a816e70c2db0fd2b1e127bd33c0678ca.jpg', 1, 'Pina Colada Recipe', 6, NULL, 0), (786, 'http://www.epicurious.com/recipes/food/views/Coco-Cola-242315', 'https://www.edamam.com/web-img/7d4/7d4938dcd2c350af51c7e5392ef9062d', 6, 'Coco Cola recipes', 15, NULL, 0), (787, 'http://www.bonappetit.com/recipe/mango-and-passion-fruit-smoothie', 'https://www.edamam.com/web-img/a58/a58a8cb1f57df12820e1c905d952ea88.jpg', 2, 'Mango and Passion Fruit Smooth', 7, NULL, 0), (788, 'http://honestcooking.com/coco-cocoa-brownies-recipe/', 'https://www.edamam.com/web-img/0c5/0c5e666ecd99d96ed107efbef7f97066.png', 12, 'Coco-Cocoa Brownies', 45, NULL, 0), (789, 'http://www.marthastewart.com/345026/pina-colada-cocktail', 'https://www.edamam.com/web-img/cd5/cd527307634f49fd6ff88fc73c32b9e2.jpg', 4, 'Pina Colada', 5, NULL, 0), (790, 'http://www.chowhound.com/recipes/frozen-coco-loco-11835', 'https://www.edamam.com/web-img/5db/5db3237ede95f2e085a9543e4f0f261f.jpg', 6, 'Frozen Coco Loco Recipe', 30, NULL, 0), (791, 'http://chocolateandzucchini.com/recipes/cookies-small-cakes/coconut-macaroons-recipe/', 'https://www.edamam.com/web-img/026/0269c691931f57a41784fa5f335c7cff.jpg', 32, 'Rochers à la Noix de Coco', 46, NULL, 0), (792, 'https://www.realsimple.com/food-recipes/browse-all-recipes/choco-coco-smoothie', 'https://www.edamam.com/web-img/749/7491ee528d11bf1437edb49a17c09f23.jpg', 2, 'Choco-Coco Smoothie', 5, NULL, 0), (793, 'http://www.seriouseats.com/recipes/2013/09/crunchy-peanut-butter-cereal-bars-recipe.html', 'https://www.edamam.com/web-img/22b/22b8f181f59f1b45d88607efc1c87541.jpg', 9, 'Crunchy Peanut Butter Cereal B', 30, NULL, 0), (794, 'http://www.cookstr.com/Cereals/Chocolate-Covered-Cereal', 'https://www.edamam.com/web-img/5e6/5e659716a0f9f3bd37e114d837c99118.jpg', 72, 'Chocolate-Covered Cereal', 60, NULL, 0), (795, 'https://www.marthastewart.com/1012977/honey-nut-cereal-bar', 'https://www.edamam.com/web-img/961/961f7381d8e01c4e0d1de3ca98d6d0c9.jpg', 16, 'Honey Nut Cereal Bar', 15, NULL, 0), (796, 'https://www.menshealth.com/recipes/almond-cereal', 'https://www.edamam.com/web-img/ee3/ee3f77f4e3f80ac79f297ca4fbc8d47b.jpg', 4, 'Almond Cereal', 2, NULL, 1), (797, 'https://www.foodnetwork.com/recipes/chocolate-covered-cereal-recipe-2109933', 'https://www.edamam.com/web-img/2f5/2f5fb3b106843c4b89ac5b8ee9b45031.jpeg', 12, 'Chocolate Covered Cereal', 50, NULL, 0), (798, 'http://www.chowhound.com/recipes/spicy-cereal-and-nut-mix-11446', 'https://www.edamam.com/web-img/1ae/1ae3d9be445210fde2fa36ac57a49921', 10, 'Spicy Cereal and Nut Mix recip', 40, NULL, 0), (799, 'http://www.delish.com/cooking/recipe-ideas/recipes/a36490/rice-cereal-ornaments-recipe-wdy1214/', 'https://www.edamam.com/web-img/c36/c36b9cb6d71ae5542ba8df913ddae273.jpg', 12, 'Rice-Cereal Ornaments', 30, NULL, 0), (800, 'http://www.marthastewart.com/312728/cottage-cheese-with-apricot-jam-and-bran', 'https://www.edamam.com/web-img/5ea/5ea831809318387fed42c9fe09e5d9ec', 1, 'Cottage Cheese with Apricot Ja', 15, NULL, 0), (801, 'https://food52.com/recipes/11420-grandma-s-peanut-butter-scotchies', 'https://www.edamam.com/web-img/a5c/a5c55206f40a4248014935b797f92c4c.jpg', 60, 'Grandma’s Peanut Butter Scotch', 35, NULL, 0), (811, 'http://www.thekitchn.com/recipe-chocolate-chip-cookie-bark-recipes-from-the-kitchn-213933', 'https://www.edamam.com/web-img/ae1/ae1784fd9eea1988d36ae2684b9c0e73', 1, 'Chocolate Chip Cookie Bark rec', 50, NULL, 0), (812, 'http://notwithoutsalt.com/salted-chocolate-chip-cookie-mix-giveaway-ice-cream/', 'https://www.edamam.com/web-img/a24/a2403f873337b9f9e77fe0082b27f6df', 4, 'Salted Chocolate Chip Cookie M', 60, NULL, 0), (813, 'https://www.realsimple.com/food-recipes/browse-all-recipes/chocolate-chip-cookies-marshmallows', 'https://www.edamam.com/web-img/118/11809ae4e6eb3adad7b5c50097959288.jpg', 1, 'Chocolate Chip Cookies With Ma', 10, NULL, 0), (814, 'http://www.cookstr.com/recipes/chocolate-chip-ice-cream-sandwich-cookies', 'https://www.edamam.com/web-img/bd9/bd921af77786704afcd249302e0ff3d6.jpg', 12, 'Chocolate Chip Ice Cream Sandw', 60, NULL, 0), (815, 'http://www.marthastewart.com/318895/mocha-chip-pudding', 'https://www.edamam.com/web-img/54f/54fb22a9ddc5b2ff88b6a0a2d0180a86.jpg', 4, 'Mocha-Chip Pudding', 34, NULL, 0), (816, 'https://www.foodnetwork.com/recipes/sandra-lee/minty-chip-frappe-recipe-1945723', 'https://www.edamam.com/web-img/02e/02e000d62a0d6cd9ef93778276a7b327.jpeg', 1, 'Minty Chip Frappe', 5, NULL, 0), (817, 'http://www.seriouseats.com/recipes/2011/07/gluten-free-chocolate-chip-cookie-dough-ice-ream-recipe.html', 'https://www.edamam.com/web-img/d5c/d5cfecc290deed659f4ace681b5db432.jpg', 6, 'Gluten-Free Tuesday: Chocolate', 20, NULL, 0), (818, 'http://www.epicurious.com/recipes/food/views/Chocolate-Meringue-and-Mint-Chip-Ice-Cream-Cake-235563', 'https://www.edamam.com/web-img/121/121382176a07df8bc67babef95530f7e', 9, 'Chocolate Meringue and Mint Ch', 60, NULL, 0), (819, 'http://www.tastingtable.com/cook/recipes/goldfish-recipe-how-to-make-goldfish-crackers', 'https://www.edamam.com/web-img/d4e/d4e0c9adaaaac8c32c40ab84b4d5fd9d', 50, 'Baked Goldfish®-Style Crackers', 30, NULL, 0), (820, 'https://elanaspantry.com/goldfish-crackers/', 'https://www.edamam.com/web-img/3f0/3f0ab568eff50177f423f32d237bd3f7', 60, 'Goldfish Crackers recipes', 30, NULL, 0), (821, 'http://www.delish.com/cooking/recipe-ideas/recipes/a27344/cheddar-goldfish-crackers-peanut-butter-spread-3546/', 'https://www.edamam.com/web-img/2d0/2d04b8127e8113170f9b900bd0a3e02a.jpg', 40, 'Cheddar Goldfish Crackers with', 60, NULL, 0), (822, 'https://www.realsimple.com/food-recipes/browse-all-recipes/spicy-civil-war-mix', 'https://www.edamam.com/web-img/f28/f28dbed7dd183055092bb0790154ff7a.jpg', 12, 'Spicy Civil War Mix', 55, NULL, 0), (823, 'http://www.delish.com/cooking/recipe-ideas/recipes/a20974/goldfish-crackers-recipe-del0313/', 'https://www.edamam.com/web-img/4c6/4c6b74e0710e619e2119afd69a107e9d.jpg', 120, 'Classic Snacks Made from Scrat', 60, NULL, 0), (824, 'http://www.grouprecipes.com/74578/goldfish-haystacks.html', 'https://www.edamam.com/web-img/f9e/f9e45268bde934d6453c0aa1af6271d4.jpg', 12, 'Goldfish Haystacks Recipe', 1, NULL, 0), (825, 'https://www.allrecipes.com/recipe/220357/goldfish-checkerboard-sandwich/', 'https://www.edamam.com/web-img/be0/be02adab128b077d51eb09801e276c70.jpg', 1, 'Goldfish Checkerboard Sandwich', 5, NULL, 0), (973, 'http://www.delish.com/cooking/recipe-ideas/recipes/a23965/buffalo-chicken-salad/', 'https://www.edamam.com/web-img/745/745f3cfed84767d39dc2b7f7d5161904.jpg', 6, 'Buffalo Chicken Salad', 10, NULL, 0), (974, 'http://pinchofyum.com/an-edible-mosaic-cookbook-giveaway', 'https://www.edamam.com/web-img/dae/daed9887a3906f01e79f7b22cf3c1f49.jpg', 4, 'Middle Eastern Salad', 15, NULL, 0), (975, 'http://www.goodhousekeeping.com/food-recipes/a4364/warm-chicken-salad-vinaigrette-76/', 'https://www.edamam.com/web-img/c5f/c5fa73f939c89b85a33d36872db609e6.jpg', 4, 'Warm Chicken Salad with Tomato', 40, NULL, 0), (976, 'https://www.foodnetwork.com/recipes/sandra-lee/quinoa-salad-recipe-1917726', 'https://www.edamam.com/web-img/159/1597abd059f43b5f813d9f4f123425a8.jpeg', 6, 'Quinoa Salad', 22, NULL, 0); -- -------------------------------------------------------- -- -- Table structure for table `recipe_ingredients` -- DROP TABLE IF EXISTS `recipe_ingredients`; CREATE TABLE `recipe_ingredients` ( `id` mediumint(8) UNSIGNED NOT NULL, `recipe_id` mediumint(9) UNSIGNED NOT NULL, `ingredients_desc` varchar(200) COLLATE utf8_unicode_ci NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Dumping data for table `recipe_ingredients` -- INSERT INTO `recipe_ingredients` (`id`, `recipe_id`, `ingredients_desc`) VALUES (1, 2, '1 porterhouse'), (2, 2, 'flank'), (3, 2, 'Coarse salt'), (11, 7, '3 1/2 pounds whole cut-up chicken'), (12, 7, '2 (5-ounce) packets chicken fry coating'), (20, 10, '8 slices rye bread'), (21, 10, '4 ounces sliced swiss cheese'), (22, 10, 'roasted chicken breast'), (837, 145, '1/4 to 1/3 large block silken or firm tofu, about 4 ounces'), (838, 145, '2 teaspoons sweet, light miso, preferably Saikyo miso'), (839, 145, 'Pinch of salt'), (840, 145, 'Drop of mirin'), (841, 146, '14-oz package drained firm tofu'), (842, 146, '2 tablespoons tamari'), (843, 146, '1 1/2 tablespoons extra-virgin olive oil'), (844, 146, 'Coarse salt and freshly ground black pepper'), (849, 148, '1 pound extra-firm tofu'), (850, 148, '2 tablespoons low-sodium soy sauce'), (851, 148, '1 tablespoon orange juice'), (852, 148, '2 teaspoons sesame oil'), (853, 148, '1 teaspoon canola oil'), (854, 148, 'cooking spray'), (855, 149, '2 to 3 tablespoons neutral oil'), (856, 149, '1 to 2 pounds tofu, sliced crosswise 1/4 to 1 inch thick and patted dry'), (857, 149, 'salt'), (862, 150, 'Vegetable oil, for frying'), (863, 150, '1/2 cup cornstarch'), (864, 150, '1 1/4 pounds extra-firm tofu, drained, cut into 3/4-inch sticks'), (865, 150, 'Salt'), (890, 151, '2 large eggs'), (891, 151, '6 large egg whites'), (892, 151, '2 tbs coconut flour'), (893, 151, '1 tbs psyllium husk or ground chia seeds'), (894, 151, '90ml / 3 fl oz coconut milk, cream or almond milk'), (895, 151, '½ tsp baking soda'), (896, 151, '1 tsp cream of tartar'), (897, 151, '2 tbs ghee or coconut oil'), (898, 151, '2 tsp garlic powder (omit if making a sweet keto crepe and add sweetener to taste instead)'), (899, 151, 'salt'), (900, 152, '1 serving Keto Chocolate Cake Mix'), (901, 152, '2 tablespoons carton egg whites—or 1 large egg'), (902, 152, '2 tablespoons carton egg whites—or 1 large egg'), (903, 152, '1 tablespoon sour cream—or Greek yogurt'), (904, 152, '1/4-1/2 teaspoon vanilla extract, to taste'), (905, 152, '1/2 tablespoon unfiltered extra virgin olive oil (optional)'), (906, 152, '1 tablespoon water—or heavy cream, if needed'), (907, 153, '1½ pounds center cut pork loin, pork tenderloin, or pork steak'), (908, 153, '½ cup hoisin sauce'), (909, 153, '2 tablespoons soy sauce'), (910, 153, '1½ tablespoons ketchup'), (911, 153, '1 tablespoon minced garlic'), (912, 153, '3 tablespoons water'), (913, 154, '¼ to ½ pound pork chicharron'), (914, 154, '4 fresh corn tortillas'), (915, 154, '½ pound Oaxaca, Asadero, Quesillo, or Monterey jack cheese, cut into cubes or torn into small pieces'), (1869, 280, '1½ pounds fresh red jalapeño peppers, stemmed, seeded, and roughly chopped'), (1870, 280, '8 garlic cloves, peeled and smashed'), (1871, 280, '⅓ cup apple cider vinegar'), (1872, 280, '3 tablespoons tomato paste'), (1873, 280, '3 tablespoons honey'), (1874, 280, '2 tablespoons Paleo-friendly fish sauce (Red Boat!)'), (1875, 280, '1½ teaspoons kosher salt'), (1890, 281, '1 cup almond flour'), (1891, 281, '1/2 cup coconut flour'), (1892, 281, '1/2 cup arrowroot or tapioca flour, plus more for rolling out dough'), (1893, 281, '1/2 teaspoon finely ground sea salt'), (1894, 281, '1/2 cup cold butter, palm shortening or lard (very cold)'), (1895, 281, '1 egg'), (1896, 281, '1 egg white plus 1 teaspoon water to make egg wash'), (1897, 282, '1 pound dried dates, pitted'), (1898, 282, '1 pound bacon, cooked, extra grease patted off, cooled, and crumbled'), (1899, 282, '1 teaspoon toasted sesame oil'), (1900, 282, '2 teaspoons sesame seeds'), (1901, 283, '1 head of cauliflower'), (1902, 283, '3 slices of bacon'), (1903, 283, '2 egg whites and 1 egg'), (1904, 283, '1 small onion, finely diced'), (1905, 283, '1 carrot, finely diced'), (1906, 283, '1 red pepper, finely diced'), (1907, 283, '1 cup broccoli florets, finely chopped'), (1908, 283, '1 tablespoon coconut aminos (paleo substitute for soy sauce)'), (1909, 283, '1/4 teaspoon fish sauce'), (1910, 283, '1 tablespoon ghee (or other oil of choice)'), (1911, 283, 'Salt and pepper to taste'), (1923, 287, '1 head of cauliflower, washed, trimmed, cored and thinly sliced'), (1924, 287, 'Olive oil'), (1925, 287, 'Salt'), (1926, 287, 'Pepper'), (1927, 287, '2 cloves garlic'), (1928, 287, 'Fresh, chopped parsley'), (1929, 287, 'If you wish: some chili pepper flakes, to sprinkle'), (1937, 289, '2 cups raw hazelnuts'), (1938, 289, '1/4 teaspoon salt'), (1939, 289, '1 (13.5 oz) can full fat coconut milk'), (1940, 289, '1/2 cup coconut sugar (or regular cane sugar if you prefer)'), (1941, 289, '1 (10 oz) package dairy-free chocolate chips (I like this brand)'), (1942, 290, '1 cup spelt flour'), (1943, 290, '1 egg'), (1944, 290, '1 cup soya milk (jamie used whole milk)'), (1945, 290, '1 tsp baking powder'), (1946, 290, '½ tsp salt'), (1947, 290, '½ apple, grated'), (1948, 291, '500 ml almond milk'), (1949, 291, '500 ml hazelnut milk'), (1950, 291, '4 tablespoons sugar'), (1951, 291, '4 tablespoons runny honey'), (1952, 291, '500 g soya yoghurt'), (1953, 291, '1 spash of amaretto , optional'), (1954, 292, '1 cup (4 ounces) white rice flour'), (1955, 292, '1/2 cup (2 ounces) cornstarch'), (1956, 292, '1/2 cup (2 ounces) sweet rice flour'), (1957, 292, '1/4 cup (1.75 ounces) granulated sugar'), (1958, 292, '1 tablespoon baking powder'), (1959, 292, '1/2 teaspoon salt'), (1960, 292, '1/4 teaspoon xanthan gum'), (1961, 292, '2 large eggs'), (1962, 292, '1 cup milk (for dairy-free, replace with dairy-free milk)'), (1963, 292, '1/4 cup vegetable oil'), (1964, 292, '1 teaspoon vanilla extract'), (1965, 292, '2 ounces cream cheese, cut into 1/2 teaspoon size pieces or 1/2 cup ricotta cheese'), (1966, 293, '5 pounds baby red potatoes \n\n\n\n\n\n\n\nPotatoes Organic Red\n\n$2.49 thru 11/23'), (1967, 293, 'Kosher salt and freshly ground pepper'), (1968, 293, '1/2 cup extra-virgin olive oil'), (1969, 293, '4 garlic cloves, peeled and smashed'), (1970, 293, '3 sprigs fresh rosemary'), (1971, 293, '1 1/2 cups chicken broth, warmed'), (1972, 294, '1 loaf gluten-free bread, cut into bite-size cubes (8-9 cups)'), (1973, 294, '2 tablespoons olive oil'), (1974, 294, '4 links (about 10 ounces) sweet italian sausage, removed from casing and broken into small pieces.'), (1975, 294, '2 cups chopped celery (about 4 large stalks)'), (1976, 294, '2 cups chopped onion (about 1 large onion)'), (1977, 294, '2 tablespoons minced garlic (about four cloves)'), (1978, 294, '1 1/2 teaspoons dried basil'), (1979, 294, '1 teaspoon dried oregano'), (1980, 294, '1/2 teaspoon ground sage'), (1981, 294, '1/2 teaspoon dried thyme leaves'), (1982, 294, '1 teaspoon kosher salt'), (1983, 294, '1/2 teaspoon freshly ground black pepper'), (1984, 294, '4 cups gluten-free turkey, chicken, or vegetable stock, divided'), (1985, 295, '1 lb gluten-free pasta'), (1986, 295, '¼ cup butter'), (1987, 295, '½ cup gluten free flour'), (1988, 295, '¼ tsp xanthan gum'), (1989, 295, '1 tsp garlic powder'), (1990, 295, '1 tsp onion powder'), (1991, 295, '1 tsp salt, or to taste'), (1992, 295, '4 cups milk'), (1993, 295, '2 cups grated cheese, such as jarlsberg, a part-skim milk swiss-style cheese'), (1994, 296, '200 g butter , softened'), (1995, 296, '125 g icing sugar'), (1996, 296, '1/2 orange , the grated zest of'), (1997, 296, '1 small lemon , the grated zest of'), (1998, 296, '1 lime , the grated zest of'), (1999, 296, '350 g gluten-free flour'), (2000, 296, '1 tsp gluten-free baking powder'), (2001, 296, 'sugar , to serve'), (2002, 297, '7 ounces almond paste'), (2003, 297, '1/2 cup granulated sugar'), (2004, 297, '1⁄4 teaspoon kosher salt'), (2005, 297, '1 large egg white'), (2006, 297, '1⁄3 cup gluten-free powdered sugar'), (2007, 297, '1 cup bittersweet chocolate chips (optional)'), (2008, 298, '4 1/2 cups gluten-free old-fashioned oats, divided'), (2009, 298, '2 tablespoons cornstarch'), (2010, 298, '1 1/2 teaspoons ground cinnamon'), (2011, 298, '1 teaspoon gluten-free baking powder'), (2012, 298, '1/2 teaspoon fine salt'), (2013, 298, '2 sticks unsalted butter, room temperature'), (2014, 298, '3/4 cup granulated sugar'), (2015, 298, '1/2 cup packed light-brown sugar'), (2016, 298, '2 large eggs'), (2017, 298, '2 teaspoons pure vanilla extract'), (2018, 298, '3/4 cup chocolate chips'), (2019, 298, '3/4 cup raisins'), (2051, 304, '6 to 8 cups fresh salad greens: red or green leaf lettuce, romaine hearts, arugula, watercress, spinach, or frisée, or a mixture'), (2052, 304, '1/4 cup Classic Vinaigrette (see note), plus more for passing'), (2053, 305, '4 large salad cucumbers'), (2054, 305, '1 teaspoon fresh thyme leaves, stripped from the stems'), (2055, 305, '4 tablespoons lime juice (about two medium limes)'), (2056, 305, '6 to 8 tablespoons olive oil or vegetable oil'), (2057, 305, '14 to 16 fresh basil leaves'), (2058, 305, '2 chicken legs and 2 thighs, separated or together, grilled until done'), (2059, 307, '1 pound medium-sized shrimp, cooked, shelled and de-veined'), (2060, 307, '1 tablespoon minced onion'), (2061, 307, '1 tablespoon minced parsley'), (2062, 307, 'Salt and pepper to taste'), (2063, 307, '1 tablespoon lemon juice'), (2064, 307, '½ cup mayonnaise'), (2065, 307, '1½ tablespoons salad oil'), (2066, 308, '1.5 kg salad potatoes'), (2067, 308, 'extra virgin olive oil'), (2068, 308, '1 teaspoon cumin seeds'), (2069, 308, '1 tablespoon turmeric'), (2070, 308, '1 red onion'), (2071, 308, '1 lemon'), (2072, 308, '2 tablespoons mixed seeds, such as pumpkin and poppy'), (2073, 308, '1 bunch of mixed fresh herbs, such as parsley, mint and coriander'), (2074, 308, '1 large handful of fresh peas'), (2075, 309, '4 ounces grated parmesan, Manchego, Cheddar, or other hard or semi-hard cheese'), (2076, 309, '8 corn tortillas'), (2077, 310, '3 cups/800 grams kosher salt'), (2078, 310, '2 cups/500 grams veal stock'), (2079, 311, 'One bottle (750ml) vodka'), (2080, 311, '2 pints (about 1 1/4 pounds, 575g) strawberries, organic or unsprayed'), (2081, 312, '8 cups halved strawberries'), (2082, 312, '1/4 – 1/3 cup sugar'), (2083, 312, '1 vanilla bean, split and seeds removed'), (2084, 313, '1 1⁄2 ounces ron zacapa centenario 23-year-old rum'), (2085, 313, '2 1⁄2 ounces tamarind nectar'), (2086, 313, 'Garnish: maraschino cherry'), (2087, 314, '8 ounces green beans, trimmed and cut into 2-inch pieces'), (2088, 314, '6 ounces soba noodles'), (2089, 314, '6 ounces tofu, cut into 1/2-inch cubes'), (2090, 314, '3 tablespoons fresh lime juice'), (2091, 314, '2 tablespoons soy sauce'), (2092, 314, '2 teaspoons toasted sesame oil'), (2093, 314, '2 scallions, minced'), (2094, 315, '1 package any flavor ramen noodle soup mix'), (2095, 315, '1 medium zucchini'), (2096, 315, '2 scallions, cut in long'), (2097, 315, '1 medium carrot'), (2098, 315, '2 large eggs'), (2099, 315, '2 tbsp. all-purpose flour'), (2100, 315, '2 tbsp. oil'), (2101, 315, '2 tbsp. lite soy sauce'), (2102, 315, '2 tbsp. fresh lemon juice'), (2103, 316, '4 tablespoons water'), (2104, 316, '3 tablespoons light soy sauce'), (2105, 316, '1 tablespoon sugar'), (2106, 316, '3 tablespoons cider vinegar'), (2107, 316, '2 tablespoons sesame oil'), (2108, 316, '1 ripe kiwi'), (2109, 316, '1 teaspoon chili paste'), (2110, 316, '2 tablespoons chopped scallions'), (2111, 316, '2 tablespoons chopped cilantro'), (2112, 316, '1 tablespoon fish sauce'), (2113, 316, '3 cups boiled noodles (can use any that you like, soba, rice noodles, mung bean noodles, etc)'), (2114, 316, '0.5 cups julienned romaine'), (2115, 316, '0.5 cups julienned carrots'), (2116, 316, '0.5 cups julienned egg (beat 2 eggs, pour into an hot oiled none stick pan. remove from the pan when the egg is set and julienne the cooked egg)'), (2117, 316, '0.5 cups julienned ham'), (2118, 317, '8 cups water'), (2119, 317, '2 C cooked, diced chicken'), (2120, 317, '1/2 C chopped carrots'), (2121, 317, '2 (2.72 oz) packets Knorr savory soups chicken noodle soup mix'), (2122, 317, '2 medium onions, diced'), (2123, 317, '3 cloves garlic, minced'), (2124, 317, '1 C enriched egg noodles'), (2125, 317, '1 red bell pepper, chopped'), (2126, 317, '2 tsp cayenne pepper'), (2127, 318, '200 g rice noodles'), (2128, 318, '1 red pepper'), (2129, 318, '1 yellow pepper'), (2130, 318, '2 cloves of garlic'), (2131, 318, '2 fresh red chillies'), (2132, 318, '1 x 198 g tin of sweetcorn'), (2133, 318, '1 bunch of spring onions'), (2134, 318, '1 handful of salted peanuts'), (2135, 318, '3 tablespoons olive oil'), (2136, 318, '2 limes'), (2197, 325, '4 tablespoons unsalted butter (1/2 stick)'), (2198, 325, '1/3 cup all-purpose flour'), (2199, 325, '2 cups low-sodium chicken broth'), (2200, 325, '1 cup whole milk'), (2201, 325, '3 cups cooked chicken, medium dice'), (2202, 325, '1 tablespoon apple cider vinegar'), (2203, 326, '1½ teaspoons canola oil'), (2204, 326, '½ small shallot, finely chopped'), (2205, 326, '1 cup (about ½ pound) raw, boneless chicken meat (preferably from 3 boneless chicken thighs), roughly chopped'), (2206, 326, '⅔ cup (about ¼ pound) chicken skin and fat (reserved from the 3 chicken thighs)'), (2207, 326, '2 chicken livers (optional)'), (2208, 326, '2 garlic cloves, finely chopped'), (2209, 326, '¼ cup finely chopped chives, plus extra for serving'), (2210, 326, '1¼ teaspoons kosher salt'), (2211, 326, '¾ teaspoon freshly ground black pepper'), (2212, 326, '30 to 34 square wonton wrappers'), (2213, 326, '8 cups store-bought or homemade chicken broth'), (2214, 327, '1.5 cups quinoa'), (2215, 327, '3 cups broth or water'), (2216, 327, '4 chicken thighs'), (2217, 327, '1 onion or leek'), (2218, 327, 'Olive oil'), (2287, 339, '1 cup pastry flour'), (2288, 339, '1 cup oats'), (2289, 339, '1 t baking powder'), (2290, 339, '1/2 t salt'), (2291, 339, '4t butter'), (2292, 339, '2 egg whites'), (2293, 339, '1/2 cup of non-fat milk'), (2294, 339, '3t sugar'), (2295, 339, '1 cup black raspberries'), (2296, 339, '2 t orange zest (optional)'), (2297, 340, '2 1/2 cups milk'), (2298, 340, '3 tbsp butter'), (2299, 340, '1 1/4 cups, plus 1 tbsp sugar'), (2300, 340, '1 1/4 cup fresh bread crumbs'), (2301, 340, '1 lemon, zested'), (2302, 340, '4 medium eggs, separated'), (2303, 340, '1 2/3 cups raspberries'), (2304, 340, '1 tsp cornstarch'), (2305, 340, '1 tsp vanilla extract'), (2306, 340, '2 tbsp apple juice'), (2307, 341, '1 cup skim milk'), (2308, 341, '1 1⁄2 cups frozen berries, ... (blueberries, chopped strawberries, cherries, rasperries (black or red)'), (2309, 341, '4 tablespoons Splenda sugar substitute or 4 tablespoons sugar'), (2310, 341, '4 -5 tablespoons cocoa powder'), (2311, 341, '1 cup ice cube'), (2312, 342, '2 bottles pale ale'), (2313, 342, '1 1/2 cups sour cherry nectar, such as tamek (cedarsmarket.com)'), (2314, 343, '1/4 cup white and black sesame seeds, toasted (about 2 tablespoons each)'), (2315, 343, '1 teaspoon salt'), (2316, 343, '2 cups sugar'), (2317, 343, '2/3 cup balsamic vinegar'), (2318, 343, '1 cup light corn syrup'), (2319, 343, '24 firm ripe cherry tomatoes, stems removed'), (2320, 344, '1 cup fresh pitted Bing cherries'), (2321, 344, '1/4 cup kirsch (clear cherry brandy)'), (2322, 344, '1/4 cup sugar'), (2323, 344, '1 cup ice cubes'), (2324, 344, '6 tablespoons Courvoisier or other premium Cognac'), (2325, 344, '1/4 cup orange curaçao'), (2326, 344, '2 tablespoons fresh lemon juice'), (2327, 344, '1 tablespoon Cherry Heering liqueur or other cherry liqueur'), (2328, 345, '1 1/2 cups (355 ml) tart cherry juice'), (2329, 345, '3/4 cup (175 ml) light rum'), (2330, 345, '1/3 cup (75 ml) cherry liqueur (Maraschino, Cherry Heering or any other cherry liqueur)'), (2331, 345, '1/4 cup (60 ml) fresh lime juice'), (2332, 345, '32 oz (95 cl) Berliner Weisse (Berlin White), gueuze, lambic or any other unflavored sour beer – chilled (alternatively, use a Belgian-style white beer)'), (2333, 346, '5 teaspoons maraschino cherry syrup'), (2334, 346, '1/4 cup granulated sugar'), (2335, 346, '12 maraschino cherries'), (2336, 346, '4 brown sugar cubes'), (2337, 346, '8 dashes angostura bitters'), (2338, 346, '1 bottle sparkling wine, chilled'), (2339, 347, '1 bottle krug champagne'), (2340, 347, '2 cups blood-orange juice, freshly squeezed'), (2341, 347, '8 blood-orange slices'), (2342, 349, '1 1/2 ounces gin'), (2343, 349, '1 1/2 ounces fresh orange juice'), (2344, 349, '1 teaspoon superfine sugar or Rich Simple Syrup'), (2345, 349, 'Slice of orange'), (2346, 350, 'The zest of 2 oranges'), (2347, 350, '2 cups freshly squeezed orange juice'), (2348, 350, '½ cup sugar'), (2349, 350, '1 tablespoon orange-blossom water'), (2350, 350, '6 oranges'), (2351, 351, '1 1/2 cups fresh or frozen blueberries (about 8 ounces)'), (2352, 351, '1 cup orange juice'), (2353, 351, '1/2 cup low-fat frozen vanilla yogurt'), (2354, 351, '1/2 cup ice cubes'), (2355, 351, '1/4 teaspoon grated orange peel'), (2356, 351, 'Fresh blueberries (for garnish)'), (2357, 351, 'Thinly sliced orange peel (for garnish)'), (2358, 352, '1 cup sugar'), (2359, 352, '1 cup bottled spring water'), (2360, 352, '1/2 cup whole milk'), (2361, 352, '1/2 ounce cream nectar flavor'), (2362, 352, '1/2 teaspoon vanilla'), (2363, 352, '1/2 teaspoon pink food coloring'), (2364, 354, '2 cups freshly squeezed orange juice (about 6 oranges)'), (2365, 354, '1/4 cup plus 1 tablespoon raw honey'), (2366, 354, '1 tablespoon freshly squeezed lemon juice'), (2367, 354, '2 teaspoons finely grated fresh ginger'), (2368, 354, '2 ripe bananas'), (2372, 356, '1/2 cup soft silken tofu'), (2373, 356, '1/4 cup white miso paste'), (2374, 356, '2 tablespoons agave nectar'), (2375, 356, '1 tablespoon rice wine vinegar'), (2376, 356, '1/3 cup vegetable oil'), (2377, 357, '16 ounce skate wing fillet, cut into four sections'), (2378, 357, '1/2 cup flour for dredging'), (2379, 357, '3 tablespoons butter'), (2380, 357, 'For the sauce:'), (2381, 357, '1 shallot, finely chopped'), (2382, 357, '2 medium sized tomatoes, finely chopped'), (2383, 357, '2 tablespoons capers, finely chopped'), (2384, 357, '1 to 2 tablespoons olive oil'), (2385, 357, 'Salt and pepper to taste'), (2386, 358, '3 cups pork rinds'), (2387, 358, '2 large eggs'), (2388, 358, '4 tablespoons butter, melted and slightly cooled'), (2389, 358, '12 chicken wings, cut in half at joints, wing tips removed and discarded'), (2390, 359, '1/4 cup vegetable oil, plus more for pans'), (2391, 359, '4 pounds chicken wings, cut in half at joint (wing tips removed)'), (2392, 359, 'Salt'), (2393, 359, '8 large scallions, trimmed and sliced'), (2394, 359, '1/4 cup chopped peeled fresh ginger'), (2395, 360, '1 stick (1/2 cup) unsalted butter'), (2396, 360, '2 tablespoons Dijon-style mustard'), (2397, 360, '1/8 teaspoon cayenne'), (2398, 360, '1 cup dried bread crumbs'), (2399, 360, '1/2 cup freshly grated Parmesan'), (2400, 360, '1 teaspoon ground cumin'), (2401, 360, '20 chicken wings, wing tips cut off and discarded and the wings halved at the joint'), (2402, 361, '2½ pounds chicken wing pieces (flats & drummies, no tips)'), (2403, 361, '½ cup cayenne pepper sauce'), (2404, 361, '½ cup barbecue sauce'), (2405, 362, '1 can garbanzo beans (chickpeas), drained and rinsed (1/4 cup liquid reserved)'), (2406, 362, '2 cloves garlic'), (2407, 362, '⅛ cup tahini (you can omit if you don’t have, though this is what gives hummus its true taste/texture)'), (2408, 362, '⅛ cup fresh lemon juice'), (2409, 362, '¾ tsp paprika'), (2410, 362, '1 tbsp barbecue sauce'), (2411, 362, '2 tbsp hot sauce (i used frank’s buffalo sauce)'), (2412, 362, '½ tbsp distilled white vinegar'), (2413, 362, '¾ tsp kosher salt'), (2414, 363, '1/2 cup Dijon mustard'), (2415, 363, '1 Tbsp canola or grapeseed oil'), (2416, 363, '2 teaspoons white wine vinegar'), (2417, 363, '1 1/4 teaspoon dry mustard'), (2418, 363, '1/4 teaspoon cayenne'), (2419, 363, '3/4 cup fresh bread crumbs* or panko'), (2420, 363, '3/4 cup freshly grated Parmesan cheese (about 3 ounces)'), (2421, 363, '3 pounds chicken wings (12-14), wing tips cut off and discarded or saved for stock'), (2434, 371, '1/3 cup sugar'), (2435, 371, '3/4 cup fresh or thawed frozen cranberries, chopped'), (2436, 371, '1/2 cup water'), (2437, 372, '2 teaspoons (6g) Japanese matcha green tea (see note above)'), (2438, 372, '8 ounces (235ml) cold water'), (2439, 373, '1/2 gallon good, wheaty or malty beer'), (2440, 373, 'Vinegar mother (optional)'), (2441, 374, '4 cups water'), (2442, 374, '1 cup ground espresso-roast coffee'), (2443, 374, '1 cup sugar'), (2471, 378, '8 chicken breast cutlets, or 4 boneless skinless chicken breast halves, split horizontally into 8 cutlets (1 1/2 pounds total)'), (2472, 378, '8 chicken breast cutlets, or 4 boneless skinless chicken breast halves, split horizontally into 8 cutlets (1 1/2 pounds total)'), (2473, 378, '8 chicken breast cutlets, or 4 boneless skinless chicken breast halves, split horizontally into 8 cutlets (1 1/2 pounds total)'), (2474, 378, '1/2 cup dried breadcrumbs'), (2475, 378, '1/2 cup finely grated Parmesan cheese'), (2476, 378, 'salt'), (2477, 378, 'freshly ground pepper'), (2478, 378, '2 large eggs, lightly beaten'), (2479, 378, '1/4 cup olive oil'), (2480, 378, '2 cups spaghetti sauce, homemade or purchased'), (2481, 378, '8 slices (1/4-inch-thick) mozzarella cheese, preferably fresh (6 ounces)'), (2487, 380, '8 tbsp olive oil'), (2488, 380, '1 onion, sliced'), (2489, 380, '2 celery stalks, roughly chopped'), (2490, 380, '2 medium carrots, roughly chopped'), (2491, 380, '6 chicken breasts, or chicken thighs, bones removed'), (2492, 380, '175ml/6fl oz white wine'), (2493, 380, '3 tbsp tomato purée'), (2494, 380, '500ml/17 fl oz chicken stock'), (2495, 380, '2 bay leaves'), (2496, 380, '2-3 sage leaves'), (2497, 380, '1 rosemary sprig'), (2498, 380, '250g/9oz easy-cook polenta'), (2499, 380, 'Knob of butter'), (2500, 380, '25g/1oz parmesan'), (2501, 381, '6 (3-ounce) chicken cutlets, pounded to evenly flatten'), (2502, 381, 'Salt and freshly ground black pepper'), (2503, 381, '6 paper-thin slices prosciutto'), (2504, 381, '1 (10-ounce) box frozen chopped spinach, thawed'), (2505, 381, '3 tablespoons olive oil'), (2506, 381, '1/4 cup grated parmesan'), (2507, 381, '1 (14-ounce) can low-salt chicken broth'), (2508, 381, '2 tablespoons fresh lemon juice'), (2509, 382, '400 g quality chorizo'), (2510, 382, '1 small onion'), (2511, 382, '50 g jarred piquillo peppers'), (2512, 382, '½ a bunch of fresh flat-leaf parsley'), (2513, 382, '22 free-range chicken drumettes'), (2514, 382, '2 tablespoons extra virgin olive oil'), (2515, 382, '1 teaspoon smoked paprika'), (2516, 382, '2 tablespoon tomato pureé'), (2517, 382, '400 g Bomba paella rice'), (2518, 382, '120 ml white wine'), (2519, 382, '750 ml organic chicken stock'), (2520, 382, '200 g frozen peas'), (2521, 382, '1 lemon'), (2612, 393, '1 tablespoon olive oil'), (2613, 393, '1 garlic clove, peeled'), (2614, 393, '1 1/4 pounds baby spinach'), (2615, 393, 'Coarse salt and ground pepper'), (2616, 394, '1/4 cup (1/2 stick) unsalted butter'), (2617, 394, '2 pounds fresh spinach, stemmed'), (2618, 394, '1 1/2 cups (lightly packed) grated pecorino, parmesan, or manchego cheese (about 3 ounces)'), (2619, 394, '1/4 cup crème fraîche'), (2620, 394, '1 teaspoon dijon mustard'), (2621, 394, 'Kosher salt and freshly ground black pepper'), (2622, 395, '70 g unsalted butter'), (2623, 395, '50 g plain flour'), (2624, 395, '800 ml milk'), (2625, 395, '1 fresh bay leaf'), (2626, 395, '800 g spinach'), (2627, 395, '200 g ricotta cheese'), (2628, 395, '1 whole nutmeg , for grating'), (2629, 395, '300 g fresh lasagne sheets'), (2630, 395, '100 g Parmesan cheese'), (2631, 396, '6 tightly packed cups fresh spinach (6 ounces)'), (2632, 396, '1/2 cup heavy cream'), (2633, 396, '1 teaspoon unsalted butter'), (2634, 396, 'Salt and freshly ground pepper'), (2635, 397, '1 fat clove garlic, sliced'), (2636, 397, '3 slices bacon, diced'), (2637, 397, '¼ tsp grated nutmeg'), (2638, 397, '10 oz. pkg. baby spinach leaves'), (2639, 397, '¼ cup organic sour cream'), (2640, 397, '2 tablespoons grated parmesan cheese'), (2641, 398, '1 1/2 cups spinach'), (2642, 398, '1/2 grapefruit, peeled, white pith removed'), (2643, 398, '2 green apples, cut into eighths'), (2644, 398, '1 1-inch piece peeled fresh ginger'), (2645, 398, '2 large stalks celery'), (2646, 398, 'Ice (optional)'), (2647, 399, '1 tbsp. olive oil'), (2648, 399, '1 large garlic clove'), (2649, 399, '2 bag fresh spinach'), (2650, 399, '¼ tsp. salt'), (2659, 401, '4 large eggs'), (2660, 401, '1 cup milk'), (2661, 401, '1 bag fresh spinach or 1 package of frozen spinach, drained'), (2662, 401, '1 8 ounce package mozzarella cheese'), (2663, 401, 'Salt & pepper to taste'), (2685, 406, '5 teaspoons maraschino cherry syrup'), (2686, 406, '1/4 cup granulated sugar'), (2687, 406, '12 maraschino cherries'), (2688, 406, '4 brown sugar cubes'), (2689, 406, '8 dashes angostura bitters'), (2690, 406, '1 bottle sparkling wine, chilled'), (2691, 407, '12 ounces vanilla ice cream'), (2692, 407, '1/2 cup cherry lambic beer, plus more as needed'), (2693, 407, '4 ounces dark sweet cherries, pitted'), (2694, 408, '3 ounces strong black tea (preferably lapsang souchong), chilled'), (2695, 408, '3 ounces pure cherry juice'), (2696, 408, '1 tablespoon grenadine'), (2697, 408, '3 dashes Angostura bitters'), (2698, 408, 'Maraschino cherries, optional'), (2699, 409, '2 pounds red cherries, preferably bing'), (2700, 409, '1 cup sugar'), (2701, 409, '3 tablespoons orange liqueur, preferably grand marnier'), (2702, 409, '1/4 cup cherry liqueur, such as kirsch'), (2703, 409, '1 1/2 cups water'), (2704, 409, '1 teaspoon almond extract'), (2705, 410, '3 cups pitted sour cherries (18 ounces)'), (2706, 410, '3/4 cup sugar syrup'), (2707, 410, '1 cup cherry lambic beer'), (2708, 411, '1 basic pizza dough'), (2709, 411, 'Sugar'), (2710, 411, 'Oil'), (2711, 412, '1 recipe Really Simple Pizza Dough or your favorite pizza dough'), (2712, 412, '1/2 pound asparagus'), (2713, 412, '1/4 cup grated Parmesan'), (2714, 412, '1/2 pound mozzarella, shredded or cut into small cubes'), (2715, 412, '2 teaspoons olive oil'), (2716, 412, '1/2 teaspoon coarse salt'), (2717, 412, 'black pepper'), (2718, 412, '1 scallion, thinly sliced'), (2719, 413, '1 batch pizza dough'), (2720, 413, '1 batch pizza sauce'), (2721, 413, '4 ounces mozzarella, grated'), (2722, 413, '4 slices applewood bacon, cooked'), (2723, 413, '1 ripe heirloom tomato, chopped'), (2724, 413, '2 leaves red leaf lettuce, cut into strips'), (2725, 414, 'Olive oil, for frying and brushing'), (2726, 414, '4 ounces ham or prosciutto, chopped'), (2727, 414, '1 16-ounce ball homemade pizza dough or your favorite store-bought variety, split into 2 8-ounce balls'), (2728, 414, '1 cup pizza sauce or your favorite store-bought variety'), (2729, 414, '1 8-ounce ball fresh mozzarella, thinly sliced'), (2730, 414, '1 1/2 cups pineapple cubes'), (2731, 414, '4 or 5 fresh basil leaves, shredded'), (2732, 415, 'Pizza crust of choice (try my Cauliflower and Flax Pizza Crust for a Gluten-Free option)'), (2733, 415, '1 cup leftover Cauliflower Alfredo Sauce'), (2734, 415, '5 cherry tomatoes, thinly sliced'), (2735, 415, '1 green bell pepper, sliced'), (2736, 415, '1 sweet onion, sliced'), (2737, 415, '¾ cup shredded cheese'), (2738, 416, '1 ball of whole wheat pizza dough'), (2739, 416, '½ cup of pesto'), (2740, 416, '2 cups of shredded mozzarella cheese'), (2741, 416, '½ cup of marinated artichoke hearts'), (2742, 416, '¼ cup of sundried tomatoes in oil'), (2743, 416, '1 cup of fresh arugula'), (2744, 417, '1 8-inch whole-wheat flour tortilla'), (2745, 417, '2 tablespoons prepared pizza sauce'), (2746, 417, '12 leaves baby spinach'), (2747, 417, '3 tablespoons shredded part-skim mozzarella'), (2748, 418, '2 (10-ounce) portions frozen pizza dough, thawed'), (2749, 418, 'flour for work surface'), (2750, 418, '4 tomatoes, thinly sliced'), (2751, 418, '2 tablespoons olive oil'), (2752, 418, 'kosher salt and black pepper'), (2753, 418, '1 cup shredded mozzarella'), (2754, 418, '1/2 cup thinly sliced basil leaves'), (2755, 419, '2 tbsp (25 ml) olive oil'), (2756, 419, '12 oz (375 g) lean ground chicken'), (2757, 419, '8 oz (250 g) mushrooms, sliced'), (2758, 419, 'Half green pepper, in chunks'), (2759, 419, '1 12-inch (30 cm) uncooked pizza crust or 1 lb (500 g) pizza dough'), (2760, 419, '8 oz (250 g) mozzarella or provolone cheese, shredded'), (2761, 419, '1 tsp (5 ml) dried Italian herb seasoning'), (2762, 419, '1 can (7½ oz [213 mL]) pizza sauce'), (2975, 457, '4 slices good sourdough bread'), (2976, 457, '3 tablespoons Sriracha Mayonnaise (recipe follows)'), (2977, 457, '8 ounces picked lump crabmeat, preferably peekytoe, picked over for bits of shell'), (2978, 457, 'Crushed red chile flakes, optional'), (2979, 457, '1 lemon, cut into wedges'), (2980, 457, 'Sriracha Mayonnaise'), (2981, 457, '1 large egg yolk'), (2982, 457, '1 tablespoon Dijon mustard'), (2983, 457, '1/2 teaspoon kosher salt'), (2984, 457, '3/4 cup grapeseed or other neutral oil'), (2985, 457, '2 teaspoons fresh lemon juice'), (2986, 457, '2 teaspoons Sriracha'), (2987, 458, '2¼ pounds heirloom tomatoes, cored and cut into wedges'), (2988, 458, '1 pint (2 cups) mixed cherry tomatoes, halved'), (2989, 458, 'Kosher salt and freshly ground black pepper'), (2990, 458, '2 basil sprigs, leaves removed and thinly sliced (about 10 leaves)'), (2991, 458, '1 mint sprig, leaves removed and thinly sliced (about 8 leaves)'), (2992, 458, '6 ounces ciliegine (see note), drained'), (2993, 458, '3 tablespoons extra-virgin olive oil'), (2994, 458, '1 tablespoon plus 1½ teaspoons red wine vinegar'), (2995, 458, 'Coarse sea salt (such as fleur de sel or maldon)'), (2996, 458, '1 small serrano chile, thinly sliced (about 12 slices)'), (2997, 459, '6 ears sweet yellow corn, unhusked'), (2998, 459, '2 tablespoons extra virgin olive oil'), (2999, 459, '2 tablespoons unsalted butter (1/4 stick)'), (3000, 459, 'Kosher salt'), (3001, 459, 'Black pepper, freshly ground'), (3002, 459, '1 jalapeno, seeded, finely diced'), (3003, 459, '1/2 teaspoon crushed red pepper flakes'), (3004, 459, '1 lime, cut into 4 wedges'), (3005, 459, '1 cup manchego cheese, finely grated'), (3006, 459, '1/4 cup chives, thinly sliced'), (3007, 459, '2 teaspoons lime zest, finely grated with microplane'), (3008, 460, '1 tablespoon cornstarch'), (3009, 460, '7 tablespoons peanut oil'), (3010, 460, '2 to 3 shallots, minced (about 1/2 cup)'), (3011, 460, '1 1/2-inch knob ginger, grated (about 2 tablespoons)'), (3012, 460, '6 medium garlic cloves, minced (about 2 tablespoons)'), (3013, 460, '4 Thai chiles, minced'), (3014, 460, '2 whole Mud or Dungeness crabs (about 1 pound each), prepared (see note above)'), (3015, 460, '2 cups homemade or store-bought low sodium chicken broth'), (3016, 460, '1/4 cup tomato paste'), (3017, 460, '1/2 cup hot-sweet chili sauce (see note above)'), (3018, 460, '1 large egg, beaten'), (3019, 460, '1/2 cup thinly sliced green onions'), (3020, 460, '1 cup chinese parsley leaves'), (3021, 460, 'Rice or steamed chinese buns to serve on side'), (3022, 461, '1 tablespoon sunflower seeds'), (3023, 461, '1 tablespoon pumpkin seeds'), (3024, 461, '1 tablespoon white sesame seeds'), (3025, 461, 'Cumin and Citrus Roasted Carrots (recipe follows)'), (3026, 461, '1 avocado, halved, pitted, peeled, and cut into thin wedges'), (3027, 461, '4 cups sprouts, preferably a mix of radish and beet'), (3028, 461, '1 tablespoon plus 1 teaspoon sour cream'), (3029, 461, 'Edible flowers, for garnish, optional'), (3030, 461, 'Cumin and Citrus Roasted Carrots'), (3031, 461, '1 pound medium carrots, peeled'), (3032, 461, '3 garlic cloves'), (3033, 461, '1 teaspoon cumin seeds'), (3034, 461, '1 teaspoon fresh thyme leaves'), (3035, 461, '1/4 teaspoon crushed red chile flakes'), (3036, 461, 'Kosher salt and freshly ground black pepper, plus more to taste'), (3037, 461, '1 tablespoon red wine vinegar'), (3038, 461, '1/4 cup plus 2 tablespoons extra-virgin olive oil'), (3039, 461, '1 1/2 oranges'), (3040, 461, '2 lemons, halved'), (3068, 462, '1 Tbsp. oil'), (3069, 462, '1/2 cup alphabet pasta, uncooked (1/2 of 7-oz. pkg.)'), (3070, 462, '1 clove garlic, minced'), (3071, 462, '2 cans (14.5 oz. each) fat-free reduced-sodium chicken broth'), (3072, 462, '1 can (8 oz.) tomato sauce'), (3073, 462, '4 oz. (1/2 of 8-oz. pkg.) KRAFT Sharp Cheddar Cheese, cubed'), (3074, 462, '30 RITZ Crackers'), (3127, 472, '1⁄3 cup parmesan cheese'), (3128, 472, '1⁄3 cup romano cheese'), (3129, 472, '1⁄3 cup dry monterey jack'), (3130, 474, '1 organic large egg'), (3131, 474, '1 teaspoon whole milk or water'), (3132, 474, '1 tablespoon cheddar cheese, shredded (you can use other types of cheese)'), (3133, 474, '1 teaspoon butter or oil'), (3134, 475, '2 large free-range eggs'), (3135, 475, 'olive oil'), (3136, 475, '10 g Cheddar cheese'), (3137, 476, '225g/8oz self raising flour'), (3138, 476, 'Pinch of salt'), (3139, 476, '55g/2oz butter'), (3140, 476, '25g/1oz mature cheddar cheese, grated'), (3141, 476, '150ml/5fl oz milk'), (3142, 477, '4 ounces, weight Cream Cheese, Softened'), (3143, 477, '1/2 cup Mayonnaise'), (3144, 477, '1 Tablespoon Dijon Mustard (more To Taste)'), (3145, 477, '1 Tablespoon Adobo Sauce From Canned Chipotles (more To Taste)'), (3146, 477, '1/2 teaspoon Black Pepper'), (3147, 477, '8 ounces, weight Sharp Cheddar Cheese, Grated'), (3148, 477, '8 ounces, weight Monterey Jack Or Mozzarella Cheese, Grated'), (3149, 477, '4 ounces, weight Sliced Pimentos, Drained'), (3150, 477, '2 teaspoons Chopped Fresh Dill'), (3151, 478, '1 clove garlic'), (3152, 478, '1 cup dry white wine'), (3153, 478, '3 cups vegetable stock'), (3154, 478, '8 ounces Emmentaler cheese, grated'), (3155, 478, '4 ounces gruyere cheese, grated'), (3156, 478, '4 ounces etivaz cheese, grated'), (3157, 478, '4 ounces vacherin fribourgeois or fontina cheese, grated'), (3158, 478, '1 pinch nutmeg, freshly grated'), (3159, 478, '4 tablespoons cornstarch'), (3160, 478, '1/2 cup water'), (3161, 479, '1 cup (150 gr.) all purpose flour'), (3162, 479, 'A scant ¾ cup (150 ml.) water'), (3163, 479, 'A scant ¾ cup (150 ml.) whole fat milk'), (3164, 479, '7 tablespoons (100 gr.) unsalted butter'), (3165, 479, '3 whole eggs'), (3166, 479, '1 egg yolk'), (3167, 479, 'A generous ½ cup (60 gr.) grated parmesan cheese'), (3168, 479, '2.8 ounces (80 gr.) grated edamer cheese'), (3169, 479, '1 pinch of salt'), (3170, 480, '4 tablespoons unsalted butter, softened'), (3171, 480, '8 slices sourdough bread'), (3172, 480, '4 slices cheddar cheese (about 3 ounces)'), (3173, 480, '4 slices Swiss cheese (about 3 ounces)'), (3174, 480, '4 slices American cheese (about 3 ounces)'), (3175, 481, '2 cups leftover pasta'), (3176, 481, '4 eggs beaten'), (3177, 481, '2 tablespoons butter'), (3178, 481, '1/2 cup whichever cheese the pasta called for'), (3179, 482, '1/2 pound campanelle pasta (or other short macaroni)'), (3180, 482, '1 to 2 garlic cloves, minced'), (3181, 482, '3 tablespoons tomato paste'), (3182, 482, '3/4 cup chicken stock'), (3183, 482, 'ground black pepper'), (3184, 482, '1 tablespoon butter'), (3185, 483, '12 oz (340 g) pasta'), (3186, 483, '2 garlic cloves'), (3187, 483, '7 oz (200 g) grated emmentaler cheese'), (3188, 483, '1.4 oz (40 g) grated parmesan cheese'), (3189, 483, '¼ cup (60 ml) sour cream'), (3190, 483, '½ cup (120 g) yogurt'), (3191, 483, '3 tbsp butter'), (3192, 483, 'Salt'), (3193, 483, 'Pepper'), (3194, 483, 'Chopped fresh parsley'), (3195, 484, '3 tablespoons unsalted butter'), (3196, 484, '2 ounces pancetta cut into 1/4-inch cubes'), (3197, 484, '1/2 cup onion, chopped'), (3198, 484, '1/2 pound gemelli (braided pasta) or fusilli (spiral-shaped pasta)'), (3199, 484, '2 tablespoons miso'), (3200, 484, '2 tablespoons flat-leaf parsley, chopped, plus more'), (3201, 484, '1/2 teaspoon freshly cracked black pepper'), (3202, 484, '1/2 cup fresh mozzarella, torn'), (3203, 485, '3 tablespoons vegetable oil'), (3204, 485, '7 ounces orzo pasta (or pasta de pluma)'), (3205, 485, '1 small white onion, finely chopped'), (3206, 485, '2 garlic cloves, minced'), (3207, 485, '12 ounces canned tomatoes, finely chopped'), (3208, 485, '8 cups chicken broth'), (3209, 485, '4 large chicken livers, cleaned and chopped'), (3210, 485, '4 cups coarsely chopped Swiss chard'), (3211, 485, '1 small bunch Italian parsley'), (3212, 485, 'Salt'), (3213, 485, 'Croutons'), (3214, 486, '½ pounds rotini pasta (2 ½ cups, dry pasta)'), (3215, 486, '6 teaspoons extra virgin olive oil'), (3216, 486, '2 teaspoons fresh limejuice'), (3217, 486, '1 teaspoon vinegar'), (3218, 486, '1 garlic clove, minced'), (3219, 486, '½ teaspoons prepared yellow mustard'), (3220, 486, '1 teaspoon salt'), (3221, 486, '½ teaspoons freshly cracked black pepper'), (3222, 486, '1 ripe avocado from mexico pitted, peeled and diced'), (3223, 486, '1 cup cherry tomatoes, halved'), (3224, 486, '¼ cups shredded parmesan cheese'), (3225, 486, '¼ cups red onion, thinly sliced'), (3226, 486, '¼ cups basil, finely minced'), (3234, 488, '4 eggs'), (3235, 488, '1/2 cup grated Parmesan'), (3236, 488, '8 slices thick bacon, chopped'), (3237, 488, '1 onion, chopped'), (3238, 488, '4  cups al-dente cooked pasta'), (3239, 488, 'salt'), (3240, 488, 'pepper'), (3241, 489, '1 lb. cellentani or other pasta'), (3242, 489, '1 jar puttanesca pasta sauce'), (3243, 489, '1 can light tuna in oil'), (3589, 535, '4 tablespoons (1/2 stick) unsalted butter'), (3590, 535, '6 oil-packed anchovy fillets'), (3591, 535, '2-3 large zucchini, thinly sliced into noodle-like ribbons with a vegetable peeler or mandoline (about 6 cups)'), (3592, 535, '1/2 cup grated Parmesan'), (3593, 535, '1 teaspoon crushed red pepper flakes'), (3644, 541, '5 tablespoons low-sodium soy sauce'), (3645, 541, '4 tablespoons seasoned rice (sushi) vinegar'), (3646, 541, '1 tablespoon fresh lemon juice'), (3647, 541, '1 teaspoon sugar'), (3648, 541, '1 tablespoon vegetable oil'), (3649, 541, '8 ounces soba (buckwheat) noodles, whole wheat spaghetti, or fettuccine'), (3650, 541, '4 scallions, thinly sliced'), (3651, 541, '1/2 English cucumber, peeled, seeded, and thinly sliced, about 1 cup (or 2 regular cucumbers)'), (3652, 541, '2 cups broccoli-heart (or cabbage) coleslaw mix'), (3653, 542, '½ lb. sea scallops'), (3654, 542, '1 head bok choy or romaine lettuce'), (3655, 542, '¼ lb. cooked ham'), (3656, 542, '1 medium carrot'), (3657, 542, '1 package chicken-flavor ramen noodle soup mix'), (3658, 542, '2 tsp. soy sauce'), (3659, 542, '1 tsp. peeled and grated ginger'), (3660, 543, '1/2 pound wide kosher for passover egg noodles'), (3661, 543, '1/2 stick butter, melted'), (3662, 543, '1 pound cottage cheese'), (3663, 543, '2 cups sour cream'), (3664, 543, '1/2 cup sugar'), (3665, 543, '6 eggs'), (3666, 543, '1 teaspoon ground cinnamon'), (3667, 543, '1/2 cup raisins'), (3737, 553, '4 fresh strawberries, plus ½ strawberry to garnish'), (3738, 553, '2 tsp white sugar'), (3739, 553, '35ml/1½fl oz white rum'), (3740, 553, '1 tbsp strawberry liqueur'), (3741, 553, '25ml/1fl oz lime juice'), (3742, 554, '2 ounces strawberry infused vodka'), (3743, 554, '1/2 lime'), (3744, 554, '1 ounce simple syrup'), (3745, 554, '3 mint leaves'), (3746, 554, '1 cup ice'), (3747, 554, '1 strawberry'), (3748, 555, 'For the Strawberry Syrup:'), (3749, 555, '1 cup sliced ripe strawberries'), (3750, 555, '1 cup water'), (3751, 555, '1 cup sugar'), (3752, 555, 'For the Sangria:'), (3753, 555, '2 lemons, thinly sliced'), (3754, 555, '2 oranges, thinly sliced'), (3755, 555, '4 ounces strawberry syrup along with reserved strawberries from syrup'), (3756, 555, '2 ounces Cointreau'), (3757, 555, '2 fresh strawberries, sliced, for garnish'), (3758, 555, '1 bottle cava or other dry sparkling wine'), (3759, 556, '1 cup Strawberry Syrup plus additional for drizzling'), (3760, 556, '1 cup whole milk'), (3761, 556, '2 pints strawberry ice cream, slightly softened'), (3762, 556, '4 strawberries with stems (optional; for garnish)'), (3766, 558, '1½ cups flour'), (3767, 558, '3½ teaspoons baking powder'), (3768, 558, '1 teaspoon salt'), (3769, 558, '1¼ cup non-fat milk'), (3770, 558, '1 tablespoon butter, melted'), (3771, 558, '1 egg'), (3772, 558, '2 tablespoons strawberry jam'), (3773, 558, '¼ cup strawberries, diced small'), (3774, 559, '1 cup fresh strawberry halves'), (3775, 559, '1 cup whole milk'), (3776, 559, '1 -2 tablespoons sugar (to taste)'), (3777, 560, '1½ c. milk'), (3778, 560, '1 package frozen sliced strawberries'), (3779, 560, '1 pt. strawberry ice cream'), (3780, 560, '1 club soda or strawberry soft drink'), (3781, 561, '2 shots vanilla vodka'), (3782, 561, '2 shots heavy cream'), (3783, 561, '1/2 shot strawberry liqueur'), (3784, 561, '1/2 shot strawberry nectar'), (3785, 561, 'Strawberry, for garnish'), (3786, 562, '500 milliliters apricot juice'), (3787, 562, '1 liter water'), (3788, 563, '6 water chestnuts, peeled and halved'), (3789, 563, '6 slices bacon, halved crosswise'), (3790, 564, '6 cups cold water'), (3791, 564, '6 thin slices english cucumber'), (3792, 564, '5 thin slices orange'), (3793, 565, '1 1/2 cups sparkling water'), (3794, 565, '2 (2\"-long, 1\"-wide) grapefruit peels'), (3795, 565, '2 teaspoons fresh grapefruit juice'), (3796, 566, 'vegetable oil spray'), (3797, 566, '½ cup powdered sugar, divided, plus more for dusting'), (3798, 566, '½ ounce unflavored powdered gelatin'), (3799, 566, '2 large egg whites'), (3800, 566, '2 cups sugar'), (3801, 566, '¼ teaspoon rose water or orange-flower water'), (3802, 566, '1 drop red or orange food coloring (optional)'), (3803, 567, '1 (750-milliliter) bottle prosecco'), (3804, 567, '1 cup sugar'), (3805, 567, '1/2 cup raspberries'), (3806, 567, '1 tablespoon rose water'), (3807, 568, 'For the Chile de Arbol Simple Syrup:'), (3808, 568, '5 dried chiles de arbol'), (3809, 568, '1 cup water'), (3810, 568, '1 cup sugar'), (3811, 568, 'For the Agua Fresca:'), (3812, 568, '2 pounds whole honeydew melon, cubed to make about 5 cups'), (3813, 568, '1 cup coconut water'), (3814, 568, '1 tablespoon chile de arbol simple syrup'), (3815, 568, '1 tablespoon fresh lime juice from 1 lime'), (3816, 568, 'Fresh melon for garnish (optional)'), (3817, 569, '1 pound strawberries'), (3818, 569, '1 cup blueberries'), (3819, 569, '10 cups cold water'), (3820, 570, '1/4 cup blackberries'), (3821, 570, '2 fresh sage leaves'), (3822, 570, '2 cups plus 1 tbsp. cold sparkling water'), (4645, 640, '1 pound pork cutlets, trimmed of extra fat and sliced crosswise into ¾-inch-wide strips'), (4646, 640, 'One 1-inch piece fresh ginger, peeled (use the edge of a teaspoon to scrape off the skin) and grated'), (4647, 640, '1 garlic clove, finely chopped'), (4648, 640, '1½ teaspoons low-sodium soy sauce'), (4649, 640, '1 tablespoon grapeseed or canola oil, divided'), (4650, 640, '15 scallions, trimmed and sliced into 2-inch-long pieces'), (4651, 641, '4 tablespoons olive oil'), (4652, 641, '1 1/2 pounds potatoes, cut into 3/4-inch pieces'), (4653, 641, '3/4 teaspoon salt'), (4654, 641, '1/4 teaspoon pepper'), (4655, 641, '1 onion, chopped into 1/2-inch thick pieces (about 1 1/2 cups)'), (4656, 642, '2 large potatoes, thinly sliced into half rounds or diced'), (4657, 642, '1 medium onion, thinly slices'), (4658, 642, '1/4 cup butter'), (4659, 643, '3 tablespoons canola or olive oil'), (4660, 643, '1 yellow onion, sliced'), (4661, 643, '2 pounds (4 medium) red potatoes, boiled and cut into wedges'), (4662, 643, '1/4 teaspoon kosher salt'), (4663, 643, 'freshly ground black pepper'), (4664, 644, '4 carrots, peeled'), (4665, 644, '1 cup corn kernels, fresh or frozen (thawed of course)'), (4666, 644, '1/2 red onion, fine dice'), (4667, 644, '1/2 cup your favorite home-made vinaigrette'), (4668, 644, '1/2 small avocado'), (4669, 644, 'Sea or kosher salt and pepper'), (4670, 644, '1/4 cup parsley, chopped'), (4671, 645, '100g all purpose flour'), (4672, 645, '140ml dashi stock (you can find it in asian grocery stores)'), (4673, 645, '¼ baking powder'), (4674, 645, 'Salt'), (4675, 645, '200g cabbage'), (4676, 645, '50g boiled octopus'), (4677, 645, '8 shrimps'), (4678, 645, 'Tenkasu (little beads of tempura fried batter – optional)'), (4679, 645, 'Beni shoga (pickled ginger)'), (4680, 645, '2 eggs'), (4681, 645, '100g slices pork belly'), (4682, 646, '2 live Homarus lobsters'), (4683, 646, '1 1/2 pounds steamer clams (optional)'), (4684, 646, '3 ears fresh local corn'), (4685, 646, '1 ripe tomato'), (4686, 646, '1 Kirby cucumber'), (4687, 646, '1 shallot'), (4688, 646, 'olive oil'), (4689, 646, 'salt'), (4690, 646, '4 tablespoons high-quality salted butter'), (4691, 646, '1 lemon'), (4692, 647, '1 1/2 pounds Russet potatoes (about 3 medium or 2 large potatoes)'), (4693, 647, '2 tablespoons olive oil, divided'), (4694, 647, '1 tablespoon unsalted butter'), (4695, 647, '1 medium onion, diced'), (4696, 647, '1/2 teaspoon garlic powder'), (4697, 647, '1 teaspoon smoked paprika'), (4698, 647, 'salt'), (4699, 647, 'pepper'), (4700, 648, '12 hard-boiled eggs, peeled, halved'), (4701, 648, '1/4 cup dried currants'), (4702, 648, '1 large green onion, finely chopped'), (4703, 648, '2 tablespoons minced fresh cilantro'), (4704, 648, '1/2 cup plus additional mayonnaise'), (4705, 648, '2 3/4 teaspoons curry powder'), (4706, 648, '1 small cucumber, peeled, cut lengthwise in half, seeded'), (4707, 648, '12 slices home-style or country white bread, toasted'), (5032, 694, '1 tablespoon unsalted butter'), (5033, 694, '1 large egg'), (5034, 694, 'Coarse salt and freshly ground pepper'), (5035, 694, '2 sliced cooked bacon, for serving (optional)'), (5036, 694, 'Toast, for serving (optional)'), (5037, 695, '1 large egg'), (5038, 695, '1 1/2 teaspoons milk or water'), (5039, 695, '1 1/2 teaspoons unsalted butter'), (5040, 695, 'salt'), (5041, 695, 'freshly ground black pepper'), (5042, 696, '1 tablespoon unsalted butter (1/2 ounce; 15g), softened, divided'), (5043, 696, '1 English muffin, split'), (5044, 696, '1 slice high-quality Canadian bacon'), (5045, 696, 'Nonstick cooking spray'), (5046, 696, '1 large egg'), (5047, 696, 'Kosher salt and freshly ground black pepper'), (5048, 696, '1 slice American, cheddar, Swiss, or jack cheese'), (5049, 697, '1 egg'), (5050, 697, '1 tablespoon walnuts, toasted and chopped'), (5051, 697, '2 sage leaves, finely chopped'), (5052, 697, '2 slices sandwich bread'), (5053, 697, '2 tablespoons heavy cream'), (5054, 697, 'Salt'), (5055, 697, 'Pepper'), (5056, 698, '1 teaspoon low-fat mayonnaise'), (5057, 698, '1/4 teaspoon whole-grain mustard'), (5058, 698, 'Pinch of salt'), (5059, 698, 'Pinch of freshly ground pepper'), (5060, 698, '1 large hard-boiled egg (see tip), peeled'), (5061, 699, '1¾ cups kosher salt'), (5062, 699, '1¼ cups sugar'), (5063, 699, '4 large egg yolks'), (5064, 699, 'vegetable oil spray'), (5065, 700, '1 slice Your Favorite Kind Of Bread'), (5066, 700, '1 Tablespoon Butter'), (5067, 700, '1 whole Egg'), (5068, 700, 'salt'), (5069, 700, 'pepper'), (5070, 701, 'Salt'), (5071, 701, '1/3 cup soy sauce, plus more to taste'), (5072, 701, '1/3 cup ketchup or 3 tablespoons tomato paste and a pinch of sugar'), (5073, 701, '1 tablespoon rice wine vinegar, plus more to taste'), (5074, 701, 'A few drops dark sesame oil, optional'), (5075, 701, 'A squirt sriracha or other sauce, or a dried red chile, to taste, optional'), (5076, 701, '1 pound egg noodles, preferably fresh'), (5077, 702, '12 eggs'), (5078, 702, '4 cups of spinach, finely chopped, then wilted'), (5079, 702, '3 cups of lentils, cooked'), (5080, 702, '3 cloves garlic, minced'), (5081, 702, '2 tsp pepper'), (5082, 702, '2 tsp salt'), (5138, 712, '1/4 apple, cored and diced'), (5139, 712, '1 1/2 ounces apple brandy, such as Laird’s Bonded Apple Brandy'), (5140, 712, '3/4 ounce Mandarine Napoléon liqueur'), (5141, 712, '1/2 ounce oloroso sherry, such as Williams & Humbert'), (5142, 712, '4 ounces prosecco sparkling wine'), (5143, 712, 'Orange twist, for garnish'), (5144, 712, 'Thinly sliced apple, for garnish'), (5145, 713, '1 lady apple, cut in half lengthwise, or 2 slices of a larger apple'), (5146, 713, '3 ounces whiskey'), (5147, 713, '1 ounce dry vermouth'), (5148, 713, '2 dashes bitters'), (5149, 713, '1 cup sparkling apple cider'), (5150, 714, '6 granny smith apples (or other tart baking apples, or 2 cups apple juice)'), (5151, 714, '3/4 cup rich simple syrup'), (5152, 714, '4 tablespoons lemon juice'), (5153, 715, '1 ounce apple juice'), (5154, 715, '1/2 ounce cognac'), (5155, 715, '1/2 ounce simple syrup'), (5156, 715, '4 to 5 red or green apple chunks'), (5157, 715, '3 ounces champagne'), (5158, 716, '½ a grapefruit'), (5159, 716, '1 apple'), (5160, 716, '3 medium carrots'), (5161, 717, '1 granny smith apple'), (5162, 717, '1 tablespoon fresh lemon juice'), (5163, 717, '1.5 cups red cabbage'), (5164, 717, '1.25 cups green cabbage'), (5165, 717, '1 beet'), (5166, 717, '.5 cups rice vinegar'), (5167, 717, '.25 cups apple cider vinegar'), (5168, 717, '2 teaspoons dijon mustard'), (5169, 717, '1 cup olive oil'), (5170, 718, '2 ounces applejack'), (5171, 718, '2 ounces chilled apple juice'), (5172, 718, '1 1/2 ounces chilled ginger beer'), (5173, 718, '3 pieces of candied ginger or 1 apple slice, skewered on a pick'), (5174, 719, '1 part vodka'), (5175, 719, '1 part sour apple Schnapps'), (5176, 719, '1 part apple juice'), (5177, 719, 'Sour apple hard candy, for garnish (recommended: Jolly Rancher)'), (5178, 719, 'Apple peel curl, for garnish'), (5179, 720, '1 cup apple cider'), (5180, 720, '3/4 cup apple jelly'), (5181, 720, '1/8 teaspoon apple pie spice'), (5387, 757, '1 teaspoon prepared horseradish'), (5388, 757, '1 tablespoon soy sauce'), (5389, 757, '1/2 cup plus 2 tablespoons (5 ounces) fresh tomato juice (from about 2 pints grape or cherry tomatoes, see note)'), (5390, 757, '1/4 cup (2 ounces) fresh kale juice (from about 1/2 pound kale)'), (5391, 757, '2 tablespoons (1 ounce) fresh celery juice (from 4 ribs celery)'), (5392, 757, '2 tablespoons (1 ounce) juice from 2 lemons'), (5393, 757, 'Dash hot sauce'), (5394, 757, 'Garnish: celery rib'), (5395, 758, '1 pound kale'), (5396, 758, 'Salt'), (5397, 759, '1 bunch kale (lacinato works well)'), (5398, 759, '1 teaspoon salt'), (5399, 759, '1 tablespoon olive oil'), (5400, 759, '1/2 lemon juice'), (5401, 760, '3/4 to 1 pound lacinato kale (also called Tuscan kale) or tender regular kale, stems and center ribs discarded'), (5402, 760, '3/4 to 1 pound lacinato kale (also called Tuscan kale) or tender regular kale, stems and center ribs discarded'), (5403, 760, '2 tablespoons finely chopped shallot'), (5404, 760, '1 1/2 tablespoons fresh lemon juice'), (5405, 760, '1/4 teaspoon salt'), (5406, 760, '1/4 teaspoon black pepper'), (5407, 760, '4 1/2 tablespoons extra-virgin olive oil'), (5408, 760, '2 ounces coarsely grated ricotta salata (1 cup)'), (5409, 761, '1 whole Large Bunch Of Kale, Or 2 Regular Bunches'), (5410, 761, '2 Tablespoons Olive Oil'), (5411, 761, '5 cloves Garlic, Finely Minced'), (5412, 761, 'salt'), (5413, 761, 'pepper'), (5414, 761, '1/2 Lemon, Optional'), (5415, 762, '500 g kale'), (5416, 762, '2 teaspoons sesame oil'), (5417, 762, '1 tablespoon olive oil'), (5418, 762, '1 tablespoon sesame seeds'), (5419, 763, '1 bunch (4 to 5 cups) Lacinato kale (also sold as Dinosaur kale)'), (5420, 763, '1 tablespoon olive oil'), (5421, 763, '½ teaspoon salt'), (5422, 763, '¼ teaspoon red pepper flakes (optional)'), (5423, 764, 'Half a bunch of kale'), (5424, 764, '1 tablespoon olive oil'), (5425, 764, '2 garlic cloves, smashed'), (5426, 764, 'Salt to taste'), (5427, 765, '1 bunch of fresh kale'), (5428, 765, 'olive oil'), (5429, 765, 'salt'), (5482, 775, '6 cups popped popcorn'), (5483, 775, '½ cup sugar'), (5484, 775, '½ cup honey'), (5485, 775, '½ cup peanut butter 1 cup roasted peanuts'), (5486, 775, '½ cup peanut butter'), (5487, 775, '1 cup roasted peanuts'), (5488, 776, '1/2 cup popcorn kernels'), (5489, 776, '1 teaspoon table or popcorn salt (fine grain), or to taste'); INSERT INTO `recipe_ingredients` (`id`, `recipe_id`, `ingredients_desc`) VALUES (5490, 776, '3 tablespoons olive oil of your choice'), (5491, 777, '10 cups plain unsalted popped popcorn'), (5492, 777, '2 tablespoons sugar'), (5493, 777, '2 teaspoons unsweetened cocoa powder'), (5494, 777, '2 tablespoons melted butter'), (5495, 778, '8 cups popped popcorn'), (5496, 778, '1 tablespoon fresh basil, chopped'), (5497, 778, '3 tablespoons extra virgin olive oil'), (5498, 778, '1 teaspoon garlic salt'), (5499, 779, '1/4 cup (1/2 stick) unsalted butter'), (5500, 779, '3 garlic cloves, minced'), (5501, 779, '1/3 cup popcorn kernels'), (5502, 779, '2 tablespoons vegetable oil'), (5503, 779, '1 teaspoon toasted sesame oil'), (5504, 779, '1 teaspoon shichimi togarashi'), (5505, 780, '1/2 cup popcorn kernels or one 3.5-ounce package plain microwave popcorn'), (5506, 780, '1 cup broken thin pretzel sticks'), (5507, 780, '2 tablespoons unsalted butter'), (5508, 780, '6 ounces marshmallows'), (5509, 780, '1/2 teaspoon fine salt'), (5510, 780, '1/2 cup chocolate-covered peanuts'), (5511, 781, '40g popcorn kernels'), (5512, 781, '2tbsp sunflower oil'), (5513, 781, '40g light brown sugar'), (5514, 781, '40g unsalted butter'), (5515, 781, '2tbsp golden syrup'), (5516, 781, 'Sprinkling of salt (optional, but i love sweet/salty combos and highly recommend it!)'), (5517, 782, '1/2 cup unsalted butter, more if you like'), (5518, 782, 'About 3 garlic cloves, crushed'), (5519, 782, '3 tablespoons grapeseed oil'), (5520, 782, '1 cup popcorn kernels'), (5521, 782, '2 tablespoons herbes de Provence'), (5522, 782, 'celery salt'), (5523, 782, 'salt'), (5524, 783, '5 tablespoons vegetable oil'), (5525, 783, '1/4 cup popcorn kernels'), (5526, 783, 'Two 3-ounce packages ramen noodles'), (5527, 783, '3 cups popcorn shrimp (purchased or frozen; cooked according to package directions)'), (5528, 783, '1 cup wasabi peas'), (5529, 785, '1/2 ounce egg white'), (5530, 785, '1 1/2 ounces white rum'), (5531, 785, '1 ounce pineapple juice'), (5532, 785, '1 ounce Coco Lopez cream of coconut'), (5533, 785, '1/2 ounce freshly squeezed lime juice'), (5534, 785, 'Garnish: brandied cherry'), (5535, 786, '1 2/3 cups coconut water'), (5536, 786, '1/4 cup coconut-milk powder'), (5537, 786, '2 tablespoons sugar'), (5538, 786, '1 teaspoon xanthan gum'), (5539, 786, 'a soda syphon with 1 seltzer charge and 1 cream charge'), (5540, 786, 'a soda syphon with 1 seltzer charge and 1 cream charge'), (5541, 787, '2 cups 1/2-inch cubes peeled mango'), (5542, 787, '2 cups crushed ice'), (5543, 787, '5 tablespoons strained passion fruit juice (from about 8 passion fruits; seeds discarded)'), (5544, 787, '1/4 cup coconut water (such as vita coco)'), (5545, 787, '1 teaspoon honey'), (5546, 788, '- 200 g light brown sugar'), (5547, 788, '- 130 g coconut oil'), (5548, 788, '- 65 g quality unsweetened cocoa powder'), (5549, 788, '- ½ teaspoon vanilla extract or paste'), (5550, 788, '- ¼ teaspoon fine sea salt'), (5551, 788, '- 2 eggs, cold from the fridge'), (5552, 788, '- 65 g plain flour'), (5553, 788, '- 1 tablespoon of toasted shredded coconut or handful of toasted coconut strips'), (5554, 789, '1/2 cup coconut cream, such as coco lopez'), (5555, 789, '1/2 cup white or amber rum'), (5556, 789, '1 cup fresh ripe pineapple, plus 4 slices for garnish'), (5557, 789, '4 cups ice cubes'), (5558, 790, '3 cups cold water'), (5559, 790, '1 (16-ounce) can cream of coconut'), (5560, 790, '1 cup light rum'), (5561, 790, '1/4 cup maraschino liqueur'), (5562, 790, '2 tablespoons freshly squeezed lime juice'), (5563, 791, '250 grams (9 ounces) unsweetened dried coconut flakes'), (5564, 791, '160 grams (3/4 cup plus 1 tablespoon) sugar (i use unrefined cane sugar)'), (5565, 791, 'A fat pinch of salt'), (5566, 791, '3 medium egg whites'), (5567, 792, '1½ cups light coconut milk'), (5568, 792, '½ cup yogurt'), (5569, 792, '2 ripe bananas'), (5570, 792, '¾ cup semisweet chocolate chips'), (5571, 792, '1 teaspoon vanilla extract'), (5572, 792, '1 cup crushed ice'), (5573, 793, '4 tablespoons (2 ounces) unsalted butter'), (5574, 793, '1 (10-ounce) bag marshmallows (47 large)'), (5575, 793, 'Pinch salt'), (5576, 793, '5 tablespoons creamy peanut butter'), (5577, 793, '5 1/2 cups Captain Crunch Peanut Butter cereal'), (5578, 793, '1 cup honey roasted peanuts'), (5579, 794, '4 cups very crisp cornflakes or other non-sugar-coated flaked cereal'), (5580, 794, '1 pound bittersweet chocolate, tempered'), (5581, 795, '4 tablespoons unsalted butter'), (5582, 795, '1/4 cup light brown sugar'), (5583, 795, '1/4 cup honey'), (5584, 795, '1/2 teaspoon coarse salt'), (5585, 795, 'Pinch cinnamon'), (5586, 795, '3 cups Cheerios (toasted oat cereal)'), (5587, 795, '3/4 cup roasted unsalted almonds, roughly chopped'), (5588, 796, '1 cup Kashi GoLean Crunch cereal'), (5589, 796, '1 cup fat-free milk'), (5590, 796, '2 tablespoons slivered almonds'), (5591, 797, '4 cups whole grain oat cereal, such as Cheerios'), (5592, 797, '1 pound milk chocolate, tempered'), (5593, 797, '4 cups corn flake cereal'), (5594, 797, '1 pound dark chocolate, tempered'), (5595, 798, '4 cups corn cereal, such as Corn Chex'), (5596, 798, '4 cups rice cereal, such as Rice Chex'), (5597, 798, '2 cups honey-wheat pretzel sticks broken into bite-size pieces'), (5598, 798, '3/4 cup roasted, salted cashews'), (5599, 798, '3/4 cup roasted, salted peanuts'), (5600, 798, '8 tablespoons unsalted butter (1 stick), melted'), (5601, 798, '2 tablespoons Worcestershire sauce'), (5602, 798, '1 tablespoon hot sauce, such as Tabasco'), (5603, 798, '2 teaspoons granulated garlic powder'), (5604, 798, '2 teaspoons dry mustard'), (5605, 798, '1 teaspoon kosher salt'), (5606, 799, '½ c. unsalted butter'), (5607, 799, '1 package marshmallows'), (5608, 799, '1 tsp. pure vanilla extract'), (5609, 799, '5 c. rice cereal'), (5610, 799, 'Sanding sugar or sprinkles'), (5611, 799, '3 tbsp. white chocolate chips'), (5612, 799, '12 Rolo candies'), (5613, 800, '1/2 cup low-fat (1%) cottage cheese'), (5614, 800, '2 tablespoons bran cereal'), (5615, 800, '2 tablespoons apricot jam'), (5616, 801, '6 cups puffed rice cereal'), (5617, 801, '1 cup creamy peanut butter'), (5618, 801, '12 ounces butterscotch chips'), (5671, 811, '1 pound white chocolate chips'), (5672, 811, '1 pound dark chocolate chips or couverture disks'), (5673, 811, '1 1/2 cups mini chocolate chip cookies'), (5674, 811, '2/3 cup walnut pieces'), (5675, 811, '1/3 cup mini chocolate chips'), (5676, 812, '2 cups milk'), (5677, 812, '4 tsp. cornstarch'), (5678, 812, '1 1/4 cups heavy cream'), (5679, 812, '2/3 cup sugar'), (5680, 812, '2 tbsp. light corn syrup'), (5681, 812, '1/4 tsp. kosher salt'), (5682, 812, '3 tbsp. cream cheese, softened'), (5683, 812, '8 Salted Chocolate Chip Cookies (order the mix here!), chopped'), (5684, 813, '2 marshmallows'), (5685, 813, '2 chewy chocolate chip cookies'), (5686, 813, '1 tablespoon chopped salted roasted pistachios'), (5693, 814, '1 recipe Chocolate Chip Cookie dough'), (5694, 814, '1 quart premium ice cream, slightly softened'), (5695, 814, 'One 12 ounce bag (2 cups) mini chocolate chips'), (5696, 815, '4 to 5 teaspoons instant espresso powder'), (5697, 815, '1 recipe cooled vanilla or chocolate pudding'), (5698, 815, '1/4 cup miniature chocolate chips'), (5699, 816, '2 scoops mint chocolate chip ice cream'), (5700, 816, '2 tablespoons chocolate syrup'), (5701, 816, '1/2 cup evaporated milk'), (5702, 816, '1/4 cup mini-chocolate chips'), (5703, 816, '1 cup ice'), (5704, 817, 'For the cookie dough'), (5705, 817, '1 1/2 tablespoons ground flax meal'), (5706, 817, '2 tablespoons hot water'), (5707, 817, '3 ounces (3/4 cup) white rice flour'), (5708, 817, '1.25 ounces (1/3 cup) sorghum flour'), (5709, 817, '1/2 teaspoon baking soda'), (5710, 817, '1/4 teaspoon salt'), (5711, 817, '3/4 stick butter, softened'), (5712, 817, '2 ounces (1/4 cup) dark brown sugar'), (5713, 817, '1 3/4 ounces (1/4 cup) granulated sugar'), (5714, 817, '1 teaspoon vanilla extract'), (5715, 817, '5 ounces (about 3/4 cup) mini-chocolate chips'), (5716, 817, 'For the ice cream'), (5717, 817, '1/2 gallon gluten-free chocolate chip ice cream'), (5718, 818, '10 1/2 tablespoons sugar, divided'), (5719, 818, '1/2 cup powdered sugar'), (5720, 818, '3 tablespoons unsweetened cocoa powder'), (5721, 818, '4 large egg whites'), (5722, 818, '2 pints mint chip ice cream, slightly softened'), (5723, 818, '1/2 cup chilled whipping cream'), (5724, 818, '1/4 teaspoon vanilla extract'), (5725, 818, '1/4 cup chocolate sprinkles'), (5735, 819, '2 cups all-purpose flour'), (5736, 819, '8 tablespoons (1 stick) cold butter'), (5737, 819, '1 pound grated sharp cheddar'), (5738, 819, '2 teaspoons baking powder'), (5739, 819, '1½ teaspoons kosher salt'), (5740, 819, '1 teaspoon ground black pepper'), (5741, 820, '1¼ cup blanched almond flour (not almond meal)'), (5742, 820, '&frac18; teaspoon celtic sea salt'), (5743, 820, '&frac18; teaspoon baking soda'), (5744, 820, '1 cup freshly grated cheddar cheese'), (5745, 820, '1 tablespoon olive oil'), (5746, 820, '1 large egg'), (5747, 821, '1 c. all-purpose flour'), (5748, 821, '4 tbsp. cold unsalted butter'), (5749, 821, '8 oz. grated extra-sharp Cheddar cheese'), (5750, 821, '¾ tsp. salt'), (5751, 821, '½ tsp. fresh-ground pepper'), (5752, 821, '½ c. peanut butter'), (5753, 821, '1 tbsp. honey'), (5754, 821, '.13 tsp. cayenne pepper'), (5755, 822, '6 tablespoons unsalted butter, melted'), (5756, 822, '¼ cup hot sauce (such as Tabasco)'), (5757, 822, '¼ cup packed light brown sugar'), (5758, 822, '2 large egg whites, lightly beaten'), (5759, 822, '1 tablespoon Old Bay seasoning'), (5760, 822, '1½ teaspoon dried oregano'), (5761, 822, '2 cups Cheez-It crackers'), (5762, 822, '2 cups Goldfish crackers'), (5763, 822, '2 cups oyster crackers'), (5764, 822, '2 cups toasted pecan halves'), (5765, 822, '2 cups thinly-sliced dried sausage or beef jerky (optional)'), (5785, 823, '1 c. sharp Cheddar cheese, very finely shredded'), (5786, 823, '½ c. unbleached all-purpose flour'), (5787, 823, '½ c. cake flour'), (5788, 823, '1 tbsp. Cheddar cheese powder'), (5789, 823, '1 tsp. kosher salt'), (5790, 823, '½ tsp. baking powder'), (5791, 823, '¼ tsp. onion powder'), (5792, 823, '¼ c. whole or reduced-fat milk'), (5793, 823, '1 tbsp. vegetable oil'), (5794, 824, '1 pkg. (10 oz.) peanut butter chips *'), (5795, 824, '1 tbsp. shortening'), (5796, 824, '1 cup chow mein noodles'), (5797, 824, '1 cup pepperidge farm® goldfish colors **'), (5798, 824, 'Tip: *or use your favorite flavor chips.'), (5799, 824, '**or use 3/4 cup pepperidge farm® goldfish® colors and 1/4 cup flaked coconut'), (5800, 825, '1 slice Pepperidge Farm® White Sandwich Bread'), (5801, 825, '2 tablespoons crunchy or smooth peanut butter'), (5802, 825, '1 slice Pepperidge Farm® Whole Grain 100% Whole Wheat Bread'), (5803, 825, '2 tablespoons grape jelly or your favorite jam'), (5804, 825, '4 Pepperidge Farm® Cheddar Goldfish®'), (6832, 973, '2 bag romaine salad mix'), (6833, 973, '1 container Carrot and celery sticks'), (6834, 973, '1 takeout order chicken fingers'), (6835, 973, '2 tbsp. cayenne pepper sauce'), (6836, 973, '½ c. blue cheese salad dressing'), (6837, 974, '½ batch lemony mint salad dressing (recipe below)'), (6838, 974, '1 english cucumber (or 3 to 4 persian or japanese cucumbers), diced'), (6839, 974, '1 onion, minced'), (6840, 974, '1 lb (500 g) tomatoes, diced (about 4 medium tomatoes)'), (6841, 974, '1 bunch fresh parsley, minced'), (6842, 974, '4 sprigs fresh mint, minced'), (6843, 974, '¼ teaspoon salt'), (6844, 975, '¾ c. oil-and-vinegar salad dressing'), (6845, 975, '4 boneless chicken thighs or breast halves'), (6846, 975, '1½ c. plum tomatoes'), (6847, 975, '1 large red onion'), (6848, 975, '1 bag mixed salad greens'), (6849, 975, '½ English cucumber'), (6850, 976, '1 cup quinoa'), (6851, 976, '2 cups chicken or vegetable stock'), (6852, 976, '1 hothouse cucumber, diced'), (6853, 976, '2 scallions'), (6854, 976, '1/2 cup roasted red pepper, diced'), (6855, 976, '1/4 cup flat leaf parsley, finely chopped'), (6856, 976, '1 tablespoon fines herbs (recommended: Spice Island)'), (6857, 976, '1/4 cup crumbled feta cheese'), (6858, 976, '3 tablespoons slivered almonds'), (6859, 976, '9 cups spring salad mix'), (6860, 976, '1/4 cup light roasted garlic and balsamic salad dressing'), (6961, 2, '4 slices good sourdough bread'), (6962, 2, '3 tablespoons Sriracha Mayonnaise (recipe follows)'), (6963, 2, '8 ounces picked lump crabmeat, preferably peekytoe, picked over for bits of shell'), (6964, 2, 'Crushed red chile flakes, optional'), (6965, 2, '1 lemon, cut into wedges'), (6966, 2, 'Sriracha Mayonnaise'), (6967, 2, '1 large egg yolk'), (6968, 2, '1 tablespoon Dijon mustard'), (6969, 2, '1/2 teaspoon kosher salt'), (6970, 2, '3/4 cup grapeseed or other neutral oil'), (6971, 2, '2 teaspoons fresh lemon juice'), (6972, 2, '2 teaspoons Sriracha'), (6973, 3, '2¼ pounds heirloom tomatoes, cored and cut into wedges'), (6974, 3, '1 pint (2 cups) mixed cherry tomatoes, halved'), (6975, 3, 'Kosher salt and freshly ground black pepper'), (6976, 3, '2 basil sprigs, leaves removed and thinly sliced (about 10 leaves)'), (6977, 3, '1 mint sprig, leaves removed and thinly sliced (about 8 leaves)'), (6978, 3, '6 ounces ciliegine (see note), drained'), (6979, 3, '3 tablespoons extra-virgin olive oil'), (6980, 3, '1 tablespoon plus 1½ teaspoons red wine vinegar'), (6981, 3, 'Coarse sea salt (such as fleur de sel or maldon)'), (6982, 3, '1 small serrano chile, thinly sliced (about 12 slices)'), (6983, 4, '6 ears sweet yellow corn, unhusked'), (6984, 4, '2 tablespoons extra virgin olive oil'), (6985, 4, '2 tablespoons unsalted butter (1/4 stick)'), (6986, 4, 'Kosher salt'), (6987, 4, 'Black pepper, freshly ground'), (6988, 4, '1 jalapeno, seeded, finely diced'), (6989, 4, '1/2 teaspoon crushed red pepper flakes'), (6990, 4, '1 lime, cut into 4 wedges'), (6991, 4, '1 cup manchego cheese, finely grated'), (6992, 4, '1/4 cup chives, thinly sliced'), (6993, 4, '2 teaspoons lime zest, finely grated with microplane'), (6994, 5, '1 tablespoon cornstarch'), (6995, 5, '7 tablespoons peanut oil'), (6996, 5, '2 to 3 shallots, minced (about 1/2 cup)'), (6997, 5, '1 1/2-inch knob ginger, grated (about 2 tablespoons)'), (6998, 5, '6 medium garlic cloves, minced (about 2 tablespoons)'), (6999, 5, '4 Thai chiles, minced'), (7000, 5, '2 whole Mud or Dungeness crabs (about 1 pound each), prepared (see note above)'), (7001, 5, '2 cups homemade or store-bought low sodium chicken broth'), (7002, 5, '1/4 cup tomato paste'), (7003, 5, '1/2 cup hot-sweet chili sauce (see note above)'), (7004, 5, '1 large egg, beaten'), (7005, 5, '1/2 cup thinly sliced green onions'), (7006, 5, '1 cup chinese parsley leaves'), (7007, 5, 'Rice or steamed chinese buns to serve on side'), (7008, 6, '1 tablespoon sunflower seeds'), (7009, 6, '1 tablespoon pumpkin seeds'), (7010, 6, '1 tablespoon white sesame seeds'), (7011, 6, 'Cumin and Citrus Roasted Carrots (recipe follows)'), (7012, 6, '1 avocado, halved, pitted, peeled, and cut into thin wedges'), (7013, 6, '4 cups sprouts, preferably a mix of radish and beet'), (7014, 6, '1 tablespoon plus 1 teaspoon sour cream'), (7015, 6, 'Edible flowers, for garnish, optional'), (7016, 6, 'Cumin and Citrus Roasted Carrots'), (7017, 6, '1 pound medium carrots, peeled'), (7018, 6, '3 garlic cloves'), (7019, 6, '1 teaspoon cumin seeds'), (7020, 6, '1 teaspoon fresh thyme leaves'), (7021, 6, '1/4 teaspoon crushed red chile flakes'), (7022, 6, 'Kosher salt and freshly ground black pepper, plus more to taste'), (7023, 6, '1 tablespoon red wine vinegar'), (7024, 6, '1/4 cup plus 2 tablespoons extra-virgin olive oil'), (7025, 6, '1 1/2 oranges'), (7026, 6, '2 lemons, halved'), (7054, 7, '1 Tbsp. oil'), (7055, 7, '1/2 cup alphabet pasta, uncooked (1/2 of 7-oz. pkg.)'), (7056, 7, '1 clove garlic, minced'), (7057, 7, '2 cans (14.5 oz. each) fat-free reduced-sodium chicken broth'), (7058, 7, '1 can (8 oz.) tomato sauce'), (7059, 7, '4 oz. (1/2 of 8-oz. pkg.) KRAFT Sharp Cheddar Cheese, cubed'), (7060, 7, '30 RITZ Crackers'), (7061, 8, '1/2 cup olive oil'), (7062, 8, '5 cloves garlic, peeled'), (7063, 8, '2 large russet potatoes, peeled and cut into chunks'), (7064, 8, '1 3-4 pound chicken, cut into 8 pieces (or 3 pound chicken legs)'), (7065, 8, '3/4 cup white wine'), (7066, 8, '3/4 cup chicken stock'), (7067, 8, '3 tablespoons chopped parsley'), (7068, 8, '1 tablespoon dried oregano'), (7069, 8, 'Salt and pepper'), (7070, 8, '1 cup frozen peas, thawed'), (7071, 9, '4 tablespoons unsalted butter (1/2 stick)'), (7072, 9, '1/3 cup all-purpose flour'), (7073, 9, '2 cups low-sodium chicken broth'), (7074, 9, '1 cup whole milk'), (7075, 9, '3 cups cooked chicken, medium dice'), (7076, 9, '1 tablespoon apple cider vinegar'), (7077, 10, '1½ teaspoons canola oil'), (7078, 10, '½ small shallot, finely chopped'), (7079, 10, '1 cup (about ½ pound) raw, boneless chicken meat (preferably from 3 boneless chicken thighs), roughly chopped'), (7080, 10, '⅔ cup (about ¼ pound) chicken skin and fat (reserved from the 3 chicken thighs)'), (7081, 10, '2 chicken livers (optional)'), (7082, 10, '2 garlic cloves, finely chopped'), (7083, 10, '¼ cup finely chopped chives, plus extra for serving'), (7084, 10, '1¼ teaspoons kosher salt'), (7085, 10, '¾ teaspoon freshly ground black pepper'), (7086, 10, '30 to 34 square wonton wrappers'), (7087, 10, '8 cups store-bought or homemade chicken broth'), (7088, 11, '8 chicken breast cutlets, or 4 boneless skinless chicken breast halves, split horizontally into 8 cutlets (1 1/2 pounds total)'), (7089, 11, '8 chicken breast cutlets, or 4 boneless skinless chicken breast halves, split horizontally into 8 cutlets (1 1/2 pounds total)'), (7090, 11, '8 chicken breast cutlets, or 4 boneless skinless chicken breast halves, split horizontally into 8 cutlets (1 1/2 pounds total)'), (7091, 11, '1/2 cup dried breadcrumbs'), (7092, 11, '1/2 cup finely grated Parmesan cheese'), (7093, 11, 'salt'), (7094, 11, 'freshly ground pepper'), (7095, 11, '2 large eggs, lightly beaten'), (7096, 11, '1/4 cup olive oil'), (7097, 11, '2 cups spaghetti sauce, homemade or purchased'), (7098, 11, '8 slices (1/4-inch-thick) mozzarella cheese, preferably fresh (6 ounces)'), (7099, 12, '1.5 cups quinoa'), (7100, 12, '3 cups broth or water'), (7101, 12, '4 chicken thighs'), (7102, 12, '1 onion or leek'), (7103, 12, 'Olive oil'), (7104, 13, '8 tbsp olive oil'), (7105, 13, '1 onion, sliced'), (7106, 13, '2 celery stalks, roughly chopped'), (7107, 13, '2 medium carrots, roughly chopped'), (7108, 13, '6 chicken breasts, or chicken thighs, bones removed'), (7109, 13, '175ml/6fl oz white wine'), (7110, 13, '3 tbsp tomato purée'), (7111, 13, '500ml/17 fl oz chicken stock'), (7112, 13, '2 bay leaves'), (7113, 13, '2-3 sage leaves'), (7114, 13, '1 rosemary sprig'), (7115, 13, '250g/9oz easy-cook polenta'), (7116, 13, 'Knob of butter'), (7117, 13, '25g/1oz parmesan'), (7118, 14, '6 (3-ounce) chicken cutlets, pounded to evenly flatten'), (7119, 14, 'Salt and freshly ground black pepper'), (7120, 14, '6 paper-thin slices prosciutto'), (7121, 14, '1 (10-ounce) box frozen chopped spinach, thawed'), (7122, 14, '3 tablespoons olive oil'), (7123, 14, '1/4 cup grated parmesan'), (7124, 14, '1 (14-ounce) can low-salt chicken broth'), (7125, 14, '2 tablespoons fresh lemon juice'), (7126, 15, '400 g quality chorizo'), (7127, 15, '1 small onion'), (7128, 15, '50 g jarred piquillo peppers'), (7129, 15, '½ a bunch of fresh flat-leaf parsley'), (7130, 15, '22 free-range chicken drumettes'), (7131, 15, '2 tablespoons extra virgin olive oil'), (7132, 15, '1 teaspoon smoked paprika'), (7133, 15, '2 tablespoon tomato pureé'), (7134, 15, '400 g Bomba paella rice'), (7135, 15, '120 ml white wine'), (7136, 15, '750 ml organic chicken stock'), (7137, 15, '200 g frozen peas'), (7138, 15, '1 lemon'), (7139, 16, '3 1/2 pounds whole cut-up chicken'), (7140, 16, '2 (5-ounce) packets chicken fry coating (recommended: Dixie Fry)'), (7141, 16, '2 tablespoons salt-free chicken seasoning, divided (recommended: McCormick Grill Mates)'), (7142, 16, 'Canola oil, for frying'), (7143, 16, '2 (12-ounce) jars roasted chicken gravy (recommended: Franco American)'), (7144, 16, '1 teaspoon crushed garlic'), (7481, 53, '8 ounces beef chuck steak, cut into 1/2-inch cubes'), (7482, 53, '1/4 teaspoon salt'), (7483, 53, '3 cups water'), (7484, 54, '1 pound beef tenderloin'), (7485, 54, 'Coarse salt and ground pepper'), (7486, 54, '3 tablespoons canola oil'), (7487, 54, '1 medium onion, thinly sliced'), (7488, 54, '1 pound white mushrooms, sliced 1/2 inch thick'), (7489, 54, '1 cup reduced-sodium canned beef broth'), (7490, 54, '1 tablespoon dijon mustard'), (7491, 54, '1/2 cup sour cream'), (7492, 54, 'Chopped fresh dill, for garnish'), (7493, 55, '1/4 pound thinly sliced rare roast beef (like from the deli)'), (7494, 55, '1 bunch fresh basil leaves'), (7495, 55, '1/2 teaspoon olive oil'), (7496, 55, '1 cup cherry tomatoes'), (7497, 56, '2 teaspoons vegetable oil'), (7498, 56, '8 ounces ground beef chuck (20% fat)'), (7499, 56, '2 tablespoons sake'), (7500, 56, '2 tablespoons mirin (sweet Japanese rice wine)'), (7501, 56, '1 tablespoon soy sauce'), (7502, 56, '2 scallions, chopped'), (7503, 57, '14 ounces lean tender beef for frying (sirloin, rump, fillet, tenderloin)'), (7504, 57, '2 garlic cloves'), (7505, 57, '1-inch piece ginger'), (7506, 57, '3 tablespoons for marinating plus 3 tablespoons for cooking light soy sauce'), (7507, 57, '4 tablespoons oyster sauce'), (7508, 57, '1 teaspoon five-spice mixture'), (7509, 57, '1 heaping cup broccoli'), (7510, 57, '2 teaspoons cornstarch'), (7511, 57, 'Scant 1/2 cup beef stock (remains of a beef casserole or use a stock cube)'), (7512, 57, '2 tablespoons peanut oil'), (7513, 58, '2 pounds ground beef'), (7514, 58, '2 large onions (for about 2 cups chopped)'), (7515, 58, '3 cloves fresh garlic, minced, or 1 tablespoon bottled minced garlic'), (7516, 58, '1 tablespoon Worcestershire sauce'), (7517, 59, '2 tbsp vegetable oil'), (7518, 59, '500g/1lb 2oz beef mince'), (7519, 59, '1 onion, chopped'), (7520, 59, '1 tbsp tomato purée 1½ tbsp plain flour, plus extra for dusting'), (7521, 59, '75g/2½oz mushrooms, chopped'), (7522, 59, '250ml/9fl oz stout or beef stock'), (7523, 59, 'Dash worcestershire sauce'), (7524, 59, '400g/14oz ready-made shortcrust pastry'), (7525, 59, '1 free-range egg, yolk only, lightly beaten'), (7526, 60, '2 Tbsp cornstarch'), (7527, 60, '1 ¾ cup Swanson® Beef Broth or Swanson® Beef Stock'), (7528, 60, '2 Tbsp soy sauce'), (7529, 60, '1 Tbsp packed brown sugar'), (7530, 60, '½ tsp beef top round steak, 3/4-inch thick, cut into very thin strips'), (7531, 60, '1 boneless beef sirloin steak'), (7532, 60, '1 lb fresh or frozen broccoli florets'), (7533, 60, '4 cup regular long-grain white rice, cooked according to package directions (about 3 cups)'), (7534, 60, '1 cup long-grain white rice'), (7535, 61, '1 zucchini, cut into 1/2-inch chunks'), (7536, 61, '1/4 pound mushrooms, quartered'), (7537, 61, '1 tomato, coarsely chopped'), (7538, 61, '1 cup cooked potatoes from Roast Beef with Horseradish Potatoes, cut into 1/2-inch chunks'), (7539, 61, 'leftover beef (about 12 ounces) from Roast Beef with Horseradish Potatoes, cut into 1-inch pieces'), (7540, 61, '3 tablespoons all-purpose flour'), (7541, 61, '1 1/2 cups chicken broth'), (7542, 61, '1 tablespoon Dijon mustard'), (7543, 61, '1 teaspoon salt'), (7544, 61, '1 tablespoon fresh parsley, chopped'), (7545, 61, '1 pound package puff pastry, thawed'), (7611, 71, '1 whole rind from a pork shoulder or belly (about 1 1/2 pounds), cut in to 1/5 inch slices'), (7612, 71, '1/3 cup of kosher salt'), (7613, 72, 'Two 8-ounce boneless pork loin chops, cut 3/4-inch thick, trimmed'), (7614, 72, '1 tablespoon extra-virgin olive oil'), (7615, 72, '1 tablespoon unsalted butter'), (7616, 72, 'Coarse salt and freshly ground pepper'), (7617, 73, '1½ pounds center cut pork loin, pork tenderloin, or pork steak'), (7618, 73, '½ cup hoisin sauce'), (7619, 73, '2 tablespoons soy sauce'), (7620, 73, '1½ tablespoons ketchup'), (7621, 73, '1 tablespoon minced garlic'), (7622, 73, '3 tablespoons water'), (7623, 74, '¼ to ½ pound pork chicharron'), (7624, 74, '4 fresh corn tortillas'), (7625, 74, '½ pound Oaxaca, Asadero, Quesillo, or Monterey jack cheese, cut into cubes or torn into small pieces'), (7626, 75, '10 cups shredded pork shoulder'), (7627, 75, '1/2 to 1 cup barbecue sauce (store-bought or homemade)'), (7628, 75, '12 hamburger buns'), (7629, 76, '1 5-lb. slab of pork tenderloin, with rind and fat intact'), (7630, 76, 'Dried bay leaves'), (7631, 76, 'Whole cloves'), (7632, 76, 'Sea salt and pepper'), (7633, 77, '1 whole Large Onion'), (7634, 77, '1 whole Pork Shoulder (\"pork Butt\") - 5 To 7 Pounds'), (7635, 77, 'ground black pepper'), (7636, 77, 'salt'), (7637, 77, '1 can (11 Ounce) Chipotle Peppers In Adobo Sauce'), (7638, 77, '2 cans Dr. Pepper'), (7639, 77, '2 Tablespoons Brown Sugar'), (7640, 78, '1/2 lb. ground pork'), (7641, 78, '1/2 lb. hot or sweet italian sausage'), (7642, 78, '1/2 teaspoon kosher salt'), (7643, 78, '1/4 teaspoon freshly ground black pepper'), (7644, 80, '1 cup water'), (7645, 80, '1 cup sugar'), (7646, 80, '1 vanilla bean'), (7647, 81, '2 pounds sweet cherries, pitted if desired'), (7648, 81, '2 wide strips lemon peel (optional)'), (7649, 81, '1 cup sugar'), (7650, 81, '1 vanilla bean, split lengthwise'), (7651, 81, '1¼ cups brandy or vodka'), (7652, 82, '4 cups soy-bean sprouts'), (7653, 82, '4 cups mung-bean sprouts'), (7654, 82, '¼ cup Japanese soy sauce'), (7655, 82, '2 tablespoons sesame oil'), (7656, 82, '1 tablespoon sugar'), (7657, 82, '¼ teaspoon salt'), (7658, 82, '2 teaspoons roasted and lightly crushed sesame seeds'), (7659, 83, '4 large egg yolks'), (7660, 83, '1/4 cup sugar'), (7661, 83, '1 cup milk'), (7662, 83, '3/4 cup heavy cream'), (7663, 83, '1/2 vanilla bean, split and scraped'), (7664, 84, '3/4 cup whipping cream'), (7665, 84, '1 vanilla bean, split lengthwise'), (7666, 84, '2 tablespoons plus 2/3 cup sugar'), (7667, 84, '3 cups fresh tangerine juice'), (7668, 85, '½ small onion, finely diced'), (7669, 85, '200g/7oz tomatoes, diced'), (7670, 85, '1 tbsp white wine vinegar'), (7671, 85, '1 lime, zest only (juice used below)'), (7672, 85, 'Salt and pepper'), (7673, 85, '1 x 400g/14oz tin mexican-style bean mix or mixed beans in mild chilli sauce'), (7674, 85, '200g/7oz frozen sweetcorn, defrosted'), (7675, 85, '8 tortilla wraps'), (7676, 85, '150g/5½oz long-grain rice, cooked according to the packet instructions'), (7677, 85, '1 lime, juice only (zest used above)'), (7678, 85, 'About 200g/7oz plain yoghurt'), (7679, 86, '1 pound bag of dry 15 or 16 bean soup mix, rinsed and drained (toss out the ham flavor packet)'), (7680, 86, '2 cans of diced tomatoes, or about 4 chopped fresh tomatoes, with juices'), (7681, 86, '1 large onion, diced'), (7682, 86, '1 pound chicken breast or tenderloins'), (7683, 86, '6 cups water'), (7684, 86, '1 tablespoon salt'), (7685, 86, '1/4 cup or more hot sauce (i prefer franks buffalo wing sauce for the mild buttery flavor)'), (7686, 87, 'baked tortilla chips'), (7687, 87, '2 dried chipotle meco chiles, seeds and stems removed'), (7688, 87, '2 teaspoons lard or canola oil'), (7689, 87, '2 cloves garlic, peeled'), (7690, 87, '1/4 medium onion'), (7691, 87, '2 cups cooked black beans, with about 3/4 cup bean broth'), (7692, 87, '2 cups cooked black beans, with about 3/4 cup bean broth'), (7693, 87, '1/8 teaspoon black pepper'), (7694, 87, '1/2 teaspoon ground cumin'), (7695, 87, 'salt'), (7696, 87, '1 large chipotle en adobo from a can, with seeds'), (7697, 87, '6 to 12 corn tortillas'), (7698, 87, 'salt'), (7699, 88, '2 tablespoons of olive, grapeseed, or safflower oil'), (7700, 88, 'dash of chili pepper flakes'), (7701, 88, '25 brussels sprouts'), (7702, 88, '1 1/2 tablespoons of black bean garlic sauce'), (7703, 88, 'ground black pepper'), (7704, 89, '2 tablespoons fresh (or frozen, thawed) peas'), (7705, 89, '1 lemon wedge'), (7706, 89, '1 teaspoon sugar'), (7707, 89, '2 ounces vodka'), (7708, 89, '1 pea tendril (optional)'), (7709, 90, '½ medium onion, diced'), (7710, 90, '2 tablespoons of minced ginger'), (7711, 90, '2 cups (300 g) of frozen or fresh green peas'), (7712, 90, '1 tablespoon (14 g) of unsalted butter'), (7713, 90, '3 cups (7.5 dl) of vegetable broth'), (7714, 90, '4 cups of spinach, rinsed'), (7715, 90, '1 cup of pea greens or pea shoots'), (7716, 90, '¼ cup (60 ml) of sour cream'), (7717, 90, 'Salt and pepper to taste'), (7718, 91, '3 tablespoons unsalted butter, divided'), (7719, 91, '4 lamb sausages'), (7720, 91, '2 1/2 cups fresh or frozen baby peas'), (7721, 91, '2 tablespoons chopped mint leaves'), (7722, 91, 'Kosher salt and freshly ground black pepper'), (7723, 91, 'Handful fresh pea sprouts'), (7724, 91, '1/2 cup feta cheese, crumbled'), (7725, 91, '4 pitas, quartered'), (7726, 92, '1 bunch pea sprouts cleaned'), (7727, 92, '3 blood oranges'), (7728, 92, '1 small fennel bulb'), (7729, 92, '3 roma tomatoes'), (7730, 93, '12 ozs. tender pea shoots'), (7731, 93, '2 cloves garlic sliced thinly'), (7732, 93, '2 tablespoons vegetable oil'), (7733, 93, '1/2 teaspoon salt'), (7734, 94, '5 cups shelled fresh peas or frozen peas (from three 10-ounce packages)'), (7735, 94, 'Coarse salt and freshly ground pepper'), (7736, 94, '2 tablespoons extra-virgin olive oil'), (7737, 94, '2 spring onions, thinly sliced'), (7738, 94, '4 ounces pea shoots'), (7739, 94, '1/4 cup plain Greek yogurt'), (7740, 94, '1/4 cup chopped fresh mint, plus small leaves for serving'), (7741, 94, '1 teaspoon grated lemon zest'), (7742, 95, '1/2 pound pea tendrils (about 8 cups chopped, loosely packed)'), (7743, 95, '1/2 cup fresh or frozen grated coconut'), (7744, 95, '2 green cayenne chiles, finely chopped'), (7745, 95, '1/3 to 1/2 cup shallots, finely chopped'), (7746, 95, '1/2 teaspoon salt'), (7747, 95, '1/4 teaspoon turmeric'), (7748, 96, '1/2 cup chopped garlic scapes or garlic cloves'), (7749, 96, '1/2 cup extra-virgin olive oil'), (7750, 96, '1 tablespoon canola oil'), (7751, 96, '2 tablespoons chopped garlic'), (7752, 96, '2 tablespoons chopped fresh ginger'), (7753, 96, '2 cups snow peas or snap peas, trimmed'), (7754, 96, '2 packed cups pea greens or pea sprouts (see Tip)'), (7755, 96, '1-3 teaspoons Garlic Scape Pesto'), (7756, 96, '1 tablespoon reduced-sodium soy sauce'), (7757, 97, '100g/3½oz flatleaf parsley'), (7758, 97, '400g/14oz fresh watercress'), (7759, 97, '50g/2oz butter'), (7760, 97, '1 shallot, peeled, chopped'), (7761, 97, '2-3 garlic cloves, peeled, chopped'), (7762, 97, '400g/14oz frozen peas (shelled weight)'), (7763, 97, '1 litre/1¾ pints hot vegetable stock'), (7764, 97, '100ml/3½fl oz double cream'), (7765, 97, 'Salt and freshly ground black pepper'), (7766, 97, 'Handful fresh pea shoots'), (7767, 97, 'Handful baby watercress'), (7768, 97, '2 handfuls croûtons (optional)'), (7769, 97, '2 rashers cooked streaky bacon, crumbled (optional)'), (7770, 97, 'Drizzle olive oil'), (7905, 116, '500 milliliters apricot juice'), (7906, 116, '1 liter water'), (7907, 117, '6 water chestnuts, peeled and halved'), (7908, 117, '6 slices bacon, halved crosswise'), (7909, 118, '6 cups cold water'), (7910, 118, '6 thin slices english cucumber'), (7911, 118, '5 thin slices orange'), (7912, 119, '1 1/2 cups sparkling water'), (7913, 119, '2 (2\"-long, 1\"-wide) grapefruit peels'), (7914, 119, '2 teaspoons fresh grapefruit juice'), (7915, 120, 'vegetable oil spray'), (7916, 120, '½ cup powdered sugar, divided, plus more for dusting'), (7917, 120, '½ ounce unflavored powdered gelatin'), (7918, 120, '2 large egg whites'), (7919, 120, '2 cups sugar'), (7920, 120, '¼ teaspoon rose water or orange-flower water'), (7921, 120, '1 drop red or orange food coloring (optional)'), (7922, 121, '1 (750-milliliter) bottle prosecco'), (7923, 121, '1 cup sugar'), (7924, 121, '1/2 cup raspberries'), (7925, 121, '1 tablespoon rose water'), (7926, 122, 'For the Chile de Arbol Simple Syrup:'), (7927, 122, '5 dried chiles de arbol'), (7928, 122, '1 cup water'), (7929, 122, '1 cup sugar'), (7930, 122, 'For the Agua Fresca:'), (7931, 122, '2 pounds whole honeydew melon, cubed to make about 5 cups'), (7932, 122, '1 cup coconut water'), (7933, 122, '1 tablespoon chile de arbol simple syrup'), (7934, 122, '1 tablespoon fresh lime juice from 1 lime'), (7935, 122, 'Fresh melon for garnish (optional)'), (7936, 123, '1 pound strawberries'), (7937, 123, '1 cup blueberries'), (7938, 123, '10 cups cold water'), (7939, 124, '1/4 cup blackberries'), (7940, 124, '2 fresh sage leaves'), (7941, 124, '2 cups plus 1 tbsp. cold sparkling water'), (7942, 1, '500 milliliters apricot juice'), (7943, 1, '1 liter water'), (7944, 2, '6 water chestnuts, peeled and halved'), (7945, 2, '6 slices bacon, halved crosswise'), (7946, 3, '6 cups cold water'), (7947, 3, '6 thin slices english cucumber'), (7948, 3, '5 thin slices orange'), (7949, 4, '1 1/2 cups sparkling water'), (7950, 4, '2 (2\"-long, 1\"-wide) grapefruit peels'), (7951, 4, '2 teaspoons fresh grapefruit juice'), (7952, 5, 'vegetable oil spray'), (7953, 5, '½ cup powdered sugar, divided, plus more for dusting'), (7954, 5, '½ ounce unflavored powdered gelatin'), (7955, 5, '2 large egg whites'), (7956, 5, '2 cups sugar'), (7957, 5, '¼ teaspoon rose water or orange-flower water'), (7958, 5, '1 drop red or orange food coloring (optional)'), (7959, 6, '1 (750-milliliter) bottle prosecco'), (7960, 6, '1 cup sugar'), (7961, 6, '1/2 cup raspberries'), (7962, 6, '1 tablespoon rose water'), (7963, 7, 'For the Chile de Arbol Simple Syrup:'), (7964, 7, '5 dried chiles de arbol'), (7965, 7, '1 cup water'), (7966, 7, '1 cup sugar'), (7967, 7, 'For the Agua Fresca:'), (7968, 7, '2 pounds whole honeydew melon, cubed to make about 5 cups'), (7969, 7, '1 cup coconut water'), (7970, 7, '1 tablespoon chile de arbol simple syrup'), (7971, 7, '1 tablespoon fresh lime juice from 1 lime'), (7972, 7, 'Fresh melon for garnish (optional)'), (7973, 8, '1 pound strawberries'), (7974, 8, '1 cup blueberries'), (7975, 8, '10 cups cold water'), (7976, 9, '1/4 cup blackberries'), (7977, 9, '2 fresh sage leaves'), (7978, 9, '2 cups plus 1 tbsp. cold sparkling water'), (7979, 10, '1 cup water'), (7980, 10, '1 cup sugar'), (7981, 10, '1 vanilla bean'), (7982, 11, '2 pounds sweet cherries, pitted if desired'), (7983, 11, '2 wide strips lemon peel (optional)'), (7984, 11, '1 cup sugar'), (7985, 11, '1 vanilla bean, split lengthwise'), (7986, 11, '1¼ cups brandy or vodka'), (7987, 12, '4 cups soy-bean sprouts'), (7988, 12, '4 cups mung-bean sprouts'), (7989, 12, '¼ cup Japanese soy sauce'), (7990, 12, '2 tablespoons sesame oil'), (7991, 12, '1 tablespoon sugar'), (7992, 12, '¼ teaspoon salt'), (7993, 12, '2 teaspoons roasted and lightly crushed sesame seeds'), (7994, 13, '4 large egg yolks'), (7995, 13, '1/4 cup sugar'), (7996, 13, '1 cup milk'), (7997, 13, '3/4 cup heavy cream'), (7998, 13, '1/2 vanilla bean, split and scraped'), (7999, 14, '3/4 cup whipping cream'), (8000, 14, '1 vanilla bean, split lengthwise'), (8001, 14, '2 tablespoons plus 2/3 cup sugar'), (8002, 14, '3 cups fresh tangerine juice'), (8003, 15, '½ small onion, finely diced'), (8004, 15, '200g/7oz tomatoes, diced'), (8005, 15, '1 tbsp white wine vinegar'), (8006, 15, '1 lime, zest only (juice used below)'), (8007, 15, 'Salt and pepper'), (8008, 15, '1 x 400g/14oz tin mexican-style bean mix or mixed beans in mild chilli sauce'), (8009, 15, '200g/7oz frozen sweetcorn, defrosted'), (8010, 15, '8 tortilla wraps'), (8011, 15, '150g/5½oz long-grain rice, cooked according to the packet instructions'), (8012, 15, '1 lime, juice only (zest used above)'), (8013, 15, 'About 200g/7oz plain yoghurt'), (8014, 16, '1 pound bag of dry 15 or 16 bean soup mix, rinsed and drained (toss out the ham flavor packet)'), (8015, 16, '2 cans of diced tomatoes, or about 4 chopped fresh tomatoes, with juices'), (8016, 16, '1 large onion, diced'), (8017, 16, '1 pound chicken breast or tenderloins'), (8018, 16, '6 cups water'), (8019, 16, '1 tablespoon salt'), (8020, 16, '1/4 cup or more hot sauce (i prefer franks buffalo wing sauce for the mild buttery flavor)'), (8021, 17, 'baked tortilla chips'), (8022, 17, '2 dried chipotle meco chiles, seeds and stems removed'), (8023, 17, '2 teaspoons lard or canola oil'), (8024, 17, '2 cloves garlic, peeled'), (8025, 17, '1/4 medium onion'), (8026, 17, '2 cups cooked black beans, with about 3/4 cup bean broth'), (8027, 17, '2 cups cooked black beans, with about 3/4 cup bean broth'), (8028, 17, '1/8 teaspoon black pepper'), (8029, 17, '1/2 teaspoon ground cumin'), (8030, 17, 'salt'), (8031, 17, '1 large chipotle en adobo from a can, with seeds'), (8032, 17, '6 to 12 corn tortillas'), (8033, 17, 'salt'), (8034, 18, '2 tablespoons of olive, grapeseed, or safflower oil'), (8035, 18, 'dash of chili pepper flakes'), (8036, 18, '25 brussels sprouts'), (8037, 18, '1 1/2 tablespoons of black bean garlic sauce'), (8038, 18, 'ground black pepper'), (8099, 1, '1 cup water'), (8100, 1, '1 cup sugar'), (8101, 1, '1 vanilla bean'), (8102, 2, '2 pounds sweet cherries, pitted if desired'), (8103, 2, '2 wide strips lemon peel (optional)'), (8104, 2, '1 cup sugar'), (8105, 2, '1 vanilla bean, split lengthwise'), (8106, 2, '1¼ cups brandy or vodka'), (8107, 3, '4 cups soy-bean sprouts'), (8108, 3, '4 cups mung-bean sprouts'), (8109, 3, '¼ cup Japanese soy sauce'), (8110, 3, '2 tablespoons sesame oil'), (8111, 3, '1 tablespoon sugar'), (8112, 3, '¼ teaspoon salt'), (8113, 3, '2 teaspoons roasted and lightly crushed sesame seeds'), (8114, 4, '4 large egg yolks'), (8115, 4, '1/4 cup sugar'), (8116, 4, '1 cup milk'), (8117, 4, '3/4 cup heavy cream'), (8118, 4, '1/2 vanilla bean, split and scraped'), (8119, 5, '3/4 cup whipping cream'), (8120, 5, '1 vanilla bean, split lengthwise'), (8121, 5, '2 tablespoons plus 2/3 cup sugar'), (8122, 5, '3 cups fresh tangerine juice'), (8123, 6, '½ small onion, finely diced'), (8124, 6, '200g/7oz tomatoes, diced'), (8125, 6, '1 tbsp white wine vinegar'), (8126, 6, '1 lime, zest only (juice used below)'), (8127, 6, 'Salt and pepper'), (8128, 6, '1 x 400g/14oz tin mexican-style bean mix or mixed beans in mild chilli sauce'), (8129, 6, '200g/7oz frozen sweetcorn, defrosted'), (8130, 6, '8 tortilla wraps'), (8131, 6, '150g/5½oz long-grain rice, cooked according to the packet instructions'), (8132, 6, '1 lime, juice only (zest used above)'), (8133, 6, 'About 200g/7oz plain yoghurt'), (8134, 7, '1 pound bag of dry 15 or 16 bean soup mix, rinsed and drained (toss out the ham flavor packet)'), (8135, 7, '2 cans of diced tomatoes, or about 4 chopped fresh tomatoes, with juices'), (8136, 7, '1 large onion, diced'), (8137, 7, '1 pound chicken breast or tenderloins'), (8138, 7, '6 cups water'), (8139, 7, '1 tablespoon salt'), (8140, 7, '1/4 cup or more hot sauce (i prefer franks buffalo wing sauce for the mild buttery flavor)'), (8141, 8, 'baked tortilla chips'), (8142, 8, '2 dried chipotle meco chiles, seeds and stems removed'), (8143, 8, '2 teaspoons lard or canola oil'), (8144, 8, '2 cloves garlic, peeled'), (8145, 8, '1/4 medium onion'), (8146, 8, '2 cups cooked black beans, with about 3/4 cup bean broth'), (8147, 8, '2 cups cooked black beans, with about 3/4 cup bean broth'), (8148, 8, '1/8 teaspoon black pepper'), (8149, 8, '1/2 teaspoon ground cumin'), (8150, 8, 'salt'), (8151, 8, '1 large chipotle en adobo from a can, with seeds'), (8152, 8, '6 to 12 corn tortillas'), (8153, 8, 'salt'), (8154, 9, '2 tablespoons of olive, grapeseed, or safflower oil'), (8155, 9, 'dash of chili pepper flakes'), (8156, 9, '25 brussels sprouts'), (8157, 9, '1 1/2 tablespoons of black bean garlic sauce'), (8158, 9, 'ground black pepper'), (8159, 10, '1/2 cup olive oil'), (8160, 10, '5 cloves garlic, peeled'), (8161, 10, '2 large russet potatoes, peeled and cut into chunks'), (8162, 10, '1 3-4 pound chicken, cut into 8 pieces (or 3 pound chicken legs)'), (8163, 10, '3/4 cup white wine'), (8164, 10, '3/4 cup chicken stock'), (8165, 10, '3 tablespoons chopped parsley'), (8166, 10, '1 tablespoon dried oregano'), (8167, 10, 'Salt and pepper'), (8168, 10, '1 cup frozen peas, thawed'), (8169, 11, '4 tablespoons unsalted butter (1/2 stick)'), (8170, 11, '1/3 cup all-purpose flour'), (8171, 11, '2 cups low-sodium chicken broth'), (8172, 11, '1 cup whole milk'), (8173, 11, '3 cups cooked chicken, medium dice'), (8174, 11, '1 tablespoon apple cider vinegar'), (8175, 12, '1½ teaspoons canola oil'), (8176, 12, '½ small shallot, finely chopped'), (8177, 12, '1 cup (about ½ pound) raw, boneless chicken meat (preferably from 3 boneless chicken thighs), roughly chopped'), (8178, 12, '⅔ cup (about ¼ pound) chicken skin and fat (reserved from the 3 chicken thighs)'), (8179, 12, '2 chicken livers (optional)'), (8180, 12, '2 garlic cloves, finely chopped'), (8181, 12, '¼ cup finely chopped chives, plus extra for serving'), (8182, 12, '1¼ teaspoons kosher salt'), (8183, 12, '¾ teaspoon freshly ground black pepper'), (8184, 12, '30 to 34 square wonton wrappers'), (8185, 12, '8 cups store-bought or homemade chicken broth'), (8186, 13, '8 chicken breast cutlets, or 4 boneless skinless chicken breast halves, split horizontally into 8 cutlets (1 1/2 pounds total)'), (8187, 13, '8 chicken breast cutlets, or 4 boneless skinless chicken breast halves, split horizontally into 8 cutlets (1 1/2 pounds total)'), (8188, 13, '8 chicken breast cutlets, or 4 boneless skinless chicken breast halves, split horizontally into 8 cutlets (1 1/2 pounds total)'), (8189, 13, '1/2 cup dried breadcrumbs'), (8190, 13, '1/2 cup finely grated Parmesan cheese'), (8191, 13, 'salt'), (8192, 13, 'freshly ground pepper'), (8193, 13, '2 large eggs, lightly beaten'), (8194, 13, '1/4 cup olive oil'), (8195, 13, '2 cups spaghetti sauce, homemade or purchased'), (8196, 13, '8 slices (1/4-inch-thick) mozzarella cheese, preferably fresh (6 ounces)'), (8197, 14, '1.5 cups quinoa'), (8198, 14, '3 cups broth or water'), (8199, 14, '4 chicken thighs'), (8200, 14, '1 onion or leek'), (8201, 14, 'Olive oil'), (8202, 15, '8 tbsp olive oil'), (8203, 15, '1 onion, sliced'), (8204, 15, '2 celery stalks, roughly chopped'), (8205, 15, '2 medium carrots, roughly chopped'), (8206, 15, '6 chicken breasts, or chicken thighs, bones removed'), (8207, 15, '175ml/6fl oz white wine'), (8208, 15, '3 tbsp tomato purée'), (8209, 15, '500ml/17 fl oz chicken stock'), (8210, 15, '2 bay leaves'), (8211, 15, '2-3 sage leaves'), (8212, 15, '1 rosemary sprig'), (8213, 15, '250g/9oz easy-cook polenta'), (8214, 15, 'Knob of butter'), (8215, 15, '25g/1oz parmesan'), (8216, 16, '6 (3-ounce) chicken cutlets, pounded to evenly flatten'), (8217, 16, 'Salt and freshly ground black pepper'), (8218, 16, '6 paper-thin slices prosciutto'), (8219, 16, '1 (10-ounce) box frozen chopped spinach, thawed'), (8220, 16, '3 tablespoons olive oil'), (8221, 16, '1/4 cup grated parmesan'), (8222, 16, '1 (14-ounce) can low-salt chicken broth'), (8223, 16, '2 tablespoons fresh lemon juice'), (8224, 17, '400 g quality chorizo'), (8225, 17, '1 small onion'), (8226, 17, '50 g jarred piquillo peppers'), (8227, 17, '½ a bunch of fresh flat-leaf parsley'), (8228, 17, '22 free-range chicken drumettes'), (8229, 17, '2 tablespoons extra virgin olive oil'), (8230, 17, '1 teaspoon smoked paprika'), (8231, 17, '2 tablespoon tomato pureé'), (8232, 17, '400 g Bomba paella rice'), (8233, 17, '120 ml white wine'), (8234, 17, '750 ml organic chicken stock'), (8235, 17, '200 g frozen peas'), (8236, 17, '1 lemon'), (8237, 18, '3 1/2 pounds whole cut-up chicken'), (8238, 18, '2 (5-ounce) packets chicken fry coating (recommended: Dixie Fry)'), (8239, 18, '2 tablespoons salt-free chicken seasoning, divided (recommended: McCormick Grill Mates)'), (8240, 18, 'Canola oil, for frying'), (8241, 18, '2 (12-ounce) jars roasted chicken gravy (recommended: Franco American)'), (8242, 18, '1 teaspoon crushed garlic'), (8243, 19, '1 quart strawberries, quartered or sliced'), (8244, 19, '1/2 cup sugar, divided'), (8245, 19, '5 ounces (about 1 cup) self-rising flour'), (8246, 19, '1 pint heavy cream'), (8247, 19, '1/2 teaspoon vanilla extract'), (8248, 20, '2 tablespoons cocoa powder (such as weiss)'), (8249, 20, '1/2 cup heavy cream'), (8250, 20, '1/2 cup whole milk'), (8251, 20, 'Granulated sugar, to taste'), (8252, 21, '1 can refrigerated crescent roll dough'), (8253, 21, '½ cup chunky peanut butter'), (8254, 21, '½ cup plus 1 tablespoon confectioners’ sugar, divided'), (8255, 22, '1/4 cup water'), (8256, 22, '1 pound baby spinach (about 20 cups)'), (8257, 22, '1 tablespoon toasted sesame seeds (see tip)'), (8258, 22, '2 teaspoons reduced-sodium soy sauce'), (8259, 22, '2 teaspoons toasted sesame oil'), (8260, 22, '1 small clove garlic, minced'), (8261, 23, '8 oz hot habanero cheddar cheese (crumbled or cut into small cubes)'), (8262, 23, '5 pieces cooked bacon'), (8263, 23, '1 lb 80/20 ground beef'), (8264, 23, '4 Tbsp Worcestershire sauce'), (8265, 23, '5 slider buns'), (8266, 24, '1 dozen eggs'), (8267, 24, '¼ cup mayonnaise'), (8268, 24, '1 tablespoon fresh tarragon, minced'), (8269, 24, '1 tablespoon Dijon mustard'), (8270, 24, '1 teaspoon mustard seeds'), (8271, 24, 'dash of Tabasco'), (8272, 25, '1/2 cup all-purpose flour'), (8273, 25, '1/2 cup cornmeal'), (8274, 25, '1 teaspoon salt'), (8275, 25, '1/4 teaspoon ground black pepper'), (8276, 25, 'vegetable oil for frying'), (8277, 25, '12 large raw oysters, shucked'), (8278, 25, '4 slices white bread, toasted'), (8279, 25, '4 teaspoons mayonnaise'), (8280, 25, '4 bacon slices'), (8281, 25, '1 cup shredded iceberg lettuce'), (8282, 25, '1 tomato, sliced'), (8283, 26, '1 cup all-purpose flour'), (8284, 26, '1 cup yellow cornmeal, preferably stone-ground'), (8285, 26, '6 tablespoons sugar'), (8286, 26, '2 1/2 teaspoons baking powder'), (8287, 26, '1/4 teaspoon baking soda'), (8288, 26, '1/2 teaspoon salt'), (8289, 26, 'Pinch of freshly grated nutmeg (optional)'), (8290, 26, '1 cup buttermilk'), (8291, 26, '3 tablespoons unsalted butter, melted and cooled'), (8292, 26, '3 tablespoons corn oil'), (8293, 26, '1 large egg'), (8294, 26, '1 large egg yolk'), (8295, 27, '1 (16-ounce) new york strip steak, at room temperature'), (8296, 27, 'Salt'), (8297, 27, 'Canola oil, as needed for brushing the grill and submerging the steak'), (8298, 27, '1 garlic clove, crushed'), (8299, 27, '2 springs sprigs thyme'), (8300, 27, 'Olive oil, as needed for submerging the steak'), (8301, 28, '1 porterhouse, flank, or rib-eye steak, 1 3/4 pounds and 1 1/2 inch thick'), (8302, 28, 'Coarse salt and ground pepper'), (8303, 29, '1 1/2 pound skirt steak, cut into 4 pieces'), (8304, 29, 'salt'), (8305, 29, 'pepper'), (8306, 31, '1 12-ounce buffalo steak'), (8307, 31, '1 tablespoon olive oil'), (8308, 31, 'salt'), (8309, 31, 'pepper'), (8310, 32, '1 8 ounce beef tenderloin steak, flap meat steak, or hanger steak'), (8311, 32, 'Kosher salt and freshly ground black pepper'), (8312, 32, '1 tablespoon vegetable oil'), (8313, 32, '1 medium carrot, roughly chopped (about 3/4 cup)'), (8314, 32, '1 small yellow onion, roughly chopped (about 1 cup)'), (8315, 32, '4 cloves garlic'), (8316, 32, '2 tablespoons olive oil'), (8317, 32, '1 tablespoon fresh thyme leaves'), (8318, 32, '2 cups jarred jarred tomato sauce'), (8319, 32, '1 pound rigatoni pasta'), (8320, 32, 'Grated Parmigiano Reggiano'), (8321, 33, '1 lb. flank steak or sirloin steak'), (8322, 33, '2 cups shredded italian green peppers (about 2 medium peppers)'), (8323, 33, '1 tablespoon minced garlic'), (8324, 33, '1 tablespoon thinly shredded ginger'), (8325, 33, '1 tablespoon light soy sauce'), (8326, 33, '2 tablespoons shaoxing wine'), (8327, 33, '1 tablespoon cornstarch'), (8328, 33, '1 tablespoon vegetable oil for marinate'), (8329, 33, '3 tablespoons vegetable oil for stir-frying'), (8330, 34, '1 1/2 pounds sirloin steak, 1 to 1 1/4-inches thick'), (8331, 34, '2 teaspoons olive oil'), (8332, 34, 'Salt and freshly ground black pepper'), (8333, 35, '1 1/2 pounds flank steak'), (8334, 35, '1/2 teaspoon kosher salt'), (8335, 35, '1/4 teaspoon freshly ground black pepper'), (8388, 44, '4 ounces grated parmesan, Manchego, Cheddar, or other hard or semi-hard cheese'), (8389, 44, '8 corn tortillas'), (8390, 45, '3 cups/800 grams kosher salt'), (8391, 45, '2 cups/500 grams veal stock'), (8392, 46, 'One bottle (750ml) vodka'), (8393, 46, '2 pints (about 1 1/4 pounds, 575g) strawberries, organic or unsprayed'), (8394, 47, '8 cups halved strawberries'), (8395, 47, '1/4 – 1/3 cup sugar'), (8396, 47, '1 vanilla bean, split and seeds removed'), (8397, 48, '1 1⁄2 ounces ron zacapa centenario 23-year-old rum'), (8398, 48, '2 1⁄2 ounces tamarind nectar'), (8399, 48, 'Garnish: maraschino cherry'), (8400, 49, '1/3 cup sugar'), (8401, 49, '3/4 cup fresh or thawed frozen cranberries, chopped'), (8402, 49, '1/2 cup water'), (8403, 50, '2 teaspoons (6g) Japanese matcha green tea (see note above)'), (8404, 50, '8 ounces (235ml) cold water'), (8405, 51, '1/2 gallon good, wheaty or malty beer'), (8406, 51, 'Vinegar mother (optional)'), (8407, 52, '4 cups water'), (8408, 52, '1 cup ground espresso-roast coffee'), (8409, 52, '1 cup sugar'), (8462, 1, '1 1/2 cups all purpose flour'), (8463, 1, '1/3 cup unsweetened cocoa powder'), (8464, 1, '1 teaspoon baking soda'), (8465, 1, '1/2 teaspoon salt'), (8466, 1, '1 1/4 cups sugar'), (8467, 1, '1 teaspoon instant espresso powder'), (8468, 1, '1 cup freshly brewed coffee'), (8469, 1, '1 teaspoon vanilla extract'), (8470, 1, '1 teaspoon white vinegar'), (8471, 1, '3/4 cup vegan chocolate chips or vegan chocolate, chopped'), (8472, 2, '1/4 cup vegan butter'), (8473, 2, '1 cup onion, diced finely'), (8474, 2, '1/2 tablespoon garlic, minced'), (8475, 2, '16 ounces broccoli, fresh or frozen, chopped'), (8476, 2, '1 quart water or vegetable stock'), (8477, 2, '1/4 teaspoon white pepper'), (8478, 2, '1 tablespoon cornstarch, mixed with 1/2 cup water'), (8479, 2, '1/4 cup nutritional yeast'), (8480, 2, '1 1/2 cups unsweetened unflavored soy or almond milk'), (8481, 2, '8 ounces vegan cheddar cheese'), (8482, 3, '1 cup all purpose flour'), (8483, 3, '3/4 cups whole wheat pastry flour'), (8484, 3, '1/4 cup cornstarch'), (8485, 3, '1/2 cup canola oil'), (8486, 3, '1 cup vegan cane sugar (3/4 cup for cookies, reserve 1/4 cup for cinnamon sugar topping)'), (8487, 3, '1 1/2 cup cold water or non dairy milk'), (8488, 3, '2 teaspoons vanilla extract'), (8489, 3, '3 tablespoons ground cinnamon'), (8490, 4, '1 bag corn tortilla chips'), (8491, 4, '1½ cups go veggie! vegan mexican cheese shreds'), (8492, 4, '1 cup fresh salsa'), (8493, 4, '½ cup packed baby spinach'), (8494, 4, '1 extra ripe avocado, peeled, pitted and mashed'), (8495, 4, '½ tsp. sea salt'), (8496, 4, '½ tsp. freshly ground pepper'), (8497, 4, '½ tsp. crushed red pepper flakes'), (8498, 4, '1 tbsp. sesame seeds'), (8499, 4, '½ cup finely chopped cilantro, for topping'), (8500, 5, '1 pound vegan bittersweet chocolate, finely chopped (about 3 1/4 cups)'), (8501, 5, '4 sticks (1 pound) unsalted nonhydrogenated margarine, at room temperature'), (8502, 5, '2 2/3 cups powdered sugar, sifted'), (8503, 5, '1/4 teaspoon fine salt'), (8504, 5, '1/2 cup natural unsweetened cocoa powder'), (8505, 5, '6 tablespoons soy or rice milk'), (8506, 5, '1 tablespoon vanilla extract'), (8507, 6, '1 cup flour'), (8508, 6, '1½ teaspoons baking powder'), (8509, 6, 'pinch of salt'), (8510, 6, '3 tablespoons peanut butter (crunchy or smooth)'), (8511, 6, '2 tablespoons oil'), (8512, 6, '3 tablespoons honey (agave nectar if vegan)'), (8513, 6, '¾ cup milk (almond, soy, etc. if vegan)'), (8514, 7, '25 g vegan margarine , plus extra for greasing'), (8515, 7, '3 dessert apples'), (8516, 7, '195 g muscovado sugar'), (8517, 7, '180 g plain flour'), (8518, 7, '1 teaspoon bicarbonate of soda'); INSERT INTO `recipe_ingredients` (`id`, `recipe_id`, `ingredients_desc`) VALUES (8519, 7, '1½ teaspoons mixed spice'), (8520, 7, '80 ml sunflower oil'), (8521, 7, '1 tesapoon vinegar'), (8522, 7, '1 lemon'), (8523, 7, '85 g walnuts'), (8524, 8, '2 cans (15 Oz. Size) Unsweetened Coconut Cream'), (8525, 8, '1 cup Sugar'), (8526, 8, '1 cup Peanut Butter'), (8527, 8, '2 teaspoons Vanilla Extract'), (8528, 8, '1 teaspoon Kosher Salt'), (8529, 8, '1/2 cup Unsweetened Coconut Milk'), (8530, 8, '3 Tablespoons Cornstarch'), (8531, 8, '1/2 cup Chocolate Chips (I Used Vegan And Soy-free)'), (8532, 9, '1 medium portobello mushroom (at least 3 ounces), scrubbed clean and stem removed'), (8533, 9, '1 tablespoon olive oil'), (8534, 9, 'salt'), (8535, 9, 'freshly ground black pepper'), (8536, 9, '1 teaspoon balsamic vinegar'), (8537, 9, '2 slices sourdough sandwich bread'), (8538, 9, '1 clove garlic, halved lengthwise'), (8539, 9, '2 tablespoons regular or vegan mayonnaise'), (8540, 9, '1/2 cup packed baby spinach leaves'), (8541, 9, '1/3 cup roasted red peppers'), (8542, 10, '1 can full fat coconut milk (375 grams)'), (8543, 10, '¼ cup egg-white protein powder (20 grams)'), (8544, 10, '2 tablespoons ground chia seeds (20 grams)'), (8545, 10, '½ teaspoon vanilla stevia'), (8546, 10, '&frac13; cup chopped 85% dark chocolate (50 grams)'), (8547, 10, '2-3 cups ice'), (8548, 11, '2 oz. Mixed Greens'), (8549, 11, '3 tbsp. Pine Nuts, roasted'), (8550, 11, '2 tbsp. 5 Minute Keto Raspberry Vinaigrette (recipe here)'), (8551, 11, '2 tbsp. Shaved Parmesan'), (8552, 11, '2 slices Bacon'), (8553, 11, 'salt'), (8554, 11, 'pepper'), (8555, 12, 'Keto wraps:'), (8556, 12, '3 eggs'), (8557, 12, '1/2 cup almond milk'), (8558, 12, '1/4 cup coconut flour'), (8559, 12, '1 pinch sea salt'), (8560, 12, 'cooking spray'), (8561, 12, 'Filling:'), (8562, 12, '2 cups baby spinach'), (8563, 12, '1/2 cup feta cheese, crumbled'), (8564, 12, '3 chopped sun-dried tomatoes'), (8565, 12, '1 teaspoon olive oil'), (8566, 13, '2 large eggs'), (8567, 13, '6 large egg whites'), (8568, 13, '2 tbs coconut flour'), (8569, 13, '1 tbs psyllium husk or ground chia seeds'), (8570, 13, '90ml / 3 fl oz coconut milk, cream or almond milk'), (8571, 13, '½ tsp baking soda'), (8572, 13, '1 tsp cream of tartar'), (8573, 13, '2 tbs ghee or coconut oil'), (8574, 13, '2 tsp garlic powder (omit if making a sweet keto crepe and add sweetener to taste instead)'), (8575, 13, 'salt'), (8576, 14, '1 serving Keto Chocolate Cake Mix'), (8577, 14, '2 tablespoons carton egg whites—or 1 large egg'), (8578, 14, '2 tablespoons carton egg whites—or 1 large egg'), (8579, 14, '1 tablespoon sour cream—or Greek yogurt'), (8580, 14, '1/4-1/2 teaspoon vanilla extract, to taste'), (8581, 14, '1/2 tablespoon unfiltered extra virgin olive oil (optional)'), (8582, 14, '1 tablespoon water—or heavy cream, if needed'), (8583, 15, '2 medium large flat mushrooms such as Portobello (150 g / 5.3 oz)'), (8584, 15, '1 tbsp ghee or coconut oil (you can make your own)'), (8585, 15, '1-2 tbsp freshly chopped basil or 1 tsp dried'), (8586, 15, '1 tbsp freshly chopped oregano or ½ tsp dried'), (8587, 15, '1 clove garlic, crushed'), (8588, 15, '¼ tsp salt or more to taste (I like pink Himalayan)'), (8589, 15, 'freshly ground black pepper'), (8590, 15, '2 keto buns (recipe for my Ultimate Keto Buns is here)'), (8591, 15, '2 tbsp mayonnaise - you can make your own'), (8592, 15, '2 large eggs, free-range or organic'), (8593, 15, '2 slices hard cheese such as cheddar or gouda (40 g / 1.4 oz)'), (8594, 15, '1 cup mixed lettuce'), (8595, 16, 'For keto friendly bbq sauce:'), (8596, 16, '1/4 Cup (4 tbs) (keto friendly) Sweetner'), (8597, 16, '1/2 Cup (8 tbs) Apple cider vinegar'), (8598, 16, '1/2 Cup (8 tbs) Water'), (8599, 16, '2 Tablespoon Real butter'), (8600, 16, '6 Ounce (1 can) Canned tomato paste'), (8601, 16, '1 Teaspoon Garlic powder'), (8602, 16, '1 Teaspoon Onion powder'), (8603, 16, '1 Teaspoon Dry yellow mustard'), (8604, 16, '1 Tablespoon Salt'), (8605, 16, '1 Teaspoon (optional) Cayenne pepper'), (8606, 16, '1 Teaspoon (optional) Liquid smoke flavoring'), (8607, 16, 'For chicken wings:'), (8608, 16, '1 Kilogram Chicken wings'), (8609, 16, 'To Taste Pink salt'), (8610, 16, 'To Taste Freshly ground black pepper'), (8611, 17, '1 lb ground beef, ideally grass-fed (450 g / 15.9 oz)'), (8612, 17, '1 tsp Dijon or wholegrain mustard (you can make your own)'), (8613, 17, '½ tsp garlic powder'), (8614, 17, '½ tsp onion powder'), (8615, 17, '2 tbsp ghee (you can make your own)'), (8616, 17, '½ tsp salt or more to taste (I like pink Himalayan)'), (8617, 17, 'freshly ground black pepper'), (8618, 17, '¼ cup mayonnaise - you can make your own (55 g / 1.9 oz)'), (8619, 17, '1 tsp Sriracha chili sauce - you can make your own'), (8620, 17, '4 keto buns (recipe for my Ultimate Keto Buns is here)'), (8621, 17, '2 servings Easy Russian Slaw, recipe is for 6 servings - you can use the leftover slaw as a side to your meat dishes'), (8622, 18, '5 tablespoons Keto Biscuit Mix- Low Carb & Gluten Free (OWL)'), (8623, 18, '1/4 cup sour cream'), (8624, 18, '1/3 cup egg whites'), (8625, 18, '1 teaspoon unfiltered apple cider vinegar'), (8626, 18, '2 tablespoons grated Parmesan cheese'), (8627, 18, '1 tablespoon fresh rosemary'), (8628, 18, '1/8 teaspoon granulated garlic—or 1 clove, peeled and minced or pressed'), (8629, 18, '1/8 teaspoon granulated garlic—or 1 clove, peeled and minced or pressed'), (8630, 19, '1½ pounds fresh red jalapeño peppers, stemmed, seeded, and roughly chopped'), (8631, 19, '8 garlic cloves, peeled and smashed'), (8632, 19, '⅓ cup apple cider vinegar'), (8633, 19, '3 tablespoons tomato paste'), (8634, 19, '3 tablespoons honey'), (8635, 19, '2 tablespoons Paleo-friendly fish sauce (Red Boat!)'), (8636, 19, '1½ teaspoons kosher salt'), (8651, 20, '1 cup almond flour'), (8652, 20, '1/2 cup coconut flour'), (8653, 20, '1/2 cup arrowroot or tapioca flour, plus more for rolling out dough'), (8654, 20, '1/2 teaspoon finely ground sea salt'), (8655, 20, '1/2 cup cold butter, palm shortening or lard (very cold)'), (8656, 20, '1 egg'), (8657, 20, '1 egg white plus 1 teaspoon water to make egg wash'), (8658, 21, '1 pound dried dates, pitted'), (8659, 21, '1 pound bacon, cooked, extra grease patted off, cooled, and crumbled'), (8660, 21, '1 teaspoon toasted sesame oil'), (8661, 21, '2 teaspoons sesame seeds'), (8662, 22, '1 head of cauliflower'), (8663, 22, '3 slices of bacon'), (8664, 22, '2 egg whites and 1 egg'), (8665, 22, '1 small onion, finely diced'), (8666, 22, '1 carrot, finely diced'), (8667, 22, '1 red pepper, finely diced'), (8668, 22, '1 cup broccoli florets, finely chopped'), (8669, 22, '1 tablespoon coconut aminos (paleo substitute for soy sauce)'), (8670, 22, '1/4 teaspoon fish sauce'), (8671, 22, '1 tablespoon ghee (or other oil of choice)'), (8672, 22, 'salt'), (8673, 22, 'pepper'), (8674, 23, '2 thin slices Nutty Bread or Paleo Bread'), (8675, 23, '2 pieces Romaine lettuce'), (8676, 23, '2-3 slices leftover turkey, sliced'), (8681, 25, '3 cup fresh green beans, trimmed and cut in half and boiled in water until just tender'), (8682, 25, '1 cup mushrooms, sliced'), (8683, 25, '1 shallot, minced'), (8684, 25, '1 Tbsp olive oil'), (8685, 25, '2 garlic cloves, minced'), (8686, 25, '2 Tbsp garbanzo flour (or coconut flour for Paleo option)'), (8687, 25, '1 cup unsweetened nondairy milk'), (8688, 25, '1 cup vegetable broth'), (8689, 25, '1 Tbsp nutritional yeast'), (8690, 25, 'salt and pepper to taste'), (8691, 25, '1 shallot, sliced (for topping)'), (8692, 26, '2 cups raw hazelnuts'), (8693, 26, '1/4 teaspoon salt'), (8694, 26, '1 (13.5 oz) can full fat coconut milk'), (8695, 26, '1/2 cup coconut sugar (or regular cane sugar if you prefer)'), (8696, 26, '1 (10 oz) package dairy-free chocolate chips (I like this brand)'), (8697, 27, '1 cup spelt flour'), (8698, 27, '1 egg'), (8699, 27, '1 cup soya milk (jamie used whole milk)'), (8700, 27, '1 tsp baking powder'), (8701, 27, '½ tsp salt'), (8702, 27, '½ apple, grated'), (8703, 28, '500 ml almond milk'), (8704, 28, '500 ml hazelnut milk'), (8705, 28, '4 tablespoons sugar'), (8706, 28, '4 tablespoons runny honey'), (8707, 28, '500 g soya yoghurt'), (8708, 28, '1 spash of amaretto , optional'), (8709, 29, '1 cup (4 ounces) white rice flour'), (8710, 29, '1/2 cup (2 ounces) cornstarch'), (8711, 29, '1/2 cup (2 ounces) sweet rice flour'), (8712, 29, '1/4 cup (1.75 ounces) granulated sugar'), (8713, 29, '1 tablespoon baking powder'), (8714, 29, '1/2 teaspoon salt'), (8715, 29, '1/4 teaspoon xanthan gum'), (8716, 29, '2 large eggs'), (8717, 29, '1 cup milk (for dairy-free, replace with dairy-free milk)'), (8718, 29, '1/4 cup vegetable oil'), (8719, 29, '1 teaspoon vanilla extract'), (8720, 29, '2 ounces cream cheese, cut into 1/2 teaspoon size pieces or 1/2 cup ricotta cheese'), (8721, 30, '5 pounds baby red potatoes \r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\nPotatoes Organic Red\r\n\r\n$2.49 thru 11/23'), (8722, 30, 'Kosher salt and freshly ground pepper'), (8723, 30, '1/2 cup extra-virgin olive oil'), (8724, 30, '4 garlic cloves, peeled and smashed'), (8725, 30, '3 sprigs fresh rosemary'), (8726, 30, '1 1/2 cups chicken broth, warmed'), (8727, 31, 'About 6 cups of sliced peaches, from 6 to 7 ripe peaches'), (8728, 31, '¼ cup sugar'), (8729, 31, '1 cup all-purpose flour'), (8730, 31, '1/2 cup sugar'), (8731, 31, '2 pinches of salt'), (8732, 31, '1/4 cup plus 1-2 tablespoons neutral oil'), (8733, 31, '2 egg yolks'), (8734, 32, '2 pints coconut ice cream (not dairy-free)'), (8735, 32, '2 pints pistachio ice cream'), (8736, 32, '2 pints strawberry ice cream'), (8737, 32, '¾ cup freeze-dried strawberries, finely chopped'), (8738, 32, '¾ cup raw pistachios, finely chopped'), (8739, 33, '2/3 cups olive oil'), (8740, 33, '1/3 cup cocoa powder'), (8741, 33, '2 eggs'), (8742, 33, '3/4 cups honey'), (8743, 33, '1 teaspoon vanilla extract'), (8744, 33, '3/4 cups blend of corn and rice flour'), (8745, 33, '1/3 cup nuts (i used slivered almonds)'), (8746, 33, '3/4 cups unsweetened peanut butter, if desired, for “frosting”'), (8747, 34, '1/4 cup coconut oil'), (8748, 34, '3/4 cup granulated sugar'), (8749, 34, '3/4 brown sugar'), (8750, 34, '2 large eggs'), (8751, 34, '1 tsp vanilla'), (8752, 34, '1 1/4 tsp baking soda'), (8753, 34, '1 cup crunchy almond butter'), (8754, 34, '3 cups rolled oats'), (8755, 34, '1/2 cup dried cranberries'), (8756, 34, '6 oz semisweet chocolate chips (use vegan chocolate chips if you want to make this dairy free)'), (8757, 35, '1 loaf gluten-free bread, cut into bite-size cubes (8-9 cups)'), (8758, 35, '2 tablespoons olive oil'), (8759, 35, '4 links (about 10 ounces) sweet italian sausage, removed from casing and broken into small pieces.'), (8760, 35, '2 cups chopped celery (about 4 large stalks)'), (8761, 35, '2 cups chopped onion (about 1 large onion)'), (8762, 35, '2 tablespoons minced garlic (about four cloves)'), (8763, 35, '1 1/2 teaspoons dried basil'), (8764, 35, '1 teaspoon dried oregano'), (8765, 35, '1/2 teaspoon ground sage'), (8766, 35, '1/2 teaspoon dried thyme leaves'), (8767, 35, '1 teaspoon kosher salt'), (8768, 35, '1/2 teaspoon freshly ground black pepper'), (8769, 35, '4 cups gluten-free turkey, chicken, or vegetable stock, divided'), (8770, 36, '1 lb gluten-free pasta'), (8771, 36, '¼ cup butter'), (8772, 36, '½ cup gluten free flour'), (8773, 36, '¼ tsp xanthan gum'), (8774, 36, '1 tsp garlic powder'), (8775, 36, '1 tsp onion powder'), (8776, 36, '1 tsp salt, or to taste'), (8777, 36, '4 cups milk'), (8778, 36, '2 cups grated cheese, such as jarlsberg, a part-skim milk swiss-style cheese'), (8779, 37, '200 g butter , softened'), (8780, 37, '125 g icing sugar'), (8781, 37, '1/2 orange , the grated zest of'), (8782, 37, '1 small lemon , the grated zest of'), (8783, 37, '1 lime , the grated zest of'), (8784, 37, '350 g gluten-free flour'), (8785, 37, '1 tsp gluten-free baking powder'), (8786, 37, 'sugar , to serve'), (8787, 38, '7 ounces almond paste'), (8788, 38, '1/2 cup granulated sugar'), (8789, 38, '1⁄4 teaspoon kosher salt'), (8790, 38, '1 large egg white'), (8791, 38, '1⁄3 cup gluten-free powdered sugar'), (8792, 38, '1 cup bittersweet chocolate chips (optional)'), (8793, 39, '4 1/2 cups gluten-free old-fashioned oats, divided'), (8794, 39, '2 tablespoons cornstarch'), (8795, 39, '1 1/2 teaspoons ground cinnamon'), (8796, 39, '1 teaspoon gluten-free baking powder'), (8797, 39, '1/2 teaspoon fine salt'), (8798, 39, '2 sticks unsalted butter, room temperature'), (8799, 39, '3/4 cup granulated sugar'), (8800, 39, '1/2 cup packed light-brown sugar'), (8801, 39, '2 large eggs'), (8802, 39, '2 teaspoons pure vanilla extract'), (8803, 39, '3/4 cup chocolate chips'), (8804, 39, '3/4 cup raisins'), (8805, 40, '140 grams gluten-free all-purpose flour mix'), (8806, 40, '¼ cup sugar'), (8807, 40, '4 teaspoons baking powder'), (8808, 40, '¾ teaspoon salt'), (8809, 40, '1 teaspoon psyllium husk'), (8810, 40, '¼ cup shortening (not butter)'), (8811, 40, '2 large eggs'), (8812, 40, '1 cup milk (you can use non-dairy milk, if you want)'), (8813, 40, '1 cup yellow cornmeal'), (8814, 41, '2 cups gluten-free corn flakes'), (8815, 41, '1/2 cup grated Parmigiano-Reggiano'), (8816, 41, '2 large eggs'), (8817, 41, '4 boneless, skinless chicken breasts, cut in half'), (8818, 41, 'sea salt'), (8819, 41, 'freshly ground black pepper'), (8820, 41, 'oil'), (8821, 41, '2 cups gluten-free tomato sauce, heated'), (8822, 41, '1 cup grated mozzarella cheese'), (8823, 41, 'flat leaf parsley'), (8824, 42, '3/4 cups gluten-free flour blend of your choice (i use about 1/2 cup brown rice flour and 1/4 cup tapioca starch)'), (8825, 42, '1/4 cup sweet rice flour (also known as mochi rice flour)'), (8826, 42, '1/2 teaspoon kosher salt'), (8827, 42, '1 cup cold water'), (8828, 42, '4 scallions, trimmed and finely minced'), (8829, 42, '1/3 cup wheat- and gluten-free tamari or soy sauce'), (8830, 42, '3 tablespoons rice wine vinegar'), (8831, 42, '3-4 dashes sesame oil'), (8832, 42, '1 small garlic clove, thinly sliced'), (8833, 42, '1/4 teaspoon freshly grated ginger'), (8834, 42, '3-4 dashes chile oil (optional)'), (8835, 42, '1/4 cup safflower, canola, or peanut oil for cooking the pancakes'), (8836, 44, '1 cup all-purpose flour'), (8837, 44, '1 tablespoon baking powder'), (8838, 44, '1/4 teaspoon salt'), (8839, 44, '3 eggs, at room-temperature'), (8840, 44, '4 ounces (1 stick) unsalted butter'), (8841, 44, '3/4 cup sugar'), (8842, 44, '3 pears, peeled, in a small dice (I used anjou, but would recommend a softer variety, like a bosc or any other of your favorites)'), (8843, 44, '3/4 cup bittersweet chocolate chunks'), (8844, 45, '2 loaves toasted white bread or 1 crusty italian bread, cut into cubes'), (8845, 45, 'One bunch celery, cleaned and sliced'), (8846, 45, '2 large onions, chopped'), (8847, 45, '1 pound of breakfast sausage'), (8848, 45, '1/2 cup parsley leaves and/or fresh herbs(whatever you have on hand thyme and oregano are my favorites)finely chopped'), (8849, 45, 'Juice of one lemon'), (8850, 45, 'Ground pepper to taste'), (8851, 46, '½ pound cod, pollock, or any white fish'), (8852, 46, '½ pound shrimp, peeled and deveined'), (8853, 46, '2 clove, ½ tablespoon garlic, minced'), (8854, 46, '2 clove, ½ tablespoon garlic, minced'), (8855, 46, '¼ cup Vinho Verde Loureiro wine'), (8856, 46, '2 tablespoons cornstarch'), (8857, 46, '1 teaspoon salt'), (8858, 46, '1 egg'), (8859, 46, '1 tablespoon fish sauce'), (8860, 46, '¼ cup carrot, very small dice'), (8861, 46, '¼ cup onion, very small dice'), (8862, 46, '1 jalapeño pepper, deseeded and small dice'), (8863, 46, '½ cup shredded mozzarella cheese'), (8864, 46, '¼ cup kewpie mayo (Japanese mayo) — or regular if unavailable'), (8865, 46, '1 tablespoon fresh squeezed lemon juice'), (8866, 46, '1 scallion, thinly sliced'), (8867, 46, '¼ cup light soy sauce'), (8868, 46, '1 tablespoon apple cider vinegar'), (8869, 46, '½ teaspoon Chinese mustard ( or Dijon if can’t find)'), (8877, 47, '2 tablespoons olive oil'), (8878, 47, '2 large russet potatoes, peeled and very thinly sliced into rounds'), (8879, 47, '4 eggs'), (8880, 47, '4 oz. Cream cheese'), (8881, 47, '3/4 cup Milk'), (8882, 47, '2 t Flour'), (8883, 47, '1/4 t Salt'), (8884, 47, '12 Eggs'), (8885, 47, '8 oz. Ham, chopped'), (8886, 47, '1 1/2 cups Cheddar cheese, shredded'), (8887, 47, '1/4 cup Green onion with tops thinly sliced'), (8888, 47, '2 t Dijon Mustard'), (8892, 48, '1 6-inch chunk fresh baguette (i am partial to the baguettes from floriole bakery.)'), (8893, 48, 'A gratuitous amount of soft butter'), (8894, 48, 'Several thin slices of benton’s ham (or your favorite ham)'), (8895, 48, 'A few slices of decent cheddar (don’t get anything too fancy as that should be enjoyed on its own—not on a ham sandwich.)'), (8896, 48, 'A freshly brewed cup of your favorite coffee (i am partial to metropolis or intelligentsia.)'), (8897, 49, '1 Tablespoon Dijon Mustard, to taste'), (8898, 49, '1 Tablespoon Mayonnaise, to taste'), (8899, 49, '1 whole Tomato'), (8900, 49, '1 whole Red Onion, Small'), (8901, 49, '2 slices Mild Cheddar'), (8902, 49, '1 can (4 Oz.) Whole Green Chilies'), (8903, 49, '2 slices Provolone'), (8904, 49, '2 slices Rye Bread'), (8905, 49, 'butter'), (8906, 50, '1 can oil-packed tuna'), (8907, 50, '1/4 apple, chopped'), (8908, 50, '1/2 stalk celery, chopped'), (8909, 50, '3 tablespoons chopped red onion'), (8910, 50, '2 tablespoons golden raisins'), (8911, 50, '1 tablespoon pine nuts, toasted, if you like'), (8912, 50, '1 tablespoon extra-virgin olive oil'), (8913, 50, '1 tablespoon mayonnaise'), (8914, 50, '2 teaspoons sherry vinegar, plus more to taste'), (8915, 50, 'Pinch of fine sea salt, plus more to taste'), (8916, 50, 'Freshly ground black pepper'), (8917, 50, 'Celery leaves for garnish'), (9000, 58, '1/2 cup olive oil'), (9001, 58, '5 cloves garlic, peeled'), (9002, 58, '2 large russet potatoes, peeled and cut into chunks'), (9003, 58, '1 3-4 pound chicken, cut into 8 pieces (or 3 pound chicken legs)'), (9004, 58, '3/4 cup white wine'), (9005, 58, '3/4 cup chicken stock'), (9006, 58, '3 tablespoons chopped parsley'), (9007, 58, '1 tablespoon dried oregano'), (9008, 58, 'Salt and pepper'), (9009, 58, '1 cup frozen peas, thawed'), (9010, 59, '4 tablespoons unsalted butter (1/2 stick)'), (9011, 59, '1/3 cup all-purpose flour'), (9012, 59, '2 cups low-sodium chicken broth'), (9013, 59, '1 cup whole milk'), (9014, 59, '3 cups cooked chicken, medium dice'), (9015, 59, '1 tablespoon apple cider vinegar'), (9016, 60, '1½ teaspoons canola oil'), (9017, 60, '½ small shallot, finely chopped'), (9018, 60, '1 cup (about ½ pound) raw, boneless chicken meat (preferably from 3 boneless chicken thighs), roughly chopped'), (9019, 60, '⅔ cup (about ¼ pound) chicken skin and fat (reserved from the 3 chicken thighs)'), (9020, 60, '2 chicken livers (optional)'), (9021, 60, '2 garlic cloves, finely chopped'), (9022, 60, '¼ cup finely chopped chives, plus extra for serving'), (9023, 60, '1¼ teaspoons kosher salt'), (9024, 60, '¾ teaspoon freshly ground black pepper'), (9025, 60, '30 to 34 square wonton wrappers'), (9026, 60, '8 cups store-bought or homemade chicken broth'), (9027, 61, '8 chicken breast cutlets, or 4 boneless skinless chicken breast halves, split horizontally into 8 cutlets (1 1/2 pounds total)'), (9028, 61, '8 chicken breast cutlets, or 4 boneless skinless chicken breast halves, split horizontally into 8 cutlets (1 1/2 pounds total)'), (9029, 61, '8 chicken breast cutlets, or 4 boneless skinless chicken breast halves, split horizontally into 8 cutlets (1 1/2 pounds total)'), (9030, 61, '1/2 cup dried breadcrumbs'), (9031, 61, '1/2 cup finely grated Parmesan cheese'), (9032, 61, 'salt'), (9033, 61, 'freshly ground pepper'), (9034, 61, '2 large eggs, lightly beaten'), (9035, 61, '1/4 cup olive oil'), (9036, 61, '2 cups spaghetti sauce, homemade or purchased'), (9037, 61, '8 slices (1/4-inch-thick) mozzarella cheese, preferably fresh (6 ounces)'), (9038, 62, '1.5 cups quinoa'), (9039, 62, '3 cups broth or water'), (9040, 62, '4 chicken thighs'), (9041, 62, '1 onion or leek'), (9042, 62, 'Olive oil'), (9043, 63, '8 tbsp olive oil'), (9044, 63, '1 onion, sliced'), (9045, 63, '2 celery stalks, roughly chopped'), (9046, 63, '2 medium carrots, roughly chopped'), (9047, 63, '6 chicken breasts, or chicken thighs, bones removed'), (9048, 63, '175ml/6fl oz white wine'), (9049, 63, '3 tbsp tomato purée'), (9050, 63, '500ml/17 fl oz chicken stock'), (9051, 63, '2 bay leaves'), (9052, 63, '2-3 sage leaves'), (9053, 63, '1 rosemary sprig'), (9054, 63, '250g/9oz easy-cook polenta'), (9055, 63, 'Knob of butter'), (9056, 63, '25g/1oz parmesan'), (9057, 64, '6 (3-ounce) chicken cutlets, pounded to evenly flatten'), (9058, 64, 'Salt and freshly ground black pepper'), (9059, 64, '6 paper-thin slices prosciutto'), (9060, 64, '1 (10-ounce) box frozen chopped spinach, thawed'), (9061, 64, '3 tablespoons olive oil'), (9062, 64, '1/4 cup grated parmesan'), (9063, 64, '1 (14-ounce) can low-salt chicken broth'), (9064, 64, '2 tablespoons fresh lemon juice'), (9065, 65, '400 g quality chorizo'), (9066, 65, '1 small onion'), (9067, 65, '50 g jarred piquillo peppers'), (9068, 65, '½ a bunch of fresh flat-leaf parsley'), (9069, 65, '22 free-range chicken drumettes'), (9070, 65, '2 tablespoons extra virgin olive oil'), (9071, 65, '1 teaspoon smoked paprika'), (9072, 65, '2 tablespoon tomato pureé'), (9073, 65, '400 g Bomba paella rice'), (9074, 65, '120 ml white wine'), (9075, 65, '750 ml organic chicken stock'), (9076, 65, '200 g frozen peas'), (9077, 65, '1 lemon'), (9078, 66, '3 1/2 pounds whole cut-up chicken'), (9079, 66, '2 (5-ounce) packets chicken fry coating (recommended: Dixie Fry)'), (9080, 66, '2 tablespoons salt-free chicken seasoning, divided (recommended: McCormick Grill Mates)'), (9081, 66, 'Canola oil, for frying'), (9082, 66, '2 (12-ounce) jars roasted chicken gravy (recommended: Franco American)'), (9083, 66, '1 teaspoon crushed garlic'), (9084, 68, '4 slices good sourdough bread'), (9085, 68, '3 tablespoons Sriracha Mayonnaise (recipe follows)'), (9086, 68, '8 ounces picked lump crabmeat, preferably peekytoe, picked over for bits of shell'), (9087, 68, 'Crushed red chile flakes, optional'), (9088, 68, '1 lemon, cut into wedges'), (9089, 68, 'Sriracha Mayonnaise'), (9090, 68, '1 large egg yolk'), (9091, 68, '1 tablespoon Dijon mustard'), (9092, 68, '1/2 teaspoon kosher salt'), (9093, 68, '3/4 cup grapeseed or other neutral oil'), (9094, 68, '2 teaspoons fresh lemon juice'), (9095, 68, '2 teaspoons Sriracha'), (9096, 69, '2¼ pounds heirloom tomatoes, cored and cut into wedges'), (9097, 69, '1 pint (2 cups) mixed cherry tomatoes, halved'), (9098, 69, 'Kosher salt and freshly ground black pepper'), (9099, 69, '2 basil sprigs, leaves removed and thinly sliced (about 10 leaves)'), (9100, 69, '1 mint sprig, leaves removed and thinly sliced (about 8 leaves)'), (9101, 69, '6 ounces ciliegine (see note), drained'), (9102, 69, '3 tablespoons extra-virgin olive oil'), (9103, 69, '1 tablespoon plus 1½ teaspoons red wine vinegar'), (9104, 69, 'Coarse sea salt (such as fleur de sel or maldon)'), (9105, 69, '1 small serrano chile, thinly sliced (about 12 slices)'), (9106, 70, '6 ears sweet yellow corn, unhusked'), (9107, 70, '2 tablespoons extra virgin olive oil'), (9108, 70, '2 tablespoons unsalted butter (1/4 stick)'), (9109, 70, 'Kosher salt'), (9110, 70, 'Black pepper, freshly ground'), (9111, 70, '1 jalapeno, seeded, finely diced'), (9112, 70, '1/2 teaspoon crushed red pepper flakes'), (9113, 70, '1 lime, cut into 4 wedges'), (9114, 70, '1 cup manchego cheese, finely grated'), (9115, 70, '1/4 cup chives, thinly sliced'), (9116, 70, '2 teaspoons lime zest, finely grated with microplane'), (9117, 71, '1 tablespoon cornstarch'), (9118, 71, '7 tablespoons peanut oil'), (9119, 71, '2 to 3 shallots, minced (about 1/2 cup)'), (9120, 71, '1 1/2-inch knob ginger, grated (about 2 tablespoons)'), (9121, 71, '6 medium garlic cloves, minced (about 2 tablespoons)'), (9122, 71, '4 Thai chiles, minced'), (9123, 71, '2 whole Mud or Dungeness crabs (about 1 pound each), prepared (see note above)'), (9124, 71, '2 cups homemade or store-bought low sodium chicken broth'), (9125, 71, '1/4 cup tomato paste'), (9126, 71, '1/2 cup hot-sweet chili sauce (see note above)'), (9127, 71, '1 large egg, beaten'), (9128, 71, '1/2 cup thinly sliced green onions'), (9129, 71, '1 cup chinese parsley leaves'), (9130, 71, 'Rice or steamed chinese buns to serve on side'), (9131, 72, '1 tablespoon sunflower seeds'), (9132, 72, '1 tablespoon pumpkin seeds'), (9133, 72, '1 tablespoon white sesame seeds'), (9134, 72, 'Cumin and Citrus Roasted Carrots (recipe follows)'), (9135, 72, '1 avocado, halved, pitted, peeled, and cut into thin wedges'), (9136, 72, '4 cups sprouts, preferably a mix of radish and beet'), (9137, 72, '1 tablespoon plus 1 teaspoon sour cream'), (9138, 72, 'Edible flowers, for garnish, optional'), (9139, 72, 'Cumin and Citrus Roasted Carrots'), (9140, 72, '1 pound medium carrots, peeled'), (9141, 72, '3 garlic cloves'), (9142, 72, '1 teaspoon cumin seeds'), (9143, 72, '1 teaspoon fresh thyme leaves'), (9144, 72, '1/4 teaspoon crushed red chile flakes'), (9145, 72, 'Kosher salt and freshly ground black pepper, plus more to taste'), (9146, 72, '1 tablespoon red wine vinegar'), (9147, 72, '1/4 cup plus 2 tablespoons extra-virgin olive oil'), (9148, 72, '1 1/2 oranges'), (9149, 72, '2 lemons, halved'), (9177, 73, '1 Tbsp. oil'), (9178, 73, '1/2 cup alphabet pasta, uncooked (1/2 of 7-oz. pkg.)'), (9179, 73, '1 clove garlic, minced'), (9180, 73, '2 cans (14.5 oz. each) fat-free reduced-sodium chicken broth'), (9181, 73, '1 can (8 oz.) tomato sauce'), (9182, 73, '4 oz. (1/2 of 8-oz. pkg.) KRAFT Sharp Cheddar Cheese, cubed'), (9183, 73, '30 RITZ Crackers'), (9184, 74, '2 pounds boneless short ribs or 4 pounds English-cut short ribs (see note above)'), (9185, 74, 'Kosher salt and freshly ground black pepper'), (9186, 75, '1/2 cup packed dark brown sugar'), (9187, 75, '2 tablespoons paprika (sweet, hot or smoked, whichever variety you prefer)'), (9188, 75, '3 tablespoons chili powder'), (9189, 75, '1 tablespoon onion powder'), (9190, 75, '2 tablespoons kosher salt (Diamond brand, which is very lightweight; for most others, use 1 1/4 tablespoons; more about why here)'), (9191, 75, 'ground chipotle chile pepper'), (9192, 75, 'ground black pepper'), (9193, 75, '1 5-pound rack spare ribs'), (9194, 75, 'To finish: 2 teaspoons cider vinegar'), (9195, 76, '12 pork spare ribs'), (9196, 76, '2 tbsp olive oil'), (9197, 76, '1 onion, finely chopped'), (9198, 76, '2 x 400g cans chopped tomatoes'), (9199, 76, '3 garlic cloves, finely chopped'), (9200, 76, '50g/2oz light muscovado sugar'), (9201, 76, '4 tbsp malt vinegar'), (9202, 76, '3 tbsp worcestershire sauce'), (9203, 76, '1 tbsp tomato purée'), (9204, 76, '2 tsp chinese five spice powder'), (9205, 76, '1 tsp ground cumin'), (9206, 76, 'Salt and freshly ground black pepper'), (9207, 77, '3 tablespoons chopped peeled ginger'), (9208, 77, '2 tablespoons chopped garlic'), (9209, 77, '1/3 cup soy sauce'), (9210, 77, '2 tablespoons vegetable oil'), (9211, 77, '1/2 cup hoisin sauce'), (9212, 77, '2 tablespoons honey'), (9213, 77, '4 pounds baby back ribs (2 to 4 racks)'), (9214, 78, '4 cloves garlic, chopped'), (9215, 78, '2 tablespoons brown sugar'), (9216, 78, '1 teaspoon chili powder'), (9217, 78, '½ teaspoon cayenne pepper'), (9218, 78, 'kosher salt and black pepper'), (9219, 78, '2 racks baby-back ribs (about 3 pounds)'), (9220, 79, '2 tbsp. hoisin sauce'), (9221, 79, '½ tsp. sambal oelek'), (9222, 79, '½ tsp. toasted sesame oil'), (9223, 79, 'Rack of roast ribs from Asian-Brined Pork Loin'), (9228, 81, '4 pounds beef short ribs'), (9229, 81, '3 cups Zinfandel'), (9230, 81, '1/2 cup sugar'), (9231, 81, '3/4 cup canned diced tomatoes'), (9232, 81, '2 cups beef broth'), (9233, 81, '1 teaspoon garlic, minced'), (9234, 81, '3 sprigs fresh thyme, leaves only'), (9235, 81, '2 bay leaves'), (9236, 81, '6 teaspoons canola oil'), (9237, 81, '1 large onion, diced'), (9238, 81, '2 carrots, diced'), (9239, 81, '2 stalks celery, diced'), (9240, 81, '2 ounces dried mushrooms, preferably porcini'), (9241, 82, '2 package fully cooked pork baby-back ribs in barbecue sauce'), (9242, 82, '2 tbsp. scallions'), (9243, 82, '1 tbsp. yellow mustard'), (9244, 82, '1 tsp. hot red pepper sauce'), (9245, 82, 'vegetable oil'), (9246, 83, '2 Tablespoons olive oil'), (9247, 83, '2 garlic cloves, roughly chopped'), (9248, 83, '1 15oz can chickpeas (garbanzo beans) rinsed and drained'), (9249, 83, '1 1/2 teaspoons harissa paste (more is fine too)'), (9250, 83, '1/2 teaspoon kosher salt'), (9251, 83, '1 Tablespoon chopped, fresh mint'), (9252, 83, '2 cups fresh spinach'), (9253, 84, 'One 15-ounce can chickpeas, drained'), (9254, 84, 'Vegetable oil, for frying'), (9255, 84, '2 teaspoons sea salt'), (9256, 84, '2 teaspoons pimentón dulce (sweet spanish paprika)'), (9257, 85, '2 (15-ounce) cans chickpeas, drained, rinsed, patted dry'), (9258, 85, '2 tablespoons olive oil'), (9259, 85, '2 teaspoons curry powder'), (9260, 85, '1 teaspoon kosher salt'), (9261, 86, '2 cans (15 1/2 ounces each) chickpeas'), (9262, 86, '3 tablespoons olive oil, to coat'), (9263, 86, '1 1/2 teaspoons coarse salt'), (9264, 86, '1 teaspoon hot or sweet paprika'), (9265, 87, '1 cup drained chickpeas'), (9266, 87, '1 large arabic bread'), (9267, 87, 'Oil for frying bread'), (9268, 87, '2 large cucumber'), (9269, 87, '1 small onion'), (9270, 87, '1 large tomato'), (9271, 87, '¼ cup lemon juice'), (9272, 87, '¼ cup olive oil'), (9273, 87, '¼ tsp salt'), (9274, 88, '1 15.5-ounce can chickpeas, rinsed'), (9275, 88, '2 tablespoons soy sauce'), (9276, 88, '2 teaspoons canola oil'), (9277, 88, '2 teaspoons toasted sesame seeds'), (9278, 89, '1 (15-ounce) can unsalted chickpeas, drained'), (9279, 89, '1 tablespoon olive oil'), (9280, 89, '1/2 teaspoon sea salt'), (9281, 89, '3 tablespoons nutritional yeast'), (9282, 89, '1 teaspoon sea salt'), (9283, 89, '1/2 teaspoon granulated garlic'), (9284, 90, 'olive oil'), (9285, 90, '2 (15-ounce) cans chickpeas, thoroughly drained and rinsed'), (9286, 90, '3 tablespoons all-purpose flour'), (9287, 90, '2 teaspoons kosher salt'), (9288, 90, '1 teaspoon smoked paprika'), (9289, 90, '40 to 50 medium fresh sage leaves'), (9290, 91, '3 cup vegetable oil, for frying'), (9291, 91, '3 15-ounce cans chickpeas, drained, rinsed and patted dry'), (9292, 91, '1 ½ Tbsp ground coriander'), (9293, 91, '1 Tbsp ground cumin'), (9294, 91, '1 cup all-purpose flour'), (9295, 91, 'salt'), (9380, 101, '1 tablespoon olive oil'), (9381, 101, '1 garlic clove, peeled'), (9382, 101, '1 1/4 pounds baby spinach'), (9383, 101, 'Coarse salt and ground pepper'), (9384, 102, '1/4 cup (1/2 stick) unsalted butter'), (9385, 102, '2 pounds fresh spinach, stemmed'), (9386, 102, '1 1/2 cups (lightly packed) grated pecorino, parmesan, or manchego cheese (about 3 ounces)'), (9387, 102, '1/4 cup crème fraîche'), (9388, 102, '1 teaspoon dijon mustard'), (9389, 102, 'Kosher salt and freshly ground black pepper'), (9390, 103, '70 g unsalted butter'), (9391, 103, '50 g plain flour'), (9392, 103, '800 ml milk'), (9393, 103, '1 fresh bay leaf'), (9394, 103, '800 g spinach'), (9395, 103, '200 g ricotta cheese'), (9396, 103, '1 whole nutmeg , for grating'), (9397, 103, '300 g fresh lasagne sheets'), (9398, 103, '100 g Parmesan cheese'), (9399, 104, '6 tightly packed cups fresh spinach (6 ounces)'), (9400, 104, '1/2 cup heavy cream'), (9401, 104, '1 teaspoon unsalted butter'), (9402, 104, 'Salt and freshly ground pepper'), (9403, 105, '1 fat clove garlic, sliced'), (9404, 105, '3 slices bacon, diced'), (9405, 105, '¼ tsp grated nutmeg'), (9406, 105, '10 oz. pkg. baby spinach leaves'), (9407, 105, '¼ cup organic sour cream'), (9408, 105, '2 tablespoons grated parmesan cheese'), (9409, 106, '1 1/2 cups spinach'), (9410, 106, '1/2 grapefruit, peeled, white pith removed'), (9411, 106, '2 green apples, cut into eighths'), (9412, 106, '1 1-inch piece peeled fresh ginger'), (9413, 106, '2 large stalks celery'), (9414, 106, 'Ice (optional)'), (9415, 107, '1 tbsp. olive oil'), (9416, 107, '1 large garlic clove'), (9417, 107, '2 bag fresh spinach'), (9418, 107, '¼ tsp. salt'), (9427, 109, '4 large eggs'), (9428, 109, '1 cup milk'), (9429, 109, '1 bag fresh spinach or 1 package of frozen spinach, drained'), (9430, 109, '1 8 ounce package mozzarella cheese'), (9431, 109, 'Salt & pepper to taste'), (9520, 119, '8 small whiting fish or smelt'), (9521, 119, '4 cups vegetable oil'), (9522, 120, '1 two-liter bottle lemon-lime soda, flat'), (9523, 120, '4 1/4-ounce packages unflavored gelatin'), (9524, 120, '2 drops blue food coloring'), (9525, 120, '2 ounces gummy fish'), (9526, 121, '3 tbsp plain flour'), (9527, 121, '1 large free-range egg, beaten'), (9528, 121, '50g/1¾oz golden breadcrumbs (if not available, substitute with 30g/1oz fresh white breadcrumbs mixed with 20g/½oz easy-cook polenta)'), (9529, 121, '500g/1lb2oz thick skinless fish fillets (salmon, cod, haddock or other white fish), cut into 4 or 8 thick pieces'), (9530, 121, '3 tbsp sunflower oil'), (9531, 121, 'Salt and freshly ground black pepper'), (9532, 122, '4 discs palm sugar'), (9533, 122, '1 cup water'), (9534, 122, '1 teaspoon black pepper'), (9535, 122, '½ cup fish sauce'), (9536, 122, '¼ cup black vinegar'), (9537, 123, 'Fish - 1 lbs (preferrably small fish or cut the fish into one inch pieces)'), (9538, 123, 'Grated coconut - 3/4 cup'), (9539, 123, 'Turmeric powder - 1/2 tsp'), (9540, 123, 'Chili powder - 1/2 tsp'), (9541, 123, 'Red onion - 1 cup (sliced)'), (9542, 123, 'Green chilies - 2 nos cut into 2'), (9543, 123, 'Raw mangoer slice 4'), (9544, 123, 'Salt - to taste'), (9545, 123, 'Oil - 1 tbsp'), (9546, 123, 'Mustard seeds - 1 tsp'), (9547, 124, '250 gm of cut into small cubes, deboned fish (any fish with a firm flesh would do, or use deveined prawns)'), (9548, 124, '3 tbsp + 1 tsp of cornflour/corn starch'), (9549, 124, '3 tbsp of maida/plain flour'), (9550, 124, '1 tsp + 1 tsp of ginger garlic paste'), (9551, 124, '1 tsp of black pepper powder'), (9552, 124, '1 capsicum/bell pepper, cubed'), (9553, 124, '1 onion, cubed'), (9554, 124, '½ to 1 tbsp of soya sauce'), (9555, 124, '1 tsp of green chilli sauce'), (9556, 124, '1 tsp of tomato sauce'), (9557, 124, 'A small bunch of spring onions or coriander leaves, chopped fine'), (9558, 125, '2 pounds fish bones and heads (avoid oily, strong-flavored fish such as mackerel and bluefish)'), (9559, 125, '2 tablespoons butter'), (9560, 125, '1 onion, sliced'), (9561, 125, '¼ pound mushrooms, light parts only, sliced (optional, see Notes)'), (9562, 125, '10 sprigs parsley'), (9563, 125, '¾ cup dry white wine'), (9564, 125, '3 cups water'), (9565, 126, '1/3 cup all-purpose flour'), (9566, 126, '1/2 teaspoon salt'), (9567, 126, '1/4 teaspoon freshly ground pepper'), (9568, 126, '1 pound catfish, tilapia, haddock or other white-fish fillets (see “choose sustainable fish,” opposite), cut into 4 portions'), (9569, 126, '1 tablespoon extra-virgin olive oil'), (10692, 299, '1 cup diced ripe mango, from 1 mango'), (10693, 299, '1 1/2 cups freshly squeezed orange juice, from 3 oranges'), (10694, 299, '1 bottle (750 ml) dry sparkling wine for every 5 drinks, chilled'), (10695, 299, '1 lime, cut into wedges'), (10696, 300, '1.8 quarts Hokusetsu saké (pure rice)'), (10697, 300, '7 ounces sugar syrup'), (10698, 300, '10 1/2 ounces mango flesh'), (10699, 300, '3 tablespoons and 1 teaspoon mango syrup'), (10700, 300, '10 drops ginger juice, squeezed from the root in a ginger press'), (10701, 301, '2 avocadoes'), (10702, 301, '1 mango'), (10703, 301, '1/2 red onion'), (10704, 301, '1 handful cilantro'), (10705, 301, '1 jalapeno pepper'), (10706, 301, '1 lime'), (10707, 302, '1 mango, peeled and sliced (see tip)'), (10708, 302, 'Lime wedges'), (10709, 303, '2 cups chopped mango (from 1 large peeled, pitted mango)'), (10710, 303, '1/2 cup ice'), (10711, 303, '1 cup plain whole-milk yogurt'), (10712, 303, '2 tablespoons sugar, or to taste'), (10713, 303, 'Pinch of ground cinnamon'), (10714, 303, 'Pinch of coarse salt'), (10715, 304, '1 cup store-bought refrigerated fresh salsa'), (10716, 304, '1 mango, cut into 1/4-inch pieces'), (10717, 305, '1 large mango, peeled and chopped, or 1 cup mango pulp'), (10718, 305, '2½ cups (20 oz.) icy-cold rich milk, buttermilk, or yogurt'), (10719, 305, '¼ cup superfine sugar or honey'), (10720, 305, '4 mango slices for garnish (optional)'), (10721, 306, '1 heaping cup of frozen mango chunks'), (10722, 306, '1/2 medium banana (frozen or room temperature)'), (10723, 306, '1 cup orange juice'), (10724, 307, '1 cup ripe mango chunks, plus 1/2 cup diced mango for garnish, optional'), (10725, 307, '1 banana'), (10726, 307, '2 cups mango juice'), (10727, 307, '2 cups plain or vanilla frozen yogurt'), (10728, 307, '1 tablespoon fresh lemon juice'), (10729, 307, 'Pinch ground cardamom'), (10730, 307, 'Pinch fennel seeds'), (10731, 307, '1/2 cup chopped pistachios, for garnish, optional'), (10920, 335, '2 decaffeinated hibiscus tea bags'), (10921, 335, '2 decaffeinated lemon tea bags'), (10922, 335, '2 cups apple juice'), (10923, 336, '2 ounces orange-flavored vodka, chilled'), (10924, 336, '6 ounces Sweet Tea , chilled'), (10925, 336, '1/2 orange wheel (optional)'), (10926, 337, '1 cup water'), (10927, 337, '3 cups whole milk'), (10928, 337, '3 heaping spoonfuls of black tea, such as darjeeling (or 4 tea bags)'), (10929, 337, '1 small inch thumb of ginger, peeled'), (10930, 337, '7 green cardamom pods'), (10931, 337, '4 whole cloves'), (10932, 337, '1 cinnamon stick'), (10933, 337, '2 spoonfuls of sugar, or to taste'), (10934, 338, '1⁄2 cup evaporated milk'), (10935, 338, '5 tsp. sugar'), (10936, 338, '6 black tea bags'), (10937, 338, '5 pods green cardamom, crushed'), (10938, 339, '3 tea bags black tea'), (10939, 339, '2 tea bags mint tea'), (10940, 339, '1/3 cup sugar'), (10941, 339, '1 cup bourbon, optional'), (10942, 339, 'Fresh mint, for garnish'), (10943, 340, '2 part Sailor Jerry Rum'), (10944, 340, '1 part iced tea'), (10945, 340, '2 part lemonade'), (10946, 341, '1 quart boiling water, plus more for heating the teapot'), (10947, 341, '1 tablespoon loose green tea, or 3 bags green tea'), (10948, 341, '3/4 cup sugar'), (10949, 341, '3 cups firmly packed mint leaves and tender stems, crushed, plus 4 sprigs for garnish'), (10950, 342, '1 quart water'), (10951, 342, 'Juice of 1 lemon'), (10952, 342, '1/2 cup sugar'), (10953, 342, '4 tea bags of unsweetened and unflavored green tea'), (10954, 342, '2 sprigs mint, crushed'), (10955, 342, '1/2 teaspoon crushed pink peppercorns, optional'), (10956, 343, '1 cup all-purpose flour'), (10957, 343, '1/4 cup sugar'), (10958, 343, '1/4 cup powdered sugar'), (10959, 343, '1 tablespoon chai tea mix, from several chai tea bags (see Tea Note below)'), (10960, 343, '1/2 teaspoon ground cardamom, optional'), (10961, 343, '1/2 teaspoon ground cinnamon, optional'), (10962, 343, '1/4 teaspoon salt'), (10963, 343, '1/2 teaspoon vanilla'), (10964, 343, '1/2 cup unsalted butter'), (10965, 344, '1 cup water'), (10966, 344, '4¼ cups corn kernels (from 6 medium ears of corn)'), (10967, 344, '1 star anise pod'), (10968, 344, '3 tablespoons unsalted butter, softened'), (10969, 344, '1 teaspoon chipotle chile in adobo sauce, very finely chopped'), (10970, 344, '2 teaspoons lemon zest'), (10971, 344, '½ teaspoon kosher salt'), (10972, 344, '2 tablespoons finely chopped chives'), (10973, 345, '3 eggs, separated'), (10974, 345, '5 tablespoons sugar'), (10975, 345, '6 ounces mascarpone cheese'), (10976, 345, '36 ladyfingers, 1 large package (approximately 36)'), (10977, 345, '1 cup orange liqueur'), (10978, 345, '1 cup espresso coffee'), (10979, 345, '2 ounces bitter chocolate, grated (Bakers chocolate)'), (10980, 345, '1⁄2 cup unsweetened cocoa powder (or 2 ounces grated bittersweet chocolate)'), (10981, 346, '14 oz linguine'), (10982, 346, '1.5 oz anchovy fillets'), (10983, 346, '1.5 oz green olives, pitted'), (10984, 346, '1.5 oz capers'), (10985, 346, '1 small onion, peeled and finely diced'), (10986, 346, '2 cloves garlic, peeled and smashed'), (10987, 346, '1 cup fresh flat-leaf parsley, roughly chopped'), (10988, 346, '10 tbsp olive oil'), (10989, 347, '1 1/2 Cup (24 tbs) Mashed banana'), (10990, 347, '2 Teaspoon Fresh lemon juice'), (10991, 347, '3 Cup (48 tbs) All purpose flour'), (10992, 347, '1 1/2 Teaspoon Baking soda'), (10993, 347, '1/2 Teaspoon Baking soda'), (10994, 347, '12 Tablespoon (((((room temperature))))) Butter'), (10995, 347, '2 Cup (32 tbs) Granulated sugar'), (10996, 347, '1/4 Cup (4 tbs) Brown sugar'), (10997, 347, '3 Eggs'), (10998, 347, '2 Teaspoon Vanilla extract'), (10999, 347, '1 1/2 Cup (24 tbs) Buttermilk'), (11000, 348, '4 medium tomatoes or tomatillos'), (11001, 348, '2 small garlic cloves, minced'), (11002, 348, '1 tablespoon plus 1 teaspoon capers, drained and chopped'), (11003, 348, '1/4 cup olive oil, plus more for the grape leaves'), (11004, 348, 'Salt and freshly ground black pepper'), (11005, 348, '4 (6- to 8-ounce) flounder fillets'), (11006, 348, '8 to 12 large grape or fig leaves, stems removed'), (11007, 349, '1/3 cup peppered Boursin cheese (from a 5.2-oz package), softened'), (11008, 349, '1/4 cup finely chopped fresh basil'), (11009, 349, '18 very thin slices Genoa salami (3 1/2 inches in diameter; 1/4 lb)'), (11010, 349, '18 grape tomatoes'), (11011, 349, '18 long fresh chives'), (11012, 350, '2 grams Agar powder (about 3/4 teaspoon)'), (11013, 350, '2 cups grape juice'), (11014, 350, '150 grams grapes (I used 2 prune-sized grapes per ramekin)'), (11015, 351, '1 bunch red seedless grapes, stemmed and washed (about 1 pound)'), (11016, 351, '1 bunch white seedless grapes, stemmed and washed (about 1 pound)'), (11017, 351, '1 quart chilled grape juice'), (11018, 351, '1 tablespoon honey'), (11019, 351, '16 ounces vodka'), (11020, 351, '2 cups chilled seltzer, club soda, or naturally sparkling water'), (11021, 352, '½ c. grape juice'), (11022, 352, '¼ c. plain low-fat yogurt'), (11023, 352, '1 c. frozen seedless red grapes'), (11024, 354, '3 tablespoons extra-virgin olive oil, divided'), (11025, 354, '4 large chicken thighs with skin and bones (about 1 1/3 pounds)'), (11026, 354, '3/4 pound fresh mild or hot italian sausages'), (11027, 354, '3/4 pound large mushrooms, quartered'), (11028, 354, '2 12-ounce containers grape tomatoes'), (11029, 354, '1/2 cup dry red wine'), (11030, 354, '3 large garlic cloves, pressed'), (11031, 354, '1 1/2 teaspoons chopped fresh rosemary'), (11032, 354, '1/2 cup coarsely chopped fresh basil'), (11033, 355, '6 whole mackerel or other small, whole, bone-in fish (8 to 10 ounces each), scaled and gutted'), (11034, 355, 'Salt'), (11035, 355, '¼ cup fresh lemon juice'), (11036, 355, '24 to 30 grape leaves (see Notes)'), (11037, 355, 'Olive oil'), (11038, 355, 'Lemon wedges, for garnish'), (11039, 356, '1⁄3 cup parmesan cheese'), (11040, 356, '1⁄3 cup romano cheese'), (11041, 356, '1⁄3 cup dry monterey jack'), (11042, 358, '1 organic large egg'), (11043, 358, '1 teaspoon whole milk or water'), (11044, 358, '1 tablespoon cheddar cheese, shredded (you can use other types of cheese)'), (11045, 358, '1 teaspoon butter or oil'), (11046, 359, '2 large free-range eggs'), (11047, 359, 'olive oil'), (11048, 359, '10 g Cheddar cheese'), (11049, 360, '225g/8oz self raising flour'), (11050, 360, 'Pinch of salt'), (11051, 360, '55g/2oz butter'), (11052, 360, '25g/1oz mature cheddar cheese, grated'), (11053, 360, '150ml/5fl oz milk'), (11054, 361, '4 ounces, weight Cream Cheese, Softened'), (11055, 361, '1/2 cup Mayonnaise'), (11056, 361, '1 Tablespoon Dijon Mustard (more To Taste)'), (11057, 361, '1 Tablespoon Adobo Sauce From Canned Chipotles (more To Taste)'), (11058, 361, '1/2 teaspoon Black Pepper'), (11059, 361, '8 ounces, weight Sharp Cheddar Cheese, Grated'), (11060, 361, '8 ounces, weight Monterey Jack Or Mozzarella Cheese, Grated'), (11061, 361, '4 ounces, weight Sliced Pimentos, Drained'), (11062, 361, '2 teaspoons Chopped Fresh Dill'), (11063, 362, '1 clove garlic'), (11064, 362, '1 cup dry white wine'), (11065, 362, '3 cups vegetable stock'), (11066, 362, '8 ounces Emmentaler cheese, grated'), (11067, 362, '4 ounces gruyere cheese, grated'), (11068, 362, '4 ounces etivaz cheese, grated'), (11069, 362, '4 ounces vacherin fribourgeois or fontina cheese, grated'), (11070, 362, '1 pinch nutmeg, freshly grated'), (11071, 362, '4 tablespoons cornstarch'), (11072, 362, '1/2 cup water'), (11073, 363, '1 cup (150 gr.) all purpose flour'), (11074, 363, 'A scant ¾ cup (150 ml.) water'), (11075, 363, 'A scant ¾ cup (150 ml.) whole fat milk'), (11076, 363, '7 tablespoons (100 gr.) unsalted butter'), (11077, 363, '3 whole eggs'), (11078, 363, '1 egg yolk'), (11079, 363, 'A generous ½ cup (60 gr.) grated parmesan cheese'), (11080, 363, '2.8 ounces (80 gr.) grated edamer cheese'), (11081, 363, '1 pinch of salt'), (11082, 364, '4 tablespoons unsalted butter, softened'), (11083, 364, '8 slices sourdough bread'), (11084, 364, '4 slices cheddar cheese (about 3 ounces)'), (11085, 364, '4 slices Swiss cheese (about 3 ounces)'), (11086, 364, '4 slices American cheese (about 3 ounces)'), (11087, 365, '1/4 apple, cored and diced'), (11088, 365, '1 1/2 ounces apple brandy, such as Laird’s Bonded Apple Brandy'), (11089, 365, '3/4 ounce Mandarine Napoléon liqueur'), (11090, 365, '1/2 ounce oloroso sherry, such as Williams & Humbert'), (11091, 365, '4 ounces prosecco sparkling wine'), (11092, 365, 'Orange twist, for garnish'), (11093, 365, 'Thinly sliced apple, for garnish'), (11094, 366, '1 lady apple, cut in half lengthwise, or 2 slices of a larger apple'), (11095, 366, '3 ounces whiskey'), (11096, 366, '1 ounce dry vermouth'), (11097, 366, '2 dashes bitters'), (11098, 366, '1 cup sparkling apple cider'), (11099, 367, '6 granny smith apples (or other tart baking apples, or 2 cups apple juice)'), (11100, 367, '3/4 cup rich simple syrup'), (11101, 367, '4 tablespoons lemon juice'), (11102, 368, '1 ounce apple juice'), (11103, 368, '1/2 ounce cognac'), (11104, 368, '1/2 ounce simple syrup'), (11105, 368, '4 to 5 red or green apple chunks'), (11106, 368, '3 ounces champagne'), (11107, 369, '½ a grapefruit'), (11108, 369, '1 apple'), (11109, 369, '3 medium carrots'), (11110, 370, '1 granny smith apple'), (11111, 370, '1 tablespoon fresh lemon juice'), (11112, 370, '1.5 cups red cabbage'), (11113, 370, '1.25 cups green cabbage'), (11114, 370, '1 beet'), (11115, 370, '.5 cups rice vinegar'), (11116, 370, '.25 cups apple cider vinegar'), (11117, 370, '2 teaspoons dijon mustard'), (11118, 370, '1 cup olive oil'), (11119, 371, '2 ounces applejack'), (11120, 371, '2 ounces chilled apple juice'), (11121, 371, '1 1/2 ounces chilled ginger beer'), (11122, 371, '3 pieces of candied ginger or 1 apple slice, skewered on a pick'), (11123, 372, '1 part vodka'), (11124, 372, '1 part sour apple Schnapps'), (11125, 372, '1 part apple juice'), (11126, 372, 'Sour apple hard candy, for garnish (recommended: Jolly Rancher)'), (11127, 372, 'Apple peel curl, for garnish'), (11128, 373, '1 cup apple cider'), (11129, 373, '3/4 cup apple jelly'), (11130, 373, '1/8 teaspoon apple pie spice'), (11400, 410, '2 cups leftover pasta'), (11401, 410, '4 eggs beaten'), (11402, 410, '2 tablespoons butter'), (11403, 410, '1/2 cup whichever cheese the pasta called for'), (11404, 411, '1/2 pound campanelle pasta (or other short macaroni)'), (11405, 411, '1 to 2 garlic cloves, minced'), (11406, 411, '3 tablespoons tomato paste'), (11407, 411, '3/4 cup chicken stock'), (11408, 411, 'ground black pepper'), (11409, 411, '1 tablespoon butter'), (11410, 412, '12 oz (340 g) pasta'), (11411, 412, '2 garlic cloves'), (11412, 412, '7 oz (200 g) grated emmentaler cheese'), (11413, 412, '1.4 oz (40 g) grated parmesan cheese'), (11414, 412, '¼ cup (60 ml) sour cream'), (11415, 412, '½ cup (120 g) yogurt'), (11416, 412, '3 tbsp butter'), (11417, 412, 'Salt'), (11418, 412, 'Pepper'), (11419, 412, 'Chopped fresh parsley'), (11420, 413, '3 tablespoons unsalted butter'), (11421, 413, '2 ounces pancetta cut into 1/4-inch cubes'), (11422, 413, '1/2 cup onion, chopped'), (11423, 413, '1/2 pound gemelli (braided pasta) or fusilli (spiral-shaped pasta)'), (11424, 413, '2 tablespoons miso'), (11425, 413, '2 tablespoons flat-leaf parsley, chopped, plus more'), (11426, 413, '1/2 teaspoon freshly cracked black pepper'), (11427, 413, '1/2 cup fresh mozzarella, torn'), (11428, 414, '3 tablespoons vegetable oil'), (11429, 414, '7 ounces orzo pasta (or pasta de pluma)'), (11430, 414, '1 small white onion, finely chopped'), (11431, 414, '2 garlic cloves, minced'), (11432, 414, '12 ounces canned tomatoes, finely chopped'), (11433, 414, '8 cups chicken broth'), (11434, 414, '4 large chicken livers, cleaned and chopped'), (11435, 414, '4 cups coarsely chopped Swiss chard'), (11436, 414, '1 small bunch Italian parsley'), (11437, 414, 'Salt'), (11438, 414, 'Croutons'), (11439, 415, '½ pounds rotini pasta (2 ½ cups, dry pasta)'), (11440, 415, '6 teaspoons extra virgin olive oil'), (11441, 415, '2 teaspoons fresh limejuice'), (11442, 415, '1 teaspoon vinegar'), (11443, 415, '1 garlic clove, minced'), (11444, 415, '½ teaspoons prepared yellow mustard'), (11445, 415, '1 teaspoon salt'), (11446, 415, '½ teaspoons freshly cracked black pepper'), (11447, 415, '1 ripe avocado from mexico pitted, peeled and diced'), (11448, 415, '1 cup cherry tomatoes, halved'), (11449, 415, '¼ cups shredded parmesan cheese'), (11450, 415, '¼ cups red onion, thinly sliced'), (11451, 415, '¼ cups basil, finely minced'), (11459, 417, '4 eggs'), (11460, 417, '1/2 cup grated Parmesan'), (11461, 417, '8 slices thick bacon, chopped'), (11462, 417, '1 onion, chopped'), (11463, 417, '4  cups al-dente cooked pasta'), (11464, 417, 'salt'), (11465, 417, 'pepper'), (11466, 418, '1 lb. cellentani or other pasta'), (11467, 418, '1 jar puttanesca pasta sauce'), (11468, 418, '1 can light tuna in oil'), (11801, 464, '4 tablespoons (1/2 stick) unsalted butter'), (11802, 464, '6 oil-packed anchovy fillets'), (11803, 464, '2-3 large zucchini, thinly sliced into noodle-like ribbons with a vegetable peeler or mandoline (about 6 cups)'), (11804, 464, '1/2 cup grated Parmesan'), (11805, 464, '1 teaspoon crushed red pepper flakes'), (11806, 465, '1 package any flavor ramen noodle soup mix'), (11807, 465, '1 medium zucchini'), (11808, 465, '2 scallions, cut in long'), (11809, 465, '1 medium carrot'), (11810, 465, '2 large eggs'), (11811, 465, '2 tbsp. all-purpose flour'), (11812, 465, '2 tbsp. oil'), (11813, 465, '2 tbsp. lite soy sauce'), (11814, 465, '2 tbsp. fresh lemon juice'), (11815, 466, '8 ounces green beans, trimmed and cut into 2-inch pieces'), (11816, 466, '6 ounces soba noodles'), (11817, 466, '6 ounces tofu, cut into 1/2-inch cubes'), (11818, 466, '3 tablespoons fresh lime juice'), (11819, 466, '2 tablespoons soy sauce'), (11820, 466, '2 teaspoons toasted sesame oil'), (11821, 466, '2 scallions, minced'), (11822, 467, '8 cups water'), (11823, 467, '2 C cooked, diced chicken'), (11824, 467, '1/2 C chopped carrots'), (11825, 467, '2 (2.72 oz) packets Knorr savory soups chicken noodle soup mix'), (11826, 467, '2 medium onions, diced'), (11827, 467, '3 cloves garlic, minced'), (11828, 467, '1 C enriched egg noodles'), (11829, 467, '1 red bell pepper, chopped'), (11830, 467, '2 tsp cayenne pepper'), (11831, 468, '4 tablespoons water'), (11832, 468, '3 tablespoons light soy sauce'), (11833, 468, '1 tablespoon sugar'), (11834, 468, '3 tablespoons cider vinegar'), (11835, 468, '2 tablespoons sesame oil'), (11836, 468, '1 ripe kiwi'), (11837, 468, '1 teaspoon chili paste'), (11838, 468, '2 tablespoons chopped scallions'), (11839, 468, '2 tablespoons chopped cilantro'), (11840, 468, '1 tablespoon fish sauce'); INSERT INTO `recipe_ingredients` (`id`, `recipe_id`, `ingredients_desc`) VALUES (11841, 468, '3 cups boiled noodles (can use any that you like, soba, rice noodles, mung bean noodles, etc)'), (11842, 468, '0.5 cups julienned romaine'), (11843, 468, '0.5 cups julienned carrots'), (11844, 468, '0.5 cups julienned egg (beat 2 eggs, pour into an hot oiled none stick pan. remove from the pan when the egg is set and julienne the cooked egg)'), (11845, 468, '0.5 cups julienned ham'), (11846, 469, '200 g rice noodles'), (11847, 469, '1 red pepper'), (11848, 469, '1 yellow pepper'), (11849, 469, '2 cloves of garlic'), (11850, 469, '2 fresh red chillies'), (11851, 469, '1 x 198 g tin of sweetcorn'), (11852, 469, '1 bunch of spring onions'), (11853, 469, '1 handful of salted peanuts'), (11854, 469, '3 tablespoons olive oil'), (11855, 469, '2 limes'), (11856, 470, '5 tablespoons low-sodium soy sauce'), (11857, 470, '4 tablespoons seasoned rice (sushi) vinegar'), (11858, 470, '1 tablespoon fresh lemon juice'), (11859, 470, '1 teaspoon sugar'), (11860, 470, '1 tablespoon vegetable oil'), (11861, 470, '8 ounces soba (buckwheat) noodles, whole wheat spaghetti, or fettuccine'), (11862, 470, '4 scallions, thinly sliced'), (11863, 470, '1/2 English cucumber, peeled, seeded, and thinly sliced, about 1 cup (or 2 regular cucumbers)'), (11864, 470, '2 cups broccoli-heart (or cabbage) coleslaw mix'), (11865, 471, '½ lb. sea scallops'), (11866, 471, '1 head bok choy or romaine lettuce'), (11867, 471, '¼ lb. cooked ham'), (11868, 471, '1 medium carrot'), (11869, 471, '1 package chicken-flavor ramen noodle soup mix'), (11870, 471, '2 tsp. soy sauce'), (11871, 471, '1 tsp. peeled and grated ginger'), (11872, 472, '1/2 pound wide kosher for passover egg noodles'), (11873, 472, '1/2 stick butter, melted'), (11874, 472, '1 pound cottage cheese'), (11875, 472, '2 cups sour cream'), (11876, 472, '1/2 cup sugar'), (11877, 472, '6 eggs'), (11878, 472, '1 teaspoon ground cinnamon'), (11879, 472, '1/2 cup raisins'), (11880, 473, '2 cups cold water'), (11881, 473, '2 cups jasmine rice'), (11882, 474, '1 cup Rice Wine Vinegar'), (11883, 474, '1/2 cup Sugar'), (11884, 474, '1/4 cup Sake Or Mirin (a Japanese Rice Wine)'), (11885, 474, '4 cups Short Grain/sushi Rice'), (11886, 475, '1 cup short, medium, or long-grain brown rice'), (11887, 475, 'Kosher salt, to taste'), (11888, 476, '1 cup short-, medium-, or long-grain white rice'), (11889, 476, '1 cup water'), (11890, 476, '1/2 teaspoon salt, optional'), (11891, 477, '2 cups Thai jasmine rice'), (11892, 477, 'About 2½ cups water'), (11893, 478, '1/2 cup olive oil'), (11894, 478, '1 1/2 cups minced shallots (about 8)'), (11895, 478, '3 tablespoons ground coriander'), (11896, 478, '3/4 teaspoon turmeric'), (11897, 478, '41/2 cups basmati rice or other long-grain white rice'), (11898, 478, '9 cups low-salt chicken broth'), (11899, 478, '3 teaspoons salt'), (11900, 478, '1/2 cup chopped fresh Italian parsley'), (11901, 479, '1.5 cups jasmine or basmati rice'), (11902, 479, '1 14 oz. can coconut milk'), (11903, 479, '3/4 cup unsweetened dried shredded coconut'), (11904, 479, '1 teaspoon salt'), (11905, 480, '1 pound sushi quality tuna, salmon, yellowtail, snapper'), (11906, 480, '1 1/2 cups prepared vinegared sushi rice'), (11907, 481, '2 cups instant rice (such as Minute Rice)'), (11908, 481, '1/2 cup vanilla ice cream'), (11909, 481, '1/2 teaspoon ground cinnamon, plus more for garnishing (optional)'); -- -------------------------------------------------------- -- -- Table structure for table `shopping_list` -- DROP TABLE IF EXISTS `shopping_list`; CREATE TABLE `shopping_list` ( `id` mediumint(8) UNSIGNED NOT NULL, `ingredients_id` mediumint(9) UNSIGNED DEFAULT NULL, `is_completed` tinyint(1) NOT NULL DEFAULT '0', `ingredient_text` text COLLATE utf8_unicode_ci NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Dumping data for table `shopping_list` -- INSERT INTO `shopping_list` (`id`, `ingredients_id`, `is_completed`, `ingredient_text`) VALUES (612, NULL, 0, '2 Tablespoons olive oil'), (613, NULL, 0, '1/2 vanilla bean, split and scraped'), (614, NULL, 0, '3/4 cup heavy cream'), (615, NULL, 0, '2 cups fresh spinach'), (616, NULL, 0, '1 cup milk'), (617, NULL, 0, '1 Tablespoon chopped, fresh mint'), (618, NULL, 0, '1/4 cup sugar'), (619, NULL, 0, '1/2 teaspoon kosher salt'), (620, NULL, 0, '4 large egg yolks'), (621, NULL, 0, '1 1/2 teaspoons harissa paste (more is fine too)'), (622, NULL, 0, '1 15oz can chickpeas (garbanzo beans) rinsed and drained'), (623, NULL, 0, '2 garlic cloves, roughly chopped'), (624, NULL, 0, '2 Tablespoons olive oil'), (625, NULL, 0, '1/2 vanilla bean, split and scraped'), (626, NULL, 0, '3/4 cup heavy cream'), (627, NULL, 0, '2 cups fresh spinach'), (628, NULL, 0, '2 cups apple juice'), (629, NULL, 0, '2 decaffeinated lemon tea bags'), (630, NULL, 0, '2 decaffeinated hibiscus tea bags'), (631, NULL, 0, '2 large eggs'), (632, NULL, 0, '1/2 cup grated Parmigiano-Reggiano'), (633, NULL, 0, 'flat leaf parsley'), (634, NULL, 0, '2 cups gluten-free corn flakes'), (635, NULL, 0, '1 cup grated mozzarella cheese'), (636, NULL, 0, '2 cups gluten-free tomato sauce, heated'), (637, NULL, 0, 'oil'), (638, NULL, 0, 'freshly ground black pepper'), (639, NULL, 0, 'sea salt'), (640, NULL, 0, '4 boneless, skinless chicken breasts, cut in half'), (641, NULL, 0, '2 large eggs'), (642, NULL, 0, '1/2 cup grated Parmigiano-Reggiano'), (643, NULL, 0, 'flat leaf parsley'), (644, NULL, 0, '2 cups gluten-free corn flakes'), (645, NULL, 0, '1 cup grated mozzarella cheese'), (646, NULL, 0, '2 cups gluten-free tomato sauce, heated'), (647, NULL, 0, 'oil'), (648, NULL, 0, 'freshly ground black pepper'), (649, NULL, 0, 'sea salt'), (650, NULL, 0, '4 boneless, skinless chicken breasts, cut in half'), (651, NULL, 0, '2 large eggs'), (652, NULL, 0, '1/2 cup grated Parmigiano-Reggiano'), (653, NULL, 0, 'flat leaf parsley'), (654, NULL, 0, '2 cups gluten-free corn flakes'), (655, NULL, 0, '1 cup grated mozzarella cheese'), (656, NULL, 0, '2 cups gluten-free tomato sauce, heated'), (657, NULL, 0, 'oil'), (658, NULL, 0, 'freshly ground black pepper'), (659, NULL, 0, 'sea salt'), (660, NULL, 0, '4 boneless, skinless chicken breasts, cut in half'), (661, NULL, 0, 'Oil'), (662, NULL, 0, 'Sugar'), (663, NULL, 0, '1 basic pizza dough'), (664, NULL, 0, '1 tablespoon butter'), (665, NULL, 0, 'ground black pepper'), (666, NULL, 0, '3/4 cup chicken stock'), (667, NULL, 0, '3 tablespoons tomato paste'), (668, NULL, 0, '1 to 2 garlic cloves, minced'), (669, NULL, 0, '1/2 pound campanelle pasta (or other short macaroni)'), (670, NULL, 0, '1/2 cup whichever cheese the pasta called for'), (671, NULL, 0, '2 tablespoons butter'), (672, NULL, 0, '4 eggs beaten'), (673, NULL, 0, '2 cups leftover pasta'), (724, NULL, 0, '1/2 cup whichever cheese the pasta called for'), (725, NULL, 0, '2 tablespoons butter'), (726, NULL, 0, '4 eggs beaten'), (727, NULL, 0, '2 cups leftover pasta'), (728, NULL, 0, '1 cup cherry lambic beer'), (729, NULL, 0, 'chicken'); -- -- Indexes for dumped tables -- -- -- Indexes for table `calendar` -- ALTER TABLE `calendar` ADD PRIMARY KEY (`id`), ADD KEY `recipeId` (`recipe_id`); -- -- Indexes for table `favorites` -- ALTER TABLE `favorites` ADD PRIMARY KEY (`id`), ADD KEY `recipeId` (`recipe_id`); -- -- Indexes for table `recipe` -- ALTER TABLE `recipe` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `label` (`label`); -- -- Indexes for table `recipe_ingredients` -- ALTER TABLE `recipe_ingredients` ADD PRIMARY KEY (`id`), ADD KEY `recipeId` (`recipe_id`); -- -- Indexes for table `shopping_list` -- ALTER TABLE `shopping_list` ADD PRIMARY KEY (`id`), ADD KEY `ingredientsId` (`ingredients_id`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `calendar` -- ALTER TABLE `calendar` MODIFY `id` mediumint(8) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=28; -- -- AUTO_INCREMENT for table `favorites` -- ALTER TABLE `favorites` MODIFY `id` mediumint(8) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `recipe` -- ALTER TABLE `recipe` MODIFY `id` mediumint(8) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=482; -- -- AUTO_INCREMENT for table `recipe_ingredients` -- ALTER TABLE `recipe_ingredients` MODIFY `id` mediumint(8) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11910; -- -- AUTO_INCREMENT for table `shopping_list` -- ALTER TABLE `shopping_list` MODIFY `id` mediumint(8) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=730; -- -- Constraints for dumped tables -- -- -- Constraints for table `calendar` -- ALTER TABLE `calendar` ADD CONSTRAINT `calendar_ibfk_1` FOREIGN KEY (`recipe_id`) REFERENCES `recipe` (`id`) ON UPDATE CASCADE; -- -- Constraints for table `favorites` -- ALTER TABLE `favorites` ADD CONSTRAINT `favorites_ibfk_1` FOREIGN KEY (`recipe_id`) REFERENCES `recipe` (`id`) ON UPDATE CASCADE; -- -- Constraints for table `recipe_ingredients` -- ALTER TABLE `recipe_ingredients` ADD CONSTRAINT `recipe_ingredients_ibfk_1` FOREIGN KEY (`recipe_id`) REFERENCES `recipe` (`id`) ON UPDATE CASCADE; -- -- Constraints for table `shopping_list` -- ALTER TABLE `shopping_list` ADD CONSTRAINT `shopping_list_ibfk_1` FOREIGN KEY (`ingredients_id`) REFERENCES `recipe_ingredients` (`id`) ON UPDATE CASCADE; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
true
a021f5c81d42d671bdd87bf4e31226e1a4237011
SQL
kelvinhy2005/SQL-Challenge
/7c.sql
UTF-8
232
3.625
4
[]
no_license
select first_name,last_name, email from customer where address_id in ( select address_id from address join city on address.city_id = city.city_id join country on city.country_id = country.country_id where country = 'Canada' )
true
78b9c4346cf4e8a4734946bd2e666c94812ebd64
SQL
gaosaij/Uda-SQL-Exercise
/sql-with3.sql
UTF-8
487
4.28125
4
[]
no_license
--WITH 3 --对于购买标准纸张数量 (standard_qty) 最多的客户(在作为客户的整个时期内),有多少客户的购买总数依然更多? WITH t1 AS(SELECT SUM(o.standard_qty) s_qty, SUM(o.total) total, a.name FROM orders o JOIN accounts a ON o.account_id = a.id GROUP BY 3 ORDER BY 1 DESC LIMIT 1), t2 AS( SELECT a.name FROM accounts a JOIN orders o ON a.id = o.account_id GROUP BY a.name HAVING SUM(o.total) > (SELECT total FROM t1) ) SELECT COUNT(*) FROM t2
true
725671359ce3aa353a167441b877f7b4243ea711
SQL
jkstill/oracle-script-lib
/sql/ash_io_sizes.sql
UTF-8
992
3.0625
3
[ "MIT", "LicenseRef-scancode-proprietary-license" ]
permissive
/* get I/O sizes from dba_hist_active_sess_history output looks like EVENT MN AV MX CNT ------------------------- ---------- ---------- ---------- ---------- db file scattered read 2 16 16 892 db file sequential read 1 1 1 105 direct path read 1 1 1 1 direct path write 1 1 1 2 direct path write temp 4 29 31 17 see: https://sites.google.com/site/oraclemonitor/dba_hist_active_sess_history */ col event for a25 select event,round(min(p3)) mn, round(avg(p3)) av, round(max(p3)) mx, count(*) cnt from dba_hist_active_sess_history --from v$active_session_history where (event like 'db file%' or event like 'direct %') and event not like '%parallel%' and dbid=&DBID group by event order by event /
true
31f37986828dd833af561f91d437b4e817d27541
SQL
ospy/shebei
/keshi.sql
UTF-8
1,070
2.734375
3
[]
no_license
/* Navicat MySQL Data Transfer Source Server : localhost Source Server Version : 50173 Source Host : localhost:3306 Source Database : shebei Target Server Type : MYSQL Target Server Version : 50173 File Encoding : 65001 Date: 2016-12-07 17:17:08 */ SET FOREIGN_KEY_CHECKS=0; -- ---------------------------- -- Table structure for `keshi` -- ---------------------------- DROP TABLE IF EXISTS `keshi`; CREATE TABLE `keshi` ( `id` int(10) NOT NULL AUTO_INCREMENT, `keshiname` char(20) NOT NULL, `keshimanager` char(20) NOT NULL, `keshiposition` char(20) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of keshi -- ---------------------------- INSERT INTO `keshi` VALUES ('1', '一病区', '彭建群', '5楼'); INSERT INTO `keshi` VALUES ('2', '血透一部', '李宪超', '2楼'); INSERT INTO `keshi` VALUES ('3', '血透二部', '周忠群', '3楼'); INSERT INTO `keshi` VALUES ('4', '33', '333', '333');
true
27b9e72b00bdf8876ccc002d8a92b09a6aad0f61
SQL
ConradoIT/SQLQuerys
/SQL_INFOS/tamanho_de_arquivos_fisicos.sql
UTF-8
288
3.296875
3
[]
no_license
SELECT BASES.NAME AS [NOME BASE], FILES.PHYSICAL_NAME, FILES.TYPE_DESC AS [Tipo Descricao], (SIZE * 8) / 1024 [Tamanho (Mb)], (SIZE * 8) / 1024 / 1024 [Tamanho (Gb)] FROM SYS.DATABASES AS BASES JOIN SYS.MASTER_FILES AS FILES ON FILES.DATABASE_ID = BASES.DATABASE_ID
true
fd560f3b300e5228e498751155dca1ee675fdefb
SQL
radtek/abs3
/sql/mmfo/bars/View/spec1_int.sql
UTF-8
1,869
2.765625
3
[]
no_license
PROMPT ===================================================================================== PROMPT *** Run *** ========== Scripts /Sql/BARS/View/SPEC1_INT.sql =========*** Run *** ==== PROMPT ===================================================================================== PROMPT *** Create view SPEC1_INT *** CREATE OR REPLACE FORCE VIEW BARS.SPEC1_INT ("ACC", "NLS", "NBS", "KV", "NMS", "P080", "OB22", "MFO", "R020_FA", "F_11", "OB88", "DAZS") AS SELECT a.acc, a.nls, a.nbs, a.kv, a.nms, b.p080, a.ob22, b.mfo, b.r020_fa, b.f_11, b.ob88, a.dazs FROM accounts a, specparam_int b WHERE a.acc = b.acc; PROMPT *** Create grants SPEC1_INT *** grant SELECT on SPEC1_INT to BARSREADER_ROLE; grant DELETE,FLASHBACK,INSERT,SELECT,UPDATE on SPEC1_INT to BARS_ACCESS_DEFROLE; grant DELETE,INSERT,SELECT,UPDATE on SPEC1_INT to SALGL; grant DELETE,INSERT,SELECT,UPDATE on SPEC1_INT to START1; grant SELECT on SPEC1_INT to UPLD; grant DELETE,FLASHBACK,INSERT,SELECT,UPDATE on SPEC1_INT to WR_ALL_RIGHTS; grant FLASHBACK,SELECT on SPEC1_INT to WR_REFREAD; PROMPT ===================================================================================== PROMPT *** End *** ========== Scripts /Sql/BARS/View/SPEC1_INT.sql =========*** End *** ==== PROMPT =====================================================================================
true
7f8560287e7397efb338f7501dfea88292064264
SQL
The-Ark-Informatics/ark
/ark-database/db-scripts/patch/1.2.0b/20150330_add_missed_disease_tables_to_audit.sql
UTF-8
3,099
3.265625
3
[]
no_license
# ************************************************************ # Sequel Pro SQL dump # Version 4096 # # http://www.sequelpro.com/ # http://code.google.com/p/sequel-pro/ # # Host: localhost (MySQL 5.6.21) # Database: audit # Generation Time: 2015-03-30 05:05:19 +0000 # ************************************************************ /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; # Dump of table aud_affection # ------------------------------------------------------------ USE `audit`; DROP TABLE IF EXISTS `aud_affection`; CREATE TABLE `aud_affection` ( `ID` bigint(20) NOT NULL, `REV` int(11) NOT NULL, `REVTYPE` tinyint(4) DEFAULT NULL, `RECORD_DATE` date DEFAULT NULL, `AFFECTION_STATUS_ID` bigint(20) DEFAULT NULL, `DISEASE_ID` bigint(20) DEFAULT NULL, `LINKSUBJECTSTUDY_ID` bigint(20) DEFAULT NULL, `STUDY_ID` bigint(20) DEFAULT NULL, PRIMARY KEY (`ID`,`REV`), KEY `FK4EBD81C4F03BED18` (`REV`), CONSTRAINT `FK4EBD81C4F03BED18` FOREIGN KEY (`REV`) REFERENCES `revinfo` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; # Dump of table aud_affection_custom_field_data # ------------------------------------------------------------ DROP TABLE IF EXISTS `aud_affection_custom_field_data`; CREATE TABLE `aud_affection_custom_field_data` ( `ID` bigint(20) NOT NULL, `REV` int(11) NOT NULL, `REVTYPE` tinyint(4) DEFAULT NULL, `DATE_DATA_VALUE` datetime DEFAULT NULL, `ERROR_DATA_VALUE` varchar(255) DEFAULT NULL, `NUMBER_DATA_VALUE` double DEFAULT NULL, `TEXT_DATA_VALUE` varchar(255) DEFAULT NULL, `AFFECTION_ID` bigint(20) DEFAULT NULL, `CUSTOM_FIELD_DISPLAY_ID` bigint(20) DEFAULT NULL, PRIMARY KEY (`ID`,`REV`), KEY `FKEAE5E7C2F03BED18` (`REV`), CONSTRAINT `FKEAE5E7C2F03BED18` FOREIGN KEY (`REV`) REFERENCES `revinfo` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; # Dump of table aud_affection_position # ------------------------------------------------------------ DROP TABLE IF EXISTS `aud_affection_position`; CREATE TABLE `aud_affection_position` ( `REV` int(11) NOT NULL, `AFFECTION_ID` bigint(20) NOT NULL, `POSITION_ID` bigint(20) NOT NULL, `REVTYPE` tinyint(4) DEFAULT NULL, PRIMARY KEY (`REV`,`AFFECTION_ID`,`POSITION_ID`), KEY `FK6F4A3924F03BED18` (`REV`), CONSTRAINT `FK6F4A3924F03BED18` FOREIGN KEY (`REV`) REFERENCES `revinfo` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
true
cec101f2a77eb5bd9ff7b0863fd6839beab31553
SQL
CarlosAmadorAyala/mcvscripts
/mysql/create_bandera_tdcemp.sql
UTF-8
506
3.5625
4
[]
no_license
SELECT A.RFC, A.LLAVE_UNIVERSAL_20, CASE WHEN B.RFC IS NOT NULL THEN 1 ELSE 0 END AS TDCEMP INTO OUTFILE '/data/mysql-files/joseangel/MCV_TDCEMP_201812.csv' FIELDS TERMINATED BY ',' -- OPTIONALLY ENCLOSED BY '"' -- ESCAPED BY '' LINES TERMINATED BY '\n' FROM JEA_MCV_VARIABLES_201811_201812 A -- JAT_MCV_UNIVERSO_MODELADO_201712_201810 LEFT JOIN ( SELECT DISTINCT RFC, FECHA FROM JAT_MCV_TDCEMP_CALIFICACION ) B ON A.RFC = B.RFC AND A.FECHA = B.FECHA WHERE A.FECHA = 201812 AND A.LABEL <> 0;
true