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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
a3aa0de2c409642076f1a3ada26e44b21c7211db | SQL | fpestunov/Symfony-vs-FlatPHP | /schema.sql | UTF-8 | 356 | 3.046875 | 3 | [] | no_license | DROP DATABASE IF EXISTS `blog_db`;
CREATE DATABASE `blog_db`
DEFAULT CHARACTER SET utf8
DEFAULT COLLATE utf8_general_ci;
USE `blog_db`;
CREATE TABLE `post` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`created_at` TIMESTAMP NULL DEFAULT CURRENT_TIMESTAMP,
`title` VARCHAR(100) NOT NULL,
`body` TEXT NOT NULL,
PRIMARY KEY (`id`)
); | true |
ae5e7080e927089bfca7ecc8e514b867ab01c72f | SQL | MrD0079/portal | /sql/a14to_accept_photos.sql | UTF-8 | 1,919 | 3.3125 | 3 | [] | no_license | /* Formatted on 06/01/2015 11:11:12 (QP5 v5.227.12220.39724) */
SELECT t.url,
t.h_url,
s.ts,
s.ts_comm,
s.auditor_comm,
s.auditor,
s.auditor_fio,
TO_CHAR (s.auditor_lu, 'dd.mm.yyyy hh24:mi:ss') auditor_lu,
s.tasks_mr,
s.tasks_assort
FROM a14to t, a14tost s
WHERE t.tp_kod_key = :tp_kod
AND t.visitdate = TO_DATE (:dt, 'dd.mm.yyyy')
AND t.url IS NOT NULL
AND t.h_url = s.h_url(+)
AND CASE
WHEN :ok_ts = 1
OR :ok_ts = 2 AND s.h_url IS NOT NULL AND s.ts IS NOT NULL
OR :ok_ts = 3 AND t.h_url IS NOT NULL AND s.ts IS NULL
THEN
1
ELSE
0
END = 1
AND CASE
WHEN :ok_auditor = 1
OR :ok_auditor = 2
AND s.h_url IS NOT NULL
AND s.auditor IS NOT NULL
OR :ok_auditor = 3
AND t.h_url IS NOT NULL
AND s.auditor IS NULL
THEN
1
ELSE
0
END = 1
AND CASE
WHEN :st_ts = 1
OR :st_ts = 2 AND s.h_url IS NOT NULL AND s.ts = 1
OR :st_ts = 3 AND s.h_url IS NOT NULL AND s.ts = 2
THEN
1
ELSE
0
END = 1
AND CASE
WHEN :st_auditor = 1
OR :st_auditor = 2
AND s.h_url IS NOT NULL
AND s.auditor = 1
OR :st_auditor = 3
AND s.h_url IS NOT NULL
AND s.auditor = 2
THEN
1
ELSE
0
END = 1 | true |
cd4833ddf68d7007236b48f6c4197d3f6602e7dc | SQL | Drucia/zsbd-shop | /sql/ZSBD Shop Create With Partitions.sql | UTF-8 | 5,123 | 3.4375 | 3 | [] | no_license | CREATE TABLE City (
CityID number(10) GENERATED AS IDENTITY,
Name varchar2(255),
PRIMARY KEY (CityID));
CREATE TABLE Country (
CountryID number(10) GENERATED AS IDENTITY,
Name varchar2(255),
PRIMARY KEY (CountryID));
CREATE TABLE District (
DistritID number(10) GENERATED AS IDENTITY,
Name varchar2(255),
PRIMARY KEY (DistritID));
CREATE TABLE Address (
AddressID number(10) GENERATED AS IDENTITY,
PostCode varchar2(255),
HouseNumber number(10) NOT NULL,
ApartmentNumber number(10),
CityID number(10) NOT NULL,
CountryID number(10) NOT NULL,
DistrictID number(10) NOT NULL,
PRIMARY KEY (AddressID));
CREATE TABLE Client (
ClientID number(10) GENERATED AS IDENTITY,
Name varchar2(25) NOT NULL,
Surname varchar2(50),
Login varchar2(25) NOT NULL,
Password varchar2(50) NOT NULL,
NIP varchar2(10),
CompanyName varchar2(50),
Blocked number(1) NOT NULL,
AccountNumber varchar2(26) UNIQUE,
Email varchar2(50) NOT NULL UNIQUE,
AddressID number(10) NOT NULL UNIQUE,
CreatedDate timestamp NOT NULL,
LockDate timestamp,
PRIMARY KEY (ClientID))
PARTITION BY RANGE (CreatedDate) (
PARTITION p0 VALUES LESS THAN (add_months(currentdate, -2)),
PARTITION p1 VALUES LESS THAN MAXVALUE
);
CREATE TABLE Color (
ColorID number(10) GENERATED AS IDENTITY,
Color varchar2(20) NOT NULL,
PRIMARY KEY (ColorID));
CREATE TABLE ConsoleProducer (
ConsoleProducerID number(10) GENERATED AS IDENTITY,
ConsoleProdName varchar2(255) NOT NULL,
PRIMARY KEY (ConsoleProducerID));
CREATE TABLE MonitorProducer (
MonitorProducerID number(10) GENERATED AS IDENTITY,
MonitorProdName varchar2(255) NOT NULL,
PRIMARY KEY (MonitorProducerID));
CREATE TABLE GameGenre (
GameGenreID number(10) GENERATED AS IDENTITY,
Genre varchar2(255) NOT NULL,
PRIMARY KEY (GameGenreID));
CREATE TABLE ProductType (
ProductTypeID number(10) GENERATED AS IDENTITY,
Type varchar2(255) NOT NULL,
PRIMARY KEY (ProductTypeID));
CREATE TABLE Product (
ProductID number(10) GENERATED AS IDENTITY,
CurrentPrice float(10) NOT NULL,
LastModified timestamp NOT NULL,
ImageLink varchar2(255) NOT NULL,
Description varchar2(1024) NOT NULL,
WarrantyPeriod number(2) NOT NULL,
Name varchar2(255) NOT NULL,
ResolutionH number(5),
ResolutionW number(5),
RefreshRate number(4),
"Size" number(3),
Curved number(1),
DiskSpace number(5),
ControllerIncluded number(1),
PhisycalDrive number(1),
Multiplayer number(1),
MonitorProducerID number(10),
ColorID number(10),
GameGenreID number(10),
ConsoleProducerID number(10),
ProductTypeID number(10),
PRIMARY KEY (ProductID));
CREATE TABLE TypeOfPayment (
TypeOfPaymentID number(10) GENERATED AS IDENTITY,
Type varchar2(25) NOT NULL,
PRIMARY KEY (TypeOfPaymentID));
CREATE TABLE Review (
ReviewID number(10) GENERATED AS IDENTITY,
Content varchar2(3078) NOT NULL,
CreateDate timestamp NOT NULL,
Title varchar2(255) NOT NULL,
ImageLink varchar2(255),
Bought number(1) NOT NULL,
Score number(2) NOT NULL,
ClientID number(10) NOT NULL,
ProductID number(10) NOT NULL,
PRIMARY KEY (ReviewID))
PARTITION BY HASH (ProductID)
PARTITIONS 4;
CREATE TABLE OrderStatus (
OrderStatusID number(10) GENERATED AS IDENTITY,
Status varchar2(20) NOT NULL,
PRIMARY KEY (OrderStatusID));
CREATE TABLE "ORDER" (
OrderID number(10) GENERATED AS IDENTITY,
SubmissionDate timestamp NOT NULL,
ReceiptDate timestamp,
Paid number(1) NOT NULL,
ShippingDate timestamp,
DeliveryDate timestamp,
PaymentID number(10),
AddressID number(10),
ClientID number(10) NOT NULL,
OrderStatusID number(10) NOT NULL,
PRIMARY KEY (OrderID))
PARTITION BY RANGE (SubmissionDate) (
PARTITION p0 VALUES LESS THAN (6),
PARTITION p1 VALUES LESS THAN (11),
PARTITION p2 VALUES LESS THAN (16),
PARTITION p3 VALUES LESS THAN (21)
);
CREATE TABLE OrderDetails (
OrderDetailsID number(10) GENERATED AS IDENTITY,
Quantity number(10) NOT NULL,
OrderID number(10) NOT NULL UNIQUE,
ProductID number(10) NOT NULL,
PRIMARY KEY (OrderDetailsID));
CREATE TABLE Payment (
PaymentID number(10) GENERATED AS IDENTITY,
Cost float(10) NOT NULL,
AccountNumber varchar2(26),
Confirmed number(1) NOT NULL,
ExecutionDate timestamp,
TypeOfPaymentID number(10) NOT NULL,
PRIMARY KEY (PaymentID));
CREATE TABLE Invoice (
InvoiceID number(10) GENERATED AS IDENTITY,
CreateDate timestamp,
VAT number(10) NOT NULL,
BankName varchar2(100),
PaymentID number(10) NOT NULL,
PRIMARY KEY (InvoiceID)); | true |
942ca36c933cc51d60c2512569efb37b02a7a85a | SQL | nileshvishwakarma51/ChatRoom | /chatroom (1).sql | UTF-8 | 3,088 | 3.328125 | 3 | [] | no_license | -- phpMyAdmin SQL Dump
-- version 5.0.2
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Aug 12, 2020 at 07:14 PM
-- Server version: 10.4.13-MariaDB
-- PHP Version: 7.2.31
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: `chatroom`
--
-- --------------------------------------------------------
--
-- Table structure for table `friends`
--
CREATE TABLE `friends` (
`senderUserName` varchar(50) NOT NULL,
`recieverUserName` varchar(50) NOT NULL,
`senderStatus` varchar(50) NOT NULL,
`recieverStatus` varchar(50) DEFAULT 'wait'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `friends`
--
INSERT INTO `friends` (`senderUserName`, `recieverUserName`, `senderStatus`, `recieverStatus`) VALUES
('prajwal123', 'lucky123', 'sent', 'wait'),
('prajwal123', 'nilesh123', 'sent', 'wait'),
('prajwal123', 'nilesh123', 'sent', 'wait'),
('prajwal123', 'nayan123', 'sent', 'wait'),
('prajwal123', 'lucky123', 'sent', 'wait'),
('prajwal123', 'nayan123', 'sent', 'wait'),
('nayan123', 'prajwal123', 'sent', 'wait'),
('nilesh123', 'nayan123', 'sent', 'wait'),
('nilesh123', 'nilesh123', 'sent', 'wait');
-- --------------------------------------------------------
--
-- Table structure for table `messages`
--
CREATE TABLE `messages` (
`sender` varchar(50) NOT NULL,
`receiver` varchar(50) NOT NULL,
`msg` longtext NOT NULL,
`time` timestamp(6) NOT NULL DEFAULT current_timestamp(6) ON UPDATE current_timestamp(6)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
CREATE TABLE `users` (
`id` int(11) NOT NULL,
`firstName` varchar(50) NOT NULL,
`lastName` varchar(50) NOT NULL,
`userName` varchar(50) NOT NULL,
`email` varchar(50) NOT NULL,
`password` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `users`
--
INSERT INTO `users` (`id`, `firstName`, `lastName`, `userName`, `email`, `password`) VALUES
(1, 'prajwal', 'patil', 'prajwal123', 'patilprajwal982@gmail.com', '123'),
(2, 'nayan', 'sontiya', 'nayan123', 'nayan@gmail.com', '123'),
(3, 'nilesh', 'vishwa', 'nilesh123', 'nilesh@gmail.com', '123'),
(4, 'lucky', 'rathore', 'lucky123', 'lucky@gmail.com', '123');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `userName` (`userName`),
ADD UNIQUE KEY `email` (`email`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
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 |
c1ce73d5983228b9e074d9b5f8a2c5c475f3e789 | SQL | ChristopherBass/KInspector | /KInspector.Modules/Scripts/ScreenshotterModule.sql | UTF-8 | 148 | 2.546875 | 3 | [
"MIT"
] | permissive | select NodeGUID
from View_CMS_Tree_Joined
where ClassName != 'cms.file' and ClassName != 'cms.folder' and Published = 1
order by DocumentNamePath | true |
aac4b42c2407967184cbc34bc751d3eabbdad217 | SQL | hmin0503/2019 | /Programmers/Practice_for_Codingtest_SQL/GROUP_BY.sql | UTF-8 | 380 | 3.359375 | 3 | [] | no_license | --GROUP_BY 1)
SELECT animal_type, count(animal_type) as "count" from animal_ins
group by animal_type
--GROUP_BY 2)
SELECT name, count(name) as "count" from animal_ins
group by name
having count(name)>=2
order by name
--GROUP_BY 3)
SELECT hour(datetime) as 'HOUR', count(animal_id) as 'COUNT' from animal_outs
where hour(datetime) between 9 and 19
group by HOUR
--GROUP_BY 4) x
| true |
a6301a167308a514f325496791b6035ddcc77588 | SQL | klishinda/library | /src/main/resources/schema.sql | UTF-8 | 1,975 | 3.90625 | 4 | [] | no_license | DROP TABLE IF EXISTS book_authors;
DROP TABLE IF EXISTS genres_of_books;
DROP TABLE IF EXISTS genres;
DROP TABLE IF EXISTS authors;
DROP TABLE IF EXISTS books;
create table authors (
id serial,
surname varchar(250) not null,
name varchar(250)
);
alter table authors add constraint authors_pkey PRIMARY KEY (id);
alter table authors add constraint authors_u1 UNIQUE (name, surname);
create table books (
id serial,
name varchar(250) not null,
pages integer
);
alter table books add constraint books_pkey PRIMARY KEY (id);
alter table books add constraint books_u1 UNIQUE (name);
create table genres (
id serial,
name varchar(100) not null
);
alter table genres add constraint genres_pkey PRIMARY KEY (id);
alter table genres add constraint genres_u1 UNIQUE (name);
create table book_authors (
id_book integer not null,
id_author integer
);
alter table book_authors add constraint book_authors_pkey PRIMARY KEY (id_book, id_author);
alter table book_authors add constraint book_authors_fkey1 FOREIGN KEY (id_book) REFERENCES books(id);
alter table book_authors add constraint book_authors_fkey2 FOREIGN KEY (id_author) REFERENCES authors(id);
create table genres_of_books (
id_book integer not null,
id_genre integer
);
alter table genres_of_books add constraint genres_of_books_pkey PRIMARY KEY (id_book, id_genre);
alter table genres_of_books add constraint genres_of_books_fkey1 FOREIGN KEY (id_book) REFERENCES books(id);
alter table genres_of_books add constraint genres_of_books_fkey2 FOREIGN KEY (id_genre) REFERENCES genres(id);
ALTER SEQUENCE authors_id_seq RESTART WITH 20;
ALTER SEQUENCE books_id_seq RESTART WITH 20;
ALTER SEQUENCE genres_id_seq RESTART WITH 20; | true |
24086182bbf83739bf2fd17629a15bc01bead7c0 | SQL | Benson-Kim/SQL | /Assignements and Projects/SQL for Data Science/Module 4 Coding Questions.sql | UTF-8 | 2,138 | 4.375 | 4 | [
"Apache-2.0"
] | permissive | /*
All of the questions in this quiz refer to the open source Chinook Database.
Please familiarize yourself with the ER diagram in order to familiarize yourself with the table
and column names in order to write accurate queries and get the appropriate answers.
*/
-- Question 1: Pull a list of customer ids with the customer’s full name, and address, along with combining their city and country together.
Be sure to make a space in between these two and make it UPPER CASE. (e.g. LOS ANGELES USA)
SELECT CustomerId
,FirstName || ' ' || LastName AS FullName
,Address
,UPPER(City || ' ' || Country) AS CityCountry
FROM Customers
-- Question 2: Create a new employee user id by combining the first 4 letters of the employee’s first name with the first 2 letters of the employee’s last name.
Make the new field lower case and pull each individual step to show your work.
SELECT FirstName
,LastName
,LOWER(SUBSTR(FirstName, 1, 4) || SUBSTR(LastName, 1, 2)) AS UserId
FROM Employees
-- Question 3: Show a list of employees who have worked for the company for 15 or more years using the current date function. Sort by lastname ascending.
SELECT EmployeeId
,LastName
,FirstName
,DATE ('NOW') - HireDate AS YearsWorked
FROM Employees
WHERE YearsWorked >= 15
ORDER BY LastName ASC
-- Question 4: Profiling the Customers table, answer the following question.
Sample Code:
SELECT COUNT(*)
FROM Customers
WHERE Fax IS NULL
-- Question 5: Find the cities with the most customers and rank in descending order.
SELECT City
,COUNT(CustomerId) AS 'No of Customers'
FROM Customers
GROUP BY City
ORDER BY COUNT(CustomerId) DESC
-- Question 6: Create a new customer invoice id by combining a customer’s invoice id with their
first and last name while ordering your query in the following order: firstname, lastname, and invoiceID.
SELECT C.FirstName || C.LastName || I.InvoiceId AS NewInvoiceId
FROM Customers C
LEFT JOIN Invoices I ON C.CustomerId = I.CustomerId
WHERE NewInvoiceId LIKE 'AstridGruber%'
ORDER BY C.FirstName
,C.LastName
,I.InvoiceId
| true |
57348fc59fc0f5f1e2e7aaa3613090b26e1ba025 | SQL | WYSIWYG-Fan/PrAct | /BackEnd/PostgreSQL/SQL Statement Files/TweetKeywords.sql | UTF-8 | 2,472 | 2.875 | 3 | [] | no_license | CREATE TABLE "tweetkeywords"
(
keyword_id int primary key,
german character varying(31),
english character varying(31),
abbrev character varying(15)
)
;
CREATE SEQUENCE keywords_id_seq;
ALTER TABLE "tweetkeywords" ALTER "keyword_id" SET DEFAULT NEXTVAL('keywords_id_seq');
CREATE SEQUENCE keyword_id_seq;
ALTER TABLE "tweetkeywords" ALTER "keyword_id" SET DEFAULT NEXTVAL('keyword_id_seq');
insert into "tweetkeywords" (german, english, abbrev)
values ('grillen', 'barbecue', 'BBQ');
insert into "tweetkeywords" (german, english, abbrev)
values ('schwimmen', 'swim', '');
insert into "tweetkeywords" (german, english, abbrev)
values ('Theater', 'theater', '');
insert into "tweetkeywords" (german, english, abbrev)
values ('Kino', 'cinema', 'movie');
insert into "tweetkeywords" (german, english, abbrev)
values ('wandern', 'hike', '');
insert into "tweetkeywords" (german, english, abbrev)
values ('Kanu', 'canoe', '');
insert into "tweetkeywords" (german, english, abbrev)
values ('Fahrrad', 'bicycle', 'bike');
insert into "tweetkeywords" (german, english, abbrev)
values ('reiten', 'ride a horse', '');
insert into "tweetkeywords" (german, english, abbrev)
values ('Picknick', 'picknick', '');
insert into "tweetkeywords" (german, english, abbrev)
values ('Besichtigung', 'sightseeing', '');
insert into "tweetkeywords" (german, english, abbrev)
values ('klettern', 'climb', '');
insert into "tweetkeywords" (german, english, abbrev)
values ('skaten', 'skate', '');
insert into "tweetkeywords" (german, english, abbrev)
values ('Inline Skaten', 'inline skate', '');
insert into "tweetkeywords" (german, english, abbrev)
values ('segeln', 'sail', '');
insert into "tweetkeywords" (german, english, abbrev)
values ('Schlittschuh', 'ice skate', '');
insert into "tweetkeywords" (german, english, abbrev)
values ('Bouldern', 'boulder', '');
insert into "tweetkeywords" (german, english, abbrev)
values ('Joggen', 'jogging', '');
insert into "tweetkeywords" (german, english, abbrev)
values ('Schifffahrt', 'ship cruise', '');
insert into "tweetkeywords" (german, english, abbrev)
values ('einkaufen', 'Shopping', '');
insert into "tweetkeywords" (german, english, abbrev)
values ('Kaffee', 'Cafe', 'Tea');
insert into "tweetkeywords" (german, english, abbrev)
values ('Kneipe', 'Pub', 'Bar');
insert into "tweetkeywords" (german, english, abbrev)
values ('Spazieren gehen', 'jogging', 'take a walk');
select * from "tweetkeywords" | true |
52cb8ca45aed899d4a5c17af950fd0e4da9d7e43 | SQL | jgarzonext/plsql-testing | /script_plsql/bd_iaxis/script/disparadores/WHO_SUP_DIFERIDOSSEG_ERR.sql | UTF-8 | 613 | 2.828125 | 3 | [] | no_license | --------------------------------------------------------
-- DDL for Trigger WHO_SUP_DIFERIDOSSEG_ERR
--------------------------------------------------------
CREATE OR REPLACE EDITIONABLE TRIGGER "AXIS"."WHO_SUP_DIFERIDOSSEG_ERR"
BEFORE INSERT OR UPDATE
ON sup_diferidosseg_err
FOR EACH ROW
BEGIN
IF :OLD.sseguro IS NULL THEN -- (Es insert)
:NEW.cusuari := f_user;
:NEW.falta := f_sysdate;
ELSE -- (Es update)
:NEW.cusumod := f_user;
:NEW.fmodifi := f_sysdate;
END IF;
END who_sup_diferidosseg_err;
/
ALTER TRIGGER "AXIS"."WHO_SUP_DIFERIDOSSEG_ERR" ENABLE;
| true |
8b765d49edbf27542c7471e282bb9ff70df9e637 | SQL | Taewoong1378/SQL-PROJECT | /SQL 파일/like.sql | UTF-8 | 1,205 | 3.796875 | 4 | [] | no_license | USE employees;
-- like
-- 이름이 Tommaso 사원의 사원번호, 이름을 가져온다.
select emp_no, first_name
from employees
where first_name = 'Tommaso';
-- 이름의 첫 글자가 A로 시작하는 사원의 사원번호, 이름을 가져온다.
select emp_no, first_name
from employees
where first_name like 'A%';
-- 이름의 마지막 글자가 s로 끝나는 사원의 사원번호, 이름을 가져온다.
select emp_no, first_name
from employees
where first_name like '%s';
-- 이름의 두 번째 글자가 i인 사원의 사원번호, 이름을 가져온다.
select emp_no, first_name
from employees
where first_name like '_i%';
-- 이름에 o가 포함되어 있는 사원의 사원번호, 이름을 가져온다.
select emp_no, first_name
from employees
where first_name like '%o%';
-- 이름에 o가 포함되어 있는 사원의 사원번호, 이름을 가져온다.
-- 단, 마지막 글자가 o가 아닌 사원만 가져온다.
select emp_no, first_name
from employees
where first_name like '%o%' and not first_name like '%o';
-- 이름이 5글자인 사원들의 사원번호, 이름을 가져온다.
select emp_no, first_name
from employees
where first_name like '_____'; | true |
ba8d21f5a4f0a8a409b0cc32793fb8a373e17faf | SQL | youngSSS/DBMS-original | /project1/40.sql | UTF-8 | 288 | 3.6875 | 4 | [] | no_license | select T.hometown, CP.nickname
from Trainer as T
join CatchedPokemon as CP
on CP.owner_id = T.id
where CP.level in (
select max(CP.level)
from Trainer as T
join CatchedPokemon as CP
on CP.owner_id = T.id
group by T.hometown
)
group by T.hometown
order by T.hometown; | true |
8ae7594129ebb4702ae36061a06eb205f7e4a221 | SQL | silence-do-good/stress-test-Postgres-and-MySQL | /dump/high/day27/select0719.sql | UTF-8 | 498 | 3.609375 | 4 | [] | no_license |
SELECT obs.sensor_id, avg(counts)
FROM (SELECT sensor_id, date_trunc('day', timestamp), count(*) as counts
FROM WeMoObservation WHERE timestamp>'2017-11-26T07:19:00Z' AND timestamp<'2017-11-27T07:19:00Z' AND SENSOR_ID = ANY(array['831bfe0f_ae31_4fcf_a623_c8f2856c4376','3146_clwa_6122','e27243cd_7b02_46c5_a6bc_1b143ef36366','c9edfc13_81ca_4135_b16b_4e1d2be6b313','61b810de_f60f_473a_831a_34aa32e47654'])
GROUP BY sensor_id, date_trunc('day', timestamp)) AS obs
GROUP BY sensor_id
| true |
8e450a97d8c8c6d487c9bc105e1501ca001c2136 | SQL | mikkoka/Tsoha-Bootstrap | /sql/add_test_data.sql | UTF-8 | 436 | 2.875 | 3 | [] | no_license | -- Lisää INSERT INTO lauseet tähän tiedostoon
-- Player-taulun testidata
INSERT INTO Ohjaaja (enimi, snimi, salasana, sposti) VALUES ('Olli', 'Ohjausmestari', 'Olli123', 'olli.ohjausmestari@helsinki.fi');
INSERT INTO Tapahtumatyyppi (nimi) VALUES ('Ohjauspalaveri');
INSERT INTO Tutkimusala (nimi) VALUES ('Relaatiotietokannat');
INSERT INTO Aihe(luotu, otsikko, tekija_nimi, opnro) VALUES (NOW(), 'Relaatiotietokantahöpshöps', 'Otto Opiskelija', '012345678');
| true |
1314c6518dc459487ad768f5a6005c810f24be23 | SQL | batusan/Web-Scrape-With-Node.js | /docker_db/init.sql | UTF-8 | 1,549 | 2.890625 | 3 | [] | no_license |
-- create the users for each database
CREATE USER 'dbconn'@'%' IDENTIFIED BY 'password';
GRANT CREATE, ALTER, INDEX, LOCK TABLES, REFERENCES, UPDATE, DELETE, DROP, SELECT, INSERT ON `etsy`.* TO 'dbconn'@'%';
create database etsy;
use etsy;
CREATE TABLE IF NOT EXISTS products (
product_id INT AUTO_INCREMENT,
product_name VARCHAR(500),
product_image VARCHAR(500),
product_price VARCHAR(50),
PRIMARY KEY(product_id)
);
INSERT INTO `products` (`product_id`, `product_name`, `product_image`, `product_price`) VALUES
(56, 'Macbook Air 13 “ 2020 laptop case sleeve Macbook pro 13 inch', 'https://i.etsystatic.com/27794268/r/il/3399dd/2897575528/il_794xN.2897575528_ikj1.jpg', '£25.32'),
(57, 'Laptop case, Personalized laptop sleeve, macbook case sleeve, laptop bag, leather laptop case, Handmade macbook sleeve case for 13 15 inch', 'https://i.etsystatic.com/17721401/r/il/5fd6b7/2170280520/il_794xN.2170280520_pinq.jpg', '£27.06+'),
(58, 'Premium Personalised Dummy Clip | Certified to EU safety regulations.', 'https://i.etsystatic.com/18041028/r/il/dffd1c/2888809380/il_794xN.2888809380_b87r.jpg', '£14.00'),
(59, 'Linen Pillow Cover, Solid Colour Throw Pillow Cover, Modern Cushion Cover Various Sizes, Lumbar Pillow Cover, Pastel Shades', 'https://i.etsystatic.com/12669534/r/il/5d6d2d/1535619250/il_794xN.1535619250_3zug.jpg', '£31.50+'),
(60, 'Simple Watercolour Floral/Leaf Bookmark', 'https://i.etsystatic.com/15227138/r/il/35dac4/2604937523/il_794xN.2604937523_e8bk.jpg', '£2.80'); | true |
e2992b30e4343ec32bd717ac317632a8883ac71a | SQL | Swayam595/CMPE_226_Project_DBMS | /multicloud.sql | UTF-8 | 29,186 | 3.90625 | 4 | [] | no_license | drop database if exists multicloud;
create database multicloud;
use multicloud;
create table csp
(
csp_id int not null auto_increment,
csp_email_id varchar(255) not null,
csp_name varchar(255) not null,
csp_password varchar(255) not null,
csp_join_date date not null,
csp_bank_account_number bigint not null,
primary key (csp_id)
);
create table order_
(
order_id int not null auto_increment,
order_date date not null,
number_of_machines int not null,
# instance_type varchar(255) not null,
ca_id int not null,
customer_id int not null,
cpu_cores int,
ram int,
disk_size varchar(20) not null,
order_end_date date,
order_amount int not null,
order_cost int not null,
primary key (order_id)
);
create table ca
(
ca_id int not null auto_increment,
ca_email_id varchar(255) not null,
ca_name char(255) not null,
ca_bank_account_number bigint not null,
ca_password varchar(255) not null,
primary key(ca_id)
);
create table customer
(
customer_id int not null auto_increment,
customer_email_id varchar(255) not null,
customer_name char(255) not null,
customer_password varchar(255) not null,
customer_join_date date not null,
customer_bank_account bigint(16) not null,
customer_offer_id int,
customer_isDelete boolean default false,
primary key(customer_id)
);
create table bill
(
bill_id int not null auto_increment,
bill_amount int(12) not null,
csp_id int,
ca_id int not null,
customer_id int,
month int not null,
year int not null,
is_paid bool default False,
primary key(bill_id)
);
create table offer
(
offer_id int not null auto_increment,
offer_name varchar(255) not null,
discount int not null,
ca_id int not null,
valid_till date,
is_used bool default False,
primary key(offer_id)
);
create table machine
(
mac_id int not null auto_increment,
csp_id int not null,
# gpu varchar(20) not null,
disk_size varchar(20) not null,
ram int(4) not null,
cpu_cores int(4) not null,
# os char(20) not null,
ip_address varchar(16) not null,
price int not null,
order_id int,
primary key(mac_id, csp_id)
);
create table receives
(
csp_id int not null,
order_id int not null,
quantity int not null,
csp_cost int not null,
primary key (csp_id,order_id)
);
create table onboards
(
ca_id int not null,
customer_id int not null,
primary key (ca_id, customer_id)
);
# create table avails
# (
# offer_id int not null,
# customer_id int not null,
# from_date date not null,
# primary key(offer_id, customer_id)
# );
# create table attached
# (
# bill_id int not null,
# offer_id int not null,
# primary key(bill_id, offer_id)
# );
create table csp_contracts
(
ca_id int not null,
csp_id int not null,
primary key(ca_id,csp_id)
);
create view order_customer as select order_id, order_date, number_of_machines, ca_id, customer_id, cpu_cores, ram, disk_size, order_end_date, order_amount from order_;
create view order_csp as select ord.order_id, ord.order_date, ord.number_of_machines, ord.ca_id, r.csp_id, ord.cpu_cores, ord.ram, ord.disk_size, ord.order_end_date, ord.order_cost
from order_ ord, receives r where ord.order_id=r.order_id;
create view machine_customer as select mac_id, disk_size, ram, cpu_cores, ip_address, order_id from machine;
create view customer_bill as select bill_id, customer_id, ca_id, month, year, bill_amount, is_paid from bill where csp_id is null;
create view ca_bill as select bill_id, ca_id, csp_id, month, year, bill_amount, is_paid from bill where customer_id is null;
alter table order_ add constraint fk_order_ca_id foreign key (ca_id) references ca(ca_id) ;
alter table order_ add constraint fk_order_customer_id foreign key (customer_id) references customer(customer_id);
alter table bill add constraint fk_bill_csp_id foreign key (csp_id) references csp(csp_id);
alter table bill add constraint fk_bill_ca_id foreign key (ca_id) references ca(ca_id);
alter table bill add constraint fk_bill_cust_id foreign key (customer_id ) references customer(customer_id);
alter table machine add constraint fk_machine_csp_id foreign key (csp_id) references csp(csp_id);
alter table machine add constraint fk_machine_order_id foreign key (order_id) references order_(order_id);
alter table receives add constraint fk_receives_csp_id foreign key (csp_id) references csp(csp_id);
alter table receives add constraint fk_receives_order_id foreign key (order_id) references order_(order_id);
alter table onboards add constraint fk_onboards_ca_id foreign key (ca_id) references ca(ca_id);
alter table onboards add constraint fk_onboards_customer_id foreign key (customer_id) references customer(customer_id);
alter table customer add constraint fk_customer_offer_id foreign key (customer_offer_id) references offer(offer_id) on delete set null;
alter table offer add constraint fk_offer_ca_id foreign key (ca_id) references ca(ca_id);
alter table csp_contracts add constraint fk_csp_contracts_csp_id foreign key (csp_id) references csp(csp_id);
alter table csp_contracts add constraint fk_csp_contracts_ca_id foreign key (ca_id) references ca(ca_id);
###### Ca
insert into ca values(12121,'abah@gmail.com','khas', 132121, 'pbkdf2:sha256:50000$PJ8gdds4$21c76a7ebbe9fd90740db011db11d1945c9806ff5b312a49ee362f9cc423416e');
insert into ca values(232323,'sds@gmail.com','dsds', 12434121, 'pbkdf2:sha256:50000$PJ8gdds4$21c76a7ebbe9fd90740db011db11d1945c9806ff5b312a49ee362f9cc423416e');
insert into ca values(4324323,'fdfds@gmail.com','hgh',5454545, 'pbkdf2:sha256:50000$PJ8gdds4$21c76a7ebbe9fd90740db011db11d1945c9806ff5b312a49ee362f9cc423416e');
insert into ca values (123,'multicloud@gmail.com','multicloud',1361,'pbkdf2:sha256:50000$PJ8gdds4$21c76a7ebbe9fd90740db011db11d1945c9806ff5b312a49ee362f9cc423416e');
###### Customer
insert into customer values (11224,'Rohit@gmail.com','Rohit','pbkdf2:sha256:50000$PJ8gdds4$21c76a7ebbe9fd90740db011db11d1945c9806ff5b312a49ee362f9cc423416e','2000-09-09',3434,null, False);
insert into customer values (11225,'Li@gmail.com','Li','pbkdf2:sha256:50000$PJ8gdds4$21c76a7ebbe9fd90740db011db11d1945c9806ff5b312a49ee362f9cc423416e','2000-09-19',3434,null, False);
insert into customer values (11226,'Rakesh@gmail.com','Rakesh','pbkdf2:sha256:50000$PJ8gdds4$21c76a7ebbe9fd90740db011db11d1945c9806ff5b312a49ee362f9cc423416e','2000-09-29',3434,null, False);
insert into customer values (11227,'Laxmi@gmail.com','Laxmi','pbkdf2:sha256:50000$PJ8gdds4$21c76a7ebbe9fd90740db011db11d1945c9806ff5b312a49ee362f9cc423416e','2000-01-09',3434,null, False);
insert into customer values (11228,'Ravi@gmail.com','Ravi', 'pbkdf2:sha256:50000$PJ8gdds4$21c76a7ebbe9fd90740db011db11d1945c9806ff5b312a49ee362f9cc423416e','2000-02-09',3434,null, False);
insert into customer values (11229,'John@gmail.com','John','pbkdf2:sha256:50000$PJ8gdds4$21c76a7ebbe9fd90740db011db11d1945c9806ff5b312a49ee362f9cc423416e','2000-03-09',3434,null, False);
insert into customer values (11220,'Wayne@gmail.com','Wayne','pbkdf2:sha256:50000$PJ8gdds4$21c76a7ebbe9fd90740db011db11d1945c9806ff5b312a49ee362f9cc423416e','2000-04-09',3434,null, False);
insert into customer values (11241,'Kaka@gmail.com','Kaka','pbkdf2:sha256:50000$PJ8gdds4$21c76a7ebbe9fd90740db011db11d1945c9806ff5b312a49ee362f9cc423416e','2000-09-05',3434,null, False);
#insert into customer values (11242,'maulik@gmail.com','maulik','pbkdf2:sha256:50000$PJ8gdds4$21c76a7ebbe9fd90740db011db11d1945c9806ff5b312a49ee362f9cc423416e','2000-09-05',3434,null, False);
###### CSP
insert into csp values (1234,'amazon@gmail.com','AWS','pbkdf2:sha256:50000$PJ8gdds4$21c76a7ebbe9fd90740db011db11d1945c9806ff5b312a49ee362f9cc423416e','2000-09-09',3434);
insert into csp values (1235,'google@gmail.com','Google','pbkdf2:sha256:50000$PJ8gdds4$21c76a7ebbe9fd90740db011db11d1945c9806ff5b312a49ee362f9cc423416e','2000-08-01',3435);
insert into csp values (1236,'microsoft@gmail.com','Azure','pbkdf2:sha256:50000$PJ8gdds4$21c76a7ebbe9fd90740db011db11d1945c9806ff5b312a49ee362f9cc423416e','2000-10-10',34346);
insert into csp values (12361,'VMwaret@gmail.com','vCloudAir','pbkdf2:sha256:50000$PJ8gdds4$21c76a7ebbe9fd90740db011db11d1945c9806ff5b312a49ee362f9cc423416e','2000-10-01',34347);
insert into csp values (12362,'Rackspace@gmail.com','RackConnect','pbkdf2:sha256:50000$PJ8gdds4$21c76a7ebbe9fd90740db011db11d1945c9806ff5b312a49ee362f9cc423416e','2000-11-10',34348);
insert into csp values (12363,'HPE@gmail.com','Right Mix','pbkdf2:sha256:50000$PJ8gdds4$21c76a7ebbe9fd90740db011db11d1945c9806ff5b312a49ee362f9cc423416e','2000-10-10',34349);
insert into csp values (12364,'EMC@gmail.com','VCE','pbkdf2:sha256:50000$PJ8gdds4$21c76a7ebbe9fd90740db011db11d1945c9806ff5b312a49ee362f9cc423416e','2000-12-10',343461);
##### Machines
#AWS Machines
insert into machine values(1334151,1234,'1TB',4,2,'123.65.254.22',20,null);
insert into machine values(1334152,1234,'1TB',4,2,'123.65.251.22',145,null);
insert into machine values(1334153,1234,'1TB',4,2,'123.65.254.32',100,null);
insert into machine values(1334154,1234,'1TB',4,8,'123.65.254.52',250,null);
insert into machine values(1334155,1234,'2TB',8,8,'123.65.251.12',450,null);
insert into machine values(1334156,1234,'2TB',8,4,'123.65.252.12',4500,null);
insert into machine values(1334157,1234,'2TB',8,4,'123.65.253.12',450000,null);
insert into machine values(1334158,1234,'4TB',4,8,'123.65.254.53',150,null);
insert into machine values(1334159,1234,'6TB',8,8,'123.65.251.12',420,null);
insert into machine values(1334160,1234,'8TB',8,4,'123.65.252.12',3500,null);
insert into machine values(1334161,1234,'2TB',8,4,'123.65.253.12',450000,null);
#Google
insert into machine values(1234151,1235,'1TB',4,4,'123.65.254.22',545,null);
insert into machine values(1134151,1235,'1TB',4,4,'123.65.254.32',145,null);
insert into machine values(13134151,1235,'2TB',4,4,'123.65.254.42',2345,null);
insert into machine values(134151,1235,'2TB',8,2,'123.65.254.52',450,null);
insert into machine values(1354151,1235,'2TB',8,2,'123.65.254.62',45000,null);
insert into machine values(131341551,1235,'2TB',4,4,'123.65.254.42',2345,null);
insert into machine values(13415154,1235,'6TB',8,2,'123.65.254.52',450,null);
insert into machine values(13541571,1235,'8TB',8,2,'123.65.254.62',45000,null);
#vCloud
insert into machine values(1114151,12361,'1TB',4,4,'121.65.254.12',100,null);
insert into machine values(1214151,12361,'1TB',8,2,'122.65.254.12',150,null);
insert into machine values(1314151,12361,'2TB',8,4,'124.65.254.12',250,null);
#Azure
insert into machine values(1334111,1236,'1TB',8,2,'123.65.254.11',145,null);
insert into machine values(1334121,1236,'1TB',8,4,'123.65.254.13',245,null);
insert into machine values(1334131,1236,'2TB',8,2,'123.65.254.12',415,null);
insert into machine values(1334141,1236,'2TB',4,2,'123.65.254.14',450,null);
insert into machine values(1334101,1236,'2TB',4,4,'123.65.254.15',4500,null);
#RackConnect
insert into machine values(1334111,12362,'1TB',8,4,'113.25.254.12',450,null);
insert into machine values(1334112,12362,'1TB',8,4,'113.26.254.12',100,null);
insert into machine values(1334113,12362,'2TB',4,4,'113.35.254.12',800,null);
#Right Mix
insert into machine values(1034151,12363,'1TB',4,4,'120.65.254.12',415,null);
insert into machine values(1934151,12363,'1TB',8,2,'129.65.254.12',425,null);
insert into machine values(1834151,12363,'2TB',4,4,'183.65.254.12',435,null);
#VCE
insert into machine values(1534151,12364,'1TB',8,2,'123.85.254.12',4500,null);
insert into machine values(1634151,12364,'2TB',4,4,'123.75.254.12',4590,null);
insert into machine values(1734151,12364,'2TB',8,4,'123.55.254.12',4580,null);
###### CSP_Contracts
insert into csp_contracts values (123,1234);
insert into csp_contracts values (123,1235);
insert into csp_contracts values (123,1236);
insert into csp_contracts values(12121,1234);
insert into csp_contracts values(12121,1235);
insert into csp_contracts values(12121,12361);
insert into csp_contracts values(12121,12364);
insert into csp_contracts values(232323,1234);
insert into csp_contracts values(232323,1235);
insert into csp_contracts values(232323,1236);
insert into csp_contracts values(232323,12364);
insert into csp_contracts values(4324323,1234);
insert into csp_contracts values(4324323,1235);
insert into csp_contracts values(4324323,1236);
insert into csp_contracts values(4324323,12361);
insert into csp_contracts values(4324323,12362);
insert into csp_contracts values(123,12363);
insert into csp_contracts values(4324323,12364);
###### Onboards
insert into onboards values (12121,11224);
insert into onboards values (12121,11225);
insert into onboards values (12121,11220);
insert into onboards values (12121,11241);
insert into onboards values (232323,11224);
insert into onboards values (232323,11225);
insert into onboards values (232323,11226);
insert into onboards values (232323,11227);
insert into onboards values (232323,11228);
insert into onboards values (232323,11229);
insert into onboards values (232323,11220);
insert into onboards values (232323,11241);
insert into onboards values (4324323,11224);
insert into onboards values (4324323,11225);
insert into onboards values (4324323,11226);
insert into onboards values (4324323,11227);
insert into onboards values (4324323,11228);
insert into onboards values (4324323,11229);
insert into onboards values (4324323,11220);
insert into onboards values (4324323,11241);
##### Offer
insert into offer values (4321,'Big Bang Offer',9,12121, null, False);
insert into offer values (4322,'Bumpper Offer',11,232323, null, False);
insert into offer values (4323,'Super Deal Offer',5,232323, null, False);
insert into offer values (4324,'Platinum Offer',20,4324323, null, False);
insert into offer values (4325,'Gold Bang Offer',15,4324323, null, False);
insert into offer values (4326,'Welcome Offer',10,123, null, False);
##### Bill
insert into bill values (0001,5000,1234,123,11224,'01','2000', False);
insert into bill values (0002,1000,12361,123,11227,'01','2000', False);
insert into bill values (0003,2000,12364,123,11220,'01','2000', False);
insert into bill values (1004,3000,1235,232323,11225,'02','2000', False);
insert into bill values (1005,53000,12362,232323,11228,'03','2000', False);
insert into bill values (1006,51000,1236,232323,11241,'01','2000', False);
insert into bill values (2004,4000,1236,4324323,11226,'07','2000', False);
insert into bill values (2005,43000,12364,4324323,11229,'08','2000', False);
insert into bill values (2006,41000,1235,4324323,11241,'09','2000', False);
##### Order
insert into order_ values(0010,'2000-02-01',5,12121,11224,16,16,"1TB",'2000-10-10', 40, 30);
insert into order_ values(0011,'2000-03-01',10,4324323,11227,16,16,"1TB",'2000-10-10', 50, 40);
insert into order_ values(0012,'2000-04-01',4,232323,11226,16,16,"2TB",'2000-10-10', 40, 30);
insert into order_ values(1010,'2000-11-01',5,232323,11225,32,16,"2TB",'2001-10-10', 60, 30);
insert into order_ values(1011,'2000-12-01',5,12121,11228,4,16,"1TB",'2001-10-10', 70, 30);
insert into order_ values(1012,'2000-02-01',5,4324323,11229,8,16,"2TB",'2000-10-10', 50, 40);
insert into order_ values(2011,'2000-01-01',5,12121,11220,8,16,"2TB",'2000-10-10', 70, 60);
insert into order_ values(2012,'2000-11-01',15,4324323,11241,8,16,"1TB",'2001-10-10', 70, 30);
insert into order_ values(2013,'2000-01-01',5,4324323,11229,8,16,"2TB",null, 25, 20);
##### Receives
insert into receives values(1234,0010,5,30);
insert into receives values(12361,0011,10,40);
insert into receives values(1236,0012,4,50);
insert into receives values(1235,1010,5,40);
insert into receives values(12362,1011,5,40);
insert into receives values(12364,1012,5,30);
insert into receives values(12364,2011,5,50);
insert into receives values(1235,2012,15,30);
insert into receives values(12364,2013,5,50);
delimiter $$
create definer=`root`@`localhost` procedure `sp_create_customer`(
in sp_email_id varchar(255),
in sp_name varchar(255),
in sp_password varchar(255),
in sp_bank_account_number bigint,
in sp_ca_id int
)
begin
declare temp_custId int default 0;
declare exit handler for sqlexception
begin
select 'Error occured';
rollback;
resignal;
end;
start transaction;
if ( select exists (select 1 from customer where customer_email_id = sp_email_id) ) then
select 'Customer exists !!';
else
insert into customer (customer_email_id, customer_name, customer_password, customer_join_date, customer_bank_account, customer_offer_id) values (sp_email_id, sp_name, sp_password, CURDATE(), sp_bank_account_number, null);
#select customer_id into temp_custId from customer where customer_email_id=sp_email_id;
insert into onboards (ca_id, customer_id) values (sp_ca_id, (select customer_id from customer where customer_email_id=sp_email_id));
end if;
end$$
delimiter ;
delimiter $$
create definer=`root`@`localhost` procedure `sp_create_csp`(
in c_email_id varchar(200),
in c_name varchar(200),
in c_password varchar(200),
in c_bank_account_number bigint,
in c_ca_id int
)
begin
declare exit handler for sqlexception
begin
select 'Error occured';
rollback;
resignal;
end;
start transaction;
if ( select exists (select 1 from csp where csp_email_id = c_email_id) ) then
select 'CSP exists !!';
else
insert into csp ( csp_email_id, csp_name, csp_password, csp_join_date, csp_bank_account_number) values (c_email_id, c_name, c_password, CURDATE(), c_bank_account_number);
insert into csp_contracts (ca_id, csp_id) values (c_ca_id, (select csp_id from csp where csp_email_id=c_email_id));
end if;
end$$
delimiter ;
delimiter $$
create definer=`root`@`localhost` procedure `sp_create_ca`(
in ca_email_id varchar(200),
in ca_name varchar(200),
in ca_password varchar(200),
in ca_bank_account_number bigint
)
begin
insert into ca ( ca_email_id, ca_name, ca_password, ca_bank_account_number) values (ca_email_id, ca_name, ca_password, ca_bank_account_number);
end$$
delimiter ;
delimiter $$
create definer=`root`@`localhost` procedure `sp_create_order`(
in sp_email_id varchar(255),
in sp_ram int,
in sp_cpu int,
in sp_disk_size varchar(255),
in sp_no_of_machines int,
in sp_customer_id int,
in sp_ca_id int
)
begin
declare temp_count int;
declare temp_price int;
declare temp_last_order_id int;
declare exit handler for sqlexception
begin
select 'Error occured';
rollback;
resignal;
end;
start transaction;
select count(s.mac_id), sum(s.price) into temp_count, temp_price from (select m.* from csp_contracts c join machine m on c.csp_id=m.csp_id where c.ca_id=sp_ca_id and m.cpu_cores=sp_cpu and m.ram=sp_ram and m.disk_size=sp_disk_size and m.order_id is null order by m.price limit sp_no_of_machines) as s;
if ( temp_count = sp_no_of_machines ) then
insert into order_ (order_date, number_of_machines, ca_id, customer_id, cpu_cores, ram, disk_size, order_end_date, order_amount, order_cost) values (CURDATE(), sp_no_of_machines,sp_ca_id,sp_customer_id, sp_cpu, sp_ram, sp_disk_size, null, temp_price*1.2, temp_price);
#select m.mac_id, m.csp_id, m.price from csp_contracts c join machine m on c.csp_id=m.csp_id where c.ca_id=sp_ca_id and m.cpu_cores=sp_cpu and m.ram=sp_ram and m.disk_size=sp_disk_size order by m.price limit 1;
set temp_last_order_id = LAST_INSERT_ID();
update machine m1 join (select m.mac_id from csp_contracts c join machine m on c.csp_id=m.csp_id where c.ca_id=sp_ca_id and m.cpu_cores=sp_cpu and m.ram=sp_ram and m.disk_size=sp_disk_size and m.order_id is null order by m.price limit sp_no_of_machines) s
on m1.mac_id=s.mac_id set m1.order_id=temp_last_order_id;
insert into receives (csp_id, order_id, csp_cost, quantity) select m.csp_id, m.order_id, sum(m.price), count(m.mac_id) from machine m where m.order_id=temp_last_order_id group by m.csp_id;
else
select 'Not enough resources available!!';
end if;
end$$
delimiter ;
delimiter $$
use multicloud $$
create definer=`root`@`localhost` procedure `sp_generate_bill_csp`(
in sp_day int,
in sp_month int,
in sp_year int,
in sp_csp_id int,
in sp_ca_id int
)
begin
declare order_month int;
declare order_start_day int;
declare order_end_day int;
declare order_cost int;
declare total_monthly_bill int;
declare finished int default 0;
declare ca_order_cursor cursor for select month(o.order_date) as order_month, day(o.order_date) as order_start_day, day(o.order_end_date) as order_end_day, r.csp_cost as order_cost
from order_ as o join receives as r on o.order_id = r.order_id and r.csp_id = sp_csp_id and o.ca_id = sp_ca_id and ( (o.order_end_date is null) or (month(o.order_end_date) = sp_month and year(o.order_end_date) = sp_year));
declare continue handler for not found set finished = 1;
declare exit handler for sqlexception
begin
select 'Error occured';
rollback;
resignal;
end;
set total_monthly_bill = 0;
start transaction;
open ca_order_cursor;
get_ca_order: LOOP
FETCH ca_order_cursor INTO order_month, order_start_day, order_end_day, order_cost;
IF finished = 1 THEN
LEAVE get_ca_order;
END IF;
-- compute cost
IF order_month < sp_month THEN
IF order_end_day is null THEN
set total_monthly_bill = total_monthly_bill + (30 * order_cost);
ELSE
set total_monthly_bill = total_monthly_bill + (order_end_day * order_cost);
END IF;
ELSEIF order_month = sp_month THEN
IF order_end_day is null THEN
set total_monthly_bill = total_monthly_bill + ( (30 - order_start_day + 1) * order_cost);
ELSE
set total_monthly_bill = total_monthly_bill + ( (order_end_day - order_start_day + 1) * order_cost);
End IF;
END IF;
END LOOP get_ca_order;
close ca_order_cursor;
insert into bill (bill_amount, csp_id, ca_id, customer_id, month, year, is_paid) values (total_monthly_bill, sp_csp_id, sp_ca_id, null, sp_month, sp_year, False);
select concat("New bill with cost: ", total_monthly_bill," generated for ca: ", sp_ca_id, " by csp: ", sp_csp_id, " for month: ", sp_month, " year: ", sp_year);
commit;
end$$
delimiter ;
delimiter $$
use multicloud $$
create definer=`root`@`localhost` procedure `sp_generate_bill_ca`(
in sp_day int,
in sp_month int,
in sp_year int,
in sp_ca_id int,
in sp_customer_id int
)
begin
declare order_month int;
declare order_start_day int;
declare order_end_day int;
declare order_amount int;
declare total_monthly_bill int;
declare id int;
declare discount int;
declare offer_discount int default 0;
declare offer_id int default null;
declare finished int default 0;
declare customer_order_cursor cursor for select month(o.order_date) as order_month, day(o.order_date) as order_start_day, day(o.order_end_date) as order_end_day, o.order_amount as order_amount
from order_ as o join customer as c on o.customer_id = c.customer_id and o.customer_id = sp_customer_id and o.ca_id = sp_ca_id and (o.order_end_date is null or (month(o.order_end_date) = sp_month and year(o.order_end_date) = sp_year));
declare customer_offer_cursor cursor for select o.offer_id, o.discount
from offer as o join customer as c on o.offer_id = c.customer_offer_id and o.ca_id = sp_ca_id and o.is_used is False and (sp_month < month(o.valid_till) or (month(o.valid_till) = sp_month and 30 <= day(o.valid_till))) and year(o.valid_till) <= sp_year;
declare continue handler for not found set finished = 1;
declare exit handler for sqlexception
begin
select 'Error occured';
rollback;
resignal;
end;
start transaction;
set total_monthly_bill = 0;
open customer_order_cursor;
get_customer_order: LOOP
FETCH customer_order_cursor INTO order_month, order_start_day, order_end_day, order_amount;
IF finished = 1 THEN
LEAVE get_customer_order;
END IF;
-- compute cost
IF order_month < sp_month THEN
IF order_end_day is null THEN
set total_monthly_bill = total_monthly_bill + (30 * order_amount);
ELSE
set total_monthly_bill = total_monthly_bill + (order_end_day * order_amount);
END IF;
ELSEIF order_month = sp_month THEN
IF order_end_day is null THEN
set total_monthly_bill = total_monthly_bill + ( (30 - order_start_day + 1) * order_amount);
ELSE
set total_monthly_bill = total_monthly_bill + ( (order_end_day - order_start_day + 1) * order_amount);
End IF;
END IF;
END LOOP get_customer_order;
close customer_order_cursor;
open customer_offer_cursor;
get_customer_offer: LOOP
FETCH customer_offer_cursor INTO id, discount;
IF finished = 1 THEN
LEAVE get_customer_offer;
END IF;
-- find max offer
IF offer_discount < discount THEN
set offer_discount = discount;
set offer_id = id;
END IF;
END LOOP get_customer_offer;
close customer_offer_cursor;
IF (offer_id is not null) and (offer_discount != 0) THEN
set total_monthly_bill = convert(total_monthly_bill * ((100 - offer_discount)/100),unsigned int);
update offer as o set o.is_used = True where o.offer_id = offer_id and o.discount = offer_discount;
END IF;
insert into bill (bill_amount, csp_id, ca_id, customer_id, month, year, is_paid, offer_id) values (total_monthly_bill, null, sp_ca_id, sp_customer_id, sp_month, sp_year, False, offer_id);
select concat("New bill with cost: ", total_monthly_bill, " with discount: ", offer_discount," generated for customer: ", sp_customer_id, " by ca: ", sp_ca_id, " for month: ", sp_month, " year: ", sp_year);
commit;
end$$
delimiter ;
###### Stored Procedure to update CA delimiter
delimiter $$
use multicloud $$
create definer=`root`@`localhost` procedure `sp_update_ca`(
in sp_id int,
in sp_email_id varchar(255) ,
in sp_name varchar(255) ,
in sp_password varchar(255),
in sp_bank_account_number bigint
)
begin
if (select exists (select 1 from ca where ca_id = sp_id)) then
update ca set ca_name = sp_name, ca_email_id = sp_email_id, ca_password = sp_password, ca_bank_account_number = sp_bank_account_number where ca_id=sp_id;
else
select 'Not enough resources available!!';
end if;
end$$
delimiter ;
###### Stored Procedure to update CSP delimiter $$
delimiter $$
use multicloud $$
create definer=`root`@`localhost` procedure `sp_update_csp`(
in sp_id int,
in sp_email_id varchar(255) ,
in sp_name varchar(255) ,
in sp_password varchar(255),
in sp_bank_account_number bigint
)
begin
if (select exists (select 1 from csp where csp_id = sp_id)) then
update csp set csp_name = sp_name, csp_email_id = sp_email_id, csp_password = sp_password, csp_bank_account_number = sp_bank_account_number where csp_id = sp_id;
else
select 'Not enough resources available!!';
end if;
end$$ delimiter ;
###### Stored Procedure to update customer delimiter $$
delimiter $$
use multicloud $$
create definer=`root`@`localhost` procedure `sp_update_customer`(
in sp_id int,
in sp_email_id varchar(255) ,
in sp_name varchar(255) ,
in sp_password varchar(255),
in sp_bank_account_number bigint)
begin
if (select exists (select 1 from customer where customer_id = sp_id)) then
update customer set customer_name = sp_name, customer_email_id = sp_email_id, customer_password = sp_password, customer_bank_account = sp_bank_account_number where customer_id = sp_id;
else
select 'Not enough resources available!!';
end if;
end$$ delimiter ;
# Update order_id in machines after deleting customers
DROP TRIGGER IF EXISTS `multicloud`.`customer_AFTER_UPDATE`;
DELIMITER $$
CREATE DEFINER = CURRENT_USER TRIGGER `multicloud`.`customer_AFTER_UPDATE` AFTER UPDATE ON `customer` FOR EACH ROW
BEGIN
update order_
set order_end_date = curdate()
where customer_id = new.customer_id;
SET SQL_SAFE_UPDATES = 0;
update order_,machine
set machine.order_id = null
where machine.order_id = order_.order_id and
customer_id = new.customer_id;
SET SQL_SAFE_UPDATES = 1;
END$$
DELIMITER ;
# Add Welcome Offer Trigger
DELIMITER $$
DROP TRIGGER IF EXISTS `multicloud`.`customer_AFTER_INSERT` $$
DELIMITER ;
DROP TRIGGER IF EXISTS `multicloud`.`customer_BEFORE_INSERT`;
DELIMITER $$
USE `multicloud`$$
CREATE DEFINER = CURRENT_USER TRIGGER `multicloud`.`customer_BEFORE_INSERT` BEFORE INSERT ON `customer` FOR EACH ROW
BEGIN
SET new.customer_offer_id = '4326';
END$$
DELIMITER ;
###### Stored Procedure to update customer delimiter $$
delimiter $$
use multicloud $$
create definer=`root`@`localhost` procedure `sp_update_customer_admin`(
in sp_id int,
in sp_email_id varchar(255) ,
in sp_name varchar(255) ,
in sp_bank_account_number bigint,
in sp_offer_id int )
begin
if (select exists (select 1 from customer where customer_id = sp_id)) then
update customer set customer_name = sp_name, customer_email_id = sp_email_id, customer_bank_account = sp_bank_account_number, customer_offer_id=sp_offer_id where customer_id = sp_id;
else
select 'Not enough resources available!!';
end if;
end$$ delimiter ;
###### Stored Procedure to update customer delimiter $$
delimiter $$
use multicloud $$
create definer=`root`@`localhost` procedure `sp_end_order`(
in sp_order_id int,
in sp_order_id_2 int)
begin
if (select exists (select 1 from order_ where order_id = sp_order_id)) then
update order_ set order_end_date = curdate() where order_id = sp_order_id;
update machine set order_id=null where order_id = sp_order_id;
else
select 'Not enough resources available!!';
end if;
end$$ delimiter ;
| true |
2fd1322798a057a46f8a06e3c42fd1e5e5e05812 | SQL | itolisto/conversa-old | /install/Store Procedures/SP_SEL_LOCATION_BY_IDS_APP.sql | UTF-8 | 580 | 3.53125 | 4 | [
"MIT"
] | permissive | DROP PROCEDURE IF EXISTS `SP_SEL_LOCATION_BY_IDS_APP`;
DELIMITER $$
CREATE DEFINER=`root`@`localhost` PROCEDURE `SP_SEL_LOCATION_BY_IDS_APP`(IN `i_ids` TEXT) NOT DETERMINISTIC READS SQL DATA SQL SECURITY DEFINER
BEGIN
SET @sql = CONCAT('SELECT `blo_id` AS `location_id`, `blo_business_id` AS `business_id`, `blo_address` AS `address`, `blo_short_name` AS `name` FROM `co_business_location` WHERE `blo_valid` = 1 AND `blo_business_id` IN (', i_ids, ')');
PREPARE stmt FROM @sql;
EXECUTE stmt;
DEALLOCATE PREPARE stmt;
END$$
# change the delimiter back to semicolon
DELIMITER ; | true |
6687356202595482beb563794640519c12633b2f | SQL | nazzang49/sql-practice | /jdbc-test-dao.sql | UTF-8 | 202 | 2.765625 | 3 | [] | no_license | select emp_no, first_name, last_name, hire_date
from employees
where first_name like '%a%'
or last_name like '%a%';
use employees;
desc employees;
select first_name
from employees
where emp_no=10001;
| true |
152a82a0959dca9b664bc0a9e217ac72c85691fc | SQL | josemoreno90/phase-3-challenge-c | /part-2/load_data.sql | UTF-8 | 1,061 | 3.84375 | 4 | [] | no_license | \c hotel_db
COPY guests(name, email)
FROM '/Users/josemoreno/Desktop/Projects/phase-3-challenge-c/part-2/csvfiles/guests.csv' DELIMITER ',' CSV;
COPY rooms(room_number, capacity)
FROM '/Users/josemoreno/Desktop/Projects/phase-3-challenge-c/part-2/csvfiles/rooms.csv' DELIMITERS ',' CSV;
COPY bookings (room_id, guest_id, check_in, check_out)
FROM '/Users/josemoreno/Desktop/Projects/phase-3-challenge-c/part-2/csvfiles/bookings.csv' DELIMITERS ',' CSV;
-- After the data has been loaded into the database, update the rooms table to reflect bookings.
-- Available column in rooms table should be set to false if a guest has not yet checked out.
-- For this project, the current date used is 2017-08-27.
-- This is the date that will be used to determine if a room is available or not.
-- This date was chosen to so that more than one room could be unavailble as the tables are created.
UPDATE rooms
SET available = false
FROM bookings
WHERE bookings.check_in <= DATE '2017-08-27'
AND bookings.check_out > DATE '2017-08-27'
AND bookings.room_id = rooms.id;
| true |
7e84c3976c032d2df8a0c22ff9d903e315681b80 | SQL | ws1603/news-crawler | /src/main/resources/db/migration/V1__Create_tables.sql | UTF-8 | 486 | 2.875 | 3 | [
"Apache-2.0"
] | permissive | create table news (
id bigint primary key auto_increment,
title text,
content text,
url varchar(500),
created_at timestamp default now(),
modified_at timestamp default now()
)ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
create table links_to_be_processed (link varchar(500))ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
create table links_already_processed (link varchar(500))ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
| true |
a9e5e4ca5fbf5a85af8af0e7ca5a454e18ca4f5b | SQL | stareylix/autorder | /autorder.sql | GB18030 | 10,138 | 3.328125 | 3 | [
"MIT"
] | permissive | ------------------------------------------------------
-- Export file for user AUTORDER --
-- Created by Administrator on 2017-09-27, 17:08:28 --
------------------------------------------------------
spool autorder.log
prompt
prompt Creating table AU_PERMISSION
prompt ============================
prompt
create table AUTORDER.AU_PERMISSION
(
FSTR_PERMISSIONID VARCHAR2(10) not null,
FSTR_PERMISSION VARCHAR2(20) not null,
FSTR_DESCIPTION VARCHAR2(100) not null,
FSTR_AVALIABLE VARCHAR2(5) not null,
FDATE_CREATE DATE,
FDATE_UPDATE DATE
)
tablespace USERS
pctfree 10
initrans 1
maxtrans 255
storage
(
initial 64K
next 8K
minextents 1
maxextents unlimited
);
comment on column AUTORDER.AU_PERMISSION.FSTR_PERMISSIONID
is 'ȨID';
comment on column AUTORDER.AU_PERMISSION.FSTR_PERMISSION
is 'Ȩ';
comment on column AUTORDER.AU_PERMISSION.FSTR_DESCIPTION
is '';
comment on column AUTORDER.AU_PERMISSION.FSTR_AVALIABLE
is 'Ƿ';
comment on column AUTORDER.AU_PERMISSION.FDATE_CREATE
is '';
comment on column AUTORDER.AU_PERMISSION.FDATE_UPDATE
is '';
alter table AUTORDER.AU_PERMISSION
add constraint AU_PERMISSION_PK primary key (FSTR_PERMISSIONID)
using index
tablespace USERS
pctfree 10
initrans 2
maxtrans 255
storage
(
initial 64K
next 1M
minextents 1
maxextents unlimited
);
alter table AUTORDER.AU_PERMISSION
add constraint AU_PERMISSION_UK unique (FSTR_PERMISSION)
using index
tablespace USERS
pctfree 10
initrans 2
maxtrans 255
storage
(
initial 64K
next 1M
minextents 1
maxextents unlimited
);
prompt
prompt Creating table AU_RESOURCE
prompt ==========================
prompt
create table AUTORDER.AU_RESOURCE
(
FSTR_RESOURCEID VARCHAR2(10) not null,
FSTR_RESOURCE VARCHAR2(200) not null,
FSTR_DESCRIPTION VARCHAR2(100) not null,
FINT_AVALIABLE INTEGER not null,
FDATE_CREATE DATE,
FDATE_UPDATE DATE
)
tablespace USERS
pctfree 10
initrans 1
maxtrans 255;
comment on column AUTORDER.AU_RESOURCE.FSTR_RESOURCEID
is 'ԴID';
comment on column AUTORDER.AU_RESOURCE.FSTR_RESOURCE
is 'Դ';
comment on column AUTORDER.AU_RESOURCE.FSTR_DESCRIPTION
is 'Դ';
comment on column AUTORDER.AU_RESOURCE.FINT_AVALIABLE
is 'Ƿ';
comment on column AUTORDER.AU_RESOURCE.FDATE_CREATE
is '';
comment on column AUTORDER.AU_RESOURCE.FDATE_UPDATE
is '';
alter table AUTORDER.AU_RESOURCE
add constraint AU_RESOURCE_PK primary key (FSTR_RESOURCEID)
using index
tablespace USERS
pctfree 10
initrans 2
maxtrans 255;
alter table AUTORDER.AU_RESOURCE
add constraint AU_RESOURCE_UK unique (FSTR_RESOURCE)
using index
tablespace USERS
pctfree 10
initrans 2
maxtrans 255;
prompt
prompt Creating table AU_RL_PERMISSION_RESOURCE
prompt ========================================
prompt
create table AUTORDER.AU_RL_PERMISSION_RESOURCE
(
FSTR_PERMISSIONID VARCHAR2(10) not null,
FSTR_RESOUREID VARCHAR2(10) not null
)
tablespace USERS
pctfree 10
initrans 1
maxtrans 255;
alter table AUTORDER.AU_RL_PERMISSION_RESOURCE
add constraint AU_RL_P2R_PK primary key (FSTR_PERMISSIONID, FSTR_RESOUREID)
using index
tablespace USERS
pctfree 10
initrans 2
maxtrans 255;
prompt
prompt Creating table AU_RL_ROLE_PERMISSION
prompt ====================================
prompt
create table AUTORDER.AU_RL_ROLE_PERMISSION
(
FSTR_ROLEID VARCHAR2(10) not null,
FSTR_PERMISSIONID VARCHAR2(10) not null
)
tablespace USERS
pctfree 10
initrans 1
maxtrans 255
storage
(
initial 64K
next 1M
minextents 1
maxextents unlimited
);
alter table AUTORDER.AU_RL_ROLE_PERMISSION
add constraint AU_RL_R2P_PK primary key (FSTR_ROLEID, FSTR_PERMISSIONID)
using index
tablespace USERS
pctfree 10
initrans 2
maxtrans 255
storage
(
initial 64K
next 1M
minextents 1
maxextents unlimited
);
prompt
prompt Creating table AU_RL_USER_ROLE
prompt ==============================
prompt
create table AUTORDER.AU_RL_USER_ROLE
(
FSTR_USERID VARCHAR2(10) not null,
FSTR_ROLEID VARCHAR2(10) not null
)
tablespace USERS
pctfree 10
initrans 1
maxtrans 255
storage
(
initial 64K
next 1M
minextents 1
maxextents unlimited
);
alter table AUTORDER.AU_RL_USER_ROLE
add constraint AU_RL_U2R_PK primary key (FSTR_USERID, FSTR_ROLEID)
using index
tablespace USERS
pctfree 10
initrans 2
maxtrans 255
storage
(
initial 64K
next 1M
minextents 1
maxextents unlimited
);
prompt
prompt Creating table AU_ROLE
prompt ======================
prompt
create table AUTORDER.AU_ROLE
(
FSTR_ROLEID VARCHAR2(10) not null,
FSTR_ROLE VARCHAR2(20) not null,
FSTR_DESCRIPTION VARCHAR2(100) not null,
FSTR_AVALIABLE VARCHAR2(5) not null,
FDATE_CREATE DATE,
FDATE_UPDATE DATE
)
tablespace USERS
pctfree 10
initrans 1
maxtrans 255
storage
(
initial 64K
next 8K
minextents 1
maxextents unlimited
);
comment on column AUTORDER.AU_ROLE.FSTR_ROLEID
is 'ɫID';
comment on column AUTORDER.AU_ROLE.FSTR_ROLE
is 'ɫ';
comment on column AUTORDER.AU_ROLE.FSTR_DESCRIPTION
is 'ɫ';
comment on column AUTORDER.AU_ROLE.FSTR_AVALIABLE
is 'Ƿ';
comment on column AUTORDER.AU_ROLE.FDATE_CREATE
is '';
comment on column AUTORDER.AU_ROLE.FDATE_UPDATE
is '';
alter table AUTORDER.AU_ROLE
add constraint AU_ROLE_PK primary key (FSTR_ROLEID)
using index
tablespace USERS
pctfree 10
initrans 2
maxtrans 255
storage
(
initial 64K
next 1M
minextents 1
maxextents unlimited
);
alter table AUTORDER.AU_ROLE
add constraint AU_ROLE_UK unique (FSTR_ROLE)
using index
tablespace USERS
pctfree 10
initrans 2
maxtrans 255
storage
(
initial 64K
next 1M
minextents 1
maxextents unlimited
);
prompt
prompt Creating table AU_USER
prompt ======================
prompt
create table AUTORDER.AU_USER
(
FSTR_USERID VARCHAR2(10) not null,
FSTR_USERNAME VARCHAR2(20) not null,
FSTR_PASSWORD VARCHAR2(100) not null,
FSTR_SALT VARCHAR2(32) not null,
FSTR_LOCKED VARCHAR2(5) not null,
FDATE_CREATE DATE,
FDATE_UPDATE DATE
)
tablespace USERS
pctfree 10
initrans 1
maxtrans 255
storage
(
initial 64K
next 8K
minextents 1
maxextents unlimited
);
comment on column AUTORDER.AU_USER.FSTR_USERID
is 'ûID';
comment on column AUTORDER.AU_USER.FSTR_USERNAME
is 'û';
comment on column AUTORDER.AU_USER.FSTR_PASSWORD
is '';
comment on column AUTORDER.AU_USER.FSTR_SALT
is '';
comment on column AUTORDER.AU_USER.FSTR_LOCKED
is 'Ƿ';
comment on column AUTORDER.AU_USER.FDATE_CREATE
is 'ʱ';
comment on column AUTORDER.AU_USER.FDATE_UPDATE
is 'ʱ';
alter table AUTORDER.AU_USER
add constraint AU_USER_PK primary key (FSTR_USERID)
using index
tablespace USERS
pctfree 10
initrans 2
maxtrans 255
storage
(
initial 64K
next 1M
minextents 1
maxextents unlimited
);
prompt
prompt Creating table UM_DUTY
prompt ======================
prompt
create table AUTORDER.UM_DUTY
(
FSTR_DUTYCODE VARCHAR2(3) not null,
FSTR_DUTY VARCHAR2(20) not null
)
tablespace USERS
pctfree 10
initrans 1
maxtrans 255;
comment on column AUTORDER.UM_DUTY.FSTR_DUTYCODE
is 'ְ';
comment on column AUTORDER.UM_DUTY.FSTR_DUTY
is 'ְ';
alter table AUTORDER.UM_DUTY
add constraint UM_USER_PK primary key (FSTR_DUTYCODE)
using index
tablespace USERS
pctfree 10
initrans 2
maxtrans 255;
alter table AUTORDER.UM_DUTY
add constraint UM_USER_UK unique (FSTR_DUTY)
using index
tablespace USERS
pctfree 10
initrans 2
maxtrans 255;
prompt
prompt Creating table UM_USER
prompt ======================
prompt
create table AUTORDER.UM_USER
(
FSTR_USERID VARCHAR2(10) not null,
FSTR_NAME VARCHAR2(20) not null,
FSTR_SEX VARCHAR2(5),
FINT_AGE NUMBER(2),
FSTR_PHONE VARCHAR2(14) not null,
FSTR_ADDRESS VARCHAR2(200),
FSTR_DUTYCODE VARCHAR2(3),
FSTR_ENABLE VARCHAR2(5) not null,
FSTR_ENDRIVER VARCHAR2(5),
FSTR_CARNUMBER VARCHAR2(10),
FDAT_CREATE DATE default sysdate,
FDAT_UPDATE DATE
)
tablespace USERS
pctfree 10
initrans 1
maxtrans 255;
comment on table AUTORDER.UM_USER
is 'û';
comment on column AUTORDER.UM_USER.FSTR_USERID
is 'û';
comment on column AUTORDER.UM_USER.FSTR_NAME
is '';
comment on column AUTORDER.UM_USER.FSTR_SEX
is 'Ա';
comment on column AUTORDER.UM_USER.FINT_AGE
is '';
comment on column AUTORDER.UM_USER.FSTR_PHONE
is 'ֻ';
comment on column AUTORDER.UM_USER.FSTR_ADDRESS
is 'ַ';
comment on column AUTORDER.UM_USER.FSTR_DUTYCODE
is 'ְ';
comment on column AUTORDER.UM_USER.FSTR_ENABLE
is 'Ƿ';
comment on column AUTORDER.UM_USER.FSTR_ENDRIVER
is 'ǷǼʻԱ';
comment on column AUTORDER.UM_USER.FSTR_CARNUMBER
is 'ƺ';
comment on column AUTORDER.UM_USER.FDAT_CREATE
is 'ʱ';
comment on column AUTORDER.UM_USER.FDAT_UPDATE
is 'ʱ';
alter table AUTORDER.UM_USER
add constraint PK_UM_USER primary key (FSTR_USERID)
using index
tablespace USERS
pctfree 10
initrans 2
maxtrans 255;
prompt
prompt Creating sequence SEQ_AU_USER
prompt =============================
prompt
create sequence AUTORDER.SEQ_AU_USER
minvalue 1
maxvalue 999999999
start with 4
increment by 1
nocache;
spool off
| true |
7c7a2ba5feb4fc547dab7228cf29d3b528b96f9e | SQL | P79N6A/fast | /install/efast365/fx_goods_price_custom_grade.sql | UTF-8 | 802 | 3.453125 | 3 | [] | no_license | DROP TABLE IF EXISTS `fx_goods_price_custom_grade`;
CREATE TABLE `fx_goods_price_custom_grade` (
`price_custom_grade_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`goods_line_code` varchar(128) DEFAULT '' COMMENT '产品线代码',
`grade_code` varchar(128) DEFAULT '' COMMENT '分销商等级code',
`grade_name` varchar(128) DEFAULT '' COMMENT '分销商等级名称',
`rebates` varchar(128) DEFAULT '' COMMENT '折扣(基于吊牌价)',
`lastchanged` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '最后修改时间',
PRIMARY KEY (`price_custom_grade_id`),
UNIQUE KEY `grade_code_goods_line_code` (`goods_line_code`,`grade_code`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8 COMMENT='商品定价(分销商等级)';
| true |
742e98065f6aea837eeb41ca04425c51cd4fa22b | SQL | lmq1117/shop_v1 | /lamp_shop/Document/createtable.sql | UTF-8 | 345 | 2.53125 | 3 | [] | no_license | create table if not exists `shop_msg`(
id int unsigned not null primary key auto_increment,
`senderid` int unsigned not null,
`receid` int unsigned not null,
`title` varchar(255) not null,
`content` varchar(255) not null,
`status` tinyint unsigned not null comment '0:未读1:已读2:已删'
)engine=innodb charset=utf8;
| true |
2dd588201981ddf701b54d1aef093de56ce3a0eb | SQL | meetwithfriends/meetwithfriendsapp | /db/init.sql | UTF-8 | 5,909 | 3.890625 | 4 | [] | no_license | CREATE DATABASE `meetwithfriends`;
CREATE TABLE `meetwithfriends`.`users` (
`id` VARCHAR(50) NOT NULL,
`email` VARCHAR(50) NOT NULL,
`first_name` VARCHAR(50) NULL,
`last_name` VARCHAR(50) NULL,
`pass_hash` VARCHAR(128) NOT NULL,
`is_admin` TINYINT NULL,
`avatar` BLOB NULL,
PRIMARY KEY (`id`),
UNIQUE INDEX `email_UNIQUE` (`email` ASC));
CREATE TABLE `meetwithfriends`.`sessions` (
`id` VARCHAR(50) NOT NULL,
`user_id` VARCHAR(50) NOT NULL,
`token` VARCHAR(255) NOT NULL,
`start_date` DATETIME NOT NULL,
`due_date` DATETIME NOT NULL,
PRIMARY KEY (`id`),
INDEX `fk_Sessions_1_idx` (`user_id` ASC),
CONSTRAINT `fk_Sessions_1`
FOREIGN KEY (`user_id`)
REFERENCES `meetwithfriends`.`users` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION);
CREATE TABLE `meetwithfriends`.`groups` (
`id` VARCHAR(50) NOT NULL,
`creator_id` VARCHAR(50) NULL,
`name` VARCHAR(50) NULL,
`note` VARCHAR(255) NULL,
`avatar` BLOB NULL,
PRIMARY KEY (`id`),
INDEX `fk_GroupCreatorid_idx` (`creator_id` ASC),
CONSTRAINT `fk_group_creator_id`
FOREIGN KEY (`creator_id`)
REFERENCES `meetwithfriends`.`users` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION);
CREATE TABLE `meetwithfriends`.`users_in_groups` (
`id` VARCHAR(50) NOT NULL,
`user_id` VARCHAR(50) NOT NULL,
`group_id` VARCHAR(50) NOT NULL,
`is_admin` TINYINT NULL,
PRIMARY KEY (`id`),
INDEX `fk_UsersInGroups1_idx` (`user_id` ASC),
INDEX `fk_UsersInGroups2_idx` (`group_id` ASC),
CONSTRAINT `fk_UsersInGroups1`
FOREIGN KEY (`user_id`)
REFERENCES `meetwithfriends`.`users` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION,
CONSTRAINT `fk_UsersInGroups2`
FOREIGN KEY (`group_id`)
REFERENCES `meetwithfriends`.`groups` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION);
CREATE TABLE `meetwithfriends`.`invitations` (
`id` VARCHAR(50) NOT NULL,
`invitee_id` VARCHAR(50) NULL,
`group_name` VARCHAR(50) NULL,
`group_id` VARCHAR(50) NULL,
`invitator_id` VARCHAR(50) NULL,
`invitator_name` VARCHAR(100) NULL,
`message` VARCHAR(255) NULL,
PRIMARY KEY (`id`),
INDEX `fk_invitations_3_idx` (`group_id` ASC),
INDEX `fk_invitations_1_idx` (`invitee_id` ASC),
INDEX `fk_invitations_2_idx` (`invitator_id` ASC),
CONSTRAINT `fk_invitations_3`
FOREIGN KEY (`group_id`)
REFERENCES `meetwithfriends`.`groups` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION,
CONSTRAINT `fk_invitations_1`
FOREIGN KEY (`invitee_id`)
REFERENCES `meetwithfriends`.`users` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION,
CONSTRAINT `fk_invitations_2`
FOREIGN KEY (`invitator_id`)
REFERENCES `meetwithfriends`.`users` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION);
CREATE TABLE `meetwithfriends`.`places` (
`id` VARCHAR(50) NOT NULL,
`name` VARCHAR(50) NOT NULL,
`address` VARCHAR(50) NULL,
`site` VARCHAR(50) NULL,
`group_id` VARCHAR(50) NULL,
PRIMARY KEY (`id`),
INDEX `fk_PlacesGroupid_idx` (`group_id` ASC),
CONSTRAINT `fk_places_group_id`
FOREIGN KEY (`group_id`)
REFERENCES `meetwithfriends`.`groups` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION);
CREATE TABLE `meetwithfriends`.`meal_providers` (
`id` VARCHAR(50) NOT NULL,
`name` VARCHAR(50) NULL,
`note` VARCHAR(50) NULL,
`address` VARCHAR(50) NULL,
`site` VARCHAR(50) NULL,
`group_id` VARCHAR(50) NULL,
PRIMARY KEY (`id`),
INDEX `fk_ProvidersGroupid_idx` (`group_id` ASC),
CONSTRAINT `fk_meals_group_id`
FOREIGN KEY (`group_id`)
REFERENCES `meetwithfriends`.`groups` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION);
CREATE TABLE `meetwithfriends`.`meals` (
`id` VARCHAR(50) NOT NULL,
`name` VARCHAR(50) NOT NULL,
`provider_id` VARCHAR(50) NULL,
`image` BLOB NULL,
PRIMARY KEY (`id`),
INDEX `fk_Mealprovider_idx` (`provider_id` ASC),
CONSTRAINT `fk_Mealprovider`
FOREIGN KEY (`provider_id`)
REFERENCES `meetwithfriends`.`meal_providers` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION);
CREATE TABLE `meetwithfriends`.`meetings` (
`id` varchar(50) NOT NULL,
`meeting_date` datetime DEFAULT NULL,
`creator_id` varchar(50) DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
`group_id` varchar(50) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `fk_Creatorid_idx` (`creator_id`),
KEY `fk_MeetingGroupid_idx` (`group_id`),
CONSTRAINT `fk_Creatorid` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
CONSTRAINT `fk_MeetingGroupid` FOREIGN KEY (`group_id`) REFERENCES `groups` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION
);
CREATE TABLE `meetwithfriends`.`meals_in_meetings` (
`id` VARCHAR(50) NOT NULL,
`meal_id` VARCHAR(50) NOT NULL,
`meeting_id` VARCHAR(50) NOT NULL,
`votes_num` INT NULL,
PRIMARY KEY (`id`),
INDEX `fk_MealsInMeetings1_idx` (`meal_id` ASC),
INDEX `fk_MealsInMeetings2_idx` (`meeting_id` ASC),
CONSTRAINT `fk_MealsInMeetings1`
FOREIGN KEY (`meal_id`)
REFERENCES `meetwithfriends`.`meals` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION,
CONSTRAINT `fk_MealsInMeetings2`
FOREIGN KEY (`meeting_id`)
REFERENCES `meetwithfriends`.`meetings` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION);
CREATE TABLE `meetwithfriends`.`places_in_meetings` (
`id` VARCHAR(50) NOT NULL,
`place_id` VARCHAR(50) NOT NULL,
`meeting_id` VARCHAR(50) NOT NULL,
`votes_num` INT NULL,
PRIMARY KEY (`id`),
INDEX `fk_PlacesInMeetings1_idx` (`place_id` ASC),
INDEX `fk_PlacesInMeetings2_idx` (`meeting_id` ASC),
CONSTRAINT `fk_PlacesInMeetings1`
FOREIGN KEY (`place_id`)
REFERENCES `meetwithfriends`.`places` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION,
CONSTRAINT `fk_PlacesInMeetings2`
FOREIGN KEY (`meeting_id`)
REFERENCES `meetwithfriends`.`meetings` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION);
| true |
b0400c2d9a91ac9ab65e19fc4b4a0ab17b47ad2c | SQL | Nicolas2191913/420-W23-SF-TP01 | /Etape01_Etudiant01_Creation_Tables.sql | UTF-8 | 1,585 | 3.359375 | 3 | [] | no_license | /*
Travail pratique 1
--> Nicolas Lavigne
Tristan Hamel
Date 02-07-2021
*/
DROP DATABASE IF EXISTS PosteClientDFC;
CREATE DATABASE IF NOT EXISTS PosteClientDFC;
USE PosteClientDFC;
-- -----------------------------------------------------
-- Étape 1 : Création des tables --
-- -----------------------------------------------------
SET foreign_key_checks = 0;
DROP TABLE IF EXISTS poste;
CREATE TABLE IF NOT EXISTS poste(
id_poste INT UNSIGNED NOT NULL PRIMARY KEY,
desc_poste VARCHAR(45),
desc_processeur VARCHAR(45),
nb_ram_mo VARCHAR(45),
tail_disque_giga INT UNSIGNED,
id_fabricant INT UNSIGNED,
id_local INT UNSIGNED,
FOREIGN KEY (id_fabricant)
REFERENCES fabricant (id_fabricant),
FOREIGN KEY (id_local)
REFERENCES `local` (id_local))
ENGINE=InnoDB;
DROP TABLE IF EXISTS `local`;
CREATE TABLE IF NOT EXISTS `local`(
id_local INT UNSIGNED NOT NULL PRIMARY KEY,
nom_local VARCHAR(45))
ENGINE=InnoDB DEFAULT CHARSET = latin1;
DROP TABLE IF EXISTS peripherique;
CREATE TABLE IF NOT EXISTS peripherique(
id_peripherique INT UNSIGNED NOT NULL PRIMARY KEY,
nom_peripherique VARCHAR(45),
id_poste INT UNSIGNED,
id_fabricant INT UNSIGNED,
FOREIGN KEY (id_poste)
REFERENCES poste (id_poste),
FOREIGN KEY (id_fabricant)
REFERENCES fabricant(id_fabricant))
ENGINE=InnoDB;
DROP TABLE IF EXISTS fabricant;
CREATE TABLE IF NOT EXISTS fabricant(
id_fabricant INT UNSIGNED NOT NULL PRIMARY KEY,
nom_fabricant VARCHAR(45))
ENGINE=InnoDB;
SET foreign_key_checks = 1; | true |
9b2d6d709269984739f243f5c74be0c55ce259d9 | SQL | franciol/Projeto1_Megadados2019 | /Fase1/Scripts/06_tag_bird.sql | UTF-8 | 224 | 2.578125 | 3 | [] | no_license | USE ara_ara;
DROP PROCEDURE IF EXISTS tag_bird;
DELIMITER //
CREATE PROCEDURE tag_bird(IN id_bird INT, IN idpost INT)
BEGIN
INSERT INTO menciona_passaro (id_post, id_passaro) VALUES (idpost, id_bird);
END//
DELIMITER ; | true |
8d00143d9260927260c3d4bac425f9a8d84c029b | SQL | zdergatchev/Database-Basic | /15 Exam Preparation I (AMS-Airport Management System)/13.Last Departing Flights.sql | UTF-8 | 410 | 4.03125 | 4 | [
"MIT"
] | permissive | SELECT * FROM
(SELECT f.flight_id, f.departure_time, f.arrival_time,
o.airport_name AS `origin`, d.airport_name AS `destination`
FROM flights AS f
INNER JOIN airports AS o ON o.airport_id = f.origin_airport_id
INNER JOIN airports AS d ON d.airport_id = f.destination_airport_id
WHERE f.`status` = 'Departing'
ORDER BY f.departure_time DESC
LIMIT 5) AS `last_5`
ORDER BY departure_time ASC, flight_id ASC;
| true |
4079c4d0a2b9a0d231aeb90d1d5874963fecd2f5 | SQL | silence-do-good/stress-test-Postgres-and-MySQL | /dump/high/day15/select2350.sql | UTF-8 | 262 | 2.921875 | 3 | [] | no_license |
SELECT sen.name
FROM SENSOR sen, SENSOR_TYPE st, COVERAGE_INFRASTRUCTURE ci
WHERE sen.SENSOR_TYPE_ID=st.id AND st.name='WeMo' AND sen.id=ci.SENSOR_ID AND ci.INFRASTRUCTURE_ID=ANY(array['6076','3091','4038','4206','2019','4100_7','5212','2069','6024','2026'])
| true |
596b70a724ec825b2704745e239b9c7a901894ff | SQL | 50poff/CapstoneProject | /SQL/db_populate3.sql | UTF-8 | 28,010 | 2.609375 | 3 | [] | no_license | -- -------------------------------- --
-- db_populate.sql --
-- -------------------------------- --
-- This is a script to populate the --
-- database with testing data --
-- -------------------------------- --
/* People */
INSERT INTO People (first_name, last_name, email, created_by, p_password, p_location) VALUES ('Michael', 'Clayton', 'test1@test.com', 1, "$2a$10$SJfVmo.2enEVTnoyWRwh3OdX0kSCsYjodFUUk9bLlvuNjOHqaUBVi", 'Brazil');
INSERT INTO `DaiHire`.`People` (`first_name`, `last_name`, `email`, `created_by`, `p_password`, `p_location`) VALUES ('Adam', 'Admin', 'admin@test.com', '1', "$2a$10$04PY7MXrMUqIVgsQzM5Vqu1de0wnZ1iIWKfHdZfvd5ioW5hloBGXK", 'Brazil');
INSERT INTO `DaiHire`.`People` (`first_name`, `last_name`, `email`, `created_by`, `p_password`, `p_location`) VALUES ('Harry', 'HTM', 'htm@test.com', '1', "$2a$10$1B2VwZU0pb61O53cLMHOm.YKfRdspm.gh0eo.rjMPjgqQbSctpoui", 'Brazil');
INSERT INTO `DaiHire`.`People` (`first_name`, `last_name`, `email`, `created_by`, `p_password`, `p_location`) VALUES ('Morgan', 'Manager', 'manager@test.com', '1', "$2a$10$PH/olUs6g/U1G40mnhy9UO5zxg4sub/yJhmpwJLDTho9qrXPYn1.m", 'Brazil');
INSERT INTO `DaiHire`.`People` (`first_name`, `last_name`, `email`, `created_by`, `p_password`, `p_location`) VALUES ('Irene', 'Interviewer', 'irene@test.com', '1', "$2a$10$fq2qqBWa..rVwnt6GPpHjuhJOaOrkG0CfaS5OuyePyPBpRqalpUF2", 'Brazil');
INSERT INTO `DaiHire`.`People` (`first_name`, `last_name`, `email`, `created_by`, `p_password`, `p_location`) VALUES ('Liam', 'Leader', 'liam@test.com', '1', "$2a$10$3uhQT58JnW1.fKxNVkXPluweg/vkHa10yjMqvBhRjDcPdcIIopzNS", 'Brazil');
INSERT INTO `DaiHire`.`People` (`first_name`, `last_name`, `email`, `created_by`, `p_password`, `p_location`, `is_active`) VALUES ('India', 'Interviewer', 'india@test.com', '1', "$2a$10$YmtFojeWc8DSMFMAdSz9TurVigGVw44TOBcuhALigxH8FBJWK1qGG", 'Brazil', '1');
INSERT INTO `DaiHire`.`People` (`first_name`, `last_name`, `email`, `created_by`, `p_password`, `p_location`, `is_active`) VALUES ('Iroh', 'Interviewer', 'iroh@test.com', '1', "$2a$10$CnI7YI7ZkO6BFNOb0XbbRumuJemRIjf5STAB9H3WctK085JudL7m6", 'Brazil', '1');
INSERT INTO `DaiHire`.`People` (`first_name`, `last_name`, `email`, `created_by`, `p_password`, `p_location`, `is_active`) VALUES ('Isaac', 'Interviewer', 'isaac@test.com', '1', "$2a$10$VXtlxKiPJ4FCHIZ1MVUYDeGVe1TNgAVhaYTMB7JGiIlh03LqdIHW6", 'Brazil', '1');
INSERT INTO `DaiHire`.`People` (`first_name`, `last_name`, `email`, `created_by`, `p_password`, `p_location`, `is_active`) VALUES ('Ivan', 'Interviewer', 'ivan@test.com', '1', "$2a$10$geqdjfA2nPTqBSTwpo8QQO65eXEclkYaAL.5LPRH4KXTjXrvA04Du", 'Brazil', '1');
INSERT INTO `DaiHire`.`People` (`first_name`, `last_name`, `email`, `created_by`, `p_password`, `p_location`, `is_active`) VALUES ('Island', 'Interviewer', 'island@test.com', '1', "$2a$10$EMRtRA.99wQ9eBq8QzRHAupSflFA5OxcU9dBrCZT3Ja5c5V9gbSGq", 'Brazil', '1');
INSERT INTO `DaiHire`.`People` (`first_name`, `last_name`, `email`, `created_by`, `p_password`, `p_location`) VALUES ('Larry', 'Leader', 'larry@test.com', '1', "$2a$10$3uhQT58JnW1.fKxNVkXPluweg/vkHa10yjMqvBhRjDcPdcIIopzNS", 'Brazil');
INSERT INTO `DaiHire`.`People` (`first_name`, `last_name`, `email`, `created_by`, `p_password`, `p_location`) VALUES ('Lorne', 'Leader', 'lorne@test.com', '1', "$2a$10$3uhQT58JnW1.fKxNVkXPluweg/vkHa10yjMqvBhRjDcPdcIIopzNS", 'Brazil');
/* Candidate */
INSERT INTO Candidate (first_name, last_name, email, created_by) VALUES ("Bob", "White", "bwhite@cand.com", 1);
INSERT INTO Candidate (first_name, last_name, email, created_by) VALUES ("Alice", "Black", "ablack@cand.com", 1);
INSERT INTO Candidate (first_name, last_name, email, created_by) VALUES ("Marcus", "Green", "mgreen@cand.com", 1);
INSERT INTO Candidate (first_name, last_name, email, created_by) VALUES ("Jamie", "Red", "jred@cand.com", 1);
INSERT INTO Candidate (first_name, last_name, email, created_by) VALUES ("Dexter", "Orange", "dorange@cand.com", 1);
INSERT INTO Candidate (first_name, last_name, email, created_by) VALUES ("Ocean", "Blue", "oblue@cand.com", 1);
INSERT INTO Candidate (first_name, last_name, email, created_by) VALUES ("Hermit", "Purple", "hpurple@cand.com", 1);
INSERT INTO Candidate (first_name, last_name, email, created_by) VALUES ("Princess", "Peach", "ppeach@cand.com", 1);
/* Role */
INSERT INTO Role (role_name) VALUES ("Administrator"),("Hiring Team Member"),("Manager"),("Interviewer"),("Interview Leader");
/* PeopleRoles */
-- All the roles for the user Test1 --
INSERT INTO `DaiHire`.`PeopleRoles` (`people_id`, `role_id`, `role_added_by`) VALUES ('1', '1', '1'); -- Test God user: Administrator
INSERT INTO `DaiHire`.`PeopleRoles` (`people_id`, `role_id`, `role_added_by`) VALUES ('1', '2', '1'); -- Hiring Team Member
INSERT INTO `DaiHire`.`PeopleRoles` (`people_id`, `role_id`, `role_added_by`) VALUES ('1', '3', '1'); -- Manager
INSERT INTO `DaiHire`.`PeopleRoles` (`people_id`, `role_id`, `role_added_by`) VALUES ('1', '4', '1'); -- Interviewer
INSERT INTO `DaiHire`.`PeopleRoles` (`people_id`, `role_id`, `role_added_by`) VALUES ('1', '5', '1'); -- Interview Leader
INSERT INTO `DaiHire`.`PeopleRoles` (`people_id`, `role_id`, `role_added_by`) VALUES ('2', '1', '1'); -- Test Admin
INSERT INTO `DaiHire`.`PeopleRoles` (`people_id`, `role_id`, `role_added_by`) VALUES ('3', '2', '1'); -- Test Hiring Team Member
INSERT INTO `DaiHire`.`PeopleRoles` (`people_id`, `role_id`, `role_added_by`) VALUES ('4', '3', '1'); -- Test Manager
-- interviewers
INSERT INTO `DaiHire`.`PeopleRoles` (`people_id`, `role_id`, `role_added_by`) VALUES ('5', '4', '1'); -- Test Interviewer Irene
INSERT INTO `DaiHire`.`PeopleRoles` (`people_id`, `role_id`, `role_added_by`) VALUES ('7', '4', '1'); -- India
INSERT INTO `DaiHire`.`PeopleRoles` (`people_id`, `role_id`, `role_added_by`) VALUES ('8', '4', '1'); -- Iroh
INSERT INTO `DaiHire`.`PeopleRoles` (`people_id`, `role_id`, `role_added_by`) VALUES ('9', '4', '1'); -- Isaac
INSERT INTO `DaiHire`.`PeopleRoles` (`people_id`, `role_id`, `role_added_by`) VALUES ('10', '4', '1'); -- Ivan
INSERT INTO `DaiHire`.`PeopleRoles` (`people_id`, `role_id`, `role_added_by`) VALUES ('11', '4', '1'); -- Island
-- interview leaders
INSERT INTO `DaiHire`.`PeopleRoles` (`people_id`, `role_id`, `role_added_by`) VALUES ('6', '5', '1'); -- Test Interview Leader Liam
INSERT INTO `DaiHire`.`PeopleRoles` (`people_id`, `role_id`, `role_added_by`) VALUES ('12', '5', '1'); -- Test Interview Leader Larry
INSERT INTO `DaiHire`.`PeopleRoles` (`people_id`, `role_id`, `role_added_by`) VALUES ('13', '5', '1'); -- Test Interview Leader Lorne
/*
-- see all users and all their roles neatly grouped together
SELECT CONCAT(p.first_name, " ", p.last_name) as "full name", GROUP_CONCAT(r.roleName SEPARATOR ", ") as "roles"
FROM PeopleRoles pr, People p, Role r
WHERE p.people_id = pr.people_id
AND pr.role_id = r.idRole;
*/
/* Profile */
INSERT INTO Profile (profile_name) VALUES ('Java Backend'),('JavaScript Full Stack'),('Front End Developer'),('Vampire Slayer'),('Android Developer'),('iOS Developer'),('Crab Fisherman'),('Turtle Hermit'),('DJ'),('Python Developer'),('Network Programmer'),('Dragon Slayer'),('Blacksmith'),('PHP Developer'),('Systems Analyst'),('System Administrator'),('Database Administrator');
/* CandidateProfile */
INSERT INTO `DaiHire`.`candidateProfile` (`candidate_id`, `profile_id`) VALUES ('1', '1'),('1', '2'),('1', '3'),('1', '4'),('1', '5'),('1', '6'),('2', '1'),('2', '2'),('2', '3'),('2', '9'),('2', '10'),('2', '15'),('3', '1'),('3', '2'),('3', '3'),('3', '8'),('3', '12'),('3', '14'),('4', '2'),('4', '11'),('5', '3'),('5', '11'),('6', '3'),('6', '8'),('7', '11'),('7', '12'),('7', '13'),('7', '14'),('8', '9'),('8', '11'),('8', '13'),('8', '15');
/* Interviewer */
-- INSERT INTO `DaiHire`.`Interviewer` (`max_interviews`, `leader`, `interviewer_id`) VALUES ('5', '1', '1'); -- interviewer with id of 1 is a leader and can do 5 interviews per week
/* MeetingRoom */
INSERT INTO `DaiHire`.`MeetingRoom` (`room_name`, `room_location`) VALUES ('TEC259', 'Camosun');
INSERT INTO `DaiHire`.`MeetingRoom` (`room_name`, `room_location`) VALUES ('Oval Office', 'White House');
INSERT INTO `DaiHire`.`MeetingRoom` (`room_name`, `room_location`) VALUES ('Corey\'s room', 'Corey\'s house');
INSERT INTO `DaiHire`.`MeetingRoom` (`room_name`, `room_location`) VALUES ('Hyperbolic Time Chamber', 'Kami\'s Lookout');
INSERT INTO `DaiHire`.`MeetingRoom` (`room_name`, `room_location`) VALUES ('The Duke\'s Chambers', 'Lumbridge Castle');
INSERT INTO `DaiHire`.`MeetingRoom` (`room_name`, `room_location`) VALUES ('Moth Priest\'s Chambers', 'White-Gold Tower');
INSERT INTO `DaiHire`.`MeetingRoom` (`room_name`, `room_location`) VALUES ('Men\'s Washroom', 'Thrifty Foods Broadmead');
INSERT INTO `DaiHire`.`MeetingRoom` (`room_name`, `room_location`) VALUES ('Secret Underground Vault', 'LEGO House');
/* peopleProfile */
INSERT INTO `DaiHire`.`peopleProfile` (`people_id`, `profile_id`) VALUES ('1', '1'); -- Java Backend
INSERT INTO `DaiHire`.`peopleProfile` (`people_id`, `profile_id`) VALUES ('1', '2'); -- JavaScript Full Stack
INSERT INTO `DaiHire`.`peopleProfile` (`people_id`, `profile_id`) VALUES ('1', '3'); -- Front End Developer
INSERT INTO `DaiHire`.`peopleProfile` (`people_id`, `profile_id`) VALUES ('5', '1'); -- Java Backend
INSERT INTO `DaiHire`.`peopleProfile` (`people_id`, `profile_id`) VALUES ('7', '2'); -- JavaScript Full Stack
INSERT INTO `DaiHire`.`peopleProfile` (`people_id`, `profile_id`) VALUES ('8', '3'); -- Front End Developer
INSERT INTO `DaiHire`.`peopleProfile` (`people_id`, `profile_id`) VALUES ('7', '1');
INSERT INTO `DaiHire`.`peopleProfile` (`people_id`, `profile_id`) VALUES ('7', '3');
INSERT INTO `DaiHire`.`peopleProfile` (`people_id`, `profile_id`) VALUES ('8', '2');
INSERT INTO `DaiHire`.`peopleProfile` (`people_id`, `profile_id`) VALUES ('6', '3');
INSERT INTO `DaiHire`.`peopleProfile` (`people_id`, `profile_id`) VALUES ('6', '2');
/* time slots */
-- Here, I have 30-minute timeslots that cover each workday, and the timeslots go from 8am to 7pm
-- (All the inserts are in military time)
-- Monday --
INSERT INTO `DaiHire`.`timeslot` (`week_day`, `start_time`, `end_time`) VALUES
('Monday', '7:00:00', '7:30:00'),
('Monday', '7:30:00', '8:00:00'),
('Monday', '8:00:00', '8:30:00'),
('Monday', '8:30:00', '9:00:00'),
('Monday', '9:00:00', '9:30:00'),
('Monday', '9:30:00', '10:00:00'),
('Monday', '10:00:00', '10:30:00'),
('Monday', '10:30:00', '11:00:00'),
('Monday', '11:00:00', '11:30:00'),
('Monday', '11:30:00', '12:00:00'),
('Monday', '12:00:00', '12:30:00'),
('Monday', '12:30:00', '13:00:00'),
('Monday', '13:00:00', '13:30:00'),
('Monday', '13:30:00', '14:00:00'),
('Monday', '14:00:00', '14:30:00'),
('Monday', '14:30:00', '15:00:00'),
('Monday', '15:00:00', '15:30:00'),
('Monday', '15:30:00', '16:00:00'),
('Monday', '16:00:00', '16:30:00'),
('Monday', '16:30:00', '17:00:00'),
('Monday', '17:00:00', '17:30:00'),
('Monday', '17:30:00', '18:00:00'),
('Monday', '18:00:00', '18:30:00'),
('Monday', '18:30:00', '19:00:00');
-- Tuesday --
INSERT INTO `DaiHire`.`timeslot` (`week_day`, `start_time`, `end_time`) VALUES ('Tuesday', '7:00:00', '7:30:00'),
('Tuesday', '7:30:00', '8:00:00'),('Tuesday', '8:00:00', '8:30:00'),('Tuesday', '8:30:00', '9:00:00'),
('Tuesday', '9:00:00', '9:30:00'),('Tuesday', '9:30:00', '10:00:00'),
('Tuesday', '10:00:00', '10:30:00'),
('Tuesday', '10:30:00', '11:00:00'),
('Tuesday', '11:00:00', '11:30:00'),('Tuesday', '11:30:00', '12:00:00'),('Tuesday', '12:00:00', '12:30:00'),
('Tuesday', '12:30:00', '13:00:00'),('Tuesday', '13:00:00', '13:30:00'),('Tuesday', '13:30:00', '14:00:00'),
('Tuesday', '14:00:00', '14:30:00'),('Tuesday', '14:30:00', '15:00:00'),('Tuesday', '15:00:00', '15:30:00'),
('Tuesday', '15:30:00', '16:00:00'),('Tuesday', '16:00:00', '16:30:00'),('Tuesday', '16:30:00', '17:00:00'),
('Tuesday', '17:00:00', '17:30:00'),('Tuesday', '17:30:00', '18:00:00'),('Tuesday', '18:00:00', '18:30:00'),
('Tuesday', '18:30:00', '19:00:00');
-- Wednesday -
INSERT INTO `DaiHire`.`timeslot` (`week_day`, `start_time`, `end_time`) VALUES ('Wednesday', '7:00:00', '7:30:00'),
('Wednesday', '7:30:00', '8:00:00'),('Wednesday', '8:00:00', '8:30:00'),('Wednesday', '8:30:00', '9:00:00'),
('Wednesday', '9:00:00', '9:30:00'),('Wednesday', '9:30:00', '10:00:00'),
('Wednesday', '10:00:00', '10:30:00'),
('Wednesday', '10:30:00', '11:00:00'),
('Wednesday', '11:00:00', '11:30:00'),('Wednesday', '11:30:00', '12:00:00'),('Wednesday', '12:00:00', '12:30:00'),
('Wednesday', '12:30:00', '13:00:00'),('Wednesday', '13:00:00', '13:30:00'),('Wednesday', '13:30:00', '14:00:00'),
('Wednesday', '14:00:00', '14:30:00'),('Wednesday', '14:30:00', '15:00:00'),('Wednesday', '15:00:00', '15:30:00'),
('Wednesday', '15:30:00', '16:00:00'),('Wednesday', '16:00:00', '16:30:00'),('Wednesday', '16:30:00', '17:00:00'),
('Wednesday', '17:00:00', '17:30:00'),('Wednesday', '17:30:00', '18:00:00'),('Wednesday', '18:00:00', '18:30:00'),
('Wednesday', '18:30:00', '19:00:00');
-- Thursday --
INSERT INTO `DaiHire`.`timeslot` (`week_day`, `start_time`, `end_time`) VALUES ('Thursday', '7:00:00', '7:30:00'),
('Thursday', '7:30:00', '8:00:00'),('Thursday', '8:00:00', '8:30:00'),('Thursday', '8:30:00', '9:00:00'),
('Thursday', '9:00:00', '9:30:00'),('Thursday', '9:30:00', '10:00:00'),
('Thursday', '10:00:00', '10:30:00'),
('Thursday', '10:30:00', '11:00:00'),
('Thursday', '11:00:00', '11:30:00'),('Thursday', '11:30:00', '12:00:00'),('Thursday', '12:00:00', '12:30:00'),
('Thursday', '12:30:00', '13:00:00'),('Thursday', '13:00:00', '13:30:00'),('Thursday', '13:30:00', '14:00:00'),
('Thursday', '14:00:00', '14:30:00'),('Thursday', '14:30:00', '15:00:00'),('Thursday', '15:00:00', '15:30:00'),
('Thursday', '15:30:00', '16:00:00'),('Thursday', '16:00:00', '16:30:00'),('Thursday', '16:30:00', '17:00:00'),
('Thursday', '17:00:00', '17:30:00'),('Thursday', '17:30:00', '18:00:00'),('Thursday', '18:00:00', '18:30:00'),
('Thursday', '18:30:00', '19:00:00');
-- Friday --
INSERT INTO `DaiHire`.`timeslot` (`week_day`, `start_time`, `end_time`) VALUES ('Friday', '7:00:00', '7:30:00'),
('Friday', '7:30:00', '8:00:00'),('Friday', '8:00:00', '8:30:00'),('Friday', '8:30:00', '9:00:00'),
('Friday', '9:00:00', '9:30:00'),('Friday', '9:30:00', '10:00:00'),
('Friday', '10:00:00', '10:30:00'),
('Friday', '10:30:00', '11:00:00'),
('Friday', '11:00:00', '11:30:00'),('Friday', '11:30:00', '12:00:00'),('Friday', '12:00:00', '12:30:00'),
('Friday', '12:30:00', '13:00:00'),('Friday', '13:00:00', '13:30:00'),('Friday', '13:30:00', '14:00:00'),
('Friday', '14:00:00', '14:30:00'),('Friday', '14:30:00', '15:00:00'),('Friday', '15:00:00', '15:30:00'),
('Friday', '15:30:00', '16:00:00'),('Friday', '16:00:00', '16:30:00'),('Friday', '16:30:00', '17:00:00'),
('Friday', '17:00:00', '17:30:00'),('Friday', '17:30:00', '18:00:00'),('Friday', '18:00:00', '18:30:00'),
('Friday', '18:30:00', '19:00:00');
/* insert candidate availability*/
INSERT INTO `DaiHire`.`CandidateAvailability` (`candidate_id`,`timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES (1,'Monday', '8:30:00', '9:00:00');
INSERT INTO `DaiHire`.`CandidateAvailability` (`candidate_id`, `timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES (1, 'Monday', '9:00:00', '9:30:00');
INSERT INTO `DaiHire`.`CandidateAvailability` (`candidate_id`,`timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES (1,'Monday', '9:30:00', '10:00:00');
INSERT INTO `DaiHire`.`CandidateAvailability` (`candidate_id`, `timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES (1, 'Monday', '10:00:00', '10:30:00');
INSERT INTO `DaiHire`.`CandidateAvailability` (`candidate_id`, `timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES (1, 'Monday', '10:30:00', '11:00:00');
INSERT INTO `DaiHire`.`CandidateAvailability` (`candidate_id`,`timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES (1,'Tuesday', '9:30:00', '10:00:00');
INSERT INTO `DaiHire`.`CandidateAvailability` (`candidate_id`,`timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES (1,'Tuesday', '10:30:00', '11:00:00');
INSERT INTO `DaiHire`.`CandidateAvailability` (`candidate_id`,`timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES (1,'Tuesday', '11:30:00', '12:00:00');
INSERT INTO `DaiHire`.`CandidateAvailability` (`candidate_id`,`timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES (1,'Wednesday', '10:30:00', '11:00:00');
INSERT INTO `DaiHire`.`CandidateAvailability` (`candidate_id`,`timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES (1,'Wednesday', '11:30:00', '12:00:00');
INSERT INTO `DaiHire`.`CandidateAvailability` (`candidate_id`,`timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES (1,'Thursday', '8:30:00', '9:00:00');
INSERT INTO `DaiHire`.`CandidateAvailability` (`candidate_id`,`timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES (1,'Thursday', '9:30:00', '10:00:00');
INSERT INTO `DaiHire`.`CandidateAvailability` (`candidate_id`,`timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES (1,'Thursday', '10:30:00', '11:00:00');
INSERT INTO `DaiHire`.`CandidateAvailability` (`candidate_id`,`timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES (1,'Thursday', '11:30:00', '12:00:00');
INSERT INTO `DaiHire`.`CandidateAvailability` (`candidate_id`,`timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES (1,'Friday', '8:30:00', '9:00:00');
INSERT INTO `DaiHire`.`CandidateAvailability` (`candidate_id`,`timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES (1,'Friday', '9:30:00', '10:00:00');
INSERT INTO `DaiHire`.`CandidateAvailability` (`candidate_id`,`timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES (1,'Friday', '10:30:00', '11:00:00');
INSERT INTO `DaiHire`.`CandidateAvailability` (`candidate_id`,`timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES (1,'Friday', '11:30:00', '12:00:00');
INSERT INTO `DaiHire`.`CandidateAvailability` (`candidate_id`,`timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES (2,'Tuesday', '8:30:00', '9:00:00');
INSERT INTO `DaiHire`.`CandidateAvailability` (`candidate_id`,`timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES (2,'Tuesday', '9:30:00', '10:00:00');
INSERT INTO `DaiHire`.`CandidateAvailability` (`candidate_id`,`timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES (2,'Tuesday', '10:30:00', '11:00:00');
INSERT INTO `DaiHire`.`CandidateAvailability` (`candidate_id`,`timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES (2,'Tuesday', '11:30:00', '12:00:00');
INSERT INTO `DaiHire`.`CandidateAvailability` (`candidate_id`,`timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES (1,'Wednesday', '8:30:00', '9:00:00');
INSERT INTO `DaiHire`.`CandidateAvailability` (`candidate_id`,`timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES (1,'Wednesday', '9:30:00', '10:00:00');
INSERT INTO `DaiHire`.`CandidateAvailability` (`candidate_id`,`timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES (3,'Wednesday', '10:30:00', '11:00:00');
INSERT INTO `DaiHire`.`CandidateAvailability` (`candidate_id`,`timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES (3,'Wednesday', '11:30:00', '12:00:00');
INSERT INTO `DaiHire`.`CandidateAvailability` (`candidate_id`,`timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES (3,'Thursday', '8:30:00', '9:00:00');
INSERT INTO `DaiHire`.`CandidateAvailability` (`candidate_id`,`timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES (3,'Thursday', '9:30:00', '10:00:00');
INSERT INTO `DaiHire`.`CandidateAvailability` (`candidate_id`,`timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES (2,'Thursday', '10:30:00', '11:00:00');
INSERT INTO `DaiHire`.`CandidateAvailability` (`candidate_id`,`timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES (3,'Thursday', '11:30:00', '12:00:00');
INSERT INTO `DaiHire`.`CandidateAvailability` (`candidate_id`,`timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES (3,'Friday', '8:30:00', '9:00:00');
INSERT INTO `DaiHire`.`CandidateAvailability` (`candidate_id`,`timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES (3,'Friday', '9:30:00', '10:00:00');
INSERT INTO `DaiHire`.`CandidateAvailability` (`candidate_id`,`timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES (3,'Friday', '10:30:00', '11:00:00');
INSERT INTO `DaiHire`.`CandidateAvailability` (`candidate_id`,`timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES (3,'Friday', '11:30:00', '12:00:00');
/*insert into meeting table */
INSERT INTO `DaiHire`.`Meeting` (`candidate_id`, `meeting_datetime`, `meeting_room_id`, `meeting_owner_id`, `meeting_status`, `profile_id`) VALUES (1, '2019-10-6-13:00', 1, 1, 'Scheduled', 1);
INSERT INTO `DaiHire`.`Meeting` (`candidate_id`, `meeting_datetime`, `meeting_room_id`, `meeting_owner_id`, `meeting_status`, `profile_id`) VALUES (2, '2019-10-7-14:00', 2, 1, 'Scheduled', 1);
INSERT INTO `DaiHire`.`Meeting` (`candidate_id`, `meeting_datetime`, `meeting_room_id`, `meeting_owner_id`, `meeting_status`, `profile_id`) VALUES (3, '2019-10-8-12:00', 3, 1, 'Scheduled', 1);
/* people in meeting */
INSERT INTO `DaiHire`.`PeopleInMeeting` (`people_id`, `meeting_id`) VALUES ('1', '1');
INSERT INTO `DaiHire`.`PeopleInMeeting` (`people_id`, `meeting_id`) VALUES ('1', '2');
INSERT INTO `DaiHire`.`PeopleInMeeting` (`people_id`, `meeting_id`) VALUES ('1', '3');
/* People availability */
INSERT INTO `DaiHire`.`PeopleAvailability` (`people_id`, `timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES ('6', 'Monday', '8:30', '9:00');
INSERT INTO `DaiHire`.`PeopleAvailability` (`people_id`, `timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES ('6', 'Monday', '9:00', '9:30');
INSERT INTO `DaiHire`.`PeopleAvailability` (`people_id`, `timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES ('6', 'Monday', '10:00', '10:30');
INSERT INTO `DaiHire`.`PeopleAvailability` (`people_id`, `timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES ('6', 'Tuesday', '8:00', '8:30');
INSERT INTO `DaiHire`.`PeopleAvailability` (`people_id`, `timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES ('6', 'Tuesday', '8:30', '9:00');
INSERT INTO `DaiHire`.`PeopleAvailability` (`people_id`, `timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES ('6', 'Tuesday', '9:00', '9:30');
INSERT INTO `DaiHire`.`PeopleAvailability` (`people_id`, `timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES ('6', 'Tuesday', '9:30', '10:00');
INSERT INTO `DaiHire`.`PeopleAvailability` (`people_id`, `timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES ('6', 'Friday', '8:00', '8:30');
INSERT INTO `DaiHire`.`PeopleAvailability` (`people_id`, `timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES ('6', 'Friday', '8:30', '9:00');
INSERT INTO `DaiHire`.`PeopleAvailability` (`people_id`, `timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES ('6', 'Friday', '9:00', '9:30');
INSERT INTO `DaiHire`.`PeopleAvailability` (`people_id`, `timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES ('6', 'Friday', '9:30', '10:00');
INSERT INTO `DaiHire`.`PeopleAvailability` (`people_id`, `timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES ('1', 'Monday', '8:00:00', '8:30:00');
INSERT INTO `DaiHire`.`PeopleAvailability` (`people_id`, `timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES ('8', 'Monday', '8:00', '8:30');
INSERT INTO `DaiHire`.`PeopleAvailability` (`people_id`, `timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES ('8', 'Monday', '8:30', '9:00');
INSERT INTO `DaiHire`.`PeopleAvailability` (`people_id`, `timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES ('8', 'Monday', '9:00', '9:30');
INSERT INTO `DaiHire`.`PeopleAvailability` (`people_id`, `timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES ('8', 'Monday', '9:30', '10:00');
INSERT INTO `DaiHire`.`PeopleAvailability` (`people_id`, `timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES ('8', 'Tuesday', '8:00', '8:30');
INSERT INTO `DaiHire`.`PeopleAvailability` (`people_id`, `timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES ('8', 'Tuesday', '8:30', '9:00');
INSERT INTO `DaiHire`.`PeopleAvailability` (`people_id`, `timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES ('8', 'Tuesday', '9:00', '9:30');
INSERT INTO `DaiHire`.`PeopleAvailability` (`people_id`, `timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES ('8', 'Tuesday', '9:30', '10:00');
INSERT INTO `DaiHire`.`PeopleAvailability` (`people_id`, `timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES ('5', 'Monday', '8:00', '8:30');
INSERT INTO `DaiHire`.`PeopleAvailability` (`people_id`, `timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES ('5', 'Monday', '8:30', '9:00');
INSERT INTO `DaiHire`.`PeopleAvailability` (`people_id`, `timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES ('5', 'Monday', '9:00', '9:30');
INSERT INTO `DaiHire`.`PeopleAvailability` (`people_id`, `timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES ('5', 'Monday', '9:30', '10:00');
INSERT INTO `DaiHire`.`PeopleAvailability` (`people_id`, `timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES ('5', 'Monday', '10:00', '10:30');
INSERT INTO `DaiHire`.`PeopleAvailability` (`people_id`, `timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES ('5', 'Monday', '10:30', '11:00');
INSERT INTO `DaiHire`.`PeopleAvailability` (`people_id`, `timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES ('5', 'Tuesday', '8:00', '8:30');
INSERT INTO `DaiHire`.`PeopleAvailability` (`people_id`, `timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES ('5', 'Tuesday', '8:30', '9:00');
INSERT INTO `DaiHire`.`PeopleAvailability` (`people_id`, `timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES ('5', 'Tuesday', '9:00', '9:30');
INSERT INTO `DaiHire`.`PeopleAvailability` (`people_id`, `timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES ('5', 'Tuesday', '9:30', '10:00');
INSERT INTO `DaiHire`.`PeopleAvailability` (`people_id`, `timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES ('7', 'Monday', '8:00', '8:30');
INSERT INTO `DaiHire`.`PeopleAvailability` (`people_id`, `timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES ('7', 'Monday', '8:30', '9:00');
INSERT INTO `DaiHire`.`PeopleAvailability` (`people_id`, `timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES ('7', 'Monday', '9:00', '9:30');
INSERT INTO `DaiHire`.`PeopleAvailability` (`people_id`, `timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES ('7', 'Monday', '9:30', '10:00');
INSERT INTO `DaiHire`.`PeopleAvailability` (`people_id`, `timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES ('7', 'Monday', '10:00', '10:30');
INSERT INTO `DaiHire`.`PeopleAvailability` (`people_id`, `timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES ('7', 'Tuesday', '8:00', '8:30');
INSERT INTO `DaiHire`.`PeopleAvailability` (`people_id`, `timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES ('7', 'Tuesday', '8:30', '9:00');
INSERT INTO `DaiHire`.`PeopleAvailability` (`people_id`, `timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES ('7', 'Tuesday', '9:00', '9:30');
INSERT INTO `DaiHire`.`PeopleAvailability` (`people_id`, `timeslot_week_day`, `timeslot_start_time`, `timeslot_end_time`) VALUES ('7', 'Tuesday', '9:30', '10:00');
| true |
6a0aaef5c864ea449b8ec0f3048e0b91870bd89b | SQL | bblwq/Tutorial_Registration | /ddl.sql | UTF-8 | 2,222 | 3.28125 | 3 | [] | no_license | -- phpMyAdmin SQL Dump
-- version 4.6.6deb4
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: Jun 13, 2018 at 03:19 AM
-- Server version: 10.1.23-MariaDB-9+deb9u1
-- PHP Version: 7.0.27-0+deb9u1
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: `tutorial`
--
-- --------------------------------------------------------
--
-- Table structure for table `allocation`
--
CREATE TABLE `allocation` (
`emailAddress` varchar(50) NOT NULL,
`name` varchar(50) DEFAULT NULL,
`sessionID` int(11) DEFAULT NULL,
`question` varchar(200) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
-- --------------------------------------------------------
--
-- Table structure for table `session`
--
CREATE TABLE `session` (
`sessionID` int(11) NOT NULL,
`day` varchar(50) DEFAULT NULL,
`time` varchar(50) DEFAULT NULL,
`capability` int(11) DEFAULT NULL,
`remainPlace` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `session`
--
INSERT INTO `session` (`sessionID`, `day`, `time`, `capability`, `remainPlace`) VALUES
(11, 'Monday', '9:00-10:00', 2, 2),
(12, 'Monday', '11:00-12:00', 2, 2),
(21, 'Tuesday', '9:00-10:00', 2, 2),
(22, 'Tuesday', '14:00-15:00', 2, 2),
(31, 'Wednesday', '9:00-10:00', 2, 2);
--
-- Indexes for dumped tables
--
--
-- Indexes for table `allocation`
--
ALTER TABLE `allocation`
ADD PRIMARY KEY (`emailAddress`),
ADD KEY `sessionID` (`sessionID`);
--
-- Indexes for table `session`
--
ALTER TABLE `session`
ADD PRIMARY KEY (`sessionID`);
--
-- Constraints for dumped tables
--
--
-- Constraints for table `allocation`
--
ALTER TABLE `allocation`
ADD CONSTRAINT `allocation_ibfk_1` FOREIGN KEY (`sessionID`) REFERENCES `session` (`sessionID`);
/*!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 |
4047b9b0f12a221343e33d310b0e9e031b27b924 | SQL | vikasgadiya93/Wordpress | /admin/testimonial/wp_testimonial.sql | UTF-8 | 2,200 | 2.984375 | 3 | [] | no_license | -- phpMyAdmin SQL Dump
-- version 4.3.11
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Mar 08, 2017 at 06:23 AM
-- Server version: 5.6.24
-- PHP Version: 5.6.8
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: `etax`
--
-- --------------------------------------------------------
--
-- Table structure for table `wp_testimonial`
--
CREATE TABLE IF NOT EXISTS `wp_testimonial` (
`id` int(11) NOT NULL,
`name` varchar(255) NOT NULL,
`designation` varchar(255) NOT NULL,
`description` text NOT NULL,
`image` text NOT NULL
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `wp_testimonial`
--
INSERT INTO `wp_testimonial` (`id`, `name`, `designation`, `description`, `image`) VALUES
(6, 'Stephen Hill', 'Marketing Manager', 'This is Photoshop''s version of Lorem Ipsum. Proin gravida nibh vel velit auctor aliquet. Aenean sollicitudin,', 'http://localhost/etax/wp-content/uploads/2016/12/testimonial01-1.png'),
(7, 'Stephen Hill', 'Marketing Manager', 'This is Photoshop''s version of Lorem Ipsum. Proin gravida nibh vel velit auctor aliquet. Aenean sollicitudin,', 'http://localhost/etax/wp-content/uploads/2016/12/testimonial02-1.png'),
(8, 'Stephen Hill', 'Marketing Manager', 'his is Photoshop''s version of Lorem Ipsum. Proin gravida nibh vel velit auctor aliquet. Aenean sollicitudin,', 'http://localhost/etax/wp-content/uploads/2016/12/testimonial03.png');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `wp_testimonial`
--
ALTER TABLE `wp_testimonial`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `wp_testimonial`
--
ALTER TABLE `wp_testimonial`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=9;
/*!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 |
11ff16ab8f31a75e3d3c171eb9adc7cebf74ba6e | SQL | Frank-liang/51dev | /devops-1/api/app/cmdb.sql | UTF-8 | 14,184 | 2.765625 | 3 | [] | no_license | -- MySQL dump 10.14 Distrib 5.5.31-MariaDB, for Linux (x86_64)
--
-- Host: localhost Database: cmdbtest
-- ------------------------------------------------------
-- Server version 5.5.31-MariaDB-log
/*!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 `alembic_version`
--
DROP TABLE IF EXISTS `alembic_version`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `alembic_version` (
`version_num` varchar(32) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `alembic_version`
--
LOCK TABLES `alembic_version` WRITE;
/*!40000 ALTER TABLE `alembic_version` DISABLE KEYS */;
INSERT INTO `alembic_version` VALUES ('0725f9e44b59');
/*!40000 ALTER TABLE `alembic_version` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `cabinet`
--
DROP TABLE IF EXISTS `cabinet`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `cabinet` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(30) NOT NULL,
`idc_id` int(11) NOT NULL,
`power` varchar(20) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `ix_cabinet_idc_id` (`idc_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `cabinet`
--
LOCK TABLES `cabinet` WRITE;
/*!40000 ALTER TABLE `cabinet` DISABLE KEYS */;
INSERT INTO `cabinet` VALUES (1,'A11-22',0,'450');
/*!40000 ALTER TABLE `cabinet` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `department`
--
DROP TABLE IF EXISTS `department`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `department` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`department_name` varchar(50) NOT NULL,
`superior` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `department`
--
LOCK TABLES `department` WRITE;
/*!40000 ALTER TABLE `department` DISABLE KEYS */;
/*!40000 ALTER TABLE `department` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `idc`
--
DROP TABLE IF EXISTS `idc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `idc` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(50) NOT NULL,
`idc_name` varchar(30) NOT NULL,
`address` varchar(255) NOT NULL,
`phone` varchar(15) NOT NULL,
`email` varchar(30) NOT NULL,
`user_interface` varchar(50) NOT NULL,
`user_phone` varchar(20) NOT NULL,
`rel_cabinet_num` int(11) NOT NULL,
`pack_cabinet_num` int(11) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `ix_idc_name` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `idc`
--
LOCK TABLES `idc` WRITE;
/*!40000 ALTER TABLE `idc` DISABLE KEYS */;
INSERT INTO `idc` VALUES (1,'shubei','oom','zhaowei','123','guishi@163.com','xiaohong','12345678912',12,15),(2,'jxq','酒仙桥','北京','12315011401','guishi@163.com','frank','12345678912',12,15);
/*!40000 ALTER TABLE `idc` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `ip_info`
--
DROP TABLE IF EXISTS `ip_info`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ip_info` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`ip` varchar(20) NOT NULL,
`mac` varchar(20) NOT NULL,
`device` varchar(20) NOT NULL,
`serve_id` int(11) NOT NULL,
`swich_id` int(11) NOT NULL,
`swich_port` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `ix_ip_info_serve_id` (`serve_id`),
KEY `ix_ip_info_swich_id` (`swich_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `ip_info`
--
LOCK TABLES `ip_info` WRITE;
/*!40000 ALTER TABLE `ip_info` DISABLE KEYS */;
/*!40000 ALTER TABLE `ip_info` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `manufacture`
--
DROP TABLE IF EXISTS `manufacture`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `manufacture` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(100) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `manufacture`
--
LOCK TABLES `manufacture` WRITE;
/*!40000 ALTER TABLE `manufacture` DISABLE KEYS */;
/*!40000 ALTER TABLE `manufacture` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `power`
--
DROP TABLE IF EXISTS `power`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `power` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`server_power` varchar(20) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `power`
--
LOCK TABLES `power` WRITE;
/*!40000 ALTER TABLE `power` DISABLE KEYS */;
INSERT INTO `power` VALUES (1,'160'),(2,'250'),(3,'450'),(4,'480');
/*!40000 ALTER TABLE `power` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `product`
--
DROP TABLE IF EXISTS `product`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `product` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`service_name` varchar(20) NOT NULL,
`pid` int(11) NOT NULL,
`module_letter` varchar(10) NOT NULL,
`dev_interface` varchar(100) DEFAULT NULL,
`op_interface` varchar(100) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `product`
--
LOCK TABLES `product` WRITE;
/*!40000 ALTER TABLE `product` DISABLE KEYS */;
/*!40000 ALTER TABLE `product` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `raid`
--
DROP TABLE IF EXISTS `raid`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `raid` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(20) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `raid`
--
LOCK TABLES `raid` WRITE;
/*!40000 ALTER TABLE `raid` DISABLE KEYS */;
/*!40000 ALTER TABLE `raid` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `raidtype`
--
DROP TABLE IF EXISTS `raidtype`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `raidtype` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(50) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `raidtype`
--
LOCK TABLES `raidtype` WRITE;
/*!40000 ALTER TABLE `raidtype` DISABLE KEYS */;
/*!40000 ALTER TABLE `raidtype` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `server`
--
DROP TABLE IF EXISTS `server`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `server` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`supplier` int(11) DEFAULT NULL,
`manufactures` varchar(50) NOT NULL,
`manufacture_date` date DEFAULT NULL,
`server_type` varchar(20) DEFAULT NULL,
`st` varchar(60) DEFAULT NULL,
`assets_no` varchar(60) DEFAULT NULL,
`idc_id` int(11) DEFAULT NULL,
`cabinet_id` int(11) DEFAULT NULL,
`cabinet_pos` varchar(10) DEFAULT NULL,
`expire` date DEFAULT NULL,
`ups` int(11) DEFAULT NULL,
`parter` varchar(50) DEFAULT NULL,
`parter_type` varchar(50) DEFAULT NULL,
`server_up_time` date DEFAULT NULL,
`os_type` varchar(20) DEFAULT NULL,
`os_version` varchar(10) DEFAULT NULL,
`hostname` varchar(32) NOT NULL,
`inner_ip` varchar(32) NOT NULL,
`mac_address` varchar(32) DEFAULT NULL,
`ip_info` varchar(300) DEFAULT NULL,
`server_cpu` varchar(250) DEFAULT NULL,
`server_disk` varchar(250) DEFAULT NULL,
`server_mem` varchar(250) DEFAULT NULL,
`raid` varchar(10) DEFAULT NULL,
`raid_card_type` varchar(50) DEFAULT NULL,
`remote_card` varchar(32) DEFAULT NULL,
`remote_cardip` varchar(32) DEFAULT NULL,
`status` int(11) DEFAULT NULL,
`remark` text,
`last_op_time` time DEFAULT NULL,
`last_op_people` int(11) DEFAULT NULL,
`monitor_mail_group` varchar(32) DEFAULT NULL,
`service_id` int(11) DEFAULT NULL,
`server_purpose` int(11) DEFAULT NULL,
`trouble_resolve` int(11) DEFAULT NULL,
`op_interface_other` int(11) DEFAULT NULL,
`dev_interface` int(11) DEFAULT NULL,
`check_update_time` time DEFAULT NULL,
`vm_status` int(11) NOT NULL,
`power` int(11) DEFAULT NULL,
`host` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `ix_server_host` (`host`),
KEY `ix_server_hostname` (`hostname`),
KEY `ix_server_idc_id` (`idc_id`),
KEY `ix_server_inner_ip` (`inner_ip`),
KEY `ix_server_manufactures` (`manufactures`),
KEY `ix_server_server_purpose` (`server_purpose`),
KEY `ix_server_service_id` (`service_id`),
KEY `ix_server_st` (`st`),
KEY `ix_server_status` (`status`),
KEY `ix_server_supplier` (`supplier`),
KEY `ix_server_vm_status` (`vm_status`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `server`
--
LOCK TABLES `server` WRITE;
/*!40000 ALTER TABLE `server` DISABLE KEYS */;
/*!40000 ALTER TABLE `server` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `servertype`
--
DROP TABLE IF EXISTS `servertype`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `servertype` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`type` varchar(20) NOT NULL,
`manufactures_id` int(11) NOT NULL,
PRIMARY KEY (`id`),
KEY `ix_servertype_manufactures_id` (`manufactures_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `servertype`
--
LOCK TABLES `servertype` WRITE;
/*!40000 ALTER TABLE `servertype` DISABLE KEYS */;
/*!40000 ALTER TABLE `servertype` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `status`
--
DROP TABLE IF EXISTS `status`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `status` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(50) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `status`
--
LOCK TABLES `status` WRITE;
/*!40000 ALTER TABLE `status` DISABLE KEYS */;
/*!40000 ALTER TABLE `status` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `switch`
--
DROP TABLE IF EXISTS `switch`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `switch` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`switch_name` varchar(50) NOT NULL,
`switch_type` varchar(50) NOT NULL,
`manager_ip` varchar(50) NOT NULL,
`category` varchar(50) NOT NULL,
`idc_id` int(11) DEFAULT NULL,
`cabinet_id` int(11) DEFAULT NULL,
`status` int(11) DEFAULT NULL,
`expire` date DEFAULT NULL,
`remark` text,
`manufacturers` int(11) DEFAULT NULL,
`last_op_time` time DEFAULT NULL,
`last_op_people` int(11) DEFAULT NULL,
`switch_port_nums` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `ix_switch_cabinet_id` (`cabinet_id`),
KEY `ix_switch_idc_id` (`idc_id`),
KEY `ix_switch_status` (`status`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `switch`
--
LOCK TABLES `switch` WRITE;
/*!40000 ALTER TABLE `switch` DISABLE KEYS */;
/*!40000 ALTER TABLE `switch` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `user`
--
DROP TABLE IF EXISTS `user`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `user` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(50) NOT NULL,
`username` varchar(50) NOT NULL,
`email` varchar(50) NOT NULL,
`deparment_id` int(11) DEFAULT NULL,
`is_leader` int(11) DEFAULT NULL,
`phone` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `ix_user_deparment_id` (`deparment_id`),
KEY `ix_user_is_leader` (`is_leader`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `user`
--
LOCK TABLES `user` WRITE;
/*!40000 ALTER TABLE `user` DISABLE KEYS */;
/*!40000 ALTER TABLE `user` 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 2016-01-20 18:29:43
| true |
0ea398d057e7c008ea2b6d0a1c093800291b7f19 | SQL | postgresqlacademy/pwaf | /pwaf-core/src/04_pwaf_app_demobox/20_tables/83_demo_structure_item.sql | UTF-8 | 739 | 3.46875 | 3 | [
"MIT"
] | permissive | --
DO
$body$
BEGIN
IF NOT EXISTS (
SELECT 1 FROM pg_tables WHERE schemaname='pwaf_app_demobox' and tablename='data_item'
) THEN
CREATE TABLE pwaf_app_demobox.data_item
(
id pwaf.g_serial NOT NULL,
name text NOT NULL,
box_id integer NOT NULL,
type_id integer NOT NULL,
CONSTRAINT data_item_pkey PRIMARY KEY (id),
CONSTRAINT box_fkey FOREIGN KEY (box_id)
REFERENCES pwaf_app_demobox.data_box (id) MATCH SIMPLE
ON UPDATE CASCADE ON DELETE CASCADE,
CONSTRAINT type_fkey FOREIGN KEY (type_id)
REFERENCES pwaf_app_demobox.data_item_type (id) MATCH SIMPLE
ON UPDATE CASCADE ON DELETE CASCADE
);
END IF;
END
$body$
;
ALTER TABLE pwaf_app_demobox.data_item OWNER TO pwaf;
-- | true |
5b98c1d7e407ac1761f69caf140b60040867e9e1 | SQL | xxk990/database_works | /1/part2.sql | UTF-8 | 2,107 | 4.5625 | 5 | [] | no_license | --Ke Xu
--This query is about to find the max. quantity for New Jersey, Min. quantity for New York and Min. quantity for Connecticut for each combination between customer and product with corresponding date.
--table to store all the combination between customer and products
with prodCust as(
select distinct cust, prod
from sales
),
--find the max. in New Jersey for each combination
NJMax as(
select distinct cust, prod, max(quant) NJ_Max
from sales natural full outer join prodCust
where state = 'NJ' and year<2009
group by cust, prod
),
--find the min. in New York for each combination
NYMin as(
select distinct cust, prod, min(quant) NY_Min
from sales natural full outer join prodCust
where state = 'NY' and year<2009
group by cust, prod
),
--find the min. in Connecticut for each combination
CTMin as(
select distinct cust, prod, min(quant) CT_Min
from sales natural full outer join prodCust
where state = 'CT'
group by cust, prod
),
--make a new table to store the max. in New Jersey for each combination and corresponding date
NJMax1 as(
select nj.cust, nj.prod, nj.NJ_Max, s.month NJ_month, s.day NJ_day, s.year NJ_year
from NJMax nj, sales s
where nj.cust = s.cust and nj.NJ_Max = s.quant
),
--make a new table to store the min. in New York for each combination and corresponding date
NYMin1 as(
select ny.cust, ny.prod, ny.NY_Min, s.month NY_month, s.day NY_day, s.year NY_year
from NYMin ny, sales s
where ny.cust = s.cust and ny.NY_Min = s.quant
),
--make a new table to store the min. in Connecticut for each combination and corresponding date
CTMin1 as(
select ct.cust, ct.prod, ct.CT_Min, s.month CT_month, s.day CT_day, s.year CT_year
from CTMin ct, sales s
where CT.cust = s.cust and ct.CT_Min = s.quant
),
--full outer join table NJMax1 and NYmin1
result1 as(
select *
from NJMax1
natural full outer join NYmin1
),
--full outer join table result1 and CTmin1(this will be the final result join NJMax, NYmin1 and CTmin1 three tables)
result2 as(
select *
from result1
natural full outer join CTMin1
order by cust
)
--output the final result
select * from result2
| true |
2b8c2ffa957f405fe0c4b35cb57476440571af6b | SQL | Jana-dados/SQL | /Script/script aula 11 correcao.sql | UTF-8 | 1,498 | 4.21875 | 4 | [] | no_license | Create database aula11;
use aula11;
create table Cliente (
id_cli integer primary key,
nome_cli varchar (200) not null,
idade_cli int,
renda_cli float,
data_nasc_cli date);
alter table cliente change data_nasc_cli data_nasc_cli varchar (20);
insert into cliente values (1, 'José da Silva', 33, 1500.50, '1987-01-30');
insert into cliente values (2, 'Ana Maria', 31, 2500.00, '1990-02-20');
insert into cliente values (3, 'Gustavo Silva', 20, 5000.00, '2000-01-31');
insert into cliente values (4, 'Marcos Perereira', 27, 1020.00, '1993-06-21');
insert into cliente values (5, 'Thiago Souza', 33, 5000.00, '1987-06-30');
select * from cliente;
desc cliente;
#Selecione o nome e data de nascimento dos clientes nascidos entre 1980 e 2000 ordenados pelo nome;
select nome_cli, data_nasc_cli from cliente
where (data_nasc_cli >= '1980-01-01') and (data_nasc_cli <= '2000-12-31') order by nome_cli;
#Selecione os clientes com idade entre 10 e 50 e que possuem nome não nulo ordenados pelo nome de forma decrescente;
select * from cliente where (idade_cli between 10 and 50) and (nome_cli is not null) order by nome_cli desc;
#Selecione e mostre a maior idade entre os clientes armazenados;
select max(idade_cli) from cliente;
#Selecione e mostre a menor renda entre os clientes armazenados;
select min(renda_cli) from cliente;
#Selecione e mostre a soma das idades dos clientes armazenados;
select sum(idade_cli) from cliente;
#Selecione e mostre a renda média dos clientes armazenados;
select avg(renda_cli) from cliente;
| true |
486636686f80cecb56b90474bc69a3b1032feb49 | SQL | vilchykau/datamola | /U1/L8/init_sa/init_sa_type_prod.sql | UTF-8 | 563 | 2.609375 | 3 | [] | no_license | drop table u_f_dw_ext_references.SA_TYPE_PRODUCT cascade constraints;
/*==============================================================*/
/* Table: SA_TYPE_PRODUCT */
/*==============================================================*/
create table u_f_dw_ext_references.SA_TYPE_PRODUCT (
pr_t_id NUMBER(22,0) not null,
name VARCHAR(50),
meta VARCHAR(200),
sale_price NUMBER(20)
);
GRANT SELECT ON u_f_dw_ext_references.SA_TYPE_PRODUCT TO u_f_dw_cls; | true |
ede5ac2550b3bb67c05f27faa13a4bd6a69d0565 | SQL | AlexanderSashchenko/InternetShopv2 | /src/main/resources/init.db.sql | UTF-8 | 4,861 | 3.875 | 4 | [] | no_license | CREATE SCHEMA `internetshop` DEFAULT CHARACTER SET utf8;
CREATE TABLE `internetshop`.`items` (
`item_id` INT NOT NULL AUTO_INCREMENT,
`title` VARCHAR(255) NOT NULL,
`price` DECIMAL(6,2) NOT NULL,
PRIMARY KEY (`item_id`))
ENGINE = InnoDB
DEFAULT CHARACTER SET = utf8;
CREATE TABLE `internetshop`.`users` (
`user_id` INT NOT NULL AUTO_INCREMENT,
`login` VARCHAR(45) NOT NULL,
`password` VARCHAR(256) NOT NULL,
`salt` VARBINARY(256) NOT NULL,
`email` VARCHAR(90) NULL,
`first_name` TEXT NULL,
`last_name` TEXT NULL,
PRIMARY KEY (`user_id`))
ENGINE = InnoDB
DEFAULT CHARACTER SET = utf8;
CREATE TABLE `internetshop`.`orders` (
`order_id` INT NOT NULL AUTO_INCREMENT,
`user_id` INT NOT NULL,
PRIMARY KEY (`order_id`))
ENGINE = InnoDB
DEFAULT CHARACTER SET = utf8;
CREATE TABLE `internetshop`.`buckets` (
`bucket_id` INT NOT NULL AUTO_INCREMENT,
`user_id` INT NOT NULL,
PRIMARY KEY (`bucket_id`))
ENGINE = InnoDB
DEFAULT CHARACTER SET = utf8;
CREATE TABLE `internetshop`.`roles` (
`role_id` INT NOT NULL,
`role_name` TEXT NOT NULL,
PRIMARY KEY (`role_id`))
ENGINE = InnoDB
DEFAULT CHARACTER SET = utf8;
CREATE TABLE `internetshop`.`user_roles` (
`id` INT NOT NULL AUTO_INCREMENT,
`user_id` INT NOT NULL,
`role_id` INT NOT NULL,
PRIMARY KEY (`id`))
ENGINE = InnoDB
DEFAULT CHARACTER SET = utf8;
CREATE TABLE `internetshop`.`order_items` (
`id` INT NOT NULL AUTO_INCREMENT,
`order_id` INT NOT NULL,
`item_id` INT NOT NULL,
PRIMARY KEY (`id`))
ENGINE = InnoDB
DEFAULT CHARACTER SET = utf8;
CREATE TABLE `internetshop`.`bucket_items` (
`id` INT NOT NULL AUTO_INCREMENT,
`bucket_id` INT NOT NULL,
`item_id` INT NOT NULL,
PRIMARY KEY (`id`))
ENGINE = InnoDB
DEFAULT CHARACTER SET = utf8;
ALTER TABLE `internetshop`.`user_roles`
ADD INDEX `user_roles_to_users_fk_idx` (`user_id` ASC) VISIBLE,
ADD INDEX `user_roles_to_roles_fk_idx` (`role_id` ASC) VISIBLE;
;
ALTER TABLE `internetshop`.`user_roles`
ADD CONSTRAINT `user_roles_to_users_fk`
FOREIGN KEY (`user_id`)
REFERENCES `internetshop`.`users` (`user_id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION,
ADD CONSTRAINT `user_roles_to_roles_fk`
FOREIGN KEY (`role_id`)
REFERENCES `internetshop`.`roles` (`role_id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION;
ALTER TABLE `internetshop`.`order_items`
ADD INDEX `order_items_to_orders_fk_idx` (`order_id` ASC) VISIBLE,
ADD INDEX `order_items_to_items_fk_idx` (`item_id` ASC) VISIBLE;
;
ALTER TABLE `internetshop`.`order_items`
ADD CONSTRAINT `order_items_to_orders_fk`
FOREIGN KEY (`order_id`)
REFERENCES `internetshop`.`orders` (`order_id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION,
ADD CONSTRAINT `order_items_to_items_fk`
FOREIGN KEY (`item_id`)
REFERENCES `internetshop`.`items` (`item_id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION;
ALTER TABLE `internetshop`.`bucket_items`
ADD INDEX `bucket_items_to_items_fk_idx` (`item_id` ASC) VISIBLE,
ADD INDEX `bucket_items_to_buckets_fk_idx` (`bucket_id` ASC) VISIBLE;
;
ALTER TABLE `internetshop`.`bucket_items`
ADD CONSTRAINT `bucket_items_to_items_fk`
FOREIGN KEY (`item_id`)
REFERENCES `internetshop`.`items` (`item_id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION,
ADD CONSTRAINT `bucket_items_to_buckets_fk`
FOREIGN KEY (`bucket_id`)
REFERENCES `internetshop`.`buckets` (`bucket_id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION;
ALTER TABLE `internetshop`.`buckets`
ADD INDEX `bucket_to_users_fk_idx` (`user_id` ASC) VISIBLE;
;
ALTER TABLE `internetshop`.`buckets`
ADD CONSTRAINT `bucket_to_users_fk`
FOREIGN KEY (`user_id`)
REFERENCES `internetshop`.`users` (`user_id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION;
ALTER TABLE `internetshop`.`orders`
ADD INDEX `orders_to_users_fk_idx` (`user_id` ASC) VISIBLE;
;
ALTER TABLE `internetshop`.`orders`
ADD CONSTRAINT `orders_to_users_fk`
FOREIGN KEY (`user_id`)
REFERENCES `internetshop`.`users` (`user_id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION;
INSERT INTO `internetshop`.`items` (`title`, `price`) VALUES ('test_item_1', '999.99');
INSERT INTO `internetshop`.`items` (`title`, `price`) VALUES ('test_item_2', '100');
INSERT INTO `internetshop`.`items` (`title`, `price`) VALUES ('test_item_3', '0');
INSERT INTO `internetshop`.`roles` (`role_id`, `role_name`) VALUES ('1', 'USER');
INSERT INTO `internetshop`.`roles` (`role_id`, `role_name`) VALUES ('2', 'ADMIN');
| true |
d7da5ce02337dc22f6bc7ce745b6d3db59addbd5 | SQL | rfajarachmad/tutorial-spring-webapp | /src/main/resources/sql/schema.sql | UTF-8 | 202 | 2.640625 | 3 | [] | no_license | DROP SCHEMA IF EXISTS APP;
DROP TABLE IF EXISTS "USER";
CREATE SCHEMA APP AUTHORIZATION SA;
CREATE TABLE "USER"(
ID INT PRIMARY KEY,
USER_NAME VARCHAR(50),
PASSWORD VARCHAR(50),
FLAG_ACTIVE INT
) | true |
c2a3004346b412b12cfc4e02a9a8046b23aa65b0 | SQL | mlidbom/SqServerlScripts | /_OLD/Find_misordered_events_new_schema_3.sql | UTF-8 | 819 | 4.0625 | 4 | [] | no_license | select hello.InsertedVersion, hello.EffectiveVersion, * from Event hello
inner join
(
select distinct e.AggregateId from
Event e
inner Join
(
select EffectiveVersions.AggregateBasedEffectiveVersion, EffectiveVersions.EffectiveVersion, EffectiveVersions.EventId, EffectiveVersions.AggregateId from Event e
inner join
(
select
e2.AggregateId,
e2.EffectiveVersion,
e2.EventId,
ROW_NUMBER() over (partition by AggregateId order by EffectiveReadOrder) as AggregateBasedEffectiveVersion
from event e2
) as EffectiveVersions
on e.EventId = EffectiveVersions.EventId
where e.EffectiveVersion != EffectiveVersions.AggregateBasedEffectiveVersion
) Broken
on e.EventId = Broken.EventId
)brokenAggregates
on hello.AggregateId = brokenAggregates.Aggregateid
order by hello.AggregateId, hello.InsertedVersion | true |
a062f4a20562e731de5b0b5ce902f179fd110511 | SQL | phinguyenphuoc/PHP05_php | /B5/mysql/fig18-08.sql | UTF-8 | 383 | 2.71875 | 3 | [] | no_license | -- mac dinh tang dan
SELECT productName, listPrice, discountPercent
FROM products
WHERE listPrice < 500
ORDER BY productName
-- giam dan
SELECT productName, listPrice, discountPercent
FROM products
WHERE listPrice < 500
ORDER BY listPrice DESC
-- chi lay du lieu, khong the sap xep
SELECT productName, listPrice, discountPercent
FROM products
ORDER BY discountPercent, listPrice DESC | true |
ad54806afe1bbba70cb9fcb5a394f0c298cf09e4 | SQL | QiweiWen/MacroTrack | /database/recipemker/dummyusers/davedatabase.sql | UTF-8 | 423,394 | 3.15625 | 3 | [] | no_license | --
-- PostgreSQL database dump
--
-- Dumped from database version 9.6.0
-- Dumped by pg_dump version 9.6.0
SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SET check_function_bodies = false;
SET client_min_messages = warning;
SET row_security = off;
--
-- Name: plpgsql; Type: EXTENSION; Schema: -; Owner:
--
CREATE EXTENSION IF NOT EXISTS plpgsql WITH SCHEMA pg_catalog;
--
-- Name: EXTENSION plpgsql; Type: COMMENT; Schema: -; Owner:
--
COMMENT ON EXTENSION plpgsql IS 'PL/pgSQL procedural language';
SET search_path = public, pg_catalog;
SET default_tablespace = '';
SET default_with_oids = false;
--
-- Name: contains; Type: TABLE; Schema: public; Owner: dave
--
CREATE TABLE contains (
id integer NOT NULL,
recipe smallint NOT NULL,
ingredient smallint NOT NULL,
amount double precision NOT NULL,
CONSTRAINT sane_amount CHECK ((amount >= (0)::double precision))
);
ALTER TABLE contains OWNER TO dave;
--
-- Name: contains_id_seq; Type: SEQUENCE; Schema: public; Owner: dave
--
CREATE SEQUENCE contains_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE contains_id_seq OWNER TO dave;
--
-- Name: contains_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: dave
--
ALTER SEQUENCE contains_id_seq OWNED BY contains.id;
--
-- Name: ingredients; Type: TABLE; Schema: public; Owner: dave
--
CREATE TABLE ingredients (
id integer NOT NULL,
name text NOT NULL,
calories double precision NOT NULL,
sugar double precision NOT NULL,
protein double precision NOT NULL,
fat double precision NOT NULL,
CONSTRAINT has_calories CHECK ((calories >= (0)::double precision)),
CONSTRAINT has_fat CHECK ((sugar >= (0)::double precision)),
CONSTRAINT has_protein CHECK ((sugar >= (0)::double precision)),
CONSTRAINT has_sugar CHECK ((sugar >= (0)::double precision))
);
ALTER TABLE ingredients OWNER TO dave;
--
-- Name: ingredients_id_seq; Type: SEQUENCE; Schema: public; Owner: dave
--
CREATE SEQUENCE ingredients_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE ingredients_id_seq OWNER TO dave;
--
-- Name: ingredients_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: dave
--
ALTER SEQUENCE ingredients_id_seq OWNED BY ingredients.id;
--
-- Name: mealplan; Type: TABLE; Schema: public; Owner: dave
--
CREATE TABLE mealplan (
userid integer,
recipeid integer,
mealcode smallint,
dateadded date NOT NULL,
CONSTRAINT mealplan_valid_meal CHECK (((mealcode >= 1) AND (mealcode <= 3)))
);
ALTER TABLE mealplan OWNER TO dave;
--
-- Name: ratings; Type: TABLE; Schema: public; Owner: dave
--
CREATE TABLE ratings (
id integer NOT NULL,
userid smallint,
recipe smallint,
rating smallint,
CONSTRAINT sane_rating CHECK (((rating >= 0) AND (rating <= 10)))
);
ALTER TABLE ratings OWNER TO dave;
--
-- Name: ratings_id_seq; Type: SEQUENCE; Schema: public; Owner: dave
--
CREATE SEQUENCE ratings_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE ratings_id_seq OWNER TO dave;
--
-- Name: ratings_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: dave
--
ALTER SEQUENCE ratings_id_seq OWNED BY ratings.id;
--
-- Name: recipes; Type: TABLE; Schema: public; Owner: dave
--
CREATE TABLE recipes (
id integer NOT NULL,
name text NOT NULL,
author smallint,
instruction_file text NOT NULL
);
ALTER TABLE recipes OWNER TO dave;
--
-- Name: recipes_id_seq; Type: SEQUENCE; Schema: public; Owner: dave
--
CREATE SEQUENCE recipes_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE recipes_id_seq OWNER TO dave;
--
-- Name: recipes_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: dave
--
ALTER SEQUENCE recipes_id_seq OWNED BY recipes.id;
--
-- Name: userattr; Type: TABLE; Schema: public; Owner: dave
--
CREATE TABLE userattr (
id integer NOT NULL,
sex character(1),
height smallint,
weight smallint,
age smallint,
exercise smallint,
userid smallint,
CONSTRAINT sane_age CHECK (((age >= 0) AND (age <= 200))),
CONSTRAINT sane_exercise CHECK (((exercise >= 1) AND (exercise <= 4))),
CONSTRAINT sane_height CHECK (((height >= 0) AND (height <= 300))),
CONSTRAINT sane_sex CHECK (((sex = 'M'::bpchar) OR (sex = 'F'::bpchar))),
CONSTRAINT sane_weight CHECK (((weight >= 0) AND (weight <= 800)))
);
ALTER TABLE userattr OWNER TO dave;
--
-- Name: userattr_id_seq; Type: SEQUENCE; Schema: public; Owner: dave
--
CREATE SEQUENCE userattr_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE userattr_id_seq OWNER TO dave;
--
-- Name: userattr_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: dave
--
ALTER SEQUENCE userattr_id_seq OWNED BY userattr.id;
--
-- Name: users; Type: TABLE; Schema: public; Owner: dave
--
CREATE TABLE users (
id integer NOT NULL,
name text NOT NULL,
pwrd text NOT NULL,
email text NOT NULL,
attrid integer
);
ALTER TABLE users OWNER TO dave;
--
-- Name: users_id_seq; Type: SEQUENCE; Schema: public; Owner: dave
--
CREATE SEQUENCE users_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE users_id_seq OWNER TO dave;
--
-- Name: users_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: dave
--
ALTER SEQUENCE users_id_seq OWNED BY users.id;
--
-- Name: contains id; Type: DEFAULT; Schema: public; Owner: dave
--
ALTER TABLE ONLY contains ALTER COLUMN id SET DEFAULT nextval('contains_id_seq'::regclass);
--
-- Name: ingredients id; Type: DEFAULT; Schema: public; Owner: dave
--
ALTER TABLE ONLY ingredients ALTER COLUMN id SET DEFAULT nextval('ingredients_id_seq'::regclass);
--
-- Name: ratings id; Type: DEFAULT; Schema: public; Owner: dave
--
ALTER TABLE ONLY ratings ALTER COLUMN id SET DEFAULT nextval('ratings_id_seq'::regclass);
--
-- Name: recipes id; Type: DEFAULT; Schema: public; Owner: dave
--
ALTER TABLE ONLY recipes ALTER COLUMN id SET DEFAULT nextval('recipes_id_seq'::regclass);
--
-- Name: userattr id; Type: DEFAULT; Schema: public; Owner: dave
--
ALTER TABLE ONLY userattr ALTER COLUMN id SET DEFAULT nextval('userattr_id_seq'::regclass);
--
-- Name: users id; Type: DEFAULT; Schema: public; Owner: dave
--
ALTER TABLE ONLY users ALTER COLUMN id SET DEFAULT nextval('users_id_seq'::regclass);
--
-- Data for Name: contains; Type: TABLE DATA; Schema: public; Owner: dave
--
COPY contains (id, recipe, ingredient, amount) FROM stdin;
149 8 210 10
150 8 1585 0.400000000000000022
151 8 2977 0.100000000000000006
152 8 2361 0.299999999999999989
153 8 2377 1.19999999999999996
154 8 1609 0.599999999999999978
155 8 3411 0.200000000000000011
156 8 3421 4
157 8 3297 3.5
158 8 528 1
159 8 1587 1.5
160 8 736 0.75
161 8 2412 0.100000000000000006
162 8 2977 0.100000000000000006
163 8 1502 0.599999999999999978
164 8 2165 0.5
165 13 1056 0.75
166 13 1609 1.19999999999999996
167 13 3543 0.299999999999999989
168 13 3051 0.299999999999999989
169 13 3093 0.149999999999999994
170 13 1618 0.100000000000000006
171 13 1666 0.400000000000000022
172 13 3088 0.149999999999999994
173 13 2365 1.5
174 13 1014 24
175 13 1502 1
176 13 1237 0.5
177 13 785 2
178 13 752 3
179 13 2944 3
180 13 2315 1.05000000000000004
181 13 3556 2
182 13 2514 1.19999999999999996
183 14 929 6
184 14 2877 0.800000000000000044
185 14 2361 0.149999999999999994
186 14 736 0.400000000000000022
187 14 3579 1.5
188 14 3297 1
189 14 1968 0.5
190 14 141 2
191 14 2310 0.299999999999999989
192 5 1088 0.299999999999999989
193 5 1267 0.200000000000000011
194 5 1577 0.0400000000000000008
195 5 1482 1.5
196 5 3317 2.95000000000000018
197 5 3542 0.149999999999999994
198 5 1070 0.5
199 5 862 2.5
200 5 1270 3.5
201 5 3317 0.200000000000000011
202 5 515 0.200000000000000011
203 5 2312 1.39999999999999991
204 5 3308 2.5
205 5 2932 1.25
206 5 497 1.25
207 15 2361 0.299999999999999989
208 15 935 7
209 15 2377 1.19999999999999996
210 15 1608 0.599999999999999978
211 15 2451 0.800000000000000044
212 15 1098 3
213 15 3297 2.5
214 15 2548 0.149999999999999994
215 15 53 1
216 15 3046 0.400000000000000022
223 3 2369 0.800000000000000044
224 3 1590 2.39999999999999991
225 3 1502 1.19999999999999996
226 3 3290 6
227 3 3046 0.25
228 3 3311 0.25
229 3 2361 0.349999999999999978
230 3 1528 4
231 3 1528 3
232 3 1052 3
249 11 1585 1.5
250 11 462 3.29999999999999982
251 11 2765 8
252 11 1571 18
253 2 3261 0.599999999999999978
254 2 102 1.10000000000000009
255 2 2562 0.5
256 2 3628 1.19999999999999996
257 2 1098 1
258 7 225 3
259 7 2361 0.170000000000000012
260 7 2277 2
261 7 3046 0.200000000000000011
262 7 3277 0.299999999999999989
263 9 2361 0.599999999999999978
264 9 2412 0.5
265 9 1608 0.599999999999999978
266 9 1968 1.5
267 9 2873 2
268 9 2873 4
269 9 3145 4
270 9 2765 5
271 9 736 0.800000000000000044
272 9 1270 0.5
273 9 2361 0.200000000000000011
280 10 2452 0.5
281 10 3625 1.39999999999999991
282 10 1014 16
283 10 2079 0.5
284 10 1076 0.200000000000000011
285 10 2971 6
286 10 1968 0.800000000000000044
287 6 2848 3.5
288 6 2369 0.5
289 6 316 8
290 6 2361 0.400000000000000022
291 6 2978 0.599999999999999978
292 6 3361 0.599999999999999978
293 6 3543 0.149999999999999994
294 6 2242 0.200000000000000011
295 12 3416 4
296 12 3317 0.0100000000000000002
297 12 2361 2.5
298 12 2765 7
299 12 580 0.5
300 12 1609 0.900000000000000022
301 12 2413 0.5
302 12 119 0.0500000000000000028
303 12 2991 15
304 12 2374 1.19999999999999996
305 12 3585 2.5
306 12 1968 0.5
307 4 2361 0.349999999999999978
308 4 2377 1.19999999999999996
309 4 1609 0.599999999999999978
310 4 2165 3.79999999999999982
311 4 1247 0.550000000000000044
312 4 1502 3
313 4 840 1.5
314 4 3399 2.5
315 4 3686 3
316 4 2877 2
317 16 1968 0.100000000000000006
318 16 1314 0.100000000000000006
319 16 1238 0.200000000000000011
320 16 3467 0.0599999999999999978
321 16 3313 0.119999999999999996
322 16 2364 0.280000000000000027
323 16 929 6
324 16 2329 1.5
325 16 3178 1
326 16 1609 0.5
327 16 1418 0.100000000000000006
328 16 2364 0.200000000000000011
329 16 3313 0.100000000000000006
330 16 3365 0.200000000000000011
331 16 2456 0.299999999999999989
332 16 1096 2.70000000000000018
\.
--
-- Name: contains_id_seq; Type: SEQUENCE SET; Schema: public; Owner: dave
--
SELECT pg_catalog.setval('contains_id_seq', 332, true);
--
-- Data for Name: ingredients; Type: TABLE DATA; Schema: public; Owner: dave
--
COPY ingredients (id, name, calories, sugar, protein, fat) FROM stdin;
1 Almond, sugar-coated 2285 37.5 13.5999999999999996 37.5
2 Amino acid or creatine drink, prepared from dry powder with water or milk 147 2.70000000000000018 3.60000000000000009 1.10000000000000009
3 Amino acid or creatine powder 1666 0 98 0
4 Anchovy, canned 762 0 25.3999999999999986 8.90000000000000036
5 Apple, baked, no added fat 258 13.5999999999999996 0.299999999999999989 0
6 Apple, bonza, unpeeled, raw 244 11.5 0.299999999999999989 0.299999999999999989
7 Apple, canned or puree 239 11.9000000000000004 0.299999999999999989 0.200000000000000011
8 Apple, dried 1232 62.1000000000000014 1.30000000000000004 0.299999999999999989
9 Apple, fuji, unpeeled, raw 245 12.0999999999999996 0.299999999999999989 0.299999999999999989
10 Apple, golden delicious, unpeeled, raw 202 10.5 0.299999999999999989 0
11 Apple, granny-smith, unpeeled, baked, no added fat 216 9.80000000000000071 0.400000000000000022 0.200000000000000011
12 Apple, granny-smith, unpeeled, raw 202 10.3000000000000007 0.299999999999999989 0
13 Apple, green skin, peeled, raw 225 11.8000000000000007 0.299999999999999989 0
14 Apple, green skin, unpeeled, raw 202 10.4000000000000004 0.299999999999999989 0
15 Apple, jonathon, unpeeled, raw 226 11.8000000000000007 0.299999999999999989 0
16 Apple, peeled, raw, not further defined 254 13 0.299999999999999989 0.200000000000000011
17 Apple, peeled, stewed, sugar sweetened, no added fat 307 17.3000000000000007 0.200000000000000011 0.100000000000000006
18 Apple, pink lady, unpeeled, raw 247 11.9000000000000004 0.299999999999999989 0.400000000000000022
19 Apple, raw, not further defined 239 11.9000000000000004 0.299999999999999989 0.200000000000000011
20 Apple, red delicious, unpeeled, raw 248 13 0.299999999999999989 0
21 Apple, red skin, peeled, raw 259 13.1999999999999993 0.299999999999999989 0.200000000000000011
22 Apple, red skin, unpeeled, raw 243 12 0.299999999999999989 0.200000000000000011
23 Apple, royal gala, unpeeled, raw 222 11.0999999999999996 0.400000000000000022 0
24 Apple, toffee coated 377 18.6000000000000014 0.299999999999999989 0
25 Apple, unpeeled, raw, not further defined 237 11.8000000000000007 0.299999999999999989 0.200000000000000011
26 Apple, unpeeled, stewed, sugar added, no fat added 296 16.3999999999999986 0.200000000000000011 0.100000000000000006
27 Apricot, canned in intense sweetened liquid 110 4.29999999999999982 0.5 0
28 Apricot, canned in intense sweetened liquid, drained 118 3.89999999999999991 0.800000000000000044 0
29 Apricot, canned in intense sweetened liquid, liquid only 102 4.70000000000000018 0.200000000000000011 0
30 Apricot, canned in light syrup 209 9.69999999999999929 0.699999999999999956 0
31 Apricot, canned in light syrup, drained 214 9 1 0
32 Apricot, canned in light syrup, syrup only 204 10.5 0.299999999999999989 0
33 Apricot, canned in pear juice 192 8.19999999999999929 0.800000000000000044 0
34 Apricot, canned in pear juice, drained 196 7.79999999999999982 1 0
35 Apricot, canned in pear juice, juice only 187 8.69999999999999929 0.5 0
36 Apricot, canned in syrup 255 12.9000000000000004 0.699999999999999956 0
37 Apricot, canned in syrup, drained 258 12.3000000000000007 0.900000000000000022 0
38 Apricot, canned in syrup, syrup only 251 13.6999999999999993 0.400000000000000022 0
39 Apricot, dried 886 40.5 4.29999999999999982 0.200000000000000011
40 Apricot, raw 171 6.59999999999999964 0.800000000000000044 0.100000000000000006
41 Apricot, stewed, sugar sweetened, no added fat 347 17.8999999999999986 0.800000000000000044 0.100000000000000006
42 Artichoke, globe, boiled, microwaved or steamed, drained 170 1.10000000000000009 3.29999999999999982 0.200000000000000011
43 Artichoke, globe, boiled, microwaved or steamed, drained, added fat not further defined 358 1 3.20000000000000018 5.5
44 Artichoke, globe, raw 145 0.900000000000000022 2.79999999999999982 0.200000000000000011
45 Artichoke heart, canned in brine, drained 104 1.10000000000000009 1.89999999999999991 0.299999999999999989
46 Artichoke, jerusalem, peeled, boiled, microwaved or steamed, drained 263 2.89999999999999991 2.29999999999999982 0.100000000000000006
47 Artichoke, jerusalem, peeled, raw 245 2.70000000000000018 2.10000000000000009 0.100000000000000006
48 Asparagus, canned in brine, drained or undrained 101 1.5 1.89999999999999991 0.100000000000000006
49 Asparagus, green, fresh or frozen, baked, roasted, stir-fried or fried, grilled or BBQd, fat not further defined 324 1.60000000000000009 2.89999999999999991 6.09999999999999964
50 Asparagus, green, fresh or frozen, baked, roasted, stir-fried or fried, grilled or BBQd, no added fat 107 1.69999999999999996 3 0.100000000000000006
51 Asparagus, green, fresh or frozen, boiled, microwaved or steamed, drained 104 1.60000000000000009 2.89999999999999991 0.100000000000000006
52 Asparagus, green, fresh or frozen, boiled, microwaved or steamed, drained, added fat not further defined 295 1.60000000000000009 2.79999999999999982 5.40000000000000036
53 Asparagus, green, raw 88 1.39999999999999991 2.5 0.100000000000000006
54 Avocado, cooked, with or without fat 912 0.400000000000000022 1.89999999999999991 22.8000000000000007
55 Avocado, raw 867 0.400000000000000022 1.80000000000000004 21.6000000000000014
56 Babaco, peeled, raw 89 3.10000000000000009 1.30000000000000004 0.100000000000000006
57 Babyccino, from cows milk 248 6.29999999999999982 3.5 2.29999999999999982
58 Babyccino, from soy milk 229 3.20000000000000018 3.29999999999999982 1.89999999999999991
59 Bacon, 97% fat free, baked, roasted, fried, grilled or BBQd, with or without added fat 543 1.10000000000000009 24.6999999999999993 2.70000000000000018
60 Bacon, 97% fat free, raw 407 0.800000000000000044 18.5 2
61 Bacon, breakfast rasher, baked, roasted or fried, no added fat 646 1.80000000000000004 21.8999999999999986 5.79999999999999982
62 Bacon, breakfast rasher, grilled or BBQd, no added fat 591 1.80000000000000004 22.1999999999999993 4.5
63 Bacon, breakfast rasher, raw 403 0.699999999999999956 14.5999999999999996 3.39999999999999991
64 Bacon, middle rasher, fat only, grilled or BBQd 2747 0.400000000000000022 14.5 67.4000000000000057
65 Bacon, middle rasher or shortcut, fully-trimmed, baked, roasted, fried, grilled or BBQd, butter, dairy blend or margarine spread 827 0.5 27.8999999999999986 9.30000000000000071
66 Bacon, middle rasher or shortcut, fully-trimmed, baked, roasted, fried, grilled or BBQd, fat not further defined 845 0.5 27.8999999999999986 9.80000000000000071
67 Bacon, middle rasher or shortcut, fully-trimmed, baked, roasted, fried, grilled or BBQd, olive oil 846 0.5 27.8000000000000007 9.90000000000000036
68 Bacon, middle rasher or shortcut, fully-trimmed, baked, roasted, fried, stir-fried, grilled or BBQd, canola oil 846 0.5 27.8000000000000007 9.90000000000000036
69 Bacon, middle rasher or shortcut, fully-trimmed, baked, roasted, fried, stir-fried, grilled or BBQd, other oil 846 0.5 27.8000000000000007 9.90000000000000036
70 Bacon, middle rasher or shortcut, fully-trimmed, baked, roasted, grilled or BBQd, no added fat 998 0.900000000000000022 33.2000000000000028 11.3000000000000007
201 Beef, corned, with cereal, canned 837 0 14.5 13.3000000000000007
71 Bacon, middle rasher or shortcut, fully-trimmed, fried or stir-fried, no added fat 953 1 31.3999999999999986 10.9000000000000004
72 Bacon, middle rasher or shortcut, fully-trimmed, raw 572 0.400000000000000022 21.3000000000000007 5.5
73 Bacon, middle rasher, semi-trimmed, baked, roasted, fried, grilled or BBQd, butter, dairy blend & margarine 1362 0.400000000000000022 23.6000000000000014 25.8000000000000007
74 Bacon, middle rasher, semi-trimmed, baked, roasted, fried, grilled or BBQd, canola oil 1382 0.400000000000000022 23.6000000000000014 26.3000000000000007
75 Bacon, middle rasher, semi-trimmed, baked, roasted, fried, grilled or BBQd, fat not further defined 1380 0.400000000000000022 23.6000000000000014 26.3000000000000007
76 Bacon, middle rasher, semi-trimmed, baked, roasted, fried, grilled or BBQd, olive oil 1382 0.400000000000000022 23.6000000000000014 26.3000000000000007
77 Bacon, middle rasher, semi-trimmed, baked, roasted, fried, stir-fried, grilled or BBQd, other oil 1382 0.400000000000000022 23.6000000000000014 26.3000000000000007
78 Bacon, middle rasher, semi-trimmed, baked, roasted, grilled or BBQd, no added fat 1103 0.900000000000000022 32.1000000000000014 14.6999999999999993
79 Bacon, middle rasher, semi-trimmed, boiled, casseroled, microwaved, poached, steamed or stewed, no added fat 1310 0.400000000000000022 24.1000000000000014 24.1999999999999993
80 Bacon, middle rasher, semi-trimmed, fried or stir-fried, no added fat 1351 0.900000000000000022 26.8000000000000007 23.8000000000000007
81 Bacon, middle rasher, semi-trimmed, raw 982 0.299999999999999989 18 18.1000000000000014
82 Bacon, middle rasher, untrimmed, baked, roasted, fried, grilled or BBQd, fat not further defined 1809 0.299999999999999989 20.1999999999999993 39.5
83 Bacon, middle rasher, untrimmed, baked, roasted, fried, grilled or BBQd, no added fat 1747 0.299999999999999989 20.6000000000000014 37.6000000000000014
84 Bacon, middle rasher, untrimmed, boiled, casseroled, microwaved, poached, steamed or stewed, no added fat 1747 0.299999999999999989 20.6000000000000014 37.6000000000000014
85 Bacon, middle rasher, untrimmed, raw 1310 0.299999999999999989 15.4000000000000004 28.1999999999999993
86 Bacon, raw, used in baked products, not further defined 1091 0.299999999999999989 16.3000000000000007 21.8000000000000007
87 Bagel, from white flour, commercial 1094 6.20000000000000018 9.5 1.39999999999999991
88 Bagel, from white flour, commercial, toasted 1243 7 10.8000000000000007 1.60000000000000009
89 Bagel, fruit, commercial 1007 6.70000000000000018 8.59999999999999964 1.30000000000000004
90 Bagel, fruit, commercial, toasted 1144 7.59999999999999964 9.80000000000000071 1.39999999999999991
91 Baked beans, all flavours (except tomato sauce), reduced salt 375 3.39999999999999991 4.90000000000000036 0.299999999999999989
92 Baked beans, canned in BBQ sauce, regular 355 2.10000000000000009 4.90000000000000036 0.299999999999999989
93 Baked beans, canned in tomato & cheese sauce, regular 383 3.60000000000000009 4.90000000000000036 0.599999999999999978
94 Baked beans, canned in tomato sauce, reduced salt 375 3.39999999999999991 4.90000000000000036 0.299999999999999989
95 Baked beans, canned in tomato sauce, regular 355 2.10000000000000009 4.90000000000000036 0.299999999999999989
96 Baked beans, canned in tomato sauce, with sausages, regular 433 1.89999999999999991 5.79999999999999982 2.89999999999999991
97 Baked beans, canned, not further defined 363 2.29999999999999982 4.90000000000000036 0.5
98 Baking powder, dry powder 360 0 0 0.100000000000000006
99 Baking soda (bicarbonate), dry powder 0 0 0 0
100 Bamboo shoot, canned in water, heated, drained 57 0.800000000000000044 0.800000000000000044 0
101 Bamboo shoot, fresh, cooked, with or without fat 57 0.800000000000000044 0.800000000000000044 0
102 Banana, cavendish, peeled, raw 385 12.8000000000000007 1.39999999999999991 0.299999999999999989
103 Banana chip 2171 35.2999999999999972 2.29999999999999982 33.6000000000000014
104 Banana, cooked 516 13.4000000000000004 1.39999999999999991 3.29999999999999982
105 Banana, lady finger or sugar, peeled, raw 474 18.1999999999999993 1.5 0.100000000000000006
106 BarleyMax, dry, uncooked 1385 5 18.1000000000000014 7.79999999999999982
107 Barley, pearl, cooked in water, no added fat or salt 416 0 2.89999999999999991 0.900000000000000022
108 Barley, pearl, uncooked 1358 0.699999999999999956 8 2.39999999999999991
109 Barramundi, baked, roasted, grilled, BBQd, fried or deep fried, butter, dairy blend or margarine 704 0 25.3000000000000007 7.40000000000000036
110 Barramundi, baked, roasted, grilled, BBQd, fried or deep fried, canola oil 755 0 25.1999999999999993 8.80000000000000071
111 Barramundi, baked, roasted, grilled, BBQd, fried or deep fried, fat not further defined 750 0 25.3000000000000007 8.69999999999999929
112 Barramundi, baked, roasted, grilled, BBQd, fried or deep fried, olive oil 755 0 25.1999999999999993 8.80000000000000071
113 Barramundi, baked, roasted, grilled, BBQd, fried or deep fried, other oil 755 0 25.1999999999999993 8.80000000000000071
114 Barramundi, baked, roasted, grilled, BBQd or fried, no added fat 528 0 26.6000000000000014 2.10000000000000009
115 Barramundi, boiled, microwaved, steamed or poached, no added fat 459 0 23.1000000000000014 1.80000000000000004
116 Barramundi, coated, baked, roasted, fried, deep fried, grilled or BBQd, fat not further defined 821 0.400000000000000022 20.8000000000000007 9.5
117 Barramundi, coated, takeaway outlet, deep fried 1059 0.200000000000000011 15.8000000000000007 16.8999999999999986
118 Barramundi, raw 385 0 19.3999999999999986 1.5
119 Basil, dried 1079 0 18.1999999999999993 5.5
120 Basil, green, raw 119 0 2 0.599999999999999978
121 Bassa (basa), baked, roasted, grilled, BBQd, fried or deep fried, fat not further defined 681 0 20.3999999999999986 9
122 Bassa (basa), baked, roasted, grilled, BBQd or fried, no added fat 455 0 21.5 2.39999999999999991
123 Bassa (basa), boiled, microwaved, steamed or poached, with or without added fat 415 0 18.6000000000000014 2.70000000000000018
124 Bassa (basa), coated, baked, roasted, fried, deep fried, grilled or BBQd, fat not further defined 767 0.400000000000000022 17 9.80000000000000071
125 Bassa (basa), raw 332 0 15.6999999999999993 1.80000000000000004
126 Batter for coating food, commercial, uncooked 487 0 3.5 0.400000000000000022
127 Batter for coating food, homemade, uncooked 541 1.69999999999999996 5.40000000000000036 2.10000000000000009
128 Bean, black, dried, boiled, microwaved or steamed, drained 464 4.70000000000000018 8.19999999999999929 0.699999999999999956
129 Bean, broad, canned, drained 250 0.699999999999999956 7.29999999999999982 0.5
130 Bean, broad, fresh or frozen, boiled, microwaved or steamed, drained 252 0.800000000000000044 7.40000000000000036 0.5
131 Bean, broad, fresh or frozen, raw 235 0.699999999999999956 6.90000000000000036 0.5
132 Bean, butter, fresh, boiled, microwaved or steamed, drained 112 1.89999999999999991 2.5 0.200000000000000011
133 Bean, butter, fresh, raw 104 1.80000000000000004 2.29999999999999982 0.200000000000000011
134 Bean, cannellini, canned, drained 404 2.10000000000000009 6.20000000000000018 0.599999999999999978
135 Bean, green, canned, cooked, no added fat 102 1.30000000000000004 1.39999999999999991 0.200000000000000011
136 Bean, green, cooked, not further defined 96 1.5 1.39999999999999991 0.200000000000000011
137 Bean, green, fresh, boiled, microwaved or steamed, drained 89 1.69999999999999996 1.5 0.200000000000000011
138 Bean, green, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, fat not further defined 339 1.30000000000000004 2.5 6
139 Bean, green, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 132 1.39999999999999991 2.60000000000000009 0.200000000000000011
140 Bean, green, fresh or frozen, boiled, microwaved or steamed, added fat not further defined 288 1.19999999999999996 2.20000000000000018 4.90000000000000036
141 Bean, green, fresh or frozen, raw 112 1.19999999999999996 2.20000000000000018 0.200000000000000011
142 Bean, green, frozen, boiled, microwaved or steamed, drained 102 1.30000000000000004 1.39999999999999991 0.200000000000000011
143 Bean, haricot, dried 1220 3.5 21.8999999999999986 2.20000000000000018
144 Bean, haricot, dried, boiled, microwaved or steamed, drained 464 4.70000000000000018 8.19999999999999929 0.699999999999999956
145 Bean, lima, dried 1299 3.70000000000000018 21.3999999999999986 1.69999999999999996
146 Bean, lima, dried, boiled, microwaved or steamed, drained 355 0.599999999999999978 6.40000000000000036 0.299999999999999989
147 Bean, lupin, canned, drained 472 0.699999999999999956 13.9000000000000004 2.39999999999999991
148 Bean, lupin, raw 1389 2 41 7
149 Bean, mixed, canned, drained 426 2.5 6.40000000000000036 0.400000000000000022
150 Bean paste 805 32.2000000000000028 6.09999999999999964 0.400000000000000022
151 Bean, red, fresh, boiled, drained 604 1.30000000000000004 13.8000000000000007 0.400000000000000022
152 Bean, red, fresh, raw 561 1.19999999999999996 12.8000000000000007 0.400000000000000022
153 Bean, red, kidney, canned, drained 441 2.39999999999999991 6.59999999999999964 0.599999999999999978
154 Bean, red kidney, dried 1251 3.39999999999999991 22.5 1.80000000000000004
155 Bean, red kidney, dried, boiled, microwaved or steamed, drained 382 0.599999999999999978 7.90000000000000036 0.5
156 Bean, refried, canned 363 0.200000000000000011 5.5 1.30000000000000004
157 Bean, soya, canned, drained 438 1.89999999999999991 8.59999999999999964 5.5
158 Bean, soya, dried 1681 6.70000000000000018 31.3000000000000007 20.1999999999999993
159 Bean, soya, dried, boiled, microwaved or steamed, drained 614 1.39999999999999991 13.5 7.70000000000000018
160 Beef, all cuts, separable fat, grilled or roasted without fat 2317 0 15.3000000000000007 55.6000000000000014
161 Beef, all cuts, separable fat, raw 2478 0 12.0999999999999996 61.3999999999999986
162 Beef, BBQ/grill/fry cuts, fully-trimmed, BBQd, grilled or fried, no added fat 724 0 31.1000000000000014 5.29999999999999982
163 Beef, BBQ/grill/fry cuts, fully-trimmed, raw 546 0 22.3999999999999986 4.5
164 Beef, BBQ/grill/fry cuts, semi-trimmed, BBQd, grilled or fried, no added fat 804 0 30.3000000000000007 7.79999999999999982
165 Beef, BBQ/grill/fry cuts, semi-trimmed, raw 632 0 21.8999999999999986 7
166 Beef, blade steak, fully-trimmed, baked, roasted, fried, grilled or BBQd, fat not further defined 728 0 26.1999999999999993 7.70000000000000018
167 Beef, blade steak, fully-trimmed, baked, roasted, fried, grilled or BBQd, no added fat 683 0 31.6000000000000014 4
168 Beef, blade steak, fully-trimmed, boiled, casseroled, microwaved, poached, steamed or stewed, fat not further defined 745 0 26.8000000000000007 7.79999999999999982
169 Beef, blade steak, fully-trimmed, boiled, casseroled, microwaved, poached, steamed or stewed, no added fat 667 0 27.3999999999999986 5.5
170 Beef, blade steak, fully-trimmed, raw 534 0 21.8999999999999986 4.40000000000000036
171 Beef, blade steak, semi-trimmed, baked, roasted, fried, grilled or BBQd, fat not further defined 803 0 25.8000000000000007 9.90000000000000036
172 Beef, blade steak, semi-trimmed, baked, roasted, fried, grilled or BBQd, no added fat 740 0 31 5.79999999999999982
173 Beef, blade steak, semi-trimmed, raw 598 0 21.6000000000000014 6.20000000000000018
174 Beef, blade steak, separable fat, grilled or BBQd, no added fat 2317 0 15.3000000000000007 55.6000000000000014
175 Beef, blade steak, separable fat, raw 2478 0 12.0999999999999996 61.3999999999999986
176 Beef, blade steak, separable lean, grilled or BBQd, no added fat 650 0 31.8999999999999986 2.89999999999999991
177 Beef, blade steak, separable lean, raw 474 0 22.1999999999999993 2.60000000000000009
178 Beef, blade steak, untrimmed, baked, roasted, fried, grilled or BBQd, fat not further defined 934 0 25.1000000000000014 13.6999999999999993
179 Beef, blade steak, untrimmed, baked, roasted, fried, grilled or BBQd, no added fat 791 0 30.5 7.40000000000000036
180 Beef, blade steak, untrimmed, boiled, casseroled, microwaved, poached, steamed or stewed, with or without added fat 921 0 26 12.9000000000000004
181 Beef, blade steak, untrimmed, raw 707 0 21 9.5
182 Beef, casserole cuts, fully-trimmed, boiled, casseroled, microwaved, poached, steamed, or stewed, no added fat 654 0 25.1000000000000014 6.20000000000000018
183 Beef, casserole cuts, fully-trimmed, raw 548 0 21.6999999999999993 4.90000000000000036
184 Beef, casserole cuts, untrimmed, boiled, casseroled, microwaved, poached, steamed or stewed, with or without fat 883 0 26 11.9000000000000004
185 Beef, casserole cuts, untrimmed, raw 677 0 21 8.59999999999999964
186 Beef, chuck steak, fully-trimmed, baked, roasted, fried, stir-fried, grilled or BBQd, fat not further defined 870 0 26.6000000000000014 11.3000000000000007
187 Beef, chuck steak, fully-trimmed, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 798 0 27.1000000000000014 9.09999999999999964
188 Beef, chuck steak, fully-trimmed, boiled, casseroled, microwaved, poached, steamed, or stewed, with or without added fat 684 0 22 8.40000000000000036
189 Beef, chuck steak, fully-trimmed, raw 654 0 22.1999999999999993 7.5
190 Beef, chuck steak, separable fat, boiled, casseroled, microwaved, poached, steamed, or stewed, no added fat 2317 0 15.3000000000000007 55.6000000000000014
191 Beef, chuck steak, separable fat, raw 2478 0 12.0999999999999996 61.3999999999999986
192 Beef, chuck steak, separable lean, boiled, casseroled, microwaved, poached, steamed, or stewed, no added fat 953 0 33 10.5999999999999996
193 Beef, chuck steak, separable lean, raw 517 0 23 3.39999999999999991
194 Beef, chuck steak, untrimmed, boiled, casseroled, microwaved, poached, steamed, or stewed, with or without added fat 1114 0 30.8999999999999986 15.9000000000000004
195 Beef, chuck steak, untrimmed, raw 755 0 21.6999999999999993 10.5
196 Beef, corned, 50% trimmed, cooked 537 0.200000000000000011 17.8000000000000007 6.29999999999999982
197 Beef, corned, 75% trimmed, cooked 639 0.200000000000000011 17.1999999999999993 9.30000000000000071
198 Beef, corned, canned 957 0.299999999999999989 21.5 15.6999999999999993
199 Beef, corned, lean, cooked 425 0.200000000000000011 18.3999999999999986 3
200 Beef, corned, lean & fat, cooked 639 0.200000000000000011 17.1999999999999993 9.30000000000000071
202 Beef, diced, fully-trimmed, baked, roasted, fried or stir-fried, grilled or BBQd, fat not further defined 791 0 33.2000000000000028 6.09999999999999964
203 Beef, diced, fully-trimmed, baked, roasted, fried or stir-fried, grilled or BBQd, no added fat 653 0 32.1000000000000014 2.89999999999999991
204 Beef, diced, fully-trimmed, boiled, casseroled, microwaved, poached, steamed or stewed, fat not further defined 811 0 34 6.29999999999999982
205 Beef, diced, fully-trimmed, boiled, casseroled, microwaved, poached, steamed or stewed, no added fat 734 0 34.7000000000000028 3.89999999999999991
206 Beef, diced, fully-trimmed, raw 588 0 27.8000000000000007 3.10000000000000009
207 Beef, diced, separable lean, fried or stir-fried, no added fat 653 0 32.1000000000000014 2.89999999999999991
208 Beef, diced, separable lean, raw 574 0 27.8999999999999986 2.70000000000000018
209 Beef, diced, untrimmed, baked, roasted, fried or stir-fried, grilled or BBQd, no added fat 678 0 31.8000000000000007 3.70000000000000018
210 Beef, diced, untrimmed, raw 614 0 27.6000000000000014 3.89999999999999991
211 Beef, extract, bonox 401 0 16.6000000000000014 0.200000000000000011
212 Beef, eye fillet, separable lean, baked, roasted, fried, grilled or BBQd, no added fat 746 0 31.8999999999999986 5.5
213 Beef, eye fillet, separable lean, raw 570 0 22.1999999999999993 5.20000000000000018
214 Beef, fillet steak, fully-trimmed, baked, roasted, fried, grilled or BBQd, butter, dairy blend or margarine 753 0 26.6000000000000014 8.19999999999999929
215 Beef, fillet steak, fully-trimmed, baked, roasted, fried, grilled or BBQd, canola oil 771 0 26.5 8.69999999999999929
216 Beef, fillet steak, fully-trimmed, baked, roasted, fried, grilled or BBQd, fat not further defined 815 0 26.3000000000000007 10
217 Beef, fillet steak, fully-trimmed, baked, roasted, fried, grilled or BBQd, no added fat 746 0 31.8999999999999986 5.5
218 Beef, fillet steak, fully-trimmed, baked, roasted, fried, grilled or BBQd, olive oil 817 0 26.3000000000000007 10
219 Beef, fillet steak, fully-trimmed, baked, roasted, fried, grilled or BBQd, other oil 817 0 26.3000000000000007 10
220 Beef, fillet steak, fully-trimmed, raw 608 0 22 6.29999999999999982
221 Beef, fillet steak, separable lean, grilled or BBQd, no added fat 746 0 31.8999999999999986 5.5
222 Beef, fillet steak, separable lean, raw 570 0 22.1999999999999993 5.20000000000000018
223 Beef, fillet steak, untrimmed, baked, roasted, fried, grilled or BBQd, fat not further defined 937 0 25.6000000000000014 13.5999999999999996
224 Beef, fillet steak, untrimmed, baked, roasted, fried, grilled or BBQd, no added fat 849 0 30.8000000000000007 8.80000000000000071
225 Beef, fillet steak, untrimmed, raw 710 0 21.5 9.30000000000000071
226 Beef, for use in kebabs, cooked 1544 0.299999999999999989 24.1999999999999993 25.8999999999999986
227 Beef, heart, raw 420 0 18.1999999999999993 3
228 Beef, heart, simmered or boiled, no added fat 627 0 31.1999999999999993 2.60000000000000009
229 Beef, kebab, marinated, baked, roasted, fried, grilled or BBQd, fat not further defined 843 3.79999999999999982 23.5 10
230 Beef, kidney, raw 369 0 18.1999999999999993 1.60000000000000009
231 Beef, kidney, simmered or boiled, no added fat 566 0 27.3999999999999986 2.70000000000000018
232 Beef, liver, raw 704 0 20 8.59999999999999964
233 Beef, liver, simmered or boiled, no added fat 922 0 26.1999999999999993 11.6999999999999993
234 Beef, loin (fillet, sirloin, scotch fillet, T-bone), separable fat, grilled or BBQd, no added fat 2317 0 15.3000000000000007 55.6000000000000014
235 Beef, loin (fillet, sirloin, scotch fillet, T-bone), separable fat, raw 2478 0 12.0999999999999996 61.3999999999999986
236 Beef, mince, >10% fat, baked, roasted, fried or stir-fried, grilled or BBQd, fat not further defined 1234 0 29.6999999999999993 19.6999999999999993
237 Beef, mince, >10% fat, baked, roasted, fried or stir-fried, grilled or BBQd, no added fat 1185 0 30.3000000000000007 18.1000000000000014
238 Beef, mince, >10% fat, raw 767 0 22.5 10.4000000000000004
239 Beef, mince, ~5-10% fat, baked, roasted, fried or stir-fried, grilled or BBQd, canola oil 1160 0 28.8999999999999986 18.1000000000000014
240 Beef, mince, ~5-10% fat, baked, roasted, fried or stir-fried, grilled or BBQd, fat not further defined 1159 0 28.8999999999999986 18
241 Beef, mince, ~5-10% fat, baked, roasted, fried or stir-fried, grilled or BBQd, no added fat 1108 0 29.5 16.3999999999999986
242 Beef, mince, ~5-10% fat, baked, roasted, fried or stir-fried, grilled or BBQd, olive oil 1160 0 28.8999999999999986 18.1000000000000014
243 Beef, mince, ~5-10% fat, baked, roasted, fried or stir-fried, grilled or BBQd, other oil 1160 0 28.8999999999999986 18.1000000000000014
244 Beef, mince, ~5-10% fat, boiled, casseroled, microwaved, poached, steamed, or stewed, fat not further defined 961 0 27.3999999999999986 13.4000000000000004
245 Beef, mince, ~5-10% fat, boiled, casseroled, microwaved, poached, steamed, or stewed, no added fat 888 0 28 11.0999999999999996
246 Beef, mince, ~5-10% fat, raw 710 0 22.3999999999999986 8.90000000000000036
247 Beef, mince, <5% fat, baked, roasted, fried or stir-fried, grilled or BBQd, canola oil 906 0 31.6999999999999993 9.90000000000000036
248 Beef, mince, <5% fat, baked, roasted, fried or stir-fried, grilled or BBQd, fat not further defined 905 0 31.6999999999999993 9.90000000000000036
249 Beef, mince, <5% fat, baked, roasted, fried or stir-fried, grilled or BBQd, no added fat 849 0 32.2999999999999972 8.09999999999999964
250 Beef, mince, <5% fat, baked, roasted, fried or stir-fried, grilled or BBQd, olive oil 906 0 31.6999999999999993 9.90000000000000036
251 Beef, mince, <5% fat, baked, roasted, fried or stir-fried, grilled or BBQd, other oil 906 0 31.6999999999999993 9.90000000000000036
252 Beef, mince, <5% fat, boiled, casseroled, microwaved, poached, steamed or stewed, fat not further defined 754 0 28.1000000000000014 7.5
253 Beef, mince, <5% fat, boiled, casseroled, microwaved, poached, steamed, or stewed, no added fat 676 0 28.6000000000000014 5.09999999999999964
254 Beef, mince, <5% fat, raw 541 0 22.8999999999999986 4.09999999999999964
255 Beef, mince, baked, roasted, fried or stir-fried, grilled or BBQd, fat not further defined 911 0 30 10.8000000000000007
256 Beef, mince, baked, roasted, fried or stir-fried, grilled or BBQd, no added fat 829 0 30.6999999999999993 8.30000000000000071
257 Beef, mince, boiled, casseroled, microwaved, steamed or stewed, with or without added fat 805 0 28.1000000000000014 8.80000000000000071
258 Beef, mince, raw, not further defined 614 0 22.6999999999999993 6.20000000000000018
259 Beef, rib, baked, roasted, fried, grilled or BBQd, with or without added fat 1214 0.800000000000000044 33.3999999999999986 16.8999999999999986
260 Beef, rib cutlet or roast, fully-trimmed, baked, roasted, fried, grilled or BBQd, fat not further defined 690 0 25.8999999999999986 6.79999999999999982
261 Beef, rib cutlet or roast, fully-trimmed, baked, roasted, fried, grilled or BBQd, no added fat 740 0 28.3000000000000007 7
262 Beef, rib cutlet or roast, semi-trimmed, boiled, casseroled, microwaved, poached, steamed, or stewed, with or without added fat 975 0 27.6999999999999993 13.5999999999999996
263 Beef, roasting cuts, fully-trimmed, baked or roasted, no added fat 664 0 31.8999999999999986 3.29999999999999982
264 Beef, roasting cuts, fully-trimmed, raw 503 0 21.6000000000000014 3.70000000000000018
265 Beef, roasting cuts, semi-trimmed, baked or roasted, no added fat 705 0 31.5 4.59999999999999964
266 Beef, roasting cuts, semi-trimmed, raw 560 0 21.3999999999999986 5.29999999999999982
267 Beef, roasting cuts, untrimmed, baked or roasted, no added fat 745 0 25.6999999999999993 8.30000000000000071
268 Beef, roasting cuts, untrimmed, raw 611 0 21.1000000000000014 6.79999999999999982
269 Beef, round medallion, separable lean, grilled or BBQd, no added fat 615 0 31.8000000000000007 2
270 Beef, round medallion, separable lean, raw 420 0 21 1.69999999999999996
271 Beef, round steak, fully-trimmed, baked, roasted, fried, grilled or BBQd, canola oil 636 0 24.8999999999999986 5.79999999999999982
272 Beef, round steak, fully-trimmed, baked, roasted, fried, grilled or BBQd, fat not further defined 635 0 24.8999999999999986 5.70000000000000018
273 Beef, round steak, fully-trimmed, baked, roasted, fried, grilled or BBQd, no added fat 632 0 31.6000000000000014 2.5
274 Beef, round steak, fully-trimmed, baked, roasted, fried, grilled or BBQd, olive oil 636 0 24.8999999999999986 5.79999999999999982
275 Beef, round steak, fully-trimmed, baked, roasted, fried, grilled or BBQd, other oil 636 0 24.8999999999999986 5.79999999999999982
276 Beef, round steak, fully-trimmed, boiled, casseroled, microwaved, poached, steamed or stewed, with or without added fat 611 0 25.8000000000000007 4.70000000000000018
277 Beef, round steak, fully-trimmed, raw 457 0 20.8000000000000007 2.79999999999999982
278 Beef, round steak, semi-trimmed, baked, roasted, fried, grilled or BBQd, no added fat 656 0 31.3999999999999986 3.29999999999999982
279 Beef, round steak, semi-trimmed, raw 525 0 20.5 4.70000000000000018
280 Beef, round steak, separable fat, grilled or BBQd, no added fat 2317 0 15.3000000000000007 55.6000000000000014
281 Beef, round steak, separable fat, raw 2478 0 12.0999999999999996 61.3999999999999986
282 Beef, round steak, separable lean, grilled or BBQd, no added fat 615 0 31.8000000000000007 2
283 Beef, round steak, separable lean, raw 420 0 21 1.69999999999999996
284 Beef, round steak, untrimmed, baked, roasted, fried, grilled or BBQd, fat not further defined 768 0 24.3000000000000007 9.59999999999999964
285 Beef, round steak, untrimmed, baked, roasted, fried, grilled or BBQd, no added fat 697 0 31 4.59999999999999964
286 Beef, round steak, untrimmed, raw 568 0 20.3999999999999986 6
287 Beef, rump medallion, separable lean, grilled or BBQd, no added fat 710 0 32 4.5
288 Beef, rump medallion, separable lean, raw 450 0 20.3999999999999986 2.79999999999999982
289 Beef, rump steak, fully-trimmed, baked, roasted, fried, grilled or BBQd, butter, dairy blend or margarine 683 0 24.1000000000000014 7.40000000000000036
290 Beef, rump steak, fully-trimmed, baked, roasted, fried, grilled or BBQd, canola oil 701 0 24.1000000000000014 7.90000000000000036
291 Beef, rump steak, fully-trimmed, baked, roasted, fried, grilled or BBQd, no added fat 742 0 31.6999999999999993 5.5
292 Beef, rump steak, fully-trimmed, baked, roasted, fried, grilled or BBQd, olive oil 701 0 24.1000000000000014 7.90000000000000036
293 Beef, rump steak, fully-trimmed, baked, roasted, fried, stir-fried, grilled or BBQd, fat not further defined 700 0 24.1000000000000014 7.79999999999999982
294 Beef, rump steak, fully-trimmed, baked, roasted, fried, stir-fried, grilled or BBQd, other oil 701 0 24.1000000000000014 7.90000000000000036
295 Beef, rump steak, fully-trimmed, boiled, casseroled, microwaved, poached, steamed or stewed, with or without added fat 678 0 24.8999999999999986 6.90000000000000036
296 Beef, rump steak, fully-trimmed, raw 511 0 20.1999999999999993 4.59999999999999964
297 Beef, rump steak, semi-trimmed, baked, roasted, fried, grilled or BBQd, butter, dairy blend or margarine 724 0 23.8999999999999986 8.59999999999999964
298 Beef, rump steak, semi-trimmed, baked, roasted, fried, grilled or BBQd, canola oil 742 0 23.8999999999999986 9.09999999999999964
299 Beef, rump steak, semi-trimmed, baked, roasted, fried, grilled or BBQd, fat not further defined 741 0 23.8999999999999986 9
300 Beef, rump steak, semi-trimmed, baked, roasted, fried, grilled or BBQd, no added fat 804 0 31 7.5
301 Beef, rump steak, semi-trimmed, baked, roasted, fried, grilled or BBQd, olive oil 742 0 23.8999999999999986 9.09999999999999964
302 Beef, rump steak, semi-trimmed, baked, roasted, fried, grilled or BBQd, other oil 742 0 23.8999999999999986 9.09999999999999964
303 Beef, rump steak, semi-trimmed, boiled, casseroled, microwaved, poached, steamed, or stewed, with or without added fat 721 0 24.8000000000000007 8.09999999999999964
304 Beef, rump steak, semi-trimmed, raw 546 0 20 5.59999999999999964
305 Beef, rump steak, separable fat, grilled or BBQd, no added fat 2317 0 15.3000000000000007 55.6000000000000014
306 Beef, rump steak, separable fat, raw 2478 0 12.0999999999999996 61.3999999999999986
307 Beef, rump steak, separable lean, grilled or BBQd, no added fat 710 0 32 4.5
308 Beef, rump steak, separable lean, raw 450 0 20.3999999999999986 2.79999999999999982
309 Beef, rump steak, untrimmed, baked, roasted, fried, grilled or BBQd, butter, dairy blend or margarine 1047 0 22.6000000000000014 17.8999999999999986
310 Beef, rump steak, untrimmed, baked, roasted, fried, grilled or BBQd, canola oil 1065 0 22.6000000000000014 18.3999999999999986
311 Beef, rump steak, untrimmed, baked, roasted, fried, grilled or BBQd, fat not further defined 1063 0 22.6000000000000014 18.3000000000000007
312 Beef, rump steak, untrimmed, baked, roasted, fried, grilled or BBQd, no added fat 910 0 29.8999999999999986 10.9000000000000004
313 Beef, rump steak, untrimmed, baked, roasted, fried, grilled or BBQd, olive oil 1065 0 22.6000000000000014 18.3999999999999986
314 Beef, rump steak, untrimmed, baked, roasted, fried, grilled or BBQd, other oil 1065 0 22.6000000000000014 18.3999999999999986
315 Beef, rump steak, untrimmed, boiled, casseroled, microwaved, poached, steamed or stewed, with or without added fat 1054 0 23.3999999999999986 17.6999999999999993
316 Beef, rump steak, untrimmed, raw 815 0 18.8999999999999986 13.3000000000000007
317 Beef, schnitzel, breadcrumb coating, baked, roasted, fried, grilled or BBQd, canola oil 1053 0.5 21.1000000000000014 12.3000000000000007
318 Beef, schnitzel, breadcrumb coating, baked, roasted, fried, grilled or BBQd, fat not further defined 1049 0.5 21.1000000000000014 12.1999999999999993
319 Beef, schnitzel, breadcrumb coating, baked, roasted, fried, grilled or BBQd, no added fat 859 0.599999999999999978 22.3000000000000007 6.09999999999999964
320 Beef, schnitzel, breadcrumb coating, baked, roasted, fried, grilled or BBQd, olive oil 1053 0.5 21.1000000000000014 12.3000000000000007
321 Beef, schnitzel, breadcrumb coating, baked, roasted, fried, grilled or BBQd, other oil 1053 0.5 21.1000000000000014 12.3000000000000007
322 Beef, scotch fillet, fully-trimmed, baked, roasted, fried, grilled or BBQd, butter, dairy blend or margarine 797 0 27.8000000000000007 8.80000000000000071
323 Beef, scotch fillet, fully-trimmed, baked, roasted, fried, grilled or BBQd, canola oil 815 0 27.6999999999999993 9.30000000000000071
324 Beef, scotch fillet, fully-trimmed, baked, roasted, fried, grilled or BBQd, fat not further defined 814 0 27.6999999999999993 9.19999999999999929
325 Beef, scotch fillet, fully-trimmed, baked, roasted, fried, grilled or BBQd, no added fat 756 0 31.3999999999999986 6
326 Beef, scotch fillet, fully-trimmed, baked, roasted, fried, grilled or BBQd, olive oil 815 0 27.6999999999999993 9.30000000000000071
327 Beef, scotch fillet, fully-trimmed, baked, roasted, fried, grilled or BBQd, other oil 815 0 27.6999999999999993 9.30000000000000071
328 Beef, scotch fillet, fully-trimmed, boiled, casseroled, microwaved, poached, steamed or stewed, with or without added fat 796 0 28.6999999999999993 8.30000000000000071
329 Beef, scotch fillet, fully-trimmed, raw 607 0 23.1999999999999993 5.70000000000000018
330 Beef, scotch fillet, semi-trimmed, baked, roasted, fried, grilled or BBQd, butter, dairy blend or margarine 970 0 26.6999999999999993 13.9000000000000004
331 Beef, scotch fillet, semi-trimmed, baked, roasted, fried, grilled or BBQd, canola oil 988 0 26.6999999999999993 14.4000000000000004
332 Beef, scotch fillet, semi-trimmed, baked, roasted, fried, grilled or BBQd, fat not further defined 987 0 26.6999999999999993 14.4000000000000004
333 Beef, scotch fillet, semi-trimmed, baked, roasted, fried, grilled or BBQd, no added fat 863 0 30.3000000000000007 9.40000000000000036
334 Beef, scotch fillet, semi-trimmed, baked, roasted, fried, grilled or BBQd, olive oil 988 0 26.6999999999999993 14.4000000000000004
335 Beef, scotch fillet, semi-trimmed, baked, roasted, fried, grilled or BBQd, other oil 988 0 26.6999999999999993 14.4000000000000004
336 Beef, scotch fillet, semi-trimmed, raw 751 0 22.3999999999999986 10
337 Beef, scotch fillet, separable lean, grilled or BBQd, no added fat 707 0 31.8999999999999986 4.5
338 Beef, scotch fillet, separable lean, raw 508 0 23.8000000000000007 2.79999999999999982
339 Beef, scotch fillet, untrimmed, baked, roasted, fried, grilled or BBQd, fat not further defined 1144 0 25.8000000000000007 19.1000000000000014
340 Beef, scotch fillet, untrimmed, baked, roasted, fried, grilled or BBQd, no added fat 953 0 29.3999999999999986 12.3000000000000007
341 Beef, scotch fillet, untrimmed, raw 883 0 21.6000000000000014 13.9000000000000004
342 Beef, silverside minute steak, separable lean, baked or roasted, no added fat 664 0 26.8999999999999986 5.59999999999999964
343 Beef, silverside minute steak, separable lean, raw 495 0 24.1000000000000014 2.29999999999999982
344 Beef, silverside roast, fully-trimmed, baked or roasted, no added fat 681 0 26.8000000000000007 6.09999999999999964
345 Beef, silverside roast, fully-trimmed, boiled, casseroled, microwaved, poached, steamed, or stewed, no added fat 656 0 29.8999999999999986 4
346 Beef, silverside roast, fully-trimmed, raw 525 0 23.8999999999999986 3.20000000000000018
347 Beef, silverside roast, semi-trimmed, baked or roasted, no added fat 704 0 26.6000000000000014 6.79999999999999982
348 Beef, silverside roast, semi-trimmed, boiled, casseroled, microwaved, poached, steamed, or stewed, no added fat 709 0 29.6000000000000014 5.59999999999999964
349 Beef, silverside roast, semi-trimmed, raw 568 0 23.6999999999999993 4.5
350 Beef, silverside roast, separable lean, baked or roasted, no added fat 664 0 26.8999999999999986 5.59999999999999964
351 Beef, silverside roast, separable lean, raw 495 0 24.1000000000000014 2.29999999999999982
352 Beef, silverside roast, untrimmed, baked or roasted, no added fat 797 0 26 9.59999999999999964
353 Beef, silverside roast, untrimmed, boiled, casseroled, microwaved, poached, steamed or stewed, no added fat 888 0 28.5 10.9000000000000004
354 Beef, silverside roast, untrimmed, raw 711 0 22.8000000000000007 8.69999999999999929
355 Beef, sirloin steak, fully-trimmed, baked, roasted, fried, grilled or BBQd, canola oil 712 0 28.5 6.09999999999999964
356 Beef, sirloin steak, fully-trimmed, baked, roasted, fried, grilled or BBQd, fat not further defined 710 0 28.5 6.09999999999999964
357 Beef, sirloin steak, fully-trimmed, baked, roasted, fried, grilled or BBQd, no added fat 676 0 30.3000000000000007 4.29999999999999982
358 Beef, sirloin steak, fully-trimmed, baked, roasted, fried, grilled or BBQd, olive oil 712 0 28.5 6.09999999999999964
359 Beef, sirloin steak, fully-trimmed, baked, roasted, fried, grilled or BBQd, other oil 712 0 28.5 6.09999999999999964
360 Beef, sirloin steak, fully-trimmed, boiled, casseroled, microwaved, poached, steamed or stewed, with or without added fat 689 0 29.5 5.09999999999999964
361 Beef, sirloin steak, fully-trimmed, raw 520 0 23.8999999999999986 3.10000000000000009
362 Beef, sirloin steak, semi-trimmed, baked, roasted, fried, grilled or BBQd, canola oil 807 0 27.8999999999999986 9
363 Beef, sirloin steak, semi-trimmed, baked, roasted, fried, grilled or BBQd, fat not further defined 805 0 27.8999999999999986 8.90000000000000036
364 Beef, sirloin steak, semi-trimmed, baked, roasted, fried, grilled or BBQd, no added fat 746 0 29.6999999999999993 6.5
365 Beef, sirloin steak, semi-trimmed, baked, roasted, fried, grilled or BBQd, olive oil 807 0 27.8999999999999986 9
366 Beef, sirloin steak, semi-trimmed, baked, roasted, fried, grilled or BBQd, other oil 807 0 27.8999999999999986 9
367 Beef, sirloin steak, semi-trimmed, raw 599 0 23.3999999999999986 5.5
368 Beef, sirloin steak, separable lean, grilled or BBQd, no added fat 659 0 30.5 3.79999999999999982
369 Beef, sirloin steak, separable lean, raw 480 0 24.1000000000000014 1.89999999999999991
370 Beef, sirloin steak, untrimmed, baked, roasted, fried, grilled or BBQd, fat not further defined 1200 0 25.6000000000000014 20.6999999999999993
371 Beef, sirloin steak, untrimmed, baked, roasted, fried, grilled or BBQd, no added fat 1007 0 27.3000000000000007 14.6999999999999993
372 Beef, sirloin steak, untrimmed, baked, roasted, fried, grilled or BBQd, olive oil 1201 0 25.6000000000000014 20.6999999999999993
373 Beef, sirloin steak, untrimmed, raw 930 0 21.3999999999999986 15.3000000000000007
374 Beef, steak, fully-trimmed, baked, roasted, fried, grilled or BBQd, canola oil 750 0 26.3999999999999986 8.09999999999999964
375 Beef, steak, fully-trimmed, baked, roasted, fried, grilled or BBQd, fat not further defined 749 0 26.3999999999999986 8.09999999999999964
376 Beef, steak, fully-trimmed, baked, roasted, fried, grilled or BBQd, no added fat 673 0 27 5.79999999999999982
377 Beef, steak, fully-trimmed, baked, roasted, fried, grilled or BBQd, olive oil 750 0 26.3999999999999986 8.09999999999999964
378 Beef, steak, fully-trimmed, baked, roasted, fried, grilled or BBQd, other oil 750 0 26.3999999999999986 8.09999999999999964
379 Beef, steak, fully-trimmed, boiled, casseroled, microwaved, poached, steamed or stewed, fat not further defined 767 0 27.1000000000000014 8.30000000000000071
380 Beef, steak, fully-trimmed, boiled, casseroled, microwaved, poached, steamed or stewed, no added fat 690 0 27.6999999999999993 5.90000000000000036
381 Beef, steak, fully-trimmed, coated, baked, roasted, fried, grilled or BBQd, fat not further defined 1064 0.699999999999999956 22.5 12.5
382 Beef, steak, fully-trimmed, coated, baked, roasted, fried, grilled or BBQd, no added fat 874 0.800000000000000044 23.8000000000000007 6.5
383 Beef, steak, fully-trimmed, raw 552 0 22.1000000000000014 4.79999999999999982
384 Beef, steak, semi-trimmed, baked, roasted, fried, grilled or BBQd, canola oil 839 0 25.8999999999999986 10.8000000000000007
385 Beef, steak, semi-trimmed, baked, roasted, fried, grilled or BBQd, fat not further defined 837 0 25.8999999999999986 10.6999999999999993
386 Beef, steak, semi-trimmed, baked, roasted, fried, grilled or BBQd, no added fat 764 0 26.5 8.5
387 Beef, steak, semi-trimmed, baked, roasted, fried, grilled or BBQd, olive oil 839 0 25.8999999999999986 10.8000000000000007
388 Beef, steak, semi-trimmed, baked, roasted, fried, grilled or BBQd, other oil 839 0 25.8999999999999986 10.8000000000000007
389 Beef, steak, semi-trimmed, boiled, casseroled, microwaved, poached, steamed or stewed, with or without added fat 820 0 26.8999999999999986 9.80000000000000071
390 Beef, steak, semi-trimmed, coated, baked, roasted, fried, grilled or BBQd, with or without added fat 1038 0.699999999999999956 22.6999999999999993 11.5
391 Beef, steak, semi-trimmed, raw 626 0 21.6999999999999993 7
392 Beef, steak, untrimmed 847 0 20.6000000000000014 13.5
393 Beef, steak, untrimmed, baked, roasted, fried, grilled or BBQd, fat not further defined 1101 0 24.6000000000000014 18.5
394 Beef, steak, untrimmed, baked, roasted, fried, grilled or BBQd, no added fat 1033 0 25.1000000000000014 16.3999999999999986
395 Beef, steak, untrimmed, baked, roasted, fried, grilled or BBQd, olive oil 1103 0 24.6000000000000014 18.5
396 Beef, steak, untrimmed, baked, roasted, fried, grilled or BBQd, other oil 1103 0 24.6000000000000014 18.5
397 Beef, steak, untrimmed, coated, baked, roasted, fried, grilled or BBQd, fat not further defined 1321 0.699999999999999956 21.1000000000000014 20.1000000000000014
398 Beef, stir-fry cuts, fully-trimmed, fried or stir-fried, no added fat 683 0 31.8999999999999986 3.79999999999999982
399 Beef, stir-fry cuts, fully-trimmed, raw 492 0 21.1000000000000014 3.60000000000000009
400 Beef, stir-fry cuts, semi-trimmed, fried or stir-fried, no added fat 726 0 31.5 5.20000000000000018
401 Beef, stir-fry cuts, semi-trimmed, raw 543 0 20.8000000000000007 5.09999999999999964
402 Beef, stir-fry strips, fully-trimmed, baked, roasted, fried, stir-fried, grilled or BBQd, canola oil 741 0 32.3999999999999986 5.09999999999999964
403 Beef, stir-fry strips, fully-trimmed, baked, roasted, fried, stir-fried, grilled or BBQd, fat not further defined 739 0 32.3999999999999986 5.09999999999999964
404 Beef, stir-fry strips, fully-trimmed, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 644 0 30.8999999999999986 3.20000000000000018
405 Beef, stir-fry strips, fully-trimmed, baked, roasted, fried, stir-fried, grilled or BBQd, olive oil 741 0 32.3999999999999986 5.09999999999999964
406 Beef, stir-fry strips, fully-trimmed, baked, roasted, fried, stir-fried, grilled or BBQd, other oil 741 0 32.3999999999999986 5.09999999999999964
407 Beef, stir-fry strips, fully-trimmed, boiled, casseroled, microwaved, poached, steamed or stewed, fat not further defined 758 0 33.2000000000000028 5.20000000000000018
408 Beef, stir-fry strips, fully-trimmed, boiled, casseroled, microwaved, poached, steamed or stewed, no added fat 680 0 33.8999999999999986 2.79999999999999982
409 Beef, stir-fry strips, fully-trimmed, raw 544 0 27.1000000000000014 2.20000000000000018
410 Beef, stir-fry strips or diced, separable fat, fried or stir-fried, no added fat 2317 0 15.3000000000000007 55.6000000000000014
411 Beef, stir-fry strips or diced, separable fat, raw 2478 0 12.0999999999999996 61.3999999999999986
412 Beef, stir-fry strips, separable lean, fried or stir-fried, no added fat 644 0 30.8999999999999986 3.20000000000000018
413 Beef, stir-fry strips, separable lean, raw 536 0 27.1999999999999993 2
414 Beef, stir-fry strips, untrimmed, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 657 0 30.8000000000000007 3.60000000000000009
415 Beef, stir-fry strips, untrimmed, raw 559 0 27 2.70000000000000018
416 Beef, tail, raw 1287 0 17.3999999999999986 26.8000000000000007
417 Beef, tail, simmered or boiled, no added fat 1453 0 21.6999999999999993 29.3000000000000007
418 Beef, T-bone steak, fully-trimmed, baked, roasted, fried, grilled or BBQd, fat not further defined 814 0 28.3000000000000007 9
419 Beef, T-bone steak, fully-trimmed, baked, roasted, fried, grilled or BBQd, no added fat 755 0 28.1999999999999993 7.40000000000000036
420 Beef, T-bone steak, fully-trimmed, raw 607 0 23.6999999999999993 5.5
421 Beef, T-bone steak, semi-trimmed, baked, roasted, fried, grilled or BBQd, butter, dairy blend or margarine 954 0 27.3000000000000007 13.1999999999999993
422 Beef, T-bone steak, semi-trimmed, baked, roasted, fried, grilled or BBQd, canola oil 973 0 27.3000000000000007 13.6999999999999993
423 Beef, T-bone steak, semi-trimmed, baked, roasted, fried, grilled or BBQd, fat not further defined 971 0 27.3000000000000007 13.6999999999999993
424 Beef, T-bone steak, semi-trimmed, baked, roasted, fried, grilled or BBQd, no added fat 837 0 27.5 10
425 Beef, T-bone steak, semi-trimmed, baked, roasted, fried, grilled or BBQd, olive oil 973 0 27.3000000000000007 13.6999999999999993
426 Beef, T-bone steak, semi-trimmed, baked, roasted, fried, grilled or BBQd, other oil 973 0 27.3000000000000007 13.6999999999999993
427 Beef, T-bone steak, semi-trimmed, raw 738 0 22.8000000000000007 9.5
428 Beef, T-bone steak, separable lean, grilled or BBQd, no added fat 637 0 29.1999999999999993 3.79999999999999982
429 Beef, T-bone steak, separable lean, raw 487 0 24.3999999999999986 2
430 Beef, T-bone steak, untrimmed, baked, roasted, fried, grilled or BBQd, fat not further defined 1270 0 25.5 22.6000000000000014
431 Beef, T-bone steak, untrimmed, baked, roasted, fried, grilled or BBQd, no added fat 984 0 26.3000000000000007 14.5
432 Beef, T-bone steak, untrimmed, raw 988 0 21.3000000000000007 16.8999999999999986
433 Beef, tongue, raw 833 0 17.1999999999999993 14.5999999999999996
434 Beef, tongue, simmered or boiled, no added fat 1289 0 21.1999999999999993 25.1000000000000014
435 Beef, topside or silverside, separable fat, raw 2478 0 12.0999999999999996 61.3999999999999986
436 Beef, topside roast, fully-trimmed, baked or roasted, no added fat 676 0 32.5 3.29999999999999982
437 Beef, topside roast, fully-trimmed, boiled, casseroled, microwaved, poached, steamed or stewed, no added fat 635 0 27.8000000000000007 4.40000000000000036
438 Beef, topside roast, fully-trimmed, raw 518 0 22.1999999999999993 3.79999999999999982
439 Beef, topside roast, semi-trimmed, baked or roasted, no added fat 719 0 32.1000000000000014 4.70000000000000018
440 Beef, topside roast, semi-trimmed, raw 558 0 22 5
441 Beef, topside roast, separable lean, baked or roasted, no added fat 660 0 32.7000000000000028 2.79999999999999982
442 Beef, topside roast, separable lean, raw 490 0 22.3000000000000007 3
443 Beef, topside roast, untrimmed, baked or roasted, no added fat 793 0 31.3000000000000007 7.09999999999999964
444 Beef, topside roast, untrimmed, breadcrumb coating, baked or roasted, no added fat 1082 0.5 22.3999999999999986 12.5
445 Beef, topside roast, untrimmed, raw 558 0 22 5
446 Beef, topside/silverside, separable fat, baked or roasted, no added fat 2317 0 15.3000000000000007 55.6000000000000014
447 Beef, topside steak, fully-trimmed, baked, roasted, fried, grilled or BBQd, fat not further defined 696 0 26.5 6.59999999999999964
448 Beef, topside steak, fully-trimmed, baked, roasted, fried, grilled or BBQd, no added fat 676 0 32.5 3.29999999999999982
449 Beef, topside steak, fully-trimmed, boiled, casseroled, microwaved, poached, steamed or stewed, with or without added fat 674 0 27.5 5.59999999999999964
450 Beef, topside steak, fully-trimmed, raw 508 0 22.1999999999999993 3.5
451 Beef, topside steak, semi-trimmed, baked, roasted, fried, grilled or BBQd, no added fat 719 0 32.1000000000000014 4.70000000000000018
452 Beef, topside steak, semi-trimmed, raw 558 0 22 5
453 Beef, topside steak, separable lean, baked or roasted, no added fat 660 0 32.7000000000000028 2.79999999999999982
454 Beef, topside steak, separable lean, raw 490 0 22.3000000000000007 3
455 Beef, topside steak, untrimmed, baked, roasted, fried, grilled or BBQd, no added fat 793 0 31.3000000000000007 7.09999999999999964
456 Beef, topside steak, untrimmed, raw 564 0 21.8999999999999986 5.20000000000000018
457 Beef, tripe, raw 302 0 13.1999999999999993 2.10000000000000009
458 Beef, tripe, simmered or boiled, no added fat 348 0 14.4000000000000004 2.79999999999999982
459 Beer, flavoured (alcohol 4% v/v) 142 0.200000000000000011 0.299999999999999989 0
460 Beer, home-brewed, full strength 153 0.200000000000000011 0.5 0
461 Beer, home-brewed, reduced alcohol, mid-strength, or light beer 109 0.100000000000000006 0.5 0
462 Beer, lager or ale style (alcohol 4.6% v/v) 143 0.100000000000000006 0.299999999999999989 0
463 Beer, lager or ale style (alcohol 5% v/v & above) 151 0 0.400000000000000022 0
464 Beer, lager or ale style, mid strength (alcohol 3.5% v/v) 120 0.100000000000000006 0.299999999999999989 0
465 Beer, lager or ale style, reduced alcohol or light beer (alcohol 2.5% v/v) 103 0.100000000000000006 0.299999999999999989 0
466 Beer, not further defined 136 0.100000000000000006 0.299999999999999989 0
467 Beer, stout (alcohol 6% v/v) 223 0.100000000000000006 0.599999999999999978 0
468 Beetroot, canned, drained 199 8.90000000000000036 1.19999999999999996 0.100000000000000006
469 Beetroot, purple, peeled, fresh or frozen, boiled, microwaved or steamed, drained 217 9 2 0.100000000000000006
470 Beetroot, purple, peeled, fresh or frozen, raw 201 8.40000000000000036 1.89999999999999991 0.100000000000000006
471 Beetroot, purple, peeled or unpeeled, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 246 10.1999999999999993 2.29999999999999982 0.100000000000000006
472 Beetroot, purple, peeled or unpeeled, fresh or frozen, baked, roasted, stir-fried, grilled or BBQd, fat not further defined 455 9.69999999999999929 2.20000000000000018 6.09999999999999964
473 Beetroot, purple, peeled or unpeeled, fresh or frozen, steamed, added fat not further defined 386 8.59999999999999964 2 5
474 Beta-carotene 0 0 0 0
475 Beverage base, banana flavour (Nesquik brand) 1596 95 0 0
476 Beverage base, chocolate flavour, added vitamins A, B1, B2, B3, C, D & folate & Ca (Aktavite) 1503 62.8999999999999986 4.40000000000000036 1.89999999999999991
477 Beverage base, chocolate flavour, added vitamins A, B1, B2, C, D & folate, Ca & Fe (Milo) 1666 47.2999999999999972 12.6999999999999993 10.4000000000000004
478 Beverage base, chocolate flavour, added vitamins A & B3 & Fe 1600 46.1000000000000014 9.30000000000000071 2.89999999999999991
479 Beverage base, chocolate flavour, unfortified (Nesquik brand) 1632 82.2999999999999972 4.70000000000000018 3.39999999999999991
480 Beverage base, drinking chocolate, unfortified 1508 74.2999999999999972 5.59999999999999964 4.79999999999999982
481 Beverage base, malt chocolate flavour, added vitamins A, B1, B2, C, D & folate, Ca & Fe (Milo malt) 1681 47.2999999999999972 12.6999999999999993 9.59999999999999964
482 Beverage base, malted milk powder, added vitamins A, B1, B2, B3, B6, B12, biotin, C, D E & folate, Ca & Zn 1582 37 9.40000000000000036 3
483 Beverage base, malted milk powder, unfortified 1686 45.7000000000000028 11.6999999999999993 7.20000000000000018
484 Beverage base, soy, dry powder (not infant food) 1992 11.3000000000000007 21.8999999999999986 26.3000000000000007
485 Beverage base, strawberry flavour, from drinking straw, containing added sugar & intense sweetener, unfortified 1566 50.3999999999999986 0.200000000000000011 0
486 Beverage base, strawberry flavour, unfortified (Nesquik brand) 1594 99.2000000000000028 0 0
487 Biscuit filling, cream style, chocolate flavoured, commercial 2667 40.8999999999999986 2.20000000000000018 53.2999999999999972
488 Biscuit filling, cream style, vanilla flavoured, commercial 2640 43.1000000000000014 2 51.7999999999999972
489 Biscuit filling, icing style, vanilla flavoured, commercial 2288 61.1000000000000014 0.200000000000000011 35.2999999999999972
490 Bitters 1344 0.800000000000000044 0.100000000000000006 0.5
491 Blackberry, purchased frozen 211 7.5 1.39999999999999991 0.299999999999999989
492 Blackberry, raw 211 7.5 1.39999999999999991 0.299999999999999989
493 Blueberry, canned in syrup 302 17 0.400000000000000022 0
494 Blueberry, canned in syrup, drained 323 16.6000000000000014 0.800000000000000044 0.100000000000000006
495 Blueberry, canned in syrup, syrup only 285 17.3999999999999986 0.100000000000000006 0
496 Blueberry, purchased frozen 224 11.0999999999999996 0.599999999999999978 0.100000000000000006
497 Blueberry, raw 218 10.8000000000000007 0.599999999999999978 0.100000000000000006
498 Blue-eye trevalla, baked, roasted, grilled, BBQd, fried or deep fried, fat not further defined 732 0 24.6999999999999993 8.40000000000000036
499 Blue-eye trevalla, coated, takeaway outlet, deep fried 1049 0.200000000000000011 15.5 16.8000000000000007
500 Blue-eye trevalla, flesh, raw 371 0 19 1.30000000000000004
501 Blue grenadier (hoki), baked, roasted, fried, grilled or BBQd, no added fat 427 0.299999999999999989 22 1.30000000000000004
502 Blue grenadier (hoki), baked, roasted, grilled, BBQd, fried or deep fried, fat not further defined 656 0.400000000000000022 20.1999999999999993 8.30000000000000071
503 Blue grenadier (hoki), boiled, microwaved, steamed or poached, with or without added fat 392 0.299999999999999989 18.3999999999999986 2
504 Blue grenadier (hoki), coated, baked, roasted, grilled, BBQd, fried or deep fried, fat not further defined 747 0.699999999999999956 16.8999999999999986 9.19999999999999929
505 Blue grenadier (hoki), coated, packaged frozen, baked, roasted, fried, grilled or BBQd, with or without added fat 1025 1.39999999999999991 15.9000000000000004 11.8000000000000007
506 Blue grenadier (hoki), coated, takeaway outlet, deep fried 1006 0.400000000000000022 12.9000000000000004 16.6999999999999993
507 Blue grenadier (hoki), raw 313 0.299999999999999989 15.5 1.19999999999999996
508 Bok choy or choy sum, baked, roasted, fried, stir-fried, grilled or BBQd, fat not further defined 367 0.800000000000000044 3.39999999999999991 7.29999999999999982
509 Bok choy or choy sum, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 113 0.900000000000000022 3.60000000000000009 0.299999999999999989
510 Bok choy or choy sum, baked, roasted, fried, stir-fried, grilled or BBQd, olive oil 372 0.800000000000000044 3.39999999999999991 7.40000000000000036
511 Bok choy or choy sum, baked, roasted, fried, stir-fried, grilled or BBQd, other oil 372 0.800000000000000044 3.39999999999999991 7.40000000000000036
512 Bok choy or choy sum, boiled, casseroled microwaved, poached, steamed or stewed, added fat not further defined 252 0.599999999999999978 2.5 4.90000000000000036
513 Bok choy or choy sum, boiled, microwaved or steamed, drained 82 0.599999999999999978 2.60000000000000009 0.200000000000000011
514 Bok choy or choy sum, raw 79 0.599999999999999978 2.5 0.200000000000000011
515 Brandy 897 0.299999999999999989 0 0
516 Brandy, cooked 302 0.299999999999999989 0 0
517 Bread, banana, commercial 1391 25.1000000000000014 5.29999999999999982 14.1999999999999993
518 Bread, banana, commercial, toasted 1617 29.1999999999999993 6.09999999999999964 16.5
519 Bread, banana, homemade 1470 29.5 5.70000000000000018 11.9000000000000004
520 Bread, banana, homemade, toasted 1709 34.2000000000000028 6.70000000000000018 13.8000000000000007
521 Bread, chapatti, commercial 993 0.299999999999999989 7.09999999999999964 2.20000000000000018
522 Bread, commercial, fresh, not further defined 1015 2.5 10.1999999999999993 2.89999999999999991
523 Bread, commercial, toasted, not further defined 1194 2.89999999999999991 12 3.39999999999999991
524 Bread, corn 1069 3.89999999999999991 7.79999999999999982 4.90000000000000036
525 Bread, croutons, commercial or homemade 1600 3.60000000000000009 12.9000000000000004 9.5
526 Breadcrumbs for coating food, commercial, uncooked 1610 2.89999999999999991 8.90000000000000036 18.3999999999999986
527 Breadcrumbs for coating food, homemade, uncooked 1447 3.20000000000000018 11.3000000000000007 6.5
528 Breadcrumbs, white 1489 4.40000000000000036 12.4000000000000004 3.60000000000000009
529 Bread, damper, from white flour, commercial 1029 1.69999999999999996 6.40000000000000036 5.40000000000000036
530 Bread, damper, from white flour, commercial, toasted 1210 1.89999999999999991 7.59999999999999964 6.29999999999999982
531 Bread, damper, from white flour, homemade from basic ingredients 1084 2.89999999999999991 7.5 5.5
532 Bread, damper, from white flour, homemade from basic ingredients 999 1.60000000000000009 6.70000000000000018 4
533 Bread, damper, from white Jackaroo flour, added vitamins & minerals, homemade from basic ingredients 1124 2.60000000000000009 8 4.79999999999999982
534 Bread, damper, from wholemeal flour, commercial 1018 2.20000000000000018 6.40000000000000036 5.90000000000000036
535 Bread, damper, from wholemeal flour, commercial, toasted 1197 2.5 7.5 6.90000000000000036
536 Bread, damper, from wholemeal flour, homemade from basic ingredients 986 2.20000000000000018 6.59999999999999964 4.5
537 Bread, flat, injera 984 0 7.09999999999999964 0.800000000000000044
538 Bread, flat, not further defined, commercial 1176 4.29999999999999982 8.5 4.79999999999999982
539 Bread, flat, not further defined, commercial, toasted 1392 5.09999999999999964 10 5.70000000000000018
540 Bread, flat (pita or Lebanese), white, commercial 1102 3.10000000000000009 9.5 2.10000000000000009
541 Bread, flat (pita or Lebanese), white, commercial, toasted 1296 3.60000000000000009 11.1999999999999993 2.39999999999999991
542 Bread, flat (pita or Lebanese), wholemeal, commercial 1074 3.10000000000000009 8.59999999999999964 2
543 Bread, flat (pita or Lebanese), wholemeal, commercial, toasted 1279 3.70000000000000018 10.3000000000000007 2.39999999999999991
544 Bread, flat wrap, corn, commercial 1267 1.60000000000000009 4.79999999999999982 1.30000000000000004
545 Bread, flat wrap, corn, commercial, toasted 1407 1.80000000000000004 5.29999999999999982 1.39999999999999991
546 Bread, flat wrap or tortilla, mixed grain 1275 5.79999999999999982 8 8.40000000000000036
547 Bread, flat wrap or tortilla, mixed grain, toasted 1417 6.40000000000000036 8.80000000000000071 9.30000000000000071
548 Bread, flat wrap or tortilla, rice, commercial 1335 4.29999999999999982 7.09999999999999964 6.20000000000000018
549 Bread, flat wrap or tortilla, rye, commercial 1119 3 9.69999999999999929 2.10000000000000009
550 Bread, flat wrap or tortilla, rye, commercial, toasted 1243 3.29999999999999982 10.8000000000000007 2.29999999999999982
551 Bread, flat wrap or tortilla, wholemeal, commercial 1277 6 7.79999999999999982 8.30000000000000071
552 Bread, flat wrap or tortilla, wholemeal, commercial, toasted 1419 6.70000000000000018 8.69999999999999929 9.19999999999999929
553 Bread, flat wrap, white, commercial 1260 6 7.79999999999999982 8.30000000000000071
554 Bread, flat wrap, white, commercial, toasted 1400 6.70000000000000018 8.69999999999999929 9.19999999999999929
555 Bread, focaccia, plain, commercial 993 2.70000000000000018 9.59999999999999964 1.80000000000000004
556 Bread, focaccia, plain, commercial, toasted 1182 3.20000000000000018 11.4000000000000004 2.10000000000000009
557 Bread, fresh, not further defined 999 2.29999999999999982 8.5 2.70000000000000018
558 Bread, from rye flour, added grains, commercial 1007 1.60000000000000009 11.5 3.79999999999999982
559 Bread, from rye flour, added grains, commercial, toasted 1185 1.89999999999999991 13.5 4.5
560 Bread, from rye flour, dark, commercial 957 2.5 7.90000000000000036 2
561 Bread, from rye flour, dark, commercial, toasted 1126 2.89999999999999991 9.30000000000000071 2.39999999999999991
562 Bread, from rye flour, homemade from basic ingredients 1007 1.10000000000000009 7.70000000000000018 3.10000000000000009
563 Bread, from rye flour, homemade from basic ingredients, toasted 1184 1.30000000000000004 9.09999999999999964 3.70000000000000018
564 Bread, from rye flour, light, commercial 1057 2.20000000000000018 9 2.39999999999999991
565 Bread, from rye flour, light, commercial, toasted 1243 2.60000000000000009 10.5999999999999996 2.79999999999999982
566 Bread, from rye flour, organic, commercial 1057 2.20000000000000018 9 2.39999999999999991
567 Bread, from rye flour, organic, commercial, toasted 1243 2.60000000000000009 10.5999999999999996 2.79999999999999982
568 Bread, from rye flour, sour dough, commercial 980 2 9.19999999999999929 1.60000000000000009
569 Bread, from rye flour, sour dough, commercial, toasted 1153 2.39999999999999991 10.8000000000000007 1.89999999999999991
570 Bread, from spelt flour, commercial 1127 2.10000000000000009 12.1999999999999993 1.89999999999999991
571 Bread, from spelt flour, commercial, toasted 1342 2.60000000000000009 14.5999999999999996 2.29999999999999982
572 Bread, from wheat flour, commercial, added dried fruit 1151 15 8.30000000000000071 3.89999999999999991
573 Bread, from wheat flour, commercial, added dried fruit, toasted 1279 16.6999999999999993 9.19999999999999929 4.29999999999999982
574 Bread, from wheat flour, homemade from basic ingredients, added dried fruit 1136 14.8000000000000007 6.70000000000000018 3.60000000000000009
575 Bread, from wheat flour, homemade from basic ingredients, added dried fruit, toasted 1263 16.3999999999999986 7.5 4
576 Bread, from white flour, chia seeds, commercial 1059 2.5 10.0999999999999996 4.09999999999999964
577 Bread, from white flour, chia seeds, commercial, toasted 1246 2.89999999999999991 11.9000000000000004 4.79999999999999982
578 Bread, from white flour, ciabatta, commercial 1045 2.79999999999999982 10.0999999999999996 1.89999999999999991
579 Bread, from white flour, ciabatta, commercial, toasted 1244 3.39999999999999991 12 2.20000000000000018
580 Bread, from white flour, commercial 993 2.70000000000000018 9.59999999999999964 1.80000000000000004
581 Bread, from white flour, commercial, added calcium 993 2.70000000000000018 9.59999999999999964 1.80000000000000004
582 Bread, from white flour, commercial, added calcium, toasted 1154 3.10000000000000009 11.0999999999999996 2.10000000000000009
583 Bread, from white flour, commercial, added fibre 1010 2.5 9.40000000000000036 1.69999999999999996
584 Bread, from white flour, commercial, added fibre, toasted 1202 3 11.1999999999999993 2
585 Bread, from white flour, commercial, added fibre & vitamins B1, B3, B6 & E, Fe & Zn 963 2.39999999999999991 8.40000000000000036 1.80000000000000004
586 Bread, from white flour, commercial, added fibre & vitamins B1, B3, B6 & E, Fe & Zn, toasted 1133 2.79999999999999982 9.90000000000000036 2.10000000000000009
587 Bread, from white flour, commercial, added iron 993 2.70000000000000018 9.59999999999999964 1.80000000000000004
588 Bread, from white flour, commercial, added iron, toasted 1154 3.10000000000000009 11.0999999999999996 2.10000000000000009
589 Bread, from white flour, commercial, added omega-3 polyunsaturates 1044 2.39999999999999991 8.90000000000000036 2.10000000000000009
590 Bread, from white flour, commercial, added omega-3 polyunsaturates, toasted 1214 2.79999999999999982 10.4000000000000004 2.5
591 Bread, from white flour, commercial, fresh, not further defined 1002 2.70000000000000018 9.5 1.89999999999999991
592 Bread, from white flour, commercial, low GI 1040 4 8.19999999999999929 3
593 Bread, from white flour, commercial, low GI, toasted 1224 4.70000000000000018 9.59999999999999964 3.5
594 Bread, from white flour, commercial, toasted 1182 3.20000000000000018 11.4000000000000004 2.10000000000000009
595 Bread, from white flour, commercial, toasted, not further defined 1179 3.20000000000000018 11.0999999999999996 2.20000000000000018
596 Bread, from white flour, extra grainy & seeds, commercial 1110 2.5 10.5 4.59999999999999964
597 Bread, from white flour, extra grainy & seeds, commercial, toasted 1306 2.89999999999999991 12.4000000000000004 5.40000000000000036
598 Bread, from white flour, French stick or baguette, commercial 1103 3 10.6999999999999993 2
599 Bread, from white flour, French stick or baguette, commercial, toasted 1226 3.29999999999999982 11.8000000000000007 2.20000000000000018
600 Bread, from white flour, homemade from basic ingredients, added salt 1065 0.599999999999999978 7.29999999999999982 2.79999999999999982
601 Bread, from white flour, homemade from basic ingredients, added salt, toasted 1238 0.800000000000000044 8.5 3.20000000000000018
602 Bread, from white flour, organic, commercial 1031 1.30000000000000004 11.5 2.89999999999999991
603 Bread, from white flour, organic, commercial, toasted 1223 1.5 13.8000000000000007 3.39999999999999991
604 Bread, from white flour, pane di casa, commercial 1045 2.79999999999999982 10.0999999999999996 1.89999999999999991
605 Bread, from white flour, pane di casa, commercial, toasted 1244 3.39999999999999991 12 2.20000000000000018
606 Bread, from white flour, sour dough, commercial 1018 2.79999999999999982 9.80000000000000071 1.80000000000000004
607 Bread, from white flour, sour dough, commercial, toasted 1212 3.29999999999999982 11.6999999999999993 2.20000000000000018
608 Bread, from white flour, sour dough, homemade from basic ingredients 1040 0 7.59999999999999964 0.800000000000000044
609 Bread, from white flour, sour dough, homemade from basic ingredients, toasted 1238 0 9 1
610 Bread, from white Jackaroo flour, commercial, added vitamins B1 & folate & Fe 1052 3.79999999999999982 8.30000000000000071 2.29999999999999982
611 Bread, from white Jackaroo flour, commercial, added vitamins B1 & folate & Fe, toasted 1238 4.5 9.80000000000000071 2.70000000000000018
612 Bread, from white or wholemeal flour, organic, added grains, commercial 1082 1.30000000000000004 11.6999999999999993 3.60000000000000009
613 Bread, from white or wholemeal flour, organic, added grains, commercial, toasted 1273 1.5 13.8000000000000007 4.20000000000000018
614 Bread, from white or wholemeal flour, organic, commercial 1034 1.30000000000000004 11.5999999999999996 2.89999999999999991
615 Bread, from white or wholemeal flour, organic, commercial, toasted 1216 1.5 13.6999999999999993 3.39999999999999991
616 Bread, from white & wholemeal flour, commercial 1063 2.39999999999999991 9.80000000000000071 1.80000000000000004
617 Bread, from white & wholemeal flour, commercial, toasted 1251 2.89999999999999991 11.5999999999999996 2.10000000000000009
618 Bread, from wholemeal flour, added seeds, commercial 1108 2.60000000000000009 12.5999999999999996 7
619 Bread, from wholemeal flour, added seeds, commercial, toasted 1319 3.10000000000000009 15 8.40000000000000036
620 Bread, from wholemeal flour, commercial 963 2.70000000000000018 11.1999999999999993 2.29999999999999982
621 Bread, from wholemeal flour, commercial, added fibre 993 2.20000000000000018 11.6999999999999993 2.20000000000000018
622 Bread, from wholemeal flour, commercial, added fibre, toasted 1183 2.60000000000000009 13.9000000000000004 2.70000000000000018
623 Bread, from wholemeal flour, commercial, added fibre & vitamins B1, B3, B6 & E, Fe & Zn 1045 2.60000000000000009 10.6999999999999993 2.5
624 Bread, from wholemeal flour, commercial, added fibre & vitamins B1, B3, B6 & E, Fe & Zn, toasted 1244 3.10000000000000009 12.6999999999999993 3
625 Bread, from wholemeal flour, commercial, added iron 963 2.70000000000000018 11.1999999999999993 2.29999999999999982
626 Bread, from wholemeal flour, commercial, added iron, toasted 1133 3.20000000000000018 13.1999999999999993 2.70000000000000018
627 Bread, from wholemeal flour, commercial, added omega-3 polyunsaturates 1008 2.70000000000000018 11.1999999999999993 3.5
628 Bread, from wholemeal flour, commercial, added omega-3 polyunsaturates, toasted 1186 3.20000000000000018 13.1999999999999993 4.09999999999999964
629 Bread, from wholemeal flour, commercial, fresh, not further defined 964 2.70000000000000018 11.1999999999999993 2.29999999999999982
630 Bread, from wholemeal flour, commercial, toasted 1133 3.20000000000000018 13.1999999999999993 2.70000000000000018
631 Bread, from wholemeal flour, commercial, toasted, not further defined 1135 3.20000000000000018 13.1999999999999993 2.70000000000000018
632 Bread, from wholemeal flour, extra grainy, four seeds, commercial 1414 1.60000000000000009 14 17.1000000000000014
633 Bread, from wholemeal flour, extra grainy, four seeds, commercial, toasted 1664 1.89999999999999991 16.5 20.1999999999999993
634 Bread, from wholemeal flour, extra grainy & seeds, added oats, commercial 929 2.10000000000000009 10.0999999999999996 4
635 Bread, from wholemeal flour, extra grainy & seeds, added oats, commercial, toasted 1093 2.5 11.8000000000000007 4.70000000000000018
636 Bread, from wholemeal flour, extra grainy & seeds, commercial 1060 2.5 11.6999999999999993 4.59999999999999964
637 Bread, from wholemeal flour, extra grainy & seeds, commercial, toasted 1247 3 13.8000000000000007 5.40000000000000036
638 Bread, from wholemeal flour, homemade from basic ingredients, added salt 1043 1.19999999999999996 7.70000000000000018 3.39999999999999991
639 Bread, from wholemeal flour, homemade from basic ingredients, added salt, toasted 1228 1.39999999999999991 9 3.89999999999999991
640 Bread, from wholemeal flour, mixed grain & seeds, commercial 1155 1.80000000000000004 12.0999999999999996 8.69999999999999929
641 Bread, from wholemeal flour, mixed grain & seeds, commercial, toasted 1359 2.10000000000000009 14.1999999999999993 10.1999999999999993
642 Bread, from wholemeal flour, mixed grain, with quinoa & flaxseeds, commercial 1106 1.89999999999999991 11.5999999999999996 6.90000000000000036
643 Bread, from wholemeal flour, mixed grain, with quinoa & flaxseeds, commercial, toasted 1301 2.20000000000000018 13.5999999999999996 8.09999999999999964
644 Bread, from wholemeal flour, organic, commercial 1036 1.30000000000000004 11.8000000000000007 2.89999999999999991
645 Bread, from wholemeal flour, organic, commercial, toasted 1219 1.5 13.8000000000000007 3.39999999999999991
646 Bread, from wholemeal flour, sour dough, commercial 998 2.79999999999999982 11.5999999999999996 2.39999999999999991
647 Bread, from wholemeal flour, sour dough, commercial, toasted 1024 2.89999999999999991 11.9000000000000004 2.39999999999999991
648 Bread, garlic or herb, commercial, cooked 1327 3.60000000000000009 8.40000000000000036 13.5
649 Bread, garlic or herb, homemade, cooked 1250 2.29999999999999982 9.59999999999999964 11.1999999999999993
650 Bread, gluten free, commercial 888 2.60000000000000009 5.5 3.89999999999999991
651 Bread, gluten free, commercial, toasted 1057 3.10000000000000009 6.5 4.59999999999999964
652 Bread, gluten free, homemade from basic ingredients 1372 2.5 9.80000000000000071 13.9000000000000004
653 Bread, gluten free, homemade from basic ingredients, toasted 1633 3 11.5999999999999996 16.6000000000000014
654 Bread, gluten free, with added grains, commercial 1000 2.5 6.79999999999999982 7.29999999999999982
655 Bread, gluten free, with added grains, commercial, toasted 1177 3 8.09999999999999964 8.59999999999999964
656 Bread, homemade from basic ingredients, not further defined 1056 0.900000000000000022 7.5 3.10000000000000009
657 Bread, homemade from basic ingredients, not further defined, toasted 1242 1 8.80000000000000071 3.60000000000000009
658 Bread, johnny (jonny) cake, from white flour, homemade from basic ingredients 1116 0 8.09999999999999964 0.900000000000000022
659 Bread, mixed grain, added seeds, commercial 1098 1.80000000000000004 11.6999999999999993 6.79999999999999982
660 Bread, mixed grain, added seeds, commercial, toasted 1291 2.20000000000000018 13.8000000000000007 8
661 Bread, mixed grain, commercial 1043 1.80000000000000004 11.1999999999999993 5
662 Bread, mixed grain, commercial, fresh, not further defined 1060 2 11.1999999999999993 5.29999999999999982
663 Bread, mixed grain, commercial, toasted 1227 2.20000000000000018 13.0999999999999996 5.90000000000000036
664 Bread, mixed grain, commercial, toasted, not further defined 1247 2.29999999999999982 13.1999999999999993 6.20000000000000018
665 Bread, mixed grain, extra grainy & seeds, added pumpkin seeds, commercial 1232 2.39999999999999991 12.0999999999999996 8.80000000000000071
666 Bread, mixed grain, extra grainy & seeds, added pumpkin seeds, commercial, toasted 1450 2.79999999999999982 14.3000000000000007 10.3000000000000007
667 Bread, mixed grain, French stick or baguette, commercial 1159 2.10000000000000009 12.4000000000000004 5.59999999999999964
668 Bread, mixed grain, French stick or baguette, commercial, toasted 1288 2.29999999999999982 13.8000000000000007 6.20000000000000018
669 Bread, mixed grain, homemade from basic ingredients, added salt 1064 1.5 8.40000000000000036 4.29999999999999982
670 Bread, mixed grain, homemade from basic ingredients, added salt, toasted 1252 1.80000000000000004 9.90000000000000036 5
671 Bread, Naan, commercial 1141 1.39999999999999991 6.5 8.80000000000000071
672 Bread, Naan, homemade 1147 1.39999999999999991 6.59999999999999964 8.90000000000000036
673 Bread, paratha 1284 0.200000000000000011 5.90000000000000036 14.5
674 Bread, pizza base, commercial 1017 5.09999999999999964 7.20000000000000018 2.20000000000000018
675 Bread, pizza base, homemade from basic ingredients 1000 0.599999999999999978 6.70000000000000018 3.70000000000000018
676 Bread, pizza base, thick base, fast food-style 1076 0.599999999999999978 6.5 6.40000000000000036
677 Bread, pizza base, thin base, fast food-style 1069 0.599999999999999978 6.40000000000000036 5.20000000000000018
678 Bread, pumpernickel, commercial 901 4.29999999999999982 6.40000000000000036 1.60000000000000009
679 Bread, pumpernickel, commercial, toasted 1060 5.09999999999999964 7.5 1.89999999999999991
680 Bread, pumpkin 874 2.20000000000000018 6.29999999999999982 2.20000000000000018
681 Bread, pumpkin, toasted 1028 2.60000000000000009 7.40000000000000036 2.60000000000000009
682 Bread, Roti, commercial 1297 0.699999999999999956 8.30000000000000071 7.40000000000000036
683 Bread, soy & linseed, commercial 1150 1.80000000000000004 11.9000000000000004 8.69999999999999929
684 Bread, soy & linseed, commercial, toasted 1353 2.10000000000000009 14 10.3000000000000007
685 Bread, toasted, not further defined 1175 2.79999999999999982 10 3.20000000000000018
686 Bread, tortilla, corn, commercial 1362 1.89999999999999991 5.70000000000000018 7.40000000000000036
687 Bread, tortilla, corn, commercial, toasted 1514 2.10000000000000009 6.29999999999999982 8.19999999999999929
688 Bread, tortilla, for use in Mexican recipes 1402 1.39999999999999991 7.40000000000000036 9
689 Bread, tortilla, white, commercial 1437 0.5 8.09999999999999964 9.80000000000000071
690 Bread, tortilla, white, commercial, toasted 1711 0.599999999999999978 9.59999999999999964 11.6999999999999993
691 Breakfast pastry, sweet, fruit-paste filled, commercial 1655 33 4.90000000000000036 10.5
692 Bream, baked, roasted, fried, grilled or BBQd, no added fat 714 0 26.8000000000000007 7
693 Bream, baked, roasted, grilled, BBQd, fried or deep fried, fat not further defined 927 0 25.5 13.4000000000000004
694 Bream, boiled, microwaved, steamed or poached, with or without added fat 581 0 22.3999999999999986 5.40000000000000036
695 Bream, raw 521 0 19.6000000000000014 5.09999999999999964
696 Broccoli, fresh, boiled, microwaved or steamed, drained 114 1.30000000000000004 3.29999999999999982 0.400000000000000022
697 Broccoli, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, canola oil 377 0.5 5.40000000000000036 6.40000000000000036
698 Broccoli, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, fat not further defined 373 0.5 5.40000000000000036 6.29999999999999982
699 Broccoli, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 160 0.5 5.70000000000000018 0.400000000000000022
700 Broccoli, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, olive oil 377 0.5 5.40000000000000036 6.40000000000000036
701 Broccoli, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, other oil 377 0.5 5.40000000000000036 6.40000000000000036
702 Broccoli, fresh or frozen, boiled, microwaved or steamed, drained, added fat not further defined 304 0.400000000000000022 4.70000000000000018 5
703 Broccoli, fresh or frozen, raw 131 0.400000000000000022 4.70000000000000018 0.299999999999999989
704 Broccoli, frozen, boiled, microwaved or steamed, drained 124 1.39999999999999991 2.70000000000000018 0.299999999999999989
705 Broccolini, fresh or frozen, boiled, microwaved or steamed, drained 157 1.39999999999999991 3.29999999999999982 0.400000000000000022
706 Broccolini, fresh or frozen, raw 150 1.30000000000000004 3.20000000000000018 0.400000000000000022
707 Brussels sprout, fresh, boiled, microwaved or steamed, drained 156 2.20000000000000018 4 0.299999999999999989
708 Brussels sprout, fresh or frozen, baked, roasted, stir-fried, fried, grilled or BBQd, fat not further defined 360 2.20000000000000018 4 5.79999999999999982
709 Brussels sprout, fresh or frozen, raw 150 2.10000000000000009 3.79999999999999982 0.299999999999999989
710 Brussels sprout, frozen, boiled, microwaved or steamed , drained 186 3.10000000000000009 3.20000000000000018 0.299999999999999989
711 Buckwheat groats, cooked in water, no added salt 321 0.299999999999999989 2.5 0.599999999999999978
712 Buckwheat groats, uncooked 1509 1.39999999999999991 11.6999999999999993 2.70000000000000018
713 Buffalo, riverine, cube roll, raw 650 0 23.8999999999999986 6.59999999999999964
714 Buffalo, riverine, topside, raw 496 0 24.3999999999999986 2.20000000000000018
715 Buffalo, swamp, cube roll, raw 507 0 24.3999999999999986 2.5
716 Buffalo, swamp, topside, raw 448 0 24.6000000000000014 0.800000000000000044
717 Buffalo, wild caught, cooked 657 0 30.3999999999999986 3.79999999999999982
718 Bulgur (burghul, burgaul), cooked in water, no added fat or salt 383 0 2.89999999999999991 0.400000000000000022
719 Bulgur (burghul, burgaul), dry, uncooked 1336 0.800000000000000044 9.80000000000000071 1.69999999999999996
720 Bulgur (burghul, burgaul), soaked in water, no added fat or salt 664 0.400000000000000022 5.40000000000000036 0.900000000000000022
721 Bun, sweet, chocolate or with chocolate chips, uniced 1388 20.8999999999999986 5.79999999999999982 11.5
722 Bun, sweet, not further defined 1212 17.6999999999999993 6.70000000000000018 6.79999999999999982
723 Bun, sweet, steamed bun, filled with bean paste 958 13 5.79999999999999982 5.59999999999999964
724 Bun, sweet, sticky cinnamon, with icing 1547 30.1999999999999993 4.5 16.3999999999999986
725 Bun, sweet, with custard, iced 1272 25.1999999999999993 5.29999999999999982 10.6999999999999993
726 Bun, sweet, with fruit (other than sultanas), iced 1119 21.8000000000000007 5.5 6.09999999999999964
727 Bun, sweet, with fruit (other than sultanas) & nuts, iced 1387 18.8999999999999986 6.79999999999999982 15.5999999999999996
728 Bun, sweet, with fruit (other than sultanas), uniced 1057 16.8999999999999986 5.90000000000000036 5.09999999999999964
729 Bun, sweet, with mock cream & jam, uniced 1195 18.8000000000000007 6 8
730 Bun, sweet, with sultanas, iced 1325 17.6000000000000014 7.90000000000000036 9.80000000000000071
731 Bun, sweet, with sultanas, uniced 1191 16.8999999999999986 6.90000000000000036 6
732 Bun, sweet, with taro 1197 19.5 4.90000000000000036 6.29999999999999982
733 Butter, garlic or herb, homemade with butter or dairy blend 2716 0.200000000000000011 1.5 72
734 Buttermilk, cultured, 2% fat 242 5.40000000000000036 4.20000000000000018 2
735 Butter, not further defined 3027 0 1.10000000000000009 81.2999999999999972
736 Butter, plain, no added salt 3027 0 1.10000000000000009 81.2999999999999972
737 Butter, plain, reduced salt (sodium < 350 mg /100 g) 3027 0 1.10000000000000009 81.2999999999999972
738 Butter, plain, salted 3027 0 1.10000000000000009 81.2999999999999972
739 Butter, spreadable, reduced fat (~60% fat) 2258 0 1.10000000000000009 60.5
740 Butter, spreadable, regular (~80% fat) 3042 0 1.10000000000000009 81.7000000000000028
741 Cabbage, baked, roasted, fried, stir-fried, grilled or BBQd, butter, dairy blend or margarine 259 2.5 1.69999999999999996 4.59999999999999964
742 Cabbage, baked, roasted, fried, stir-fried, grilled or BBQd, canola oil 300 2.5 1.60000000000000009 5.70000000000000018
743 Cabbage, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 99 2.60000000000000009 1.69999999999999996 0.100000000000000006
744 Cabbage, baked, roasted, fried, stir-fried, grilled or BBQd, olive oil 300 2.5 1.60000000000000009 5.70000000000000018
745 Cabbage, baked, roasted, fried, stir-fried, grilled or BBQd, other oil 300 2.5 1.60000000000000009 5.70000000000000018
746 Cabbage, boiled, microwaved or steamed, drained, with or without added fat 93 2.5 1.60000000000000009 0.100000000000000006
747 Cabbage, Chinese, baked, roasted, fried, stir-fried, grilled or BBQd, fat not further defined 319 1.19999999999999996 1.5 7
748 Cabbage, Chinese, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 49 1 1.19999999999999996 0
749 Cabbage, Chinese, boiled, microwaved or steamed, drained 46 0.900000000000000022 1.10000000000000009 0
750 Cabbage, Chinese, boiled, microwaved or steamed, drained, added fat not further defined 218 0.900000000000000022 1.10000000000000009 4.70000000000000018
751 Cabbage, Chinese flowering, raw 71 0.800000000000000044 1.30000000000000004 0.299999999999999989
752 Cabbage, Chinese, raw 44 0.900000000000000022 1.10000000000000009 0
753 Cabbage, mustard, cooked 86 0.800000000000000044 2.60000000000000009 0.299999999999999989
754 Cabbage, mustard, raw 77 0.699999999999999956 2.29999999999999982 0.299999999999999989
755 Cabbage, pickled, canned, drained 65 1.10000000000000009 1.10000000000000009 0.200000000000000011
756 Cabbage, raw, not further defined 89 2.39999999999999991 1.5 0.100000000000000006
757 Cabbage, red, baked, roasted, fried, stir-fried, grilled or BBQd, fat not further defined 331 2.79999999999999982 2.29999999999999982 5.79999999999999982
758 Cabbage, red, boiled, microwaved or steamed, drained, with or without added fat 127 2.79999999999999982 2.29999999999999982 0.299999999999999989
759 Cabbage, red, canned, heated, drained 171 6.20000000000000018 1.39999999999999991 0.200000000000000011
760 Cabbage, red, raw 122 2.70000000000000018 2.20000000000000018 0.299999999999999989
761 Cabbage roll, stuffed with meat & rice 452 2.20000000000000018 9.80000000000000071 4.79999999999999982
762 Cabbage roll, stuffed with tomato & rice 332 2.39999999999999991 2 1
763 Cabbage, savoy, baked, roasted, fried, stir-fried, grilled or BBQd, with or without added fat 100 2.60000000000000009 1.89999999999999991 0.100000000000000006
764 Cabbage, savoy, boiled, microwaved or steamed, drained, with or without added fat 93 2.39999999999999991 1.80000000000000004 0.100000000000000006
765 Cabbage, savoy, raw 90 2.29999999999999982 1.69999999999999996 0.100000000000000006
766 Cabbage, white, baked, roasted, fried, stir-fried, grilled or BBQd, fat not further defined 298 3 1.39999999999999991 5.59999999999999964
767 Cabbage, white, boiled, microwaved or steamed, drained, with and without added fat 95 2.89999999999999991 1.39999999999999991 0.100000000000000006
768 Cabbage, white, raw 91 2.79999999999999982 1.30000000000000004 0.100000000000000006
769 Caffeine 0 0 0 0
770 Calcium 0 0 0 0
771 Camel, cube roll, raw 630 0 20.3000000000000007 7.70000000000000018
772 Camel, rump, raw 475 0 21.3999999999999986 3
773 Capers, pickled, canned, drained 126 0.400000000000000022 2.39999999999999991 0.900000000000000022
774 Capsicum, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, canola oil 318 3.60000000000000009 1.69999999999999996 5.70000000000000018
775 Capsicum, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, fat not further defined 314 3.60000000000000009 1.69999999999999996 5.59999999999999964
776 Capsicum, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 118 3.79999999999999982 1.80000000000000004 0.200000000000000011
777 Capsicum, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, olive oil 318 3.60000000000000009 1.69999999999999996 5.70000000000000018
778 Capsicum, fresh or frozen, boiled, microwaved or steamed, added fat not further defined 282 3.39999999999999991 1.60000000000000009 4.90000000000000036
779 Capsicum, fresh or frozen, boiled, microwaved or steamed, drained 112 3.60000000000000009 1.69999999999999996 0.200000000000000011
780 Capsicum, fresh or frozen, raw, not further defined 106 3.39999999999999991 1.60000000000000009 0.200000000000000011
781 Capsicum, green, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, fat not further defined 290 2.39999999999999991 1.60000000000000009 5.59999999999999964
782 Capsicum, green, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 93 2.60000000000000009 1.69999999999999996 0.100000000000000006
783 Capsicum, green, fresh or frozen, boiled, microwaved or steamed, added fat not further defined 260 2.29999999999999982 1.5 4.79999999999999982
784 Capsicum, green, fresh or frozen, boiled, microwaved or steamed, drained 88 2.39999999999999991 1.60000000000000009 0.100000000000000006
785 Capsicum, green, fresh or frozen, raw 84 2.29999999999999982 1.5 0.100000000000000006
786 Capsicum, red, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, fat not further defined 327 4.20000000000000018 1.80000000000000004 5.70000000000000018
787 Capsicum, red, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 132 4.40000000000000036 1.89999999999999991 0.200000000000000011
788 Capsicum, red, fresh or frozen, boiled, microwaved or steamed, drained 125 4.20000000000000018 1.80000000000000004 0.200000000000000011
789 Capsicum, red, fresh or frozen, boiled, microwaved or steamed, drained, added fat not further defined 295 4 1.69999999999999996 4.90000000000000036
790 Capsicum, red, fresh or frozen, raw 118 4 1.69999999999999996 0.200000000000000011
791 Capsicum, stuffed with meat & rice 520 2.79999999999999982 8.59999999999999964 4.5
792 Capsicum, stuffed with tomato & rice 404 3.10000000000000009 2.29999999999999982 1.5
793 Caramels, hard 1620 54.6000000000000014 2.5 11.4000000000000004
794 Caramels, soft 1620 54.6000000000000014 2.5 11.4000000000000004
795 Cardamom, seeds, ground 1333 9.5 10.8000000000000007 6.70000000000000018
796 Carrot, baby, canned in brine, boiled or microwaved , drained 108 4 0.599999999999999978 0.100000000000000006
797 Carrot, baby, peeled or unpeeled, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, fat not further defined 336 5.70000000000000018 0.699999999999999956 5.40000000000000036
798 Carrot, baby, peeled or unpeeled, fresh or frozen, boiled, microwaved or steamed, drained 144 5.90000000000000036 0.800000000000000044 0.100000000000000006
799 Carrot, baby, peeled or unpeeled, fresh or frozen, raw 134 5.5 0.699999999999999956 0.100000000000000006
800 Carrot, mature, peeled or unpeeled, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, butter, dairy blend or margarine 334 5.79999999999999982 1 5
801 Carrot, mature, peeled or unpeeled, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, canola oil 379 5.79999999999999982 0.900000000000000022 6.20000000000000018
802 Carrot, mature, peeled or unpeeled, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, fat not further defined 376 5.79999999999999982 0.900000000000000022 6.09999999999999964
803 Carrot, mature, peeled or unpeeled, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 162 6.09999999999999964 1 0.100000000000000006
804 Carrot, mature, peeled or unpeeled, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, olive oil 379 5.79999999999999982 0.900000000000000022 6.20000000000000018
805 Carrot, mature, peeled or unpeeled, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, other oil 379 5.79999999999999982 0.900000000000000022 6.20000000000000018
806 Carrot, mature, peeled or unpeeled, fresh or frozen, boiled, microwaved or steamed, drained 129 3.70000000000000018 1.19999999999999996 0.299999999999999989
807 Carrot, mature, peeled or unpeeled, fresh or frozen, boiled, microwaved or steamed, drained, added fat not further defined 315 5.09999999999999964 0.800000000000000044 5
808 Carrot, mature, peeled or unpeeled, fresh or frozen, raw 133 5 0.800000000000000044 0.100000000000000006
809 Carrot, peeled or unpeeled, fresh or frozen, raw, not further defined 133 5.20000000000000018 0.800000000000000044 0.100000000000000006
810 Cassava, peeled, fresh or frozen, boiled, microwaved or steamed, drained 632 1.30000000000000004 1.19999999999999996 0.299999999999999989
811 Cassava, peeled, fresh or frozen, raw 587 1.19999999999999996 1.10000000000000009 0.200000000000000011
812 Cassava, white flesh, peeled, fresh or frozen, boiled, microwaved or steamed, drained 692 1.30000000000000004 0.599999999999999978 0.299999999999999989
813 Cassava, white flesh, peeled, fresh or frozen, raw 644 1.19999999999999996 0.599999999999999978 0.299999999999999989
814 Cassava, yellow flesh, peeled, fresh or frozen, boiled, microwaved or steamed, drained 571 1.30000000000000004 1.69999999999999996 0.200000000000000011
815 Cassava, yellow flesh, peeled, fresh or frozen, raw 531 1.19999999999999996 1.60000000000000009 0.200000000000000011
816 Casserole base, cream style, dry mix 1490 24.5 12.3000000000000007 3.39999999999999991
817 Casserole base, dry mix 1561 19.1000000000000014 7.09999999999999964 4.90000000000000036
818 Cauliflower, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, fat not further defined 341 2.29999999999999982 2.60000000000000009 6.20000000000000018
819 Cauliflower, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 126 2.39999999999999991 2.70000000000000018 0.200000000000000011
820 Cauliflower, fresh or frozen, boiled, microwaved or steamed, added homemade cheese sauce 512 3.29999999999999982 5.59999999999999964 8.59999999999999964
821 Cauliflower, fresh or frozen, boiled, microwaved or steamed, drained 107 2.10000000000000009 2.29999999999999982 0.200000000000000011
822 Cauliflower, fresh or frozen, boiled, microwaved or steamed, drained, added fat not further defined 276 2 2.20000000000000018 4.90000000000000036
823 Cauliflower, fresh or frozen, raw 103 2 2.20000000000000018 0.200000000000000011
824 Celeriac, peeled, boiled, microwaved or steamed, drained 171 3 1.69999999999999996 0.200000000000000011
825 Celeriac, peeled, raw 159 2.79999999999999982 1.60000000000000009 0.200000000000000011
826 Celery, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, fat not further defined 294 1.39999999999999991 0.699999999999999956 6.09999999999999964
827 Celery, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 76 1.5 0.699999999999999956 0.100000000000000006
828 Celery, fresh or frozen, boiled, microwaved or steamed, drained 73 1.39999999999999991 0.699999999999999956 0.100000000000000006
829 Celery, fresh or frozen, boiled, microwaved or steamed, drained, added fat not further defined 266 1.30000000000000004 0.699999999999999956 5.40000000000000036
830 Celery, fresh or frozen, raw 62 1.19999999999999996 0.599999999999999978 0.100000000000000006
831 Cheese, blended for pizza use, regular fat 1328 0.100000000000000006 28.8000000000000007 21.8999999999999986
832 Cheese, blue vein 1571 0 20.3000000000000007 32.3999999999999986
833 Cheese, bocconcini 1081 0 18.1000000000000014 20.3999999999999986
834 Cheese, brie 1543 0.100000000000000006 19.5 32
835 Cheese, camembert 1286 0.100000000000000006 19.5 25
836 Cheese, cheddar, natural, flavoured 1627 0.800000000000000044 23.6999999999999993 31.5
837 Cheese, cheddar, natural, plain, not further defined 1611 0.400000000000000022 25.3000000000000007 31.1000000000000014
838 Cheese, cheddar, natural, plain, reduced fat (~ 15%) 1109 0 31.1000000000000014 15.3000000000000007
839 Cheese, cheddar, natural, plain, reduced fat (~25%) 1403 0 28.8999999999999986 24.1999999999999993
840 Cheese, cheddar, natural, plain, regular fat 1663 0.400000000000000022 24.6000000000000014 32.7999999999999972
841 Cheese, cheddar, not further defined 1496 0.699999999999999956 24 28.3999999999999986
842 Cheese, cheddar, processed, babybel style 1563 1 22 31
843 Cheese, cheddar, processed, not further defined 1248 1.39999999999999991 21.1999999999999993 22.6999999999999993
844 Cheese, cheddar, processed, reduced fat (~16%) 1054 4.90000000000000036 22.5 15.4000000000000004
845 Cheese, cheddar, processed, reduced fat (3%) 660 5.5 26.3999999999999986 2.70000000000000018
846 Cheese, cheddar, processed, reduced fat (~8%) 806 4.90000000000000036 24.3999999999999986 7.79999999999999982
847 Cheese, cheddar, processed, reduced fat, not further defined 743 5.29999999999999982 25.5 5.40000000000000036
848 Cheese, cheddar, processed, regular fat 1311 0.100000000000000006 21.1000000000000014 25
849 Cheese, cheddar, processed, stick style 1443 5.59999999999999964 14.5 29.1999999999999993
850 Cheese, cheddar, reduced fat, not further defined 1092 2.10000000000000009 27.8999999999999986 15.3000000000000007
851 Cheese, cheddar, regular fat, not further defined 1533 0.599999999999999978 22.8999999999999986 30
852 Cheese, cheshire 1641 0 24.1999999999999993 32.5
853 Cheese, colby style 1631 0.100000000000000006 24 32.2999999999999972
854 Cheese, cottage or cream, sweet chilli flavoured 728 14 7.70000000000000018 9.19999999999999929
855 Cheese, cottage, reduced fat 398 4.20000000000000018 12.5 2.5
856 Cheese, cottage, regular fat 529 1.80000000000000004 15.4000000000000004 5.70000000000000018
857 Cheese, cream, fruit flavoured 1155 5.5 7.20000000000000018 24.6999999999999993
858 Cheese, cream, herb or spice flavoured 1229 0.5 8.40000000000000036 28.6000000000000014
859 Cheese, cream, plain, not further defined 1195 0.699999999999999956 8.69999999999999929 27.8000000000000007
860 Cheese, cream, plain, reduced fat (25% fat) 1079 0.200000000000000011 8.5 25
861 Cheese, cream, plain, reduced fat (5% fat) 445 4.79999999999999982 11 4.70000000000000018
862 Cheese, cream, plain, regular fat (35% fat) 1420 0.200000000000000011 8.5 34.2000000000000028
863 Cheese, edam 1510 0 28 27.1999999999999993
864 Cheese, fetta (feta), not further defined 1154 0.200000000000000011 18.6999999999999993 21.8999999999999986
865 Cheese, fetta (feta), reduced fat 1000 0.100000000000000006 25.6999999999999993 14.5
866 Cheese, fetta (feta), regular fat 1179 0.200000000000000011 17.6000000000000014 23.1999999999999993
867 Cheese, for use in garden s 1374 0.5 22.6999999999999993 25.8999999999999986
868 Cheese, for use on crackers or cheese platters 1503 0.299999999999999989 21.8999999999999986 29.6999999999999993
869 Cheese fruit, raw 205 7 0.800000000000000044 0.299999999999999989
870 Cheese, gloucester style 1721 0 25 34.2999999999999972
871 Cheese, goat, firm 1502 0.800000000000000044 18.6000000000000014 31.3000000000000007
872 Cheese, goat, soft 1194 0.900000000000000022 21.1999999999999993 21.6999999999999993
873 Cheese, gouda 1605 0 26.1999999999999993 30.6000000000000014
874 Cheese, haloumi 1050 1.80000000000000004 21.3000000000000007 17.1000000000000014
875 Cheese, havarti style 1716 0.100000000000000006 19.3999999999999986 36.7000000000000028
876 Cheese, jarlsberg 1620 0.100000000000000006 28.3999999999999986 30
877 Cheese, mozzarella, buffalo 1318 0.299999999999999989 17.1999999999999993 27.1000000000000014
878 Cheese, mozzarella, not further defined 1215 0 23.5 21.5
879 Cheese, mozzarella, reduced fat 1229 0.100000000000000006 31.6999999999999993 17.8999999999999986
880 Cheese, mozzarella, regular fat 1213 0 22.1999999999999993 22.1000000000000014
881 Cheese, neufchatel 1365 2.20000000000000018 9.40000000000000036 30.8999999999999986
882 Cheese, not further defined 1465 0.599999999999999978 23.6999999999999993 27.8000000000000007
883 Cheese, parmesan, dried, finely grated 1949 0 40.6000000000000014 33.2999999999999972
884 Cheese, parmesan, fresh 1690 0 35.1000000000000014 28.8000000000000007
885 Cheese, pecorino style 1512 0.200000000000000011 28 27.1999999999999993
886 Cheese, processed, stick shape with string texture 1250 0 27.3999999999999986 20.6999999999999993
887 Cheese, processed, with added phytosterols 713 4.90000000000000036 15.5 9.40000000000000036
888 Cheese, provolone style 1550 0.100000000000000006 27.8000000000000007 28.3999999999999986
889 Cheese, quark 349 2.89999999999999991 13.9000000000000004 1.10000000000000009
890 Cheese, ricotta, not further defined 458 2 9 6.70000000000000018
891 Cheese, ricotta, reduced fat 279 2 6.79999999999999982 2.79999999999999982
892 Cheese, ricotta, regular fat 551 2 10.1999999999999993 8.69999999999999929
893 Cheese, romano style 1594 0.200000000000000011 31.3000000000000007 27.8999999999999986
894 Cheese, smoked, regular fat 1487 0.299999999999999989 22.8000000000000007 28.8999999999999986
895 Cheese, soft, white mould coated, not further defined 1465 0.100000000000000006 18.6000000000000014 30.3000000000000007
896 Cheese, soy 1238 1.80000000000000004 7 28
897 Cheese spread, cheddar, regular fat 1187 3.79999999999999982 11.1999999999999993 25.3000000000000007
898 Cheese spread, cream cheese, reduced fat 921 4.59999999999999964 10.8000000000000007 18
899 Cheese spread, cream cheese, regular fat 1215 2.10000000000000009 7.79999999999999982 28.1999999999999993
900 Cheese, swiss 1620 0.100000000000000006 28.3999999999999986 30
901 Cherry, black, canned in syrup 299 15.8000000000000007 0.699999999999999956 0.100000000000000006
902 Cherry, black, canned in syrup, drained 310 15.6999999999999993 0.900000000000000022 0.100000000000000006
903 Cherry, black, canned in syrup, syrup only 288 16 0.5 0
904 Cherry, dried 1137 49.3999999999999986 3.5 0.900000000000000022
905 Cherry, glace or maraschino 1079 66.5 0.400000000000000022 0
906 Cherry, raw 250 10.9000000000000004 0.800000000000000044 0.200000000000000011
907 Chestnut puree, added sugar 1095 42.7999999999999972 1.10000000000000009 0.200000000000000011
908 Chicken, barbecued, without skin, commercial 654 0 26.3999999999999986 5.5
909 Chicken, barbecued, with skin, commercial 806 0 27.5 8.90000000000000036
910 Chicken, battered, takeaway, restaurant or cafe style, with honey & lemon sauce 841 5.29999999999999982 16.3000000000000007 11.0999999999999996
911 Chicken, bite-size pieces, coated, fast food chain, fried, fat not further defined 1199 0.5 17.3000000000000007 19.6999999999999993
912 Chicken, breast, flesh, baked or roasted, no added fat 637 0 29 3.89999999999999991
913 Chicken, breast, flesh, baked, roasted, fried, stir-fried, grilled or BBQd, butter, dairy blend, margarine spread 652 0 29.1999999999999993 4.20000000000000018
914 Chicken, breast, flesh, baked, roasted, fried, stir-fried, grilled or BBQd, canola oil 671 0 29.1000000000000014 4.79999999999999982
915 Chicken, breast, flesh, baked, roasted, fried, stir-fried, grilled or BBQd, fat not further defined 670 0 29.1000000000000014 4.70000000000000018
916 Chicken, breast, flesh, baked, roasted, fried, stir-fried, grilled or BBQd, olive oil 671 0 29.1000000000000014 4.79999999999999982
917 Chicken, breast, flesh, baked, roasted, fried, stir-fried, grilled or BBQd, other oil 671 0 29.1000000000000014 4.79999999999999982
918 Chicken, breast, flesh, boiled, casseroled, microwaved, poached, steamed or stewed, fat not further defined 644 0 28 4.5
919 Chicken, breast, flesh, boiled, casseroled, microwaved, poached, steamed or stewed, no added fat 596 0 27 3.70000000000000018
920 Chicken, breast, flesh, breadcrumb coating, cooked, fat not further defined 884 0.699999999999999956 26.3999999999999986 6
921 Chicken, breast, flesh, breadcrumb coating, cooked, no added fat 810 0.699999999999999956 26.8999999999999986 3.5
922 Chicken, breast, flesh, canned in water, drained 436 0.599999999999999978 21.6000000000000014 1.60000000000000009
923 Chicken, breast, flesh, coated, cooked, fat not further defined 919 0.800000000000000044 26.3000000000000007 5.90000000000000036
924 Chicken, breast, flesh, coated, cooked, no added fat 835 0.800000000000000044 26.3999999999999986 3.39999999999999991
925 Chicken, breast, flesh, fried or stir-fried, no added fat 681 0.699999999999999956 35 2
926 Chicken, breast, flesh, grilled or BBQd, no added fat 598 0 29.8000000000000007 2.5
927 Chicken, breast, flesh, purchased frozen with breadcrumb coating, cooked, fat not further defined 884 0.699999999999999956 26.3999999999999986 6
928 Chicken, breast, flesh, purchased frozen with breadcrumb coating, cooked, no added fat 1009 1.19999999999999996 18.6000000000000014 10.5999999999999996
929 Chicken, breast, flesh, raw 438 0 22.3000000000000007 1.60000000000000009
930 Chicken, breast, flesh, skin & fat, baked, roasted, fried, grilled or BBQd, fat not further defined 996 0 26.3000000000000007 14.8000000000000007
931 Chicken, breast, flesh, skin & fat, baked, roasted, fried, grilled or BBQd, no added fat 781 0 27.8999999999999986 8.30000000000000071
932 Chicken, breast, flesh, skin & fat, boiled, casseroled, microwaved, poached, steamed or stewed, with or without added fat 728 0 25.8999999999999986 7.79999999999999982
933 Chicken, breast, flesh, skin & fat, coated, baked, roasted, fried, grilled or BBQd, fat not further defined 1181 0.800000000000000044 24 14.0999999999999996
934 Chicken, breast, flesh, skin & fat, coated, fast food chain, fried, undefined fat 1079 0.5 20.6000000000000014 15.8000000000000007
935 Chicken, breast, flesh, skin & fat, raw 688 0 20.1000000000000014 9.40000000000000036
936 Chicken, breast, flesh, smoked, no added fat 573 0 29.1000000000000014 2.10000000000000009
937 Chicken, breast strip, coated, fast food chain, fried, fat not further defined 963 0.800000000000000044 21.5 10
938 Chicken, drumstick, flesh, baked, roasted, fried, grilled or BBQd, fat not further defined 740 0 24.1999999999999993 8.90000000000000036
939 Chicken, drumstick, flesh, baked, roasted, fried, grilled or BBQd, no added fat 830 0.400000000000000022 29.8999999999999986 8.5
940 Chicken, drumstick, flesh, boiled, casseroled, microwaved, poached, steamed or stewed, fat not further defined 793 0 25.8999999999999986 9.5
941 Chicken, drumstick, flesh, boiled, casseroled, microwaved, poached, steamed or stewed, no added fat 730 0 28.6000000000000014 6.59999999999999964
942 Chicken, drumstick, flesh, coated, cooked, fat not further defined 975 0.800000000000000044 22.3000000000000007 9.30000000000000071
943 Chicken, drumstick, flesh, coated, cooked, no added fat 904 0.800000000000000044 22.6999999999999993 6.79999999999999982
944 Chicken, drumstick, flesh, raw 492 0 18.5 4.79999999999999982
945 Chicken, drumstick, flesh, skin & fat, baked, roasted, fried, grilled or BBQd, fat not further defined 940 0 23 14.8000000000000007
946 Chicken, drumstick, flesh, skin & fat, baked, roasted, fried, grilled or BBQd, no added fat 977 0.299999999999999989 28.6000000000000014 13.0999999999999996
947 Chicken, drumstick, flesh, skin & fat, boiled, casseroled, microwaved, poached, steamed or stewed, with or without added fat 898 0 26.8000000000000007 12
948 Chicken, drumstick, flesh, skin & fat, coated, cooked, fat not further defined 1136 0.800000000000000044 21.3000000000000007 14.0999999999999996
949 Chicken, drumstick, flesh, skin & fat, coated, cooked, no added fat 1067 0.800000000000000044 21.6999999999999993 11.6999999999999993
950 Chicken, drumstick, flesh, skin & fat, coated, fast food chain, fried, undefined fat 1082 0.599999999999999978 18.1000000000000014 16.1999999999999993
951 Chicken, drumstick, flesh, skin & fat, marinated, baked, roasted, fried, grilled or BBQd, no added fat 864 4.20000000000000018 21.3000000000000007 11.4000000000000004
952 Chicken, drumstick, flesh, skin & fat, raw 645 0 17.6000000000000014 9.30000000000000071
953 Chicken, feet, boiled, casseroled, microwaved, poached or steamed, with or without added fat 870 0 19.3999999999999986 14.5999999999999996
954 Chicken, fillet or kebab, coated, cooked, fat not further defined, no added marinade 1131 0.800000000000000044 22.8999999999999986 13.3000000000000007
955 Chicken, fillet or kebab, flesh, baked, roasted, fried, stir-fried, grilled or BBQd, butter or dairy blend, no added marinade 689 0 26.6000000000000014 6.40000000000000036
956 Chicken, fillet or kebab, flesh, baked, roasted, fried, stir-fried, grilled or BBQd, canola oil, no added marinade 709 0 26.5 7
957 Chicken, fillet or kebab, flesh, baked, roasted, fried, stir-fried, grilled or BBQd, fat not further defined, no added marinade 707 0 26.5 6.90000000000000036
958 Chicken, fillet or kebab, flesh, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat, no added marinade 623 0 27.1000000000000014 4.40000000000000036
959 Chicken, fillet or kebab, flesh, baked, roasted, fried, stir-fried, grilled or BBQd, olive oil, no added marinade 709 0 26.5 7
960 Chicken, fillet or kebab, flesh, baked, roasted, fried, stir-fried, grilled or BBQd, other oil, no added marinade 709 0 26.5 7
961 Chicken, fillet or kebab, flesh, boiled, steamed, poached, stewed, casseroled or microwaved, with or without added fat, no added marinade 713 0 28.6999999999999993 6.09999999999999964
962 Chicken, fillet or kebab, flesh, coated, cooked, no added fat, no added marinade 877 0.800000000000000044 24.6000000000000014 5.20000000000000018
963 Chicken, fillet or kebab, flesh, raw 467 0 20.3000000000000007 3.29999999999999982
964 Chicken, fillet or kebab, flesh, skin & fat, baked, roasted, fried, stir-fried, grilled or BBQd, fat not further defined, no added marinade 1160 0 23.1999999999999993 20.6999999999999993
965 Chicken, fillet or kebab, flesh, skin & fat, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat, no added marinade 1085 0 23.6999999999999993 18.3999999999999986
966 Chicken, fillet or kebab, flesh, skin & fat, boiled, casseroled, microwaved, poached, steamed or stewed, with or without added fat, no added marinade 1203 0 25.1000000000000014 21
967 Chicken, fillet or kebab, flesh, skin & fat, raw 814 0 17.8000000000000007 13.8000000000000007
968 Chicken, fillet or kebab, raw, not further defined 640 0 19 8.59999999999999964
969 Chicken, finger or chip, purchased frozen, baked, roasted, fried, grilled or BBQd, no added fat 1117 0.699999999999999956 12.8000000000000007 14.1999999999999993
970 Chicken, flesh, baked, roasted, fried, grilled or BBQd, fat not further defined 690 0 27.6000000000000014 6
971 Chicken, flesh, baked, roasted, fried, grilled or BBQd, no added fat 605 0 28.1999999999999993 3.39999999999999991
972 Chicken, flesh, boiled, steamed, poached, stewed, casseroled or microwaved, with or without added fat 694 0 29.8999999999999986 5
973 Chicken, flesh, coated, baked, roasted, fried, grilled or BBQd, no added fat 863 0.800000000000000044 25.5 4.5
974 Chicken, flesh, raw 454 0 21.1000000000000014 2.60000000000000009
975 Chicken, for use in kebabs, cooked 1089 0.900000000000000022 20.6999999999999993 19.3000000000000007
976 Chicken, kiev, homemade from basic ingredients, baked, roasted, fried, grilled or BBQd, fat not further defined 1347 0.800000000000000044 22.1000000000000014 19.6999999999999993
977 Chicken, kiev, homemade from basic ingredients, baked, roasted, fried, grilled or BBQd, no added fat 1271 0.800000000000000044 22.6000000000000014 17.3000000000000007
978 Chicken, kiev, purchased frozen with breadcrumb coating, baked, roasted, fried, grilled or BBQd, cooked with or without added fat 1350 1 16.1999999999999993 20.5
979 Chicken, liver, fried, baked, grilled or BBQd, added fat 657 0 24.5 6.5
980 Chicken, liver, raw 466 0 16.8999999999999986 4.79999999999999982
981 Chicken, maryland, flesh, baked, roasted, fried, grilled or BBQd, fat not further defined 743 0 24 9
982 Chicken, maryland, flesh, baked, roasted, fried, grilled or BBQd, no added fat 659 0 24.5 6.59999999999999964
983 Chicken, maryland, flesh, coated, cooked, fat not further defined 969 0.800000000000000044 22 9.5
984 Chicken, maryland, flesh, coated, cooked, no added fat 899 0.800000000000000044 22.3999999999999986 7.09999999999999964
985 Chicken, maryland, flesh, raw 494 0 18.3999999999999986 4.90000000000000036
986 Chicken, maryland, flesh, skin & fat, baked, roasted, fried, grilled or BBQd, fat not further defined 1171 0 21.3000000000000007 21.8000000000000007
987 Chicken, maryland, flesh, skin & fat, baked, roasted, fried, grilled or BBQd, no added fat 1096 0 21.6999999999999993 19.6000000000000014
988 Chicken, maryland, flesh, skin & fat, boiled, casseroled, microwaved, poached, steamed or stewed, with or without added fat 1214 0 23.1000000000000014 22.1999999999999993
989 Chicken, maryland, flesh, skin & fat, coated, cooked, no added fat 1255 0.800000000000000044 20.3000000000000007 17.3999999999999986
990 Chicken, maryland, flesh, skin & fat, raw 822 0 16.3000000000000007 14.6999999999999993
991 Chicken, mince, baked, roasted, fried, stir-fried, grilled or BBQd, fat not further defined 838 0.100000000000000006 25.1000000000000014 10.5
992 Chicken, mince, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 756 0.100000000000000006 25.6000000000000014 8
993 Chicken, mince, raw 567 0.100000000000000006 19.1999999999999993 6
994 Chicken, nugget, purchased from independent & chain takeaway outlets, fried, undefined oil 1106 0.800000000000000044 12.8000000000000007 15.8000000000000007
995 Chicken, nugget, purchased from takeaway chain, fried, canola oil 1098 0.800000000000000044 12.8000000000000007 15.5999999999999996
996 Chicken, nugget, purchased from takeaway chain, grilled 818 0.900000000000000022 14.8000000000000007 5.90000000000000036
997 Chicken, nugget, purchased frozen, baked, roasted, fried, grilled or BBQd, with or without added fat 1172 0.800000000000000044 12.8000000000000007 17.6000000000000014
998 Chicken piece, flesh, skin & fat, coated, fast food outlet, fried, undefined oil 1211 0.599999999999999978 17.8999999999999986 20
999 Chicken, processed luncheon meat, low or reduced fat 472 0.200000000000000011 19.3999999999999986 1.19999999999999996
1000 Chicken, processed luncheon meat, not further defined 676 0.599999999999999978 16.3999999999999986 7.79999999999999982
1001 Chicken, processed luncheon meat, regular fat 880 0.900000000000000022 13.5 14.3000000000000007
1002 Chicken, schnitzel, breadcrumb coating, baked, roasted, fried, grilled or BBQd, butter, dairy blend or margarine 1073 0.5 22.5 12.6999999999999993
1003 Chicken, schnitzel, breadcrumb coating, baked, roasted, fried, grilled or BBQd, canola oil 1126 0.5 22.5 14.1999999999999993
1004 Chicken, schnitzel, breadcrumb coating, baked, roasted, fried, grilled or BBQd, fat not further defined 1121 0.5 22.5 14.0999999999999996
1005 Chicken, schnitzel, breadcrumb coating, baked, roasted, fried, grilled or BBQd, no added fat 911 0.599999999999999978 23.6999999999999993 7.5
1006 Chicken, schnitzel, breadcrumb coating, baked, roasted, fried, grilled or BBQd, olive oil 1126 0.5 22.5 14.1999999999999993
1401 Custard powder, dry mix, commercial 1475 1.19999999999999996 0.400000000000000022 0.100000000000000006
1007 Chicken, schnitzel, breadcrumb coating, baked, roasted, fried, grilled or BBQd, other oil 1126 0.5 22.5 14.1999999999999993
1008 Chicken, separable fat, composite, baked or roasted, no added fat 1891 0 9.80000000000000071 46.6000000000000014
1009 Chicken, separable fat, composite, boiled, casseroled, microwaved, poached, steamed or stewed, no added fat 1862 0 14.1999999999999993 43.7999999999999972
1010 Chicken, separable fat, composite, raw 2392 0 5.09999999999999964 62.2999999999999972
1011 Chicken, skin, composite, baked or roasted, no added fat 1818 0 22.3000000000000007 38.8999999999999986
1012 Chicken, skin, composite, boiled, casseroled, microwaved, poached, steamed or stewed, no added fat 1742 0 18 38.7999999999999972
1013 Chicken, skin, composite, raw 1515 0 12.6999999999999993 35.1000000000000014
1014 Chicken, thigh fillets, flesh & some fat, raw 608 0 17.5 8.40000000000000036
1015 Chicken, thigh, flesh, baked, roasted, fried, grilled or BBQd, fat not further defined 745 0 23.8999999999999986 9.19999999999999929
1016 Chicken, thigh, flesh, baked, roasted, fried, grilled or BBQd, no added fat 733 0 24.1999999999999993 8.69999999999999929
1017 Chicken, thigh, flesh, boiled, casseroled, microwaved, poached, steamed or stewed, with or without added fat 810 0 26.3000000000000007 9.80000000000000071
1018 Chicken, thigh, flesh, coated, baked, roasted, fried, grilled or BBQd, fat not further defined 1021 0.800000000000000044 21.8000000000000007 10.8000000000000007
1019 Chicken, thigh, flesh, coated, baked, roasted, fried, grilled or BBQd, no added fat 908 0.800000000000000044 22.5 7.09999999999999964
1020 Chicken, thigh, flesh, raw 496 0 18.3000000000000007 5
1021 Chicken, thigh, flesh, skin & fat, baked, roasted, fried, grilled or BBQd, fat not further defined 1325 0 20.1999999999999993 26.5
1022 Chicken, thigh, flesh, skin & fat, baked, roasted, fried, grilled or BBQd, no added fat 940 0 23.3000000000000007 14.6999999999999993
1023 Chicken, thigh, flesh, skin & fat, boiled, casseroled, microwaved, poached, steamed or stewed, with or without added fat 1023 0 24.3000000000000007 16.5
1024 Chicken, thigh, flesh, skin & fat, coated, fast food chain, fried, undefined fat 1353 0.599999999999999978 16.1999999999999993 24.3999999999999986
1025 Chicken, thigh, flesh, skin & fat, raw 940 0 15.5 18.3000000000000007
1026 Chicken, whole, flesh, skin & fat, baked, roasted, fried, grilled or BBQd, no added fat 1037 0 23.6999999999999993 17.1000000000000014
1027 Chicken, whole, flesh, skin & fat, coated, baked, roasted, fried, grilled or BBQd, no added fat 1208 0.800000000000000044 21.8999999999999986 15.4000000000000004
1028 Chicken, whole, flesh, skin & fat, raw 778 0 17.8000000000000007 12.8000000000000007
1029 Chicken, whole, lean flesh, baked, roasted, fried, grilled or BBQd, no added fat 626 0 26.8000000000000007 4.59999999999999964
1030 Chicken, wing, flesh, baked, roasted, fried, grilled or BBQd, fat not further defined 711 0 24.3999999999999986 8
1031 Chicken, wing, flesh, baked, roasted, fried, grilled or BBQd, no added fat 810 0 30.8999999999999986 7.70000000000000018
1032 Chicken, wing, flesh, boiled, casseroled, microwaved, poached, steamed or stewed, with or without added fat 800 0 27.8999999999999986 8.80000000000000071
1033 Chicken, wing, flesh, coated, baked, roasted, fried, grilled or BBQd, no added fat 880 0.800000000000000044 22.8999999999999986 6.09999999999999964
1034 Chicken, wing, flesh, raw 470 0 18.6999999999999993 4.09999999999999964
1035 Chicken, wing, flesh, skin & fat, baked, roasted, fried, grilled or BBQd, fat not further defined 1295 0 21 25.3999999999999986
1036 Chicken, wing, flesh, skin & fat, baked, roasted, fried, grilled or BBQd, no added fat 1097 0 28.1999999999999993 16.6999999999999993
1037 Chicken, wing, flesh, skin & fat, boiled, casseroled, microwaved, poached, steamed or stewed, with or without added fat 1090 0 24.8000000000000007 18
1038 Chicken, wing, flesh, skin & fat, coated, baked, roasted, fried, grilled or BBQd, fat not further defined 1423 0.800000000000000044 19.6999999999999993 22.6000000000000014
1039 Chicken, wing, flesh, skin & fat, coated, baked, roasted, fried, grilled or BBQd, no added fat 1357 0.800000000000000044 20.1000000000000014 20.3000000000000007
1040 Chicken, wing, flesh, skin & fat, coated, fast food chain, fried, undefined fat 1332 0.599999999999999978 16.8000000000000007 23.6000000000000014
1041 Chicken, wing, flesh, skin & fat, purchased frozen, breadcrumb coating, baked, roasted, fried, grilled or BBQd, with or without added fat 1388 0.599999999999999978 19.6000000000000014 24.1000000000000014
1042 Chicken, wing, flesh, skin & fat, raw 917 0 16.1000000000000014 17.3999999999999986
1043 Chickpea, canned, drained 466 0.599999999999999978 6.29999999999999982 2.10000000000000009
1044 Chickpea, dried, boiled, microwaved or steamed, drained 466 0.599999999999999978 6.29999999999999982 2.10000000000000009
1045 Chicory, boiled, microwaved or steamed, drained 79 0.800000000000000044 2.10000000000000009 0.200000000000000011
1046 Chicory, raw 67 0.699999999999999956 1.80000000000000004 0.200000000000000011
1047 Chilli (chili), baked, roasted, fried, stir-fried, grilled or BBQd, with or without fat 211 2.89999999999999991 2.29999999999999982 0.400000000000000022
1048 Chilli (chili), boiled, microwaved or steamed, drained, with or without fat 200 2.70000000000000018 2.20000000000000018 0.400000000000000022
1049 Chilli (chili), dried, ground 1573 10.4000000000000004 14.0999999999999996 16.8000000000000007
1050 Chilli (chili), green, cooked with or without added fat 201 1.10000000000000009 3.10000000000000009 0.299999999999999989
1051 Chilli (chili), green, pickled 193 1.10000000000000009 3 0.299999999999999989
1052 Chilli (chili), green, raw 181 1 2.79999999999999982 0.299999999999999989
1053 Chilli (chili) powder 1441 10.0999999999999996 12.3000000000000007 16.8000000000000007
1054 Chilli (chili), raw, not further defined 190 2.60000000000000009 2.10000000000000009 0.400000000000000022
1055 Chilli (chili), red, cooked with or without added fat 222 4.70000000000000018 1.60000000000000009 0.400000000000000022
1056 Chilli (chili), red, raw 200 4.20000000000000018 1.39999999999999991 0.400000000000000022
1057 Chives, raw 120 2.60000000000000009 1.5 0.299999999999999989
1058 Chocolate glaze, commercial 2167 51.2000000000000028 3.79999999999999982 29.6000000000000014
1059 Chocolate, liqueur-filled 1815 56.3999999999999986 4.09999999999999964 19.8000000000000007
1060 Chocolate, milk 2206 54.6000000000000014 7.59999999999999964 30.5
1061 Chocolate, milk, caramel filled 1990 53.6000000000000014 6 24.6999999999999993
1062 Chocolate, milk, fondant filled 1990 53.6000000000000014 6 24.6999999999999993
1063 Chocolate, milk & white 2214 54.6000000000000014 7.40000000000000036 31.8000000000000007
1064 Chocolate, milk, with coconut 2320 45 7.40000000000000036 37.5
1065 Chocolate, milk, with dried fruit & nuts 2112 53.2000000000000028 7.90000000000000036 28.1999999999999993
1066 Chocolate, milk, with hazelnut paste 2240 49.7000000000000028 8.19999999999999929 33.2999999999999972
1067 Chocolate, milk, with nuts 2350 39.5 10 39.7000000000000028
1068 Chocolate, milk, with toffee or nougat pieces 2165 53.6000000000000014 7.79999999999999982 29.6999999999999993
1069 Chocolate, not further defined 2115 53.1000000000000014 6.5 28.3000000000000007
1070 Chocolate, plain, not further defined 2200 52.6000000000000014 6.79999999999999982 30.6000000000000014
1071 Chocolate, reduced sugar 2131 4.59999999999999964 6 34
1072 Chocolate, white 2223 54.6000000000000014 7.09999999999999964 33.2000000000000028
1073 Chocolate, white, with macadamias 2322 48.2999999999999972 7.40000000000000036 38.2999999999999972
1074 Choko, peeled, fresh or frozen, boiled, microwaved or steamed, drained 103 3.70000000000000018 0.599999999999999978 0.200000000000000011
1075 Choko, peeled, fresh or frozen, raw 87 3.10000000000000009 0.5 0.200000000000000011
1076 Chutney or relish, commercial 752 41.5 0.5 0.299999999999999989
1077 Chutney or relish, homemade 793 39.7999999999999972 0.800000000000000044 3.29999999999999982
1078 Cider, apple, alcoholic, draught style 186 4.40000000000000036 0 0
1079 Cider, apple, alcoholic, dry style 161 3.10000000000000009 0 0
1080 Cider, apple, alcoholic, not further defined 186 4.59999999999999964 0 0
1081 Cider, apple, alcoholic, sweet style 221 6.90000000000000036 0 0
1082 Cider, pear (perry), alcoholic 198 4 0 0
1083 Cinnamon, dried, ground 1026 13.8000000000000007 4.20000000000000018 2.70000000000000018
1084 Cloves, dried, ground 1536 2.70000000000000018 6 17.3000000000000007
1085 Coating, commercial, for fish & seafood, uncooked 659 0.400000000000000022 4.29999999999999982 3.20000000000000018
1086 Coating, homemade, for chicken & meat, uncooked 1421 3.10000000000000009 11.0999999999999996 6.5
1087 Coating, homemade, for fish & seafood, uncooked 1039 2.39999999999999991 8.5 4.59999999999999964
1088 Cocoa powder 1443 0.800000000000000044 16.1000000000000014 14.4000000000000004
1089 Coconut, cream, regular fat 789 3.5 1.5 18.8999999999999986
1090 Coconut, fresh, mature fruit, flesh 1290 3.10000000000000009 3.39999999999999991 30.1000000000000014
1091 Coconut, fresh, mature, water or juice 87 4.70000000000000018 0.5 0.100000000000000006
1092 Coconut, fresh, young or immature, flesh 353 4 1.60000000000000009 5.59999999999999964
1093 Coconut, fresh, young or immature, water or juice 109 6.59999999999999964 0.200000000000000011 0
1094 Coconut, grated & desiccated 2772 6.59999999999999964 6.59999999999999964 65.4000000000000057
1095 Coconut ice, homemade 2020 52.8999999999999986 2.89999999999999991 29.5
1096 Coconut, milk, canned, not further defined 523 1.5 1.30000000000000004 12.8000000000000007
1097 Coconut, milk, canned, reduced fat 291 0.900000000000000022 0.599999999999999978 7.09999999999999964
1098 Coconut, milk, canned, regular fat 646 1.80000000000000004 1.60000000000000009 15.8000000000000007
1099 Coconut, milk, dried, powder 2824 7.20000000000000018 8.09999999999999964 66.2000000000000028
1100 Cod, Atlantic, dried, salted 1157 0 62.7999999999999972 2.39999999999999991
1101 Cod, Atlantic, flesh, raw 328 0 17.8000000000000007 0.699999999999999956
1102 Cod or hake, baked, roasted, fried, grilled or BBQd, no added fat 431 0 23.5 0.800000000000000044
1103 Cod or hake, baked, roasted, grilled, BBQd, fried or deep fried, fat not further defined 658 0 22.3999999999999986 7.5
1104 Cod or hake, boiled, microwaved, steamed or poached, with or without added fat 394 0 20.3000000000000007 1.30000000000000004
1105 Cod or hake, coated, baked, roasted, grilled, BBQd, fried or deep fried, fat not further defined 749 0.400000000000000022 18.5 8.69999999999999929
1106 Cod or hake, coated, packaged frozen, baked, roasted, fried, grilled or BBQd, with or without added fat 927 0.900000000000000022 17.8999999999999986 10.1999999999999993
1107 Cod or hake, coated, takeaway outlet, deep fried 1007 0.200000000000000011 14.1999999999999993 16.3000000000000007
1108 Cod or hake, raw 314 0 17.1999999999999993 0.599999999999999978
1109 Cod or hake, smoked, boiled, microwaved, steamed or poached, no added fat 397 0 20.1000000000000014 1.5
1110 Cod, Pacific, flesh, raw 275 0 15.3000000000000007 0.400000000000000022
1111 Cod, smoked, raw 356 0 18.8000000000000007 1
1112 Coffee, black, from instant coffee powder, decaffeinated, without milk 5 0 0.100000000000000006 0
1113 Coffee, black, from instant coffee powder, without milk 6 0 0.100000000000000006 0
1114 Coffee, cappuccino, flat white or latte, from ground coffee beans, decaffeinated, with reduced fat cows milk 160 4.20000000000000018 3 1.10000000000000009
1115 Coffee, cappuccino, flat white or latte, from ground coffee beans, decaffeinated, with regular fat cows milk 227 4.79999999999999982 2.70000000000000018 2.79999999999999982
1116 Coffee, cappuccino, flat white or latte, from ground coffee beans, decaffeinated, with skim cows milk 115 4 2.70000000000000018 0.100000000000000006
1117 Coffee, cappuccino, flat white or latte, from ground coffee beans, decaffeinated, with soy milk not further defined 172 1.89999999999999991 2.60000000000000009 1.5
1118 Coffee, cappuccino, flat white or latte, from ground coffee beans, double shot, with cows milk not further defined 131 3.20000000000000018 1.89999999999999991 1.30000000000000004
1119 Coffee, cappuccino, flat white or latte, from ground coffee beans, double shot, with soy milk not further defined 134 1.39999999999999991 2 1.19999999999999996
1120 Coffee, cappuccino, flat white or latte, from ground coffee beans, half shot, with reduced fat cows milk 177 4.59999999999999964 3.29999999999999982 1.19999999999999996
1121 Coffee, cappuccino, flat white or latte, from ground coffee beans, half shot, with regular fat cows milk 257 5.59999999999999964 3 3.10000000000000009
1122 Coffee, cappuccino, flat white or latte, from ground coffee beans, half shot, with skim cows milk 129 4.29999999999999982 3.20000000000000018 0.100000000000000006
1123 Coffee, cappuccino, flat white or latte, from ground coffee beans, half shot, with soy milk not further defined 229 2.79999999999999982 3.39999999999999991 2.5
1124 Coffee, cappuccino, from ground coffee beans, double shot, with reduced fat cows milk 113 3 2 0.800000000000000044
1125 Coffee, cappuccino, from ground coffee beans, double shot, with regular fat cows milk 156 3.39999999999999991 1.80000000000000004 1.89999999999999991
1126 Coffee, cappuccino, from ground coffee beans, double shot, with skim cows milk 84 2.79999999999999982 1.89999999999999991 0.200000000000000011
1127 Coffee, cappuccino, from ground coffee beans, with cows milk not further defined 184 4.5 2.70000000000000018 1.80000000000000004
1128 Coffee, cappuccino, from ground coffee beans, with reduced fat cows milk 158 4.20000000000000018 2.89999999999999991 1.10000000000000009
1129 Coffee, cappuccino, from ground coffee beans, with reduced fat soy milk 130 1.80000000000000004 1.89999999999999991 0.800000000000000044
1130 Coffee, cappuccino, from ground coffee beans, with regular fat cows milk 221 4.79999999999999982 2.60000000000000009 2.60000000000000009
1131 Coffee, cappuccino, from ground coffee beans, with regular fat soy milk 198 2.39999999999999991 2.89999999999999991 2.10000000000000009
1132 Coffee, cappuccino, from ground coffee beans, with rice milk 202 3.20000000000000018 0.299999999999999989 0.800000000000000044
1133 Coffee, cappuccino, from ground coffee beans, with skim cows milk 116 4 2.70000000000000018 0.200000000000000011
1134 Coffee & chicory essence, concentrate 893 51.5 1.60000000000000009 0.200000000000000011
1135 Coffee, espresso style, decaffeinated, without milk 9 0 0.100000000000000006 0.200000000000000011
1136 Coffee, espresso style, without milk 9 0 0.100000000000000006 0.200000000000000011
1137 Coffee, flat white or latte, from ground coffee beans, double shot, with reduced fat cows milk 124 3.20000000000000018 2.29999999999999982 0.900000000000000022
1138 Coffee, flat white or latte, from ground coffee beans, double shot, with regular fat cows milk 176 3.60000000000000009 2.10000000000000009 2.20000000000000018
1139 Coffee, flat white or latte, from ground coffee beans, double shot, with skim cows milk 90 2.89999999999999991 2.20000000000000018 0.100000000000000006
1140 Coffee, flat white or latte, from ground coffee beans, with cows milk not further defined 189 4.40000000000000036 2.79999999999999982 1.80000000000000004
1141 Coffee, flat white or latte, from ground coffee beans, with reduced fat cows milk 161 4.20000000000000018 3 1.10000000000000009
1142 Coffee, flat white or latte, from ground coffee beans, with reduced fat soy milk 130 1.5 2 0.800000000000000044
1143 Coffee, flat white or latte, from ground coffee beans, with regular fat cows milk 228 4.79999999999999982 2.70000000000000018 2.79999999999999982
1144 Coffee, flat white or latte, from ground coffee beans, with regular fat soy milk 203 2.20000000000000018 3.10000000000000009 2.20000000000000018
1145 Coffee, flat white or latte, from ground coffee beans, with skim cows milk 116 3.89999999999999991 2.89999999999999991 0.100000000000000006
1146 Coffee, from ground coffee beans, with regular fat coffee whitener 54 1.39999999999999991 0.200000000000000011 0.800000000000000044
1147 Coffee, from instant or ground beans, Turkish, no milk, added sugar 105 6 0.100000000000000006 0.200000000000000011
1148 Coffee, instant, dry powder or granules 692 1.19999999999999996 16.1000000000000014 0.599999999999999978
1149 Coffee, instant, dry powder or granules, decaffeinated 618 0.100000000000000006 16.1000000000000014 0.200000000000000011
1150 Coffee, long black style, from ground beans, decaffeinated, without milk 4 0.100000000000000006 0.100000000000000006 0
1151 Coffee, long black style, from ground coffee beans, double shot, without milk 3 0 0 0.100000000000000006
1152 Coffee, long black style, from ground coffee beans, half shot, without milk 1 0 0 0
1153 Coffee, long black style, from ground coffee beans, without milk 4 0.100000000000000006 0.100000000000000006 0
1154 Coffee, macchiato, from ground coffee beans, decaffeinated, with reduced fat cows milk 36 0.900000000000000022 0.699999999999999956 0.200000000000000011
1155 Coffee, macchiato, from ground coffee beans, decaffeinated, with regular fat cows milk 50 1.10000000000000009 0.599999999999999978 0.599999999999999978
1156 Coffee, macchiato, from ground coffee beans, with cows milk not further defined 46 0.900000000000000022 0.699999999999999956 0.5
1157 Coffee, macchiato, from ground coffee beans, with reduced fat cows milk 40 0.900000000000000022 0.699999999999999956 0.400000000000000022
1158 Coffee, macchiato, from ground coffee beans, with regular fat cows milk 54 1 0.699999999999999956 0.699999999999999956
1159 Coffee, macchiato, from ground coffee beans, with skim cows milk 31 0.800000000000000044 0.699999999999999956 0.200000000000000011
1160 Coffee, macchiato, from ground coffee beans, with soy milk not further defined 43 0.400000000000000022 0.599999999999999978 0.5
1161 Coffee & milk concentrate 1243 49.6000000000000014 8.59999999999999964 6.90000000000000036
1162 Coffee mix, with beverage whitener & intense sweetener, dry powder 1918 33.5 22.3999999999999986 24.6999999999999993
1163 Coffee mix, with beverage whitener & sugar, decaffeinated, dry powder 1915 38.2999999999999972 8.40000000000000036 29.1999999999999993
1164 Coffee mix, with beverage whitener & sugar, dry powder 1915 38.2999999999999972 8.40000000000000036 29.1999999999999993
1165 Coffee, mocha, from ground coffee beans, decaffeinated, with reduced fat cows milk 234 8 3.20000000000000018 1.30000000000000004
1166 Coffee, mocha, from ground coffee beans, decaffeinated, with regular fat cows milk 298 8.59999999999999964 2.89999999999999991 2.89999999999999991
1167 Coffee, mocha, from ground coffee beans, double shot, with cows milk not further defined 221 7.29999999999999982 2.39999999999999991 1.60000000000000009
1168 Coffee, mocha, from ground coffee beans, with cows milk not further defined 262 8.30000000000000071 3 2
1169 Coffee, mocha, from ground coffee beans, with reduced fat cows milk 235 8 3.20000000000000018 1.30000000000000004
1170 Coffee, mocha, from ground coffee beans, with regular fat cows milk 299 8.59999999999999964 2.89999999999999991 2.89999999999999991
1171 Coffee, mocha, from ground coffee beans, with skim cows milk 193 7.70000000000000018 3 0.400000000000000022
1172 Coffee, mocha, from ground coffee beans, with soy milk not further defined 247 5.90000000000000036 2.79999999999999982 1.80000000000000004
1173 Coffee, not further defined 47 1 0.699999999999999956 0.400000000000000022
1174 Coffee, prepared from coffee & milk concentrate, no added milk 124 5 0.900000000000000022 0.699999999999999956
1175 Coffee, prepared from coffee mix, not further defined, no added milk 114 2.20000000000000018 0.800000000000000044 1.60000000000000009
1176 Coffee, prepared from coffee mix with intense sweetener & whitener, no added milk 156 2.70000000000000018 1.80000000000000004 2
1177 Coffee, prepared from coffee mix with sugar & whitener, no added milk 96 1.89999999999999991 0.400000000000000022 1.5
1178 Coffee, prepared from coffee substitute powder & water, no added milk 46 0.200000000000000011 0.100000000000000006 0
1179 Coffee, prepared from decaffeinated coffee mix with sugar & whitener, no added milk 96 1.89999999999999991 0.400000000000000022 1.5
1180 Coffee substitute, cereal beverage, dry powder or granules 1523 7.70000000000000018 4.29999999999999982 1.10000000000000009
1181 Coffee, white, from instant coffee powder, decaffeinated, made up with cows milk not further defined 217 5 3.29999999999999982 2.10000000000000009
1182 Coffee, white, from instant coffee powder, made up with cows milk not further defined 218 5 3.29999999999999982 2.10000000000000009
1183 Coffee, white, from instant coffee powder, made up with regular fat cows milk 263 5.40000000000000036 3.20000000000000018 3.10000000000000009
1184 Coffee whitener, dry powder 2274 54.8999999999999986 4.79999999999999982 35.5
1185 Cointreau 1299 24 0 0
1186 Cone, for ice cream, not further defined 1541 7 7.59999999999999964 3.39999999999999991
1187 Cone, wafer style, for ice cream 1474 0.299999999999999989 7.90000000000000036 2.29999999999999982
1188 Cone, waffle style, for ice cream 1731 26.3000000000000007 6.79999999999999982 6.40000000000000036
1189 Cordial, 25% citrus fruit juice, intense sweetened or diet, recommended dilution 6 0.200000000000000011 0 0
1190 Cordial, 25% citrus fruit juice, regular, recommended dilution 142 8.69999999999999929 0 0
1191 Cordial, 25% non-citrus fruit juice, regular, recommended dilution 142 8.69999999999999929 0 0
1192 Cordial, 40% citrus fruit juice, regular, recommended dilution 154 9.40000000000000036 0 0
1193 Cordial, 40% non-citrus fruit juice, regular, recommended dilution 142 8.69999999999999929 0 0
1194 Cordial, apple & berry, intense sweetened or diet, recommended dilution 6 0.200000000000000011 0 0
1195 Cordial, apple & berry, regular, recommended dilution 142 8.69999999999999929 0 0
1196 Cordial, apple & berry, regular, stronger than recommended dilution 175 10.6999999999999993 0 0
1197 Cordial, apple & berry, regular, weaker than recommended dilution 104 6.40000000000000036 0 0
1198 Cordial base, 25% citrus fruit juice (orange & lemon), regular 606 37.2999999999999972 0 0
1199 Cordial base, 25% citrus fruit juice (orange or lemon), intense sweetened or diet 28 1.19999999999999996 0 0
1200 Cordial base, 25% non-citrus fruit juice (apple & berry), regular 606 37.2999999999999972 0 0
1201 Cordial base, 40% citrus fruit juice (orange, lemon or lime), regular 659 40.2000000000000028 0.200000000000000011 0
1202 Cordial base, 40% non-citrus fruit juice (apple & berry), regular 608 37.2999999999999972 0.100000000000000006 0
1203 Cordial base, apple & berry, intense sweetened or diet 28 1.19999999999999996 0 0
1204 Cordial base, apple & berry, regular 608 37.2999999999999972 0.100000000000000006 0
1205 Cordial base, blackcurrant juice, intense sweetened or diet 187 11 0.100000000000000006 0
1206 Cordial base, blackcurrant juice, regular 923 57 0.100000000000000006 0
1207 Cordial base, fruit cup or tropical, intense sweetened or diet 28 1.19999999999999996 0 0
1208 Cordial base, fruit cup or tropical, regular 606 37.2999999999999972 0 0
1209 Cordial base, ginger, regular 865 52.3999999999999986 0.200000000000000011 0.100000000000000006
1210 Cordial base, grenadine syrup 740 46.2000000000000028 0 0
1211 Cordial base, lemon, intense sweetened or diet 28 1.19999999999999996 0 0
1212 Cordial base, lemon, regular 648 39.6000000000000014 0.200000000000000011 0
1213 Cordial base, lime or green, intense sweetened or diet 23 1.19999999999999996 0.100000000000000006 0
1214 Cordial base, lime or green, regular 679 40.8999999999999986 0.100000000000000006 0
1215 Cordial base, orange or orange & mango, intense sweetened or diet 28 1.19999999999999996 0 0
1216 Cordial base, orange or orange & mango, regular 648 39.6000000000000014 0.200000000000000011 0
1217 Cordial, blackcurrant juice, intense sweetened or diet, recommended dilution 32 1.89999999999999991 0 0
1218 Cordial, blackcurrant juice, regular, recommended dilution 191 11.8000000000000007 0 0
1219 Cordial, blackcurrant juice, regular, stronger than recommended dilution 229 14.0999999999999996 0 0
1220 Cordial, blackcurrant juice, regular, weaker than recommended dilution 146 9 0 0
1221 Cordial, fruit cup or tropical, intense sweetened, recommended dilution 6 0.200000000000000011 0 0
1222 Cordial, fruit cup or tropical, regular, recommended dilution 142 8.69999999999999929 0 0
1223 Cordial, fruit cup or tropical, regular, stronger than recommended dilution 174 10.6999999999999993 0 0
1224 Cordial, fruit cup or tropical, regular, weaker than recommended dilution 103 6.40000000000000036 0 0
1225 Cordial, ginger, regular, recommended dilution 202 12.3000000000000007 0 0
1226 Cordial, lemon, intense sweetened or diet, recommended dilution 6 0.200000000000000011 0 0
1227 Cordial, lemon, regular, recommended dilution 152 9.30000000000000071 0 0
1228 Cordial, lemon, regular, weaker than recommended dilution 111 6.79999999999999982 0 0
1229 Cordial, lime or green, intense sweetened or diet, recommended dilution 5 0.200000000000000011 0 0
1230 Cordial, lime or green, regular, recommended dilution 159 9.59999999999999964 0 0
1231 Cordial, lime or green, regular, stronger than recommended dilution 196 11.8000000000000007 0 0
1232 Cordial, lime or green, regular, weaker than recommended dilution 116 7 0 0
1233 Cordial, orange or orange & mango, intense sweetened or diet, recommended dilution 6 0.200000000000000011 0 0
1234 Cordial, orange or orange & mango, regular, recommended dilution 152 9.30000000000000071 0 0
1235 Cordial, orange or orange & mango, regular, stronger than recommended dilution 187 11.4000000000000004 0 0
1236 Cordial, orange or orange & mango, regular, weaker than recommended dilution 111 6.79999999999999982 0 0
1237 Coriander, fresh, leaves & stems 167 2.5 3.10000000000000009 0.699999999999999956
1238 Coriander seed, dried, ground 1476 8.80000000000000071 13 19.8000000000000007
1239 Corn chips, cheese flavoured, salted 2083 1.30000000000000004 7.09999999999999964 27.3000000000000007
1240 Corn chips, not further defined 2068 1 7.09999999999999964 26.8000000000000007
1241 Corn chips, other flavours, salted 2083 1.30000000000000004 7.09999999999999964 27.3000000000000007
1242 Corn chips, plain, toasted, no added salt 2126 2.60000000000000009 7.20000000000000018 27.8999999999999986
1243 Corn chips, plain toasted, salted 2048 0.599999999999999978 7.20000000000000018 26.3000000000000007
1244 Corn chips, puffed, plain, salted 2267 3.20000000000000018 4.20000000000000018 31.8000000000000007
1245 Cornmeal (polenta), cooked in water & fat, no added salt 468 0.200000000000000011 2.60000000000000009 1.30000000000000004
1246 Cornmeal (polenta), cooked in water, no added salt 447 0.200000000000000011 2.60000000000000009 0.599999999999999978
1247 Cornmeal (polenta), uncooked 1406 0.599999999999999978 8.09999999999999964 2
1248 Couscous, cooked in water & fat, no added salt 700 1.39999999999999991 5.79999999999999982 1.60000000000000009
1249 Couscous, cooked in water, no added fat or salt 677 1.5 6.09999999999999964 0.100000000000000006
1250 Couscous, homemade, cooked, with roast vegetables 587 2.60000000000000009 4.09999999999999964 4.09999999999999964
1251 Couscous, homemade, cooked with roast vegetables & meat 698 2.20000000000000018 10.1999999999999993 6.29999999999999982
1252 Couscous, uncooked 1523 3.39999999999999991 13.8000000000000007 0.200000000000000011
1253 Crab, flesh, coated, fried or deep fried, fat not further defined 684 0.400000000000000022 15.6999999999999993 8.30000000000000071
1254 Crab, flesh, cooked, fat not further defined 307 0 14.6999999999999993 1.5
1255 Crab, flesh, purchased steamed, poached or boiled 274 0 14.9000000000000004 0.599999999999999978
1256 Crabmeat, canned in brine, undrained 225 1.10000000000000009 11.0999999999999996 0.5
1257 Cracker, with cheddar cheese 1589 1.30000000000000004 20.1000000000000014 24.3000000000000007
1258 Cracker, with cheese not further defined 1599 1 18.3999999999999986 24.8999999999999986
1259 Cranberry, dried, sweetened 1137 65 0.100000000000000006 1.39999999999999991
1260 Cranberry, raw 134 4 0.400000000000000022 0.100000000000000006
1261 Cream, dairy, not further defined 1357 2.70000000000000018 2.10000000000000009 34.5
1262 Cream, dairy, sugar sweetened, whipped, commercial 1371 8.19999999999999929 2 32.5
1263 Cream, dairy, sugar sweetened, whipped, homemade 1364 5.40000000000000036 2 33.5
1264 Cream, for use in commercial bakery products, not further defined 1279 11 1.60000000000000009 28.6999999999999993
1265 Cream, imitation or mock (non-dairy) 1108 16.3000000000000007 1 21.8000000000000007
1266 Cream, imitation or mock (non-dairy), reduced fat 820 27 1 8
1267 Cream of tartar, dry powder 0 0 0 0
1268 Cream, pure, 35% fat 1401 2.39999999999999991 2 35.8999999999999986
1269 Cream, reduced fat (~25%), canned 1078 3.29999999999999982 2.89999999999999991 26.3999999999999986
1270 Cream, regular thickened, 35% fat 1409 2.39999999999999991 2 36.1000000000000014
1271 Cream, regular thickened, 35% fat, ultra high temperature treated 1409 2.39999999999999991 2 36.1000000000000014
1272 Cream, regular thickened, light (~18% fat) 835 4.79999999999999982 2 19.6000000000000014
1273 Cream, rich or double thick 1882 1.69999999999999996 1.60000000000000009 49.3999999999999986
1274 Cream, sour, extra light (>12% fat) 680 7 5.29999999999999982 12.5
1275 Cream, sour, light (~18% fat) 910 4.70000000000000018 3.89999999999999991 20.3000000000000007
1276 Cream, sour, not further defined 1222 3.10000000000000009 2.70000000000000018 30.1999999999999993
1277 Cream, sour, regular fat 1414 2 1.89999999999999991 36.2999999999999972
1278 Cream, whipped, aerosol, regular fat (~28%) 1227 5.20000000000000018 3.39999999999999991 29.3999999999999986
1279 Crepe or pancake, banana, homemade from basic ingredients 810 9 6.09999999999999964 4.79999999999999982
1280 Crepe or pancake, berry, homemade from basic ingredients 796 4 7 5.40000000000000036
1281 Crepe or pancake, buckwheat flour, homemade from basic ingredients 874 4 8 6.5
1282 Crepe or pancake, buttermilk, homemade from basic ingredients 892 3.60000000000000009 8.30000000000000071 6
1283 Crepe or pancake, chocolate, homemade from basic ingredients 892 7.29999999999999982 7.70000000000000018 7.29999999999999982
1284 Crepe or pancake, gluten free, commercial or homemade 890 4.09999999999999964 5.09999999999999964 6
1285 Crepe or pancake, plain, commercial 912 13.8000000000000007 5.70000000000000018 4.29999999999999982
1286 Crepe or pancake, plain, dry mix 1408 25.1999999999999993 9.30000000000000071 3.20000000000000018
1287 Crepe or pancake, plain, prepared from dry mix using water 838 15 5.5 1.89999999999999991
1288 Crepe or pancake, plain, white wheat flour, homemade from basic ingredients 886 3.60000000000000009 7.79999999999999982 6.20000000000000018
1289 Crepe or pancake, potato, homemade from basic ingredients 705 0.900000000000000022 5 10.6999999999999993
1290 Crepe or pancake, rice based, homemade from basic ingredients 665 0.5 5.90000000000000036 2.60000000000000009
1291 Crepe or pancake, savoury, filled with duck & vegetables, with sauce (Peking duck) 1033 4.09999999999999964 7.5 19
1292 Crepe or pancake, wholemeal wheat flour, commercial or homemade 894 4 8 7.09999999999999964
1293 Crepe or pancake, with butter & syrup, fast food chain 1286 20.5 6.20000000000000018 10
1294 Crepe or pancake, with savoury filling 811 2.5 11.9000000000000004 9.09999999999999964
1295 Crocodile, back leg, raw 455 0 22 2.20000000000000018
1296 Crocodile, cooked 748 0 37.1000000000000014 3.20000000000000018
1297 Crocodile, tail fillet, raw 442 0 22.5 1.60000000000000009
1298 Croissant, chocolate filled, commercial 1628 14.5 8.80000000000000071 21
1299 Croissant, commercial, plain 1500 5.09999999999999964 10 19.1000000000000014
1300 Crumble, apple, baked, homemade 817 20 2.39999999999999991 8.09999999999999964
1301 Crumble, apple & berry, baked, homemade 787 17.8999999999999986 2.5 8.19999999999999929
1302 Crumble, apple & rhubarb, baked, homemade 803 18.5 2.79999999999999982 8.19999999999999929
1303 Crumble, stone fruits, baked, homemade 856 15.6999999999999993 3.20000000000000018 9.69999999999999929
1304 Crumpet, from white flour, commercial 740 1.69999999999999996 4.5 0.699999999999999956
1305 Crumpet, from white flour, commercial, toasted 844 1.89999999999999991 5.09999999999999964 0.800000000000000044
1306 Crumpet, from wholemeal flour, commercial, toasted 830 1.5 5.59999999999999964 1.10000000000000009
1307 Cucumber, apple crystal, unpeeled, raw 42 0.900000000000000022 0.5 0.100000000000000006
1308 Cucumber, common, peeled, raw 50 2.10000000000000009 0.400000000000000022 0.100000000000000006
1309 Cucumber, common, unpeeled, raw 50 1.19999999999999996 0.800000000000000044 0.100000000000000006
1310 Cucumber, Lebanese, unpeeled, raw 56 2.10000000000000009 0.5 0.100000000000000006
1311 Cucumber, peeled or unpeeled, cooked, no added fat 61 1.69999999999999996 0.900000000000000022 0.100000000000000006
1312 Cucumber, peeled or unpeeled, raw, not further defined 51 1.5 0.699999999999999956 0.100000000000000006
1313 Cucumber, telegraph, unpeeled, raw 56 1.39999999999999991 1.19999999999999996 0.100000000000000006
1314 Cumin (cummin) seed, dried, ground 1915 2.29999999999999982 18.3999999999999986 25.8000000000000007
1315 Cumquat (kumquat), raw 266 9.40000000000000036 1.89999999999999991 0.900000000000000022
1316 Currant, dried 1167 63.2000000000000028 2.79999999999999982 0.5
1317 Curry, commercial, beef, coconut milk based sauce 701 2.10000000000000009 11.0999999999999996 12
1318 Curry, commercial, beef, tomato based sauce 638 2.39999999999999991 11.1999999999999993 9.5
1319 Curry, commercial, beef, vindaloo sauce 577 0 13.5999999999999996 8.90000000000000036
1320 Curry, commercial, chicken, dairy based sauce, Indian 855 2.60000000000000009 16.6999999999999993 13.8000000000000007
1321 Curry, commercial, chicken & vegetable, coconut milk sauce 640 1.69999999999999996 11 10.8000000000000007
1322 Curry, commercial, fish & vegetable, coconut milk sauce 588 1.69999999999999996 9.69999999999999929 10
1323 Curry, commercial, lamb, dairy based sauce 761 7.70000000000000018 15.1999999999999993 9.80000000000000071
1324 Curry, commercial, lamb & vegetable, dairy based sauce 879 2.89999999999999991 12.0999999999999996 15.4000000000000004
1325 Curry, commercial, legume (dhal) 534 0 15.1999999999999993 4.09999999999999964
1326 Curry, commercial, pork, coconut milk sauce 801 2 16.3000000000000007 12.4000000000000004
1327 Curry, commercial, potato & pea (aloo muttar) 480 0.200000000000000011 7 6.40000000000000036
1328 Curry, commercial, prawn & vegetable, coconut milk sauce, with rice 591 1.19999999999999996 6.90000000000000036 5
1329 Curry, commercial, prawn & vegetable, tomato based sauce 539 1.89999999999999991 9.80000000000000071 8.19999999999999929
1330 Curry, commercial, spinach & cheese (palak paneer) 819 0 10.9000000000000004 16.6000000000000014
1331 Curry, commercial, tofu & vegetable 678 1.5 8.90000000000000036 11.6999999999999993
1332 Curry, commercial, vegetable, cream based sauce 638 2.70000000000000018 2.79999999999999982 12.5
1333 Curry, homemade, beef, commercial simmer sauce, Indian style 682 3.89999999999999991 14.8000000000000007 8.69999999999999929
1334 Curry, homemade, beef, homemade sauce 579 0.900000000000000022 17.1000000000000014 6.59999999999999964
1335 Curry, homemade, beef & vegetable, commercial sauce 627 3.5 12.1999999999999993 8.09999999999999964
1336 Curry, homemade, beef & vegetable, commercial sauce, with rice or noodles 630 2.20000000000000018 8.59999999999999964 5
1337 Curry, homemade, beef & vegetable, homemade coconut milk based sauce 563 1.69999999999999996 10.5 8.90000000000000036
1338 Curry, homemade, beef & vegetable, homemade coconut milk based sauce, with rice or noodles 592 1.10000000000000009 7.59999999999999964 5.5
1339 Curry, homemade, beef & vegetable, homemade tomato based sauce 457 2.10000000000000009 10.6999999999999993 5.20000000000000018
1340 Curry, homemade, chicken, commercial sauce 699 3.89999999999999991 16.8000000000000007 8.19999999999999929
1341 Curry, homemade, chicken, commercial sauce, with rice or noodles 673 2.39999999999999991 11.4000000000000004 5.09999999999999964
1342 Curry, homemade, chicken, homemade coconut milk sauce 764 1.5 17.3000000000000007 11.6999999999999993
1343 Curry, homemade, chicken, homemade coconut milk sauce, with rice or noodles 712 1 11.6999999999999993 7.20000000000000018
1344 Curry, homemade, chicken, homemade sauce 657 1 20.6999999999999993 6.90000000000000036
1345 Curry, homemade, chicken & rice 752 2.20000000000000018 12.3000000000000007 4.79999999999999982
1346 Curry, homemade, chicken & vegetable, commercial sauce 652 3.5 13.8000000000000007 8.09999999999999964
1347 Curry, homemade, chicken & vegetable, commercial sauce, with rice or noodles 645 2.20000000000000018 9.59999999999999964 5
1348 Curry, homemade, chicken & vegetable, homemade coconut milk sauce 585 1.69999999999999996 11.8000000000000007 8.90000000000000036
1349 Curry, homemade, chicken & vegetable, homemade coconut milk sauce 596 1.69999999999999996 11.6999999999999993 8.90000000000000036
1350 Curry, homemade, chicken & vegetable, homemade coconut milk sauce, with rice or noodles 605 1.10000000000000009 8.40000000000000036 5.5
1351 Curry, homemade, chicken & vegetable, homemade dairy based sauce 719 2.70000000000000018 11.0999999999999996 11.9000000000000004
1352 Curry, homemade, chicken & vegetable, homemade dairy based sauce, with rice or noodles 686 1.69999999999999996 7.90000000000000036 7.29999999999999982
1353 Curry, homemade, chicken & vegetable, homemade tomato based sauce 444 2 11 4.90000000000000036
1354 Curry, homemade, chicken & vegetable, homemade tomato based sauce, with rice or noodles 520 1.30000000000000004 7.90000000000000036 3.10000000000000009
1355 Curry, homemade, chicken, vegetable & legume, homemade sauce 568 1.60000000000000009 11.4000000000000004 8.09999999999999964
1356 Curry, homemade, chicken, vegetable & legume, homemade sauce, with rice or noodles 595 1 8.09999999999999964 5
1357 Curry, homemade, chick pea & vegetable, homemade sauce, with rice or noodles 564 0.699999999999999956 4.70000000000000018 3.20000000000000018
1358 Curry, homemade, fish, homemade coconut milk sauce 593 1.19999999999999996 18.3999999999999986 6.79999999999999982
1359 Curry, homemade, fish, homemade sauce 472 0.800000000000000044 17.5 3.60000000000000009
1360 Curry, homemade, fish, homemade sauce, with rice or noodles 537 0.5 11.8000000000000007 2.29999999999999982
1361 Curry, homemade, fish & rice 671 2 9.90000000000000036 4.29999999999999982
1362 Curry, homemade, fish & vegetable, homemade coconut milk sauce 506 1.69999999999999996 10 7.59999999999999964
1363 Curry, homemade, fish & vegetable, homemade tomato based sauce 417 2.20000000000000018 10 4.5
1364 Curry, homemade, fish & vegetable, homemade tomato based sauce, with rice or noodles 504 1.30000000000000004 7.29999999999999982 2.79999999999999982
1365 Curry, homemade, goat, homemade sauce 546 1.80000000000000004 14.9000000000000004 6.70000000000000018
1366 Curry, homemade, goat, homemade sauce, with rice or noodles 582 1.10000000000000009 10.1999999999999993 4.20000000000000018
1367 Curry, homemade, lamb, homemade sauce 769 0.900000000000000022 19.1999999999999993 10.6999999999999993
1368 Curry, homemade, lamb & rice 833 2.20000000000000018 12.0999999999999996 7
1369 Curry, homemade, lamb & vegetable, homemade coconut milk sauce 673 1.69999999999999996 11.6999999999999993 11.3000000000000007
1370 Curry, homemade, lamb & vegetable, homemade dairy based sauce 585 2.39999999999999991 11.5999999999999996 8.19999999999999929
1371 Curry, homemade, lamb & vegetable, homemade dairy based sauce, with rice or noodles 605 1.5 8.30000000000000071 5.09999999999999964
1372 Curry, homemade, lamb & vegetable, homemade tomato based sauce 566 2.10000000000000009 11.9000000000000004 7.59999999999999964
1373 Curry, homemade, lamb, vegetable & legume, homemade tomato based sauce 519 2 9.90000000000000036 6.40000000000000036
1374 Curry, homemade, legume (dhal) 485 1.80000000000000004 6.29999999999999982 2.89999999999999991
1375 Curry, homemade, okra, homemade sauce 232 3.29999999999999982 2.70000000000000018 2.60000000000000009
1376 Curry, homemade, okra, with rice or noodles 492 2.5 3.70000000000000018 2.10000000000000009
1377 Curry, homemade, pork, coconut milk sauce 754 1.69999999999999996 19.6000000000000014 10.3000000000000007
1378 Curry, homemade, pork & vegetable, coconut milk sauce 607 1.80000000000000004 14.4000000000000004 8.30000000000000071
1379 Curry, homemade, potato, dairy based sauce 443 2.5 4.70000000000000018 4.29999999999999982
1380 Curry, homemade, prawn & vegetable, homemade coconut milk sauce 494 1.69999999999999996 10.6999999999999993 7
1381 Curry, homemade, prawn & vegetable, homemade tomato based sauce 396 2.20000000000000018 10 3.89999999999999991
1382 Curry, homemade, prawn & vegetable, homemade tomato based sauce, with rice or noodles 492 1.30000000000000004 7.29999999999999982 2.5
1383 Curry, homemade, root vegetable, homemade coconut milk sauce 670 3.60000000000000009 2.39999999999999991 10.9000000000000004
1384 Curry, homemade, sausage, homemade sauce 786 2.70000000000000018 9.09999999999999964 13.8000000000000007
1385 Curry, homemade, vegetable & egg, homemade dairy based sauce 604 2.60000000000000009 3.29999999999999982 11.4000000000000004
1386 Curry, homemade, vegetable, homemade coconut milk sauce 365 2.60000000000000009 2.10000000000000009 6.20000000000000018
1387 Curry, homemade, vegetable, homemade dairy based sauce 600 2.70000000000000018 2.5 11.5
1388 Curry, homemade, vegetable, homemade sauce 284 2.89999999999999991 2.10000000000000009 3
1389 Curry, homemade, vegetable, homemade sauce, with rice or noodles 433 1.80000000000000004 2.5 2.89999999999999991
1390 Curry, homemade, vegetable & legume, homemade sauce 348 2.60000000000000009 3.60000000000000009 2.89999999999999991
1391 Curry, homemade, vegetables, commercial sauce 480 4.90000000000000036 2.39999999999999991 6.79999999999999982
1392 Curry powder 1459 10.1999999999999993 12.6999999999999993 13.8000000000000007
1393 Custard apple, african pride, peeled, raw 326 14.6999999999999993 1.39999999999999991 0.599999999999999978
1394 Custard, dairy, reduced fat, vanilla, commercial 346 11.9000000000000004 3.79999999999999982 0.900000000000000022
1395 Custard, dairy, regular fat, banana, commercial 437 14.4000000000000004 3.29999999999999982 3
1396 Custard, dairy, regular fat, chocolate, commercial 456 15.8000000000000007 4.20000000000000018 2.60000000000000009
1397 Custard, dairy, regular fat, vanilla, commercial 392 11.5999999999999996 3.29999999999999982 3
1398 Custard, dairy, vanilla, not further defined 417 12.5999999999999996 3.5 2.70000000000000018
1399 Custard, dairy, vanilla, prepared from dry mix 391 9.80000000000000071 3.79999999999999982 2.39999999999999991
1400 Custard, egg, vanilla, homemade from basic ingredients 723 24.3000000000000007 4.09999999999999964 4.59999999999999964
1402 Dairy blend, butter & edible oil spread (70% fat), reduced salt (sodium 280 mg/100 g) 2668 0.599999999999999978 0.5 71.5999999999999943
1403 Dairy blend, butter & edible oil spread (70% fat), sodium 485 mg/100 g 2668 0.599999999999999978 0.5 71.5999999999999943
1404 Dairy blend, butter & edible oil spread (~80% fat), reduced salt (sodium 290 mg/100 g) 3068 0.599999999999999978 0.599999999999999978 82.4000000000000057
1405 Dairy blend, butter & edible oil spread (~80% fat), sodium 485 mg/100 g 3068 0.599999999999999978 0.5 82.4000000000000057
1406 Dairy blend, butter & edible oil spread, not further defined 2612 0.599999999999999978 0.5 70.0999999999999943
1407 Dairy blend, butter & edible oil spread, reduced fat (16% fat) & sodium 390 mg/100 g 929 0.599999999999999978 0.5 16
1408 Dairy blend, butter & edible oil spread, reduced fat (40% fat) & sodium 380 mg/100 g 1499 0.599999999999999978 0.5 40
1409 Dairy blend, butter & edible oil spread, reduced fat (40% fat), sodium 510 mg/100 g 1499 0.599999999999999978 0.5 40
1410 Dairy blend, butter & edible oil spread, reduced fat (<60% fat), regular salt 1887 0.599999999999999978 0.599999999999999978 50.5
1411 Dairy blend, butter & edible oil spread, reduced fat (<60% fat) & salt 1516 0.599999999999999978 0.5 39.6000000000000014
1412 Dairy blend, butter & edible oil spread, reduced fat (60% fat) & salt (sodium 200 mg/100 g) 2239 0.599999999999999978 0.5 60
1413 Dairy blend, butter & edible oil spread, reduced fat (60% fat), sodium 400 mg/100 g 2239 0.599999999999999978 0.5 60
1414 Dairy blend, butter & edible oil spread, regular fat (>60% fat), regular salt 2905 0.5 0.599999999999999978 78
1415 Date, dried 1212 65.9000000000000057 2 0.200000000000000011
1416 Devon, processed luncheon meat 1001 0.800000000000000044 12.4000000000000004 18.5
1417 Dill, raw 170 1.19999999999999996 3.39999999999999991 1.19999999999999996
1418 Dressing, Asian style, with lime juice, chilli and fish sauce 390 18 2.70000000000000018 0.299999999999999989
1419 Dressing, Caesar, commercial 1840 4.79999999999999982 2.29999999999999982 45.3999999999999986
1420 Dressing, Caesar, homemade 2297 0.5 3.39999999999999991 59.6000000000000014
1421 Dressing, coleslaw, commercial, reduced fat 608 8.40000000000000036 0.599999999999999978 9.80000000000000071
1422 Dressing, coleslaw, commercial, regular fat 1607 24.5 1 30.1000000000000014
1423 Dressing, creamy, commercial, 97% fat free 534 21 0.900000000000000022 2.70000000000000018
1424 Dressing, honey mustard, homemade 1345 20.3999999999999986 1.60000000000000009 25.8999999999999986
1425 Dressing, lemon vinaigrette, homemade 2738 0.5 0.200000000000000011 73.0999999999999943
1426 Dressing, mustard, homemade 1612 1.39999999999999991 1.39999999999999991 41.1000000000000014
1427 Dressing, oil & vinegar, commercial, regular fat 1103 11.4000000000000004 0.100000000000000006 23.8000000000000007
1428 Dressing, oil, vinegar & vegetables/herbs, commercial, regular fat 1309 6.90000000000000036 0.200000000000000011 31.3999999999999986
1429 Dressing, ranch, commercial 2087 4.40000000000000036 1.19999999999999996 53.6000000000000014
1430 Dressing, sesame soy, homemade 800 10.5 2.20000000000000018 15.0999999999999996
1431 Dressing, thousand island, commercial, reduced fat 721 16.1999999999999993 0.800000000000000044 10.4000000000000004
1432 Dressing, thousand island, commercial, regular fat 1495 14.6999999999999993 1 31.8000000000000007
1433 Dressing, vinaigrette, homemade 2738 0.800000000000000044 0.100000000000000006 73
1434 Dressing, vinegar based, commercial, fat free 85 2.70000000000000018 0.100000000000000006 0.100000000000000006
1435 Dressing, vinegar based & vegetables/herbs, commercial, fat free 131 5.20000000000000018 0.200000000000000011 0
1436 Duck, lean, baked, roasted, fried, grilled or BBQd, no added fat 765 0 24.3000000000000007 9.5
1437 Duck, lean, baked, roasted, fried, stir-fried, grilled or BBQd, fat not further defined 759 0 23.3000000000000007 9.80000000000000071
1438 Duck, lean, boiled, casseroled, microwaved, poached, steamed or stewed, no added fat 723 0 25.3999999999999986 7.90000000000000036
1439 Duck, lean, raw 506 0 17.8000000000000007 5.5
1440 Duck, lean, skin & fat, baked, roasted, fried, grilled or BBQd, fat not further defined 2168 0 16.8999999999999986 50.7999999999999972
1441 Duck, lean, skin & fat, baked, roasted, fried, grilled or BBQd, no added fat 2114 0 17.3000000000000007 49.2000000000000028
1442 Duck, lean, skin & fat, coated, baked, roasted, fried, grilled or BBQd, with or without added fat 2127 0.800000000000000044 16.3999999999999986 43.1000000000000014
1443 Duck, lean, skin & fat, raw 1585 0 13 36.8999999999999986
1444 Duck, skin & fat, baked or roasted, fried, grilled or BBQd, no added fat 2016 0 13.4000000000000004 48.2999999999999972
1445 Duck, skin & fat, raw 2352 0 9.5 59.2000000000000028
1446 Dugong, wild caught, flesh, cooked 650 0 29.8999999999999986 3.79999999999999982
1447 Dugong, wild caught, flesh, raw 526 0 24.1999999999999993 3.10000000000000009
1448 Echidna, wild caught, flesh, cooked 789 0 30.6000000000000014 7.29999999999999982
1449 Echidna, wild caught, flesh, raw 552 0 21.3999999999999986 5.09999999999999964
1450 Egg, chicken, scrambled or omelette, with bacon & cheese, cooked with added fat 775 1.39999999999999991 13.4000000000000004 14.0999999999999996
1451 Egg, chicken, scrambled or omelette, with bacon & cheese, cooked without added fat 712 1.39999999999999991 13.6999999999999993 12.3000000000000007
1452 Egg, chicken, scrambled or omelette, with bacon, cheese & vegetables, cooked with added fat 688 1.60000000000000009 12.0999999999999996 12.0999999999999996
1453 Egg, chicken, scrambled or omelette, with bacon, cheese & vegetables, cooked without added fat 624 1.60000000000000009 12.3000000000000007 10.1999999999999993
1454 Egg, chicken, scrambled or omelette, with bacon, cooked with added fat 715 1.39999999999999991 12.5 12.9000000000000004
1455 Egg, chicken, scrambled or omelette, with bacon, cooked without added fat 647 1.5 12.8000000000000007 10.9000000000000004
1456 Egg, chicken, scrambled or omelette, with bacon & vegetables, cooked with added fat 623 1.69999999999999996 11.0999999999999996 10.8000000000000007
1457 Egg, chicken, scrambled or omelette, with bacon & vegetables, cooked without added fat 554 1.69999999999999996 11.4000000000000004 8.80000000000000071
1458 Egg, chicken, scrambled or omelette, with canned spaghetti, cooked without added fat 437 2.5 9 5.5
1459 Egg, chicken, scrambled or omelette, with cheese, chicken & vegetables, cooked without added fat 572 1.60000000000000009 13.3000000000000007 8.40000000000000036
1460 Egg, chicken, scrambled or omelette, with cheese, cooked with added fat 680 1.60000000000000009 12.4000000000000004 11.9000000000000004
1461 Egg, chicken, scrambled or omelette, with cheese, cooked without added fat 592 1.69999999999999996 12.5999999999999996 9.40000000000000036
1462 Egg, chicken, scrambled or omelette, with cheese & salmon or tuna, cooked without added fat 615 1.39999999999999991 14.8000000000000007 9.19999999999999929
1463 Egg, chicken, scrambled or omelette, with cheese & vegetables, cooked with added fat 595 1.80000000000000004 10.6999999999999993 10
1464 Egg, chicken, scrambled or omelette, with cheese & vegetables, cooked without added fat 528 1.89999999999999991 10.9000000000000004 8
1465 Egg, chicken, scrambled or omelette, with chicken & vegetables, cooked with added fat 570 1.60000000000000009 12.0999999999999996 8.90000000000000036
1466 Egg, chicken, scrambled or omelette, with herbs, cooked with added fat 586 1.69999999999999996 11 10
1467 Egg, chicken, scrambled or omelette, with herbs, cooked without added fat 502 1.69999999999999996 11.1999999999999993 7.59999999999999964
1468 Egg, chicken, scrambled or omelette, with meat & vegetables, cooked with added fat 574 1.60000000000000009 12.1999999999999993 9
1469 Egg, chicken, scrambled or omelette, with salmon or tuna, cooked without added fat 552 1.5 13.8000000000000007 7.90000000000000036
1470 Egg, chicken, scrambled or omelette, with salmon or tuna & vegetables, cooked with added fat 580 1.69999999999999996 11.6999999999999993 9.40000000000000036
1471 Egg, chicken, scrambled or omelette, with salmon or tuna & vegetables, cooked without added fat 506 1.69999999999999996 11.9000000000000004 7.29999999999999982
1472 Egg, chicken, scrambled or omelette, with vegetables, cooked without added fat 451 1.89999999999999991 9.90000000000000036 6.40000000000000036
1473 Egg, chicken, scrambled or omelette, with vegetables, fat not further defined 524 1.89999999999999991 9.59999999999999964 8.5
1474 Egg, chicken, scrambled, with cows milk, cooked with butter or dairy blend 594 1.89999999999999991 10.9000000000000004 10.1999999999999993
1475 Egg, chicken, scrambled, with cows milk, cooked with fat not further defined 577 2 10.5999999999999996 9.80000000000000071
1476 Egg, chicken, scrambled, with cows milk, cooked with margarine spread 545 2 10.5999999999999996 8.90000000000000036
1477 Egg, chicken, scrambled, with cows milk, cooked with oil not further defined 587 2 10.5999999999999996 10.0999999999999996
1478 Egg, chicken, scrambled, with cows milk, no fat added 491 2.10000000000000009 10.9000000000000004 7.29999999999999982
1479 Egg, chicken, white (albumen) only, fried, fat not further defined 398 0.400000000000000022 12.0999999999999996 5
1480 Egg, chicken, white (albumen) only, fried, no added fat 223 0.5 12.6999999999999993 0
1481 Egg, chicken, white (albumen) only, hard-boiled 204 0.400000000000000022 11.5999999999999996 0
1482 Egg, chicken, white (albumen) only, raw 197 0.400000000000000022 11.1999999999999993 0
1483 Egg, chicken, whole, baked, added fat not further defined 732 0.299999999999999989 13 13.6999999999999993
1484 Egg, chicken, whole, baked, no added fat 580 0.299999999999999989 13.6999999999999993 9.19999999999999929
1485 Egg, chicken, whole, cooked, no added fat 541 0.299999999999999989 13 8.40000000000000036
1486 Egg, chicken, whole, curried 948 1.60000000000000009 10.0999999999999996 19.6000000000000014
1487 Egg, chicken, whole, fried, butter or dairy blend 745 0.299999999999999989 13.5999999999999996 13.6999999999999993
1488 Egg, chicken, whole, fried, fat not further defined 766 0.299999999999999989 13.5999999999999996 14.3000000000000007
1489 Egg, chicken, whole, fried, margarine spread 705 0.299999999999999989 13.5999999999999996 12.5999999999999996
1490 Egg, chicken, whole, fried, no fat added 606 0.299999999999999989 14.3000000000000007 9.69999999999999929
1491 Egg, chicken, whole, fried, oil not further defined 786 0.299999999999999989 13.5999999999999996 14.9000000000000004
1492 Egg, chicken, whole, fried with bacon, with or without added fat 971 0.299999999999999989 15.6999999999999993 18.8000000000000007
1493 Egg, chicken, whole, fried with cheese &/or vegetables, with or without added fat 767 0.699999999999999956 13.1999999999999993 14
1494 Egg, chicken, whole, hard-boiled 583 0.299999999999999989 12.4000000000000004 9.5
1495 Egg, chicken, whole, hard-boiled, mashed with mayonnaise 839 0.5 11.0999999999999996 16.8999999999999986
1496 Egg, chicken, whole, omega-3 polyunsaturate enriched, boiled 447 0.299999999999999989 12.6999999999999993 6.09999999999999964
1497 Egg, chicken, whole, omega-3 polyunsaturate enriched, raw 438 0.299999999999999989 12.4000000000000004 6
1498 Egg, chicken, whole, poached, fat not further defined 695 0.299999999999999989 12.5 12.9000000000000004
1499 Egg, chicken, whole, poached, no added fat 556 0.299999999999999989 13.0999999999999996 8.90000000000000036
1500 Egg, chicken, whole, poached with bacon, with or without added fat 732 0.599999999999999978 21.1999999999999993 9.80000000000000071
1501 Egg, chicken, whole, poached with cheese &/or vegetables, with or without added fat 679 0.699999999999999956 13 11.6999999999999993
1502 Egg, chicken, whole, raw 533 0.299999999999999989 12.5999999999999996 8.5
1503 Egg, chicken, yolk, fried, fat not further defined 1600 0.200000000000000011 16.8999999999999986 35.3999999999999986
1504 Egg, chicken, yolk, fried, no fat added 1490 0.200000000000000011 17.6999999999999993 32
1505 Egg, chicken, yolk, hard-boiled 1450 0.200000000000000011 16.1000000000000014 31.6999999999999993
1506 Egg, chicken, yolk, raw 1311 0.200000000000000011 15.5999999999999996 28.1999999999999993
1507 Egg, chicken, yolk, scrambled, with cows milk, fat not further defined 1160 2 12.9000000000000004 24.5
1508 Egg, chicken, yolk, scrambled, with cows milk, no fat added 1114 1.89999999999999991 13.5 23
1509 Egg, duck, scrambled, with cows milk & fat not further defined 722 2.5 10.8000000000000007 13.4000000000000004
1510 Egg, duck, scrambled, with cows milk, no fat added 652 2.60000000000000009 11.0999999999999996 11.4000000000000004
1511 Egg, duck, whole, boiled 714 0.900000000000000022 12.3000000000000007 13.1999999999999993
1512 Egg, duck, whole, fried, fat not further defined 984 1 13.9000000000000004 19.8000000000000007
1513 Egg, duck, whole, raw 742 0.900000000000000022 12.8000000000000007 13.8000000000000007
1514 Egg, emu, scrambled, with cows milk, no added fat 559 2.60000000000000009 9.90000000000000036 9.30000000000000071
1515 Egg, emu, whole, raw 698 0.299999999999999989 13.1999999999999993 12.6999999999999993
1516 Eggplant, peeled or unpeeled, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 109 3.10000000000000009 1.30000000000000004 0.400000000000000022
1517 Eggplant, peeled or unpeeled, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, olive oil 605 3.10000000000000009 1.30000000000000004 13.6999999999999993
1518 Eggplant, peeled or unpeeled, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, other oil 756 3.89999999999999991 1.60000000000000009 17.1000000000000014
1519 Eggplant, peeled or unpeeled, fresh or frozen, boiled, microwaved or steamed, drained 100 2.79999999999999982 1.19999999999999996 0.299999999999999989
1520 Eggplant, peeled or unpeeled, fresh or frozen, boiled, microwaved or steamed, drained, added fat not further defined 449 2.5 1.10000000000000009 10
1521 Eggplant, peeled or unpeeled, fresh or frozen, raw 93 2.60000000000000009 1.10000000000000009 0.299999999999999989
1522 Egg, quail, whole, fried, fat not further defined 888 0.400000000000000022 14.0999999999999996 17.3000000000000007
1523 Egg, quail, whole, raw 639 0.400000000000000022 13 11.0999999999999996
1524 Egg, whole, preserved, cooked 835 1 14.4000000000000004 15.5
1525 Emu, fan fillet, raw 486 0 24.6999999999999993 1.80000000000000004
1526 Emu, fillet or steak, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 660 0 33.5 2.5
1527 Emu, steak, raw 504 0 25.5 1.89999999999999991
1528 Endive, raw 58 0.299999999999999989 1.5 0.200000000000000011
1529 Ethanol 100% 2900 0 0 0
1530 Fat, butter, dairy blend, ghee or margarine, not further defined, for use in meat, fish, poultry & vegetable recipes 2959 0 0.900000000000000022 79.5
1531 Fat, butter, dairy blend or margarine spread, not further defined 2554 0 0.800000000000000044 68.5999999999999943
1532 Fat, butter, dairy blend or margarine spread, not further defined 2584 0 0.800000000000000044 69.4000000000000057
1533 Fat, butter or dairy blend, for homemade cakes, biscuits & puddings, not further defined 2986 0.100000000000000006 1.10000000000000009 80.2000000000000028
1534 Fat, dairy blend or margarine spread, not further defined 2309 0.100000000000000006 0.699999999999999956 62.1000000000000014
1535 Fat, for frying at home, not further defined 2903 0.200000000000000011 0.599999999999999978 78.0999999999999943
1536 Fat or oil, not further defined, for use in home cooked meat, fish, poultry & mixed dish recipes 3636 0 0.100000000000000006 98.2000000000000028
1537 Fat or oil, not further defined, for use in homemade cake, biscuit & slice recipes 3064 0 0.900000000000000022 82.4000000000000057
1538 Fat or oil, not further defined, for use in homemade cake, biscuit & slice using dry mixes 3216 0 0.5 86.7000000000000028
1539 Fat or oil, not further defined, for use in omelette, scrambled egg & wet cooked vegetables recipes 3344 0 0.400000000000000022 90.2000000000000028
1540 Fat, solid, blend of animal & vegetable oils 3700 0 0.200000000000000011 99.9000000000000057
1541 Fat, solid, vegetable oil based 3702 0 0.200000000000000011 100
1542 Feijoa, raw 180 7.70000000000000018 0.699999999999999956 0.299999999999999989
1543 Fennel, fresh or frozen, boiled, microwaved or steamed, drained 108 3.89999999999999991 1.19999999999999996 0.100000000000000006
1544 Fennel, fresh or frozen, raw 92 3.29999999999999982 1 0.100000000000000006
1545 Fenugreek seed 1375 24.1999999999999993 23 6.40000000000000036
1546 Fibre 800 0 0 0
1547 Fig, dried 1082 52.6000000000000014 3.60000000000000009 0.699999999999999956
1548 Fig, fresh, peeled or unpeeled, baked 224 9.30000000000000071 1.60000000000000009 0.299999999999999989
1549 Fig, fresh, peeled or unpeeled, raw 195 8.09999999999999964 1.39999999999999991 0.299999999999999989
1550 Fish, eel, baked, roasted, fried, stir-fried, deep fried, grilled or BBQd, fat not further defined 1349 0 22.6999999999999993 26
1551 Fish, eel, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 1237 0 23.3999999999999986 22.6999999999999993
1552 Fish, eel, raw 903 0 17.1000000000000014 16.6000000000000014
1553 Fish paste or spread 652 0 14.9000000000000004 6.90000000000000036
1554 Fish roe (caviar), black 386 0 10.9000000000000004 5.40000000000000036
1555 Fish roe (caviar), red 631 0 19.1999999999999993 8.19999999999999929
1556 Fish, sashimi, raw, not further defined 609 0 23 5.90000000000000036
1557 Fish, white flesh, baked, roasted, fried, grilled or BBQd, no added fat 528 0 26.3000000000000007 2.20000000000000018
1558 Fish, white flesh, baked, roasted, grilled, BBQd, fried or deep fried, fat not further defined 771 0 26 8.90000000000000036
1559 Fish, white flesh, battered, packaged frozen, baked, roasted, fried, grilled or BBQd, with or without added fat 1099 0.599999999999999978 12.1999999999999993 19.3000000000000007
1560 Fish, white flesh, battered, takeaway outlet, deep fried 945 0 14.0999999999999996 13.5999999999999996
1561 Fish, white flesh, boiled, microwaved, steamed or poached, with or without added fat 497 0 23.6999999999999993 2.5
1562 Fish, white flesh, coated, baked, roasted, fried, deep fried, grilled or BBQd, fat not further defined 834 0.400000000000000022 21.3000000000000007 9.69999999999999929
1563 Fish, white flesh, crumbed, packaged frozen, baked, roasted, fried, grilled or BBQd, with or without added fat 958 0.699999999999999956 11.8000000000000007 14.5
1564 Fish, white flesh, crumbed, takeaway outlet, deep fried 1195 1.19999999999999996 16.1999999999999993 16.3999999999999986
1565 Fish, white flesh, raw, not further defined 401 0 20 1.60000000000000009
1566 Flathead, baked, roasted, fried, grilled or BBQd, no added fat 541 0 28.8999999999999986 1.39999999999999991
1567 Flathead, baked, roasted, grilled, BBQd, fried or deep fried, fat not further defined 763 0 27.3999999999999986 8
1568 Flathead, boiled, microwaved, steamed or poached, with or without added fat 487 0 26.1000000000000014 1.19999999999999996
1569 Flathead, coated, baked, roasted, fried, deep-fried, grilled or BBQd, fat not further defined 828 0.400000000000000022 22.3000000000000007 9
1570 Flathead, coated, takeaway outlet, deep fried 1593 0.299999999999999989 8.80000000000000071 30.5
1571 Flathead, raw 395 0 21.1000000000000014 1
1572 Flounder, baked, roasted, fried, grilled or BBQd, no added fat 387 0 17 2.60000000000000009
1573 Flounder, baked, roasted, grilled, BBQd, fried or deep fried, fat not further defined 617 0 16.1999999999999993 9.19999999999999929
1574 Flounder, raw 282 0 12.4000000000000004 1.89999999999999991
1575 Flour, arrowroot 1453 0 0.100000000000000006 0.200000000000000011
1576 Flour, chick pea (besan) 1478 2.60000000000000009 19.6999999999999993 5.40000000000000036
1577 Flour, cornflour, from maize starch 1529 0.800000000000000044 0.400000000000000022 0.100000000000000006
1578 Flour, cornflour, from maize & wheat starch 1442 0.100000000000000006 0.100000000000000006 0.5
1579 Flour, gluten free mix (rice, soy, corn & tapioca) 1507 1.39999999999999991 3.39999999999999991 0.699999999999999956
1580 Flour, rice 1536 0.5 5.70000000000000018 1.39999999999999991
1581 Flour, rye, wholemeal 1318 1.39999999999999991 12 2.29999999999999982
1582 Flour, soya 1573 19.8000000000000007 46.5 6.70000000000000018
1583 Flour, spelt 1471 0.900000000000000022 18.6999999999999993 2.39999999999999991
1584 Flour, wheat, white, high protein or bread making flour 1492 0.100000000000000006 11.3000000000000007 1.19999999999999996
1585 Flour, wheat, white, plain 1498 0 10.8000000000000007 1.19999999999999996
1586 Flour, wheat, white, plain, added vitamins B1, B2, B3, B6, E & folate & Fe, Mg & Zn (Jackaroo) 1417 1.10000000000000009 11.0999999999999996 1.5
1587 Flour, wheat, white, self-raising 1479 0 10.8000000000000007 1.19999999999999996
1588 Flour, wheat, white, self-raising, added calcium & folate 1479 0 10.8000000000000007 1.19999999999999996
1589 Flour, wheat, white, self-raising, added vitamins B1, B2, B3, B6, E & folate & Fe, Mg & Zn (Jackaroo) 1417 1.10000000000000009 11.0999999999999996 1.5
1590 Flour, wheat, wholemeal, plain 1464 0.900000000000000022 11.3000000000000007 2.10000000000000009
1591 Flour, wheat, wholemeal, self-raising 1458 0.900000000000000022 10.5999999999999996 2.10000000000000009
1592 Flower, rosella (native) 41 0 0.5 0
1593 Folic acid 0 0 0 0
1594 Frankfurt, canned, heated, drained 876 0.800000000000000044 11.3000000000000007 17.3999999999999986
1595 Frankfurt, cooked 1051 0.200000000000000011 14.3000000000000007 19.8999999999999986
1596 Fromais frais, berry pieces or flavour, regular fat (5% fat) 499 13.9000000000000004 6.20000000000000018 4.29999999999999982
1597 Fromais frais, fruit pieces or flavoured, regular fat (5% fat) 486 13 5.40000000000000036 4.70000000000000018
1598 Fromais frais, vanilla flavoured, regular fat (5% fat) 496 13 5.40000000000000036 4.70000000000000018
1599 Fruit, for use in garden recipes 245 11.5999999999999996 0.800000000000000044 0.200000000000000011
1600 Fruit, fresh, not further defined 247 10.4000000000000004 0.800000000000000044 0.200000000000000011
1601 Fruit, leather 1500 28.8999999999999986 0.299999999999999989 2.29999999999999982
1602 Fruit, puree or stewed, infant 258 11.1999999999999993 0.5 0.100000000000000006
1603 Fruit, puree or stewed, not further defined 372 16.5 0.800000000000000044 0.699999999999999956
1604 Fruit, wild harvested, raw 374 13.4000000000000004 2.39999999999999991 2
1605 Garfish, coated, takeaway outlet, deep fried 1117 0.200000000000000011 17.3000000000000007 17.8000000000000007
1606 Garfish, raw 464 0 21.3999999999999986 2.70000000000000018
1607 Garlic, peeled or unpeeled, fresh or frozen, baked, roasted, fried, stir-fried, grilled, BBQd, deep-fried, with or without added fat 842 2.39999999999999991 9.80000000000000071 4.5
1608 Garlic, peeled or unpeeled, fresh or frozen, boiled, microwaved or steamed, drained, with or without added fat 580 1.69999999999999996 6.79999999999999982 3.10000000000000009
1609 Garlic, peeled or unpeeled, fresh or frozen, raw 522 1.5 6.09999999999999964 2.79999999999999982
1610 Gelatine, all types 1449 0 84.4000000000000057 0.400000000000000022
1611 Gel, energy, caffeinated, all flavours 1081 24 0 0
1612 Gemfish, boiled, microwaved, steamed or poached, no added fat 517 0.299999999999999989 23.3000000000000007 3.10000000000000009
1613 Gemfish, raw 323 0.100000000000000006 13.1999999999999993 2.60000000000000009
1614 Ghee, clarified butter 3701 0 0.299999999999999989 99.9000000000000057
1615 Gherkin, pickled, drained, commercial 442 23.6000000000000014 0.400000000000000022 0.299999999999999989
1616 Gin 899 0 0 0
1617 Ginger, crystallised 1264 76.7000000000000028 0.299999999999999989 0.100000000000000006
1618 Ginger, dried, ground 1418 0.900000000000000022 8.5 4.59999999999999964
1619 Ginger, peeled, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, with or without added fat 160 2.10000000000000009 1 0.5
1620 Ginger, peeled, fresh or frozen, boiled, microwaved or steamed, with or without added fat 143 1.80000000000000004 0.900000000000000022 0.400000000000000022
1621 Ginger, peeled, fresh or frozen, raw 132 1.69999999999999996 0.800000000000000044 0.400000000000000022
1622 Ginger, pickled, drained 75 1 0.5 0.200000000000000011
1623 Glucose, liquid or syrup 1174 33 0 0
1624 Gluten, from wheat (vital wheat gluten) 1598 0.100000000000000006 74.9000000000000057 2.20000000000000018
1625 Goanna, wild caught, flesh, cooked 729 0 31.3000000000000007 4.40000000000000036
1626 Goat, cooked, with or without added fat 705 0 25.8999999999999986 7.20000000000000018
1627 Goat, flesh, raw 533 0 20.8999999999999986 4.79999999999999982
1628 Goat, forequarter, separable lean, raw 432 0 21.6000000000000014 1.80000000000000004
1629 Goat, separable fat (composite), raw 1855 0 12.1999999999999993 44.6000000000000014
1630 Goji berry, dried 1238 49.1000000000000014 12.1999999999999993 2.20000000000000018
1631 Goose, wild caught, flesh, cooked 849 0 33.3999999999999986 6.29999999999999982
1632 Goose, wild caught, flesh, raw 616 0 24.1999999999999993 4.59999999999999964
1633 Grains, boiled, for homemade mixed dishes 665 0.100000000000000006 2.70000000000000018 0.200000000000000011
1634 Grains & pasta, for homemade soup recipes 563 0.100000000000000006 4.09999999999999964 0.800000000000000044
1635 Grape, black muscatel, raw 349 18.8000000000000007 1.10000000000000009 0.100000000000000006
1636 Grape, black sultana, raw 278 14 1.19999999999999996 0.100000000000000006
1637 Grape, cornichon, raw 257 12.6999999999999993 1.30000000000000004 0.100000000000000006
1638 Grapefruit, peeled, raw 125 4.79999999999999982 0.900000000000000022 0.200000000000000011
1639 Grape, raw, not further defined 294 15.5 0.699999999999999956 0.100000000000000006
1640 Grape, red globe, raw 322 16.3000000000000007 0.900000000000000022 0.200000000000000011
1641 Grape, thompson seedless or sultana, raw 276 15 0.599999999999999978 0.100000000000000006
1642 Grape, waltham cross, raw 281 14.4000000000000004 0.800000000000000044 0.100000000000000006
1643 Gravy powder, dry mix 1311 0.699999999999999956 8.90000000000000036 6.20000000000000018
1644 Gravy powder, dry mix, reduced salt 1311 0.699999999999999956 8.90000000000000036 6.20000000000000018
1645 Gravy, prepared, commercial 188 0.100000000000000006 1.30000000000000004 1.60000000000000009
1646 Gravy, prepared from dry powder with water 109 0.100000000000000006 0.699999999999999956 0.5
1647 Gravy, prepared from pan-drippings 857 0 1.89999999999999991 16.3000000000000007
1648 Gravy, prepared, reduced salt, commercial 188 0.100000000000000006 1.30000000000000004 1.60000000000000009
1649 Gravy, reduced salt, prepared from dry powder with water 109 0.100000000000000006 0.699999999999999956 0.5
1650 Grouper, baked, roasted, fried, grilled or BBQd, fat not further defined 727 0 25.1999999999999993 8.09999999999999964
1651 Grouper, baked, roasted, fried, grilled or BBQd, no added fat 503 0 26.5 1.39999999999999991
1652 Grouper, coated, baked, roasted, grilled, or BBQd, fat not further defined 801 0.400000000000000022 20.6999999999999993 9.09999999999999964
1653 Grouper, raw 367 0 19.3999999999999986 1
1654 Guava, hawaiian, raw 144 3.39999999999999991 0.699999999999999956 0.5
1655 Ham, leg, lean 467 0.900000000000000022 17 2.5
1656 Ham, leg, lean & fat 598 0 17.8999999999999986 7.59999999999999964
1657 Ham, leg, lean & fat, canned 482 0.599999999999999978 17.1999999999999993 4.5
1658 Ham, shoulder, lean & fat 477 0 14.1999999999999993 6
1659 Ham, shoulder, lean & fat, canned 509 0 15.4000000000000004 6.29999999999999982
1660 Ham steak, baked, roasted, fried, grilled or BBQd, fat not further defined 739 0.800000000000000044 19 9.59999999999999964
1661 Ham steak, baked, roasted, fried, grilled or BBQd, no added fat 680 0.800000000000000044 19.3999999999999986 7.79999999999999982
1662 Ham steak, raw 520 0.400000000000000022 14.4000000000000004 6.09999999999999964
1663 Herbs, mixed, dried 1210 5.20000000000000018 11.0999999999999996 9
1664 Herbs, mixed, raw 183 1.5 2.39999999999999991 1.5
1665 Herring, Atlantic, pickled 1031 7.70000000000000018 14.1999999999999993 18
1666 Honey 1318 82.0999999999999943 0.200000000000000011 0
1667 Honeycomb, plain 1502 93.5999999999999943 0.100000000000000006 0
1668 Horseradish, prepared 200 8 1.19999999999999996 0.699999999999999956
1669 Ice cream cone, soft serve vanilla ice cream, with wafer cone, fast food style 799 21.3000000000000007 4.29999999999999982 5.09999999999999964
1670 Iced chocolate, regular fat cows milk, with ice cream & whipped cream 531 13.4000000000000004 3.10000000000000009 6.79999999999999982
1671 Iced coffee, reduced fat cows milk 91 2.29999999999999982 1.69999999999999996 0.599999999999999978
1672 Iced coffee, reduced fat cows milk, with ice cream 279 6.59999999999999964 2.89999999999999991 3
1673 Iced coffee, regular fat cows milk 133 2.70000000000000018 1.69999999999999996 1.5
1674 Iced coffee, regular fat cows milk, with added sugar 159 4.59999999999999964 1.5 1.60000000000000009
1675 Iced coffee, regular fat cows milk, with ice cream 320 7.09999999999999964 2.60000000000000009 4.09999999999999964
1676 Iced coffee, regular fat cows milk, with ice cream & whipped cream 405 6.90000000000000036 2.70000000000000018 6.5
1677 Iced coffee, regular fat cows milk, with whipped cream 215 2.79999999999999982 1.69999999999999996 3.79999999999999982
1678 Iced coffee, regular fat soy milk 115 1.19999999999999996 1.69999999999999996 1.30000000000000004
1679 Iced tea, homemade, unsweetened 49 2.39999999999999991 0.200000000000000011 0.100000000000000006
1680 Icing, chocolate ganache, commercial 1811 31.5 3.10000000000000009 32.8999999999999986
1681 Icing, chocolate ganache, homemade 1945 39.6000000000000014 3.39999999999999991 30
1682 Icing, cream cheese, homemade 1593 57 2.79999999999999982 17.1000000000000014
1683 Icing, cream style, plain & flavoured (non-chocolate & coffee), commercial 2174 52.6000000000000014 0.100000000000000006 35
1684 Icing, egg white based, non-chocolate & coffee, homemade 1347 82.4000000000000057 1.5 0
1685 Icing, homemade, not further defined (non-chocolate & coffee) 1496 64.5999999999999943 1 12
1686 Icing, sugar based, chocolate, cocoa powder, commercial 1647 64.0999999999999943 0.900000000000000022 14.3000000000000007
1687 Icing, sugar based, chocolate, cocoa powder, homemade 1493 67 0.900000000000000022 10.0999999999999996
1688 Icing, sugar based, coffee, homemade 1490 70.0999999999999943 0.200000000000000011 9.80000000000000071
1689 Icing, sugar based, non-chocolate & coffee, homemade 1407 66.7000000000000028 0.100000000000000006 9.09999999999999964
1690 Icing, sugar based, plain & flavoured (non-chocolate & coffee), commercial 1678 66 1.39999999999999991 14.9000000000000004
1691 Infant cereal, added vitamin C & Fe 1636 0 8.19999999999999929 3.39999999999999991
1692 Infant cereal, added vitamin C & Fe, prepared with water 182 0 0.900000000000000022 0.400000000000000022
1693 Infant formula, 6-12 months, added omega 3 fatty acids, prepared with water 264 7.90000000000000036 1.80000000000000004 2.89999999999999991
1694 Infant formula, 6-12 months, prepared with water 264 7.90000000000000036 1.80000000000000004 2.89999999999999991
1695 Infant rusk, teething 1476 5.79999999999999982 17.5 0.599999999999999978
1696 Insect, wild caught, raw 1159 60.7000000000000028 2 2
1697 Intense sweetener, containing aspartame/acesulfame-potassium, tablet 1624 36 58 0
1698 Intense sweetener, containing aspartame, powdered formulation 1690 2.89999999999999991 3 0
1699 Intense sweetener, containing aspartame, tablet formulation 1542 68 23.3999999999999986 0
1700 Intense sweetener, containing saccharin, liquid 0 0 0 0
1701 Intense sweetener, containing saccharin, tablet 777 0 0 0
1702 Intense sweetener, containing stevia, powdered formulation 1247 7.79999999999999982 0 0
1703 Intense sweetener, containing stevia, tablet 1506 43 1.10000000000000009 0.5
1704 Intense sweetener, containing sucralose, powdered formulation 1554 27 0 0
1705 Intense sweetener, containing sucralose, tablet 1400 76.9000000000000057 10 0
1706 Intense sweetener, powder formulation, not further defined 1579 10.6999999999999993 1.60000000000000009 0
1707 Intense sweetener, tablet, not further defined 1108 31.3999999999999986 8.5 0
1708 Iodine 0 0 0 0
1709 Jackfruit, peeled, raw 347 16.3000000000000007 2.20000000000000018 0.299999999999999989
1710 Jam, all flavours, intense sweetened 101 2.79999999999999982 0.299999999999999989 0.200000000000000011
1711 Jam, all flavours, no added sugar (100% fruit) 883 51.5 1.30000000000000004 0.5
1712 Jam, all flavours, reduced sugar 540 31.5 0.5 0.100000000000000006
1713 Jam, apricot, regular 1050 64.2999999999999972 0.200000000000000011 0
1714 Jam, blackberry, regular 1100 67.2000000000000028 0.299999999999999989 0
1715 Jam, fig, regular 923 54.7000000000000028 1 0.200000000000000011
1716 Jam, mixed berry, regular 1100 67.2000000000000028 0.299999999999999989 0
1717 Jam, not further defined 1076 65.5999999999999943 0.299999999999999989 0
1718 Jam, other fruit, regular 1050 64.2999999999999972 0.200000000000000011 0
1719 Jam, plum, regular 1050 64.2999999999999972 0.200000000000000011 0
1720 Jam, pumpkin & cinnamon, homemade 738 43.1000000000000014 0.599999999999999978 0.100000000000000006
1721 Jam, raspberry, regular 1100 67.2000000000000028 0.299999999999999989 0
1722 Jam, strawberry, regular 1100 67.2000000000000028 0.299999999999999989 0
1723 Jellyfish, coated, baked, roasted, fried, grilled or BBQd, fat not further defined 734 0.400000000000000022 17.3999999999999986 8.90000000000000036
1724 Jelly, intense sweetened, all flavours, prepared 57 0 0.5 0
1725 Jelly, intense sweetened, all flavours, prepared, added other fruits 115 3.89999999999999991 0.599999999999999978 0
1726 Jelly, intense sweetened, all flavours, prepared, added peach, apricot, mango or nectarine 97 2.5 0.599999999999999978 0
1727 Jelly, sugar sweetened, all flavours, prepared 230 13.1999999999999993 1 0
1728 Jelly, sugar sweetened, all flavours, prepared, added berries 202 10.9000000000000004 0.900000000000000022 0
1729 Jelly, sugar sweetened, all flavours, prepared, added other fruits 236 13.0999999999999996 0.900000000000000022 0
1730 Jelly, sugar sweetened, all flavours, prepared, added peach, apricot, mango or nectarine 218 11.6999999999999993 1 0
1731 Jelly, sugar sweetened, all flavours, prepared, added peach & pears 220 11.6999999999999993 0.900000000000000022 0
1732 Jelly, sugar sweetened, all flavours, prepared, added pears 221 11.8000000000000007 0.900000000000000022 0
1733 Jerky, beef, all flavours 1179 19.1999999999999993 33.5 4.5
1734 John dory, baked, roasted, fried, grilled or BBQd, no added fat 526 0.299999999999999989 28.3000000000000007 1.10000000000000009
1735 John dory, baked, roasted, grilled, BBQd, fried or deep fried, fat not further defined 749 0.299999999999999989 26.8999999999999986 7.79999999999999982
1736 John dory, coated, baked, roasted, fried, or BBQd, fat not further defined 818 0.599999999999999978 21.8999999999999986 8.80000000000000071
1737 John dory, raw 384 0.200000000000000011 20.6000000000000014 0.800000000000000044
1738 Kabana or cabanossi 1168 0 14.9000000000000004 24.6999999999999993
1739 Kale, cooked 113 3.5 1.60000000000000009 0.100000000000000006
1740 Kale, raw 109 3.39999999999999991 1.60000000000000009 0.100000000000000006
1741 Kangaroo, loin fillet, baked, roasted, fried, grilled or BBQd, fat not further defined 563 0 25.6000000000000014 3.5
1742 Kangaroo, loin fillet, baked, roasted, fried, grilled or BBQd, no added fat 566 0 30.6999999999999993 1.19999999999999996
1743 Kangaroo, loin fillet, boiled, casseroled, microwaved, poached, steamed or stewed, fat not further defined 577 0 26.1999999999999993 3.60000000000000009
1744 Kangaroo, loin fillet, raw 397 0 21.3999999999999986 0.900000000000000022
1745 Kangaroo, rump, baked, roasted, fried, grilled or BBQd, no added fat 669 0 33.8999999999999986 2.5
1746 Kangaroo, rump, raw 373 0 20.3000000000000007 0.800000000000000044
1747 Kangaroo, tail, cooked 464 0 24.3999999999999986 1.30000000000000004
1748 Kangaroo, tail, raw 381 0 20 1.10000000000000009
1749 Kangaroo, wild caught, flesh, cooked 469 0 25.3999999999999986 1
1750 Kangaroo, wild caught, flesh & organs, cooked 511 0 25.6000000000000014 1.89999999999999991
1751 Kangaroo, wild caught, tail, cooked 464 0 24.3999999999999986 1.30000000000000004
1752 Kiwifruit, gold, peeled or unpeeled, raw 244 10.9000000000000004 1.19999999999999996 0.5
1753 Kiwifruit, green (hayward), peeled, raw 218 9 1.19999999999999996 0.200000000000000011
1754 Kiwifruit, green (hayward), unpeeled, raw 216 8.69999999999999929 1.19999999999999996 0.200000000000000011
1755 Kohlrabi, peeled, fresh or frozen, boiled, microwaved or steamed, drained 170 4.40000000000000036 3.89999999999999991 0.100000000000000006
1756 Kohlrabi, peeled, fresh or frozen, raw 163 4.20000000000000018 3.70000000000000018 0.100000000000000006
1757 Lamb, all cuts, separable fat, cooked 2251 0 16.1999999999999993 53.3999999999999986
1758 Lamb, all cuts, separable fat, raw 2315 0 10.8000000000000007 57.6000000000000014
1759 Lamb, BBQ/grill/fry cuts, fully-trimmed, BBQd, grilled or fried, no added fat 951 0 28.6000000000000014 12.5999999999999996
1760 Lamb, BBQ/grill/fry cuts, fully-trimmed, raw 708 0 22.6000000000000014 8.69999999999999929
1761 Lamb, BBQ/grill/fry cuts, semi-trimmed, BBQd, grilled or fried, no added fat 1056 0 27.6000000000000014 15.9000000000000004
1762 Lamb, BBQ/grill/fry cuts, semi-trimmed, raw 906 0 21.3000000000000007 14.6999999999999993
1763 Lamb, brain, raw 505 0 12.3000000000000007 8
1764 Lamb, brain, simmered or boiled, no added fat 565 0 12.8000000000000007 9.40000000000000036
1765 Lamb, butterfly steak, fully-trimmed, baked, roasted, fried, grilled or BBQd, no added fat 914 0 29.1000000000000014 11.3000000000000007
1766 Lamb, butterfly steak, fully-trimmed, boiled, casseroled, microwaved, poached, steamed, or stewed, no added fat 921 0 34.8999999999999986 8.90000000000000036
1767 Lamb, butterfly steak, fully-trimmed, raw 737 0 27.8999999999999986 7.09999999999999964
1768 Lamb, butterfly steak, separable lean, raw 671 0 28.6000000000000014 5
1769 Lamb, casserole cuts, fully-trimmed, boiled, casseroled, microwaved, poached, steamed, or stewed, no added fat 944 0 28.3000000000000007 12.5
1770 Lamb, casserole cuts, fully-trimmed, raw 667 0 20.1999999999999993 8.80000000000000071
1771 Lamb, casserole cuts, semi-trimmed, boiled, casseroled, microwaved, poached, steamed or stewed, no added fat 994 0 24.1000000000000014 15.8000000000000007
1772 Lamb, chop, fully-trimmed, baked, roasted, fried, grilled or BBQd, butter, dairy blend or margarine 949 0 29.5 12.0999999999999996
1773 Lamb, chop, fully-trimmed, baked, roasted, fried, grilled or BBQd, canola oil 967 0 29.3999999999999986 12.5999999999999996
1774 Lamb, chop, fully-trimmed, baked, roasted, fried, grilled or BBQd, fat not further defined 965 0 29.3999999999999986 12.5999999999999996
1775 Lamb, chop, fully-trimmed, baked, roasted, fried, grilled or BBQd, no added fat 894 0 30 10.4000000000000004
1776 Lamb, chop, fully-trimmed, baked, roasted, fried, grilled or BBQd, olive oil 967 0 29.3999999999999986 12.5999999999999996
1777 Lamb, chop, fully-trimmed, baked, roasted, fried, grilled or BBQd, other oil 967 0 29.3999999999999986 12.5999999999999996
1778 Lamb, chop, fully-trimmed, boiled, casseroled, microwaved, poached, steamed or stewed, fat not further defined 989 0 30.1999999999999993 12.9000000000000004
1779 Lamb, chop, fully-trimmed, boiled, casseroled, microwaved, poached, steamed or stewed, no added fat 917 0 30.8000000000000007 10.5999999999999996
1780 Lamb, chop, fully-trimmed, coated, baked, roasted, fried, grilled or BBQd, fat not further defined 1226 0.5 24.6999999999999993 15.4000000000000004
1781 Lamb, chop, fully-trimmed, raw, not further defined 733 0 24.6000000000000014 8.5
1782 Lamb, chop, semi-trimmed, baked, roasted, fried, grilled or BBQd, canola oil 1136 0 28.1000000000000014 17.8000000000000007
1783 Lamb, chop, semi-trimmed, baked, roasted, fried, grilled or BBQd, fat not further defined 1135 0 28.1000000000000014 17.8000000000000007
1784 Lamb, chop, semi-trimmed, baked, roasted, fried, grilled or BBQd, no added fat 1067 0 28.6000000000000014 15.6999999999999993
1785 Lamb, chop, semi-trimmed, baked, roasted, fried, grilled or BBQd, olive oil 1136 0 28.1000000000000014 17.8000000000000007
1786 Lamb, chop, semi-trimmed, baked, roasted, fried, grilled or BBQd, other oil 1136 0 28.1000000000000014 17.8000000000000007
1787 Lamb, chop, semi-trimmed, boiled, casseroled, microwaved, poached, steamed or stewed, fat not further defined 1163 0 28.8000000000000007 18.1999999999999993
1788 Lamb, chop, semi-trimmed, boiled, casseroled, microwaved, poached, steamed or stewed, no added fat 1094 0 29.3000000000000007 16.1000000000000014
1789 Lamb, chop, semi-trimmed, coated, baked, roasted, fried, grilled or BBQd, fat not further defined 1350 0.5 23.6999999999999993 19.1999999999999993
1790 Lamb, chop, semi-trimmed, raw, not further defined 875 0 23.5 12.9000000000000004
1791 Lamb, chop, untrimmed, baked, roasted, fried, grilled or BBQd, canola oil 1517 0 24.3999999999999986 29.8000000000000007
1792 Lamb, chop, untrimmed, baked, roasted, fried, grilled or BBQd, fat not further defined 1516 0 24.3999999999999986 29.8000000000000007
1793 Lamb, chop, untrimmed, baked, roasted, fried, grilled or BBQd, no added fat 1456 0 24.8999999999999986 27.8999999999999986
1794 Lamb, chop, untrimmed, baked, roasted, fried, grilled or BBQd, olive oil 1517 0 24.3999999999999986 29.8000000000000007
1795 Lamb, chop, untrimmed, baked, roasted, fried, grilled or BBQd, other oil 1517 0 24.3999999999999986 29.8000000000000007
1796 Lamb, chop, untrimmed, coated, baked, roasted, fried, grilled or BBQd, with or without added fat 1469 0.599999999999999978 22.1000000000000014 22.8000000000000007
1797 Lamb, chop, untrimmed, raw, not further defined 1194 0 20.3999999999999986 22.8999999999999986
1798 Lamb, chump chop, fully-trimmed, baked, roasted, fried, grilled or BBQd, no added fat 1063 0 32.6000000000000014 13.6999999999999993
1799 Lamb, chump chop, fully-trimmed, raw 719 0 21.3000000000000007 9.59999999999999964
1800 Lamb, chump chop, semi-trimmed, baked, roasted, fried, grilled or BBQd, fat not further defined 988 0 25.1999999999999993 15.0999999999999996
1801 Lamb, chump chop, semi-trimmed, baked, roasted, fried, grilled or BBQd, no added fat 1132 0 31.6999999999999993 16
1802 Lamb, chump chop, semi-trimmed, raw 753 0 21.1000000000000014 10.5999999999999996
1803 Lamb, chump chop, separable lean, grilled or BBQd, no added fat 957 0 34.1000000000000014 10.1999999999999993
1804 Lamb, chump chop, separable lean, raw 542 0 22.5 4.29999999999999982
2117 Meringue, all flavours, commercial 1538 89.4000000000000057 2.60000000000000009 1.39999999999999991
1805 Lamb, chump chop, untrimmed, baked, roasted, fried, grilled or BBQd, fat not further defined 1261 0 23.3999999999999986 23.3000000000000007
1806 Lamb, chump chop, untrimmed, baked, roasted, fried, grilled or BBQd, no added fat 1251 0 30 20
1807 Lamb, chump chop, untrimmed, raw 981 0 19.6000000000000014 17.5
1808 Lamb, diced, fully-trimmed, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 784 0 31.1999999999999993 6.90000000000000036
1809 Lamb, diced, fully-trimmed, boiled, casseroled, microwaved, poached, steamed or stewed, fat not further defined 785 0 26 9.30000000000000071
1810 Lamb, diced, fully-trimmed, boiled, casseroled, microwaved, poached, steamed or stewed, no added fat 709 0 26.5 7
1811 Lamb, diced, fully-trimmed, raw 567 0 21.1999999999999993 5.59999999999999964
1812 Lamb, diced, separable lean, fried or stir-fried, no added fat 773 0 31.3000000000000007 6.5
1813 Lamb, diced, separable lean, raw 554 0 21.3000000000000007 5.20000000000000018
1814 Lamb, diced, untrimmed, baked, roasted, fried or stir-fried, grilled or BBQd, no added fat 806 0 31 7.59999999999999964
1815 Lamb, diced, untrimmed, raw 588 0 21.1000000000000014 6.20000000000000018
1816 Lamb, drumstick, fully-trimmed, baked, roasted, fried, grilled or BBQd, no added fat 986 0 27.1999999999999993 14.0999999999999996
1817 Lamb, drumstick, separable lean, grilled or BBQd, no added fat 898 0 28 11.4000000000000004
1818 Lamb, drumstick, separable lean, raw 559 0 20.5 5.70000000000000018
1819 Lamb, drumstick, untrimmed, baked, roasted, fried, grilled or BBQd, no added fat 1053 0 26.6000000000000014 16.1999999999999993
1820 Lamb, easy carve leg roast, fully-trimmed, baked or roasted, no added fat 833 0 29.6999999999999993 8.80000000000000071
1821 Lamb, easy carve leg roast, fully-trimmed, raw 587 0 20.5 6.5
1822 Lamb, easy carve leg roast, semi-trimmed, baked or roasted, no added fat 840 0 29.6999999999999993 9.09999999999999964
1823 Lamb, easy carve leg roast, semi-trimmed, raw 618 0 20.3000000000000007 7.40000000000000036
1824 Lamb, easy carve leg roast, separable lean, baked or roasted, no added fat 742 0 30.6000000000000014 6
1825 Lamb, easy carve leg roast, separable lean, raw 477 0 21.1000000000000014 3.20000000000000018
1826 Lamb, easy carve leg roast, untrimmed, baked or roasted, no added fat 955 0 28.6000000000000014 12.6999999999999993
1827 Lamb, easy carve leg roast, untrimmed, raw 786 0 19.3999999999999986 12.3000000000000007
1828 Lamb, easy carve shoulder, fully-trimmed, baked or roasted, no added fat 796 0 28.8000000000000007 8.30000000000000071
1829 Lamb, easy carve shoulder, fully-trimmed, raw 635 0 17.5 9.09999999999999964
1830 Lamb, easy carve shoulder, semi-trimmed, baked or roasted, no added fat 859 0 28.3000000000000007 10.1999999999999993
1831 Lamb, easy carve shoulder, semi-trimmed, breadcrumb coating, baked or roasted, no added fat 1015 0.599999999999999978 19.3000000000000007 11.6999999999999993
1832 Lamb, easy carve shoulder, semi-trimmed, raw 695 0 17.3000000000000007 10.9000000000000004
1833 Lamb, easy carve shoulder, separable lean, baked or roasted, no added fat 703 0 29.6000000000000014 5.40000000000000036
1834 Lamb, easy carve shoulder, separable lean, raw 468 0 18.1999999999999993 4.29999999999999982
1835 Lamb, easy carve shoulder, untrimmed, baked or roasted, no added fat 1095 0 26.1999999999999993 17.5
1836 Lamb, easy carve shoulder, untrimmed, raw 894 0 16.5 16.6000000000000014
1837 Lamb, eye of loin, separable lean, grilled or BBQd, no added fat 843 0 29.8000000000000007 9.09999999999999964
1838 Lamb, eye of loin, separable lean, raw 671 0 28.6000000000000014 5
1839 Lamb, fillet or tenderloin, fully-trimmed, baked, roasted, fried, stir-fried, grilled or BBQd, fat not further defined 668 0 23.6999999999999993 7.20000000000000018
1840 Lamb, fillet or tenderloin, fully-trimmed, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 671 0 27.5 5.5
1841 Lamb, fillet or tenderloin, fully-trimmed, raw 485 0 19.8000000000000007 4
1842 Lamb, forequarter chop, fully-trimmed, baked, roasted, fried, grilled or BBQd, no added fat 1060 0 26.6000000000000014 16.3999999999999986
1843 Lamb, forequarter chop, fully-trimmed, raw 733 0 19.5 10.8000000000000007
1844 Lamb, forequarter chop, semi-trimmed, baked, roasted, fried, grilled or BBQd, fat not further defined 1250 0 21.8000000000000007 23.8000000000000007
1845 Lamb, forequarter chop, semi-trimmed, baked, roasted, fried, grilled or BBQd, no added fat 1108 0 26.1999999999999993 17.8999999999999986
1846 Lamb, forequarter chop, semi-trimmed, boiled, casseroled, microwaved, poached, steamed or stewed, with or without added fat 1248 0 22.6000000000000014 23.3999999999999986
1847 Lamb, forequarter chop, semi-trimmed, raw 971 0 18.1999999999999993 17.8999999999999986
1848 Lamb, forequarter chop, separable lean, grilled or BBQd, no added fat 898 0 28 11.4000000000000004
1849 Lamb, forequarter chop, separable lean, raw 559 0 20.5 5.70000000000000018
1850 Lamb, forequarter chop, untrimmed, baked, roasted, fried, grilled or BBQd, fat not further defined 1434 0 20.8000000000000007 29.1999999999999993
1851 Lamb, forequarter chop, untrimmed, baked, roasted, fried, grilled or BBQd, no added fat 1173 0 25.6000000000000014 19.8999999999999986
1852 Lamb, forequarter chop, untrimmed, raw 1126 0 17.3999999999999986 22.3999999999999986
1853 Lamb, forequarter (easy carve shoulder, forequarter chop), separable fat, grilled or BBQd, no added fat 2251 0 16.1999999999999993 53.3999999999999986
1854 Lamb, forequarter (easy carve shoulder, forequarter chop), separable fat, raw 2315 0 10.8000000000000007 57.6000000000000014
1855 Lamb, for use in kebabs, cooked 1010 0.800000000000000044 20.6000000000000014 17.1999999999999993
1856 Lamb, frenched cutlet/rack, fully-trimmed, baked, roasted, fried, grilled or BBQd, fat not further defined 870 0 24.5 12.3000000000000007
1857 Lamb, frenched cutlet/rack, fully-trimmed, baked, roasted, fried, grilled or BBQd, no added fat 879 0 30.1000000000000014 9.90000000000000036
1858 Lamb, frenched cutlet/rack, fully-trimmed, boiled, casseroled, microwaved, poached, steamed, or stewed, with or without added fat 855 0 25.3999999999999986 11.4000000000000004
1859 Lamb, frenched cutlet/rack, fully-trimmed, breadcrumb coating, baked, roasted, fried, grilled or BBQd, fat not further defined 1161 0.5 21.1000000000000014 15.1999999999999993
1860 Lamb, frenched cutlet/rack, fully-trimmed, breadcrumb coating, baked, roasted, fried, grilled or BBQd, no added fat 977 0.599999999999999978 22.3000000000000007 9.30000000000000071
1861 Lamb, frenched cutlet/rack, fully-trimmed, raw 654 0 20.5 8.30000000000000071
1862 Lamb, frenched cutlet/rack, semi-trimmed, baked, roasted, fried, grilled or BBQd, fat not further defined 1152 0 22.8000000000000007 20.6000000000000014
1863 Lamb, frenched cutlet/rack, semi-trimmed, baked, roasted, fried, grilled or BBQd, no added fat 1107 0 27.8000000000000007 17.1000000000000014
1864 Lamb, frenched cutlet/rack, semi-trimmed, breadcrumb coating, baked, roasted, fried, grilled or BBQd, fat not further defined 1367 0.5 19.8999999999999986 21.3000000000000007
1865 Lamb, frenched cutlet/rack, semi-trimmed, raw 890 0 19.1000000000000014 15.3000000000000007
1866 Lamb, frenched cutlet/rack, separable lean, grilled or BBQd, no added fat 837 0 30.5 8.59999999999999964
1867 Lamb, frenched cutlet/rack, separable lean, raw 585 0 20.8999999999999986 6.20000000000000018
1868 Lamb, frenched cutlet/rack, untrimmed, baked, roasted, fried, grilled or BBQd, fat not further defined 1256 0 22.1999999999999993 23.6999999999999993
1869 Lamb, frenched cutlet/rack, untrimmed, baked, roasted, fried, grilled or BBQd, no added fat 1163 0 27.1999999999999993 18.8999999999999986
1870 Lamb, frenched cutlet/rack, untrimmed, raw 977 0 18.6000000000000014 17.8000000000000007
1871 Lamb, heart, baked or roasted, no added fat 770 0 28.1000000000000014 7.90000000000000036
1872 Lamb, heart, raw 510 0 17.8000000000000007 5.59999999999999964
1873 Lamb, intestine, simmered or boiled, no added fat 348 0 14.4000000000000004 2.79999999999999982
1874 Lamb, kebab, baked, roasted, fried, grilled or BBQd, no added fat, no added marinade 691 0 25.8999999999999986 6.79999999999999982
1875 Lamb, kebab, marinated, baked, roasted, fried, grilled or BBQd, fat not further defined 1110 3.79999999999999982 25.3999999999999986 16.3000000000000007
1876 Lamb, kidney, raw 383 0 17.1000000000000014 2.5
1877 Lamb, kidney, simmered or boiled, no added fat 611 0 26.6000000000000014 4.29999999999999982
1878 Lamb, leg (leg roast, mini roast, chump chop), separable fat, baked or roasted, no added fat 2251 0 16.1999999999999993 53.3999999999999986
1879 Lamb, leg (leg roast, mini roast, chump chop), separable fat, raw 2315 0 10.8000000000000007 57.6000000000000014
1880 Lamb, leg roast, fully-trimmed, baked or roasted, no added fat 833 0 29.6999999999999993 8.80000000000000071
1881 Lamb, leg roast, fully-trimmed, raw 587 0 20.5 6.5
1882 Lamb, leg roast, semi-trimmed, baked or roasted, no added fat 840 0 29.6999999999999993 9.09999999999999964
1883 Lamb, leg roast, semi-trimmed, raw 604 0 20.3999999999999986 7
1884 Lamb, leg roast, separable lean, baked or roasted, no added fat 742 0 30.6000000000000014 6
1885 Lamb, leg roast, separable lean, raw 477 0 21.1000000000000014 3.20000000000000018
1886 Lamb, leg roast, untrimmed, baked or roasted, no added fat 958 0 28.5 12.8000000000000007
1887 Lamb, leg roast, untrimmed, raw 786 0 19.3999999999999986 12.3000000000000007
1888 Lamb, liver, fried, grilled or BBQd, fat not further defined 902 0 25.6000000000000014 11.4000000000000004
1889 Lamb, liver, fried, grilled or BBQd, no added fat 1012 0 26.5 13.6999999999999993
1890 Lamb, liver, raw 680 0 21.3999999999999986 7.5
1891 Lamb, loin chop, fully-trimmed, baked, roasted, fried, grilled or BBQd, no added fat 914 0 29.1000000000000014 11.3000000000000007
1892 Lamb, loin chop, fully-trimmed, raw 737 0 27.8999999999999986 7.09999999999999964
1893 Lamb, loin chop, semi-trimmed, baked, roasted, fried, grilled or BBQd, fat not further defined 1112 0 31.8000000000000007 15.4000000000000004
1894 Lamb, loin chop, semi-trimmed, baked, roasted, fried, grilled or BBQd, no added fat 953 0 28.6999999999999993 12.5999999999999996
1895 Lamb, loin chop, semi-trimmed, raw 856 0 26.6000000000000014 10.9000000000000004
1896 Lamb, loin chop, separable lean, grilled or BBQd, no added fat 843 0 29.8000000000000007 9.09999999999999964
1897 Lamb, loin chop, separable lean, raw 671 0 28.6000000000000014 5
1898 Lamb, loin chop, untrimmed, baked, roasted, fried, grilled or BBQd, fat not further defined 1614 0 26.3999999999999986 31.5
1899 Lamb, loin chop, untrimmed, baked, roasted, fried, grilled or BBQd, no added fat 1154 0 26.8000000000000007 18.8999999999999986
1900 Lamb, loin chop, untrimmed, raw 1276 0 22 24.3999999999999986
1901 Lamb, loin, separable fat, grilled or BBQd, no added fat 2251 0 16.1999999999999993 53.3999999999999986
1902 Lamb, loin, separable fat, raw 2315 0 10.8000000000000007 57.6000000000000014
1903 Lamb, mince, baked, roasted, fried, stir-fried, grilled or BBQd, fat not further defined 961 0 29 12.5999999999999996
1904 Lamb, mince, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 729 0 24.3999999999999986 8.5
1905 Lamb, mince, raw 602 0 20.3999999999999986 6.90000000000000036
1906 Lamb, mini roast, fully-trimmed, baked or roasted, no added fat 696 0 27.6999999999999993 6.09999999999999964
1907 Lamb, mini roast, fully-trimmed, raw 582 0 21.6999999999999993 5.79999999999999982
1908 Lamb, mini roast, semi-trimmed, baked or roasted, no added fat 779 0 27.1000000000000014 8.59999999999999964
1909 Lamb, mini roast, semi-trimmed, raw 662 0 21.1999999999999993 8.19999999999999929
1910 Lamb, mini roast, separable lean, baked or roasted, no added fat 680 0 27.8000000000000007 5.59999999999999964
1911 Lamb, mini roast, separable lean, raw 546 0 21.8999999999999986 4.70000000000000018
1912 Lamb, mini roast, untrimmed, baked or roasted, no added fat 858 0 26.5 11
1913 Lamb, mini roast, untrimmed, raw 782 0 20.3999999999999986 11.8000000000000007
1914 Lamb, rib, cooked, with or without added fat 1309 0.699999999999999956 24.8000000000000007 23.5
1915 Lamb, roasting cuts, fully-trimmed, baked or roasted, no added fat 802 0 29.1999999999999993 8.30000000000000071
1916 Lamb, roasting cuts, fully-trimmed, boiled, casseroled, microwaved, poached, steamed or stewed, no added fat 760 0 26.1000000000000014 8.5
1917 Lamb, roasting cuts, fully-trimmed, raw 608 0 20.8999999999999986 6.79999999999999982
1918 Lamb, roasting cuts, semi-trimmed, baked or roasted, no added fat 909 0 28.1999999999999993 11.5999999999999996
1919 Lamb, roasting cuts, semi-trimmed, raw 723 0 20.1999999999999993 10.3000000000000007
1920 Lamb, roasting cuts, untrimmed, baked or roasted, no added fat 1035 0 23.6999999999999993 17.1000000000000014
1921 Lamb, roasting cuts, untrimmed, boiled, casseroled, microwaved, poached, steamed or stewed, no added fat 1060 0 24.3000000000000007 17.5
1922 Lamb, roasting cuts, untrimmed, raw 848 0 19.5 14
1923 Lamb, rump, separable lean, grilled or BBQd, no added fat 957 0 34.1000000000000014 10.1999999999999993
1924 Lamb, rump, separable lean, raw 542 0 22.5 4.29999999999999982
1925 Lamb, shank, fully-trimmed, baked, roasted, fried, grilled or BBQd, fat not further defined 925 0 23.6000000000000014 14.1999999999999993
1926 Lamb, shank, fully-trimmed, baked, roasted, fried, grilled or BBQd, no added fat 853 0 24.1000000000000014 12
1927 Lamb, shank, fully-trimmed, boiled, casseroled, microwaved, poached, steamed, or stewed, with or without added fat 911 0 24.3999999999999986 13.4000000000000004
1928 Lamb, shank, fully-trimmed, raw 700 0 19.6999999999999993 9.90000000000000036
1929 Lamb, shank, semi-trimmed, baked, roasted, fried, grilled or BBQd, no added fat 1068 0 22.8999999999999986 18.3000000000000007
1930 Lamb, shank, semi-trimmed, boiled, casseroled, microwaved, poached, steamed or stewed, fat not further defined 1163 0 23 20.8999999999999986
1931 Lamb, shank, semi-trimmed, boiled, casseroled, microwaved, poached, steamed or stewed, no added fat 1094 0 23.3999999999999986 18.8000000000000007
1932 Lamb, shank, semi-trimmed, raw 875 0 18.8000000000000007 15
1933 Lamb, shank, untrimmed, baked, roasted, fried, grilled or BBQd, fat not further defined 1347 0 21.1999999999999993 26.6000000000000014
1934 Lamb, shank, untrimmed, boiled, casseroled, microwaved, poached, steamed or stewed, fat not further defined 1381 0 21.8000000000000007 27.3000000000000007
1935 Lamb, shank, untrimmed, boiled, casseroled, microwaved, poached, steamed, or stewed, no added fat 1316 0 22.1999999999999993 25.3999999999999986
1936 Lamb, shank, untrimmed, raw 1053 0 17.8000000000000007 20.3000000000000007
1937 Lamb, steak, fully-trimmed, baked, roasted, fried, grilled or BBQd, fat not further defined 784 0 25.8999999999999986 9.30000000000000071
1938 Lamb, steak, fully-trimmed, baked, roasted, fried, grilled or BBQd, no added fat 696 0 27.6999999999999993 6.09999999999999964
1939 Lamb, steak, fully-trimmed, raw 582 0 21.6999999999999993 5.79999999999999982
1940 Lamb, steak, semi-trimmed, baked, roasted, fried, grilled or BBQd, no added fat 779 0 27.1000000000000014 8.59999999999999964
1941 Lamb, steak, semi-trimmed, raw 662 0 21.1999999999999993 8.19999999999999929
1942 Lamb, steak, separable lean, baked or roasted, no added fat 680 0 27.8000000000000007 5.59999999999999964
1943 Lamb, steak, separable lean, raw 546 0 21.8999999999999986 4.70000000000000018
1944 Lamb, steak, untrimmed, baked, roasted, fried, grilled or BBQd, no added fat 858 0 26.5 11
1945 Lamb, steak, untrimmed, raw 782 0 20.3999999999999986 11.8000000000000007
1946 Lamb, stir-fry cuts, fully-trimmed, cooked, no added fat 720 0 27.8000000000000007 6.70000000000000018
1947 Lamb, stir-fry cuts, fully-trimmed, raw 569 0 21.6999999999999993 5.40000000000000036
1948 Lamb, stir-fry strips, fully-trimmed, baked, roasted, fried, stir-fried, grilled or BBQd, fat not further defined 739 0 26.1000000000000014 8
1949 Lamb, stir-fry strips, fully-trimmed, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 770 0 28 7.90000000000000036
1950 Lamb, stir-fry strips, fully-trimmed, boiled, casseroled, microwaved, poached, steamed or stewed, with or without added fat 718 0 27 7
1951 Lamb, stir-fry strips, fully-trimmed, raw 544 0 21.8000000000000007 4.70000000000000018
1952 Lamb, stir-fry strips, separable lean, fried or stir fried, no added fat 763 0 28.1000000000000014 7.70000000000000018
1953 Lamb, stir-fry strips, separable lean, raw 528 0 21.8999999999999986 4.20000000000000018
1954 Lamb, stir-fry strips, untrimmed, baked, roasted, fried, stir-fried, grilled or BBQd, fat not further defined 779 0 25.8000000000000007 9.19999999999999929
1955 Lamb, stir-fry strips, untrimmed, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 781 0 28 8.30000000000000071
1956 Lamb, stir-fry strips, untrimmed, raw 578 0 21.6000000000000014 5.70000000000000018
1957 Lamb, tongue, raw 834 0 15.3000000000000007 15.5
1958 Lamb, tongue, simmered or boiled, no added fat 1158 0 23.6999999999999993 20.3999999999999986
1959 Lard 3703 0 0.200000000000000011 100
1960 Lecithin, soy, granules 2620 4.40000000000000036 6 62.3999999999999986
1961 Leek, baked, roasted, fried, stir-fried, grilled or BBQd, fat not further defined 375 4.20000000000000018 2.39999999999999991 6.40000000000000036
1962 Leek, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 164 4.5 2.5 0.5
1963 Leek, boiled, casseroled, microwaved, poached, steamed or stewed, added fat not further defined 329 3.89999999999999991 2.20000000000000018 5.40000000000000036
1964 Leek, boiled, microwaved or steamed, drained 151 4.09999999999999964 2.29999999999999982 0.400000000000000022
1965 Leek, raw 136 3.70000000000000018 2.10000000000000009 0.400000000000000022
1966 Legumes, mixed, for use in homemade soup recipes 416 1.39999999999999991 6.5 0.900000000000000022
1967 Lemon butter, homemade 1260 43.1000000000000014 2.79999999999999982 13.5999999999999996
1968 Lemon, peeled, raw 115 1.80000000000000004 0.599999999999999978 0.200000000000000011
1969 Lemon peel, raw 121 0 1.5 0.299999999999999989
1970 Lemon, preserved 93 1.19999999999999996 0.599999999999999978 0.200000000000000011
1971 Lentil, dried 1468 2.20000000000000018 24.6999999999999993 2
1972 Lentil, dried, cooked 354 0.5 6.79999999999999982 0.400000000000000022
1973 Lentil, green or brown, cooked 595 0.900000000000000022 10 0.800000000000000044
1974 Lentil, green or brown, dried 1439 2.20000000000000018 24.1999999999999993 2
1975 Lentil, red, cooked 458 0.699999999999999956 7.70000000000000018 0.599999999999999978
1976 Lentil, red, dried 1498 2.20000000000000018 25.3000000000000007 2
1977 Lettuce, baked, roasted, fried, stir-fried, grilled or BBQd, with or without added fat 89 1.69999999999999996 1.69999999999999996 0.299999999999999989
1978 Lettuce, boiled, casseroled, microwaved, poached, steamed or stewed, with or without added fat 73 1.39999999999999991 1.39999999999999991 0.299999999999999989
1979 Lettuce, cos, raw 80 1.80000000000000004 1.39999999999999991 0.299999999999999989
1980 Lettuce, iceberg, raw 38 0.400000000000000022 0.900000000000000022 0.100000000000000006
1981 Lettuce, mignonette, raw 64 1.10000000000000009 1.30000000000000004 0.299999999999999989
1982 Lettuce, raw, not further defined 62 1.19999999999999996 1.19999999999999996 0.200000000000000011
1983 Licorice, allsorts 1498 74.7000000000000028 1.89999999999999991 0.299999999999999989
1984 Licorice, black 1345 36.7999999999999972 4.90000000000000036 0.800000000000000044
1985 Licorice, chocolate-coated 1604 42.1000000000000014 5.70000000000000018 9.69999999999999929
1986 Licorice, flavoured 1345 36.7999999999999972 4.90000000000000036 0.800000000000000044
1987 Lime, native, fruit 137 0.400000000000000022 0.100000000000000006 2.70000000000000018
1988 Lime, peeled, raw 122 1.19999999999999996 0.800000000000000044 0.200000000000000011
1989 Ling, baked, roasted, fried, grilled or BBQd, no added fat 475 0 26 0.900000000000000022
1990 Ling, baked, roasted, grilled, BBQd, fried or deep fried, fat not further defined 700 0 24.6999999999999993 7.59999999999999964
1991 Ling, coated, baked, roasted, grilled, BBQd, fried or deep fried, fat not further defined 783 0.400000000000000022 20.3999999999999986 8.69999999999999929
1992 Ling, raw 346 0 19 0.599999999999999978
1993 Liqueur, 25% v/v alcohol, not cream based 646 3.70000000000000018 0 0
1994 Liqueur, advocaat 1016 24.3999999999999986 4.20000000000000018 5.79999999999999982
2187 Milk, powder, goat, regular fat 2048 36.5 27.3000000000000007 27.1000000000000014
1995 Liqueur, cream-based, coffee flavour 1363 20.8000000000000007 2.79999999999999982 15.6999999999999993
1996 Liqueur, cream-based, non-coffee flavours 1379 21.3999999999999986 2.89999999999999991 16.1999999999999993
1997 Lobster or crayfish, flesh, coated, fried or deep-fried, fat not further defined 949 0 15.3000000000000007 13.0999999999999996
1998 Lobster or crayfish, flesh, purchased steamed, poached or boiled, no added fat 407 0 22 0.900000000000000022
1999 Loquat, peeled, raw 122 4.90000000000000036 1 0.200000000000000011
2000 Lychee, peeled, canned 283 15.4000000000000004 0.599999999999999978 0
2001 Lychee, peeled, raw 296 16.1999999999999993 1.10000000000000009 0.100000000000000006
2002 Macaroni & cheese, homemade, cooked unfilled pasta, homemade cheese sauce 645 0.900000000000000022 5.5 5.29999999999999982
2003 Mackerel, baked, roasted, fried, grilled or BBQd, no added fat 768 0 26.3999999999999986 8.59999999999999964
2004 Mackerel, baked, roasted, grilled, BBQd, fried or deep fried, fat not further defined 895 0 25.6000000000000014 12.4000000000000004
2005 Mackerel, canned 1063 2.89999999999999991 19.1999999999999993 18.6000000000000014
2006 Mackerel, coated, takeaway outlet, deep fried 1107 0.100000000000000006 18.1999999999999993 18.8000000000000007
2007 Mackerel, raw 561 0 19.3000000000000007 6.29999999999999982
2008 Maltodextrin 1700 0 0 0
2009 Mandarin, canned in natural juice 222 11.5999999999999996 0.5 0.100000000000000006
2010 Mandarin, canned in syrup 241 13.4000000000000004 0.400000000000000022 0.100000000000000006
2011 Mandarin, canned in syrup, drained 254 13.5999999999999996 0.5 0.200000000000000011
2012 Mandarin, canned in syrup, syrup only 223 13.1999999999999993 0.200000000000000011 0
2013 Mandarin, peeled, raw 165 7.79999999999999982 0.800000000000000044 0.200000000000000011
2014 Mango, peeled, raw 249 12.0999999999999996 1 0.200000000000000011
2015 Mango, pulped, canned 270 13.5999999999999996 1 0.200000000000000011
2016 Margarine, cooking 2983 0.800000000000000044 0.599999999999999978 80
2017 Margarine spread, monounsaturated (65% fat) 2445 0 0.299999999999999989 65.9000000000000057
2018 Margarine spread, monounsaturated (65% fat), reduced salt (sodium = 300 mg/100 g) 2565 0 1 68.9000000000000057
2019 Margarine spread, monounsaturated (65% fat), reduced salt (sodium = 360mg/100 g) 2565 0 1 68.9000000000000057
2020 Margarine spread, monounsaturated (70%), reduced salt (sodium = 350 mg/100 g), added phytosterols 2820 0 0.699999999999999956 75.9000000000000057
2021 Margarine spread, monounsaturated (80% fat), rice bran oil, unfortified 3003 0 0.299999999999999989 81
2022 Margarine spread, monounsaturated, not further defined 2306 0 0.800000000000000044 62
2023 Margarine spread, monounsaturated or polyunsaturated, not further defined 2272 0 0.699999999999999956 61.1000000000000014
2024 Margarine spread, monounsaturated or polyunsaturated, reduced fat (<50% fat), not further defined 1661 0 0.900000000000000022 44.5
2025 Margarine spread, monounsaturated or polyunsaturated, reduced fat (<50% fat), regular salt 1830 0 1 49
2026 Margarine spread, monounsaturated or polyunsaturated, reduced fat (<50% fat) & salt (sodium ~360 mg) 1648 0 0.900000000000000022 44.1000000000000014
2027 Margarine spread, monounsaturated or polyunsaturated, reduced salt, not further defined 2225 0 0.900000000000000022 59.7000000000000028
2028 Margarine spread, monounsaturated or polyunsaturated, regular fat (>50% fat), not further defined 2492 0 0.599999999999999978 67.0999999999999943
2029 Margarine spread, monounsaturated or polyunsaturated, regular fat (>50% fat) & reduced salt (sodium <360 mg) 2546 0 0.900000000000000022 68.4000000000000057
2030 Margarine spread, monounsaturated or polyunsaturated, regular fat (>50% fat) & salt 2485 0 0.200000000000000011 67.0999999999999943
2031 Margarine spread, monounsaturated or polyunsaturated, regular salt, not further defined 2448 0 0.299999999999999989 66
2032 Margarine spread, monounsaturated, reduced fat (25% fat) & salt (sodium = 350 mg/100 g), added vitamin E & phytosterols 862 0 0.699999999999999956 23
2033 Margarine spread, monounsaturated, reduced fat (30% fat) & salt (sodium = 350 mg/100 g) 1164 0 1 31
2034 Margarine spread, monounsaturated, reduced fat (45% fat) & salt (sodium = 350 mg/100 g), added phytosterols 1750 0 0.699999999999999956 47
2035 Margarine spread, monounsaturated, reduced fat (50% fat) 1830 0 1 49
2036 Margarine spread, monounsaturated, reduced fat (<50% fat), not further defined 1718 0 0.900000000000000022 46
2037 Margarine spread, monounsaturated, reduced fat (<50% fat) & reduced salt (sodium ~360 mg) 1702 0 0.900000000000000022 45.6000000000000014
2038 Margarine spread, monounsaturated, reduced fat (50% fat) & salt (sodium = 350 mg/100 g) 1830 0 1 49
2039 Margarine spread, monounsaturated, reduced fat (50% fat) & salt (sodium = 350 mg/100 g), no added milk 1924 0 0 52
2040 Margarine spread, monounsaturated, reduced fat (50% fat) & salt (sodium = 465 mg/100 g) 1867 0 1 50
2041 Margarine spread, monounsaturated, reduced fat (60% fat), no added salt or milk 2237 0 1 60
2042 Margarine spread, monounsaturated, regular (>65% fat), not further defined 2473 0 0.699999999999999956 66.5
2043 Margarine spread, monounsaturated, regular (>65% fat) & reduced salt (sodium <360 mg) 2558 0 1 68.7000000000000028
2044 Margarine spread, olive oil blend (50% fat), reduced salt (sodium = 360 mg/100 g), added phytosterols 1793 0 1 48
2045 Margarine spread, olive oil blend (55% fat), reduced salt (sodium = 350mg/100 g) 2052 0 1 55
2046 Margarine spread, olive oil blend, (65% fat), reduced salt (sodium = 340 mg/100 g), no added milk, added vitamin E 2405 0 0 65
2047 Margarine spread, olive oil blend (65% fat), reduced salt (sodium = 360mg/100 g) 2422 0 1 65
2048 Margarine spread, polyunsaturated (60% fat), reduced salt (Na=340 mg/100 g), no added milk, added vitamin E & phytosterols 2183 0 0 59
2049 Margarine spread, polyunsaturated (65% fat), reduced salt (sodium = 360 mg/100 g), added phytosterols 2422 0 1 65
2050 Margarine spread, polyunsaturated (70% fat) 2552 0 0 69
2051 Margarine spread, polyunsaturated (70% fat), reduced salt (sodium = 280 mg/100g) 2636 0 1 70.7999999999999972
2052 Margarine spread, polyunsaturated (70% fat), reduced salt (sodium = 340 mg/100 g), no added milk, added vitamin E 2590 0 0 70
2053 Margarine spread, polyunsaturated, not further defined 2210 0 0.5 59.5
2118 Meringue, plain, homemade from basic ingredients 1510 89.0999999999999943 5 0
2054 Margarine spread, polyunsaturated, reduced fat (25% fat) & salt (sodium = 360 mg/100 g) 890 0 1 23.6000000000000014
2055 Margarine spread, polyunsaturated, reduced fat (~25% fat) & salt (sodium = 360 mg/100 g), added phytosterols 857 0 1 22.6999999999999993
2056 Margarine spread, polyunsaturated, reduced fat (40% fat), no added salt or milk 1462 0 0 39.5
2057 Margarine spread, polyunsaturated, reduced fat (~40% fat) & salt (sodium = 360 mg/100 g), added phytosterols 1534 0 1 41
2058 Margarine spread, polyunsaturated, reduced fat (50% fat) & salt (sodium = 340 mg/100 g), no added milk, added vitamin E 1813 0 0 49
2059 Margarine spread, polyunsaturated, reduced fat (50% fat) & salt (sodium = 360 mg/100 g) 1756 0 1 47
2060 Margarine spread, polyunsaturated, reduced fat (<50% fat) & salt (sodium <360 mg) 1594 0 0.800000000000000044 42.7000000000000028
2061 Margarine spread, polyunsaturated, reduced fat (60% fat), sodium = 790 mg/100 g 2126 0 1 57
2062 Margarine spread, polyunsaturated, regular (>50% fat), not further defined 2532 0 0.299999999999999989 68.2999999999999972
2063 Margarine spread, polyunsaturated, regular (>50% fat) & reduced salt (sodium <360 mg) 2518 0 0.599999999999999978 67.7999999999999972
2064 Marmalade, cumquat (kumquat), regular 1061 65.4000000000000057 0.100000000000000006 0
2065 Marmalade, ginger, reduced sugar 593 27.8999999999999986 0.100000000000000006 0.100000000000000006
2066 Marmalade, ginger, regular 1037 55.7000000000000028 0.100000000000000006 0.100000000000000006
2067 Marmalade, lime or lemon, reduced sugar 580 32.2999999999999972 0.599999999999999978 0.200000000000000011
2068 Marmalade, lime or lemon, regular 1061 65.4000000000000057 0.100000000000000006 0
2069 Marmalade, orange, no added sugar (100% fruit) 782 44.8999999999999986 1.30000000000000004 0.299999999999999989
2070 Marmalade, orange, reduced sugar 602 34.6000000000000014 0.699999999999999956 0.100000000000000006
2071 Marmalade, orange, regular 1061 65.4000000000000057 0.100000000000000006 0
2072 Marmalade, regular, not further defined 1058 64.2000000000000028 0.100000000000000006 0
2073 Marshmallow, plain or flavoured 1374 62 3.89999999999999991 0
2074 Marzipan, almond paste, added sugar 1717 54.1000000000000014 7.40000000000000036 18.1000000000000014
2075 Mayonnaise, commercial, 97% fat free 534 21 0.900000000000000022 2.70000000000000018
2076 Mayonnaise, commercial, low fat 557 16.1000000000000014 0.699999999999999956 5.29999999999999982
2077 Mayonnaise, commercial, not further defined 2383 6.5 0.900000000000000022 60.2999999999999972
2078 Mayonnaise, commercial, reduced fat 1187 18.6000000000000014 0.5 21.1999999999999993
2079 Mayonnaise, commercial, regular fat 2911 2.5 0.900000000000000022 76.7000000000000028
2080 Mayonnaise, homemade 3216 0.100000000000000006 2.10000000000000009 85.7000000000000028
2081 Mayonnaise, soybean oil, homemade 3216 0.100000000000000006 2.10000000000000009 85.7000000000000028
2082 Meatball or rissole, beef, commercial, cooked 1022 1.89999999999999991 25 11.6999999999999993
2083 Meatball or rissole, beef mince, >10% fat, homemade, raw 718 0.900000000000000022 18.3000000000000007 8.40000000000000036
2084 Meatball or rissole, beef mince, ~5-10% fat, homemade, raw 677 0.900000000000000022 18.1999999999999993 7.40000000000000036
2085 Meatball or rissole, beef mince, <5% fat, homemade, baked, roasted, fried, grilled or BBQd, fat not further defined 833 1.19999999999999996 24.6000000000000014 7.79999999999999982
2086 Meatball or rissole, beef mince, <5% fat, homemade, baked, roasted, fried, grilled or BBQd, no added fat 750 1.19999999999999996 25.1000000000000014 5.29999999999999982
2087 Meatball or rissole, beef mince, <5% fat, homemade, raw 555 0.900000000000000022 18.6000000000000014 3.89999999999999991
2088 Meatball or rissole, beef mince, homemade, baked, roasted, fried, grilled or BBQd, fat not further defined 959 1.19999999999999996 24.3000000000000007 11.4000000000000004
2089 Meatball or rissole, beef mince, homemade, baked, roasted, fried, grilled or BBQd, no added fat 832 1.19999999999999996 24.8999999999999986 7.59999999999999964
2090 Meatball or rissole, beef mince, homemade, raw 616 0.900000000000000022 18.3999999999999986 5.59999999999999964
2091 Meatball or rissole, chicken mince, commercial, breadcrumb coating, cooked, fat not further defined 1079 1.30000000000000004 16.1999999999999993 14.0999999999999996
2092 Meatball or rissole, chicken mince, homemade, baked, roasted, fried, grilled or BBQd, fat not further defined 870 1.30000000000000004 21.3999999999999986 9.80000000000000071
2093 Meatball or rissole, chicken mince, homemade, baked, roasted, fried, grilled or BBQd, no added fat 786 1.30000000000000004 21.8000000000000007 7.20000000000000018
2094 Meatball or rissole, chicken mince, homemade from basic ingredients, raw 574 1 15.9000000000000004 5.29999999999999982
2095 Meatball or rissole, kangaroo mince, cooked, with or without added fat 482 0.900000000000000022 23 2
2096 Meatball or rissole, lamb mince, homemade, baked, roasted, fried, grilled or BBQd, fat not further defined 956 1.30000000000000004 23.8999999999999986 11.3000000000000007
2097 Meatball or rissole, lamb mince, homemade, baked, roasted, fried, grilled or BBQd, no added fat 868 1.30000000000000004 24.3000000000000007 8.59999999999999964
2098 Meatball or rissole, lamb mince, homemade, raw 599 0.900000000000000022 16.8000000000000007 5.90000000000000036
2099 Meatball or rissole, pork mince, homemade, baked, roasted, fried, grilled or BBQd, fat not further defined 1081 1.30000000000000004 22.8999999999999986 15
2100 Meatball or rissole, pork mince, homemade, baked, roasted, fried, grilled or BBQd, no added fat 995 1.30000000000000004 23.3999999999999986 12.4000000000000004
2101 Meatball or rissole, pork mince, homemade, raw 687 0.900000000000000022 16.1999999999999993 8.59999999999999964
2102 Meatloaf, commercial, all meats 1080 1.30000000000000004 26 15.5
2103 Meatloaf, homemade, beef 977 1.60000000000000009 27 11.0999999999999996
2104 Meatloaf, homemade, chicken 822 1.69999999999999996 23.6000000000000014 8
2105 Meat paste, commercial 861 1.10000000000000009 12.1999999999999993 13.9000000000000004
2106 Meat, wild caught, cooked 684 0 30.1000000000000014 4.20000000000000018
2107 Melon, bitter, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, fat not further defined 251 0.100000000000000006 1 5.5
2108 Melon, bitter, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 51 0.100000000000000006 1 0
2109 Melon, bitter, fresh or frozen, raw 46 0.100000000000000006 0.900000000000000022 0
2110 Melon, hairy, fresh or frozen, raw 61 1.69999999999999996 0.699999999999999956 0
2111 Melon, honey dew, skin not further defined, peeled raw 128 5.79999999999999982 0.800000000000000044 0.299999999999999989
2112 Melon, honey dew, white skin, peeled, raw 149 7.09999999999999964 0.699999999999999956 0.299999999999999989
2113 Melon, honey dew, yellow skin, peeled, raw 107 4.40000000000000036 0.800000000000000044 0.299999999999999989
2114 Melon, peeled, raw, not further defined 100 4.90000000000000036 0.400000000000000022 0.200000000000000011
2115 Melon, rockmelon (cantaloupe), peeled, raw 99 4.70000000000000018 0.5 0.100000000000000006
2116 Melon, watermelon, peeled, raw 100 5 0.400000000000000022 0.200000000000000011
2119 Mexican nachos, corn chips, beans, with cheese, guacamole & salsa 899 1.19999999999999996 6.70000000000000018 12.4000000000000004
2120 Mexican nachos, corn chips, beans, with cheese & salsa 930 1.19999999999999996 7.59999999999999964 11.5
2121 Mexican nachos, corn chips, beef & bean, with cheese, guacamole & salsa 973 1.30000000000000004 11.9000000000000004 13.4000000000000004
2122 Mexican nachos, corn chips, beef & bean, with cheese & salsa 1012 1.39999999999999991 13.5 12.6999999999999993
2123 Mexican nachos, corn chips, beef, with cheese, guacamole & salsa 1091 1.5 17.1000000000000014 15.3000000000000007
2124 Mexican nachos, corn chips, beef, with cheese & salsa 1147 1.60000000000000009 19.5 14.9000000000000004
2125 Mexican nachos, corn chips, with cheese, guacamole, & salsa 969 1.80000000000000004 6 15
2126 Mexican nachos, corn chips, with cheese, & salsa 842 2.60000000000000009 5.79999999999999982 11.4000000000000004
2127 Mexican nachos, corn chips, with cheese & salsa 1083 2.70000000000000018 7.29999999999999982 14.9000000000000004
2128 Mexican nachos, corn chips, with salsa 980 3.20000000000000018 3.79999999999999982 11.5999999999999996
2129 Milk, almond, fluid 143 1.89999999999999991 0.599999999999999978 2.70000000000000018
2130 Milk, canned, evaporated, reduced fat (~ 2%) 381 10.5999999999999996 7.90000000000000036 2.10000000000000009
2131 Milk, canned, evaporated, regular 590 9.90000000000000036 7.59999999999999964 8.09999999999999964
2132 Milk, canned, evaporated, skim (<0.5% fat) 317 10.5999999999999996 7.79999999999999982 0.400000000000000022
2133 Milk, canned, sweetened, condensed, regular 1362 55 8.30000000000000071 9.19999999999999929
2134 Milk, canned, sweetened, condensed, skim (~0.2% fat) 1147 60.3999999999999986 10.0999999999999996 0.200000000000000011
2135 Milk, cow, fluid, flavoured, all other flavours, reduced fat 255 9.19999999999999929 3.10000000000000009 1.5
2136 Milk, cow, fluid, flavoured, all other flavours, regular fat 328 9 3.20000000000000018 3.5
2137 Milk, cow, fluid, flavoured, chocolate, not further defined 323 8.69999999999999929 3.39999999999999991 3.10000000000000009
2138 Milk, cow, fluid, flavoured, chocolate, reduced fat 252 8.30000000000000071 3.29999999999999982 1.69999999999999996
2139 Milk, cow, fluid, flavoured, chocolate, reduced fat, added Ca & vitamin D 241 8.30000000000000071 3.29999999999999982 1.39999999999999991
2140 Milk, cow, fluid, flavoured, chocolate, reduced fat, added vitamins & minerals 351 10.4000000000000004 1.5 1.5
2141 Milk, cow, fluid, flavoured, chocolate, regular fat 338 8.80000000000000071 3.60000000000000009 3.5
2142 Milk, cow, fluid, flavoured, coffee, not further defined 323 10.4000000000000004 3.29999999999999982 2.60000000000000009
2143 Milk, cow, fluid, flavoured, coffee, reduced fat 263 9.80000000000000071 3.5 1.19999999999999996
2144 Milk, cow, fluid, flavoured, coffee, regular fat 349 10.5999999999999996 3.20000000000000018 3.20000000000000018
2145 Milk, cow, fluid, flavoured, strawberry, reduced fat 255 9.19999999999999929 3.10000000000000009 1.5
2146 Milk, cow, fluid, flavoured, strawberry, regular fat 328 9 3.20000000000000018 3.5
2147 Milk, cow, fluid, lactose free, reduced fat (~1%) 180 4.79999999999999982 3.39999999999999991 1.19999999999999996
2148 Milk, cow, fluid, lactose free, regular fat (~3.5%) 267 4.79999999999999982 3.20000000000000018 3.60000000000000009
2149 Milk, cow, fluid, lactose free, unfortified, not further defined 227 4.79999999999999982 3.29999999999999982 2.5
2150 Milk, cow, fluid, prepared from dry powder, regular fat, standard dilution 293 5.5 3.89999999999999991 3.79999999999999982
2151 Milk, cow, fluid, prepared from dry powder, regular fat, standard dilution 304 6.09999999999999964 3.60000000000000009 3.89999999999999991
2152 Milk, cow, fluid, prepared from dry powder, skim, standard dilution 156 5.40000000000000036 3.89999999999999991 0.100000000000000006
2153 Milk, cow, fluid, prepared from dry powder, skim, standard dilution 163 6 3.70000000000000018 0.100000000000000006
2154 Milk, cow, fluid, reduced fat (1%) 191 5 3.60000000000000009 1.19999999999999996
2155 Milk, cow, fluid, reduced fat (1-2%), not further defined 198 5.20000000000000018 3.70000000000000018 1.30000000000000004
2156 Milk, cow, fluid, reduced fat (1.5%), added Ca, Mg, Zn & vitamin D 223 5.90000000000000036 4.5 1.39999999999999991
2157 Milk, cow, fluid, reduced fat (1.5%), added omega 3 polyunsaturates 213 5.09999999999999964 4.5 1.39999999999999991
2158 Milk, cow, fluid, reduced fat (1.5%), increased Ca, folate & vitamin D 203 5.40000000000000036 4 1.19999999999999996
2159 Milk, cow, fluid, reduced fat (~1.5%), increased protein (~4%) 213 5.40000000000000036 4 1.60000000000000009
2160 Milk, cow, fluid, reduced fat (1%), A2 191 5 3.60000000000000009 1.19999999999999996
2161 Milk, cow, fluid, reduced fat (1%), added milk solids 207 6.09999999999999964 3.89999999999999991 1.10000000000000009
2162 Milk, cow, fluid, reduced fat (1%), added phytosterols 192 5.59999999999999964 3.60000000000000009 1
2163 Milk, cow, fluid, reduced fat (1%), increased Ca, added Fe & vitamins C & D 215 6.59999999999999964 3.89999999999999991 1.10000000000000009
2164 Milk, cow, fluid, reduced fat (1%), organic 179 5.09999999999999964 3.39999999999999991 1
2165 Milk, cow, fluid, regular fat (~3.5%) 281 6 3.39999999999999991 3.39999999999999991
2166 Milk, cow, fluid, regular fat (~3.5%), A2 281 6 3.39999999999999991 3.39999999999999991
2167 Milk, cow, fluid, regular fat (3.5%), added omega 3 polyunsaturates 256 5.09999999999999964 3.10000000000000009 3.20000000000000018
2168 Milk, cow, fluid, regular fat (~3.5%), not further defined 281 5.90000000000000036 3.39999999999999991 3.39999999999999991
2169 Milk, cow, fluid, regular fat (~3.5%), organic 285 4.79999999999999982 3.20000000000000018 4.09999999999999964
2170 Milk, cow, fluid, regular fat (~3.5%), raw 281 6 3.39999999999999991 3.39999999999999991
2171 Milk, cow, fluid, skim (~0.15% fat) 142 4.79999999999999982 3.60000000000000009 0.100000000000000006
2172 Milk, cow, fluid, skim (~0.15% fat), added milk solids 160 5.40000000000000036 4.09999999999999964 0.100000000000000006
2173 Milk, cow, fluid, skim (~0.15% fat), not further defined 142 4.79999999999999982 3.60000000000000009 0.100000000000000006
2174 Milk, cow, fluid, unflavoured, not further defined 233 5.5 3.5 2.20000000000000018
2175 Milk, cow, fluid, unflavoured, not further defined 281 5.79999999999999982 3.5 3.39999999999999991
2176 Milk, dairy or dairy alternative, not further defined, for use in protein drinks 213 5.09999999999999964 3.39999999999999991 1.69999999999999996
2177 Milkfish, boiled, microwaved, steamed or poached, with or without added fat 963 0 27.6999999999999993 13.3000000000000007
2178 Milkfish, raw 795 0 23.3999999999999986 10.6999999999999993
2179 Milk, goat, fluid, regular fat 207 3.60000000000000009 3.10000000000000009 2.60000000000000009
2180 Milk, human/breast, mature, fluid 286 6.79999999999999982 1.30000000000000004 4.20000000000000018
2181 Milk, oat, fluid, added calcium 220 0.100000000000000006 1.5 2
2182 Milk, oat, fluid, unfortified 222 0.100000000000000006 1.5 2.10000000000000009
2183 Milk, powder, cow, regular fat 2050 38.2999999999999972 27.1999999999999993 26.3999999999999986
2184 Milk, powder, cow, regular fat 2127 43 25.3000000000000007 27.3000000000000007
2185 Milk, powder, cow, skim 1455 50.2999999999999972 36.2999999999999972 0.900000000000000022
2186 Milk, powder, cow, skim 1519 56 34.8999999999999986 0.800000000000000044
2188 Milk, rice, fluid, added calcium 255 3.70000000000000018 0.299999999999999989 1
2189 Milk, rice, fluid, protein enriched, added calcium 159 2.79999999999999982 1.5 1.10000000000000009
2190 Milk & water, reduced fat cow milk & tap water 99 2.60000000000000009 1.89999999999999991 0.699999999999999956
2191 Milk & water, regular fat cow milk & tap water 141 3 1.69999999999999996 1.69999999999999996
2192 Milk & water, skim cow milk & tap water 71 2.39999999999999991 1.80000000000000004 0.100000000000000006
2193 Millet, boiled in water, no added fat or salt 489 0.100000000000000006 3.5 1
2194 Millet, uncooked 1489 0.400000000000000022 11.0999999999999996 4.20000000000000018
2195 Mineral water, citrus flavoured, regular 152 9.30000000000000071 0 0
2196 Mineral water, flavoured, intense sweetened or diet 5 0.200000000000000011 0 0
2197 Mineral water, natural, plain or unflavoured 0 0 0 0
2198 Mineral water, non-citrus flavoured, regular 152 9.30000000000000071 0 0
2199 Mint, raw 225 0.900000000000000022 3.10000000000000009 1.10000000000000009
2200 Mirin 1044 39.7999999999999972 0.400000000000000022 0
2201 Miso, soyabean paste 766 10.4000000000000004 12.9000000000000004 5.09999999999999964
2202 Mixed berry, cooked 202 9.69999999999999929 0.699999999999999956 0.100000000000000006
2203 Mixed berry, dried 864 34.1000000000000014 4.59999999999999964 1
2204 Mixed berry, puree 339 17.1999999999999993 0.900000000000000022 0.100000000000000006
2205 Mixed berry, raw, not further defined 138 5.5 0.699999999999999956 0.200000000000000011
2206 Moreton bay bug, cooked, with or without fat 509 0 27.5 1.10000000000000009
2207 Moreton bay bug or balmain bug, flesh, raw 407 0 22 0.900000000000000022
2208 Mortadella, processed meat 1365 0.400000000000000022 14.4000000000000004 29.3000000000000007
2209 Morwong, boiled, microwaved, steamed or poached, with or without added fat 528 0 23 3.70000000000000018
2210 Morwong, raw 544 0 19.3999999999999986 5.79999999999999982
2211 Mousse, chocolate, homemade from basic ingredients 1448 18.3000000000000007 5.40000000000000036 27.1999999999999993
2212 Mulberry, raw 139 4.29999999999999982 2.20000000000000018 0.200000000000000011
2213 Mullet, baked, roasted, grilled, BBQd, fried or deep fried, fat not further defined 964 0 25.1000000000000014 14.5
2214 Mullet, boiled, microwaved, steamed or poached, with or without added fat 559 0 22 5
2215 Mullet, coated, takeaway outlet, deep fried 1180 0.200000000000000011 15.6999999999999993 20.1999999999999993
2216 Mullet, raw 549 0 19.1999999999999993 6
2217 Mulloway, baked, roasted, grilled, BBQd, fried or deep fried, fat not further defined 681 0 27.6000000000000014 5.70000000000000018
2218 Mulloway, boiled, microwaved, steamed or poached, with or without added fat 540 0 23.1999999999999993 3.89999999999999991
2219 Mulloway, coated, fried or deep fried, fat not further defined 871 0.400000000000000022 21.8999999999999986 10.3000000000000007
2220 Mulloway, raw 435 0 20.6000000000000014 2.29999999999999982
2221 Mushroom, canned in brine, drained 81 0.5 1.5 0.5
2222 Mushroom, common, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, butter, dairy blend or margarine 433 0 4.09999999999999964 8.19999999999999929
2223 Mushroom, common, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, canola oil 503 0 4 10.1999999999999993
2224 Mushroom, common, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, fat not further defined 497 0 4 10
2225 Mushroom, common, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 162 0 4.20000000000000018 0.800000000000000044
2226 Mushroom, common, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, olive oil 503 0 4 10.1999999999999993
2227 Mushroom, common, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, other oil 503 0 4 10.1999999999999993
2228 Mushroom, common, fresh or frozen, boiled, microwaved or steamed, drained 130 0 3.39999999999999991 0.599999999999999978
2229 Mushroom, common, fresh or frozen, boiled, microwaved or steamed, drained, added fat not further defined 377 0 3.29999999999999982 7.40000000000000036
2230 Mushroom, common, fresh or frozen, raw 86 0 2.29999999999999982 0.400000000000000022
2231 Mushroom, fresh or frozen, raw, not further defined 86 0 2.29999999999999982 0.400000000000000022
2232 Mushroom, oriental, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, fat not further defined 497 0 4 10
2233 Mushroom, oriental, fresh or frozen, boiled, microwaved or steamed, drained 130 0 3.39999999999999991 0.599999999999999978
2234 Mushroom, oriental, fresh or frozen, boiled, microwaved or steamed, drained, added fat not further defined 377 0 3.29999999999999982 7.40000000000000036
2235 Mushroom, oriental, fresh or frozen, raw, not further defined 86 0 2.29999999999999982 0.400000000000000022
2236 Mushroom, straw, Asian, canned in brine, drained 72 0 2.20000000000000018 0.299999999999999989
2237 Mushroom, stuffed with cheese & bacon 763 1.5 10.0999999999999996 9.09999999999999964
2238 Mussel, blue, boiled, microwaved, steamed or poached, no added fat 438 0 16 2.29999999999999982
2239 Mussel, cooked, with or without added fat 441 0.5 15.5999999999999996 2.5
2240 Mussel, green, boiled, microwaved, steamed or poached, no added fat 445 1 15.3000000000000007 2.60000000000000009
2241 Mussel, smoked, canned in oil, drained 807 0 20.8000000000000007 10.4000000000000004
2242 Mustard, cream style 348 3.60000000000000009 5.79999999999999982 3.10000000000000009
2243 Mustard powder 2289 5 29.3999999999999986 39.5
2244 Mutton, all cuts, separable fat, cooked 2694 0 10.6999999999999993 67.9000000000000057
2245 Mutton, all cuts, separable fat, raw 2522 0 8.19999999999999929 64.4000000000000057
2246 Mutton-bird, cooked 884 1 21 13.8000000000000007
2247 Mutton, leg roast, fully-trimmed, baked or roasted, no added fat 881 0 28.8999999999999986 10.5
2248 Mutton, leg roast, fully-trimmed, raw 582 0 21.1000000000000014 6
2249 Mutton, leg roast, semi-trimmed, baked or roasted, no added fat 919 0 28.5 11.6999999999999993
2250 Mutton, leg roast, semi-trimmed, raw 634 0 20.8000000000000007 7.59999999999999964
2251 Mutton, leg roast, separable fat, baked or roasted, no added fat 2694 0 10.6999999999999993 67.9000000000000057
2252 Mutton, leg roast, separable fat, raw 2522 0 8.19999999999999929 64.4000000000000057
2253 Mutton, leg roast, separable lean, baked or roasted, no added fat 792 0 29.8000000000000007 7.70000000000000018
2254 Mutton, leg roast, separable lean, raw 509 0 21.6000000000000014 3.79999999999999982
2255 Mutton, leg roast, untrimmed, baked or roasted, no added fat 1093 0 26.8000000000000007 17.1999999999999993
2256 Mutton, leg roast, untrimmed, raw 811 0 19.6000000000000014 12.9000000000000004
2257 Mutton, shoulder, fully-trimmed, boiled, casseroled, microwaved, poached, steamed, or stewed, no added fat 1094 0 35.6000000000000014 13.1999999999999993
2258 Mutton, shoulder, fully-trimmed, raw 638 0 20.5 7.79999999999999982
2259 Mutton, shoulder, separable fat, boiled, casseroled, microwaved, poached, steamed, or stewed, no added fat 2694 0 10.6999999999999993 67.9000000000000057
2260 Mutton, shoulder, separable fat, raw 2522 0 8.19999999999999929 64.4000000000000057
2261 Mutton, shoulder, separable lean, boiled, casseroled, microwaved, poached, steamed, or stewed, no added fat 1041 0 36.3999999999999986 11.4000000000000004
2262 Mutton, shoulder, separable lean, raw 518 0 21.3000000000000007 4.20000000000000018
2263 Mutton, shoulder, untrimmed, boiled, casseroled, microwaved, poached, steamed, or stewed, no added fat 1137 0 34.8999999999999986 14.6999999999999993
2264 Mutton, shoulder, untrimmed, raw 717 0 20 10.1999999999999993
2265 Nectarine, stewed, sugar sweetened, no added fat 359 19.3999999999999986 1.10000000000000009 0.100000000000000006
2266 Nectarine, white, peeled or unpeeled, raw 181 8 1.19999999999999996 0.100000000000000006
2267 Nectarine, yellow, peeled, raw 185 8.30000000000000071 1.19999999999999996 0.100000000000000006
2268 Nectarine, yellow, unpeeled, raw 181 8 1.19999999999999996 0.100000000000000006
2269 Nile perch, baked, roasted, fried, grilled or BBQd, no added fat 528 0 26.6000000000000014 2.10000000000000009
2270 Nile perch, baked, roasted, grilled, BBQd, fried or deep fried, fat not further defined 750 0 25.3000000000000007 8.69999999999999929
2271 Nile perch, boiled, microwaved, steamed or poached, with or without added fat 478 0 23 2.39999999999999991
2272 Nile perch, coated, baked, roasted, grilled, BBQd, fried or deep fried, fat not further defined 821 0.400000000000000022 20.8000000000000007 9.5
2273 Nile perch, coated, takeaway outlet, deep fried 1059 0.200000000000000011 15.8000000000000007 16.8999999999999986
2274 Noodle, buckwheat or soba, boiled, drained 567 0.200000000000000011 4.20000000000000018 0.599999999999999978
2275 Noodle, buckwheat or soba, dry 1468 0.400000000000000022 10.8000000000000007 1.60000000000000009
2276 Noodle, cooked, not further defined 627 0 4.20000000000000018 3.79999999999999982
2277 Noodle, rice stick, boiled, drained 366 0 1.60000000000000009 0.299999999999999989
2278 Noodle, wheat, Asian style, cooked 608 0 6.29999999999999982 1
2279 Noodle, wheat, instant, flavoured, boiled, drained 750 0 3.70000000000000018 7.70000000000000018
2280 Noodle, wheat, instant, flavoured, boiled, undrained 281 0 1.39999999999999991 2.89999999999999991
2281 Noodle, wheat, instant, flavoured, dry, uncooked 1851 0 9.19999999999999929 19
2282 Noodle, wheat, instant, flavoured, fried or stir-fried, with or without fat 851 0 3.79999999999999982 10
2283 Noodle, wheat, instant, low fat, flavoured, boiled, drained 658 0 5.90000000000000036 2
2284 Noodle, wheat, instant, low fat, flavoured, boiled, undrained 247 0 2.20000000000000018 0.800000000000000044
2285 Noodle, wheat, instant, low fat, unflavoured, boiled, drained 658 0 5.90000000000000036 2
2286 Noodle, wheat, instant, low fat, unflavoured, boiled, undrained 247 0 2.20000000000000018 0.800000000000000044
2287 Noodle, wheat, instant, not further defined 688 0 3.5 6.90000000000000036
2288 Noodle, wheat, instant, unflavoured, boiled, drained 778 0 3.89999999999999991 8
2289 Noodle, wheat, instant, unflavoured, boiled, undrained 292 0 1.5 3
2290 Noodle, wheat, instant, unflavoured, dry, uncooked 1920 0 9.59999999999999964 19.6999999999999993
2291 Noodle, wheat with egg, plain, boiled, no added fat 601 0 5.70000000000000018 0.599999999999999978
2292 Noodle, wheat with egg, plain, dry 1479 0 12.6999999999999993 1.5
2293 Noodle, wheat, Asian style, cooked 608 0 6.29999999999999982 1
2294 Noodle, wheat, instant, flavoured, boiled, drained 750 0 3.70000000000000018 7.70000000000000018
2295 Noodle, wheat, instant, flavoured, boiled, undrained 281 0 1.39999999999999991 2.89999999999999991
2296 Noodle, wheat, instant, flavoured, dry, uncooked 1851 0 9.19999999999999929 19
2297 Noodle, wheat, instant, flavoured, fried or stir-fried, with or without fat 851 0 3.79999999999999982 10
2298 Noodle, wheat, instant, low fat, flavoured, boiled, drained 658 0 5.90000000000000036 2
2299 Noodle, wheat, instant, low fat, flavoured, boiled, undrained 247 0 2.20000000000000018 0.800000000000000044
2300 Noodle, wheat, instant, low fat, unflavoured, boiled, drained 658 0 5.90000000000000036 2
2301 Noodle, wheat, instant, low fat, unflavoured, boiled, undrained 247 0 2.20000000000000018 0.800000000000000044
2302 Noodle, wheat, instant, not further defined 688 0 3.5 6.90000000000000036
2303 Noodle, wheat, instant, unflavoured, boiled, drained 778 0 3.89999999999999991 8
2304 Noodle, wheat, instant, unflavoured, boiled, undrained 292 0 1.5 3
2305 Noodle, wheat, instant, unflavoured, dry, uncooked 1920 0 9.59999999999999964 19.6999999999999993
2306 Noodle, wheat with egg, plain, boiled, no added fat 601 0 5.70000000000000018 0.599999999999999978
2307 Noodle, wheat with egg, plain, dry 1479 0 12.6999999999999993 1.5
2308 Nougat, honey & nuts, traditional 1790 44.7999999999999972 9 22.6000000000000014
2309 Nut, almond meal 2568 3.89999999999999991 20.5 55.7999999999999972
2310 Nut, almond, with or without skin, raw, unsalted 2578 3.89999999999999991 21 55.6000000000000014
2311 Nut, almond, with or without skin, roasted, salted 2555 3.89999999999999991 20.8000000000000007 55.1000000000000014
2312 Nut, almond, with or without skin, roasted, unsalted 2654 3.89999999999999991 21 57.6000000000000014
2313 Nut, almond, without skin, blanched, unsalted 2568 3.89999999999999991 20.5 55.7999999999999972
2314 Nut, brazil, with or without skin, raw, unsalted 2886 2.10000000000000009 14.4000000000000004 68.5
2315 Nut, cashew, raw, unsalted 2544 5.5 17 49.2000000000000028
2316 Nut, cashew, roasted, coated in honey 2271 32.7999999999999972 12.0999999999999996 35
2317 Nut, cashew, roasted, salted 2582 5.40000000000000036 16.8000000000000007 50.5
2318 Nut, cashew, roasted, unsalted 2583 5.59999999999999964 17.3000000000000007 49.8999999999999986
2319 Nut, chestnut, raw, unsalted 731 3.29999999999999982 2.5 0.699999999999999956
2320 Nut, chestnut, roasted, unsalted 724 3.79999999999999982 3.39999999999999991 0.599999999999999978
2321 Nutgrass (nut grass), peeled, raw 958 1.10000000000000009 3.5 1.10000000000000009
2322 Nut, hazelnut, with or without skin, raw, unsalted 2689 4.40000000000000036 14.8000000000000007 61.3999999999999986
2323 Nut, macadamia, raw, unsalted 3018 4.5 9.19999999999999929 74
2324 Nut, macadamia, roasted, coated in honey 2604 31.1000000000000014 6.59999999999999964 52.8999999999999986
2325 Nut, macadamia, roasted, salted 3032 4.40000000000000036 9 74.5
2326 Nutmeg, dried, ground 2119 14.9000000000000004 6.40000000000000036 37.6000000000000014
2327 Nut, peanut, roasted, coated in honey 2516 16.8999999999999986 21.6999999999999993 45.7000000000000028
2328 Nut, peanut, without skin, roasted, with oil, salted 2667 4.40000000000000036 25.1000000000000014 52.7999999999999972
2329 Nut, peanut, without skin, roasted, with oil, unsalted 2667 4.40000000000000036 25.1000000000000014 52.7999999999999972
2330 Nut, peanut, with skin, raw or dry roasted, unsalted 2376 5.09999999999999964 24.6999999999999993 47.1000000000000014
2331 Nut, peanut, with skin, roasted, with oil, salted 2635 4.70000000000000018 24.3999999999999986 51.7000000000000028
2332 Nut, pecan, raw, unsalted 2973 4.29999999999999982 9.80000000000000071 71.9000000000000057
2333 Nut, pine, raw, unsalted 2925 3.39999999999999991 13 70
2334 Nut, pistachio, raw, unsalted 2542 5.90000000000000036 19.6999999999999993 50.6000000000000014
2335 Nut, pistachio, roasted, salted 2504 5.79999999999999982 19.3999999999999986 49.7999999999999972
2336 Nut, walnut, raw, unsalted 2904 2.70000000000000018 14.4000000000000004 69.2000000000000028
2337 Oat bran, unprocessed, uncooked 1620 2.10000000000000009 13.9000000000000004 7.5
2338 Oats, rolled, mixed with sugar, flavours & dried fruit, uncooked 1534 28 9 6.20000000000000018
2339 Oats, rolled, mixed with sugar or honey & other flavours, uncooked 1629 24 8.30000000000000071 7.5
2340 Oats, rolled, uncooked 1548 1 12.6999999999999993 8.90000000000000036
2341 Oats, rolled, uncooked, added fibre & Ca 1458 1.10000000000000009 14 7.09999999999999964
2342 Octopus, coated, takeaway outlet, fried, fat not further defined 892 0.100000000000000006 11.1999999999999993 14.9000000000000004
2343 Octopus, cooked, with or without added fat 324 0 16.6000000000000014 1.19999999999999996
2344 Octopus, marinated, baked, grilled, fried or BBQd, fat not further defined 374 0.699999999999999956 14.0999999999999996 3
2345 Octopus, raw 292 0 14.9000000000000004 1
2346 Oil, almond 3700 0 0 100
2347 Oil, blend of monounsaturated vegetable oils 3700 0 0 100
2348 Oil, blend of polyunsaturated vegetable oils 3700 0 0 100
2349 Oil, canola 3700 0 0 100
2350 Oil, canola & red palm blend 3698 0 0 100
2351 Oil, copha 3700 0 0.200000000000000011 99.9000000000000057
2352 Oil, cottonseed 3700 0 0 100
2353 Oil, grapeseed 3700 0 0 100
2354 Oil, linseed or flaxseed 3700 0 0 100
2355 Oil, macadamia 3700 0 0 100
2356 Oil, maize 3700 0 0 100
2357 Oil, mustard seed 3700 0 0 100
2358 Oil, not further defined 3700 0 0 100
2359 Oil, not further defined, for use in baked product recipes & deep fried takeaway foods 3700 0 0 100
2360 Oil, not further defined, for use in wet cooked vegetable recipes 3700 0 0 100
2361 Oil, olive 3700 0 0 100
2362 Oil, other than olive or canola oils, for use in home cooked meat, fish, poultry & dry cooked vegetable recipes 3700 0 0 100
2363 Oil, palm 3700 0 0 100
2364 Oil, peanut 3700 0 0 100
2365 Oil, rice bran 3700 0 0 100
2366 Oil, safflower 3700 0 0 100
2367 Oil, sesame 3700 0 0 100
2368 Oil, soybean 3700 0 0 100
2369 Oil, sunflower 3700 0 0 100
2370 Oil, vegetable 3700 0 0 100
2371 Okra, cooked, with or without added fat 310 1.39999999999999991 3.20000000000000018 5.5
2372 Okra, raw 112 1.39999999999999991 3.10000000000000009 0.200000000000000011
2373 Oligosaccharide 1700 0 0 0
2374 Olive, green or black, drained 856 0 2 20.5
2375 Olive, green, pimento stuffed, drained 388 0 0.800000000000000044 8.30000000000000071
2376 Onion, for recipes, onion (red, white & brown), spring onion, shallots & leeks, raw 121 4.29999999999999982 1.60000000000000009 0.100000000000000006
2377 Onion, mature, brown skinned, peeled, raw 120 4.29999999999999982 1.60000000000000009 0.100000000000000006
2378 Onion, mature, peeled, fresh or frozen, baked, roasted, fried, stir-fried, grilled, BBQd, canola oil 485 6.70000000000000018 2.5 8.19999999999999929
2379 Onion, mature, peeled, fresh or frozen, baked, roasted, fried, stir-fried, grilled, BBQd, olive oil 485 6.70000000000000018 2.5 8.19999999999999929
2380 Onion, mature, peeled, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, butter, dairy blend or margarine 425 6.70000000000000018 2.60000000000000009 6.59999999999999964
2381 Onion, mature, peeled, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, fat not further defined 480 6.70000000000000018 2.5 8.09999999999999964
2382 Onion, mature, peeled, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 197 7.09999999999999964 2.60000000000000009 0.200000000000000011
2383 Onion, mature, peeled, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, other oil 485 6.70000000000000018 2.5 8.19999999999999929
2384 Onion, mature, peeled, fresh or frozen, boiled, microwaved or steamed, drained 136 4.90000000000000036 1.80000000000000004 0.100000000000000006
2385 Onion, mature, peeled, fresh or frozen, boiled, microwaved or steamed, drained, added fat not further defined 315 4.59999999999999964 1.69999999999999996 5.09999999999999964
2386 Onion, mature, peeled, fresh or frozen, raw, not further defined 122 4.40000000000000036 1.60000000000000009 0.100000000000000006
2387 Onion, mature, red skinned, peeled, fresh or frozen, raw 120 4.29999999999999982 1.60000000000000009 0.100000000000000006
2388 Onion, mature, white skinned, peeled, fresh or frozen, raw 128 4.70000000000000018 1.69999999999999996 0.100000000000000006
2389 Onion, pickled, drained, commercial 260 12.3000000000000007 0.5 0.200000000000000011
2390 Onion, spring, baked, roasted, fried, stir-fried, grilled or BBQd, fat not further defined 487 6.90000000000000036 2.60000000000000009 8.19999999999999929
2391 Onion, spring, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 204 7.29999999999999982 2.70000000000000018 0.299999999999999989
2392 Onion, spring, boiled, microwaved or steamed, drained, with or without added fat 141 5 1.89999999999999991 0.200000000000000011
2393 Onion, spring, raw 127 4.5 1.69999999999999996 0.200000000000000011
2394 Orange, navel (all varieties), peeled, raw 183 8.40000000000000036 1 0.100000000000000006
2395 Orange, peeled, raw, not further defined 178 8 1 0.100000000000000006
2396 Orange, peeled, stewed, no added fat 196 9 1.10000000000000009 0.100000000000000006
2397 Orange roughy, boiled, microwaved, steamed or poached, no added fat 548 0 19.5 5.79999999999999982
2398 Orange roughy, raw 460 0 16.3999999999999986 4.90000000000000036
2399 Orange, valencia, peeled, raw 172 7.70000000000000018 1 0.100000000000000006
2400 Oregano or marjoram, dried 1096 4.09999999999999964 9 4.29999999999999982
2401 Ostrich, fan fillet, raw 424 0 23.3999999999999986 0.699999999999999956
2402 Ostrich, moon steak, raw 455 0 23.6999999999999993 1.39999999999999991
2403 Ouzo 886 0.100000000000000006 0 0
2404 Oyster, cooked, with or without added fat 307 0 12.1999999999999993 2.39999999999999991
2405 Oyster, raw 307 0 12.1999999999999993 2.39999999999999991
2406 Oyster, smoked, canned in oil, drained 858 0 17.3999999999999986 12
2407 Pancake, Chinese 981 0 5.59999999999999964 6.20000000000000018
2408 Pandanus kernel 2452 3.10000000000000009 25.8999999999999986 46.7999999999999972
2409 Pappadam, deep fried 2175 0 11.5 38.7999999999999972
2410 Pappadam, microwaved without oil or salt 1421 0 25.8999999999999986 3.29999999999999982
2411 Pappadam, raw 1406 0 25.6000000000000014 3.20000000000000018
2412 Parsley, continental, raw 100 0.599999999999999978 2.39999999999999991 0.200000000000000011
2413 Parsley, curly, raw 96 0.400000000000000022 1.89999999999999991 0.200000000000000011
2414 Parsley, not further defined, raw 99 0.5 2.20000000000000018 0.200000000000000011
2415 Parsnip, peeled, fresh or frozen, raw 237 4.79999999999999982 1.80000000000000004 0.200000000000000011
2416 Parsnip, peeled or unpeeled, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, fat not further defined 496 5.59999999999999964 2.10000000000000009 6.20000000000000018
2417 Parsnip, peeled or unpeeled, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 289 5.90000000000000036 2.20000000000000018 0.200000000000000011
2418 Parsnip, peeled or unpeeled, fresh or frozen, boiled, microwaved or steamed, drained, with or without added fat 255 5.20000000000000018 1.89999999999999991 0.200000000000000011
2419 Passionfruit, pulp, canned 304 5.70000000000000018 3 0.299999999999999989
2420 Passionfruit, raw 304 5.70000000000000018 3 0.299999999999999989
2421 Pasta, filled with meat, fresh, commercial, boiled, without added sauce 629 0.299999999999999989 6.29999999999999982 3.89999999999999991
2422 Pasta, filled with spinach & ricotta, fresh, commercial, boiled, without added sauce 444 1 5.09999999999999964 2.79999999999999982
2423 Pasta, filled with spinach & ricotta, fresh, homemade, boiled, without added sauce 419 0.599999999999999978 5.70000000000000018 2.60000000000000009
2424 Pasta, filled with vegetables, fresh, commercial, boiled, without added sauce 536 1.10000000000000009 5.70000000000000018 3
2425 Pasta, gluten free, plain, boiled from dry, no added salt 639 0 3.10000000000000009 0.699999999999999956
2426 Pasta, gluten free, plain, boiled from dry, with added salt 639 0 3.10000000000000009 0.699999999999999956
2427 Pasta, maize flour (corn) based, plain, cooked 503 0 2.60000000000000009 0.699999999999999956
2428 Pasta, maize flour (corn) based, plain, dry 1453 0 7.5 2.10000000000000009
2429 Pasta, unfilled, for commercial pasta recipes 603 0 5.20000000000000018 1.19999999999999996
2430 Pasta, unfilled, for homemade pasta recipes 555 0.299999999999999989 5.20000000000000018 0.699999999999999956
2431 Pasta, white wheat flour & egg, plain, boiled, no added salt 601 0 5.70000000000000018 0.599999999999999978
2432 Pasta, white wheat flour & egg, plain, boiled, with added salt 564 0 5.29999999999999982 0.599999999999999978
2433 Pasta, white wheat flour & egg, plain, dry 1487 0 12.8000000000000007 1.5
2434 Pasta, white wheat flour, plain, boiled from dry, no added salt 510 0.200000000000000011 5.09999999999999964 0.100000000000000006
2435 Pasta, white wheat flour, plain, boiled from dry, with added salt 506 0 3.60000000000000009 0.299999999999999989
2436 Pasta, white wheat flour, plain, dry 1458 0 12.6999999999999993 1.39999999999999991
2437 Pasta, white wheat flour, plain, fresh, boiled, no added salt 682 1.10000000000000009 5.40000000000000036 3
2438 Pasta, white wheat flour, plain, fresh, uncooked 1152 0.900000000000000022 9.59999999999999964 3.39999999999999991
2439 Pasta, white wheat flour, plain, homemade, boiled, no added salt 703 0.100000000000000006 6.90000000000000036 2.29999999999999982
2440 Pasta, white wheat flour, plain, homemade, boiled, with added salt 702 0.100000000000000006 6.90000000000000036 2.29999999999999982
2441 Pasta, white wheat flour & spinach, plain, boiled, no added salt 554 0.200000000000000011 3.79999999999999982 0.400000000000000022
2442 Pasta, white wheat flour & spinach, plain, boiled, with added salt 554 0.200000000000000011 3.79999999999999982 0.400000000000000022
2443 Pasta, white wheat flour & spinach, plain, dry 1525 2.70000000000000018 11.9000000000000004 1.30000000000000004
2444 Pasta, wholemeal wheat flour, plain, boiled from dry, no added salt 579 0 5.09999999999999964 0.800000000000000044
2445 Pasta, wholemeal wheat flour, plain, boiled from dry, with added salt 579 0 5.09999999999999964 0.800000000000000044
2446 Pasta, wholemeal wheat flour, plain, dry 1404 0 12.5 2.20000000000000018
2447 Paste, curry, commercial, not further defined 919 5.70000000000000018 4.59999999999999964 14.5
2448 Paste, curry, Indian style, commercial 1306 4.20000000000000018 4.79999999999999982 26.3999999999999986
2449 Paste, flour mixed with sugar & cows milk 525 7.70000000000000018 4.79999999999999982 2
2450 Paste, green curry, commercial 461 3.39999999999999991 2.39999999999999991 7.90000000000000036
2451 Paste, green curry, homemade 450 3.5 2.39999999999999991 7.40000000000000036
2452 Paste, korma, commercial 1170 7.79999999999999982 3.20000000000000018 22.6000000000000014
2453 Paste, massaman curry, commercial 1154 5.79999999999999982 8.30000000000000071 15.0999999999999996
2454 Paste, quince 1004 58.2000000000000028 0.5 0.200000000000000011
2455 Paste, red curry, commercial or homemade 755 9.5 2.79999999999999982 8.69999999999999929
2456 Paste, shrimp 1200 50.6000000000000014 6.09999999999999964 2.5
2457 Paste, vindaloo, commercial 2050 4.90000000000000036 3.20000000000000018 46
2458 Paste, wasabi, commercial 1073 2.79999999999999982 0.599999999999999978 7.5
2459 Pastry, choux, commercial, baked, unfilled 1222 0.100000000000000006 7.79999999999999982 21.6999999999999993
2460 Pastry, choux, homemade from basic ingredients, baked, unfilled 1488 0.200000000000000011 10.8000000000000007 24.8000000000000007
2461 Pastry, choux, homemade from basic ingredients, raw 922 0.100000000000000006 6.70000000000000018 15.4000000000000004
2462 Pastry, dumpling wrapper, not further defined 933 0.100000000000000006 5.59999999999999964 1
2463 Pastry, dumpling wrapper style, raw 966 0 7.79999999999999982 1.60000000000000009
2464 Pastry, filled with salmon, with or without vegetables, homemade from basic ingredients 1317 1 14.8000000000000007 20.1000000000000014
2465 Pastry, filled with spinach & cheese, commercial, ready to eat 1215 2.70000000000000018 9.40000000000000036 16.3999999999999986
2466 Pastry, filled with spinach & cheese, from frozen, baked, no added fat 1215 2.70000000000000018 9.40000000000000036 16.3999999999999986
2467 Pastry, filled with spinach, commercial, ready to eat 1254 5.40000000000000036 5.59999999999999964 20.6000000000000014
2468 Pastry, filled with spinach, homemade from basic ingredients 1108 1.30000000000000004 5.09999999999999964 14.6999999999999993
2469 Pastry, filo (fillo), commercial, baked 1631 2.10000000000000009 12.1999999999999993 3.10000000000000009
2470 Pastry, filo (fillo), commercial, raw 1277 1.30000000000000004 9.90000000000000036 3.79999999999999982
2471 Pastry, for use in quiche recipes, raw 1553 4.90000000000000036 5.59999999999999964 21.1000000000000014
2472 Pastry, gow gee wrapper style, raw 900 0.200000000000000011 3.29999999999999982 0.400000000000000022
2473 Pastry, puff, commercial, raw, not further defined 1368 1 5.5 18.3999999999999986
2474 Pastry, puff, vegetable oil, commercial, baked 1906 1.69999999999999996 7 26.5
2475 Pastry, puff, vegetable oil, commercial, raw 1321 1 5.5 16.3999999999999986
2476 Pastry, puff, with butter, commercial, baked 1797 1.30000000000000004 7.09999999999999964 24.6999999999999993
2477 Pastry, puff, with butter, commercial, raw 1383 1 5.5 19
2478 Pastry, shortcrust style, commercial, baked 2080 9.59999999999999964 6.59999999999999964 27.5
2479 Pastry, shortcrust style, commercial, raw 1685 7.5 5.5 23.8000000000000007
2480 Pastry, shortcrust style, homemade from basic ingredients, baked 1794 5.09999999999999964 8.30000000000000071 18
2481 Pastry, shortcrust style, reduced fat, commercial, raw 1534 7.5 5.5 17.3999999999999986
2482 Pastry, shortcrust, wholemeal, commercial, baked 1937 2.39999999999999991 10 26.3000000000000007
2483 Pastry, shortcrust, wholemeal, commercial, raw 1402 2.60000000000000009 7.5 19.1999999999999993
2484 Pastry, spring roll, homemade from basic ingredients, raw 845 0.100000000000000006 6.40000000000000036 1.60000000000000009
2485 Pasty, filled with vegetables, commercial, baked 786 1.69999999999999996 4 7.70000000000000018
2486 Pasty, filled with vegetables, homemade from basic ingredients 1151 5.29999999999999982 4.59999999999999964 16.3000000000000007
2487 Pasty, filled with vegetables & meat, commercial, ready to eat 1119 2.5 6.79999999999999982 15.4000000000000004
2488 Pasty, filled with vegetables & meat, homemade from basic ingredients 1009 3.79999999999999982 10 13.5999999999999996
2489 Pawpaw (papaya), orange flesh, peeled, raw 142 6.90000000000000036 0.400000000000000022 0.100000000000000006
2490 Peach, canned in intense sweetened liquid 115 5.5 0.5 0
2491 Peach, canned in intense sweetened liquid, drained 121 5.40000000000000036 0.699999999999999956 0
2492 Peach, canned in intense sweetened liquid, liquid only 102 5.59999999999999964 0.200000000000000011 0
2493 Peach, canned in light syrup 232 12.3000000000000007 0.599999999999999978 0
2494 Peach, canned in light syrup, drained 229 11.5 0.800000000000000044 0
2495 Peach, canned in light syrup, syrup only 236 13.3000000000000007 0.299999999999999989 0
2496 Peach, canned in pear juice 184 8.30000000000000071 0.599999999999999978 0
2497 Peach, canned in pear juice, drained 191 8.19999999999999929 0.800000000000000044 0.100000000000000006
2498 Peach, canned in pear juice, juice only 174 8.5 0.400000000000000022 0
2499 Peach, canned in syrup 229 12.0999999999999996 0.599999999999999978 0
2500 Peach, canned in syrup, drained 227 11.5 0.699999999999999956 0
2501 Peach, canned in syrup, syrup only 232 13.1999999999999993 0.299999999999999989 0
2502 Peach, canned, not further defined 191 9.30000000000000071 0.699999999999999956 0
2503 Peach, peeled, raw, not further defined 196 8.69999999999999929 1 0.100000000000000006
2504 Peach, stewed, sugar sweetened, no added fat 357 19.1999999999999993 0.900000000000000022 0.100000000000000006
2505 Peach, unpeeled, raw, not further defined 165 7.20000000000000018 0.900000000000000022 0.100000000000000006
2506 Peach, white, peeled, raw 193 8.40000000000000036 1.10000000000000009 0.100000000000000006
2507 Peach, white, unpeeled, raw 157 6.79999999999999982 0.900000000000000022 0.100000000000000006
2508 Peach, yellow, peeled, raw 197 8.80000000000000071 1 0.100000000000000006
2509 Peach, yellow, unpeeled, raw 168 7.40000000000000036 0.800000000000000044 0.100000000000000006
2510 Pea, green, canned in brine, cooked 307 3.70000000000000018 5.40000000000000036 0.5
2511 Pea, green, cooked, added fat not further defined 426 2.39999999999999991 4.79999999999999982 5.20000000000000018
2512 Pea, green, cooked, no added fat 261 2.60000000000000009 5.09999999999999964 0.299999999999999989
2513 Pea, green, fresh, cooked, no added fat 246 2.70000000000000018 4.79999999999999982 0.400000000000000022
2514 Pea, green, fresh or frozen, raw 294 4 5.79999999999999982 0.400000000000000022
2515 Pea, green, frozen, cooked, no added fat 259 2.5 5.20000000000000018 0.299999999999999989
2516 Peanut butter, not further identified 2515 8.40000000000000036 22.3999999999999986 50.2999999999999972
2517 Peanut butter, smooth & crunchy, added sugar, no added salt 2486 8.59999999999999964 22.1999999999999993 50.3999999999999986
2518 Peanut butter, smooth & crunchy, added sugar & salt 2509 8.59999999999999964 22.1999999999999993 50
2519 Peanut butter, smooth & crunchy, no added sugar or salt 2634 5.5 24.3000000000000007 54.2999999999999972
2520 Pear, brown, peeled, raw 267 10.6999999999999993 0.299999999999999989 0
2521 Pear, brown, unpeeled, raw 264 10.4000000000000004 0.299999999999999989 0
2522 Pear, canned in intense sweetened liquid 120 4.90000000000000036 0.299999999999999989 0
2523 Pear, canned in intense sweetened liquid, drained 126 4.90000000000000036 0.299999999999999989 0
2524 Pear, canned in intense sweetened liquid, liquid only 111 5 0.200000000000000011 0
2525 Pear, canned in light syrup 262 13.6999999999999993 0.299999999999999989 0
2526 Pear, canned in light syrup, drained 262 13.1999999999999993 0.400000000000000022 0
2527 Pear, canned in light syrup, syrup only 261 14.5 0.200000000000000011 0
2528 Pear, canned in pear juice 194 8.69999999999999929 0.5 0
2529 Pear, canned in pear juice, drained 200 8.59999999999999964 0.599999999999999978 0
2530 Pear, canned in pear juice, juice only 185 8.80000000000000071 0.200000000000000011 0
2531 Pear, canned in sugar syrup, syrup only 273 14.6999999999999993 0.200000000000000011 0
2532 Pear, canned in syrup 278 14.0999999999999996 0.400000000000000022 0
2533 Pear, canned in syrup, drained 282 13.6999999999999993 0.599999999999999978 0
2534 Pear, canned, not further defined 216 10.1999999999999993 0.400000000000000022 0
2535 Pear, green, peeled, raw 245 9.90000000000000036 0.299999999999999989 0
2536 Pear, green, unpeeled, raw 247 9.69999999999999929 0.299999999999999989 0
2537 Pear, nashi, peeled or unpeeled, raw 209 10.5999999999999996 0.400000000000000022 0.100000000000000006
2538 Pear, packhams triumph, unpeeled, raw 238 9.59999999999999964 0.299999999999999989 0
2539 Pear, peeled, raw, not further defined 247 10 0.299999999999999989 0
2540 Pear, raw, not further defined 248 9.80000000000000071 0.299999999999999989 0
2541 Pear, stewed, sugar sweetened, no added fat 410 20.6000000000000014 0.299999999999999989 0
2542 Pear, unpeeled, raw, not further defined 248 9.80000000000000071 0.299999999999999989 0
2543 Pear, william bartlett, unpeeled, raw 228 9 0.299999999999999989 0
2544 Pea, split, dried 1427 2.5 23 2
2545 Pea, split, dried, boiled, microwaved or steamed, drained 364 2.89999999999999991 6.59999999999999964 0.400000000000000022
2546 Pectin, powder, unsweetened 725 0 0.400000000000000022 0.100000000000000006
2547 Pepino, peeled, raw 100 4.79999999999999982 0.599999999999999978 0.100000000000000006
2548 Pepper, ground, black or white 1208 0.599999999999999978 10.6999999999999993 2.70000000000000018
2549 Pepper, stuffed with cheese 645 2.29999999999999982 5.70000000000000018 13.4000000000000004
2550 Persimmon, peeled, raw 298 16.1000000000000014 0.599999999999999978 0.200000000000000011
2551 Pickles, mustard, sweet, commercial 348 14.6999999999999993 0.800000000000000044 0.5
2552 Pigeon (squab), whole, raw 1219 0 16.1999999999999993 25.5
2553 Pig (pork), wild caught, cooked 1164 0 27.3999999999999986 18.8999999999999986
2554 Pikelet, plain, commercial 912 13.8000000000000007 5.70000000000000018 4.29999999999999982
2555 Pikelet, plain, homemade from basic ingredients 1160 13.4000000000000004 7.5 5.90000000000000036
2556 Pineapple, canned in pineapple juice 236 12 0.5 0.599999999999999978
2557 Pineapple, canned in pineapple juice, drained 206 10.5 0.5 0.100000000000000006
2558 Pineapple, canned in pineapple juice, juice only 187 10.5999999999999996 0.299999999999999989 0
2559 Pineapple, canned in syrup 360 19.8000000000000007 0.299999999999999989 0.599999999999999978
2560 Pineapple, canned in syrup, drained 345 19.3999999999999986 0.200000000000000011 0.299999999999999989
2561 Pineapple, canned in syrup, syrup only 370 22 0.299999999999999989 0
2562 Pineapple (cayenne), peeled, raw 178 8.19999999999999929 0.599999999999999978 0.200000000000000011
2563 Pineapple, fresh, cooked in light syrup, drained 208 10.4000000000000004 0.200000000000000011 0.400000000000000022
2564 Pipi, wild harvested, cooked 307 0 12.1999999999999993 2.39999999999999991
2565 Plum, dark, canned in syrup 370 21.1000000000000014 0.299999999999999989 0.100000000000000006
2566 Plum, dark, canned in syrup, drained 385 21 0.400000000000000022 0.100000000000000006
2567 Plum, dark, canned in syrup, syrup only 354 21.1999999999999993 0.200000000000000011 0
2568 Plum, davidson (native), flesh 280 3.89999999999999991 1 0.200000000000000011
2569 Plum, salted 857 33.6000000000000014 3.70000000000000018 0
2570 Plum, stewed, sugar sweetened, no added fat 339 17.8000000000000007 0.599999999999999978 0.100000000000000006
2571 Plum, unpeeled, raw 162 6.5 0.599999999999999978 0.100000000000000006
2572 Polish sausage 1012 0.400000000000000022 17.6000000000000014 17.8000000000000007
2573 Pome fruit, raw, not further defined 241 11.5 0.299999999999999989 0.100000000000000006
2574 Pomegranate, peeled, raw 329 13.5 1.89999999999999991 0.200000000000000011
2575 Pork, belly, baked, roasted, fried, grilled or BBQd, fat not further defined 3117 0 13.3000000000000007 78.0999999999999943
2576 Pork, belly, baked, roasted, fried, grilled or BBQd, no added fat 3073 0 13.5 76.7999999999999972
2577 Pork, belly, boiled, casseroled, microwaved, poached, steamed or stewed, no added fat 2232 0 9.80000000000000071 55.7999999999999972
2578 Pork, belly, raw 2120 0 9.30000000000000071 53
2579 Pork, butterfly steak, fully-trimmed, baked, roasted, fried, grilled or BBQd, canola oil 773 0 34.2000000000000028 5.20000000000000018
2580 Pork, butterfly steak, fully-trimmed, baked, roasted, fried, grilled or BBQd, fat not further defined 783 0 34.7000000000000028 5.20000000000000018
2581 Pork, butterfly steak, fully-trimmed, baked, roasted, fried, grilled or BBQd, no added fat 656 0 32.5 2.79999999999999982
2582 Pork, butterfly steak, fully-trimmed, baked, roasted, fried, grilled or BBQd, olive oil 785 0 34.7000000000000028 5.20000000000000018
2583 Pork, butterfly steak, fully-trimmed, baked, roasted, fried, grilled or BBQd, other oil 785 0 34.7000000000000028 5.20000000000000018
2584 Pork, butterfly steak, fully-trimmed, raw 469 0 24.1000000000000014 1.60000000000000009
2585 Pork, butterfly steak, untrimmed, baked, roasted, fried, grilled or BBQd, no added fat 825 0 30.6000000000000014 8.19999999999999929
2586 Pork, butterfly steak, untrimmed, raw 643 0 22.6999999999999993 7
2587 Pork, coated, baked, roasted, fried, grilled or BBQd, fat not further defined 1024 0.800000000000000044 28.8999999999999986 7.20000000000000018
2588 Pork, coated, baked, roasted, fried, grilled or BBQd, no added fat 948 0.900000000000000022 29.3999999999999986 4.59999999999999964
2589 Pork, crackling, roasted, salted 2129 0 33.7999999999999972 42
2590 Pork, diced, fully-trimmed, baked, roasted, fried, stir-fried, grilled or BBQd, butter, dairy blend or margarine 811 0 32.8999999999999986 6.79999999999999982
2591 Pork, diced, fully-trimmed, baked, roasted, fried, stir-fried, grilled or BBQd, canola oil 833 0 32.8999999999999986 7.40000000000000036
2592 Pork, diced, fully-trimmed, baked, roasted, fried, stir-fried, grilled or BBQd, fat not further defined 831 0 32.8999999999999986 7.40000000000000036
2593 Pork, diced, fully-trimmed, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 647 0 31.3000000000000007 3.10000000000000009
2594 Pork, diced, fully-trimmed, baked, roasted, fried, stir-fried, grilled or BBQd, olive oil 821 0 32.3999999999999986 7.29999999999999982
2595 Pork, diced, fully-trimmed, baked, roasted, fried, stir-fried, grilled or BBQd, other oil 821 0 32.3999999999999986 7.29999999999999982
2596 Pork, diced, fully-trimmed, boiled, casseroled, microwaved, poached, steamed or stewed, fat not further defined 897 0 35.5 7.90000000000000036
2597 Pork, diced, fully-trimmed, boiled, casseroled, microwaved, poached, steamed or stewed, no added fat 797 0 36.2000000000000028 4.90000000000000036
2598 Pork, diced, fully-trimmed, raw 502 0 22.8000000000000007 3.10000000000000009
2599 Pork, fillet, fully-trimmed, baked, roasted, fried, grilled or BBQd, butter, dairy blend or margarine 712 0 33.2999999999999972 3.89999999999999991
2600 Pork, fillet, fully-trimmed, baked, roasted, fried, grilled or BBQd, canola oil 733 0 33.2999999999999972 4.5
2601 Pork, fillet, fully-trimmed, baked, roasted, fried, grilled or BBQd, fat not further defined 721 0 32.7999999999999972 4.40000000000000036
2602 Pork, fillet, fully-trimmed, baked, roasted, fried, grilled or BBQd, no added fat 566 0 28.5 2.20000000000000018
2603 Pork, fillet, fully-trimmed, baked, roasted, fried, grilled or BBQd, olive oil 702 0 31.8999999999999986 4.29999999999999982
2604 Pork, fillet, fully-trimmed, baked, roasted, fried, grilled or BBQd, other oil 723 0 32.7999999999999972 4.5
2605 Pork, fillet, fully-trimmed, boiled, casseroled, microwaved, poached, steamed or stewed, no added fat 688 0 36.7000000000000028 1.69999999999999996
2606 Pork, fillet, fully-trimmed, raw 433 0 23.1000000000000014 1.10000000000000009
2607 Pork, forequarter chop, fully-trimmed, baked, roasted, fried, grilled or BBQd, fat not further defined 793 0 28.1000000000000014 8.5
2608 Pork, forequarter chop, fully-trimmed, baked, roasted, fried, grilled or BBQd, no added fat 680 0 26.3000000000000007 6.29999999999999982
2609 Pork, forequarter chop, fully-trimmed, raw 476 0 19.5 3.89999999999999991
2610 Pork, forequarter (chop, roast, neck), separable fat, raw 2042 0 9.59999999999999964 50.7999999999999972
2611 Pork, forequarter chop, semi-trimmed, baked, roasted, fried, grilled or BBQd, no added fat 771 0 25.3999999999999986 9.19999999999999929
2612 Pork, forequarter chop, untrimmed, baked, roasted, fried, grilled or BBQd, fat not further defined 1239 0 25.3000000000000007 21.8999999999999986
2613 Pork, forequarter chop, untrimmed, baked, roasted, fried, grilled or BBQd, no added fat 988 0 23.3000000000000007 16
2614 Pork, forequarter chop, untrimmed, raw 785 0 17.5 13.1999999999999993
2615 Pork, forequarter, separable fat, grilled or BBQd, no added fat 2179 0 11.5 53.6000000000000014
2616 Pork, forequarter shoulder roast, fully-trimmed, baked or roasted, no added fat 658 0 24.8000000000000007 6.40000000000000036
2617 Pork, forequarter shoulder roast, fully-trimmed, raw 447 0 19.6000000000000014 3.10000000000000009
2618 Pork, forequarter shoulder roast, semi-trimmed, baked or roasted, no added fat 748 0 24 9.19999999999999929
2619 Pork, forequarter shoulder roast, untrimmed, baked or roasted, no added fat 901 0 22.6000000000000014 14
2620 Pork, forequarter shoulder roast, untrimmed, raw 762 0 17.6000000000000014 12.5
2621 Pork, head, cooked, with or without added fat 1210 0 27.8999999999999986 19.8999999999999986
2622 Pork, kebab, marinated, baked, roasted, fried, grilled or BBQd, fat not further defined 970 4.5 28.8000000000000007 10.5999999999999996
2623 Pork, leg roast, untrimmed, baked or roasted, no added fat 926 0 31.1999999999999993 10.6999999999999993
2624 Pork, leg roast, untrimmed, raw 685 0 21.6000000000000014 8.59999999999999964
2625 Pork, leg steak (round, rump, topside, silverside), as purchased, fried or stir-fried, no added fat 603 0 28.6000000000000014 3.10000000000000009
2626 Pork, leg steak (round, rump, topside, silverside), as purchased, raw 487 0 23.3000000000000007 2.39999999999999991
2627 Pork, leg steak (round, rump, topside, silverside), separable lean, fried or stir fried, no added fat 589 0 28.8000000000000007 2.70000000000000018
2628 Pork, leg steak (round, rump, topside, silverside), separable lean, raw 466 0 23.5 1.80000000000000004
2629 Pork, leg steak (rump), separable fat, fried or stir fried, no added fat 2191 0 12 53.7000000000000028
2630 Pork, leg steak (rump), separable fat, raw 2603 0 8.59999999999999964 66.4000000000000057
2631 Pork, loin chop, fully-trimmed, baked, roasted, fried, grilled or BBQd, butter, dairy blend or margarine 751 0 33.5 4.90000000000000036
2632 Pork, loin chop, fully-trimmed, baked, roasted, fried, grilled or BBQd, canola oil 762 0 33 5.5
2633 Pork, loin chop, fully-trimmed, baked, roasted, fried, grilled or BBQd, fat not further defined 771 0 33.3999999999999986 5.5
2634 Pork, loin chop, fully-trimmed, baked, roasted, fried, grilled or BBQd, no added fat 687 0 30.6000000000000014 4.5
2635 Pork, loin chop, fully-trimmed, baked, roasted, fried, grilled or BBQd, olive oil 773 0 33.3999999999999986 5.5
2636 Pork, loin chop, fully-trimmed, baked, roasted, fried, grilled or BBQd, other oil 762 0 33 5.5
2637 Pork, loin chop, fully-trimmed, boiled, casseroled, microwaved, poached, steamed or stewed, no added fat 732 0 36.7999999999999972 2.89999999999999991
2638 Pork, loin chop, fully-trimmed, raw 461 0 23.1999999999999993 1.80000000000000004
2639 Pork, loin chop, semi-trimmed, baked, roasted, fried, grilled or BBQd, butter, dairy blend or margarine 899 0 31.8999999999999986 9.59999999999999964
2640 Pork, loin chop, semi-trimmed, baked, roasted, fried, grilled or BBQd, canola oil 934 0 32.2999999999999972 10.4000000000000004
2641 Pork, loin chop, semi-trimmed, baked, roasted, fried, grilled or BBQd, fat not further defined 919 0 31.8999999999999986 10.1999999999999993
2642 Pork, loin chop, semi-trimmed, baked, roasted, fried, grilled or BBQd, no added fat 791 0 29.5 7.79999999999999982
2643 Pork, loin chop, semi-trimmed, baked, roasted, fried, grilled or BBQd, olive oil 934 0 32.2999999999999972 10.4000000000000004
2644 Pork, loin chop, semi-trimmed, baked, roasted, fried, grilled or BBQd, other oil 921 0 31.8999999999999986 10.1999999999999993
2645 Pork, loin chop, semi-trimmed, boiled, casseroled, microwaved, poached, steamed or stewed, no added fat 909 0 35.6000000000000014 8.19999999999999929
2646 Pork, loin chop, semi-trimmed, raw 573 0 22.3999999999999986 5.20000000000000018
2647 Pork, loin chop, separable fat, baked, roasted, fried, grilled or BBQd, no added fat 2765 0 8.80000000000000071 70.7000000000000028
2648 Pork, loin chop, separable fat, raw 2694 0 7.90000000000000036 69.2000000000000028
2649 Pork, loin chop, untrimmed, baked, roasted, fried, grilled or BBQd, no added fat 930 0 28 12.3000000000000007
2650 Pork, loin chop, untrimmed, baked, roasted, fried, grilled or BBQd, olive oil 1125 0 31 16.1000000000000014
2651 Pork, loin chop, untrimmed, baked, roasted, fried, grilled or BBQd, other oil 1125 0 31 16.1000000000000014
2652 Pork, loin chop, untrimmed, raw 705 0 21.5 9.19999999999999929
2653 Pork, loin cutlet, untrimmed, baked, roasted, fried, grilled or BBQd, no added fat 1240 0 30.8999999999999986 19.3000000000000007
2654 Pork, loin cutlet, untrimmed, raw 843 0 21 13.0999999999999996
2655 Pork, loin roast, fully-trimmed, baked or roasted, no added fat 860 0 31.8999999999999986 8.59999999999999964
2656 Pork, loin roast, fully-trimmed, boiled, casseroled, microwaved, poached, steamed, or stewed, no added fat 758 0 37 3.5
2657 Pork, loin roast, fully-trimmed, raw 478 0 23.3000000000000007 2.20000000000000018
2658 Pork, loin roast, semi-trimmed, baked or roasted, no added fat 883 0 32.8999999999999986 8.69999999999999929
2659 Pork, loin roast, semi-trimmed, raw 601 0 22.3999999999999986 5.90000000000000036
2660 Pork, loin roast, separable fat, baked or roasted, no added fat 2629 0 8.80000000000000071 67
2661 Pork, loin roast, separable fat, raw 2941 0 5.20000000000000018 77.0999999999999943
2662 Pork, loin roast, untrimmed, baked or roasted, no added fat 1093 0 28.8999999999999986 16.3000000000000007
2663 Pork, loin roast, untrimmed, raw 943 0 19.8999999999999986 16.3999999999999986
2664 Pork, medallion or loin steak, fully-trimmed, baked, roasted, fried, grilled or BBQd, fat not further defined 771 0 34.2000000000000028 5.09999999999999964
2665 Pork, medallion or loin steak, fully-trimmed, baked, roasted, fried, grilled or BBQd, no added fat 631 0 29.5 3.5
2666 Pork, medallion or loin steak, fully-trimmed, raw 469 0 24.1000000000000014 1.60000000000000009
2667 Pork, medallion or loin steak, separable fat, fried, grilled or BBQd, no added fat 2307 0 14.9000000000000004 55.5
2668 Pork, medallion or loin steak, separable fat, raw 2642 0 6.29999999999999982 68.5
2669 Pork, medallion or loin steak, untrimmed, baked, roasted, fried, grilled or BBQd, fat not further defined 979 0 32.5 11.5
2670 Pork, medallion or loin steak, untrimmed, raw 615 0 22.8999999999999986 6.09999999999999964
2671 Pork, mince, baked, roasted, fried or stir-fried, grilled or BBQd, canola oil 1103 0 26.8999999999999986 17.3999999999999986
2672 Pork, mince, baked, roasted, fried or stir-fried, grilled or BBQd, fat not further defined 1102 0 26.8999999999999986 17.3999999999999986
2673 Pork, mince, baked, roasted, fried or stir-fried, grilled or BBQd, no added fat 842 0 25.3999999999999986 11
2674 Pork, mince, baked, roasted, fried or stir-fried, grilled or BBQd, olive oil 1103 0 26.8999999999999986 17.3999999999999986
2675 Pork, mince, baked, roasted, fried or stir-fried, grilled or BBQd, other oil 1103 0 26.8999999999999986 17.3999999999999986
2676 Pork, mince, boiled, casseroled, microwaved, poached, steamed or stewed, added fat not further defined 1242 0 30.3999999999999986 19.6000000000000014
2677 Pork, mince, boiled, casseroled, microwaved, poached, steamed or stewed, no added fat 1149 0 31 16.8000000000000007
2678 Pork, mince, raw 724 0 19.5 10.5999999999999996
2679 Pork, pickled, cooked, with or without added fat 987 0 34.7000000000000028 10.8000000000000007
2680 Pork, round mini roast, fully-trimmed, baked or roasted, no added fat 682 0 34.7000000000000028 2.5
2681 Pork, round mini roast, fully-trimmed, raw 444 0 23.6999999999999993 1.10000000000000009
2682 Pork, round mini roast, separable fat, baked or roasted, no added fat 1961 0 16.3000000000000007 45.5
2683 Pork, round mini roast, separable fat, raw 1842 0 11.3000000000000007 44.6000000000000014
2684 Pork, round mini roast, untrimmed, baked or roasted, no added fat 699 0 34.5 3.10000000000000009
2685 Pork, round mini roast, untrimmed, raw 472 0 23.5 2
2686 Pork, round steak, fully-trimmed, baked, roasted, fried, grilled or BBQd, no added fat 563 0 29.3999999999999986 1.69999999999999996
2687 Pork, round steak, fully-trimmed, raw 416 0 22.1000000000000014 1.10000000000000009
2688 Pork, rump steak, fully-trimmed, baked, roasted, fried, grilled or BBQd no added fat 627 0 28.6000000000000014 3.79999999999999982
2689 Pork, rump steak, fully-trimmed, raw 508 0 25.3000000000000007 2.10000000000000009
2690 Pork, rump steak, untrimmed, baked, roasted, fried, grilled or BBQd, no added fat 836 0 36.5 5.79999999999999982
2691 Pork, rump steak, untrimmed, raw 568 0 24.8000000000000007 4
2692 Pork, scotch roast, fully-trimmed, baked or roasted, no added fat 964 0 30.6000000000000014 12
2693 Pork, scotch roast, fully-trimmed, raw 631 0 20.6000000000000014 7.59999999999999964
2694 Pork, scotch roast, separable fat, baked or roasted, no added fat 2076 0 12.1999999999999993 50.5
2695 Pork, scotch roast, separable fat, raw 2124 0 10.6999999999999993 52.5
2696 Pork, scotch roast, untrimmed, baked or roasted, fat not further defined 1393 0 27.1999999999999993 25.1999999999999993
2697 Pork, scotch roast, untrimmed, baked or roasted, no added fat 1024 0 29.6000000000000014 14.0999999999999996
2698 Pork, scotch roast, untrimmed, raw 893 0 18.8999999999999986 15.5
2699 Pork, silverside steak, fully-trimmed, baked, roasted, fried, grilled or BBQd, no added fat 585 0 27.8999999999999986 3
2700 Pork, silverside steak, fully-trimmed, raw 456 0 22.5 2
2701 Pork, silverside steak, untrimmed, raw 475 0 22.3999999999999986 2.60000000000000009
2702 Pork, spare ribs, fully-trimmed, baked, roasted, fried, grilled or BBQd, fat not further defined 1093 0 31.1999999999999993 15.1999999999999993
2703 Pork, spare ribs, fully-trimmed, baked, roasted, fried, grilled or BBQd, no added fat 1006 0 31.8999999999999986 12.5999999999999996
2704 Pork, spare ribs, fully-trimmed, boiled, casseroled, microwaved, poached, steamed, or stewed, fat not further defined 1180 0 33.7000000000000028 16.3999999999999986
2705 Pork, spare ribs, fully-trimmed, boiled, casseroled, microwaved, poached, steamed, or stewed, no added fat 1086 0 34.3999999999999986 13.5999999999999996
2706 Pork, spare ribs, fully-trimmed, raw 684 0 21.6999999999999993 8.5
2707 Pork, spare ribs, marinated, baked, roasted, fried, grilled or BBQd, fat not further defined 1504 4.5 25 26.8000000000000007
2708 Pork, spare ribs, semi-trimmed, baked, roasted, fried, grilled or BBQd, fat not further defined 1553 0 27.5 29.3000000000000007
2709 Pork, spare ribs, semi-trimmed, baked, roasted, fried, grilled or BBQd, no added fat 1477 0 28.1000000000000014 27
2710 Pork, spare ribs, semi-trimmed, boiled, casseroled, microwaved, poached, steamed, or stewed, no added fat 1618 0 30.6999999999999993 29.6000000000000014
2711 Pork, spare ribs, semi-trimmed, raw 1019 0 19.3999999999999986 18.6000000000000014
2712 Pork, spare ribs, untrimmed, baked, roasted, fried, grilled or BBQd, fat not further defined 1834 0 26.1999999999999993 37.5
2713 Pork, spare ribs, untrimmed, baked, roasted, fried, grilled or BBQd, no added fat 1762 0 26.6999999999999993 35.3999999999999986
2714 Pork, spare ribs, untrimmed, boiled, casseroled, microwaved, poached, steamed or stewed, fat not further defined 1979 0 28.1999999999999993 40.5
2715 Pork, spare ribs, untrimmed, boiled, casseroled, microwaved, poached, steamed or stewed, no added fat 1902 0 28.8000000000000007 38.2000000000000028
2716 Pork, spare ribs, untrimmed, raw 1198 0 18.1000000000000014 24
2717 Pork, strips, fully-trimmed, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 623 0 31.1999999999999993 2.5
2718 Pork, strips, fully-trimmed, raw 466 0 22.3999999999999986 2.29999999999999982
2719 Pork, topside steak, fully-trimmed, baked, roasted, fried, grilled or BBQd, no added fat 582 0 29.1999999999999993 2.29999999999999982
2720 Pork, topside steak, fully-trimmed, raw 482 0 24 2
2721 Pork, topside steak, untrimmed, baked, roasted, fried, grilled or BBQd, no added fat 583 0 29.1999999999999993 2.39999999999999991
2722 Porridge, brown rice, with added dry fruit, cooked with cows milk 425 6.70000000000000018 3.89999999999999991 2.20000000000000018
2723 Porridge, rice (congee), cooked with water 160 0 0.699999999999999956 0.100000000000000006
2724 Porridge, rolled oats mixed with sugar, flavours & dried fruit, prepared with cows milk 533 10.8000000000000007 4.90000000000000036 3.20000000000000018
2725 Porridge, rolled oats mixed with sugar, flavours & dried fruit, prepared with soy milk 517 8.19999999999999929 4.59999999999999964 3
2726 Porridge, rolled oats mixed with sugar, flavours & dried fruit, prepared with water 349 6.40000000000000036 2 1.39999999999999991
2727 Porridge, rolled oats mixed with sugar or honey & other flavours, prepared with cows milk 555 9.90000000000000036 4.70000000000000018 3.5
2728 Porridge, rolled oats mixed with sugar or honey & other flavours, prepared with soy milk 539 7.29999999999999982 4.5 3.20000000000000018
2729 Porridge, rolled oats mixed with sugar or honey & other flavours, prepared with water 371 5.5 1.89999999999999991 1.69999999999999996
2730 Porridge, rolled oats, prepared with cows milk 494 5.40000000000000036 5.59999999999999964 3.70000000000000018
2731 Porridge, rolled oats, prepared with cows milk & water 406 3 3.79999999999999982 3.20000000000000018
2732 Porridge, rolled oats, prepared with reduced fat cows milk 455 5.09999999999999964 5.70000000000000018 2.79999999999999982
2733 Porridge, rolled oats, prepared with regular fat cows milk 536 5.79999999999999982 5.40000000000000036 4.79999999999999982
2734 Porridge, rolled oats, prepared with rice milk 511 3.70000000000000018 2.5 2.5
2735 Porridge, rolled oats, prepared with skim cows milk 400 4.70000000000000018 5.59999999999999964 1.60000000000000009
2736 Porridge, rolled oats, prepared with soy milk 471 2.39999999999999991 5.29999999999999982 3.39999999999999991
2737 Porridge, rolled oats, prepared with soy milk & water 373 1.30000000000000004 3.79999999999999982 2.5
2738 Porridge, rolled oats, prepared with water 287 0.200000000000000011 2.39999999999999991 1.60000000000000009
2739 Porridge, rolled oats, with added fibre & Ca, prepared with cows milk 473 5.40000000000000036 5.79999999999999982 3.39999999999999991
2740 Port 600 12.4000000000000004 0.200000000000000011 0
2741 Possum, wild caught, flesh, cooked 701 0 33.6000000000000014 3.5
2742 Potato bake, made with bacon, cheese &/or cream 793 1.39999999999999991 5.90000000000000036 14.1999999999999993
2743 Potato bake, made with cheese 435 1 4.70000000000000018 4.59999999999999964
2744 Potato bake, made with cheese & cream 720 1.69999999999999996 4.90000000000000036 12.1999999999999993
2745 Potato bake, made with cream 612 1.80000000000000004 2.60000000000000009 9.90000000000000036
2746 Potato bake, made with mixed vegetables & cream &/or cheese 630 2.29999999999999982 4.5 10.4000000000000004
2747 Potato, chips, homemade from fresh potato, deep fried or fried, canola oil 811 0.900000000000000022 3.10000000000000009 11.9000000000000004
2748 Potato, chips, homemade from fresh potato, deep fried or fried, fat not further defined 804 0.900000000000000022 3.20000000000000018 11.6999999999999993
2749 Potato, chips, homemade from fresh potato, deep fried or fried, olive oil 811 0.900000000000000022 3.10000000000000009 11.9000000000000004
2750 Potato, chips, homemade from fresh potato, deep fried or fried, other oil 811 0.900000000000000022 3.10000000000000009 11.9000000000000004
2751 Potato, chips, reduced fat, purchased frozen, baked or roasted, no added fat 1111 0.200000000000000011 4.79999999999999982 5.40000000000000036
2752 Potato, chips, regular, fast food outlet, deep fried, blended oil, salted 948 0 3.79999999999999982 10.3000000000000007
2753 Potato, chips, regular, fast food outlet, deep fried, monounsaturated oil, salted 1025 0 3.79999999999999982 12.3000000000000007
2754 Potato, chips, regular, independent takeaway outlet, cafe or restaurant, deep fried, blended oil, no added salt 982 0 3.79999999999999982 11.1999999999999993
2755 Potato, chips, regular, independent takeaway outlet, cafe or restaurant, deep fried, blended oil, salted 982 0 3.79999999999999982 11.1999999999999993
2756 Potato, chips, regular, purchased frozen, baked or roasted, fat not further defined 1237 0.200000000000000011 4.70000000000000018 9.90000000000000036
2757 Potato, chips, regular, purchased frozen, baked or roasted, no added fat 1188 0.200000000000000011 4.79999999999999982 8.09999999999999964
2758 Potato, chips, regular, purchased frozen, deep fried or fried, fat not further defined 1274 0.200000000000000011 4.59999999999999964 11.3000000000000007
2759 Potato, coliban, peeled, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 368 1.5 3 0
2760 Potato, coliban, peeled, boiled, microwaved or steamed, drained 234 0 1 0
2761 Potato, coliban, peeled, raw 243 1 2 0
2762 Potato, desiree, peeled, baked, roasted, fried, stir-fried, grilled or BBQd, fat not further defined 621 2.39999999999999991 3.29999999999999982 7.40000000000000036
2763 Potato, desiree, peeled, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 364 2.60000000000000009 3.5 0
2764 Potato, desiree, peeled, boiled, microwaved or steamed, drained 245 1.69999999999999996 2.29999999999999982 0
2765 Potato, desiree, peeled, raw 240 1.69999999999999996 2.29999999999999982 0
2766 Potato, desiree, unpeeled, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 366 2.60000000000000009 3.5 0
2767 Potato, desiree, unpeeled, raw 242 1.69999999999999996 2.29999999999999982 0
2768 Potato, filled with bacon, cheese &/or sour cream 704 1.10000000000000009 8.09999999999999964 9.69999999999999929
2769 Potato, filled with cheese &/or sour cream 621 1.10000000000000009 5.70000000000000018 7.90000000000000036
2770 Potato, filled with legumes &/or vegetables 368 1.19999999999999996 3.5 0.5
2771 Potato, filled with meat & cheese &/or sour cream 501 1.60000000000000009 5.79999999999999982 4.90000000000000036
2772 Potato, for stuffed potato recipes 348 0.900000000000000022 2.79999999999999982 0.100000000000000006
2773 Potato, fries, fast food outlet, deep fried, blended oil, salted 1352 0.200000000000000011 4.79999999999999982 17.1999999999999993
2774 Potato, fries, fast food outlet, deep fried, monounsaturated oil, no added salt 1339 0.200000000000000011 4.79999999999999982 16.8000000000000007
2775 Potato, fries, fast food outlet, deep fried, monounsaturated oil, salted 1339 0.200000000000000011 4.79999999999999982 16.8000000000000007
2776 Potato, fries, homemade from fresh potato, peeled, deep-fried, fat not further defined 903 0.900000000000000022 3.10000000000000009 14.5999999999999996
2777 Potato, fries, independent takeaway outlet, cafe or restaurant, deep fried, blended oil, no added salt 1352 0.200000000000000011 4.79999999999999982 17.1999999999999993
2778 Potato, fries, independent takeaway outlet, cafe or restaurant, deep fried, blended oil, salted 1352 0.200000000000000011 4.79999999999999982 17.1999999999999993
2779 Potato, fries, regular, purchased frozen, baked or roasted, no added fat 1500 2.20000000000000018 7.70000000000000018 15.9000000000000004
2780 Potato, fries, regular, purchased frozen, deep fried or fried, fat not further defined 1367 1.80000000000000004 6.20000000000000018 17.1000000000000014
2781 Potato, fries, regular, purchased frozen, par-fried in canola oil, raw 720 1.10000000000000009 3.70000000000000018 7.59999999999999964
2782 Potato, gem, nugget or royal, independent takeaway outlet, cafe or restaurant, deep fried, fat not further defined 984 1.19999999999999996 4.09999999999999964 13.4000000000000004
2783 Potato, gem, nugget or royal, regular, purchased frozen, baked or roasted, with or without added fat 864 1.19999999999999996 4.20000000000000018 9.80000000000000071
2784 Potato, gem, nugget or royal, regular, purchased frozen, deep fried or fried, fat not further defined 982 1.19999999999999996 4.09999999999999964 13.4000000000000004
2785 Potato, gem, nugget or royal, regular, purchased frozen, par-fried in canola oil, raw 657 0.900000000000000022 3.20000000000000018 7.40000000000000036
2786 Potato, hash brown, independent takeaway outlet, cafe or restaurant, deep fried, oil not further defined 1042 1.19999999999999996 4.09999999999999964 15.0999999999999996
2787 Potato, hash brown, McDonalds 934 0.100000000000000006 2.10000000000000009 13.1999999999999993
2788 Potato, hash brown, purchased frozen, baked or roasted, fat not further defined 1041 1.19999999999999996 4.09999999999999964 15
2789 Potato, hash brown, purchased frozen, baked, roasted, grilled or BBQd, no added fat 964 1.19999999999999996 4.20000000000000018 12.6999999999999993
2790 Potato, hash brown, purchased frozen, par-fried in canola oil, raw 733 0.900000000000000022 3.20000000000000018 9.59999999999999964
2791 Potato, mashed, dried powder 1507 2.39999999999999991 7.09999999999999964 5.79999999999999982
2792 Potato, mashed, prepared from dried powder with cows milk or water 397 0.699999999999999956 2.70000000000000018 2.29999999999999982
2793 Potato, mashed, with gravy, as purchased from a fast food outlet 334 0.5 2.29999999999999982 2.10000000000000009
2794 Potato, new, peeled or unpeeled, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 419 0.800000000000000044 3.5 0.200000000000000011
2795 Potato, new, peeled or unpeeled, boiled, microwaved or steamed, drained 280 0.400000000000000022 2.5 0.100000000000000006
2796 Potato, new, peeled or unpeeled, raw 276 0.599999999999999978 2.29999999999999982 0.100000000000000006
2797 Potato, pale skin, peeled, baked, roasted, fried, stir-fried, grilled or BBQd, butter, dairy blend or margarine 628 0.900000000000000022 3.39999999999999991 6.20000000000000018
2798 Potato, pale skin, peeled, baked, roasted, fried, stir-fried, grilled or BBQd, canola oil 684 0.900000000000000022 3.29999999999999982 7.70000000000000018
2799 Potato, pale skin, peeled, baked, roasted, fried, stir-fried, grilled or BBQd, fat not further defined 679 0.900000000000000022 3.29999999999999982 7.59999999999999964
2800 Potato, pale skin, peeled, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 425 0.900000000000000022 3.5 0.200000000000000011
2801 Potato, pale skin, peeled, baked, roasted, fried, stir-fried, grilled or BBQd, olive oil 684 0.900000000000000022 3.29999999999999982 7.70000000000000018
2802 Potato, pale skin, peeled, baked, roasted, fried, stir-fried, grilled or BBQd, other oil 684 0.900000000000000022 3.29999999999999982 7.70000000000000018
2803 Potato, pale skin, peeled, boiled, microwaved or steamed, drained 262 0.200000000000000011 1.5 0.100000000000000006
2804 Potato, pale skin, peeled, boiled, microwaved or steamed, drained, added butter, dairy blend or margarine 423 0.599999999999999978 2.29999999999999982 4.20000000000000018
2805 Potato, pale skin, peeled, boiled, microwaved or steamed, drained, added fat not further defined 442 0.599999999999999978 2.29999999999999982 4.70000000000000018
2806 Potato, pale skin, peeled, boiled, microwaved or steamed, drained, added oil 461 0.599999999999999978 2.20000000000000018 5.20000000000000018
2807 Potato, pale skin, peeled or unpeeled, mashed with cows milk & butter or dairy blend 432 1.5 2.5 5.09999999999999964
2808 Potato, pale skin, peeled or unpeeled, mashed with cows milk & margarine spread 392 1.5 2.5 4
2809 Potato, pale skin, peeled, raw 280 0.599999999999999978 2.29999999999999982 0.100000000000000006
2810 Potato, pale skin, unpeeled, baked, roasted, fried, stir-fried, grilled or BBQd, butter, dairy blend or margarine 630 0.900000000000000022 3.39999999999999991 6.20000000000000018
2811 Potato, pale skin, unpeeled, baked, roasted, fried, stir-fried, grilled or BBQd, canola oil 686 0.900000000000000022 3.29999999999999982 7.70000000000000018
2812 Potato, pale skin, unpeeled, baked, roasted, fried, stir-fried, grilled or BBQd, fat not further defined 681 0.900000000000000022 3.29999999999999982 7.59999999999999964
2813 Potato, pale skin, unpeeled, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 427 0.900000000000000022 3.5 0.200000000000000011
2814 Potato, pale skin, unpeeled, baked, roasted, fried, stir-fried, grilled or BBQd, olive oil 686 0.900000000000000022 3.29999999999999982 7.70000000000000018
2815 Potato, pale skin, unpeeled, baked, roasted, fried, stir-fried, grilled or BBQd, other oil 686 0.900000000000000022 3.29999999999999982 7.70000000000000018
2816 Potato, pale skin, unpeeled, boiled, microwaved or steamed, added fat not further defined 444 0.599999999999999978 2.29999999999999982 4.70000000000000018
2817 Potato, pale skin, unpeeled, boiled, microwaved or steamed, drained 287 0.599999999999999978 2.39999999999999991 0.100000000000000006
2818 Potato, pale skin, unpeeled, raw 282 0.599999999999999978 2.29999999999999982 0.100000000000000006
2819 Potato, peeled, baked, roasted, fried, stir-fried, grilled or BBQd, butter, dairy blend or margarine 624 1 3.39999999999999991 6.20000000000000018
2820 Potato, peeled, baked, roasted, fried, stir-fried, grilled or BBQd, canola oil 680 1 3.29999999999999982 7.70000000000000018
2821 Potato, peeled, baked, roasted, fried, stir-fried, grilled or BBQd, fat not further defined 676 1 3.39999999999999991 7.59999999999999964
2822 Potato, peeled, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 399 1.69999999999999996 3.5 0.100000000000000006
2823 Potato, peeled, baked, roasted, fried, stir-fried, grilled or BBQd, olive oil 680 1 3.29999999999999982 7.70000000000000018
2824 Potato, peeled, baked, roasted, fried, stir-fried, grilled or BBQd, other oil 680 1 3.29999999999999982 7.70000000000000018
2825 Potato, peeled, boiled, microwaved or steamed, added fat not further defined 440 0.699999999999999956 2.29999999999999982 4.70000000000000018
2826 Potato, peeled, boiled, microwaved or steamed, drained 280 0.200000000000000011 1.69999999999999996 0.100000000000000006
2827 Potato, peeled, boiled, microwaved or steamed, drained, added butter, dairy spread or margarine 420 0.699999999999999956 2.29999999999999982 4.09999999999999964
2828 Potato, peeled, mashed, prepared, from cafe or restaurant 633 1.30000000000000004 2.29999999999999982 11
2829 Potato, peeled or unpeeled, mashed with cows milk & butter or dairy blend 430 1.60000000000000009 2.5 5.09999999999999964
2830 Potato, peeled or unpeeled, mashed with cows milk & margarine spread 390 1.60000000000000009 2.5 4
2831 Potato, peeled or unpeeled, mashed with cows milk & oil 472 1.60000000000000009 2.5 6.29999999999999982
2832 Potato, peeled, raw, not further defined 278 0.699999999999999956 2.29999999999999982 0.100000000000000006
2833 Potato, pontiac, peeled, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 421 1.10000000000000009 3.60000000000000009 0.200000000000000011
2834 Potato, pontiac, peeled, boiled, microwaved or steamed, drained 283 0.699999999999999956 2.39999999999999991 0.100000000000000006
2835 Potato, pontiac, peeled, raw 278 0.699999999999999956 2.39999999999999991 0.100000000000000006
2836 Potato, red skin, peeled, baked, roasted, fried, stir-fried, grilled or BBQd, fat not further defined 649 1.69999999999999996 3.39999999999999991 7.5
2837 Potato, red skin, peeled, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 394 1.80000000000000004 3.60000000000000009 0.100000000000000006
2838 Potato, red skin, peeled, boiled, microwaved or steamed, drained 298 0.200000000000000011 2 0
2839 Potato, red skin, peeled or unpeeled, mashed with cows milk & butter or dairy blend 414 2 2.5 5.09999999999999964
2840 Potato, red skin, peeled, raw 260 1.19999999999999996 2.39999999999999991 0
2841 Potato, red skin, unpeeled, baked, roasted, fried, stir-fried, grilled or BBQd, fat not further defined 628 2.29999999999999982 3.29999999999999982 7.5
2842 Potato, red skin, unpeeled, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 371 2.39999999999999991 3.5 0
2843 Potato, red skin, unpeeled, boiled, microwaved or steamed, added fat not further defined 408 1.60000000000000009 2.29999999999999982 4.59999999999999964
2844 Potato, red skin, unpeeled, boiled, microwaved or steamed, drained 250 1.60000000000000009 2.39999999999999991 0
2845 Potato, red skin, unpeeled, raw 245 1.60000000000000009 2.29999999999999982 0
2846 Potato, sebago, peeled, baked, roasted, fried, stir-fried, grilled or BBQd, animal fat 493 0.200000000000000011 2.89999999999999991 2.5
2847 Potato, sebago, peeled, boiled & mashed without added ingredients 289 1 2.5 0.400000000000000022
2848 Potato, sebago, peeled, raw 303 0.400000000000000022 2.5 0.200000000000000011
2849 Potato, sebago, unpeeled, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 312 0.400000000000000022 2.5 0.400000000000000022
2850 Potato, sebago, unpeeled, boiled, microwaved or steamed, drained 261 0 2.20000000000000018 0
2851 Potato straws, French fries, plain 2167 0.200000000000000011 6.90000000000000036 31
2852 Potato straws, French fries, salt & vinegar flavoured 2141 3.10000000000000009 7 31.3999999999999986
2853 Potato, unpeeled, baked, roasted, fried, stir-fried, grilled or BBQd, butter, dairy blend or margarine 623 1.10000000000000009 3.39999999999999991 6.20000000000000018
2854 Potato, unpeeled, baked, roasted, fried, stir-fried, grilled or BBQd, fat not further defined 676 1 3.39999999999999991 7.59999999999999964
2855 Potato, unpeeled, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 419 1.10000000000000009 3.5 0.100000000000000006
2856 Potato, unpeeled, baked, roasted, fried, stir-fried, grilled or BBQd, olive oil 680 1 3.29999999999999982 7.70000000000000018
2857 Potato, unpeeled, baked, roasted, fried, stir-fried, grilled or BBQd, other oil 680 1 3.29999999999999982 7.70000000000000018
2858 Potato, unpeeled, boiled, microwaved or steamed, drained, with or without added fat 284 0.699999999999999956 2.39999999999999991 0.100000000000000006
2859 Potato, unpeeled, raw, not further defined 277 0.699999999999999956 2.29999999999999982 0.100000000000000006
2860 Potato, wedges, independent takeaway outlet, cafe or restaurant, deep fried, blended oil, salted 809 0 3.79999999999999982 6.5
2861 Potato, wedges, regular, purchased frozen, baked or roasted, no added fat 784 1.10000000000000009 3.60000000000000009 5.29999999999999982
2862 Potato, wedges, regular, purchased frozen, deep fried or fried, fat not further defined 824 1.10000000000000009 3.5 6.5
2863 Potato, wedges, regular, purchased frozen, par-fried in canola oil, raw 596 0.800000000000000044 2.70000000000000018 4
2864 Potato, wild harvested, cooked 430 1.19999999999999996 1.69999999999999996 0.400000000000000022
2865 Powder, medical or special purpose, added vitamins & minerals 2041 0 0 23
2866 Prawn, coated, fried or deep fried, fat not further defined 778 0.400000000000000022 21.1000000000000014 8.30000000000000071
2867 Prawn, coated, packaged frozen, baked, roasted, fried, grilled or BBQd, fat not further defined 983 0 18.8000000000000007 8.40000000000000036
2868 Prawn, coated, takeaway outlet, deep fried 1136 1.19999999999999996 13 15
2869 Prawn, king or medium, flesh, baked, roasted, fried, grilled or BBQd, fat not further defined 504 0 25.3999999999999986 2
2870 Prawn, king or medium, flesh, baked, roasted, fried, grilled or BBQd, no added fat 463 0 25.6000000000000014 0.800000000000000044
2871 Prawn, king or medium, flesh, boiled, microwaved, steamed or poached, fat not further defined 468 0 23.5 1.89999999999999991
2872 Prawn, king or medium, flesh, boiled, microwaved, steamed or poached, no added fat 436 0 23.6999999999999993 0.900000000000000022
2873 Prawn, king or medium, raw (green) 371 0 20.5 0.599999999999999978
2874 Prawn, school, flesh, boiled, microwaved, steamed or poached, no added fat 320 0 17.1000000000000014 0.800000000000000044
2875 Prickly pear, peeled, raw 204 8.80000000000000071 0.400000000000000022 0.299999999999999989
2876 Processed meat, for use in garden s 737 0.699999999999999956 21.1999999999999993 8.69999999999999929
2877 Prosciutto 1224 0.299999999999999989 30.8000000000000007 18.8000000000000007
2878 Prune (dried plum) 841 31 2.29999999999999982 0.400000000000000022
2879 Psyllium, cooked in soy milk, no added salt 226 2.29999999999999982 3.20000000000000018 1.89999999999999991
2880 Psyllium, cooked in water, no added salt 19 0 0.100000000000000006 0
2881 Psyllium, dry, uncooked 764 1.19999999999999996 3 0.699999999999999956
2882 Pumpkin, butternut, peeled, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, fat not further defined 425 5.79999999999999982 2.39999999999999991 6.40000000000000036
2883 Pumpkin, butternut, peeled, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 222 6.09999999999999964 2.5 0.699999999999999956
2884 Pumpkin, butternut, peeled, fresh or frozen, boiled, microwaved or steamed, drained, with or without added fat 197 5.40000000000000036 2.20000000000000018 0.599999999999999978
2885 Pumpkin, butternut, peeled, fresh or frozen, raw 189 5.20000000000000018 2.10000000000000009 0.599999999999999978
2886 Pumpkin, golden nugget, peeled, fresh or frozen, baked or roasted, no added fat 146 3.10000000000000009 2.60000000000000009 0.400000000000000022
2887 Pumpkin, golden nugget, peeled, fresh or frozen, raw 124 2.60000000000000009 2.20000000000000018 0.299999999999999989
2888 Pumpkin, jarrahdale, peeled, fresh or frozen, baked or roasted, no added fat 131 5.09999999999999964 0.800000000000000044 0.100000000000000006
2889 Pumpkin, jarrahdale, peeled, fresh or frozen, boiled, microwaved or steamed, drained 116 4.5 0.699999999999999956 0.100000000000000006
2890 Pumpkin, jarrahdale, peeled, fresh or frozen, raw 111 4.29999999999999982 0.699999999999999956 0.100000000000000006
2891 Pumpkin, peeled, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, canola oil 353 4.20000000000000018 1 6
2892 Pumpkin, peeled, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, fat not further defined 349 4.20000000000000018 1 5.90000000000000036
2893 Pumpkin, peeled, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 142 4.40000000000000036 1.10000000000000009 0.200000000000000011
2894 Pumpkin, peeled, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, olive oil 353 4.20000000000000018 1 6
2895 Pumpkin, peeled, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, other oil 353 4.20000000000000018 1 6
2896 Pumpkin, peeled, fresh or frozen, boiled, microwaved or steamed, added fat not further defined 294 3.70000000000000018 0.900000000000000022 4.79999999999999982
2897 Pumpkin, peeled, fresh or frozen, boiled, microwaved or steamed, drained 126 3.89999999999999991 1 0.100000000000000006
2898 Pumpkin, peeled, fresh or frozen, boiled, microwaved or steamed, drained, added butter, dairy blend or margarine 274 3.70000000000000018 1 4.29999999999999982
2899 Pumpkin, peeled, fresh or frozen, raw 121 3.70000000000000018 0.900000000000000022 0.100000000000000006
2900 Pumpkin, queensland blue, peeled, fresh or frozen, baked or roasted, no added fat 244 5.79999999999999982 2.39999999999999991 0.400000000000000022
2901 Pumpkin, queensland blue, peeled, fresh or frozen, boiled, microwaved or steamed, drained 216 5.09999999999999964 2.10000000000000009 0.299999999999999989
2902 Pumpkin, queensland blue, peeled, fresh or frozen, raw 208 4.90000000000000036 2 0.299999999999999989
2903 Pumpkin, unpeeled, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, canola oil 428 6.79999999999999982 1.60000000000000009 6.09999999999999964
2904 Pumpkin, unpeeled, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, fat not further defined 424 6.79999999999999982 1.60000000000000009 6
2905 Pumpkin, unpeeled, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 221 7.09999999999999964 1.69999999999999996 0.200000000000000011
2906 Pumpkin, unpeeled, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, olive oil 428 6.79999999999999982 1.60000000000000009 6.09999999999999964
2907 Pumpkin, unpeeled, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, other oil 428 6.79999999999999982 1.60000000000000009 6.09999999999999964
2908 Pumpkin, unpeeled, fresh or frozen, boiled, microwaved or steamed, drained, with or without added fat 196 6.29999999999999982 1.5 0.200000000000000011
2909 Pumpkin, unpeeled, fresh or frozen, raw 188 6.09999999999999964 1.39999999999999991 0.200000000000000011
2910 Quail, flesh & skin, baked, roasted, fried, grilled or BBQd, fat not further defined 1040 0 24.1999999999999993 17
2911 Quail, flesh & skin, baked, roasted, fried, grilled or BBQd, no added fat 826 0 27.6999999999999993 9.59999999999999964
2912 Quail, flesh & skin, raw 722 0 18.5 11
2913 Quandong, fruit, flesh 206 8.09999999999999964 2.5 0
2914 Quince, peeled, cooked, sweetened 322 16 0.5 0.200000000000000011
2915 Quinoa, cooked in milk, no added salt 501 5.70000000000000018 5.90000000000000036 3.10000000000000009
2916 Quinoa, cooked in water & fat, no added salt 447 1.39999999999999991 3.89999999999999991 2.70000000000000018
2917 Quinoa, cooked in water, no added salt 414 1.39999999999999991 3.89999999999999991 1.69999999999999996
2918 Quinoa, uncooked 1487 4.90000000000000036 14.0999999999999996 6.09999999999999964
2919 Rabbit, farmed, whole, raw 472 0 23.1999999999999993 2.10000000000000009
2920 Rabbit, flesh, boiled, casseroled, microwaved, poached, steamed, or stewed, no added fat 712 0.200000000000000011 29.3000000000000007 5.70000000000000018
2921 Radish, peeled or unpeeled, raw 74 2.39999999999999991 0.800000000000000044 0.200000000000000011
2922 Radish, red skinned, unpeeled, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 76 2.29999999999999982 1 0.200000000000000011
2923 Radish, red skinned, unpeeled, raw 62 1.89999999999999991 0.800000000000000044 0.200000000000000011
2924 Radish, white skinned, peeled or unpeeled, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 105 3.5 0.900000000000000022 0.400000000000000022
2925 Radish, white skinned, peeled or unpeeled, raw 86 2.89999999999999991 0.699999999999999956 0.299999999999999989
2926 Raisin 1210 66.9000000000000057 3.29999999999999982 0.5
2927 Rambutan, raw 312 15.6999999999999993 1 0.400000000000000022
2928 Raspberry, canned in syrup 315 16.8000000000000007 0.599999999999999978 0.100000000000000006
2929 Raspberry, canned in syrup, drained 343 15.9000000000000004 1 0.200000000000000011
2930 Raspberry, canned in syrup, syrup only 296 17.5 0.200000000000000011 0
2931 Raspberry, purchased frozen 203 6.5 1.10000000000000009 0.200000000000000011
2932 Raspberry, raw 203 6.5 1.10000000000000009 0.200000000000000011
2933 Relish, corn, commercial 435 17.8000000000000007 0.599999999999999978 0.100000000000000006
2934 Relish, onion, commercial 715 19 1.19999999999999996 9.69999999999999929
2935 Rhubarb, stalk, raw 94 1.69999999999999996 1.5 0.200000000000000011
2936 Rhubarb, stewed, sugar sweetened, no added fat 269 13 1.39999999999999991 0.200000000000000011
2937 Rice bran, extruded or low processed, uncooked 1631 6.5 13.4000000000000004 20.3999999999999986
2938 Rice, brown, boiled, no added salt 639 0.299999999999999989 2.89999999999999991 1
2939 Rice, brown, fried, no meat or vegetables, oil not further defined, homemade 970 0.400000000000000022 3.89999999999999991 4.09999999999999964
2940 Rice, brown, fried with bacon or ham, egg & mixed vegetables 709 2.10000000000000009 7.09999999999999964 5.90000000000000036
2941 Rice, brown, fried with chicken, egg & mixed vegetables 685 1.80000000000000004 10.1999999999999993 5.29999999999999982
2942 Rice, brown, fried with mixed vegetables 692 2.5 3.39999999999999991 4.90000000000000036
2943 Rice, brown, purchased par-cooked or instant, cooked 669 0.299999999999999989 2.89999999999999991 2
2944 Rice, brown, uncooked 1554 0.699999999999999956 7.29999999999999982 2.39999999999999991
2945 Rice, cooked, for making sushi 637 2.20000000000000018 2.39999999999999991 0.100000000000000006
2946 Rice, flavoured, instant dry mix 1620 1.60000000000000009 8 9.59999999999999964
2947 Rice, flavoured, prepared from dry mix 692 0.699999999999999956 3.39999999999999991 4.09999999999999964
2948 Rice, ground brown rice, with added dry fruit, uncooked 1486 13.5 6.40000000000000036 2
2949 Rice paper wrapper, soaked in water 691 0.200000000000000011 2.5 0.599999999999999978
2950 Rice, purchased as parboiled (gold rice), boiled, no added salt 512 0.299999999999999989 2.10000000000000009 0.400000000000000022
2951 Rice, purchased as parboiled (gold rice), uncooked 1525 0.800000000000000044 6.70000000000000018 1.19999999999999996
2952 Rice, red, steamed or rice cooker, no added salt 639 0.299999999999999989 2.89999999999999991 1
2953 Rice, white, boiled, no added salt 671 0.100000000000000006 2.70000000000000018 0.100000000000000006
2954 Rice, white, boiled, steamed or microwaved with coconut milk 759 1.10000000000000009 2.70000000000000018 5.40000000000000036
2955 Rice, white, fried, no meat or vegetables, oil not further defined, homemade or commercial 1215 0.299999999999999989 3.70000000000000018 10.8000000000000007
2956 Rice, white, fried with bacon or ham, egg & mixed vegetables 728 2 7 5.40000000000000036
2957 Rice, white, fried with bacon or ham, egg, mixed vegetables & nuts 880 2.29999999999999982 8 8.90000000000000036
2958 Rice, white, fried with bacon or ham, egg, prawns & vegetables 920 0.400000000000000022 5.70000000000000018 8.5
2959 Rice, white, fried with beef, lamb or pork & mixed vegetables 734 1.80000000000000004 10.9000000000000004 4.79999999999999982
2960 Rice, white, fried with chicken, egg & mixed vegetables 701 1.69999999999999996 10.0999999999999996 4.90000000000000036
2961 Rice, white, fried with chicken & mixed vegetables 698 1.80000000000000004 9.59999999999999964 4.40000000000000036
2962 Rice, white, fried with egg 1012 0.900000000000000022 7.70000000000000018 10.0999999999999996
2963 Rice, white, fried with egg & mixed vegetables 746 2.20000000000000018 4.59999999999999964 5.70000000000000018
2964 Rice, white, fried with egg, mixed vegetables & seafood 691 1.69999999999999996 11.1999999999999993 4.09999999999999964
2965 Rice, white, fried with lentils 642 0.599999999999999978 4.70000000000000018 4.59999999999999964
2966 Rice, white, fried with mixed vegetables 715 2.39999999999999991 3.20000000000000018 4.29999999999999982
2967 Rice, white, fried with mixed vegetables & seafood 736 1.80000000000000004 11.3000000000000007 4.59999999999999964
2968 Rice, white, pilaf style, with butter, stock & spices 892 0.200000000000000011 3.39999999999999991 3.70000000000000018
2969 Rice, white, purchased par-cooked or instant, cooked 701 0.100000000000000006 2.70000000000000018 1.10000000000000009
2970 Rice, white, steamed or rice cooker, no added salt 671 0.100000000000000006 2.70000000000000018 0.100000000000000006
2971 Rice, white, uncooked 1486 0.200000000000000011 6.29999999999999982 0.5
2972 Rice, wild, boiled, no added salt 425 0.699999999999999956 4 0.299999999999999989
2973 Rice, wild, uncooked 1505 2.5 14.6999999999999993 1.10000000000000009
2974 Rocket, cooked, with or without added fat 111 0.200000000000000011 3.79999999999999982 0.599999999999999978
2975 Rocket, raw 95 0.200000000000000011 3.20000000000000018 0.5
2976 Rosemary, dried 1405 18.1000000000000014 9.5 16.6999999999999993
2977 Rosemary, raw 492 6.29999999999999982 3.29999999999999982 5.90000000000000036
2978 Rum, dark & light coloured 887 0 0 0
2979 Rye, grains, cooked in water 655 0.699999999999999956 5.90000000000000036 1.10000000000000009
2980 Rye, uncooked 1318 1.39999999999999991 12 2.29999999999999982
2981 Sage, dried 1320 1.69999999999999996 10.5999999999999996 12.8000000000000007
2982 Sago, cooked in milk, no added salt 349 5.29999999999999982 3.39999999999999991 2.20000000000000018
2983 Sago, cooked in water, no added salt 229 0 0 0.100000000000000006
2984 Sago, dry, uncooked 1453 0 0 0.400000000000000022
2985 Salami, danish 1858 0.800000000000000044 19.6000000000000014 40.2000000000000028
2986 Salami, hungarian 1783 0 21.6000000000000014 37.3999999999999986
2987 Salami, mettwurst 1791 0.5 21.8999999999999986 37.5
2988 Salami, milano 1781 1 21.6999999999999993 36.8999999999999986
2989 Salami, not further defined 1797 0.599999999999999978 21.6999999999999993 37.6000000000000014
2990 Salami, pepperoni 1774 0.800000000000000044 23.5 36.1000000000000014
2991 Salmon, Atlantic, raw 863 0 21.5 13.4000000000000004
2992 Salmon, baked, roasted, fried, grilled or BBQd, butter, dairy blend or margarine 1288 0 28.3999999999999986 21.8000000000000007
2993 Salmon, baked, roasted, fried, grilled or BBQd, no added fat 1202 0 29.1999999999999993 19.1000000000000014
2994 Salmon, baked, roasted, grilled, BBQd, fried or deep fried, canola oil 1318 0 28.3000000000000007 22.6000000000000014
2995 Salmon, baked, roasted, grilled, BBQd, fried or deep fried, fat not further defined 1315 0 28.3000000000000007 22.5
2996 Salmon, baked, roasted, grilled, BBQd, fried or deep fried, olive oil 1318 0 28.3000000000000007 22.6000000000000014
2997 Salmon, baked, roasted, grilled, BBQd, fried or deep fried, other oil 1318 0 28.3000000000000007 22.6000000000000014
2998 Salmon, boiled, microwaved, steamed or poached, with or without added fat 1061 0 25.3000000000000007 17.1000000000000014
2999 Salmon, canned, drained, not further defined 604 0.5 22.1999999999999993 5.79999999999999982
3000 Salmon, coated, baked, roasted, fried, grilled or BBQd, fat not further defined 1302 0.400000000000000022 22.6000000000000014 21.6999999999999993
3001 Salmon, coated, baked, roasted, fried, grilled or BBQd, no added fat 1107 0.5 23.6999999999999993 15.3000000000000007
3002 Salmon, flavoured, canned, drained 584 4.40000000000000036 16.8000000000000007 5.40000000000000036
3003 Salmon, Pacific king, raw 1149 0 18.1000000000000014 22.8000000000000007
3004 Salmon, pink, unflavoured, canned in brine, drained 579 0 20.6999999999999993 6.20000000000000018
3005 Salmon, pink, unflavoured, canned in water, drained 613 0 21.8999999999999986 6.5
3006 Salmon, raw, not further defined 877 0 21.3000000000000007 13.9000000000000004
3007 Salmon, red, unflavoured, canned in brine, drained 617 0 24.3999999999999986 5.5
3008 Salmon, red, unflavoured, canned in water, drained 702 0 21.8999999999999986 8.90000000000000036
3009 Salmon, sashimi style, raw 879 0 22.3000000000000007 13.5
3010 Salmon, smoked, sliced 724 0 23 9
3011 Salmon, unflavoured, canned, drained 606 0 22.8999999999999986 5.79999999999999982
3012 Salmon, unflavoured, canned in brine, drained 604 0 23.1000000000000014 5.70000000000000018
3013 Salmon, unflavoured, canned in oil 760 0 21.5 10.6999999999999993
3014 Salmon, unflavoured, canned in water, drained 622 0 21.8999999999999986 6.70000000000000018
3015 Saltbush, ruby, fruit 442 11 5.70000000000000018 0.400000000000000022
3016 Salt, cooking 0 0 0 0
3017 Salt, flavoured 0 0 0 0
3018 Salt, not further defined 0 0 0 0
3019 Salt, rock 0 0 0 0
3020 Salt, sea 0 0 0 0
3021 Salt, table, iodised 0 0 0 0
3022 Salt, table, non-iodised 0 0 0 0
3023 Paprika, dry powder 1311 10.3000000000000007 14.0999999999999996 12.9000000000000004
3024 Sardine, canned in oil, drained 952 0 21.8000000000000007 15.6999999999999993
3025 Sardine, canned in oil, undrained 1283 0 17.6000000000000014 26.6000000000000014
3026 Sardine, canned in tomato sauce, undrained 678 1.39999999999999991 17 9.90000000000000036
3027 Sardine, canned in water, drained 721 0 21.5 9.59999999999999964
3028 Sardine, cooked, not further defined 687 0 25.3000000000000007 6.90000000000000036
3029 Sardine, raw 442 0 19.6999999999999993 2.89999999999999991
3030 Sauce, apple, commercial 325 18.3999999999999986 0.200000000000000011 0.100000000000000006
3031 Sauce, apple, homemade 287 15.3000000000000007 0.299999999999999989 0.200000000000000011
3032 Sauce, apricot, commercial or homemade 275 6.29999999999999982 0.800000000000000044 0.400000000000000022
3033 Sauce, barbecue, commercial 738 40.2000000000000028 0.699999999999999956 0.200000000000000011
3034 Sauce, barbecue, homemade 570 25.8999999999999986 1.39999999999999991 0.400000000000000022
3035 Sauce, basil pesto, homemade 2149 0.5 6.59999999999999964 53.7999999999999972
3036 Sauce, bearnaise, homemade 1554 0.599999999999999978 3.29999999999999982 39.2000000000000028
3037 Sauce, black bean, commercial 528 15.3000000000000007 4.09999999999999964 2.79999999999999982
3038 Sauce, butter chicken, commercial 425 3.60000000000000009 1.30000000000000004 7.90000000000000036
3039 Sauce, cheese, homemade with undefined cows milk & fat 834 4.29999999999999982 8 14.5999999999999996
3040 Sauce, chilli (chili), Asian, commercial 472 15 0.900000000000000022 2.60000000000000009
3041 Sauce, cocktail or seafood, commercial or homemade 884 18.8999999999999986 1.60000000000000009 12.4000000000000004
3042 Sauce, cranberry, commercial 643 39.1000000000000014 0.200000000000000011 0.100000000000000006
3043 Sauce, cream based, homemade from basic ingredients 1201 3.5 2.20000000000000018 29.6999999999999993
3044 Sauce, curry, Asian, commercial 620 2.20000000000000018 1.30000000000000004 11.8000000000000007
3045 Sauce, enchilada, commercial 167 6.09999999999999964 0.699999999999999956 0.299999999999999989
3046 Sauce, fish, commercial 213 4.40000000000000036 6.79999999999999982 0.299999999999999989
3047 Sauce, garlic, commercial 781 6.59999999999999964 1.5 5.79999999999999982
3048 Sauce, garlic, homemade 2060 0.699999999999999956 1 52.5
3049 Sauce, hoi sin, commercial 922 33.5 1.69999999999999996 5.40000000000000036
3050 Sauce, hollandaise, homemade 2403 0.200000000000000011 5.09999999999999964 62.3999999999999986
3051 Sauce, honey soy, commercial 677 31.3000000000000007 1.69999999999999996 1.10000000000000009
3052 Sauce, horseradish, commercial 784 13.6999999999999993 4.20000000000000018 11
3053 Sauce, HP, commercial, regular 569 23.3000000000000007 0.699999999999999956 0.100000000000000006
3054 Sauce, lemon chicken, commercial 461 21 0.5 0.200000000000000011
3055 Sauce, mint, commercial or homemade 564 33 0.100000000000000006 0
3056 Sauce, mushroom, commercial, ready to eat 619 1.69999999999999996 0.900000000000000022 11.4000000000000004
3057 Sauce, mushroom, homemade 791 1.5 2.20000000000000018 18.6000000000000014
3058 Sauce, mushroom, prepared from commercial dry mix 153 0.400000000000000022 0.900000000000000022 0.699999999999999956
3059 Sauce, mustard, homemade 627 5.09999999999999964 3 12
3060 Sauce, oyster, commercial 473 15.5999999999999996 2.79999999999999982 1
3061 Sauce, pad Thai, commercial 618 27.1999999999999993 1.5 0.299999999999999989
3062 Sauce, pasta, basil pesto, commercial 1598 2.10000000000000009 5.29999999999999982 37.1000000000000014
3063 Sauce, pasta, beef bolognese, commercial 378 4.40000000000000036 5.40000000000000036 4.59999999999999964
3064 Sauce, pasta, bolognese, homemade using beef mince & commercial tomato based sauce 489 3.70000000000000018 10.4000000000000004 6.09999999999999964
3065 Sauce, pasta, bolognese, homemade using beef mince & homemade tomato based sauce 379 1.5 9.40000000000000036 4.79999999999999982
3066 Sauce, pasta, bolognese, homemade using beef mince & homemade tomato based sauce with vegetables 356 2 8.5 4.20000000000000018
3067 Sauce, pasta, carbonara, commercial 565 2.70000000000000018 3.60000000000000009 10.5999999999999996
3068 Sauce, pasta, carbonara, homemade 1367 0.900000000000000022 18 28
3069 Sauce, pasta, cheese or cream-based, commercial 436 3.29999999999999982 1.69999999999999996 8.30000000000000071
3070 Sauce, pasta or simmer, not further defined, commercial, low fat 240 3.5 0.800000000000000044 2.89999999999999991
3071 Sauce, pasta, pesto, for pasta recipes 1582 2.20000000000000018 5.70000000000000018 37.5
3072 Sauce, pasta, rocket pesto, homemade 2141 0.599999999999999978 7 53.7999999999999972
3073 Sauce, pasta, tomato-based, commercial 227 6.09999999999999964 1.60000000000000009 1.60000000000000009
3074 Sauce, pasta, tomato based, homemade 110 3.70000000000000018 1 0.299999999999999989
3075 Sauce, pasta, tomato pesto, commercial 1265 3.20000000000000018 5.40000000000000036 29.1000000000000014
3076 Sauce, pepper, commercial 238 3.60000000000000009 2.39999999999999991 0.5
3077 Sauce, pepper, homemade 1019 1.5 2 24
3078 Sauce, plum, commercial 958 48.2000000000000028 0.100000000000000006 0.800000000000000044
3079 Sauce, salsa, tomato-based, commercial 146 4.90000000000000036 1.30000000000000004 0
3080 Sauce, salsa, tomato-based, homemade from basic ingredients 96 2.70000000000000018 1.19999999999999996 0.200000000000000011
3081 Sauce, satay, commercial 1176 15.3000000000000007 4.90000000000000036 17.1999999999999993
3082 Sauce, satay, homemade 1163 8.90000000000000036 7.40000000000000036 22.8000000000000007
3083 Sauce, savoury meat with vegetables and gravy, commercial 472 2.39999999999999991 7.09999999999999964 6.90000000000000036
3084 Sauce, savoury meat with vegetables and gravy, homemade 406 2.20000000000000018 10.5 4.29999999999999982
3085 Sauce, simmer, curry flavoured, commercial 437 7.09999999999999964 2.10000000000000009 5.40000000000000036
3086 Sauce, simmer for chicken, not further defined, commercial 376 3.29999999999999982 0.800000000000000044 7.29999999999999982
3087 Sauce, soy, commercial, reduced salt 136 1.69999999999999996 5.40000000000000036 0
3088 Sauce, soy, commercial, regular 136 1.69999999999999996 5.40000000000000036 0
3089 Sauce, stroganoff, commercial 397 5.5 1 6.59999999999999964
3090 Sauce, stroganoff, homemade 502 1.60000000000000009 2.20000000000000018 9
3091 Sauce, sweet, caramel, homemade 1916 46.3999999999999986 1.19999999999999996 31.1999999999999993
3092 Sauce, sweet, caramel, liquid, filling (as used in chocolates, biscuits and ice creams), commercial 1767 72.2999999999999972 2.60000000000000009 15.3000000000000007
3093 Sauce, sweet chilli (chili), commercial 947 52.8999999999999986 0.400000000000000022 0.100000000000000006
3094 Sauce, sweet, chocolate, homemade 2042 29.3000000000000007 3.10000000000000009 38.2999999999999972
3095 Sauce, sweet, lemon & butter, homemade 937 18 0.299999999999999989 16.6000000000000014
3096 Sauce, sweet, mixed berry coulis 270 12.1999999999999993 0.900000000000000022 0.200000000000000011
3097 Sauce, sweet & sour, commercial 786 37.7999999999999972 0.599999999999999978 0.5
3098 Sauce, tabasco, commercial 74 0.100000000000000006 1.30000000000000004 0.800000000000000044
3099 Sauce, taco style, commercial 123 3.5 0.900000000000000022 0.299999999999999989
3100 Sauce, tartare (tartar), commercial, regular fat 1764 9.59999999999999964 1 42.2999999999999972
3101 Sauce, tartare (tartar), homemade 1800 8.09999999999999964 1 43.7000000000000028
3102 Sauce, teriyaki, commercial 850 34.1000000000000014 3.79999999999999982 1
3103 Sauce, tomato, commercial, no added salt 435 23.3000000000000007 1.19999999999999996 0.200000000000000011
3104 Sauce, tomato, commercial, reduced salt 435 23.3000000000000007 1.19999999999999996 0.200000000000000011
3105 Sauce, tomato, commercial, regular 435 23.3000000000000007 1.19999999999999996 0.200000000000000011
3106 Sauce, tomato, homemade 281 3.79999999999999982 1.19999999999999996 4.70000000000000018
3107 Sauce, tomato, not further defined 431 22.8000000000000007 1.19999999999999996 0.299999999999999989
3108 Sauce, white, savoury, homemade with an undefined cows milk & fat 653 5 4.09999999999999964 10.8000000000000007
3109 Sauce, wine reduction, homemade 587 0.900000000000000022 0.699999999999999956 14
3110 Sauce, worcestershire, commercial 311 16.8999999999999986 1.30000000000000004 0.200000000000000011
3111 Sausage, beef, flavoured, fried, grilled, BBQd or baked 1026 0.400000000000000022 15.9000000000000004 17.8999999999999986
3112 Sausage, beef, fried 1026 0.400000000000000022 15.9000000000000004 17.8999999999999986
3113 Sausage, beef, grilled, BBQd or baked 1120 0.400000000000000022 13.9000000000000004 21.5
3114 Sausage, beef, plain or flavoured, boiled, casseroled, microwaved, poached, steamed, or stewed 1100 0 13.3000000000000007 22
3115 Sausage, beef, plain or flavoured, reduced fat, boiled, casseroled, microwaved, poached, steamed or stewed 661 1.19999999999999996 14.5999999999999996 8.40000000000000036
3116 Sausage, beef, plain or flavoured, reduced fat, fried, grilled, BBQd or baked 654 1.19999999999999996 14.5 8.30000000000000071
3117 Sausage, beef, plain or flavoured, reduced fat, raw 621 1.10000000000000009 13.8000000000000007 7.90000000000000036
3118 Sausage, beef, raw 1034 0 12.5 20.6000000000000014
3119 Sausage, boiled, casseroled, microwaved, poached, steamed or stewed 1082 0.100000000000000006 13.8000000000000007 21
3120 Sausage, chicken, flavoured, fried, grilled, BBQd or baked, with or without fat 841 0.800000000000000044 18.1999999999999993 12
3121 Sausage, chicken, plain, fried, grilled, BBQd or baked, with or without added fat 841 0.800000000000000044 18.1999999999999993 12
3122 Sausage, chicken, reduced fat, fried, grilled, BBQd or baked, fat not further defined 820 0.100000000000000006 19 11.0999999999999996
3123 Sausage, chicken, reduced fat, fried, grilled, BBQd or baked, no added fat 779 0.100000000000000006 20.1000000000000014 9.40000000000000036
3124 Sausage, chicken, reduced fat, raw 662 0.100000000000000006 17.1000000000000014 8
3125 Sausage, chorizo, cooked 1245 0.800000000000000044 21.1999999999999993 23.3000000000000007
3126 Sausage, chorizo, uncooked 1183 0.800000000000000044 20.1000000000000014 22.1000000000000014
3127 Sausage, deep fried, commercial 1323 2.70000000000000018 15.3000000000000007 25.1999999999999993
3128 Sausage, fried, grilled, BBQd or baked 1072 0.5 15.5 19.3999999999999986
3129 Sausage, kangaroo, plain or flavoured, fried, grilled, BBQd or baked 494 0.5 21.8999999999999986 1.5
3130 Sausage, lamb, flavoured, fried, grilled, BBQd or baked 960 1.30000000000000004 15.5999999999999996 16.1000000000000014
3131 Sausage, lamb, plain, fried, grilled, BBQd or baked 960 1.30000000000000004 15.5999999999999996 16.1000000000000014
3132 Sausage, pork, flavoured, fried, grilled, BBQd or baked 1083 0.699999999999999956 16.5 19.3999999999999986
3133 Sausage, pork, plain, fried 1083 0.699999999999999956 16.5 19.3999999999999986
3134 Sausage, pork, plain, grilled, BBQd or baked 1203 0.599999999999999978 16.8000000000000007 21.6999999999999993
3135 Sausage, pork, plain or flavoured, boiled, casseroled, microwaved, poached, steamed or stewed 1160 0 12.8000000000000007 23.6000000000000014
3136 Sausage, pork, raw 1090 0 12 22.1999999999999993
3137 Sausage, vegetarian style, added Fe, Zn and vitamin B12, raw 807 1.89999999999999991 19 9.40000000000000036
3138 Sausage, vegetarian style, raw 807 1.89999999999999991 19 9.40000000000000036
3139 Saveloy, battered, deep fried, oil not further defined 1293 3.29999999999999982 11.9000000000000004 20.8000000000000007
3140 Scallop with or without roe, baked, roasted, grilled, fried, deep fried or BBQd, fat not further defined 568 0.5 16.1999999999999993 7
3141 Scallop with or without roe, baked, roasted, grilled, fried or BBQd, no added fat 359 0.5 17 0.900000000000000022
3142 Scallop with or without roe, boiled, microwaved, steamed or poached, with or without added fat 441 0 22.1999999999999993 1.5
3143 Scallop with or without roe, coated, baked, roasted, grilled or BBQd, fat not further defined 640 0.900000000000000022 14.5 6.29999999999999982
3144 Scallop with or without roe, coated, takeaway outlet, deep fried 1256 0.400000000000000022 10.4000000000000004 25.1999999999999993
3145 Scallop, with roe, raw 287 0.400000000000000022 13.5999999999999996 0.800000000000000044
3146 Scone, cheese, commercial 1570 5.90000000000000036 12.3000000000000007 15.0999999999999996
3147 Scone, cheese, homemade from basic ingredients 1307 2.10000000000000009 10.3000000000000007 10.0999999999999996
3148 Scone, chocolate, with chocolate chips, commercial 1590 20.5 7.40000000000000036 14.0999999999999996
3149 Scone, date, commercial 1322 22.3000000000000007 6.29999999999999982 5.59999999999999964
3150 Scone, date, homemade from basic ingredients 1279 13.4000000000000004 7.29999999999999982 7.40000000000000036
3151 Scone, plain, commercial 1357 6.5 7.90000000000000036 7.40000000000000036
3152 Scone, plain, homemade from basic ingredients 1294 5.59999999999999964 8.5 7.79999999999999982
3153 Scone, pumpkin, commercial 1424 8.09999999999999964 9.5 7.40000000000000036
3154 Scone, pumpkin, homemade from basic ingredients 1173 7.70000000000000018 7.70000000000000018 6.29999999999999982
3155 Scone, sultana, commercial 1401 26.1999999999999993 7.5 5.20000000000000018
3156 Scone, sultana, homemade from basic ingredients 1288 14.0999999999999996 7.40000000000000036 7.40000000000000036
3157 Scone, wholemeal, commercial 1348 6.5 8.90000000000000036 8.09999999999999964
3158 Scone, wholemeal, homemade from basic ingredients 1281 6.20000000000000018 8.40000000000000036 8.40000000000000036
3159 Seafood or fish stick (surimi), coated, takeaway outlet, deep fried 966 2.20000000000000018 8 15.0999999999999996
3160 Seafood or fish stick (surimi), packaged frozen, boiled, microwaved, steamed or poached, no added fat 422 3.5 11.1999999999999993 0.900000000000000022
3161 Seafood or fish stick (surimi), packaged frozen, fried, peanut oil 584 4.09999999999999964 11.5 4.79999999999999982
3162 Seafood or fish stick (surimi), packaged frozen, raw 372 3.10000000000000009 9.80000000000000071 0.800000000000000044
3163 Seasoning mix, chilli-based, for tacos 1010 19.1999999999999993 5.90000000000000036 4.09999999999999964
3164 Seaweed, boiled, microwaved or steamed, drained 228 0.100000000000000006 8.40000000000000036 0.800000000000000044
3165 Seaweed, nori, dried 1266 0.299999999999999989 46.7000000000000028 4.29999999999999982
3166 Seed, chia, cooked, no added salt 392 5 4.79999999999999982 5.09999999999999964
3167 Seed, chia, dried 1825 0 16.5 30.6999999999999993
3168 Seed, linseed or flaxseed 2116 1.60000000000000009 18.3000000000000007 42.2000000000000028
3169 Seed, poppy 2273 0 18 44.7000000000000028
3170 Seed, pumpkin, hulled & dried, unsalted 2424 1.39999999999999991 30.1999999999999993 49
3171 Seed, sesame, unsalted 2620 0.599999999999999978 22.1999999999999993 55.6000000000000014
3172 Seeds, mixed 2407 1.39999999999999991 25.6999999999999993 49.1000000000000014
3173 Seed, sunflower, unsalted 2465 2 26.8000000000000007 51
3174 Semolina, cooked in cows milk, no added salt 456 4.79999999999999982 4.90000000000000036 2.20000000000000018
3175 Semolina, cooked in water, no added salt 433 0 3.10000000000000009 0.400000000000000022
3176 Semolina, uncooked 1361 0 9.80000000000000071 1.19999999999999996
3177 Shallot, peeled, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 165 5.20000000000000018 2.39999999999999991 0.200000000000000011
3178 Shallot, peeled, raw 102 3.20000000000000018 1.5 0.200000000000000011
3179 Shark (flake), baked, roasted, fried, grilled or BBQd, no added fat 615 0 35.8999999999999986 0.100000000000000006
3180 Shark (flake), baked, roasted, grilled, BBQd, fried or deep fried, fat not further defined 833 0 34.1000000000000014 6.90000000000000036
3181 Shark (flake), boiled, microwaved, steamed or poached, with or without added fat 523 0 30.3000000000000007 0.200000000000000011
3182 Shark (flake), coated, baked, roasted, grilled or BBQd, fat not further defined 881 0.400000000000000022 27.3999999999999986 8.19999999999999929
3183 Shark (flake), coated, packaged frozen, baked, roasted, fried, grilled or BBQd, with or without added fat 1045 0.900000000000000022 25.8000000000000007 9.69999999999999929
3184 Shark (flake), coated, takeaway outlet, deep fried 1106 0.200000000000000011 20.8000000000000007 15.9000000000000004
3185 Shark (flake), raw 449 0 26.1999999999999993 0.100000000000000006
3186 Sheep, milk or yoghurt 385 3.5 5.20000000000000018 5.5
3187 Sherbet powder 1496 93.5 0 0
3188 Sherry, dry style (~ 1% sugars) 435 1.19999999999999996 0.100000000000000006 0
3189 Sherry, not further defined 520 7.09999999999999964 0.200000000000000011 0
3190 Sherry, sweet style (~11% sugars) 577 11.0999999999999996 0.200000000000000011 0
3191 Shortening, commercial, animal fat (for short pastry, pie bases, tarts and flans) 3703 0 0.200000000000000011 100
3192 Shortening, commercial, blend of animal & vegetable fat (for cakes, muffins, shortbreads & biscuits) 2983 0.800000000000000044 0.599999999999999978 80
3193 Shortening, commercial, vegetable fat (for bread, buns & yeast doughs) 3700 0 0 100
3194 Shortening, commercial, vegetable fat (for coatings, creams, icings, confectionery & fillings) 3700 0 0.200000000000000011 99.9000000000000057
3195 Shortening, commercial, vegetable fat (for flaky pastry, pie tops, sausage rolls & danishes) 2960 0 0 80
3196 Silverbeet, fresh or frozen, boiled, microwaved or steamed, drained 77 1.19999999999999996 1.80000000000000004 0.200000000000000011
3197 Silverbeet, fresh or frozen, raw 66 1 1.5 0.200000000000000011
3198 Silver perch, baked, roasted, fried, grilled or BBQd, no added fat 1266 0 26.6999999999999993 22
3199 Silver perch, baked, roasted, grilled, BBQd, fried or deep fried, fat not further defined 1377 0 25.8999999999999986 25.3000000000000007
3200 Silver perch, boiled, microwaved, steamed or poached, with or without added fat 1116 0 23.1000000000000014 19.6000000000000014
3201 Silver perch, raw 924 0 19.5 16
3202 Slice, brownie, chocolate, with nuts, commercial 1862 35.7000000000000028 6.20000000000000018 23.8000000000000007
3203 Slice, brownie, chocolate, with nuts, homemade from basic ingredients, fat not further defined 1935 35.2999999999999972 6.5 25.5
3204 Slice, brownie, chocolate, without nuts, homemade from basic ingredients, butter or dairy blend 1943 36.5 5.59999999999999964 27.6000000000000014
3205 Slice, brownie, chocolate, without nuts, homemade from basic ingredients, fat not further defined 1962 36.5 5.59999999999999964 28.1000000000000014
3206 Slice, brownie, chocolate, without nuts, homemade from basic ingredients, with oil 2117 36.5 5.40000000000000036 32.3999999999999986
3207 Slice, caramel, commercial 1777 43.1000000000000014 5.90000000000000036 20.1000000000000014
3208 Slice, caramel, homemade from basic ingredients, fat not further defined 1945 43.6000000000000014 5.70000000000000018 25.6000000000000014
3209 Slice, cherry, homemade from basic ingredients, fat not further defined 1926 45.1000000000000014 5.70000000000000018 23.6999999999999993
3210 Slice, chocolate, commercial, chocolate icing 2095 38.7000000000000028 3.79999999999999982 29.6999999999999993
3211 Slice, chocolate, homemade from basic ingredients, fat not further defined, chocolate icing 2063 39.5 3.79999999999999982 28.8000000000000007
3212 Slice, coconut, with jam, commercial 1911 35.7000000000000028 5.59999999999999964 25.6999999999999993
3213 Slice, coconut, with jam, homemade from basic ingredients, fat not further defined 1853 37.2000000000000028 5.40000000000000036 22.5
3214 Slice, dried fruit, homemade from basic ingredients, fat not further defined 1827 40.7999999999999972 4.70000000000000018 20.3999999999999986
3215 Slice, fruit mince, commercial, with icing 1261 34.7000000000000028 3.79999999999999982 9.40000000000000036
3216 Slice, hedgehog, commercial, chocolate icing 1639 44.1000000000000014 5.40000000000000036 17.5
3217 Slice, hedgehog, homemade from basic ingredients, fat not further defined, chocolate icing 1891 37.6000000000000014 4.59999999999999964 26.1000000000000014
3218 Slice, jelly, commercial 1094 18.6000000000000014 5.40000000000000036 16.3999999999999986
3219 Slice, jelly, homemade from basic ingredients, fat not further defined 1099 18.5 5.40000000000000036 16.6000000000000014
3220 Slice, lemon, homemade from basic ingredients, fat not further defined 1369 38.5 4.90000000000000036 11.5
3221 Slice, meringue, with jam, homemade from basic ingredients, fat not further defined 1876 22.3999999999999986 6.5 26.3000000000000007
3222 Slice, muesli, with sultanas & apricot, homemade from basic ingredients, fat not further defined 1701 33 6.09999999999999964 17.3999999999999986
3223 Slice, not further defined 1595 34.2999999999999972 4.79999999999999982 18.1999999999999993
3224 Slice, nut, homemade from basic ingredients, fat not further defined 2208 29.6000000000000014 8.19999999999999929 36
3225 Slice, oat, with caramel, marshmallow & chocolate, homemade from basic ingredients, fat not further defined 2064 28.6000000000000014 9 27.3000000000000007
3226 Slice, passionfruit 1702 37.2999999999999972 6.20000000000000018 21.1999999999999993
3227 Slice, vanilla, commercial, with icing (except chocolate flavoured) 857 14 3.20000000000000018 8.90000000000000036
3228 Slice, vanilla, homemade from basic ingredients, fat not further defined, with icing (except chocolate flavoured) 1130 18.5 3.39999999999999991 14.4000000000000004
3229 Smoked fish (including eel & trout), smoked 631 0 27.8000000000000007 4.29999999999999982
3230 Snow pea, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, fat not further defined 414 3.39999999999999991 3.60000000000000009 6.40000000000000036
3231 Snow pea, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 196 3.60000000000000009 3.79999999999999982 0.200000000000000011
3232 Snow pea, fresh or frozen, boiled, microwaved or steamed, added fat not further defined 340 3 3.10000000000000009 5.09999999999999964
3233 Snow pea, fresh or frozen, boiled, microwaved or steamed, drained 169 3.10000000000000009 3.20000000000000018 0.200000000000000011
3234 Snow pea, fresh or frozen, raw 157 2.89999999999999991 3 0.200000000000000011
3235 Soy bean curd skins, dried, rehydrated in boiling water 346 0.400000000000000022 8.69999999999999929 3.79999999999999982
3236 Soy beverage, chocolate flavoured, reduced fat (~ 1.5%), added Ca & vitamins A, B1, B2 & B12 278 5.79999999999999982 3.20000000000000018 1.5
3237 Soy beverage, chocolate flavoured, regular fat (~3%), added Ca & vitamins A, B1, B2 & B12 288 5.79999999999999982 3.20000000000000018 2.70000000000000018
3238 Soy beverage, coffee flavoured, reduced fat (~ 1.5%), added Ca & vitamins A, B1, B2 & B12 266 5.20000000000000018 3.10000000000000009 1.5
3239 Soy beverage, low fat (~ 0.1%), added Ca & vitamins A, B1, B2 & B12 210 1.30000000000000004 3.20000000000000018 0.100000000000000006
3240 Soy beverage, reduced fat (1-2%), unflavoured, not further defined 160 1.89999999999999991 2.5 1
3241 Soy beverage, reduced fat (~1.5% fat), added Ca 157 1.60000000000000009 3 1.5
3242 Soy beverage, reduced fat (~1.5% fat), added fibre, Ca & vitamins A, B1, B2, B6 & B12 240 2.10000000000000009 3.20000000000000018 1.5
3243 Soy beverage, reduced fat (~1.5% fat), added vitamins A, B1, B2, B3, B6, B12, C, E, folate & Ca & Fe 260 1.30000000000000004 3.20000000000000018 1.39999999999999991
3244 Soy beverage, reduced fat (~1% fat), added Ca & vitamins A, B1, B2 & B12 187 1.69999999999999996 3 0.900000000000000022
3245 Soy beverage, reduced fat (~1% fat), added Ca & vitamins A, B2 & B12 191 1.69999999999999996 3 1
3246 Soy beverage, reduced fat (~1% fat), unfortified 113 2.39999999999999991 1.39999999999999991 0.699999999999999956
3247 Soy beverage, regular fat (~3%), added Ca 246 2.60000000000000009 3.70000000000000018 2.70000000000000018
3248 Soy beverage, regular fat (~3%), added Ca & vitamins A, B1, B2 & B12 251 2.60000000000000009 4.09999999999999964 2.70000000000000018
3249 Soy beverage, regular fat (~3%), added Ca & vitamins A, B1, B2, B6, B12, & D 273 4.20000000000000018 3.20000000000000018 3
3250 Soy beverage, regular fat (~3%), added Ca & vitamins A, B2, & B12 230 1.60000000000000009 3.10000000000000009 3
3251 Soy beverage, regular fat (~3%), homemade from basic ingredients, unfortified 246 2.60000000000000009 3.70000000000000018 2.70000000000000018
3252 Soy beverage, regular fat (~3%), unflavoured, not further defined 250 2.70000000000000018 3.79999999999999982 2.70000000000000018
3253 Soy beverage, regular fat (~3%), unfortified 246 2.60000000000000009 3.70000000000000018 2.70000000000000018
3254 Soy beverage, unflavoured, not further defined 213 2.29999999999999982 3.20000000000000018 1.89999999999999991
3255 Spam, canned 1238 1.19999999999999996 14.1999999999999993 26.1000000000000014
3256 Spelt, uncooked 1471 0.900000000000000022 18.6999999999999993 2.39999999999999991
3257 Spice, mixed or all spice 1560 10.5 5.5 19.1999999999999993
3258 Spinach, boiled, microwaved or steamed, drained, not further defined 123 0.599999999999999978 3.20000000000000018 0.400000000000000022
3259 Spinach, fresh, baked, roasted, fried, stir-fried, grilled or BBQd, fat not further defined 389 0.800000000000000044 3.29999999999999982 7.40000000000000036
3260 Spinach, fresh, baked, roasted, fried, stir-fried, grilled or BBQd , no added fat 136 0.900000000000000022 3.39999999999999991 0.400000000000000022
3261 Spinach, fresh, boiled, microwaved or steamed, added fat not further defined 303 0.699999999999999956 2.70000000000000018 5.59999999999999964
3262 Spinach, fresh, boiled, microwaved or steamed, drained 112 0.699999999999999956 2.79999999999999982 0.400000000000000022
3263 Spinach, fresh, raw 95 0.599999999999999978 2.39999999999999991 0.299999999999999989
3264 Spinach, frozen, boiled, microwaved or steamed, drained 134 0.5 3.5 0.5
3265 Spinach, water, cooked, with or without added fat 414 0.699999999999999956 3.89999999999999991 7.79999999999999982
3266 Spinach, water, raw 110 0.5 2.89999999999999991 0.5
3267 Spirit, not further defined 912 2.60000000000000009 0.100000000000000006 0.400000000000000022
3268 Spread, hazelnut & chocolate flavoured 2260 57.2000000000000028 6.79999999999999982 32.1000000000000014
3269 Spread, vegetable & yeast extract, mightymite 681 4.5 9.40000000000000036 1.60000000000000009
3270 Spread, vegetable & yeast extract, Promite 856 18.3999999999999986 14.5999999999999996 2.20000000000000018
3271 Spread, yeast, cheesybite 1033 4.40000000000000036 5.29999999999999982 17.1000000000000014
3272 Spread, yeast, marmite 624 11.8000000000000007 13.3000000000000007 0.900000000000000022
3273 Spread, yeast, not further defined 688 2.5 23.5 1
3274 Spread, yeast, vegemite, my first vegemite 889 4.70000000000000018 24.6000000000000014 0.900000000000000022
3275 Spread, yeast, vegemite, regular 679 1.60000000000000009 24.1000000000000014 0.900000000000000022
3276 Sprout, alfalfa, raw 91 0.5 3.20000000000000018 0.299999999999999989
3277 Sprout, bean, cooked, fat not further defined 319 1.10000000000000009 3.5 5.90000000000000036
3278 Sprout, bean, cooked, no added fat 110 1.19999999999999996 3.60000000000000009 0.100000000000000006
3279 Sprout, bean, raw 94 1 3.10000000000000009 0.100000000000000006
3280 Sprout, for use in salad recipes, alfalfa & mung bean 92 0.800000000000000044 3.20000000000000018 0.200000000000000011
3281 Squash, button, fresh or frozen, boiled, microwaved or steamed, drained 131 3.5 3.20000000000000018 0.200000000000000011
3282 Squash, button, fresh or frozen, raw 110 2.89999999999999991 2.70000000000000018 0.200000000000000011
3283 Squash, scallopini, fresh or frozen, boiled, microwaved or steamed, drained 100 2.39999999999999991 2.60000000000000009 0.200000000000000011
3284 Squash, scallopini, fresh or frozen, raw 84 2 2.20000000000000018 0.200000000000000011
3285 Squid or calamari, baked, roasted, fried, stir-fried, deep fried, grilled or BBQd, fat not further defined 617 0 19.8000000000000007 7.59999999999999964
3286 Squid or calamari, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 410 0 20.8999999999999986 1.5
3287 Squid or calamari, battered, takeaway outlet, deep fried 988 0 12.9000000000000004 17.1999999999999993
3288 Squid or calamari, boiled, microwaved, steamed or poached, with or without added fat 431 0 20.8000000000000007 2.10000000000000009
3289 Squid or calamari, coated, baked, roasted, fried, grilled or BBQd, fat not further defined 734 0.400000000000000022 17.3999999999999986 8.90000000000000036
3290 Squid or calamari, coated, packaged frozen, baked, roasted, fried, grilled or BBQd, with or without added fat 811 0.5 10.1999999999999993 6.90000000000000036
3291 Squid or calamari, crumbed, takeaway outlet, deep fried 1239 0 18.3000000000000007 17.1000000000000014
3292 Squid or calamari, raw 328 0 16.6999999999999993 1.19999999999999996
3293 Starch, potato 1332 0 0 0.5
3294 Steamed bun, savoury, plain 1020 5.29999999999999982 5.70000000000000018 7.70000000000000018
3295 Steamed bun, savoury, pork 785 4.40000000000000036 7.20000000000000018 6.90000000000000036
3296 Stingray, wild caught, flesh, baked, roasted, fried, grilled or BBQd, no added fat 615 0 35.8999999999999986 0.100000000000000006
3297 Stock, dry powder or cube 900 4.29999999999999982 11.3000000000000007 8.90000000000000036
3298 Stock, dry powder or cube, reduced salt 900 4.29999999999999982 11.3000000000000007 8.90000000000000036
3299 Stock, liquid, all flavours (except fish), homemade from basic ingredients 68 0 2.29999999999999982 0.800000000000000044
3300 Stock, liquid, all flavours (except fish), prepared from commercial powder or cube 18 0.100000000000000006 0.200000000000000011 0.200000000000000011
3301 Stock, liquid, all flavours, reduced salt, prepared from commercial powder or cube 18 0.100000000000000006 0.200000000000000011 0.200000000000000011
3302 Stock, liquid, fish, commercial 27 0.400000000000000022 0.699999999999999956 0.100000000000000006
3303 Stock, liquid, fish, homemade from basic ingredients 68 0 2.29999999999999982 0.800000000000000044
3304 Stone fruit, peeled or unpeeled, raw, not further defined 178 7.59999999999999964 0.900000000000000022 0.100000000000000006
3305 Strawberry, canned in syrup 335 18.6999999999999993 0.5 0.200000000000000011
3306 Strawberry, canned in syrup, drained 353 18.5 0.900000000000000022 0.100000000000000006
3307 Strawberry, canned in syrup, syrup only 321 18.8000000000000007 0.100000000000000006 0.200000000000000011
3308 Strawberry, chocolate coated 907 22.5 3 11.8000000000000007
3309 Strawberry, purchased frozen 108 3.79999999999999982 0.699999999999999956 0.200000000000000011
3310 Strawberry, raw 108 3.79999999999999982 0.699999999999999956 0.200000000000000011
3311 Stuffing, bread-based, commercial 804 1.39999999999999991 6.40000000000000036 8.40000000000000036
3312 Suet 3395 0 0 86.7000000000000028
3313 Sugar, brown 1552 96.7999999999999972 0.200000000000000011 0
3314 Sugar, cinnamon 1543 91.4000000000000057 0.400000000000000022 0.299999999999999989
3315 Sugar, raw 1597 99.7999999999999972 0 0
3316 Sugar, raw, low GI (glucose index) 1597 99.7999999999999972 0 0
3317 Sugar, white, fruit sugar (fructose), granulated or lump 1600 100 0 0
3318 Sugar, white, granulated or lump 1600 100 0 0
3319 Sugar, white, icing 1600 100 0 0
3320 Sugar, white, icing mixture 1598 95.5999999999999943 0 0
3321 Sugar, white, with added stevia, granulated 1599 99.5999999999999943 0 0
3322 Sultana 1329 73.2000000000000028 2.79999999999999982 0.900000000000000022
3323 Swede, peeled, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, fat not further defined 330 3.89999999999999991 1 6
3324 Swede, peeled, fresh or frozen, boiled, microwaved or steamed, drained 100 3.70000000000000018 1 0
3325 Swede, peeled, fresh or frozen, raw 93 3.39999999999999991 0.900000000000000022 0
3326 Sweetcorn, baby, canned in brine, heated, drained 105 1.60000000000000009 1.60000000000000009 0.200000000000000011
3327 Sweetcorn, creamed, canned, heated 366 5.09999999999999964 2 0.699999999999999956
3328 Sweetcorn, fresh or frozen, boiled, microwaved or steamed, drained 435 3.79999999999999982 4 1.80000000000000004
3329 Sweetcorn, fresh or frozen on cob, baked, roasted, fried, stir-fried, grilled or BBQd, added fat not further defined 658 4.20000000000000018 4.5 7.70000000000000018
3330 Sweetcorn, fresh or frozen on cob, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 480 4.40000000000000036 4.79999999999999982 2.29999999999999982
3331 Sweetcorn, fresh or frozen on cob, boiled, microwaved or steamed, drained 436 4 4.29999999999999982 2.10000000000000009
3332 Sweetcorn, fresh or frozen on cob, boiled, microwaved or steamed, drained, added fat not further defined 583 3.79999999999999982 4.09999999999999964 6.59999999999999964
3333 Sweetcorn, fresh or frozen on cob, boiled or microwaved in brine, drained 438 5.29999999999999982 4.20000000000000018 2.79999999999999982
3334 Sweetcorn, fresh or frozen on cob, raw 432 4 4.29999999999999982 2.10000000000000009
3335 Sweetcorn, fresh or frozen, raw, not further defined 418 3.60000000000000009 3.89999999999999991 1.69999999999999996
3336 Sweetcorn, kernels, baked, roasted, fried, stir-fried, grilled or BBQd, fat not further defined 614 3.20000000000000018 3.20000000000000018 6.40000000000000036
3337 Sweetcorn, kernels, canned in brine, drained 391 3.5 2.89999999999999991 1
3338 Sweetcorn, kernels, canned in brine, heated, drained 478 3.5 3.10000000000000009 1
3339 Sweetcorn, kernels, fresh or frozen, boiled, microwaved or steamed, drained 452 2.60000000000000009 3.10000000000000009 0.900000000000000022
3340 Sweetcorn, kernels, fresh or frozen, boiled, microwaved or steamed, drained, added fat not further defined 597 2.5 3 5.40000000000000036
3341 Sweetcorn, kernels, fresh or frozen, boiled or microwaved in brine, drained 392 2.60000000000000009 3.10000000000000009 1
3342 Sweetcorn, kernels, fresh or frozen, raw 390 3 3 0.900000000000000022
3343 Sweet potato, chips, regular, purchased frozen, baked or roasted, with or without added fat 1101 12.3000000000000007 4.20000000000000018 9.80000000000000071
3344 Sweet potato, chips, regular, purchased frozen, par-fried in canola oil, raw 771 8.59999999999999964 2.89999999999999991 6.79999999999999982
3345 Sweet potato, orange flesh, mashed with fat not further defined 541 5.29999999999999982 1.80000000000000004 7.09999999999999964
3346 Sweet potato, orange flesh, peeled or unpeeled, fresh or frozen, baked, fried, grilled, fat not further defined 565 6.5 2.20000000000000018 6.09999999999999964
3347 Sweet potato, orange flesh, peeled or unpeeled, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, canola oil 569 6.5 2.20000000000000018 6.20000000000000018
3348 Sweet potato, orange flesh, peeled or unpeeled, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 362 6.79999999999999982 2.29999999999999982 0.100000000000000006
3349 Sweet potato, orange flesh, peeled or unpeeled, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, olive oil 569 6.5 2.20000000000000018 6.20000000000000018
3350 Sweet potato, orange flesh, peeled or unpeeled, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, other oil 569 6.5 2.20000000000000018 6.20000000000000018
3351 Sweet potato, orange flesh, peeled or unpeeled, fresh or frozen, boiled, microwaved or steamed, added fat not further defined 483 5.70000000000000018 2 5
3352 Sweet potato, orange flesh, peeled or unpeeled, fresh or frozen, boiled, microwaved or steamed, drained 319 6 2 0.100000000000000006
3353 Sweet potato, orange flesh, peeled or unpeeled, fresh or frozen, raw 297 5.59999999999999964 1.89999999999999991 0.100000000000000006
3354 Sweet potato, white flesh, peeled or unpeeled, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 450 3.60000000000000009 1.19999999999999996 0.200000000000000011
3355 Sweet potato, white flesh, peeled or unpeeled, fresh or frozen, boiled, microwaved or steamed, drained 397 3.20000000000000018 1 0.200000000000000011
3356 Sweet potato, white flesh, peeled or unpeeled, fresh or frozen, raw 369 3 1 0.200000000000000011
3357 Sweet potato, white flesh, peeled or unpeeled, fresh or frozen, stir-fried, fat not further defined 649 3.39999999999999991 1.10000000000000009 6.20000000000000018
3358 Swordfish, baked, roasted, fried, grilled or BBQd, no added fat 748 0 26.8999999999999986 7.79999999999999982
3359 Swordfish, baked, roasted, grilled, BBQd, fried or deep fried, fat not further defined 833 0 26.3999999999999986 10.4000000000000004
3360 Swordfish, raw 546 0 19.6999999999999993 5.70000000000000018
3361 Syrup, agave, light & dark, liquid 1216 76 0 0
3362 Syrup, golden 1203 74.9000000000000057 0.200000000000000011 0
3363 Syrup, maple, pure (100% maple) 960 59.5 0 0.200000000000000011
3364 Taco shell, from corn flour, plain 1946 1.19999999999999996 7.20000000000000018 22.6000000000000014
3365 Tahini, sesame seed pulp 2717 0.699999999999999956 20.3999999999999986 60.7000000000000028
3366 Tamarillo, peeled, raw 150 3.39999999999999991 2 0.100000000000000006
3367 Tamarind, paste, pure, raw 1029 57.3999999999999986 2.79999999999999982 0.599999999999999978
3368 Tangelo, peeled, raw 172 7.79999999999999982 0.599999999999999978 0.100000000000000006
3369 Tangerine or tangor, peeled, raw 180 8.09999999999999964 1 0.200000000000000011
3370 Tapioca, pearl or seed style, uncooked 1458 0 0 0.200000000000000011
3371 Tapioca, seed or pearl style, boiled in water, no added fat or salt 123 0 0 0
3372 Taro, peeled, fresh or frozen, boiled, microwaved or steamed, drained 504 1.19999999999999996 2 0.200000000000000011
3373 Taro, peeled, fresh or frozen, raw 469 1.10000000000000009 1.89999999999999991 0.200000000000000011
3374 Tea, chai, flavoured, without milk 6 0 0.100000000000000006 0.100000000000000006
3375 Tea, chai, instant dry powder 1258 5.5 20.1999999999999993 0
3376 Tea, chai, plain, without milk 6 0 0.100000000000000006 0.100000000000000006
3377 Tea, decaffeinated, black, brewed from leaf or teabags, plain, without milk 6 0 0.100000000000000006 0.100000000000000006
3378 Tea, green, flavoured, without milk 6 0 0.100000000000000006 0.100000000000000006
3379 Tea, green, plain, without milk 6 0 0.100000000000000006 0.100000000000000006
3380 Tea, herbal, chamomile, without milk 6 0 0.100000000000000006 0.100000000000000006
3381 Tea, herbal, lemon, without milk 6 0 0.100000000000000006 0.100000000000000006
3382 Tea, herbal, mint, without milk 6 0 0.100000000000000006 0.100000000000000006
3383 Tea, herbal, other, without milk 6 0 0.100000000000000006 0.100000000000000006
3384 Tea, jasmine, plain, without milk 6 0 0.100000000000000006 0.100000000000000006
3385 Tea, regular, black, brewed from leaf or teabags, flavoured, without milk 6 0 0.100000000000000006 0.100000000000000006
3386 Tea, regular, black, brewed from leaf or teabags, plain, without milk 6 0 0.100000000000000006 0.100000000000000006
3387 Tea, regular, white, brewed from leaf or teabags, with cows milk not further defined 33 0.699999999999999956 0.5 0.400000000000000022
3388 Tempeh (fermented soy beans), fried 1875 0.900000000000000022 23.1999999999999993 33.7999999999999972
3389 Tempura for coating food, commercial, uncooked 506 0.100000000000000006 2.70000000000000018 0.400000000000000022
3390 Tempura for coating food, homemade, uncooked 523 0 4.79999999999999982 1.39999999999999991
3391 Tequila 886 0.100000000000000006 0 0
3392 Thiamin 0 0 0 0
3393 Thyme, dried, ground 1149 1.80000000000000004 8.09999999999999964 6
3394 Tilapia, boiled, microwaved, steamed or poached, no added fat 568 0 22 5.20000000000000018
3395 Tilapia, raw 477 0 18.5 4.40000000000000036
3396 Tofu (soy bean curd), firm, as purchased 502 0 12 7.29999999999999982
3397 Tofu (soy bean curd), fried, stir-fried, grilled or BBQd, fat not further defined 773 0 16.1000000000000014 12.5
3398 Tofu (soy bean curd), fried, stir-fried, grilled or BBQd, no added fat 688 0 16.3999999999999986 10
3399 Tofu (soy bean curd), silken or soft, as purchased 224 0.599999999999999978 5.40000000000000036 2.5
3400 Tofu (soy bean curd), smoked, as purchased 751 0.299999999999999989 17.3000000000000007 9.80000000000000071
3401 Tomato, cherry or grape, raw 65 2.20000000000000018 0.5 0.100000000000000006
3402 Tomato, common, boiled with salt, drained 72 2.29999999999999982 0.900000000000000022 0.100000000000000006
3403 Tomato, common, raw 74 2.29999999999999982 1 0.100000000000000006
3404 Tomato, fresh, baked, roasted, fried, stir-fried, grilled or BBQd, butter, dairy blend or margarine 272 2.70000000000000018 1.19999999999999996 5.09999999999999964
3405 Tomato, fresh, baked, roasted, fried, stir-fried, grilled or BBQd, canola oil 318 2.70000000000000018 1.10000000000000009 6.40000000000000036
3406 Tomato, fresh, baked, roasted, fried, stir-fried, grilled or BBQd, fat not further defined 314 2.70000000000000018 1.10000000000000009 6.29999999999999982
3407 Tomato, fresh, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 92 2.89999999999999991 1.19999999999999996 0.100000000000000006
3408 Tomato, fresh, baked, roasted, fried, stir-fried, grilled or BBQd, olive oil 318 2.70000000000000018 1.10000000000000009 6.40000000000000036
3409 Tomato, fresh, baked, roasted, fried, stir-fried, grilled or BBQd, other oil 318 2.70000000000000018 1.10000000000000009 6.40000000000000036
3410 Tomato, fresh, boiled, microwaved or steamed, drained 94 2.89999999999999991 1.19999999999999996 0.100000000000000006
3411 Tomato, fresh, boiled, microwaved or steamed, drained, added fat not further defined 304 2.79999999999999982 1.19999999999999996 5.90000000000000036
3412 Tomato, hydroponic, raw 60 2.29999999999999982 0.699999999999999956 0
3413 Tomato, paste, no added salt 298 11 3.10000000000000009 0.299999999999999989
3414 Tomato, paste, not further defined 284 10.0999999999999996 3.10000000000000009 0.299999999999999989
3415 Tomato, paste, with added salt 281 9.90000000000000036 3.10000000000000009 0.299999999999999989
3416 Tomato, puree, commercial 106 4.20000000000000018 1.5 0.100000000000000006
3417 Tomato, raw, not further defined 73 2.29999999999999982 0.900000000000000022 0.100000000000000006
3418 Tomato, roma, raw 74 2.29999999999999982 1 0.100000000000000006
3419 Tomato, stuffed with breadcrumbs, cheese & vegetables, cooked 535 2.79999999999999982 5.29999999999999982 8.19999999999999929
3420 Tomato, sundried or semi-sundried 1101 33.8999999999999986 11.1999999999999993 4.59999999999999964
3421 Tomato, whole, canned in tomato juice, boiled or microwaved, drained 93 3.39999999999999991 0.900000000000000022 0.100000000000000006
3422 Tomato, whole, canned in tomato juice, boiled or microwaved, undrained 94 3.29999999999999982 0.800000000000000044 0.200000000000000011
3423 Tomato, whole, canned in tomato juice, drained 88 3 0.800000000000000044 0.299999999999999989
3424 Tomato, whole, canned in tomato juice, undrained 78 2.89999999999999991 0.699999999999999956 0.100000000000000006
3425 Topping, caramel 770 43.1000000000000014 0.699999999999999956 0.299999999999999989
3426 Topping, chocolate 817 47.2000000000000028 0.699999999999999956 0.299999999999999989
3427 Topping, chocolate, hard 2605 38.6000000000000014 4 50.2999999999999972
3428 Topping, fruit-flavoured, regular 749 44.3999999999999986 0 0
3429 Trevally or kingfish, baked, roasted, grilled, BBQd, fried or deep fried, fat not further defined 759 0 27.8999999999999986 7.70000000000000018
3430 Trevally or kingfish, coated, baked, roasted, fried, deep fried, grilled or BBQd, fat not further defined 891 0.400000000000000022 22.3000000000000007 10.8000000000000007
3431 Trevally or kingfish, cooked, no fat added 628 0 28.8000000000000007 3.79999999999999982
3432 Trevally or kingfish, raw 459 0 21 2.79999999999999982
3433 Trout, coral, cooked, with or without added fat 513 0 24.6000000000000014 2.60000000000000009
3434 Trout, rainbow, baked, roasted, fried, grilled or BBQd, no added fat 883 0 26.8000000000000007 11.5999999999999996
3435 Trout, rainbow, baked, roasted, grilled, BBQd, fried or deep fried, fat not further defined 1006 0 26 15.1999999999999993
3436 Trout, rainbow, boiled, microwaved, steamed or poached, with or without added fat 785 0 23.1999999999999993 10.5999999999999996
3437 Trout, rainbow, coated, baked, roasted, fried, deep fried, grilled or BBQd, fat not further defined 1081 0.400000000000000022 20.8999999999999986 16.5
3438 Trout, rainbow, raw 645 0 19.6000000000000014 8.40000000000000036
3439 Tuna, baked, roasted, fried, grilled or BBQd, no added fat 596 0 32.1000000000000014 1.39999999999999991
3440 Tuna, baked, roasted, grilled, BBQd, fried or deep fried, fat not further defined 815 0 30.5 8
3441 Tuna, boiled, microwaved, steamed or poached, with or without added fat 537 0 27.6999999999999993 1.80000000000000004
3442 Tuna, canned, not further defined 651 0.699999999999999956 23 6.59999999999999964
3443 Tuna, flavoured, canned, drained 577 2.5 18 5.79999999999999982
3444 Tuna, raw 435 0 23.3999999999999986 1
3445 Tuna, sashimi style, raw 514 0 26.3000000000000007 1.80000000000000004
3446 Tuna, tartare (tartar) 847 0.299999999999999989 20 13.3000000000000007
3447 Tuna, unflavoured, canned in brine, drained 529 0 25.5 2.60000000000000009
3448 Tuna, unflavoured, canned in vegetable oil, drained 922 0 24.3999999999999986 13.6999999999999993
3449 Tuna, unflavoured, canned in water, drained 518 0 24.8000000000000007 2.60000000000000009
3450 Turkey, breast, lean, baked, roasted, fried, grilled or BBQd, fat not further defined 737 0 28.3000000000000007 6.90000000000000036
3451 Turkey, breast, lean, baked, roasted, fried, grilled or BBQd, no added fat 648 0 29.3999999999999986 4
3516 Veal, loin chop, separable fat, raw 1486 0 19.3000000000000007 31.3000000000000007
3452 Turkey, breast, lean, breadcrumb coating, baked, roasted, fried, grilled or BBQd, fat not further defined 973 0.800000000000000044 25.6000000000000014 7.70000000000000018
3453 Turkey, breast, lean, raw 490 0 21.6000000000000014 3.29999999999999982
3454 Turkey, breast, lean, skin & fat, baked, roasted, fried, grilled or BBQd, no added fat 825 0 20.3000000000000007 13
3455 Turkey, breast, lean, skin & fat, raw 663 0 20.3999999999999986 8.5
3456 Turkey, hindquarter, lean, baked, roasted, fried, grilled or BBQd, no added fat 714 0 26.8000000000000007 7
3457 Turkey, hindquarter, lean, raw 510 0 18.3999999999999986 5.29999999999999982
3458 Turkey, hindquarter, lean, skin & fat, baked, roasted, fried, grilled or BBQd, fat not further defined 1119 0 24.3000000000000007 19.1000000000000014
3459 Turkey, hindquarter, lean, skin & fat, baked, roasted, fried, grilled or BBQd, no added fat 911 0 25.6000000000000014 12.9000000000000004
3460 Turkey, hindquarter, lean, skin & fat, boiled, casseroled, microwaved, poached, steamed or stewed, with or without added fat 773 0 26.1000000000000014 8.90000000000000036
3461 Turkey, hindquarter, lean, skin & fat, raw 782 0 18.6000000000000014 12.5999999999999996
3462 Turkey, processed luncheon meat 428 0.599999999999999978 15.1999999999999993 3.89999999999999991
3463 Turkey, roast, deli-sliced 608 0 15.5 8.69999999999999929
3464 Turkey, whole, lean, baked, roasted, fried, grilled or BBQd, no added fat 666 0 26.6999999999999993 5.70000000000000018
3465 Turkey, whole, lean, boiled, casseroled, microwaved, poached, steamed or stewed, with or without added fat 759 0 28.3000000000000007 7.5
3466 Turkey, whole, lean, skin & fat, baked, roasted, fried, grilled or BBQd, no added fat 964 0 26 14.0999999999999996
3467 Turkey, wild caught, lean, skin & fat, cooked 964 0 26 14.0999999999999996
3468 Turkish delight, plain 1299 69.5999999999999943 2.70000000000000018 0.100000000000000006
3469 Turmeric, dried, ground 1380 25.1000000000000014 7.70000000000000018 8.59999999999999964
3470 Turnip, white, peeled, fresh or frozen, raw 94 3.20000000000000018 1.30000000000000004 0
3471 Turnip, white, peeled or unpeeled, fresh or frozen, baked, roasted, fried, stir-fried, grilled or BBQd, with or without added fat 115 3.89999999999999991 1.60000000000000009 0
3472 Turnip, white, peeled or unpeeled, fresh or frozen, boiled, microwaved or steamed, drained, with or without added fat 101 3.39999999999999991 1.39999999999999991 0
3473 Turtle, wild caught, flesh, cooked 696 0 33.8999999999999986 2.5
3474 Turtle, wild caught, flesh, raw 505 0 24.6000000000000014 1.80000000000000004
3475 Vanilla, artificial 231 14.4000000000000004 0 0
3476 Veal, all cuts, separable fat, cooked 1573 0 20.6999999999999993 33
3477 Veal, all cuts, separable fat, raw 1403 0 19.3999999999999986 29
3478 Veal, cutlet, fully-trimmed, baked, roasted, fried, grilled or BBQd, no added fat 595 0 27.8000000000000007 3.29999999999999982
3479 Veal, cutlet, fully-trimmed, breadcrumb coating, baked, roasted, fried, grilled or BBQd, fat not further defined 1022 0.5 24.5 9.90000000000000036
3480 Veal, cutlet, fully-trimmed, raw 494 0 24.3999999999999986 2.10000000000000009
3481 Veal, cutlet, semi-trimmed, baked, roasted, fried, grilled or BBQd, no added fat 625 0 27.6000000000000014 4.20000000000000018
3482 Veal, cutlet, semi-trimmed, raw 512 0 24.3000000000000007 2.70000000000000018
3483 Veal, cutlet, separable lean, fried, grilled or BBQd, no added fat 552 0 28.1000000000000014 2
3484 Veal, cutlet, separable lean, raw 459 0 24.6000000000000014 1.10000000000000009
3485 Veal, cutlet, untrimmed, baked, roasted, fried, grilled or BBQd, no added fat 632 0 27.5 4.40000000000000036
3486 Veal, cutlet, untrimmed, raw 523 0 24.1999999999999993 3
3487 Veal, diced, fully-trimmed, baked, roasted, fried, stir-fried, grilled or BBQd, fat not further defined 629 0 27.6000000000000014 4.29999999999999982
3488 Veal, diced, fully-trimmed, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 660 0 31.8000000000000007 3.20000000000000018
3489 Veal, diced, fully-trimmed, boiled, casseroled, microwaved, poached, steamed, or stewed, no added fat 565 0 28.8999999999999986 2
3490 Veal, diced, fully-trimmed, raw 452 0 23.1000000000000014 1.60000000000000009
3491 Veal, diced, separable lean, fried, stir-fried, grilled or BBQd, no added fat 653 0 31.8999999999999986 3
3492 Veal, diced, separable lean, raw 448 0 23.1000000000000014 1.5
3493 Veal, diced, untrimmed, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 679 0 31.6000000000000014 3.79999999999999982
3494 Veal, diced, untrimmed, raw 466 0 23 2
3495 Veal, heart, baked or roasted, no added fat 762 0 32 5.90000000000000036
3496 Veal, heart, raw 429 0 18.5 3.10000000000000009
3497 Veal, kidney, fried, grilled or BBQd, no added fat 702 0 26.6999999999999993 6.70000000000000018
3498 Veal, kidney, raw 448 0 17.3999999999999986 4.09999999999999964
3499 Veal, leg roast, fully-trimmed, baked or roasted, no added fat 665 0 34.2000000000000028 2.20000000000000018
3500 Veal, leg roast, fully-trimmed, raw 489 0 24.3000000000000007 2
3501 Veal, leg roast, separable lean, fried, grilled or BBQd, no added fat 655 0 34.3999999999999986 1.89999999999999991
3502 Veal, leg roast, separable lean, raw 470 0 24.3999999999999986 1.5
3503 Veal, leg steak, fully-trimmed, baked, roasted, fried, grilled or BBQd, fat not further defined 663 0 29.1000000000000014 4.59999999999999964
3504 Veal, leg steak, fully-trimmed, baked, roasted, fried, grilled or BBQd, no added fat 662 0 34.2999999999999972 2.10000000000000009
3505 Veal, leg steak, fully-trimmed, raw 481 0 24.3000000000000007 1.80000000000000004
3506 Veal, leg steak, separable lean, fried, grilled or BBQd, no added fat 655 0 34.3999999999999986 1.89999999999999991
3507 Veal, leg steak, separable lean, raw 470 0 24.3999999999999986 1.5
3508 Veal, leg steak, untrimmed, baked, roasted, fried, grilled or BBQd, no added fat 675 0 34.1000000000000014 2.60000000000000009
3509 Veal, leg steak, untrimmed, raw 482 0 24.3000000000000007 1.80000000000000004
3510 Veal, liver, fried, grilled or BBQd, no added fat 786 0 27 8.09999999999999964
3511 Veal, liver, raw 567 0 18.3999999999999986 5.5
3512 Veal, loin chop, fully-trimmed, baked, roasted, fried, grilled or BBQd, no added fat 652 0 29.3999999999999986 4.09999999999999964
3513 Veal, loin chop, fully-trimmed, raw 461 0 22.5 2.10000000000000009
3514 Veal, loin chop, semi-trimmed, raw 512 0 24.3000000000000007 2.70000000000000018
3515 Veal, loin chop, separable fat, fried, grilled or BBQd, no added fat 1685 0 20.1000000000000014 36.2999999999999972
3517 Veal, loin chop, separable lean, fried, grilled or BBQd, no added fat 606 0 29.8000000000000007 2.70000000000000018
3518 Veal, loin chop, separable lean, raw 440 0 22.6000000000000014 1.5
3519 Veal, loin chop, untrimmed, baked, roasted, fried, grilled or BBQd, no added fat 674 0 29.1999999999999993 4.79999999999999982
3520 Veal, loin chop, untrimmed, raw 555 0 22.1999999999999993 4.79999999999999982
3521 Veal, mince, untrimmed, raw 466 0 23 2
3522 Veal, schnitzel, breadcrumb coating, baked, roasted, fried, grilled or BBQd, canola oil 1041 0.5 24.1000000000000014 11.6999999999999993
3523 Veal, schnitzel, breadcrumb coating, baked, roasted, fried, grilled or BBQd, fat not further defined 1037 0.5 24.1000000000000014 11.5999999999999996
3524 Veal, schnitzel, breadcrumb coating, baked, roasted, fried, grilled or BBQd, no added fat 846 0.5 25.3999999999999986 5.5
3525 Veal, schnitzel, breadcrumb coating, baked, roasted, fried, grilled or BBQd, olive oil 1041 0.5 24.1000000000000014 11.6999999999999993
3526 Veal, schnitzel, breadcrumb coating, baked, roasted, fried, grilled or BBQd, other oil 1041 0.5 24.1000000000000014 11.6999999999999993
3527 Veal, schnitzel, breadcrumb coating, boiled, casseroled, microwaved, poached, steamed or stewed, no added fat 846 0.5 25.3999999999999986 5.5
3528 Veal, schnitzel, breadcrumb coating, cooked with tomato sauce & cheese (veal parmigiana) 908 2.29999999999999982 18.6999999999999993 11
3529 Veal, stir-fry strips, fully-trimmed, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 620 0 29.8999999999999986 3
3530 Veal, stir-fry strips, fully-trimmed, raw 547 0 27.1000000000000014 2.29999999999999982
3531 Veal, stir-fry strips, separable lean, fried, stir-fried, grilled or BBQd, no added fat 614 0 30 2.79999999999999982
3532 Veal, stir-fry strips, separable lean, raw 536 0 27.1999999999999993 2
3533 Veal, stir-fry strips, untrimmed, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 623 0 29.8999999999999986 3.10000000000000009
3534 Veal, stir-fry strips, untrimmed, raw 551 0 27.1000000000000014 2.5
3535 Venison, diced, lean, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 539 0 28 1.69999999999999996
3536 Venison, diced, lean, raw 415 0 22 1.10000000000000009
3537 Venison, leg medallion, lean, baked, roasted, fried, stir-fried, grilled or BBQd, fat not further defined 634 0 28.1000000000000014 4.20000000000000018
3538 Venison, leg medallion, lean, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 549 0 28.6999999999999993 1.60000000000000009
3539 Venison, leg medallion, lean, raw 457 0 23.5 1.5
3540 Venison, mince, premium, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 644 0 29.8000000000000007 3.70000000000000018
3541 Venison, mince, premium, raw 465 0 21 2.89999999999999991
3542 Venison, stir fry strips, lean, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 654 0 35.2000000000000028 1.5
3543 Venison, stir fry strips, lean, raw 439 0 23.6000000000000014 1
3544 Vinegar, balsamic 329 15 0.5 0
3545 Vinegar (except balsamic vinegar) 65 0 0.100000000000000006 0
3546 Vine leaf, grape, canned 243 0.200000000000000011 4.29999999999999982 2
3547 Vine leaf, stuffed with rice & meat, homemade from basic ingredients 606 0.599999999999999978 8.09999999999999964 10.0999999999999996
3548 Vine leaf, stuffed with rice & tomato, commercial 688 0.800000000000000044 2.39999999999999991 8.19999999999999929
3549 Vine leaf, stuffed with rice & tomato, homemade from basic ingredients 728 0.800000000000000044 2.29999999999999982 9.5
3550 Vitamin C 0 0 0 0
3551 Vitamin E 0 0 0 0
3552 Vodka 886 0.100000000000000006 0 0
3553 Wasabi, root, raw 427 8 4.79999999999999982 0.599999999999999978
3554 Water, bore 0 0 0 0
3555 Water, bottled, carbonated or soda water 0 0 0 0
3556 Water, bottled, still 0 0 0 0
3557 Water, bottled, with added sugar, vitamins & minerals 70 4.40000000000000036 0 0
3558 Water chestnut, peeled, canned, drained 219 5.09999999999999964 0.599999999999999978 0.900000000000000022
3559 Watercress, boiled, microwaved or steamed, drained 130 0.800000000000000044 3.39999999999999991 0.5
3560 Watercress, boiled, microwaved or steamed, drained, added fat not further defined 320 0.800000000000000044 3.29999999999999982 5.79999999999999982
3561 Watercress, raw 110 0.699999999999999956 2.89999999999999991 0.400000000000000022
3562 Water, filtered 0 0 0 0
3563 Water, ice 0 0 0 0
3564 Water, rainwater or tank water 0 0 0 0
3565 Water, tap 0 0 0 0
3566 Wattle seed (acacia), ground 1183 0 20.3000000000000007 6.09999999999999964
3567 Wax jambu, raw 109 4.5 0.699999999999999956 0.200000000000000011
3568 Wheat bran, unprocessed, uncooked 1119 2.70000000000000018 14.8000000000000007 4.09999999999999964
3569 Wheat germ 1297 7.5 22.6000000000000014 7.09999999999999964
3570 Whisky or scotch 892 0 0 0
3571 Whitebait, floured, fried, not further defined 1818 0.100000000000000006 21 38
3572 Whiting, baked, roasted, fried, grilled or BBQd, no added fat 517 0 28.1999999999999993 1
3573 Whiting, baked, roasted, grilled, BBQd, fried or deep fried, fat not further defined 751 0 26.8000000000000007 8
3574 Whiting, boiled, microwaved, steamed or poached, with or without added fat 437 0 23.3000000000000007 1.10000000000000009
3575 Whiting, coated, baked, roasted, fried, deep fried, grilled, or BBQd, fat not further defined 795 0.400000000000000022 21 8.80000000000000071
3576 Whiting, coated, packaged frozen, baked, roasted, fried, grilled, or BBQd, with or without added fat 735 0.400000000000000022 22.3999999999999986 6.09999999999999964
3577 Whiting, coated, takeaway outlet, deep fried 1042 0.200000000000000011 16 16.3000000000000007
3578 Whiting, raw 362 0 19.8000000000000007 0.699999999999999956
3579 Wine cooler, wine & fruit juice blend, all flavours 214 7.59999999999999964 0.100000000000000006 0
3580 Wine, not further defined 310 0.400000000000000022 0.200000000000000011 0
3581 Wine, red 324 0 0.200000000000000011 0
3582 Wine, red, cooked 98 0 0.200000000000000011 0
3583 Wine, red, reduced alcohol 195 0 0.200000000000000011 0
3584 Wine, red, sparkling 338 2 0.200000000000000011 0
3585 Wine, rose 331 3.60000000000000009 0.200000000000000011 0
3586 Wine, white, cooked 108 1.19999999999999996 0.200000000000000011 0
3587 Wine, white, dry style (sugars content < 1%) 298 0.299999999999999989 0.200000000000000011 0
3588 Wine, white, medium dry style (~ 1% sugars) 309 1.10000000000000009 0.200000000000000011 0
3589 Wine, white, medium sweet style (~ 2.5% sugars) 268 2.60000000000000009 0.200000000000000011 0
3590 Wine, white, not further defined 296 0.599999999999999978 0.200000000000000011 0
3591 Wine, white, reduced alcohol 173 1.10000000000000009 0.200000000000000011 0
3592 Wine, white, sparkling 292 1 0.200000000000000011 0
3593 Wine, white, sparkling, de-alcoholised 31 1 0.200000000000000011 0
3594 Wine, white, sweet dessert style 402 10 0.200000000000000011 0
3595 Yabby (yabbie), flesh, cooked, no added fat 407 0 22 0.900000000000000022
3596 Yam, wild harvested, cooked 453 1.19999999999999996 3.20000000000000018 0.299999999999999989
3597 Yeast, bakers, compressed 454 0 13.5999999999999996 2
3598 Yeast, dry powder 1068 0 36.3999999999999986 5
3599 Yoghurt, apple & cinnamon flavoured, regular fat (~3%), added cereals 482 14.9000000000000004 4.5 3.39999999999999991
3600 Yoghurt, apricot, peach or nectarine pieces or flavoured, low fat (<0.5%) 310 12.5 5 0.100000000000000006
3601 Yoghurt, apricot, peach or nectarine pieces or flavoured, low fat (<0.5%), intense sweetened 165 4.20000000000000018 4.09999999999999964 0.200000000000000011
3602 Yoghurt, apricot, peach or nectarine pieces or flavoured, reduced fat (1%) 355 13.4000000000000004 5 1
3603 Yoghurt, apricot, peach or nectarine pieces or flavoured, regular fat (~3%) 386 11.0999999999999996 4.20000000000000018 3.20000000000000018
3604 Yoghurt, banana & honey flavoured, low fat (<0.5%), intense sweetened 194 5.40000000000000036 4 0.100000000000000006
3605 Yoghurt, banana & honey flavoured, regular fat (~3%), added cereals 439 12.6999999999999993 4.5 3.10000000000000009
3606 Yoghurt, banana pieces or flavoured, regular fat (~3%) 386 11.5999999999999996 4.5 2.79999999999999982
3607 Yoghurt, banana pieces or flavoured, regular fat (~3%), added omega-3 polyunsaturates 383 11 4.79999999999999982 2.79999999999999982
3608 Yoghurt, berry flavoured, regular fat (~3%), added cereals 486 13.9000000000000004 4.70000000000000018 3.5
3609 Yoghurt, berry pieces or flavoured, low fat (<0.5%) 328 12.0999999999999996 5.20000000000000018 0.299999999999999989
3610 Yoghurt, berry pieces or flavoured, low fat (<0.5%), intense sweetened 160 4 4.09999999999999964 0.200000000000000011
3611 Yoghurt, berry pieces or flavoured, low fat (<0.5%), intense sweetened, added fibre 180 4 4.09999999999999964 0.200000000000000011
3612 Yoghurt, berry pieces or flavoured, reduced fat (1%) 368 14.5999999999999996 4.79999999999999982 0.900000000000000022
3613 Yoghurt, berry pieces or flavoured, reduced fat (1%), added fibre 380 14.5999999999999996 4.79999999999999982 0.900000000000000022
3614 Yoghurt, berry pieces or flavoured, reduced fat (2%), added vitamins A, C, E, & omega-3 polyunsaturates 364 11.0999999999999996 5.40000000000000036 2
3615 Yoghurt, berry pieces or flavoured, regular fat (~3%) 401 11.5999999999999996 4.70000000000000018 3.10000000000000009
3616 Yoghurt, berry pieces or flavoured, regular fat (~3%), added omega-3 polyunsaturates 363 9.90000000000000036 4.79999999999999982 2.79999999999999982
3617 Yoghurt, berry pieces or flavoured, with added fruit juice, reduced fat (~2%) 451 17.1999999999999993 3.39999999999999991 1.80000000000000004
3618 Yoghurt, dessert flavoured, low fat (<0.5%), intense sweetened 193 4.79999999999999982 3.89999999999999991 0.100000000000000006
3619 Yoghurt, dessert flavoured, low fat (<0.5%), intense sweetened, added fibre 272 7 5.40000000000000036 0.100000000000000006
3620 Yoghurt, dessert flavoured, reduced fat (~1%) 417 16.1999999999999993 4.90000000000000036 1.39999999999999991
3621 Yoghurt, drinking style, fruit flavoured, reduced fat (1%) 286 11.3000000000000007 3.60000000000000009 0.599999999999999978
3622 Yoghurt, drinking style, vanilla flavoured, reduced fat (1%) 298 12.0999999999999996 3.5 0.599999999999999978
3623 Yoghurt, flavoured, reduced fat (~1.5%), homemade from basic ingredients 391 13.6999999999999993 5.5 1.5
3624 Yoghurt, flavoured, regular fat (~4%), homemade from basic ingredients 451 13.6999999999999993 4.5 3.60000000000000009
3625 Yoghurt, frozen, berry flavoured, regular fat 523 22.1000000000000014 3.5 2.89999999999999991
3626 Yoghurt, frozen, tropical or fruit salad flavoured, regular fat 563 20.6000000000000014 3.60000000000000009 3
3627 Yoghurt, fruit pieces or flavoured, reduced fat (~2%), added Ca & vitamin D 366 12 3.29999999999999982 1.80000000000000004
3628 Yoghurt, fruit pieces, reduced fat (2%), added vitamins A, B1, B2, B3, B6, B12, C, D, E, & folate 415 10.6999999999999993 5.29999999999999982 2
3629 Yoghurt, Greek style (~10%), natural 589 6.90000000000000036 4.90000000000000036 10.0999999999999996
3630 Yoghurt, Greek style (~8%), natural 500 5.79999999999999982 5.09999999999999964 8
3631 Yoghurt, Greek style, reduced fat (~2%), natural 376 8.30000000000000071 7.5 2.10000000000000009
3632 Yoghurt, Greek style, regular fat (~5%), natural 441 9 5.70000000000000018 4.79999999999999982
3633 Yoghurt, honey flavoured, high fat (~5%) 502 12.4000000000000004 4.59999999999999964 4.59999999999999964
3634 Yoghurt, honey flavoured, reduced fat (~1%) 414 15.4000000000000004 5 0.900000000000000022
3635 Yoghurt, honey flavoured, reduced fat (~2%) 406 8.80000000000000071 5.20000000000000018 1.69999999999999996
3636 Yoghurt, mango pieces or flavoured, low fat (<0.5%), intense sweetened 174 4.90000000000000036 4 0.100000000000000006
3637 Yoghurt, mango pieces or flavoured, reduced fat (1%) 381 15.1999999999999993 4.90000000000000036 1
3638 Yoghurt, mango pieces or flavoured, regular fat (~3%) 430 13.5999999999999996 4.09999999999999964 3.29999999999999982
3639 Yoghurt, natural, low fat (<0.5%) 241 5.90000000000000036 6.59999999999999964 0.299999999999999989
3640 Yoghurt, natural, not further defined 309 5.29999999999999982 5.59999999999999964 2.89999999999999991
3641 Yoghurt, natural or Greek, high fat (~6%), added berry pieces 520 12.5999999999999996 4.70000000000000018 5.79999999999999982
3642 Yoghurt, natural or Greek, high fat (~6%), added mango &/or passionfruit pieces 517 11.9000000000000004 4.90000000000000036 5.79999999999999982
3643 Yoghurt, natural or Greek, high fat (~8%), added honey or sugar 549 10.4000000000000004 4.79999999999999982 7.59999999999999964
3644 Yoghurt, natural or Greek, regular fat (~3.5%), added honey 439 13.3000000000000007 4.79999999999999982 3.39999999999999991
3645 Yoghurt, natural or Greek, regular fat (~4%), added berry pieces 486 14.5999999999999996 4.79999999999999982 4
3646 Yoghurt, natural or Greek, regular fat (~4%), added mango &/or passionfruit pieces 540 17.8999999999999986 4.5 4
3647 Yoghurt, natural, reduced fat (~1.5%) 309 8.59999999999999964 5.5 1.5
3648 Yoghurt, natural, reduced fat (~1.5%), homemade from basic ingredients 309 8.59999999999999964 5.5 1.5
3649 Yoghurt, natural, regular fat (~4%) 324 4.20000000000000018 5.29999999999999982 3.89999999999999991
3650 Yoghurt, natural, regular fat (~4%), homemade from basic ingredients 353 4.79999999999999982 5.70000000000000018 4.20000000000000018
3651 Yoghurt, not further defined 370 9.80000000000000071 4.90000000000000036 2.89999999999999991
3652 Yoghurt, passionfruit flavoured, low fat (<0.5%), intense sweetened 171 4.59999999999999964 4.09999999999999964 0.100000000000000006
3653 Yoghurt, passionfruit flavoured, reduced fat (1%) 371 14.4000000000000004 4.90000000000000036 1
3654 Yoghurt, passionfruit flavoured, reduced fat (1%), added fibre 352 12.5 5.09999999999999964 0.900000000000000022
3655 Yoghurt, passionfruit flavoured, reduced fat (1%), reduced sugar 224 5.29999999999999982 4.79999999999999982 1
3656 Yoghurt, passionfruit flavoured, regular fat (~3%) 402 11.4000000000000004 4.29999999999999982 3.39999999999999991
3657 Yoghurt, peach, mango & passionfruit pieces or flavoured, high fat (~6%) 495 10.5999999999999996 5.20000000000000018 5.79999999999999982
3658 Yoghurt, peach & mango pieces or flavoured, low fat (<0.5%), intense sweetened 174 4.79999999999999982 4.09999999999999964 0.100000000000000006
3659 Yoghurt, peach & mango pieces or flavoured, reduced fat (1%) 368 14.3000000000000007 4.90000000000000036 1
3660 Yoghurt, peach & mango pieces or flavoured, reduced fat (1%), added fibre 368 13.5999999999999996 5.09999999999999964 0.800000000000000044
3661 Yoghurt, peach & mango pieces or flavoured, reduced fat (2%) 414 15.4000000000000004 5.20000000000000018 1.60000000000000009
3662 Yoghurt, peach & mango pieces or flavoured, regular fat (~3%) 406 12 4.20000000000000018 3.29999999999999982
3663 Yoghurt, soy based, apricot or mango flavoured, reduced fat (approx. 1%) 321 10 3.29999999999999982 0.599999999999999978
3664 Yoghurt, soy based, berry flavoured, reduced fat (1%) 337 11.0999999999999996 3.20000000000000018 0.599999999999999978
3665 Yoghurt, soy based, berry flavoured, regular fat (approx. 3%) 416 8.40000000000000036 3.70000000000000018 3.70000000000000018
3666 Yoghurt, soy based, vanilla flavoured, reduced fat (approx. 1%) 309 8.40000000000000036 3.70000000000000018 0.800000000000000044
3667 Yoghurt, tropical fruit or fruit salad pieces or flavoured, low fat (<0.5%), intense sweetened 170 4.5 4.09999999999999964 0.100000000000000006
3668 Yoghurt, tropical fruit or fruit salad pieces or flavoured, low fat (<0.5%), intense sweetened, added fibre 261 7.29999999999999982 5.5 0.100000000000000006
3669 Yoghurt, tropical fruit or fruit salad pieces or flavoured, reduced fat (1%) 368 14.1999999999999993 4.90000000000000036 1
3670 Yoghurt, tropical fruit or fruit salad pieces or flavoured, regular fat (~3%) 401 11.9000000000000004 4.29999999999999982 3.20000000000000018
3671 Yoghurt, tropical fruit or fruit salad pieces or flavoured, regular fat (~3%), added omega-3 polyunsaturates 381 11.3000000000000007 4.70000000000000018 2.70000000000000018
3672 Yoghurt, tropical fruit or fruit salad pieces or flavoured, with added fruit juice, reduced fat (~2%) 447 17 3.39999999999999991 1.80000000000000004
3673 Yoghurt, vanilla flavoured, low fat (<0.5%) 367 12.6999999999999993 5.79999999999999982 0.5
3674 Yoghurt, vanilla flavoured, low fat (<0.5%), intense sweetened 186 4.29999999999999982 3.89999999999999991 0.100000000000000006
3675 Yoghurt, vanilla flavoured, low fat (<0.5%), with added protein & fibre, intense sweetened 309 6.79999999999999982 5.40000000000000036 0.100000000000000006
3676 Yoghurt, vanilla flavoured, reduced fat (~1%) 363 14 4.90000000000000036 0.900000000000000022
3677 Yoghurt, vanilla flavoured, reduced fat (~1%), added fibre 370 13.8000000000000007 5 0.800000000000000044
3678 Yoghurt, vanilla flavoured, reduced fat (~1%), intense sweetened 262 6.5 4.90000000000000036 0.900000000000000022
3679 Yoghurt, vanilla flavoured, reduced fat (2%), added berry pieces 489 19.3999999999999986 4.40000000000000036 1.5
3680 Yoghurt, vanilla flavoured, regular fat (~3%) 388 9.80000000000000071 4.90000000000000036 3.39999999999999991
3681 Yoghurt, vanilla flavoured, regular fat (~3%), added omega-3 polyunsaturates 379 11 4.79999999999999982 2.70000000000000018
3682 Zucchini, golden, fresh or frozen, peeled or unpeeled, boiled, microwaved or steamed, drained 93 1.30000000000000004 2.60000000000000009 0.400000000000000022
3683 Zucchini, golden, fresh or frozen, peeled or unpeeled, raw 78 1.10000000000000009 2.20000000000000018 0.299999999999999989
3684 Zucchini, green skin, fresh or frozen, peeled or unpeeled, baked, roasted, fried, stir-fried, grilled or BBQd, canola oil 352 2.29999999999999982 1.19999999999999996 7.59999999999999964
3685 Zucchini, green skin, fresh or frozen, peeled or unpeeled, baked, roasted, fried, stir-fried, grilled or BBQd, fat not further defined 347 2.29999999999999982 1.19999999999999996 7.40000000000000036
3686 Zucchini, green skin, fresh or frozen, peeled or unpeeled, baked, roasted, fried, stir-fried, grilled or BBQd, no added fat 92 2.39999999999999991 1.30000000000000004 0.400000000000000022
3687 Zucchini, green skin, fresh or frozen, peeled or unpeeled, baked, roasted, fried, stir-fried, grilled or BBQd, olive oil 352 2.29999999999999982 1.19999999999999996 7.59999999999999964
3688 Zucchini, green skin, fresh or frozen, peeled or unpeeled, boiled, microwaved or steamed, drained 77 2 1.10000000000000009 0.400000000000000022
3689 Zucchini, green skin, fresh or frozen, peeled or unpeeled, boiled, microwaved or steamed, drained, added fat not further defined 293 1.89999999999999991 1 6.29999999999999982
3690 Zucchini, green skin, fresh or frozen, peeled or unpeeled, raw 65 1.69999999999999996 0.900000000000000022 0.299999999999999989
3691 Zucchini, green skin, fresh or frozen, peeled or unpeeled, stir-fried, butter, dairy blend or margarine 299 2.29999999999999982 1.30000000000000004 6.09999999999999964
3692 Zucchini slice, with bacon 820 1.60000000000000009 9.09999999999999964 13.3000000000000007
3693 Zucchini slice, without bacon 729 1.89999999999999991 7.70000000000000018 11.4000000000000004
\.
--
-- Name: ingredients_id_seq; Type: SEQUENCE SET; Schema: public; Owner: dave
--
SELECT pg_catalog.setval('ingredients_id_seq', 3693, true);
--
-- Data for Name: mealplan; Type: TABLE DATA; Schema: public; Owner: dave
--
COPY mealplan (userid, recipeid, mealcode, dateadded) FROM stdin;
10 10 2 2016-10-19
10 5 3 2016-10-20
10 14 2 2016-10-20
10 10 1 2016-10-20
10 14 2 2016-10-22
10 1 1 2016-10-22
10 13 3 2016-10-22
11 1 1 2016-10-22
11 13 2 2016-10-22
11 10 3 2016-10-22
11 5 3 2016-10-22
\.
--
-- Data for Name: ratings; Type: TABLE DATA; Schema: public; Owner: dave
--
COPY ratings (id, userid, recipe, rating) FROM stdin;
108 9 1 1
109 9 2 2
110 9 3 5
111 9 4 5
112 9 5 5
113 9 6 4
114 9 7 5
115 9 8 1
116 9 9 5
117 10 1 1
118 10 2 2
119 10 6 5
120 10 7 5
121 10 8 1
122 10 9 5
123 11 2 3
124 11 3 5
125 11 4 4
126 11 5 3
127 11 6 4
128 11 7 5
129 11 8 4
130 11 9 5
131 12 1 5
132 12 2 5
133 12 3 5
134 12 4 0
135 12 5 2
136 12 6 3
137 12 7 1
138 12 8 4
139 12 9 1
\.
--
-- Name: ratings_id_seq; Type: SEQUENCE SET; Schema: public; Owner: dave
--
SELECT pg_catalog.setval('ratings_id_seq', 139, true);
--
-- Data for Name: recipes; Type: TABLE DATA; Schema: public; Owner: dave
--
COPY recipes (id, name, author, instruction_file) FROM stdin;
8 Beef and Tomato Casserole with Herb Dumplings \N instrfiles/8.instr
13 Sticky Chilli Chicken with Brown Rice \N instrfiles/13.instr
14 Chicken Saltimbocca \N instrfiles/14.instr
5 Choc-Berry Roulade \N instrfiles/5.instr
15 Thai Chicken and Asparagus Curry \N instrfiles/15.instr
1 Shake 10
3 Crispy Squid Salad \N instrfiles/3.instr
11 Fried Fish and Chips \N instrfiles/11.instr
2 Green Smoothie Bowl \N instrfiles/2.instr
7 Vietnamese Beef Noodle Soup \N instrfiles/7.instr
9 Barbequed Seafood with Truffled Mash \N instrfiles/9.instr
10 Coronotation Chicken with Mango Rice Salad \N instrfiles/10.instr
6 Rum and Maple Steak with Fries \N instrfiles/6.instr
12 Mediterranean Fish With Olives and Tomatoes \N instrfiles/12.instr
4 Cheese Frittatta \N instrfiles/4.instr
16 Satay Chicken Sticks \N instrfiles/16.instr
\.
--
-- Name: recipes_id_seq; Type: SEQUENCE SET; Schema: public; Owner: dave
--
SELECT pg_catalog.setval('recipes_id_seq', 1, true);
--
-- Data for Name: userattr; Type: TABLE DATA; Schema: public; Owner: dave
--
COPY userattr (id, sex, height, weight, age, exercise, userid) FROM stdin;
3 M 180 80 22 2 9
4 M 185 80 23 2 10
5 M 185 80 22 2 11
6 M 180 90 23 3 12
7 M 180 90 23 3 13
\.
--
-- Name: userattr_id_seq; Type: SEQUENCE SET; Schema: public; Owner: dave
--
SELECT pg_catalog.setval('userattr_id_seq', 7, true);
--
-- Data for Name: users; Type: TABLE DATA; Schema: public; Owner: dave
--
COPY users (id, name, pwrd, email, attrid) FROM stdin;
9 fraz d2105a520cac3cf8004af7dfeec669151f7970e4ea04571a0bbbfe9dcbdd46ed9cdd0ca4b3ebb7e364010c6f984946f029642b49f6308caed4d87d3a698b0565 haha@lol.com \N
10 fraz d2105a520cac3cf8004af7dfeec669151f7970e4ea04571a0bbbfe9dcbdd46ed9cdd0ca4b3ebb7e364010c6f984946f029642b49f6308caed4d87d3a698b0565 ethics@fuckwobcke.com \N
11 Fraz d2105a520cac3cf8004af7dfeec669151f7970e4ea04571a0bbbfe9dcbdd46ed9cdd0ca4b3ebb7e364010c6f984946f029642b49f6308caed4d87d3a698b0565 ethics@kant.com \N
12 Dave 67aaf3b7dcfb32df090628542d1808813b94b9cd301637098f0b68619433c2e131d0636d86a62c69b0bdd43b13502ad8f3e61797ec3eb5171276dcc7a407b4bd hello@world.com \N
13 DaveJr 67aaf3b7dcfb32df090628542d1808813b94b9cd301637098f0b68619433c2e131d0636d86a62c69b0bdd43b13502ad8f3e61797ec3eb5171276dcc7a407b4bd foo@bar.com \N
\.
--
-- Name: users_id_seq; Type: SEQUENCE SET; Schema: public; Owner: dave
--
SELECT pg_catalog.setval('users_id_seq', 13, true);
--
-- Name: contains contains_pkey; Type: CONSTRAINT; Schema: public; Owner: dave
--
ALTER TABLE ONLY contains
ADD CONSTRAINT contains_pkey PRIMARY KEY (id);
--
-- Name: ingredients ingredients_pkey; Type: CONSTRAINT; Schema: public; Owner: dave
--
ALTER TABLE ONLY ingredients
ADD CONSTRAINT ingredients_pkey PRIMARY KEY (id);
--
-- Name: ratings ratings_pkey; Type: CONSTRAINT; Schema: public; Owner: dave
--
ALTER TABLE ONLY ratings
ADD CONSTRAINT ratings_pkey PRIMARY KEY (id);
--
-- Name: ratings ratings_userid_recipe_key; Type: CONSTRAINT; Schema: public; Owner: dave
--
ALTER TABLE ONLY ratings
ADD CONSTRAINT ratings_userid_recipe_key UNIQUE (userid, recipe);
--
-- Name: recipes recipes_pkey; Type: CONSTRAINT; Schema: public; Owner: dave
--
ALTER TABLE ONLY recipes
ADD CONSTRAINT recipes_pkey PRIMARY KEY (id);
--
-- Name: userattr userattr_pkey; Type: CONSTRAINT; Schema: public; Owner: dave
--
ALTER TABLE ONLY userattr
ADD CONSTRAINT userattr_pkey PRIMARY KEY (id);
--
-- Name: users users_pkey; Type: CONSTRAINT; Schema: public; Owner: dave
--
ALTER TABLE ONLY users
ADD CONSTRAINT users_pkey PRIMARY KEY (id);
--
-- Name: users user_valid_attr; Type: FK CONSTRAINT; Schema: public; Owner: dave
--
ALTER TABLE ONLY users
ADD CONSTRAINT user_valid_attr FOREIGN KEY (attrid) REFERENCES userattr(id);
--
-- Name: contains valid_recipe; Type: FK CONSTRAINT; Schema: public; Owner: dave
--
ALTER TABLE ONLY contains
ADD CONSTRAINT valid_recipe FOREIGN KEY (recipe) REFERENCES recipes(id);
--
-- Name: recipes valid_user; Type: FK CONSTRAINT; Schema: public; Owner: dave
--
ALTER TABLE ONLY recipes
ADD CONSTRAINT valid_user FOREIGN KEY (author) REFERENCES users(id);
--
-- Name: userattr valid_userid; Type: FK CONSTRAINT; Schema: public; Owner: dave
--
ALTER TABLE ONLY userattr
ADD CONSTRAINT valid_userid FOREIGN KEY (userid) REFERENCES users(id);
--
-- PostgreSQL database dump complete
--
| true |
08ff029e77dd61d3172a351485770dd3a4f5040a | SQL | 1872002edw/WebSemantik_Praktikum7_Kelompok4 | /latihansemantik.sql | UTF-8 | 2,346 | 3.09375 | 3 | [] | no_license | -- phpMyAdmin SQL Dump
-- version 5.0.3
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Apr 25, 2021 at 09:22 AM
-- Server version: 10.4.14-MariaDB
-- PHP Version: 7.2.34
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: `latihansemantik`
--
CREATE DATABASE IF NOT EXISTS latihansemantik;
-- --------------------------------------------------------
USE latihansemantik;
--
-- Table structure for table `mahasiswa`
--
CREATE TABLE `mahasiswa` (
`nrp` varchar(15) NOT NULL,
`nama` varchar(30) NOT NULL,
`foto` varchar(50) NOT NULL,
`prodi` varchar(50) NOT NULL,
`fakultas` varchar(50) NOT NULL,
`universitas` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `mahasiswa`
--
INSERT INTO `mahasiswa` (`nrp`, `nama`, `foto`, `prodi`, `fakultas`, `universitas`) VALUES
('1232010', 'John Doe', '1232010.jpg', 'Teknik ', 'Teknik Elektro', 'Universitas Indonesia'),
('1232011', 'Budi', '1232011.jpg', 'Teknik ', 'Teknik Elektro', 'Universitas Indonesia'),
('170000', 'Tes', '170000.jpg', 'Kedokteran', 'Kedokteran', 'Pajajaran'),
('1872000', 'Black Widow', '1872000.jpg', 'Kedokteran', 'Kedokteran', 'Pajajaran'),
('1872002', 'Edward', '1872002.jpg', 'Teknik Informatika', 'Teknologi Informasi', 'Universitas Kristen Maranatha'),
('1872019', 'Ryan', '1872019.jpg', 'Teknik Informatika', 'Teknologi Informasi', 'Universitas Parahyangan'),
('1872027', 'Anthony', '1872027.jpg', 'Teknik Informatika', 'Teknologi Informasi', 'Universitas Kristen Maranatha'),
('1872051', 'Edwin', '1872051.jpg', 'Teknik Informatika', 'Teknologi Informasi', 'Universitas Kristen Maranatha'),
('1872099', 'Loran', '1872099.jpeg', 'Teknik Industri', 'Teknik', 'Universitas Parahyangan');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `mahasiswa`
--
ALTER TABLE `mahasiswa`
ADD PRIMARY KEY (`nrp`);
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 |
bfec2d862dd2577348f4bc418602f5956c2f2448 | SQL | jhuang292/sql-practice-I | /easy/613.sql | UTF-8 | 187 | 3.53125 | 4 | [] | no_license | # Write your MySQL query statement below
SELECT MIN(tb.x) AS shortest
FROM (
SELECT ABS(p1.x - p2.x) AS x
FROM point p1, point p2
WHERE p1.x != p2.x
) tb;
| true |
d3c827b70b6b44180c8a744a33aeabadf01fe67e | SQL | DonnOMalley/OMalleyLandBudget_www | /mysql/CreateTable_Categories.sql | UTF-8 | 214 | 2.6875 | 3 | [] | no_license | CREATE TABLE `OMalleyLandBudget`.`Categories` (
`ID` INTEGER NOT NULL AUTO_INCREMENT,
`Name` VARCHAR NOT NULL,
PRIMARY KEY (`ID`, `Name`)
)
ENGINE = MyISAM
AUTO_INCREMENT = 1
COMMENT = 'Budget Categories';
| true |
a8d5c413811b129822866a8db872a9c3f4a8bd27 | SQL | octosj/LoveDog | /Scripts/Script-4.sql | UTF-8 | 718 | 2.96875 | 3 | [] | no_license | UPDATE O_CODE SET MAIN_OBJ = REPLACE(MAIN_OBJ,' ','');
UPDATE O_CODE SET MAIN_OBJ = TRIM(MAIN_OBJ);
--select id, name, length(name)
-- from test1
SELECT LENGTH(MAIN_OBJ) FROM O_CODE;
SELECT * FROM O_CODE
SELECT TRIM(MAIN_OBJ) FROM O_CODE
DELETE FROM H_CODE_OBJ CASCADE;
DELETE FROM H_CODE_ANI CASCADE;
DELETE FROM OBJ CASCADE;
DELETE FROM ANI CASCADE;
DELETE FROM O_CODE CASCADE;
DELETE FROM A_CODE CASCADE;
ALTER TABLE H_CODE_OBJ
MODIFY (MAIN_OBJ VARCHAR2(5));
INSERT INTO ANI (MAIN_ANI, ANI_DETAIL_CODE, ANI_CONTENT) VALUES ('가','061','잉글리쉬코카스파니엘');
INSERT INTO ANI (MAIN_ANI, ANI_DETAIL_CODE, ANI_CONTENT) VALUES ('가','049','아메리카코커스파니엘'); | true |
74f95008d6c368ee56e4e1af70991a02378ed902 | SQL | luy-0/OrderManagementSystem | /ordermanagement.sql | UTF-8 | 2,414 | 3.71875 | 4 | [] | no_license | drop database if exists ordermanagement;
create database ordermanagement;
use ordermanagement;
create table manager(
manager_id int not null auto_increment,
manager_name varchar(30) not null,
manager_password varchar(20) not null,
manager_address varchar(100),
primary key(manager_id)
);
create table employee(
employee_id int not null auto_increment,
employee_name varchar(30) not null,
employee_password varchar(20) not null,
employee_address varchar(100),
primary key(employee_id)
);
create table merchant(
merchant_id int not null auto_increment,
merchant_name varchar(30) not null,
merchant_password varchar(20) not null,
merchant_address varchar(100),
primary key(merchant_id)
);
create table dish(
dish_id int not null auto_increment,
dish_name varchar(30) not null,
dish_photo_url varchar(200),
unit_price numeric(12,2),
discount_price numeric(12,2),
is_discount bool,
primary key(dish_id),
constraint check_unit_price check(unit_price>=0),
constraint check_discount_price check(discount_price>=0)
);
create table menu(
menu_id int not null auto_increment,
menu_name varchar(20) not null,
merchant_id int,
primary key(menu_id),
foreign key(merchant_id) references merchant(merchant_id)
);
create table menu_has_dishes(
menu_id int,
dish_id int,
foreign key(menu_id) references menu(menu_id),
foreign key(dish_id) references dish(dish_id)
);
create table order0(
order_id int not null auto_increment,
employee_id int not null,
merchant_id int not null,
total_price numeric(12,2),
order_state int,
destitation varchar(100) not null,
primary key(order_id),
foreign key(employee_id) references employee(employee_id),
foreign key(merchant_id) references merchant(merchant_id),
constraint check_total_price check(total_price>=0)
);
create table order_has_dishes(
order_id int,
dish_id int,
foreign key(order_id) references order0(order_id),
foreign key(dish_id) references dish(dish_id)
);
create table bill(
bill_id int not null auto_increment,
order_id int,
primary key(bill_id),
foreign key(order_id) references order0(order_id)
);
create table complaint(
complaint_id int not null auto_increment,
content text,
is_handled bool,
result text,
manager_id int,
employee_id int,
merchant_id int,
primary key(complaint_id),
foreign key(manager_id) references manager(manager_id),
foreign key(employee_id) references employee(employee_id),
foreign key(merchant_id) references merchant(merchant_id)
);
| true |
df8e7c681c7c6270d725497b0c448de27b53045d | SQL | zjw641220480/project | /tom-shiro/src/main/resources/sqlcreate/mysql/shiro_sql_table.sql | UTF-8 | 2,697 | 3.5 | 4 | [] | no_license | /*
SQLyog v10.2
MySQL - 5.1.72-community : Database - shiro
*********************************************************************
*/
/*!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 */;
/*Table structure for table sys_permission */
drop table sys_permission;
CREATE TABLE sys_permission (
id bigint(10) NOT NULL COMMENT '主键',
name varchar(128) NOT NULL COMMENT '资源名称',
type varchar(32) NOT NULL COMMENT '资源类型:menu,button,',
url varchar(128) DEFAULT NULL COMMENT '访问url地址',
percode varchar(128) DEFAULT NULL COMMENT '权限代码字符串',
parentid bigint(20) DEFAULT NULL COMMENT '父结点id',
parentids varchar(128) DEFAULT NULL COMMENT '父结点id列表串',
sortstring varchar(128) DEFAULT NULL COMMENT '排序号',
available char(1) DEFAULT NULL COMMENT '是否可用,1:可用,0不可用',
PRIMARY KEY (id)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*Table structure for table sys_role */
CREATE TABLE sys_role (
id bigint(10) NOT NULL ,
name varchar(128) NOT NULL,
available char(1) DEFAULT NULL COMMENT '是否可用,1:可用,0不可用',
PRIMARY KEY (id)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*Table structure for table sys_role_permission */
CREATE TABLE sys_role_permission (
id varchar(36) NOT NULL,
sys_role_id varchar(32) NOT NULL COMMENT '角色id',
sys_permission_id varchar(32) NOT NULL COMMENT '权限id',
PRIMARY KEY (id)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*Table structure for table sys_user */
CREATE TABLE sys_user (
id varchar(36) NOT NULL COMMENT '主键',
usercode varchar(32) NOT NULL COMMENT '账号',
username varchar(64) NOT NULL COMMENT '姓名',
password varchar(32) NOT NULL COMMENT '密码',
salt varchar(64) DEFAULT NULL COMMENT '盐',
locked char(1) DEFAULT NULL COMMENT '账号是否锁定,1:锁定,0未锁定',
PRIMARY KEY (id)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*Table structure for table sys_user_role */
CREATE TABLE sys_user_role (
id varchar(36) NOT NULL,
sys_user_id varchar(32) NOT NULL,
sys_role_id varchar(32) NOT NULL,
PRIMARY KEY (id)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!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 |
5e78639345c0c3a4b98d5688d9db857823139d0a | SQL | kuali/rice | /scripts/upgrades/2.0.0 to 2.1/db-updates/2012-03-28.sql | UTF-8 | 1,955 | 2.703125 | 3 | [
"Artistic-1.0",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"EPL-1.0",
"CPL-1.0",
"LGPL-2.1-or-later",
"BSD-3-Clause",
"LGPL-3.0-only",
"ECL-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-jdom",
"LicenseRef-scancode-freemarker",
"LicenseRef-scancode-unk... | permissive | --
-- Copyright 2005-2015 The Kuali Foundation
--
-- Licensed under the Educational Community License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.opensource.org/licenses/ecl2.php
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
--
-- KULRICE-5931
-- add 'appDocStatus' attr definition
INSERT INTO KRIM_ATTR_DEFN_T VALUES ((select (max(to_number(KIM_ATTR_DEFN_ID)) + 1) from KRIM_ATTR_DEFN_T where KIM_ATTR_DEFN_ID is not NULL and REGEXP_LIKE(KIM_ATTR_DEFN_ID, '^[1-9][0-9]*$') and to_number(KIM_ATTR_DEFN_ID) < 10000), sys_guid(), 1, 'appDocStatus', null, 'Y', 'KR-WKFLW', 'org.kuali.rice.kim.bo.impl.KimAttributes')
/
-- assign it to 'Document Type & Routing Node or State' type
INSERT INTO KRIM_TYP_ATTR_T VALUES ((select (max(to_number(KIM_TYP_ATTR_ID)) + 1) from KRIM_TYP_ATTR_T where KIM_TYP_ATTR_ID is not NULL and REGEXP_LIKE(KIM_TYP_ATTR_ID, '^[1-9][0-9]*$') and to_number(KIM_TYP_ATTR_ID) < 10000), sys_guid(), 1, 'a', (select kim_typ_id from krim_typ_t where NMSPC_CD='KR-SYS' and NM='Document Type & Routing Node or State'), (select KIM_ATTR_DEFN_ID from KRIM_ATTR_DEFN_T where NMSPC_CD='KR-WKFLW' and NM='appDocStatus'), 'Y')
/
-- create Recall permission template
INSERT INTO KRIM_PERM_TMPL_T VALUES ((select (max(to_number(perm_tmpl_id)) + 1) from krim_perm_tmpl_t where perm_tmpl_id is not NULL and REGEXP_LIKE(perm_tmpl_id, '^[1-9][0-9]*$') and to_number(perm_tmpl_id) < 10000), sys_guid(), 1, 'KR-WKFLW', 'Recall Document', null, (select kim_typ_id from krim_typ_t where NMSPC_CD='KR-SYS' and NM='Document Type & Routing Node or State'), 'Y')
/
| true |
4fccadbddfaef4e9ac0e9380a5e47d97de0fe6b1 | SQL | kolesnykovVladyslav/bayerische-landtagswahl | /sql-scripts/PostgresSchema.sql | UTF-8 | 3,860 | 3.84375 | 4 | [] | no_license | CREATE TABLE Wahl (
ID SERIAL,
Jahr int NOT NULL UNIQUE,
PRIMARY KEY (ID)
);
CREATE TABLE Wahlkreis (
ID int NOT NULL UNIQUE,
Name varchar(255) NOT NULL UNIQUE,
Mandate int NOT NULL,
PRIMARY KEY (ID)
);
---- TODO: MAKE 'Name, WahlID' AND 'Nummer, WahlID' UNIQUE
CREATE TABLE Stimmkreis (
ID SERIAL,
Name varchar(255) NOT NULL,
Wahlkreis int NOT NULL,
Nummer int NOT NULL,
NumBerechtigter int NOT NULL,
WahlID int NOT NULL,
FOREIGN KEY (Wahlkreis) REFERENCES Wahlkreis(ID) on update cascade on delete cascade,
FOREIGN KEY (WahlID) REFERENCES Wahl(ID) on update cascade on delete cascade,
PRIMARY KEY (ID)
);
CREATE TABLE Partei (
ID SERIAL,
ParteiName varchar(255) NOT NULL UNIQUE,
Einordnung varchar(1) NOT NULL DEFAULT 'n',
PRIMARY KEY (ID),
CHECK (Einordnung IN ('n', 'l', 'r'))
);
-- Map Partei to Wahl in which the party took part
CREATE TABLE ParteiZuWahl (
ID SERIAL,
Partei int NOT NULL,
WahlID int NOT NULL,
PRIMARY KEY (ID),
FOREIGN KEY (Partei) REFERENCES Partei(ID) on update cascade on delete cascade,
FOREIGN KEY (WahlID) REFERENCES Wahl(ID) on update cascade on delete cascade,
UNIQUE(Partei, WahlID)
);
CREATE TABLE Kandidat (
ID SERIAL,
Vorname varchar(255) NOT NULL,
Nachname varchar(255) NOT NULL,
Partei int,
WahlID int,
Wahlkreis int,
PRIMARY KEY (ID),
FOREIGN KEY (Partei) REFERENCES Partei(ID) ON UPDATE CASCADE ON DELETE SET NULL,
FOREIGN KEY (WahlID) REFERENCES Wahl(ID) on update cascade on delete cascade,
FOREIGN KEY (Wahlkreis) REFERENCES Wahlkreis(ID) on update cascade on delete cascade
);
-- Associate direct candidate to the stimmkreis in which they ran
CREATE TABLE DKandidatZuStimmkreis (
Kandidat int NOT NULL,
Stimmkreis int NOT NULL,
FOREIGN KEY (Kandidat) REFERENCES Kandidat(ID) ON UPDATE CASCADE ON DELETE CASCADE,
FOREIGN KEY (Stimmkreis) REFERENCES Stimmkreis(ID) ON UPDATE CASCADE ON DELETE CASCADE
);
-- NOTE: FOR SOME REASON, PSYCOPG2 DOESN'T ALLOW BOOLEANS
CREATE TABLE Erststimme (
StimmeID SERIAL,
Kandidat int,
Stimmkreis int NOT NULL,
Wahl int NOT NULL,
IsValid int NOT NULL DEFAULT 1,
PRIMARY KEY (StimmeID),
FOREIGN KEY (Kandidat) REFERENCES Kandidat(ID) ON UPDATE CASCADE ON DELETE CASCADE,
FOREIGN KEY (Stimmkreis) REFERENCES Stimmkreis(ID) ON UPDATE CASCADE ON DELETE CASCADE,
FOREIGN KEY (Wahl) REFERENCES Wahl(ID) ON UPDATE CASCADE ON DELETE CASCADE
);
CREATE TABLE Zweitstimme (
StimmeID SERIAL,
Kandidat int,
Stimmkreis int NOT NULL,
Wahl int NOT NULL,
IsValid int NOT NULL DEFAULT 1,
PRIMARY KEY (StimmeID),
FOREIGN KEY (Kandidat) REFERENCES Kandidat(ID) ON UPDATE CASCADE ON DELETE CASCADE,
FOREIGN KEY (Stimmkreis) REFERENCES Stimmkreis(ID) ON UPDATE CASCADE ON DELETE CASCADE,
FOREIGN KEY (Wahl) REFERENCES Wahl(ID) ON UPDATE CASCADE ON DELETE CASCADE
);
CREATE TABLE ZweitstimmePartei (
StimmeID SERIAL,
Partei int NOT NULL,
Stimmkreis int NOT NULL,
Wahl int NOT NULL,
PRIMARY KEY (StimmeID),
FOREIGN KEY (Partei) REFERENCES Partei(ID) ON UPDATE CASCADE ON DELETE CASCADE,
FOREIGN KEY (Wahl) REFERENCES Wahl(ID) ON UPDATE CASCADE ON DELETE CASCADE
);
CREATE TABLE VoteRecords (
Key varchar(64) NOT NULL UNIQUE,
Wahl int NOT NULL,
Stimmkreis int NOT NULL,
HasVoted bool DEFAULT false,
Primary key (Key, Wahl),
FOREIGN KEY (Stimmkreis) REFERENCES Stimmkreis(ID) ON UPDATE CASCADE ON DELETE CASCADE,
FOREIGN KEY (Wahl) REFERENCES Wahl(ID) ON UPDATE CASCADE ON DELETE CASCADE
);
INSERT INTO Wahlkreis(ID, Name, Mandate) VALUES
(1, 'Oberbayern', 61),
(2, 'Niederbayern', 18),
(3, 'Oberpfalz', 16),
(4, 'Oberfranken', 16),
(5, 'Mittelfranken', 24),
(6, 'Unterfranken', 19),
(7, 'Schwaben', 26); | true |
d64c82b21b7029adb1a6b2b52283683818dc66f4 | SQL | radtek/abs3 | /sql/mmfo/bars/Table/saldoy.sql | WINDOWS-1251 | 12,137 | 2.828125 | 3 | [] | no_license |
PROMPT =====================================================================================
PROMPT *** Run *** ========== Scripts /Sql/BARS/Table/SALDOY.sql =========*** Run *** ======
PROMPT =====================================================================================
PROMPT *** ALTER_POLICY_INFO to SALDOY ***
BEGIN
execute immediate
'begin
bpa.alter_policy_info(''SALDOY'', ''CENTER'' , null, null, null, null);
bpa.alter_policy_info(''SALDOY'', ''FILIAL'' , ''M'', ''M'', ''M'', ''M'');
bpa.alter_policy_info(''SALDOY'', ''WHOLE'' , null, ''E'', ''E'', ''E'');
null;
end;
';
END;
/
PROMPT *** Create table SALDOY ***
begin
execute immediate '
CREATE TABLE BARS.SALDOY
( KF VARCHAR2(6) DEFAULT sys_context(''bars_context'',''user_mfo''),
FDAT DATE,
ACC NUMBER(38,0),
DOS NUMBER(24,0),
DOSQ NUMBER(24,0),
KOS NUMBER(24,0),
KOSQ NUMBER(24,0)
) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
TABLESPACE BRSMDLD
PARTITION BY LIST (KF)
(PARTITION P_300465 VALUES (''300465'') SEGMENT CREATION IMMEDIATE
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
NOCOMPRESS LOGGING
TABLESPACE BRSMDLD ,
PARTITION P_302076 VALUES (''302076'') SEGMENT CREATION DEFERRED
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
NOCOMPRESS LOGGING
TABLESPACE BRSMDLD ,
PARTITION P_303398 VALUES (''303398'') SEGMENT CREATION DEFERRED
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
NOCOMPRESS LOGGING
TABLESPACE BRSMDLD ,
PARTITION P_304665 VALUES (''304665'') SEGMENT CREATION DEFERRED
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
NOCOMPRESS LOGGING
TABLESPACE BRSMDLD ,
PARTITION P_305482 VALUES (''305482'') SEGMENT CREATION DEFERRED
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
NOCOMPRESS LOGGING
TABLESPACE BRSMDLD ,
PARTITION P_311647 VALUES (''311647'') SEGMENT CREATION DEFERRED
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
NOCOMPRESS LOGGING
TABLESPACE BRSMDLD ,
PARTITION P_312356 VALUES (''312356'') SEGMENT CREATION DEFERRED
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
NOCOMPRESS LOGGING
TABLESPACE BRSMDLD ,
PARTITION P_313957 VALUES (''313957'') SEGMENT CREATION DEFERRED
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
NOCOMPRESS LOGGING
TABLESPACE BRSMDLD ,
PARTITION P_315784 VALUES (''315784'') SEGMENT CREATION DEFERRED
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
NOCOMPRESS LOGGING
TABLESPACE BRSMDLD ,
PARTITION P_322669 VALUES (''322669'') SEGMENT CREATION IMMEDIATE
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
NOCOMPRESS LOGGING
TABLESPACE BRSMDLD ,
PARTITION P_323475 VALUES (''323475'') SEGMENT CREATION DEFERRED
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
NOCOMPRESS LOGGING
TABLESPACE BRSMDLD ,
PARTITION P_324805 VALUES (''324805'') SEGMENT CREATION IMMEDIATE
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
NOCOMPRESS LOGGING
TABLESPACE BRSMDLD ,
PARTITION P_325796 VALUES (''325796'') SEGMENT CREATION DEFERRED
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
NOCOMPRESS LOGGING
TABLESPACE BRSMDLD ,
PARTITION P_326461 VALUES (''326461'') SEGMENT CREATION DEFERRED
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
NOCOMPRESS LOGGING
TABLESPACE BRSMDLD ,
PARTITION P_328845 VALUES (''328845'') SEGMENT CREATION DEFERRED
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
NOCOMPRESS LOGGING
TABLESPACE BRSMDLD ,
PARTITION P_331467 VALUES (''331467'') SEGMENT CREATION DEFERRED
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
NOCOMPRESS LOGGING
TABLESPACE BRSMDLD ,
PARTITION P_333368 VALUES (''333368'') SEGMENT CREATION DEFERRED
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
NOCOMPRESS LOGGING
TABLESPACE BRSMDLD ,
PARTITION P_335106 VALUES (''335106'') SEGMENT CREATION DEFERRED
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
NOCOMPRESS LOGGING
TABLESPACE BRSMDLD ,
PARTITION P_336503 VALUES (''336503'') SEGMENT CREATION DEFERRED
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
NOCOMPRESS LOGGING
TABLESPACE BRSMDLD ,
PARTITION P_337568 VALUES (''337568'') SEGMENT CREATION DEFERRED
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
NOCOMPRESS LOGGING
TABLESPACE BRSMDLD ,
PARTITION P_338545 VALUES (''338545'') SEGMENT CREATION DEFERRED
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
NOCOMPRESS LOGGING
TABLESPACE BRSMDLD ,
PARTITION P_351823 VALUES (''351823'') SEGMENT CREATION DEFERRED
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
NOCOMPRESS LOGGING
TABLESPACE BRSMDLD ,
PARTITION P_352457 VALUES (''352457'') SEGMENT CREATION DEFERRED
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
NOCOMPRESS LOGGING
TABLESPACE BRSMDLD ,
PARTITION P_353553 VALUES (''353553'') SEGMENT CREATION DEFERRED
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
NOCOMPRESS LOGGING
TABLESPACE BRSMDLD ,
PARTITION P_354507 VALUES (''354507'') SEGMENT CREATION DEFERRED
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
NOCOMPRESS LOGGING
TABLESPACE BRSMDLD ,
PARTITION P_356334 VALUES (''356334'') SEGMENT CREATION DEFERRED
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
NOCOMPRESS LOGGING
TABLESPACE BRSMDLD ) ';
exception when others then
if sqlcode=-955 then null; else raise; end if;
end;
/
PROMPT *** ALTER_POLICIES to SALDOY ***
exec bpa.alter_policies('SALDOY');
COMMENT ON TABLE BARS.SALDOY IS ' (OPER.VOB=99)';
COMMENT ON COLUMN BARS.SALDOY.KF IS ' ()';
COMMENT ON COLUMN BARS.SALDOY.FDAT IS '';
COMMENT ON COLUMN BARS.SALDOY.ACC IS ' ';
COMMENT ON COLUMN BARS.SALDOY.DOS IS ' ';
COMMENT ON COLUMN BARS.SALDOY.DOSQ IS ' ( )';
COMMENT ON COLUMN BARS.SALDOY.KOS IS ' ';
COMMENT ON COLUMN BARS.SALDOY.KOSQ IS ' ( )';
PROMPT *** Create constraint CC_SALDOY_KF_NN ***
begin
execute immediate '
ALTER TABLE BARS.SALDOY MODIFY (KF CONSTRAINT CC_SALDOY_KF_NN NOT NULL ENABLE)';
exception when others then
if sqlcode=-2260 or sqlcode=-2261 or sqlcode=-2264 or sqlcode=-2275 or sqlcode=-1442 then null; else raise; end if;
end;
/
PROMPT *** Create constraint CC_SALDOY_FDAT_NN ***
begin
execute immediate '
ALTER TABLE BARS.SALDOY MODIFY (FDAT CONSTRAINT CC_SALDOY_FDAT_NN NOT NULL ENABLE)';
exception when others then
if sqlcode=-2260 or sqlcode=-2261 or sqlcode=-2264 or sqlcode=-2275 or sqlcode=-1442 then null; else raise; end if;
end;
/
PROMPT *** Create constraint CC_SALDOY_ACC_NN ***
begin
execute immediate '
ALTER TABLE BARS.SALDOY MODIFY (ACC CONSTRAINT CC_SALDOY_ACC_NN NOT NULL ENABLE)';
exception when others then
if sqlcode=-2260 or sqlcode=-2261 or sqlcode=-2264 or sqlcode=-2275 or sqlcode=-1442 then null; else raise; end if;
end;
/
PROMPT *** Create constraint CC_SALDOY_DOS_NN ***
begin
execute immediate '
ALTER TABLE BARS.SALDOY MODIFY (DOS CONSTRAINT CC_SALDOY_DOS_NN NOT NULL ENABLE)';
exception when others then
if sqlcode=-2260 or sqlcode=-2261 or sqlcode=-2264 or sqlcode=-2275 or sqlcode=-1442 then null; else raise; end if;
end;
/
PROMPT *** Create constraint CC_SALDOY_DOSQ_NN ***
begin
execute immediate '
ALTER TABLE BARS.SALDOY MODIFY (DOSQ CONSTRAINT CC_SALDOY_DOSQ_NN NOT NULL ENABLE)';
exception when others then
if sqlcode=-2260 or sqlcode=-2261 or sqlcode=-2264 or sqlcode=-2275 or sqlcode=-1442 then null; else raise; end if;
end;
/
PROMPT *** Create constraint CC_SALDOY_KOS_NN ***
begin
execute immediate '
ALTER TABLE BARS.SALDOY MODIFY (KOS CONSTRAINT CC_SALDOY_KOS_NN NOT NULL ENABLE)';
exception when others then
if sqlcode=-2260 or sqlcode=-2261 or sqlcode=-2264 or sqlcode=-2275 or sqlcode=-1442 then null; else raise; end if;
end;
/
PROMPT *** Create constraint CC_SALDOY_KOSQ_NN ***
begin
execute immediate '
ALTER TABLE BARS.SALDOY MODIFY (KOSQ CONSTRAINT CC_SALDOY_KOSQ_NN NOT NULL ENABLE)';
exception when others then
if sqlcode=-2260 or sqlcode=-2261 or sqlcode=-2264 or sqlcode=-2275 or sqlcode=-1442 then null; else raise; end if;
end;
/
PROMPT *** Create index UK_SALDOY ***
begin
execute immediate '
CREATE UNIQUE INDEX BARS.UK_SALDOY ON BARS.SALDOY (KF, FDAT, ACC)
PCTFREE 10 INITRANS 2 MAXTRANS 255
TABLESPACE BRSMDLI LOCAL
(PARTITION P_300465
PCTFREE 10 INITRANS 2 MAXTRANS 255 LOGGING
TABLESPACE BRSMDLI ,
PARTITION P_302076
PCTFREE 10 INITRANS 2 MAXTRANS 255 LOGGING
TABLESPACE BRSMDLI ,
PARTITION P_303398
PCTFREE 10 INITRANS 2 MAXTRANS 255 LOGGING
TABLESPACE BRSMDLI ,
PARTITION P_304665
PCTFREE 10 INITRANS 2 MAXTRANS 255 LOGGING
TABLESPACE BRSMDLI ,
PARTITION P_305482
PCTFREE 10 INITRANS 2 MAXTRANS 255 LOGGING
TABLESPACE BRSMDLI ,
PARTITION P_311647
PCTFREE 10 INITRANS 2 MAXTRANS 255 LOGGING
TABLESPACE BRSMDLI ,
PARTITION P_312356
PCTFREE 10 INITRANS 2 MAXTRANS 255 LOGGING
TABLESPACE BRSMDLI ,
PARTITION P_313957
PCTFREE 10 INITRANS 2 MAXTRANS 255 LOGGING
TABLESPACE BRSMDLI ,
PARTITION P_315784
PCTFREE 10 INITRANS 2 MAXTRANS 255 LOGGING
TABLESPACE BRSMDLI ,
PARTITION P_322669
PCTFREE 10 INITRANS 2 MAXTRANS 255 LOGGING
TABLESPACE BRSMDLI ,
PARTITION P_323475
PCTFREE 10 INITRANS 2 MAXTRANS 255 LOGGING
TABLESPACE BRSMDLI ,
PARTITION P_324805
PCTFREE 10 INITRANS 2 MAXTRANS 255 LOGGING
TABLESPACE BRSMDLI ,
PARTITION P_325796
PCTFREE 10 INITRANS 2 MAXTRANS 255 LOGGING
TABLESPACE BRSMDLI ,
PARTITION P_326461
PCTFREE 10 INITRANS 2 MAXTRANS 255 LOGGING
TABLESPACE BRSMDLI ,
PARTITION P_328845
PCTFREE 10 INITRANS 2 MAXTRANS 255 LOGGING
TABLESPACE BRSMDLI ,
PARTITION P_331467
PCTFREE 10 INITRANS 2 MAXTRANS 255 LOGGING
TABLESPACE BRSMDLI ,
PARTITION P_333368
PCTFREE 10 INITRANS 2 MAXTRANS 255 LOGGING
TABLESPACE BRSMDLI ,
PARTITION P_335106
PCTFREE 10 INITRANS 2 MAXTRANS 255 LOGGING
TABLESPACE BRSMDLI ,
PARTITION P_336503
PCTFREE 10 INITRANS 2 MAXTRANS 255 LOGGING
TABLESPACE BRSMDLI ,
PARTITION P_337568
PCTFREE 10 INITRANS 2 MAXTRANS 255 LOGGING
TABLESPACE BRSMDLI ,
PARTITION P_338545
PCTFREE 10 INITRANS 2 MAXTRANS 255 LOGGING
TABLESPACE BRSMDLI ,
PARTITION P_351823
PCTFREE 10 INITRANS 2 MAXTRANS 255 LOGGING
TABLESPACE BRSMDLI ,
PARTITION P_352457
PCTFREE 10 INITRANS 2 MAXTRANS 255 LOGGING
TABLESPACE BRSMDLI ,
PARTITION P_353553
PCTFREE 10 INITRANS 2 MAXTRANS 255 LOGGING
TABLESPACE BRSMDLI ,
PARTITION P_354507
PCTFREE 10 INITRANS 2 MAXTRANS 255 LOGGING
TABLESPACE BRSMDLI ,
PARTITION P_356334
PCTFREE 10 INITRANS 2 MAXTRANS 255 LOGGING
TABLESPACE BRSMDLI ) COMPRESS 2 ';
exception when others then
if sqlcode=-955 then null; else raise; end if;
end;
/
PROMPT *** Create grants SALDOY ***
grant SELECT on SALDOY to BARSREADER_ROLE;
grant SELECT on SALDOY to BARS_ACCESS_DEFROLE;
grant SELECT on SALDOY to BARS_DM;
grant SELECT on SALDOY to START1;
grant SELECT on SALDOY to UPLD;
PROMPT =====================================================================================
PROMPT *** End *** ========== Scripts /Sql/BARS/Table/SALDOY.sql =========*** End *** ======
PROMPT =====================================================================================
| true |
6fd2580f4229a209cf626b1e1b8fe7a1217c963f | SQL | JM-AK/mailhelper | /src/main/resources/db/migration/V10__ddl_mailings_contacts_copy_mapping.sql | UTF-8 | 672 | 3.515625 | 4 | [] | no_license | DROP TABLE IF EXISTS mailings_contacts_copy_mapping;
CREATE TABLE mailings_contacts_copy_mapping
(
mailing_id BIGINT NOT NULL,
contact_id BIGINT NOT NULL,
address_type VARCHAR(50) DEFAULT ('COPY'),
PRIMARY KEY (mailing_id, contact_id, address_type),
CONSTRAINT FK_Mailings_contacts_copy_mapping__Mailings__id FOREIGN KEY (mailing_id)
REFERENCES mailings (id)
ON DELETE NO ACTION ON UPDATE NO ACTION,
CONSTRAINT FK_Mailings_contacts_copy_mapping__Contacts__id FOREIGN KEY (contact_id)
REFERENCES contacts (id)
ON DELETE NO ACTION ON UPDATE NO ACTION
)ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=UTF8MB4;
| true |
be73643fd556bfd3a01d9421042407bc810f00af | SQL | ligy2016/mysql | /gaoxiao_bendi/obj_tlog.sql | UTF-8 | 1,370 | 3.203125 | 3 | [] | no_license | /*
SQLyog Enterprise v12.09 (64 bit)
MySQL - 5.6.10 : Database - gaoxiao_local
*********************************************************************
*/
/*!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 */;
USE `gaoxiao_local`;
/*Table structure for table `tlog` */
DROP TABLE IF EXISTS `tlog`;
CREATE TABLE `tlog` (
`Fs_id` varchar(32) NOT NULL COMMENT '日志标识',
`Fs_type` varchar(32) NOT NULL COMMENT '日志类型:1:学生登录,2:教师登录',
`Fs_relid` varchar(32) NOT NULL COMMENT '登陆账号',
`Fs_name` varchar(32) NOT NULL COMMENT '姓名',
`Fs_nickname` varchar(32) DEFAULT NULL COMMENT '昵称',
`Fs_tel` varchar(32) DEFAULT NULL COMMENT '联系电话',
`Fd_loginime` timestamp NULL DEFAULT NULL COMMENT '登陆时间',
PRIMARY KEY (`Fs_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='登录日志';
/*!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 |
ec4262ec37a0d10ae78c344f9571a843e70347b9 | SQL | devTitarenko/SQL | /PLSQL - Procedures, Functions, Collections.sql | UTF-8 | 9,746 | 4.1875 | 4 | [] | no_license | /*
Подготовка базы данных
1. Выполнить скрипт hr_create.sql с командами создания таблиц БД.
2. Выполнить скрипт hr_popul.sql с командами заполнения таблиц БД.
*/
-- Задание 1 Создание хранимых процедур по пакетной работе с данными
/* Повторить выполнение задания 1.2 из лабораторной работы 7, включив анонимный PL/SQL-блок в хранимую процедуру, учитывая, что:
- название процедуры – generate_emp;
- входным параметром является количество вносимых строк;
- использовать пакетную операцию внесения FORALL.
Сравнить времена выполнения PL/SQL-блоков этого задания и задания 1.2 из лабораторной работы 7.
*/
CREATE OR REPLACE PROCEDURE generate_emp
(num_rows IN INTEGER)
IS
TYPE IdTab IS TABLE OF employees.employee_id%TYPE INDEX BY PLS_INTEGER;
TYPE F_NameTab IS TABLE OF employees.first_name%TYPE INDEX BY PLS_INTEGER;
TYPE S_NameTab IS TABLE OF employees.last_name%TYPE INDEX BY PLS_INTEGER;
TYPE EmailTab IS TABLE OF employees.email%TYPE INDEX BY PLS_INTEGER;
TYPE DateTab IS TABLE OF employees.hire_date%TYPE INDEX BY PLS_INTEGER;
e_id IdTab; f_name F_NameTab; s_name S_NameTab; email EmailTab; h_date DateTab;
iterations CONSTANT PLS_INTEGER := num_rows;
t1 INTEGER; t2 INTEGER; delta INTEGER;
BEGIN
t1 := DBMS_UTILITY.get_time;
FOR j IN 1..iterations LOOP
e_id (j) := 300 + j;
f_name(j) := 'Vitalii ' || TO_CHAR(j);
s_name(j) := 'Titarenko ' || TO_CHAR(j);
email (j) := 'VT ' || TO_CHAR(j);
h_date(j) := to_date('01/01/2000','DD/MM/YYYY') + j;
END LOOP;
FORALL i IN 1..iterations
INSERT INTO employees
(employee_id, first_name, last_name, email, hire_date, job_id)
VALUES(e_id(i), f_name(i), s_name(i), email (i), h_date(i), 'FI_MGR');
t2 := DBMS_UTILITY.get_time;
delta := t2 - t1;
DBMS_OUTPUT.PUT_LINE('Для FORALL-цикла: ' || TO_CHAR((delta)/100));
END;
/
-- Аналогичная процедура с операцией FOR для сравнения
CREATE OR REPLACE PROCEDURE generate_emp_FOR
(num_rows IN INTEGER)
IS
t1 INTEGER; t2 INTEGER; delta INTEGER;
BEGIN
t1 := DBMS_UTILITY.get_time;
FOR i IN 1..num_rows LOOP
INSERT INTO employees
(employee_id, first_name, last_name, email, hire_date, job_id)
VALUES(300 + i,
'Vitalii ' || TO_CHAR(i),
'Titarenko ' || TO_CHAR(i),
'VT ' || TO_CHAR(i),
to_date('01/01/2000','DD/MM/YYYY') + i,
'FI_MGR');
END LOOP;
t2 := DBMS_UTILITY.get_time;
delta := t2 - t1;
DBMS_OUTPUT.PUT_LINE('Для FOR-цикла: ' || TO_CHAR((delta)/100));
END;
/
/* Вызов процедур:
BEGIN
generate_emp(10000);
END;
/
ROLLBACK;
BEGIN
generate_emp_FOR(10000);
END;
/
PL/SQL procedure successfully completed.
Для FORALL-цикла: .43
Rollback complete.
PL/SQL procedure successfully completed.
Для FOR-цикла: 7.65
*/
/*
Этап 2 Создание хранимых процедур, функций и пакетов.
2. Создать пакет pkg_dept по управлению таблицей подразделений.
*/
CREATE OR REPLACE PACKAGE pkg_dept IS
FUNCTION drop_dept (dep_name IN VARCHAR2) RETURN NUMBER;
PROCEDURE change (dep_name_old IN VARCHAR2, dep_name_new IN VARCHAR2);
FUNCTION create_dept (dep_name IN VARCHAR2
, loc_name IN VARCHAR2
, cnt_name IN VARCHAR2
, reg_name IN VARCHAR2) RETURN NUMBER;
END pkg_dept;
/
CREATE OR REPLACE PACKAGE BODY pkg_dept IS
-- 2.1 функция удаления заданного подразделения
FUNCTION drop_dept (dep_name IN VARCHAR2)
RETURN NUMBER
IS
dep_id departments.department_id%TYPE;
BEGIN
SELECT department_id INTO dep_id
FROM departments
WHERE department_name = dep_name;
UPDATE employees
SET department_id = null
WHERE department_id = dep_id;
UPDATE job_history
SET department_id = null
WHERE department_id = dep_id;
DELETE FROM departments
WHERE department_id = dep_id;
RETURN dep_id;
EXCEPTION
WHEN NO_DATA_FOUND THEN
RETURN -1;
END;
-- 2.2 процедура изменения названия подразделения
PROCEDURE change (dep_name_old IN VARCHAR2, dep_name_new IN VARCHAR2)
IS
dep_id departments.department_id%TYPE;
dublicate exception;
BEGIN
SELECT department_id INTO dep_id
FROM departments
WHERE department_name = dep_name_old;
SELECT department_id INTO dep_id
FROM departments
WHERE department_name = dep_name_new;
RAISE dublicate;
EXCEPTION
WHEN NO_DATA_FOUND THEN
IF dep_id IS NULL THEN
RAISE_APPLICATION_ERROR(-20550,
'Department not found');
ELSE
UPDATE departments
SET department_name = dep_name_new
WHERE department_id = dep_id;
END IF;
WHEN dublicate THEN
RAISE_APPLICATION_ERROR(-20560,
'Department with name ' || dep_name_new || ' is already exists');
END;
-- 2.3 функция создания подразделения, учитывая, что:
FUNCTION create_dept (dep_name IN VARCHAR2
, loc_name IN VARCHAR2
, cnt_name IN VARCHAR2
, reg_name IN VARCHAR2)
RETURN NUMBER
IS
dep_id departments.department_id%TYPE;
reg_id regions.region_id%TYPE;
cnt_id countries.country_id%TYPE;
loc_id locations.location_id%TYPE;
dublicate exception;
BEGIN
SELECT MIN(department_id) INTO dep_id
FROM departments
WHERE department_name = dep_name;
IF dep_id IS NOT NULL THEN
RAISE dublicate;
END IF;
SELECT region_id INTO reg_id
FROM regions WHERE region_name = reg_name;
SELECT country_id INTO cnt_id
FROM countries WHERE country_name = cnt_name;
SELECT MIN(location_id) INTO loc_id
FROM locations WHERE city = loc_name;
IF loc_id IS NULL THEN
SELECT MAX(location_id)+10 INTO loc_id FROM locations;
INSERT INTO locations VALUES(
loc_id, NULL, NULL, loc_name, null, cnt_id);
END IF;
SELECT MAX(department_id)+10 INTO dep_id FROM departments;
INSERT INTO departments VALUES(
dep_id, dep_name, NULL, loc_id);
RETURN dep_id;
EXCEPTION
WHEN dublicate THEN
RAISE_APPLICATION_ERROR(-20550,
'Department already exists');
END;
END pkg_dept;
/
/* Пример вызова:
SET SERVEROUTPUT ON
EXECUTE DBMS_OUTPUT.PUT_LINE(pkg_dept.create_dept('IT_2', 'Southlake_2', 'United States of America', 'Americas'));
*/
-- 3. Создать пакет pkg_emp по управлению таблицей сотрудников
CREATE OR REPLACE PACKAGE pkg_emp IS
TYPE emp_list IS TABLE OF VARCHAR2(500);
FUNCTION drop_emp (dep_name IN VARCHAR2) RETURN emp_list PIPELINED;
PROCEDURE change (emp_nam IN VARCHAR2, job_old IN VARCHAR2
, dep_old IN VARCHAR2, job_new IN VARCHAR2
, dep_new IN VARCHAR2, sal_new IN NUMBER);
END pkg_emp;
/
CREATE OR REPLACE PACKAGE BODY pkg_emp IS
-- 3.1 процедура изменения информации о сотруднике
PROCEDURE change (emp_nam IN VARCHAR2, job_old IN VARCHAR2
, dep_old IN VARCHAR2, job_new IN VARCHAR2
, dep_new IN VARCHAR2, sal_new IN NUMBER)
IS
emp_id employees.employee_id%TYPE;
job_chg jobs.job_id%TYPE;
dep_chg departments.department_id%TYPE;
sal employees.salary%TYPE;
sal_shg employees.salary%TYPE;
BEGIN
SELECT employee_id INTO emp_id FROM employees e
JOIN jobs j ON j.job_id = e.job_id
JOIN departments d ON d.department_id = e.department_id
WHERE e.first_name = emp_nam
AND j.job_title = job_old
AND d.department_name = dep_old;
IF job_old <> job_new THEN
SELECT job_id INTO job_chg
FROM jobs WHERE job_title = job_new;
END IF;
IF dep_old <> dep_new THEN
SELECT department_id INTO dep_chg
FROM departments WHERE department_name = dep_new;
END IF;
SELECT salary INTO sal FROM employees WHERE employee_id = emp_id;
IF sal <> sal_new THEN sal_shg := sal_new; END IF;
IF job_chg IS NOT NULL AND dep_chg IS NOT NULL AND sal_shg IS NOT NULL THEN
UPDATE employees SET job_id = job_chg, salary = sal_shg,
department_id = dep_chg WHERE employee_id = emp_id;
END IF;
EXCEPTION WHEN NO_DATA_FOUND THEN
RAISE_APPLICATION_ERROR(-20550, 'Employee is not found');
END;
-- 3.2 функция удаления всех сотрудников заданного подразделения
FUNCTION drop_emp (dep_name IN VARCHAR2)
RETURN emp_list PIPELINED AS
PRAGMA AUTONOMOUS_TRANSACTION;
v_emp_list emp_list := emp_list();
dep_id departments.department_id%TYPE;
TYPE NumList IS TABLE OF employees.employee_id%TYPE;
enums NumList;
TYPE NameList IS TABLE OF employees.first_name%TYPE;
names NameList;
BEGIN
SELECT DISTINCT e.department_id INTO dep_id
FROM employees e
JOIN departments d ON d.department_id = e.department_id
WHERE d.department_name = dep_name;
DELETE FROM employees WHERE department_id = dep_id
RETURNING employee_id, first_name BULK COLLECT INTO enums, names;
COMMIT;
FOR i IN enums.FIRST .. enums.LAST LOOP
PIPE ROW(enums(i) || ', ' || names(i));
END LOOP;
EXCEPTION
WHEN NO_DATA_FOUND THEN
RAISE_APPLICATION_ERROR(-20550, 'Nobody work in such department');
END;
END pkg_emp;
/
/* Пример вызова:
SELECT * FROM TABLE(pkg_emp.drop_emp('Finance'));
*/ | true |
33064587e0309846282b1a6f7cf9fd3798ac632e | SQL | Isreal369a/SQL_database | /CREATE TABLE account.sql | UTF-8 | 377 | 2.890625 | 3 | [] | no_license | CREATE TABLE account(
user_id SERIAL PRIMARY KEY,
username VARCHAR(50) UNIQUE NOT NULL,
password VARCHAR(50) NOT NULL,
email VARCHAR(250) UNIQUE NOT NULL,
created_on TIMESTAMP NOT NULL,
last_login TIMESTAMP
INSERT INTO account_job(user_id,job_id,hire_date)
VALUES
(1,1,CURRENT_TIMESTAMP)
SELECT * FROM account_job
UPDATE account
SET last_login =created_on
) | true |
182cd9b5ef6f5f05f13f945fb7b3720d99d12fd1 | SQL | zzacong/ITECH3108-Power-Drill | /sql/itech3108_30360914_a2.sql | UTF-8 | 2,471 | 3.78125 | 4 | [] | no_license | --
-- ITECH3108 Assignment 2
-- ZHI ZAO ONG
-- 30360914
--
--
--
-- Drop Database if exists
DROP DATABASE IF EXISTS `itech3108_30360914_a2`;
--
--
-- Create Database
CREATE DATABASE `itech3108_30360914_a2` DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
USE `itech3108_30360914_a2`;
--
--
-- Drop MySQL user if exists
DROP USER IF EXISTS 'powerdrill'@'localhost';
--
--
-- Create MySQL user for this application
CREATE USER 'powerdrill'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON `itech3108_30360914_a2`.* TO 'powerdrill'@'localhost';
--
--
-- Drop Tables if exists
DROP TABLE IF EXISTS `PowerDrillPost`;
--
--
-- Create Tables
CREATE TABLE `PowerDrillPost` (
`id` SERIAL,
`name` VARCHAR(255) NOT NULL DEFAULT '',
`text` TEXT NOT NULL,
`post_date` TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
`likes` INT DEFAULT 0,
`reply_to` BIGINT UNSIGNED,
PRIMARY KEY (`id`),
FOREIGN KEY (`reply_to`) REFERENCES `PowerDrillPost`(`id`)
);
--
--
-- INSERT ROWS
--
-- PowerDrillPost Table
--
-- TOP LEVEL POSTS
-- Name
INSERT INTO `PowerDrillPost`
(`name`, `text`, `post_date`, `likes`)
VALUES
('John Doe', 'My old power drill just died yesterday. Looking for a new cordless drill. Anyone has any recommendation?', '2021-01-05 20:00:00', 6),
('Patrick Howard', "Been using the Grapevine EWT997 20V XR brushless hammer drill driver. It's the best I've used so far.", '2021-01-06 13:00:00', 11),
('user30360914', "What's the difference between an impact drill and hammer drill?", '2021-01-06 15:00:00', 20);
-- Anonymous
INSERT INTO `PowerDrillPost`
(`text`, `post_date`)
VALUES
('Is the R8112 Hammer Drill from Grapevine a right choice?', '2021-01-07 18:25:00');
--
-- REPLIES
-- Anonymous
INSERT INTO `PowerDrillPost`
(`text`, `post_date`, `likes`, `reply_to`)
VALUES
("If you're on a budget. The BP100 from Grapevine is an excellent choice. It has 3 hours battery, 20V and four-speed drill.", '2021-01-08 10:20:00', 7, 1),
('This is hands down the best cordless drill you can find on the market right now.', '2021-01-08 10:25:00', 4, 2);
-- Name
INSERT INTO `PowerDrillPost`
(`name`, `text`, `post_date`, `likes`, `reply_to`)
VALUES
('Farrington Durham', 'Affordable best 18V cordless drill presents an outstanding value at just $139. Check it out.', '2021-01-08 13:20:00', 6, 1),
('user30360914', "I've been using the older version EWT887 and it's still working fine.", '2021-01-08 14:45:00', 18, 2); | true |
95490ef7f4382123f6a4bf2aea86dcd7fc64816a | SQL | chrira/gretljobs | /afu_isboden_pub/afu_isboden_pub_bodenerosion.sql | UTF-8 | 370 | 2.765625 | 3 | [
"MIT"
] | permissive | SELECT
afu_erosion_gbf20_p.ogc_fid AS t_id,
afu_erosion_gbf20_p.wkb_geometry AS geometrie,
afu_erosion_gbf20_p.grid_code,
afu_erosion_gbf20_p_code.bezeichnung
FROM
afu_erosion_gbf20_p
LEFT JOIN afu_erosion_gbf20_p_code
ON afu_erosion_gbf20_p.grid_code = afu_erosion_gbf20_p_code.code_id
WHERE
afu_erosion_gbf20_p.archive = 0
; | true |
c6c463ce3d65c53c63bae02874ea83278eeaf671 | SQL | susanboratynska/5101A_N01371157_FinalAssignment | /Data/pages.sql | UTF-8 | 1,999 | 3.25 | 3 | [] | no_license | -- phpMyAdmin SQL Dump
-- version 4.9.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Dec 03, 2019 at 10:50 PM
-- Server version: 10.4.8-MariaDB
-- PHP Version: 7.3.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: `final_project`
--
-- --------------------------------------------------------
--
-- Table structure for table `pages`
--
CREATE TABLE `pages` (
`page_id` int(20) UNSIGNED NOT NULL,
`page_title` varchar(255) DEFAULT NULL,
`page_body` mediumtext DEFAULT NULL,
`page_published` tinyint(1) DEFAULT NULL,
`date_created` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `pages`
--
INSERT INTO `pages` (`page_id`, `page_title`, `page_body`, `page_published`, `date_created`) VALUES
(1, 'Homepage', 'Body Content 1 - Edited', 0, '2019-11-21 19:03:56'),
(2, 'FAQ ', 'Body Content 2', 0, '2019-11-22 00:00:14'),
(3, 'Events', 'Body Content 3', 1, '2019-11-22 00:00:14'),
(4, 'Company News', 'Body Content 4', 0, '2019-11-22 00:01:02'),
(5, 'About Section', 'Body Content 5', 1, '2019-11-22 00:01:02'),
(9, 'Contact', 'Body Content 6', 0, '2019-11-30 17:30:04');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `pages`
--
ALTER TABLE `pages`
ADD PRIMARY KEY (`page_id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `pages`
--
ALTER TABLE `pages`
MODIFY `page_id` int(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;
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 |
62b22f3fcc232b872f262dc65271b8c89f1e6465 | SQL | a-meier-studebaker/java-web-dev-techjobs-persistent | /queries.sql | UTF-8 | 389 | 3.828125 | 4 | [] | no_license | ## Part 1: Test it with SQL
Columns:
id int PK
employer varchar(255)
name varchar(255)
skills varchar(255)
## Part 2: Test it with SQL
SELECT name
FROM techjobs.employer
WHERE employer.location = "St. Louis";
## Part 3: Test it with SQL
DROP techjobs.job;
## Part 4: Test it with SQL
SELECT skill.name, skill.description
FROM techjobs.skill
WHERE name IS NOT NULL
ORDER BY name ASC;
| true |
bf0e6cfec1cfff67ac274f30b93ec308d219fa60 | SQL | MooJhingjit/construction | /server/Database/construction_2018-10-14.sql | UTF-8 | 40,146 | 3.1875 | 3 | [] | no_license | # ************************************************************
# Sequel Pro SQL dump
# Version 4541
#
# http://www.sequelpro.com/
# https://github.com/sequelpro/sequelpro
#
# Host: 127.0.0.1 (MySQL 5.7.21)
# Database: construction
# Generation Time: 2018-10-14 09:57:11 +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 contract
# ------------------------------------------------------------
DROP TABLE IF EXISTS `contract`;
CREATE TABLE `contract` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`code` varchar(45) NOT NULL,
`project_id` int(11) NOT NULL,
`contract_type` varchar(30) NOT NULL,
`plan` varchar(45) NOT NULL,
`house_id` varchar(100) NOT NULL,
`price` decimal(15,2) NOT NULL DEFAULT '0.00',
`date_start` date DEFAULT NULL,
`paid` decimal(15,2) DEFAULT NULL,
`status` enum('wait','ip','done') NOT NULL DEFAULT 'wait',
`assign` int(11) DEFAULT NULL,
`created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
UNIQUE KEY `code_UNIQUE` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
# Dump of table contract_preiod
# ------------------------------------------------------------
DROP TABLE IF EXISTS `contract_preiod`;
CREATE TABLE `contract_preiod` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`house_id` varchar(100) NOT NULL,
`time` tinyint(2) NOT NULL,
`preiod` tinyint(3) NOT NULL DEFAULT '0',
`created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
LOCK TABLES `contract_preiod` WRITE;
/*!40000 ALTER TABLE `contract_preiod` DISABLE KEYS */;
INSERT INTO `contract_preiod` (`id`, `house_id`, `time`, `preiod`, `created_at`)
VALUES
(11,'198PWY',1,17,'2018-05-23 23:32:14'),
(12,'198PWY',2,12,'2018-05-23 23:32:14'),
(13,'198PWY',3,13,'2018-05-23 23:32:14'),
(14,'198PWY',4,12,'2018-05-23 23:32:14'),
(15,'198PWY',5,12,'2018-05-23 23:32:14'),
(16,'198PWY',6,15,'2018-05-23 23:32:14'),
(17,'198PWY',7,15,'2018-05-23 23:32:14'),
(18,'198PWY',8,25,'2018-05-23 23:32:14'),
(19,'198PWY',9,12,'2018-05-23 23:32:14'),
(20,'198PWY',10,15,'2018-05-23 23:32:14'),
(21,'119PWY',1,15,'2018-05-23 23:32:14'),
(22,'119PWY',2,10,'2018-05-23 23:32:14'),
(23,'119PWY',3,10,'2018-05-23 23:32:14'),
(24,'119PWY',4,10,'2018-05-23 23:32:14'),
(25,'119PWY',5,10,'2018-05-23 23:32:14'),
(26,'119PWY',6,10,'2018-05-23 23:32:14'),
(27,'119PWY',7,8,'2018-05-23 23:32:14'),
(28,'119PWY',8,10,'2018-05-23 23:32:14'),
(29,'119PWY',9,7,'2018-05-23 23:32:14'),
(30,'119PWY',10,15,'2018-05-23 23:32:14'),
(41,'169PWY',1,17,'2018-05-23 23:32:14'),
(42,'169PWY',2,12,'2018-05-23 23:32:14'),
(43,'169PWY',3,13,'2018-05-23 23:32:14'),
(44,'169PWY',4,12,'2018-05-23 23:32:14'),
(45,'169PWY',5,12,'2018-05-23 23:32:14'),
(46,'169PWY',6,15,'2018-05-23 23:32:14'),
(47,'169PWY',7,15,'2018-05-23 23:32:14'),
(48,'169PWY',8,25,'2018-05-23 23:32:14'),
(49,'169PWY',9,12,'2018-05-23 23:32:14'),
(50,'169PWY',10,15,'2018-05-23 23:32:14'),
(51,'237PWY',1,20,'2018-05-23 23:32:14'),
(52,'237PWY',2,15,'2018-05-23 23:32:14'),
(53,'237PWY',3,15,'2018-05-23 23:32:14'),
(54,'237PWY',4,15,'2018-05-23 23:32:14'),
(55,'237PWY',5,14,'2018-05-23 23:32:14'),
(56,'237PWY',6,16,'2018-05-23 23:32:14'),
(57,'237PWY',7,18,'2018-05-23 23:32:14'),
(58,'237PWY',8,25,'2018-05-23 23:32:14'),
(59,'237PWY',9,12,'2018-05-23 23:32:14'),
(60,'237PWY',10,15,'2018-05-23 23:32:14'),
(61,'105PWY',1,10,'2018-05-23 23:32:14'),
(62,'105PWY',2,8,'2018-05-23 23:32:14'),
(63,'105PWY',3,10,'2018-05-23 23:32:14'),
(64,'105PWY',4,10,'2018-05-23 23:32:14'),
(65,'105PWY',5,8,'2018-05-23 23:32:14'),
(66,'105PWY',6,9,'2018-05-23 23:32:14'),
(67,'105PWY',7,8,'2018-05-23 23:32:14'),
(68,'105PWY',8,10,'2018-05-23 23:32:14'),
(69,'105PWY',9,7,'2018-05-23 23:32:14'),
(70,'105PWY',10,10,'2018-05-23 23:32:14'),
(72,'142PWY',1,15,'2018-05-23 23:32:14'),
(73,'142PWY',2,10,'2018-05-23 23:32:14'),
(74,'142PWY',3,10,'2018-05-23 23:32:14'),
(75,'142PWY',4,12,'2018-05-23 23:32:14'),
(76,'142PWY',5,12,'2018-05-23 23:32:14'),
(77,'142PWY',6,12,'2018-05-23 23:32:14'),
(78,'142PWY',7,12,'2018-05-23 23:32:14'),
(79,'142PWY',8,12,'2018-05-23 23:32:14'),
(80,'142PWY',9,10,'2018-05-23 23:32:14'),
(81,'142PWY',10,15,'2018-05-23 23:32:14');
/*!40000 ALTER TABLE `contract_preiod` ENABLE KEYS */;
UNLOCK TABLES;
# Dump of table contract_progress
# ------------------------------------------------------------
DROP TABLE IF EXISTS `contract_progress`;
CREATE TABLE `contract_progress` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`contract_code` varchar(45) NOT NULL,
`time` tinyint(2) NOT NULL,
`order` tinyint(2) NOT NULL,
`order_all` tinyint(3) NOT NULL,
`name` varchar(255) NOT NULL,
`start_date` date DEFAULT NULL,
`end_date` date DEFAULT NULL,
`real_date` date DEFAULT NULL,
`delay` int(6) NOT NULL,
`condition` tinyint(3) DEFAULT NULL,
`status` enum('pending','wait','ip','done') NOT NULL,
`created_at` datetime DEFAULT CURRENT_TIMESTAMP,
`contract_progresscol` varchar(45) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
# Dump of table contract_times
# ------------------------------------------------------------
DROP TABLE IF EXISTS `contract_times`;
CREATE TABLE `contract_times` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`contract_code` varchar(45) NOT NULL,
`time` tinyint(2) NOT NULL DEFAULT '0',
`price` decimal(15,2) DEFAULT '0.00',
`is_success` tinyint(1) NOT NULL DEFAULT '0',
`date_start` date DEFAULT NULL,
`date_end` date DEFAULT NULL,
`created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
# Dump of table house
# ------------------------------------------------------------
DROP TABLE IF EXISTS `house`;
CREATE TABLE `house` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`plan` varchar(50) DEFAULT NULL,
`name` varchar(100) NOT NULL,
`type` tinyint(1) NOT NULL,
`tile` varchar(50) DEFAULT NULL,
`garage` enum('none','left','right') DEFAULT NULL,
`stair` enum('none','left','right') DEFAULT NULL,
`color` varchar(45) DEFAULT NULL,
`created_at` datetime DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
LOCK TABLES `house` WRITE;
/*!40000 ALTER TABLE `house` DISABLE KEYS */;
INSERT INTO `house` (`id`, `plan`, `name`, `type`, `tile`, `garage`, `stair`, `color`, `created_at`)
VALUES
(1,'MO5-00N01','142PWY22T',1,'142PW-2','left','left','B3PW1','2018-08-30 13:42:10'),
(2,'MO5-00O08','105PWY22F',1,'105PW-1','left','left','B3PW2','2018-08-30 13:41:52'),
(3,'MO5-00O11','105PWY22F',1,'105PW-1','left','left','B3PW3','2018-08-30 13:41:37'),
(4,'MO5-00O12','105PWY22F',1,'105PW-3','left','left','B3PW1','2018-08-30 13:41:20'),
(5,'MO5-00N15','142PWY22T',1,'142PW-1','left','left','B3PW3','2018-08-30 13:41:03'),
(6,'MO5-00N18','198PWY32T',1,'198PW-1R1','left','left','B3PW3','2018-08-30 13:40:49'),
(7,'MO5-00A01','142PWY22T',1,'142PW-1','right','right','B3PW1','2018-08-30 13:40:28'),
(8,'MO5-00A03','169PWY22T',1,'169PW-2R1','left','left','B3PW2','2018-08-30 13:40:15'),
(9,'MO5-00A02','119PWY22T',1,'119PW-1R1','left','left','B3PW3','2018-08-30 13:39:57'),
(10,'MO5-00M08','169PWY22T',1,'169PW-1R1','right','right','B3PW3','2018-08-30 13:39:17'),
(11,'MO5-00M09','198PWY32T',1,'198PW-1R1','right','right','B3PW1','2018-08-30 13:38:51'),
(12,'MO5-00M01','237PW132T',1,'237PW2R2','left','left','B3PW1','2018-08-30 13:38:29'),
(13,'MO5-00A12','237PW132T',1,'237PW1R2','left','left','B3PW3','2018-08-30 13:38:06'),
(14,'MO5-00Q05','105PWY22F',1,'105PW-1R1','right','right','B3PW2','2018-08-30 13:37:31'),
(15,'MO5-00M08','169PWY22T',1,'169PW-1R1','right','right','B3PW3','2018-09-27 07:49:30'),
(16,'MO5-00M09','198PWY32T',1,'198PW-1R1','right','right','B3PW1','2018-09-27 07:51:01'),
(17,'MO5-00M01','237PW132T',1,'237PW2R2','left','left','B3PW1','2018-09-27 07:53:26'),
(18,'MO5-00A12','237PW132T',1,'237PW1R2','left','left','B3PW3','2018-09-27 07:54:22'),
(19,'MO5-00Q05','105PWY22F',1,'105PW-1R1','right','right','B3PW2','2018-09-27 07:55:25'),
(20,'MO5-00M16','169PWY22T',1,'169PW-1R2','left','left','B3PW1','2018-09-27 07:59:42'),
(21,'MO5-00N09','119PWY22T',1,'119PW-2R2','right','right','B3PW1','2018-09-27 08:00:46'),
(22,'MO5-00N10','119PWY22T',1,'119PW-1R2','right','right','B3PW3','2018-09-27 08:01:38'),
(23,'MO5-00O03','119PWY22T',1,'119PW-1R2','right','right','B3PW2','2018-09-27 08:02:23'),
(24,'MO5-00P14','142PWY22T',1,'142PW-1R1','right','right','B3PW2','2018-09-27 08:03:08'),
(25,'MO5-00P08','119PW223T',1,'119PW-4','left','left','B4PW1','2018-09-27 08:04:10'),
(26,'MO5-00P13','119PW223T',1,'119PW-4','left','left','B4PW1','2018-09-27 08:05:03'),
(27,'MO5-00Q08','142PWY22T',1,'142PW-2R1','left','left','B3PW1','2018-09-27 08:06:03'),
(28,'MO5-00M15','198PWY32T',1,'198PW-2R2','left','left','B3PW3','2018-09-27 08:12:56'),
(29,'MO5-00R01','198PWY32T',1,'198PW-2R2','left','left','B3PW3','2018-09-27 08:13:42'),
(30,'MO5-00L14','106PW223F',1,'106PW2','left','left','B4PW2','2018-09-27 08:14:30'),
(31,'MO5-00L17','119PW223T',1,'119PW-4','left','left','B4PW1','2018-09-27 08:15:28'),
(32,'MO5-00L21','150PW223T',1,'150PW-1','right','right','B4PW1','2018-09-27 08:16:14');
/*!40000 ALTER TABLE `house` ENABLE KEYS */;
UNLOCK TABLES;
# Dump of table material
# ------------------------------------------------------------
DROP TABLE IF EXISTS `material`;
CREATE TABLE `material` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`house_id` varchar(100) NOT NULL,
`store_id` int(11) NOT NULL,
`name` varchar(150) NOT NULL,
`delay` tinyint(3) DEFAULT '0',
`amount` tinyint(3) DEFAULT NULL,
`unit` varchar(20) DEFAULT NULL,
`price` decimal(10,2) DEFAULT NULL,
`created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
LOCK TABLES `material` WRITE;
/*!40000 ALTER TABLE `material` DISABLE KEYS */;
INSERT INTO `material` (`id`, `house_id`, `store_id`, `name`, `delay`, `amount`, `unit`, `price`, `created_at`)
VALUES
(1,'106PW223F',1,'แผ่นพื้นสำเร็จรูป ชนิด3ขา(LLไม่น้อยกว่า400kg/m²) ขนาด 0.35x3.88 m.',15,14,'แผ่น',0.00,'2018-09-27 08:35:40'),
(2,'106PW223F',1,'แผ่นพื้นสำเร็จรูป ชนิด3ขา(LLไม่น้อยกว่า200kg/m²) ขนาด 0.35x3.71 m.',15,18,'แผ่น',0.00,'2018-09-27 08:35:40'),
(3,'106PW223F',1,'แผ่นพื้นสำเร็จรูป ชนิด3ขา(LLไม่น้อยกว่า200kg/m²) ขนาด 0.35x3.46 m.',15,15,'แผ่น',0.00,'2018-09-27 08:35:40'),
(4,'106PW223F',1,'แผ่นพื้นสำเร็จรูป ชนิด3ขา(LLไม่น้อยกว่า200kg/m²) ขนาด 0.35x3.01 m.',15,4,'แผ่น',0.00,'2018-09-27 08:35:40'),
(5,'106PW223F',1,'แผ่นพื้นสำเร็จรูป ชนิด3ขา(LLไม่น้อยกว่า200kg/m²) ขนาด 0.35x1.97 m.',15,3,'แผ่น',0.00,'2018-09-27 08:35:40'),
(6,'150PW223T',1,'แผ่นพื้นสำเร็จรูป ชนิด3ขา(LLไม่น้อยกว่า450kg/m²) ขนาด 0.35x3.8 m.',15,14,'แผ่น',0.00,'2018-09-27 08:44:22'),
(7,'150PW223T',1,'แผ่นพื้นสำเร็จรูป ชนิด3ขา(LLไม่น้อยกว่า200kg/m²) ขนาด 0.35x3.27 m.',15,9,'แผ่น',0.00,'2018-09-27 08:44:22'),
(8,'150PW223T',1,'แผ่นพื้นสำเร็จรูป ชนิด3ขา(LLไม่น้อยกว่า200kg/m²) ขนาด 0.35x3.13 m.',15,7,'แผ่น',0.00,'2018-09-27 08:44:22'),
(9,'150PW223T',1,'แผ่นพื้นสำเร็จรูป ชนิด3ขา(LLไม่น้อยกว่า200kg/m²) ขนาด 0.35x3.05 m.',15,12,'แผ่น',0.00,'2018-09-27 08:44:22'),
(10,'150PW223T',1,'แผ่นพื้นสำเร็จรูป ชนิด3ขา(LLไม่น้อยกว่า200kg/m²) ขนาด 0.35x2.97 m.',15,11,'แผ่น',0.00,'2018-09-27 08:44:22'),
(11,'150PW223T',1,'แผ่นพื้นสำเร็จรูป ชนิด3ขา(LLไม่น้อยกว่า200kg/m²) ขนาด 0.35x2.47 m.',15,12,'แผ่น',0.00,'2018-09-27 08:44:22'),
(12,'150PW223T',1,'แผ่นพื้นสำเร็จรูป ชนิด3ขา(LLไม่น้อยกว่า200kg/m²) ขนาด 0.35x1.93 m.',15,14,'แผ่น',0.00,'2018-09-27 08:44:22'),
(13,'150PW223T',1,'แผ่นพื้นสำเร็จรูป ชนิด3ขา(LLไม่น้อยกว่า200kg/m²) ขนาด 0.35x1.15 m.',15,7,'แผ่น',0.00,'2018-09-27 08:44:22'),
(14,'150PW223T',1,'แผ่นพื้นสำเร็จรูป ชนิด3ขา(LLไม่น้อยกว่า200kg/m²) ขนาด 0.35x1.09 m.',15,10,'แผ่น',0.00,'2018-09-27 08:44:22'),
(15,'119PW223T',1,'แผ่นพื้นสำเร็จรูป ชนิด3ขา(LLไม่น้อยกว่า450kg/m²) ขนาด 0.35x3.77 m.',15,14,'แผ่น',0.00,'2018-09-27 08:48:25'),
(16,'119PW223T',1,'แผ่นพื้นสำเร็จรูป ชนิด3ขา(LLไม่น้อยกว่า200kg/m²) ขนาด 0.35x3.83 m.',15,30,'แผ่น',0.00,'2018-09-27 08:48:25'),
(17,'119PW223T',1,'แผ่นพื้นสำเร็จรูป ชนิด3ขา(LLไม่น้อยกว่า200kg/m²) ขนาด 0.35x3.73 m.',15,2,'แผ่น',0.00,'2018-09-27 08:48:25'),
(18,'119PW223T',1,'แผ่นพื้นสำเร็จรูป ชนิด3ขา(LLไม่น้อยกว่า200kg/m²) ขนาด 0.35x2.6 m.',15,7,'แผ่น',0.00,'2018-09-27 08:48:25'),
(19,'119PW223T',1,'แผ่นพื้นสำเร็จรูป ชนิด3ขา(LLไม่น้อยกว่า200kg/m²) ขนาด 0.35x1.5 m.',15,6,'แผ่น',0.00,'2018-09-27 08:48:25'),
(20,'119PW223T',1,'แผ่นพื้นสำเร็จรูป ชนิด3ขา(LLไม่น้อยกว่า200kg/m²) ขนาด 0.35x1.23 m.',15,12,'แผ่น',0.00,'2018-09-27 08:48:25');
/*!40000 ALTER TABLE `material` ENABLE KEYS */;
UNLOCK TABLES;
# Dump of table material_group
# ------------------------------------------------------------
DROP TABLE IF EXISTS `material_group`;
CREATE TABLE `material_group` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(200) NOT NULL,
`created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
LOCK TABLES `material_group` WRITE;
/*!40000 ALTER TABLE `material_group` DISABLE KEYS */;
INSERT INTO `material_group` (`id`, `name`, `created_at`)
VALUES
(3,'งวดที่ 1 งานที่ 1','2018-07-20 01:23:56'),
(4,'งวดที่ 1 งานที่ 2','2018-06-23 15:24:53'),
(5,'งวดที่ 1 งานที่ 3','2018-07-20 01:24:01'),
(6,'งวดที่ 1 งานที่ 4','2018-06-23 15:25:10'),
(8,'งวดที่ 1 งานที่ 5','2018-06-23 16:52:43'),
(9,'งวดที่ 2 งานที่ 6','2018-07-20 01:24:35'),
(11,'งวดที่ 2 งานที่ 8','2018-07-20 01:24:40'),
(12,'งวดที่ 2 งานที่ 9','2018-07-20 01:24:42'),
(13,'งวดที่ 3 งานที่ 10','2018-07-20 01:24:43'),
(14,'งวดที่ 3 งานที่ 11','2018-07-20 01:24:44'),
(15,'งวดที่ 3 งานที่ 12','2018-07-20 01:24:53'),
(16,'งวดที่ 4 งานที่ 13','2018-07-20 01:24:54'),
(17,'งวดที่ 4 งานที่ 14','2018-07-20 01:24:56'),
(18,'งวดที่ 4 งานที่ 15','2018-07-20 01:24:57'),
(19,'งวดที่ 5 งานที่ 16','2018-07-20 01:24:59'),
(20,'งวดที่ 5 งานที่ 17','2018-07-20 01:27:04'),
(21,'งวดที่ 5 งานที่ 18','2018-07-20 01:27:13'),
(22,'งวดที่ 5 งานที่ 19','2018-07-20 01:27:46'),
(23,'งวดที่ 6 งานที่ 20','2018-07-20 01:27:47'),
(24,'งวดที่ 6 งานที่ 21','2018-07-20 01:27:48'),
(25,'งวดที่ 6 งานที่ 22','2018-07-20 01:27:50'),
(26,'งวดที่ 6 งานที่ 23','2018-07-20 01:27:52'),
(27,'งวดที่ 2 งานที่ 7','2018-08-04 11:06:22');
/*!40000 ALTER TABLE `material_group` ENABLE KEYS */;
UNLOCK TABLES;
# Dump of table material_group_detail
# ------------------------------------------------------------
DROP TABLE IF EXISTS `material_group_detail`;
CREATE TABLE `material_group_detail` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`house_id` varchar(100) DEFAULT NULL,
`material_id` int(11) NOT NULL,
`material_group_id` int(11) NOT NULL,
`amount` tinyint(4) DEFAULT '0',
`created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
# Dump of table material_quantity
# ------------------------------------------------------------
DROP TABLE IF EXISTS `material_quantity`;
CREATE TABLE `material_quantity` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`material_id` int(11) NOT NULL,
`side` enum('left','right') NOT NULL,
`color` varchar(100) DEFAULT NULL,
`price` decimal(10,2) DEFAULT NULL,
`created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
LOCK TABLES `material_quantity` WRITE;
/*!40000 ALTER TABLE `material_quantity` DISABLE KEYS */;
INSERT INTO `material_quantity` (`id`, `material_id`, `side`, `color`, `price`, `created_at`)
VALUES
(1173,565,'left','B3PW1',10.00,'2018-06-08 15:02:16'),
(1174,565,'right','B3PW1',10.00,'2018-06-08 15:02:16'),
(1175,566,'left','B3PW1',11.00,'2018-06-08 15:02:16'),
(1176,566,'right','B3PW1',11.00,'2018-06-08 15:02:16'),
(1240,563,'left','B3PW1',199.00,'2018-06-09 14:59:53'),
(1241,563,'left','B3PW4',400.00,'2018-06-09 14:59:53'),
(1242,563,'left','B3PW2',300.00,'2018-06-09 14:59:53'),
(1243,563,'right','B3PW1',199.00,'2018-06-09 14:59:53'),
(1244,563,'right','B3PW2',300.00,'2018-06-09 14:59:53'),
(2267,591,'left','B3PW1',200.00,'2018-07-15 16:48:11'),
(2268,590,'left','B3PW1',100.00,'2018-07-15 16:48:11'),
(2269,591,'right','B3PW1',200.00,'2018-07-15 16:48:11'),
(2270,590,'right','B3PW1',100.00,'2018-07-15 16:48:11');
/*!40000 ALTER TABLE `material_quantity` ENABLE KEYS */;
UNLOCK TABLES;
# Dump of table ordering
# ------------------------------------------------------------
DROP TABLE IF EXISTS `ordering`;
CREATE TABLE `ordering` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`progress_id` int(11) DEFAULT NULL,
`store_id` int(11) NOT NULL,
`contract_code` varchar(255) DEFAULT NULL,
`total_price` decimal(10,2) NOT NULL DEFAULT '0.00',
`amount` tinyint(2) NOT NULL DEFAULT '0',
`date_start` date DEFAULT NULL,
`status` enum('pending','wait','confirmed','received') DEFAULT 'wait',
`order_type` enum('normal','extra') NOT NULL DEFAULT 'normal',
`note` text,
`created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
# Dump of table ordering_detail
# ------------------------------------------------------------
DROP TABLE IF EXISTS `ordering_detail`;
CREATE TABLE `ordering_detail` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`order_id` int(11) NOT NULL,
`name` varchar(255) NOT NULL,
`price` decimal(10,2) NOT NULL DEFAULT '0.00',
`unit_text` varchar(50) DEFAULT '',
`unit_price` decimal(10,2) NOT NULL DEFAULT '0.00',
`amount` tinyint(2) NOT NULL DEFAULT '0',
`status` enum('wait','received') NOT NULL DEFAULT 'wait',
`created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
# Dump of table project
# ------------------------------------------------------------
DROP TABLE IF EXISTS `project`;
CREATE TABLE `project` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`code` varchar(45) NOT NULL DEFAULT '0',
`name` varchar(100) NOT NULL,
`type` varchar(45) NOT NULL,
`created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`status` enum('ready','ip','done') NOT NULL DEFAULT 'ready',
`address` varchar(100) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
LOCK TABLES `project` WRITE;
/*!40000 ALTER TABLE `project` DISABLE KEYS */;
INSERT INTO `project` (`id`, `code`, `name`, `type`, `created_at`, `status`, `address`)
VALUES
(4,'LH269','มัณฑนา อ่อนนุช-วงแหวน5','1','2018-08-09 08:00:48','ready',''),
(5,'LH120','นันทวัน รามอินทรา พหลโยธิน50','2','2018-08-09 08:02:13','ready',''),
(6,'LH322','มัณฑนา ศรีนครินทร์-ร่มเกล้า','1','2018-08-09 08:03:30','ready',''),
(7,'LH295','นันทวัน บางนา กม.7','2','2018-08-09 08:05:04','ready','');
/*!40000 ALTER TABLE `project` ENABLE KEYS */;
UNLOCK TABLES;
# Dump of table store
# ------------------------------------------------------------
DROP TABLE IF EXISTS `store`;
CREATE TABLE `store` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(100) NOT NULL,
`type` varchar(100) DEFAULT NULL,
`contact` varchar(45) DEFAULT NULL,
`fax` varchar(45) DEFAULT NULL,
`tel` varchar(45) NOT NULL,
`address` text,
`created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
LOCK TABLES `store` WRITE;
/*!40000 ALTER TABLE `store` DISABLE KEYS */;
INSERT INTO `store` (`id`, `name`, `type`, `contact`, `fax`, `tel`, `address`, `created_at`)
VALUES
(1,'พีซีเอ็ม คอนสตรัคชั่นแมททีเรียล จำกัด','แผ่นพื้นสำเร็จรูป','คุณหนู','02-9870671','02-9870671','','2018-08-09 08:22:24'),
(2,'เมโทรโปลิแทน โปรดักส์ จำกัด','เสาเข็ม','คุณ จวง ','02-517-5167','02-517-5167','','2018-08-09 08:21:57'),
(3,'ควอลิตี้คอนสตรัคชั่นโปรดักส์ จำกัด (มหาชน)','อิฐมวลเบา','คุณ ตาล','035-258948','035-258948','','2018-08-09 08:24:01'),
(4,'โมเดิร์น เอเวอร์นิว จำกัด','ตะแกรงระบายน้ำ(Modern Drain)','คุณ แน็ต','02-1304155','02-1304155','','2018-08-09 08:25:36'),
(5,'SPV','เชิงชาย/ผนังไม้ประดับ/ไม้บัว(CONWOOD)','คุณอุ้ม','02-8962744','02-8962744','','2018-08-09 08:26:45'),
(6,'กิจศิริ','เชิงชาย/ผนังไม้ประดับ/ไม้บัว(สมาร์ทวูด)','คุณ ริน','02-3931115','02-3931115','','2018-08-09 08:29:43');
/*!40000 ALTER TABLE `store` ENABLE KEYS */;
UNLOCK TABLES;
# Dump of table technician
# ------------------------------------------------------------
DROP TABLE IF EXISTS `technician`;
CREATE TABLE `technician` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(200) DEFAULT NULL,
`phone` varchar(15) DEFAULT NULL,
`job_type` tinyint(3) DEFAULT NULL,
`created_at` datetime DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
LOCK TABLES `technician` WRITE;
/*!40000 ALTER TABLE `technician` DISABLE KEYS */;
INSERT INTO `technician` (`id`, `name`, `phone`, `job_type`, `created_at`)
VALUES
(2,'ช่างสมพร','0976635465',2,'2018-09-01 12:37:03'),
(3,'ช่างเอ็ม','0863425364',2,'2018-09-01 12:37:17'),
(4,'ช่างเอก','0865526354',3,'2018-09-02 16:44:09');
/*!40000 ALTER TABLE `technician` ENABLE KEYS */;
UNLOCK TABLES;
# Dump of table user
# ------------------------------------------------------------
DROP TABLE IF EXISTS `user`;
CREATE TABLE `user` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(50) NOT NULL,
`username` varchar(15) NOT NULL,
`password` varchar(255) NOT NULL,
`email` varchar(50) DEFAULT NULL,
`phone` varchar(10) DEFAULT NULL,
`address` varchar(45) DEFAULT NULL,
`position` enum('ADMIN','PURCHASING','TECHNICIAN') NOT NULL,
`created_at` datetime DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
UNIQUE KEY `id_UNIQUE` (`id`),
UNIQUE KEY `username_UNIQUE` (`username`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
LOCK TABLES `user` WRITE;
/*!40000 ALTER TABLE `user` DISABLE KEYS */;
INSERT INTO `user` (`id`, `name`, `username`, `password`, `email`, `phone`, `address`, `position`, `created_at`)
VALUES
(8,'ปกครอง จริงจิตร','pokkrong','$2b$10$hf2.HhHw/JaSgWcu8QquTuN1GA1yfenagDWDItYntrpFDPo2BTFse','pokkrong@gmail.com','012374857','test','ADMIN','2018-07-08 14:38:37'),
(10,'ฝ่ายจัดซื้อ','purchasing','$2b$10$zGkGre2FOL1pwQDm9SbMWue/nwqklQeMok8ydWj2K3aPYmwaw7NKe','purchasing@gmail.com','0987774653','','PURCHASING','2018-07-16 23:32:09'),
(11,'หน้างาน','tec','$2b$10$PRHVfZ0mqJx03EfmAWsV9OUxYjtdVcD3uMwfTecJ0uneLjB1/Uha2','technician@gmail.com','0987654321','','TECHNICIAN','2018-07-17 00:53:41'),
(12,'คมสันต์ คงสุข','komsan','$2b$10$fa7eyigLQS/LQrVg4eYDVumIbQChUVvFu5JGn4uVJB1vJZLAJVmbW','komsan.kongsuk@gmail.com','0869728111','','ADMIN','2018-08-05 21:44:43');
/*!40000 ALTER TABLE `user` ENABLE KEYS */;
UNLOCK TABLES;
# Dump of table work_group
# ------------------------------------------------------------
DROP TABLE IF EXISTS `work_group`;
CREATE TABLE `work_group` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(255) DEFAULT '',
`created_at` datetime DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
LOCK TABLES `work_group` WRITE;
/*!40000 ALTER TABLE `work_group` DISABLE KEYS */;
INSERT INTO `work_group` (`id`, `name`, `created_at`)
VALUES
(1,'หมวดงานรั้ว(เหล็ก)','2018-10-05 01:23:49'),
(2,' หมวดงานรั้ว(สี) ','2018-10-05 01:29:09');
/*!40000 ALTER TABLE `work_group` ENABLE KEYS */;
UNLOCK TABLES;
# Dump of table work_group_detail
# ------------------------------------------------------------
DROP TABLE IF EXISTS `work_group_detail`;
CREATE TABLE `work_group_detail` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`time` tinyint(3) DEFAULT NULL,
`group_id` int(11) NOT NULL,
`house_id` varchar(100) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`amount` tinyint(3) DEFAULT '1',
`unit` varchar(50) DEFAULT NULL,
`price` decimal(10,2) DEFAULT NULL,
`note` text,
`created_at` datetime DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
LOCK TABLES `work_group_detail` WRITE;
/*!40000 ALTER TABLE `work_group_detail` DISABLE KEYS */;
INSERT INTO `work_group_detail` (`id`, `time`, `group_id`, `house_id`, `name`, `amount`, `unit`, `price`, `note`, `created_at`)
VALUES
(15,1,1,'198PWY',' งานเหล็กรั้วโปร่ง ',1,' เมตร ',330.00,'','2018-10-05 01:29:22'),
(16,3,1,'198PWY',' งานติดตั้งประตูเล็ก (ประตูสำเร็จรูป) ',1,' ชุด ',800.00,NULL,'2018-10-05 01:29:22'),
(17,4,1,'198PWY',' งานติดตั้งฝาถังขยะ ',1,' ชุด ',100.00,NULL,'2018-10-05 01:29:22'),
(18,5,1,'198PWY',' งานเหล็กประตูใหญ่กรณีเป็นบานคู่(รวมวางราง) ',1,' ชุด ',1000.00,NULL,'2018-10-05 01:29:22'),
(19,6,1,'198PWY',' ติดตั้งบ้านเลขที่+ตู้จดหมาย ',1,' ชุด ',100.00,NULL,'2018-10-05 01:29:22'),
(23,1,2,'198PWY',' งานสีประตูเล็ก + ประตูใหญ่ + ชุดถังขยะ ',1,' ชุด ',850.00,'ทดสอบหมายเหตุ','2018-10-06 00:34:56'),
(24,2,2,'198PWY',' งานสีรั้วโปร่ง ',1,' เมตร ',85.00,NULL,'2018-10-06 00:34:56'),
(25,3,2,'198PWY',' งานสีรั้วทึบ ',1,' ตร.ม. ',85.00,NULL,'2018-10-06 00:34:56');
/*!40000 ALTER TABLE `work_group_detail` ENABLE KEYS */;
UNLOCK TABLES;
# Dump of table work_order
# ------------------------------------------------------------
DROP TABLE IF EXISTS `work_order`;
CREATE TABLE `work_order` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`time` tinyint(2) NOT NULL,
`pre_order` int(11) DEFAULT NULL,
`created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
LOCK TABLES `work_order` WRITE;
/*!40000 ALTER TABLE `work_order` DISABLE KEYS */;
INSERT INTO `work_order` (`id`, `time`, `pre_order`, `created_at`)
VALUES
(1,1,7,'2018-10-03 00:46:08'),
(2,2,3,'2018-08-04 10:59:27'),
(14,3,0,'2018-07-09 00:01:36'),
(15,4,0,'2018-07-09 00:01:54'),
(16,5,0,'2018-07-09 00:04:28'),
(17,6,0,'2018-07-09 00:04:44'),
(18,7,0,'2018-07-09 00:05:07'),
(19,8,0,'2018-07-09 00:05:24'),
(20,9,0,'2018-07-09 00:05:37'),
(21,10,0,'2018-07-09 00:05:44');
/*!40000 ALTER TABLE `work_order` ENABLE KEYS */;
UNLOCK TABLES;
# Dump of table work_order_detail
# ------------------------------------------------------------
DROP TABLE IF EXISTS `work_order_detail`;
CREATE TABLE `work_order_detail` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`work_order_time` tinyint(2) NOT NULL,
`order` tinyint(2) NOT NULL,
`name` varchar(100) NOT NULL,
`post_order` int(11) DEFAULT NULL,
`created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
LOCK TABLES `work_order_detail` WRITE;
/*!40000 ALTER TABLE `work_order_detail` DISABLE KEYS */;
INSERT INTO `work_order_detail` (`id`, `work_order_time`, `order`, `name`, `post_order`, `created_at`)
VALUES
(620,3,1,' งานก่ออิฐ 100%',NULL,'2018-07-09 00:01:36'),
(621,3,3,'งานบัวผนังภายนอก',NULL,'2018-07-09 00:01:36'),
(622,3,2,'งานฉาบปูน (ไม่รวมผนังในห้องน้ำ)',NULL,'2018-07-09 00:01:36'),
(623,4,1,' งานผนังห้องน้ำบน-ล่างและเคาน์เตอร์ครัว',NULL,'2018-07-09 00:01:54'),
(624,4,3,'งานฝ้าภายนอกรอบบน100%',NULL,'2018-07-09 00:01:54'),
(625,4,2,'งานร้อยสายไฟภายในอาคาร',NULL,'2018-07-09 00:01:54'),
(646,5,2,' งานโครงฝ้าภายในอาคาร(ชั้นล่าง)',NULL,'2018-07-09 00:04:28'),
(647,5,4,'สีภายนอกช่วงบน',NULL,'2018-07-09 00:04:28'),
(648,5,1,' งานโครงฝ้าภายในอาคาร(ชั้นล่าง)',NULL,'2018-07-09 00:04:28'),
(649,5,3,'งานมุงหลังคารอบล่าง',NULL,'2018-07-09 00:04:28'),
(650,6,2,' งานบันไดไม้50%(เสา,ราวลูกกรง)',NULL,'2018-07-09 00:04:44'),
(651,6,4,'งานฝ้าภายนอกรอบล่างทั้งหมด',NULL,'2018-07-09 00:04:44'),
(652,6,1,'งานหน้าต่างชั้นบน',NULL,'2018-07-09 00:04:44'),
(653,6,3,'งานท่อภายนอกทั้งหมด',NULL,'2018-07-09 00:04:44'),
(654,6,5,'งานฝ้าภายใน100%',NULL,'2018-07-09 00:04:44'),
(655,7,2,'งานสีภายใน รองพื้น แต่งผิว',NULL,'2018-07-09 00:05:07'),
(656,7,1,' งานสีจริงภายนอกช่วงล่าง80%',NULL,'2018-07-09 00:05:07'),
(657,7,3,'งานบันไดไม้100%(ลูกนอน+ชานพัก)',NULL,'2018-07-09 00:05:07'),
(658,7,4,'งานปูพื้นผิวชั้นล่างและห้องน้ำชั้นล่าง',NULL,'2018-07-09 00:05:07'),
(659,7,5,'งานถนน+ซักล้าง',NULL,'2018-07-09 00:05:07'),
(660,8,2,' งานไฟฟ้า (อุปกรณ์)',NULL,'2018-07-09 00:05:24'),
(661,8,1,' ติดตั้งไม้พื้นสำเร็จรูปลามิเนต',NULL,'2018-07-09 00:05:24'),
(662,8,3,' งานประตู+หน้าต่าง100%',NULL,'2018-07-09 00:05:24'),
(663,8,4,' งานสุขภัณฑ์และอุปกรณ์',NULL,'2018-07-09 00:05:24'),
(664,9,2,' *เก็บทำความสะอาด(ส่งงวด9)',NULL,'2018-07-09 00:05:37'),
(665,9,1,' เก็บงานสีก่อนหมวด 6',NULL,'2018-07-09 00:05:37'),
(666,10,1,' สั่งจ่ายงวด 10',NULL,'2018-07-09 00:05:44'),
(720,2,1,'งานเชิงชาย+ผนังไม้สำเร็จรูป',9,'2018-08-04 10:59:27'),
(721,2,2,' งานหล่อเคาน์เตอร์ครัว',10,'2018-08-04 10:59:27'),
(722,2,4,'มุงหลังคารอบบน',12,'2018-08-04 10:59:27'),
(723,2,3,' งานเดินท่อประปาภายในอาคาร',11,'2018-08-04 10:59:27'),
(803,1,1,'ทำสัญญาก่อสร้าง',3,'2018-10-03 00:46:08'),
(804,1,2,' ถังบำบัดน้ำเสีย-บ่อดักไขมัน-ถังเก็บน้ำใต้ดิน',4,'2018-10-03 00:46:08'),
(805,1,3,'งานเดินท่อประปาใต้อาคาร',5,'2018-10-03 00:46:08'),
(806,1,4,'งานเทพื้นชั้น 1 100%',6,'2018-10-03 00:46:08'),
(807,1,5,'งานโครงหลังคารอบบน',8,'2018-10-03 00:46:08');
/*!40000 ALTER TABLE `work_order_detail` ENABLE KEYS */;
UNLOCK TABLES;
# Dump of table work_order_preiod
# ------------------------------------------------------------
DROP TABLE IF EXISTS `work_order_preiod`;
CREATE TABLE `work_order_preiod` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`work_order_time` int(11) NOT NULL,
`order` int(11) NOT NULL,
`house_id` varchar(100) NOT NULL,
`preiod` tinyint(3) DEFAULT NULL,
`preiod_end` tinyint(3) DEFAULT NULL,
`condition` tinyint(2) DEFAULT NULL,
`created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
LOCK TABLES `work_order_preiod` WRITE;
/*!40000 ALTER TABLE `work_order_preiod` DISABLE KEYS */;
INSERT INTO `work_order_preiod` (`id`, `work_order_time`, `order`, `house_id`, `preiod`, `preiod_end`, `condition`, `created_at`)
VALUES
(1,1,1,'198PWY',0,0,0,'2018-07-08 16:30:33'),
(2,1,1,'119PWY',10,1,1,'2018-07-08 16:31:17'),
(3,1,1,'237PWY',9,NULL,1,'2018-07-08 16:31:17'),
(4,1,2,'198PWY',15,3,1,'2018-07-08 22:03:36'),
(5,1,4,'198PWY',9,7,1,'2018-07-08 22:03:36'),
(6,1,3,'198PWY',0,7,1,'2018-07-08 22:03:36'),
(7,1,5,'198PWY',8,4,1,'2018-07-08 22:03:36'),
(12,1,2,'169PWY',13,NULL,1,'2018-07-08 22:05:09'),
(13,1,1,'169PWY',13,NULL,1,'2018-07-08 22:05:09'),
(14,1,3,'169PWY',13,NULL,1,'2018-07-08 22:05:09'),
(15,1,4,'169PWY',13,NULL,1,'2018-07-08 22:05:09'),
(16,1,5,'169PWY',13,NULL,1,'2018-07-08 22:05:09'),
(17,2,4,'198PWY',0,0,NULL,'2018-07-08 22:54:01'),
(18,2,3,'198PWY',1,7,3,'2018-07-08 22:54:01'),
(19,2,1,'198PWY',11,5,5,'2018-07-08 22:54:01'),
(20,2,2,'198PWY',1,5,5,'2018-07-08 22:54:01'),
(21,3,2,'198PWY',4,9,10,'2018-07-08 22:58:24'),
(22,3,1,'198PWY',4,9,8,'2018-07-08 22:58:24'),
(23,3,3,'198PWY',1,4,10,'2018-07-08 22:58:24'),
(24,4,1,'198PWY',0,14,11,'2018-07-08 22:58:43'),
(25,4,2,'198PWY',9,5,11,'2018-07-08 22:58:43'),
(26,4,3,'198PWY',4,10,11,'2018-07-08 22:58:43'),
(27,5,2,'198PWY',1,5,13,'2018-07-08 22:59:31'),
(28,5,3,'198PWY',0,0,NULL,'2018-07-08 22:59:31'),
(29,5,1,'198PWY',0,12,15,'2018-07-08 22:59:31'),
(30,5,4,'198PWY',7,15,11,'2018-07-08 22:59:31'),
(31,6,2,'198PWY',2,2,17,'2018-07-08 23:00:07'),
(32,6,1,'198PWY',0,0,NULL,'2018-07-08 23:00:07'),
(33,6,3,'198PWY',8,3,19,'2018-07-08 23:00:07'),
(34,6,4,'198PWY',0,4,16,'2018-07-08 23:00:07'),
(35,6,5,'198PWY',0,11,23,'2018-07-08 23:00:07'),
(36,7,1,'198PWY',0,10,24,'2018-07-08 23:01:07'),
(37,7,3,'198PWY',0,7,21,'2018-07-08 23:01:07'),
(38,7,2,'198PWY',0,15,25,'2018-07-08 23:01:07'),
(39,7,4,'198PWY',11,25,17,'2018-07-08 23:01:07'),
(40,7,5,'198PWY',8,7,22,'2018-07-08 23:01:07'),
(41,8,1,'198PWY',0,0,NULL,'2018-07-08 23:01:49'),
(42,8,3,'198PWY',10,7,28,'2018-07-08 23:01:49'),
(43,8,2,'198PWY',30,5,14,'2018-07-08 23:01:49'),
(44,8,4,'198PWY',16,9,28,'2018-07-08 23:01:49'),
(45,9,1,'198PWY',0,15,26,'2018-07-08 23:02:06'),
(46,9,2,'198PWY',0,12,33,'2018-07-08 23:02:06'),
(47,10,1,'198PWY',0,15,35,'2018-07-08 23:02:27'),
(48,1,6,'198PWY',2,3,1,'2018-09-01 17:03:14'),
(49,1,7,'198PWY',2,2,2,'2018-09-01 17:03:29'),
(50,1,6,'198PWY',1,1,1,'2018-09-01 17:03:55'),
(51,1,6,'198PWY',1,1,1,'2018-09-01 17:06:20'),
(52,1,7,'198PWY',3,4,2,'2018-09-01 17:06:35'),
(53,1,6,'198PWY',1,1,1,'2018-09-02 12:25:36'),
(54,1,1,'142PWY22T',1,1,0,'2018-10-03 00:41:15'),
(55,1,2,'142PWY22T',1,1,1,'2018-10-03 00:41:15'),
(56,1,3,'142PWY22T',1,1,2,'2018-10-03 00:41:15'),
(57,1,4,'142PWY22T',1,1,3,'2018-10-03 00:41:15'),
(58,1,5,'142PWY22T',1,1,4,'2018-10-03 00:41:15'),
(59,1,2,'119PWY',1,1,1,'2018-10-03 00:46:08'),
(60,1,3,'119PWY',1,1,2,'2018-10-03 00:46:08'),
(61,1,4,'119PWY',1,1,3,'2018-10-03 00:46:08'),
(62,1,5,'119PWY',1,1,4,'2018-10-03 00:46:08');
/*!40000 ALTER TABLE `work_order_preiod` ENABLE KEYS */;
UNLOCK TABLES;
# Dump of table work_sheet
# ------------------------------------------------------------
DROP TABLE IF EXISTS `work_sheet`;
CREATE TABLE `work_sheet` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`plan` varchar(45) NOT NULL DEFAULT '',
`work_group_id` int(11) NOT NULL,
`work_group_name` varchar(255) DEFAULT NULL,
`project_id` int(11) NOT NULL,
`house_id` varchar(100) NOT NULL DEFAULT '',
`status` enum('IP','DONE') DEFAULT NULL,
`is_extra` tinyint(1) DEFAULT '0',
`created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
# Dump of table work_sheet_detail
# ------------------------------------------------------------
DROP TABLE IF EXISTS `work_sheet_detail`;
CREATE TABLE `work_sheet_detail` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`work_sheet_id` int(11) DEFAULT NULL,
`technician_id` int(11) DEFAULT NULL,
`time` tinyint(3) DEFAULT '0',
`name` varchar(255) DEFAULT NULL,
`amount` tinyint(3) DEFAULT NULL,
`unit` varchar(20) DEFAULT NULL,
`price` decimal(10,2) DEFAULT NULL,
`total_price` decimal(10,2) DEFAULT NULL,
`status` enum('0','1','2','3','4','5') DEFAULT NULL,
`has_rejected` tinyint(1) DEFAULT '0',
`note` text,
`is_extra` tinyint(1) DEFAULT '0',
`updated_at` datetime DEFAULT CURRENT_TIMESTAMP,
`created_at` datetime DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!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 |
6aa4df32df93f284f0ebcd47fb616669a3d98f3d | SQL | ErykKrupa/bank-database | /src/main/resources/queries/credit_card.sql | UTF-8 | 436 | 3.359375 | 3 | [] | no_license | drop table if exists credit_card;
create table credit_card
(
number char(16) primary key,
account_number char(26) not null,
card_verification char(3) not null,
expiry_date date not null,
funds_limit bigint not null,
used_funds bigint not null,
constraint foreign key (account_number)
references client (account_number)
);
select * from credit_card; | true |
95bb076cd84103d187f02c3eeaa8018e9942a9b1 | SQL | sivanookala1979/getbike | /conf/evolutions/default/1.sql | UTF-8 | 3,418 | 3.3125 | 3 | [
"Apache-2.0"
] | permissive |
# --- !Ups
create table login_otp (
id bigint not null,
user_id bigint,
generated_otp varchar(255),
created_at timestamp,
constraint pk_login_otp primary key (id)
);
create sequence login_otp_seq;
create table ride (
id bigint not null,
requestor_id bigint,
rider_id bigint,
ride_status varchar(13),
order_distance double,
order_amount double,
requested_at timestamp,
accepted_at timestamp,
ride_started_at timestamp,
ride_ended_at timestamp,
start_latitude double,
start_longitude double,
source_address varchar(255),
destination_address varchar(255),
total_fare double,
taxes_and_fees double,
sub_total double,
rounding_off double,
total_bill double,
constraint ck_ride_ride_status check (ride_status in ('RideRequested','RideAccepted','RideClosed')),
constraint pk_ride primary key (id)
);
create sequence ride_seq;
create table ride_location (
id bigint not null,
ride_id bigint,
posted_by_id bigint,
location_time timestamp,
received_at timestamp,
latitude double,
longitude double,
before_ride boolean,
during_ride boolean,
constraint pk_ride_location primary key (id)
);
create sequence ride_location_seq;
create table system_settings (
id bigint not null,
key varchar(255),
value varchar(255),
constraint pk_system_settings primary key (id)
);
create sequence system_settings_seq;
create table user (
id bigint not null,
name varchar(255),
email varchar(255),
password varchar(255),
phone_number varchar(255),
gender varchar(255),
auth_token varchar(255),
gcm_code varchar(1024),
vehicle_plate_image_name varchar(255),
vehicle_number varchar(255),
driving_license_image_name varchar(255),
driving_license_number varchar(255),
valid_proofs_uploaded boolean,
constraint pk_user primary key (id)
);
create sequence user_seq;
create table user_login (
id bigint not null,
username varchar(255),
password varchar(255),
constraint pk_user_login primary key (id)
);
create sequence user_login_seq;
# --- !Downs
drop table if exists login_otp;
drop sequence if exists login_otp_seq;
drop table if exists ride;
drop sequence if exists ride_seq;
drop table if exists ride_location;
drop sequence if exists ride_location_seq;
drop table if exists system_settings;
drop sequence if exists system_settings_seq;
drop table if exists user;
drop sequence if exists user_seq;
drop table if exists user_login;
drop sequence if exists user_login_seq;
| true |
79633949c5d345ad52058abe67037d5a1bf7eb71 | SQL | liuxiaoyu-git/Lucky-Draw | /table.sql | UTF-8 | 801 | 2.96875 | 3 | [] | no_license | mysql -h127.0.0.1 -P3306 -uopenshift -ppassword
use sampledb;
select * from registryuser;
drop table registryuser;
create table registryuser (username varchar(20) primary key);
insert into registryuser values('user1-0001');
insert into registryuser values('user2-1002');
insert into registryuser values('user3-0503');
insert into registryuser values('user4-0074');
insert into registryuser values('user5-0325');
select * from registryuser;
drop table winner;
create table winner (username varchar(20) primary key,round varchar(20));
insert into winner values('user3-0503','special prize');
delete from winner;
select username from registryuser where username not in (select username from winner);
//drop table TEMPLUCKYDRAW;
//create table TEMPLUCKYDRAW (sn int,username varchar(20) primary key);
| true |
9d409bbf30438b26569077552a28de32c0223bcd | SQL | siyeon13/dbsql | /fastfood.sql | UTF-8 | 3,163 | 3.640625 | 4 | [] | no_license | 순위 시도 시군구 도시발전지수 kfc건수 맥도날드 버거킹 롯데리아
1 서울시 서초구 4.5 3 4 5 6
2 서울시 강남구 4.3
3 부산시 해운대구 4.1
서울시 서초구 kfc 6
서울시 서초구 맥도날드 5
SELECT *
FROM fastfood;
SELECT sido, sigungu, gb
FROM fastfood
WHERE gb = '롯데리아'
AND sigungu = '강릉시'
ORDER BY sido, sigungu, gb;
SELECT sido, sigungu, gb , COUNT(*) cnt
FROM fastfood
WHERE gb = '롯데리아'
GROUP BY sido, sigungu, gb
ORDER BY sido, sigungu, gb;
SELECT sido, sigungu, gb , COUNT(*) cnt
FROM fastfood
WHERE gb = 'KFC'
GROUP BY sido, sigungu, gb
ORDER BY sido, sigungu, gb;
SELECT sido, sigungu, gb , COUNT(*) cnt
FROM fastfood
WHERE gb = '맥도날드'
GROUP BY sido, sigungu, gb
ORDER BY sido, sigungu, gb;
SELECT sido, sigungu, gb , COUNT(*) cnt
FROM fastfood
WHERE gb = '맥도날드'
GROUP BY sido, sigungu, gb
ORDER BY sido, sigungu, gb;
--------------
SELECT a.sido, a.sigungu , a.cnt, b.cnt, a,cnt/b.cnt di
(SELECT
COUNT(*) cnt
FROM fastfood
WHERE gb IN ( '버거킹', 'KFC', '버거킹' )
GROUP BY sido, sigungu
ORDER BY sido, sigungu a;
(SELECT sido, sigungu , COUNT(*) cnt
FROM fastfood
WHERE gb = '롯데리아'
GROUP BY sido, sigungu) b
WHERE a.sido = b.sido
AND a.sigungu = b.sigungu;
-------------------
SELECT sido, sigungu, gb , COUNT(*) cnt
FROM fastfood
WHERE gb = '버거킹'
GROUP BY sido, sigungu, gb
ORDER BY sido, sigungu, gb;
SELECT sido, sigungu, d.gb, d.COUNT(*), f.gb, f.COUNT(*)
FROM fastfood f, fastfood d
WHERE f.sido = d.sido
AND d.gb = '맥도날드'
OR f.gb = '롯데리아'
GROUP BY sido, sigungu;
SELECT f.sido, f.sigungu, d.gb, f.gb
FROM fastfood f, fastfood d
WHERE f.sido = d.sido (SELECT gb
FROM fastfood
WHERE gb IN ('맥도날드', '롯데리아'));
AND d.gb = '맥도날드'
OR f.gb = '롯데리아'
GROUP BY sido, sigungu;
SELECT gb, sido, sigungu
FROM fastfood
WHERE SIDO = '대전광역시'
AND sigungu = '중구';
SELECT a.sido, a.sigungu, a.cnt, b.cnt, ROUND(a.cnt/b.cnt, 2) di
FROM
(SELECT sido, sigungu, COUNT(*) cnt
FROM fastfood
WHERE gb IN ( 'KFC', '맥도날드', '버거킹')
GROUP BY sido, sigungu) a,
(SELECT sido, sigungu, COUNT(*) cnt
FROM fastfood
WHERE gb = '롯데리아'
GROUP BY sido, sigungu) b
WHERE a.sido = b.sido
AND a.sigungu = b.sigungu
ORDER BY di DESC;
kfc 건수, 롯데리아 건수, 버거킹 건수, 맥도날드 건수
SELECT sido, sigungu,
ROUND(NVL(SUM(DECODE(gb, 'KFC', cnt)), 0) +
NVL(SUM(DECODE(gb, '버거킹', cnt)), 0) +
NVL(SUM(DECODE(gb, '맥도날드', cnt)), 0) /
NVL(SUM(DECODE(gb, '롯데리아', cnt)), 1)) di
FROM
(SELECT sido, sigungu, gb, COUNT(*) cnt
FROM fastfood
WHERE gb IN ('KFC', '롯데리아', '버거킹', '맥도날드')
GROUP BY sido, sigungu, gb)
GROUP BY sido, sigungu
ORDER BY di DESC;
SELECT *
FROM tax;
도시발전지수 1 - 세금 1위
도시발전지수 2 - 세금 2위
도시발전지수 3 - 세금 3위
SELECT sido , sigungu, ROUND(sal/people) p_sal
FROM tax
ORDER BY p_sal DESC;
| true |
9c0d55a6bc28c0fde1d766b90cde4a2746aabde8 | SQL | alviszh/crawler | /parent/parent-microservice/parent-microservice-telecom/common-microservice-telecom-jiangsu/src/main/resources/datasource/mysql/telecom_jiangsu_etl.sql | UTF-8 | 5,986 | 3.5 | 4 | [] | no_license | DROP FUNCTION IF EXISTS telecom_jiangsu_etl;
CREATE FUNCTION telecom_jiangsu_etl(taskid varchar(50)) RETURNS text CHARSET utf8
BEGIN
#Routine body goes here...
DECLARE this_id text;
DECLARE p_etl_status text DEFAULT 'success';
DECLARE p_etl_error_detail text;
DECLARE p_etl_error_content text;
DECLARE EXIT HANDLER FOR SQLWARNING SET @info='ERROR';
DECLARE EXIT HANDLER FOR SQLEXCEPTION SET @info='ERROR';
set this_id = taskid;
delete from pro_mobile_bill_info where task_id = this_id;
delete from pro_mobile_call_info where task_id = this_id;
delete from pro_mobile_pay_info where task_id = this_id;
delete from pro_mobile_service_info where task_id = this_id;
delete from pro_mobile_sms_info where task_id = this_id;
delete from pro_mobile_user_info where task_id = this_id;
#用户基本信息
INSERT INTO pro_mobile_user_info
(
resource,task_id,createtime,carrier,basic_user_name,basic_id_num,city,
province,phone_num,cur_balance,points,cus_level,certificate_type,contact_num,
user_name,postcode,address,id_num,email
)
select
'telecom_jiangsu_userinfo:'|| a.id as resource,
a.taskid as task_id,
a.createtime as createtime,
'中国电信' as carrier,
e.name as basic_user_name,
e.idnum as basic_id_num,
b.city as city,
b.province as province,
b.phonenum as phone_num,
a.blance as cur_balance,
a.scores as points,
f.item_name as cus_level,
g.item_name as certificate_type,
a.contact_phone as contact_num,
a.user_name as user_name,
a.zip_code as postcode,
a.user_address as address,
a.document_code as id_num,
a.email as email
from
telecom_jiangsu_userinfo a left join task_mobile b
on a.taskid = b.taskid left join telecom_common_starlevel c
on a.taskid = c.taskid left join telecom_common_pointsandcharges d
on a.taskid = d.taskid left join basic_user e
on b.basic_user_id = e.id left join userinfo_cuslevel_item_code f
on c.membership_level = f.source_name left join userinfo_certificatetype_item_code g
on a.document_type = g.source_name
where a.taskid = this_id;
#缴费信息
INSERT INTO pro_mobile_pay_info
(
resource,task_id,createtime,payfee,paytime,paymonth,payway
)
select
'telecom_jiangsu_pay:' || a.id as resource,
a.taskid as task_id,
a.createtime as createtime,
round(a.dcc_payment_amount/100,2) as payfee,
date_format(substr(a.dcc_paid_time,1,8),'%y-%m-%d') as paytime,
date_format(substr(a.dcc_paid_time,1,8),'%y-%m') as paymonth,
b.item_name as payway
from telecom_jiangsu_pay a left join payinfo_paytype_item_code b
on a.dcc_charge_source_id = b.source_name
where a.taskid = this_id;
#短信信息
INSERT INTO pro_mobile_sms_info
(
resource,task_id,createtime,host_num,other_num,fee,sms_type,sms_way,send_time
)
select
'telecom_jiangsu_message:' || a.id as resource,
a.taskid as task_id,
a.createtime as createtime,
b.phonenum as host_num,
a.acc_nbr as other_num,
a.ticket_charge_ch as fee,
c.item_name as sms_type,
d.item_name as sms_way,
concat(start_date_new,' ',start_time_new) as send_time
from telecom_jiangsu_message a left join task_mobile b
on a.taskid = b.taskid left join smsinfo_smstype_item_code c
on a.ticket_type = c.source_name left join smsinfo_smsway_item_code d
on a.ticket_type = d.source_name
where a.taskid = this_id;
#套餐(服务)信息
INSERT INTO pro_mobile_service_info
(
resource,task_id,createtime,service_name
)
select
'telecom_jiangsu_business:'|| a.id as resource,
a.taskid as task_id,
a.createtime as createtime,
a.offer_spec_name as service_name
from telecom_jiangsu_business a
where a.taskid = this_id;
# and position('<' in a.offer_comp_name) = 0
#通话记录信息
INSERT INTO pro_mobile_call_info
(
resource,task_id,createtime,phone_num,his_num,fee,call_location,call_time,call_type,charge_type,
call_duration
)
select
'telecom_jiangsu_callrecord:'||a.id as resource,
a.taskid as task_id,
a.createtime as createtime,
b.phonenum as phone_num,
a.acc_nbr as his_num,
a.ticket_charge_ch as fee,
e.city as call_location,
concat(start_date_new,' ',a.start_time_new) as call_time,
c.item_name as call_type,
d.item_name as charge_type,
handle_timeformat('jiangsu',duration_ch) as call_duration
from telecom_jiangsu_callrecord a left join task_mobile b
on a.taskid = b.taskid left join callinfo_calltype_item_code c
on a.ticket_type_new = c.source_name left join callinfo_chargetype_item_code d
on a.duration_type = d.source_name left join city e
on a.area_code = e.number
where a.taskid = this_id;
#月账单信息
INSERT INTO pro_mobile_bill_info
(
task_id,sum_fee,basic_fee,message_fee,normal_call_fee,roam_call_fee,flow_fee,
function_fee,other_fee,bill_month
)
select
a.taskid as task_id,
sum(a.item_charge) as sum_fee,
sum(case when b.item_name = '基本套餐费' then a.item_charge else 0 end) as basic_fee,
sum(case when b.item_name = '短信彩信费' then a.item_charge else 0 end) as message_fee,
sum(case when b.item_name = '国内通话费' then a.item_charge else 0 end) as normal_call_fee,
sum(case when b.item_name = '异地通话费' then a.item_charge else 0 end) as roam_call_fee,
sum(case when b.item_name = '互联网流量费' then a.item_charge else 0 end) as flow_fee,
sum(case when b.item_name = '业务功能费' then a.item_charge else 0 end) as function_fee,
sum(case when b.item_name = '其他费用' then a.item_charge else 0 end) as other_fee,
# substr(a.cycle,1,4) ||'-'|| substr(a.cycle,5,2) as bill_month
a.yearmonth as bill_month
from telecom_jiangsu_bill a left join billinfo_feetype_item_code b
on a.item_name = source_name
where a.taskid = this_id
group by
a.yearmonth,
a.taskid;
RETURN p_etl_status;
END
;; | true |
97c9a522a09f78da0d2716b4114e0ff658578703 | SQL | varstudio/ilist | /install/install_webdoc_zh-simp.sql | UTF-8 | 15,108 | 2.984375 | 3 | [] | no_license | -- phpMyAdmin SQL Dump
-- version 3.4.9
-- http://www.phpmyadmin.net
--
-- ホスト: localhost:3306
-- 生成時間: 2013 年 1 月 28 日 17:53
-- サーバのバージョン: 5.5.16
-- PHP のバージョン: 5.3.8
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 */;
--
-- データベース: `webdoc`
--
use webdoc;
-- --------------------------------------------------------
--
-- テーブルを削除する
--
DROP TABLE IF EXISTS `sys_action`;
DROP TABLE IF EXISTS `sys_code`;
DROP TABLE IF EXISTS `sys_codevalue`;
DROP TABLE IF EXISTS `sys_command`;
DROP TABLE IF EXISTS `sys_list`;
DROP TABLE IF EXISTS `sys_menu`;
DROP TABLE IF EXISTS `sys_message`;
DROP TABLE IF EXISTS `sys_sort`;
DROP TABLE IF EXISTS `sys_style`;
DROP TABLE IF EXISTS `sys_table`;
DROP TABLE IF EXISTS `sys_team`;
DROP TABLE IF EXISTS `sys_user`;
-- --------------------------------------------------------
--
-- テーブルの構造 `sys_action`
--
CREATE TABLE IF NOT EXISTS `sys_action` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`action` text,
`name` text,
`script` text,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=8 ;
--
-- テーブルのデータをダンプしています `sys_action`
--
INSERT INTO `sys_action` (`id`, `action`, `name`, `script`) VALUES
(1, 'insert', '追加', 'insertNum = "0";\r\nwhile (isNaN(insertNum) || insertNum == "0") {\r\n insertNum = prompt( "请输入要追加的记录数!"); \r\n}\r\nif(insertNum == null) {return;};\r\nfrmCommand.id.value = insertNum;\r\nfrmCommand.act.value = action;\r\nfrmCommand.submit();'),
(2, 'update', '编辑', 'var id = "";\r\nif (frmMain.selFlg == null) { return false; }\r\nfor(i=0;i<frmMain.selFlg.length;i++) {\r\n if (frmMain.selFlg[i].checked == true) {\r\n if (id == "") {\r\n id = frmMain.selFlg[i].value;\r\n } else {\r\n id = id + "," + frmMain.selFlg[i].value;\r\n }\r\n }\r\n}\r\nif (id == "") {\r\n if (frmMain.selFlg.checked == true)\r\n id = frmMain.selFlg.value;\r\n }\r\nif (id == "") { return false; }\r\nfrmCommand.id.value = id;\r\nfrmCommand.act.value = action;\r\nfrmCommand.submit();\r\n'),
(3, 'delete', '删除', 'var id = "";\r\nif (frmMain.selFlg == null) { return false; }\r\nfor(i=0;i<frmMain.selFlg.length;i++) {\r\n if (frmMain.selFlg[i].checked == true) {\r\n if (id == "") {\r\n id = frmMain.selFlg[i].value;\r\n } else {\r\n id = id + "," + frmMain.selFlg[i].value;\r\n }\r\n }\r\n}\r\nif (id == "") { if (frmMain.selFlg.checked == true) id = frmMain.selFlg.value; }\r\nif (id == "") { return false; }\r\nfrmCommand.id.value = id;\r\nfrmCommand.act.value = action;\r\nfrmCommand.submit();'),
(4, 'sort', '排序/筛选', 'var returnValue = window.showModalDialog("sort.php", \r\n"",\r\n"dialogWidth=740px;dialogHeight=700px;toolbar=no,menubar=no,scrollbars=auto,resizable=no,location=no,status=no");\r\n\r\n//for chrome\r\nif (returnValue == undefined) {\r\n returnValue = window.returnValue;\r\n}\r\n\r\nif (returnValue == "finish") {\r\n window.location.reload();\r\n}'),
(5, 'copy', '复制', 'var id = "";\r\nif (frmMain.selFlg == null) { return false; }\r\nfor(i=0;i<frmMain.selFlg.length;i++) {\r\n if (frmMain.selFlg[i].checked == true) {\r\n if (id == "") {\r\n id = frmMain.selFlg[i].value;\r\n } else {\r\n id = id + "," + frmMain.selFlg[i].value;\r\n }\r\n }\r\n}\r\nif (id == "") {\r\n if (frmMain.selFlg.checked == true)\r\n id = frmMain.selFlg.value;\r\n }\r\nif (id == "") { return false; }\r\nfrmCommand.id.value = id;\r\nfrmCommand.act.value = action;\r\nfrmCommand.submit();'),
(6, 'cancel', '取消', 'frmCommand.id.value = "";\r\nfrmCommand.act.value = "";\r\nfrmCommand.submit();'),
(7, 'confirm', '确定', 'frmMain.submit();');
-- --------------------------------------------------------
--
-- テーブルの構造 `sys_code`
--
CREATE TABLE IF NOT EXISTS `sys_code` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`code` text NOT NULL,
`type` int(11) NOT NULL,
`table` text NOT NULL,
`name` text NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=14 ;
--
-- テーブルのデータをダンプしています `sys_code`
--
INSERT INTO `sys_code` (`id`, `code`, `type`, `table`, `name`) VALUES
(1, 'CODE_901', 2, 'sys_user', '用户'),
(2, 'CODE_902', 2, 'sys_table', '表格'),
(3, 'CODE_903', 2, 'sys_code', '编码名称(编码值用)'),
(4, 'CODE_904', 2, 'sys_code', '编码名称(一览表用)'),
(5, 'CODE_905', 2, 'sys_action', '操作种类'),
(6, 'CODE_906', 1, '', '编辑列种类'),
(7, 'CODE_907', 1, '', '编码种类'),
(8, 'CODE_908', 1, '', '表示状态'),
(9, 'CODE_909', 1, '', '按钮表示类别'),
(10, 'CODE_910', 1, '', '有无区分'),
(11, 'CODE_911', 1, '', '消息状态'),
(12, 'CODE_912', 1, '', '工作组'),
(13, 'CODE_913', 1, '', '对齐方式');
-- --------------------------------------------------------
--
-- テーブルの構造 `sys_codevalue`
--
CREATE TABLE IF NOT EXISTS `sys_codevalue` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`code` int(11) NOT NULL,
`value` text NOT NULL,
`name` text NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=32 ;
--
-- テーブルのデータをダンプしています `sys_codevalue`
--
INSERT INTO `sys_codevalue` (`id`, `code`, `value`, `name`) VALUES
(1, 1, 'id', 'name'),
(2, 2, 'id', 'name'),
(3, 3, 'id', 'concat(code, '':'', name)'),
(4, 4, 'code', 'concat(code, '':'', name)'),
(5, 5, 'action', 'name'),
(6, 6, '1', '文本'),
(7, 6, '2', '选择列表'),
(8, 6, '3', '多行文本'),
(9, 6, '4', '进度(可编辑)'),
(10, 6, '5', '进度(不可编辑)'),
(11, 6, '6', '密码'),
(12, 6, '7', '表示文本'),
(13, 6, '8', '表示选择列表'),
(14, 7, '1', '固定编码'),
(15, 7, '2', '数据库编码'),
(16, 8, '1', '表示'),
(17, 8, '2', '隐藏'),
(18, 9, '1', '操作'),
(19, 9, '2', '确认'),
(20, 9, '3', '两者'),
(21, 10, '1', '有'),
(22, 10, '2', '无'),
(23, 11, '1', '未读'),
(24, 11, '2', '已读'),
(25, 11, '3', '保存'),
(26, 11, '4', '删除'),
(27, 12, '1', '项目全体成员'),
(28, 13, '1', '左对齐'),
(29, 13, '2', '居中'),
(30, 13, '3', '右对齐'),
(31, 13, '4', '两端对齐');
-- --------------------------------------------------------
--
-- テーブルの構造 `sys_command`
--
CREATE TABLE IF NOT EXISTS `sys_command` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`tableid` int(11) NOT NULL,
`no` int(11) NOT NULL,
`name` text NOT NULL,
`enable` int(11) DEFAULT NULL,
`action` text NOT NULL,
`advance` text,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=8 ;
--
-- テーブルのデータをダンプしています `sys_command`
--
INSERT INTO `sys_command` (`id`, `tableid`, `no`, `name`, `enable`, `action`, `advance`) VALUES
(1, 1, 1, '追加', 1, 'insert', '1'),
(2, 1, 2, '编辑', 1, 'update', '1'),
(3, 1, 3, '删除', 1, 'delete', '1'),
(4, 1, 4, '复制', 1, 'copy', '1'),
(5, 1, 5, '排序/筛选', 1, 'sort', '1'),
(6, 1, 98, '取消', 2, 'cancel', '1'),
(7, 1, 99, '确定', 2, 'confirm', '1');
-- --------------------------------------------------------
--
-- テーブルの構造 `sys_list`
--
CREATE TABLE IF NOT EXISTS `sys_list` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`tableid` int(11) DEFAULT NULL,
`no` int(11) DEFAULT NULL,
`column` text,
`name` text,
`width` int(11) DEFAULT NULL,
`align` int(11) DEFAULT NULL,
`type` int(11) DEFAULT NULL,
`code` text,
`display` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=41 ;
--
-- テーブルのデータをダンプしています `sys_list`
--
INSERT INTO `sys_list` (`id`, `tableid`, `no`, `column`, `name`, `width`, `align`, `type`, `code`, `display`) VALUES
(1, 2, 1, '`table`', '表格', 100, 1, 1, '', 1),
(2, 2, 2, 'name', '表格名称', 120, 1, 1, '', 1),
(3, 3, 1, 'tableid', '表格', 200, 1, 2, 'CODE_902', 1),
(4, 3, 2, 'no', '顺序', 40, 2, 1, '', 1),
(5, 3, 3, '`column`', '表格列名称', 100, 1, 1, '', 1),
(6, 3, 4, 'name', '标题', 120, 1, 1, '', 1),
(7, 3, 5, 'align', '对齐方式', 60, 2, 2, 'CODE_913', 1),
(8, 3, 6, 'width', '列宽', 40, 2, 1, '', 1),
(9, 3, 7, 'type', '类别', 60, 2, 2, 'CODE_906', 1),
(10, 3, 8, 'code', '编码', 200, 1, 2, 'CODE_904', 1),
(11, 3, 9, 'display', '表示状态', 60, 2, 2, 'CODE_908', 1),
(12, 4, 1, 'code', '编码', 40, 2, 1, '', 1),
(13, 4, 2, 'type', '编码类别', 120, 2, 2, 'CODE_907', 1),
(14, 4, 3, '`table`', '表格', 80, 1, 1, '', 1),
(15, 4, 4, 'name', '编码名称', 380, 1, 1, '', 1),
(16, 5, 1, 'code', '编码名称', 200, 1, 2, 'CODE_903', 1),
(17, 5, 2, 'value', '编码', 80, 1, 1, '', 1),
(18, 5, 3, 'name', '编码值', 300, 1, 1, '', 1),
(19, 6, 1, '`tableid`', '表格', 80, 1, 2, 'CODE_902', 1),
(20, 6, 2, 'no', '按钮序号', 100, 1, 1, '', 1),
(21, 6, 3, 'name', '名称', 80, 1, 1, '', 1),
(22, 6, 4, 'action', '操作', 150, 1, 2, 'CODE_905', 1),
(23, 6, 5, 'enable', '表示', 100, 0, 2, 'CODE_909', 1),
(24, 7, 1, 'action', '操作', 60, 1, 1, '', 1),
(25, 7, 2, 'name', '名称', 80, 1, 1, '', 1),
(26, 7, 3, 'script', '执行脚本', 160, 1, 3, '', 1),
(27, 8, 1, 'name', '菜单名称', 200, 1, 1, '', 1),
(28, 8, 2, 'tableid', '表格', 200, 1, 2, 'CODE_902', 1),
(29, 8, 3, 'status', '通常模式表示状态', 80, 2, 2, 'CODE_908', 1),
(30, 8, 4, 'status_admin', '管理模式表示状态', 80, 2, 2, 'CODE_908', 1),
(31, 9, 1, 'user', '用户', 100, 1, 1, '', 1),
(32, 9, 2, 'password', '密码', 100, 1, 6, '', 1),
(33, 9, 3, 'admin', '管理权限', 70, 2, 2, 'CODE_910', 1),
(34, 9, 4, 'name', '用户姓名', 100, 1, 1, '', 1),
(35, 9, 5, 'ip', 'IP地址', 100, 1, 1, '', 1),
(36, 9, 6, 'level', '级别', 100, 1, 1, '', 1),
(37, 9, 7, 'tel', '电话', 100, 1, 1, '', 1),
(38, 9, 8, 'terminal', '终端编号', 100, 1, 1, '', 1),
(39, 10, 1, 'userid', '用户', 100, 2, 2, 'CODE_901', 1),
(40, 10, 2, 'teamid', '工作组', 120, 2, 2, 'CODE_912', 1);
-- --------------------------------------------------------
--
-- テーブルの構造 `sys_menu`
--
CREATE TABLE IF NOT EXISTS `sys_menu` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` text,
`tableid` int(11),
`status` text,
`status_admin` text,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=10 ;
--
-- テーブルのデータをダンプしています `sys_menu`
--
INSERT INTO `sys_menu` (`id`, `name`, `tableid`, `status`, `status_admin`) VALUES
(1, '表格', 2, '2', '1'),
(2, '一览', 3, '2', '1'),
(3, '编码', 4, '2', '1'),
(4, '编码值', 5, '2', '1'),
(5, '按钮', 6, '2', '1'),
(6, '操作', 7, '2', '1'),
(7, '菜单', 8, '2', '1'),
(8, '用户', 9, '2', '1'),
(9, '工作组', 10, '2', '1');
-- --------------------------------------------------------
--
-- テーブルの構造 `sys_message`
--
CREATE TABLE IF NOT EXISTS `sys_message` (
`id` int(11) NOT NULL auto_increment,
`sendtype` int(11) default NULL,
`sendtime` text NOT NULL,
`sender` int(11) default NULL,
`recver` int(11) default NULL,
`content` text,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- テーブルの構造 `sys_msgstatus`
--
CREATE TABLE IF NOT EXISTS `sys_msgstatus` (
`id` int(11) NOT NULL auto_increment,
`msgid` int(11) NOT NULL,
`user` int(11) NOT NULL,
`status` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- テーブルの構造 `sys_sort`
--
CREATE TABLE IF NOT EXISTS `sys_sort` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`tableid` text NOT NULL,
`userid` text NOT NULL,
`sort` text NOT NULL,
`filter` text NOT NULL,
`group` text,
`updtime` int(11) NOT NULL,
`enabled` text,
`memo` text,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- テーブルの構造 `sys_style`
--
CREATE TABLE IF NOT EXISTS `sys_style` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`tableid` int(11) DEFAULT NULL,
`column` text,
`value` text,
`style_type` int(11) DEFAULT NULL,
`style` text,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- テーブルの構造 `sys_table`
--
CREATE TABLE IF NOT EXISTS `sys_table` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`table` text,
`name` text,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=10 ;
--
-- テーブルのデータをダンプしています `sys_table`
--
INSERT INTO `sys_table` (`id`, `table`, `name`) VALUES
(1, 'all_tables', '全体表格'),
(2, 'sys_table', '表格'),
(3, 'sys_list', '一览'),
(4, 'sys_code', '编码'),
(5, 'sys_codevalue', '编码值'),
(6, 'sys_command', '按钮'),
(7, 'sys_action', '操作'),
(8, 'sys_menu', '菜单'),
(9, 'sys_user', '用户'),
(10, 'sys_team', '工作组');
-- --------------------------------------------------------
--
-- テーブルの構造 `sys_team`
--
CREATE TABLE IF NOT EXISTS `sys_team` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`userid` text,
`teamid` text,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ;
--
-- テーブルのデータをダンプしています `sys_team`
--
INSERT INTO `sys_team` (`id`, `userid`, `teamid`) VALUES
(1, '1', '1'),
(2, '2', '1');
-- --------------------------------------------------------
--
-- テーブルの構造 `sys_user`
--
CREATE TABLE IF NOT EXISTS `sys_user` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user` text NOT NULL,
`password` text NOT NULL,
`admin` text,
`name` text NOT NULL,
`ip` text,
`level` text,
`tel` text,
`terminal` text,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ;
--
-- テーブルのデータをダンプしています `sys_user`
--
INSERT INTO `sys_user` (`id`, `user`, `password`, `admin`, `name`, `ip`, `level`, `tel`, `terminal`) VALUES
(1, 'admin', 'admin', '1', '管理员', '127.0.0.1', '', '', ''),
(2, 'test', 'test', '2', '测试用户', '0.0.0.0', '', '', '');
-- --------------------------------------------------------
--
-- テーブルの構造 `sys_lock`
--
CREATE TABLE IF NOT EXISTS `sys_lock` (
`id` int(11) NOT NULL auto_increment,
`tableid` int(11) NOT NULL,
`userid` int(11) NOT NULL,
`recordid` int(11) NOT NULL,
`locktime` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;
/*!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 |
a2306401f7f2b83bbd97a00c602c34b8381561bb | SQL | jho0078/til | /flask(c9, DB)/2019-01-31_sqlite/03_select.sql | UTF-8 | 1,010 | 4.0625 | 4 | [] | no_license | -- 1. 상영시간이 150분 이상인 영화이름만 출력
SELECT 영화이름 FROM movies WHERE 상영시간>=150;
-- 2. 장르가 애니메이션인 영화코드와 영화이름를 출력
SELECT 영화코드, 영화이름 FROM movies WHERE 장르='애니메이션';
-- 3. 제작국가가 덴마크이고 장르가 애니메이션인 영화이름을 출력
SELECT 영화이름 FROM movies WHERE 제작국가='덴마크' and 장르='애니메이션';
-- 4. 누적관객수가 백만이 넘고, 관람등급이 청소년관람불가인 영화이름과 누적관객수를 출력
SELECT 영화이름, 누적관객수 FROM movies WHERE 누적관객수>1000000 and 관람등급='청소년관람불가';
-- 5. 개봉연도가 2000년 1월 1일 ~ 2009년 12월 31일 사이인 영화를 출력
SELECT * FROM movies WHERE 개봉연도>20000101 and 개봉연도<20091231;
-- SELECT * FROM movies WHERE 개봉연도 LIKE 200%; 다른방법
-- 6. 장르를 중복 없이 출력
SELECT DISTINCT 장르 FROM movies; | true |
c851423726336a54dd544620e424d4e4a1bb8c72 | SQL | xmorg/hidden_bog | /oldstuff/doors.sql | UTF-8 | 1,893 | 2.875 | 3 | [] | no_license | PRAGMA foreign_keys=OFF;
BEGIN TRANSACTION;
CREATE TABLE doors(id integer unique, map text, tilex integer, tiley integer, tomap text, tox integer, toy integer);
INSERT INTO "doors" VALUES(0,'v_hamsford.txt',3,12,'v_hamsford_i.txt',3,13);
INSERT INTO "doors" VALUES(1,'v_hamsford_i.txt',3,13,'v_hamsford.txt',3,12);
INSERT INTO "doors" VALUES(2,'v_hamsford.txt',6,3,'v_hamsford_i.txt',NULL,NULL);
INSERT INTO "doors" VALUES(3,'v_hamsford.txt',9,4,'v_hamsford_i.txt',NULL,NULL);
INSERT INTO "doors" VALUES(4,'v_hamsford.txt',13,5,'v_hamsford_i.txt',NULL,NULL);
INSERT INTO "doors" VALUES(5,'v_hamsford.txt',5,8,'v_hamsford_i.txt',NULL,NULL);
INSERT INTO "doors" VALUES(6,'v_hamsford.txt',8,10,'v_hamsford_i.txt',NULL,NULL);
INSERT INTO "doors" VALUES(7,'v_hamsford.txt',13,10,'v_hamsford_i.txt',NULL,NULL);
INSERT INTO "doors" VALUES(8,'v_hamsford.txt',5,14,'v_hamsford_i.txt',NULL,NULL);
INSERT INTO "doors" VALUES(9,'v_hamsford.txt',10,14,'v_hamsford_i.txt',NULL,NULL);
INSERT INTO "doors" VALUES(10,'v_hamsford.txt',14,13,'v_hamsford_i.txt',NULL,NULL);
INSERT INTO "doors" VALUES(11,'v_hamsford_i.txt',6,2,'v_hamsford.txt',NULL,NULL);
INSERT INTO "doors" VALUES(12,'v_hamsford_i.txt',11,4,'v_hamsford.txt',NULL,NULL);
INSERT INTO "doors" VALUES(13,'v_hamsford_i.txt',12,5,'v_hamsford.txt',NULL,NULL);
INSERT INTO "doors" VALUES(14,'v_hamsford_i.txt',6,8,'v_hamsford.txt',NULL,NULL);
INSERT INTO "doors" VALUES(15,'v_hamsford_i.txt',7,10,'v_hamsford.txt',NULL,NULL);
INSERT INTO "doors" VALUES(16,'v_hamsford_i.txt',12,10,'v_hamsford.txt',NULL,NULL);
INSERT INTO "doors" VALUES(17,'v_hamsford_i.txt',3,13,'v_hamsford.txt',NULL,NULL);
INSERT INTO "doors" VALUES(18,'v_hamsford_i.txt',5,13,'v_hamsford.txt',NULL,NULL);
INSERT INTO "doors" VALUES(19,'v_hamsford_i.txt',10,13,'v_hamsford.txt',NULL,NULL);
INSERT INTO "doors" VALUES(20,'v_hamsford_i.txt',12,14,'v_hamsford.txt',NULL,NULL);
COMMIT;
| true |
7e9222dfcd96a870a55137e694f52968bfcd24de | SQL | Vfif/Post-Application | /post_app/repository-jdbc/src/test/resources/author/schema.sql | UTF-8 | 320 | 2.96875 | 3 | [] | no_license | CREATE SCHEMA task2;
CREATE TABLE task2.author
(
id bigint NOT NULL DEFAULT NEXTVAL('task2.author_id'),
name character varying(30) NOT NULL,
surname character varying(30) NOT NULL
);
CREATE SEQUENCE task2.author_id
INCREMENT 1
START 9
MINVALUE 1
MAXVALUE 9223372036854775807
CACHE 1;
| true |
3409811dbb6d5dc49c720ecacdff7d9ca4eed2dc | SQL | NaoyaNakashimaOrg/harmos | /harmos-database/ddl/table/TH0105_PRACTICE_DOCUMENT.sql | SHIFT_JIS | 1,493 | 3.40625 | 3 | [] | no_license | DROP TABLE TH0105_PRACTICE_DOCUMENT;
CREATE TABLE TH0105_PRACTICE_DOCUMENT (
PRACTICE_MNG_NO CHAR(13 CHAR) NOT NULL,
DOCUMENT_NO@NUMBER(2,0) NOT NULL,
DOCUMENT_OVERVIEW VARCHAR2(100 CHAR),
DOCUMENT_NAME VARCHAR2(200 CHAR),
DOCUMENT BLOB,
VERSION@NUMBER(9,0) NOT NULL,
RONRI_SAKUJO_FLG CHAR(1 CHAR) NOT NULL,
CREATE_DATE DATE NOT NULL,
CREATE_USER_CD VARCHAR2(50 CHAR) NOT NULL,
UPDATE_DATE DATE NOT NULL,
UPDATE_USER_CD VARCHAR2(50 CHAR) NOT NULL,
CONSTRAINT TH0105_PRACTICE_DOCUMENT_PK PRIMARY KEY (PRACTICE_MNG_NO,DOCUMENT_NO)
);
COMMENT ON TABLE TH0105_PRACTICE_DOCUMENT IS '';
COMMENT ON COLUMN TH0105_PRACTICE_DOCUMENT.PRACTICE_MNG_NO IS 'TvǗԍ';
COMMENT ON COLUMN TH0105_PRACTICE_DOCUMENT.DOCUMENT_NO IS 'ԍ';
COMMENT ON COLUMN TH0105_PRACTICE_DOCUMENT.DOCUMENT_OVERVIEW IS 'Tv';
COMMENT ON COLUMN TH0105_PRACTICE_DOCUMENT.DOCUMENT_NAME IS '';
COMMENT ON COLUMN TH0105_PRACTICE_DOCUMENT.DOCUMENT IS '';
COMMENT ON COLUMN TH0105_PRACTICE_DOCUMENT.VERSION IS 'o[W';
COMMENT ON COLUMN TH0105_PRACTICE_DOCUMENT.RONRI_SAKUJO_FLG IS '_폜tO';
COMMENT ON COLUMN TH0105_PRACTICE_DOCUMENT.CREATE_DATE IS '쐬';
COMMENT ON COLUMN TH0105_PRACTICE_DOCUMENT.CREATE_USER_CD IS '쐬[UR[h';
COMMENT ON COLUMN TH0105_PRACTICE_DOCUMENT.UPDATE_DATE IS 'XV';
COMMENT ON COLUMN TH0105_PRACTICE_DOCUMENT.UPDATE_USER_CD IS 'XV[UR[h';
| true |
8adcb7f2838714dbed86d41578f8cda067e51632 | SQL | mni1032/cs3130-php | /web/w04/thursday/query.sql | UTF-8 | 1,059 | 4.03125 | 4 | [] | no_license | \echo '*********************List all restaurant names*********************'
SELECT name FROM w4_restaurant;
\echo '****************List restaurant names and addresses****************'
SELECT name, address FROM w4_restaurant;
\echo '************************List all customers************************'
SELECT first_name || ' ' || last_name AS full_name FROM w4_customer;
\echo '**List all menu item names and prices of a particular restaurant**'
SELECT name, price FROM w4_menu_item WHERE restaurant_id = 1;
\echo '*View all orders of a particular customer - show the customer name*'
SELECT o.id
, c.first_name || ' ' || c.last_name AS customer_name
FROM w4_order o
INNER JOIN w4_customer c ON o.customer_id = c.id
WHERE o.customer_id = 1;
\echo '************List all orders of a particular restaurant************'
SELECT omi.order_id
, mi.name
FROM w4_order_menu_items omi
INNER JOIN w4_menu_item mi ON omi.menu_item_id = mi.id
INNER JOIN w4_restaurant r ON mi.restaurant_id = r.id
WHERE restaurant_id = 1;
| true |
0dd2179339e3e2c5b1c144cf94194e6f979faedd | SQL | Q0Q123456789/git8 | /VUE/adminForVue-master/static/sk_order_info.sql | UTF-8 | 1,113 | 3.015625 | 3 | [
"MIT"
] | permissive | /*
Navicat MySQL Data Transfer
Source Server : outline_源购优品
Source Server Version : 50719
Source Host : 192.168.0.50:3306
Source Database : twy1
Target Server Type : MYSQL
Target Server Version : 50719
File Encoding : 65001
Date: 2018-05-10 14:26:55
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for sk_order_info
-- ----------------------------
DROP TABLE IF EXISTS `sk_order_info`;
CREATE TABLE `sk_order_info` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`pid` int(11) NOT NULL COMMENT '订单pid',
`pro_id` int(11) NOT NULL COMMENT '商品id',
`pro_ext_id` int(11) NOT NULL COMMENT '商品扩展id',
`name` varchar(50) NOT NULL COMMENT '商品名',
`name_ext` varchar(50) DEFAULT NULL COMMENT '商品属性名字',
`price` decimal(10,2) NOT NULL COMMENT '商品价格',
`num` tinyint(3) unsigned NOT NULL COMMENT '商品数量',
`img` varchar(50) DEFAULT NULL COMMENT '商品图片',
PRIMARY KEY (`id`),
KEY `order_id` (`pid`)
) ENGINE=InnoDB AUTO_INCREMENT=246 DEFAULT CHARSET=utf8 COMMENT='订单商品表';
| true |
e34e19dcacf5628004339f23e09a24e59cc7c5e4 | SQL | JoseTg1904/-BD1-Proyecto2_201700965 | /Enunciado2/Consultas.sql | UTF-8 | 3,517 | 4.03125 | 4 | [] | no_license | #Consulta 1
SELECT a.areaInvestigacion AS Area_Investigacion,
(SELECT nombre FROM Personal WHERE Personal.ID_Personal = b.ID_Personal) AS Jefe,
(SELECT nombre FROM Personal WHERE Personal.ID_Personal = c.ID_Personal) AS Subalterno
FROM AsignacionArea
INNER JOIN Personal AS b ON b.ID_Personal = AsignacionArea.ID_Personal
INNER JOIN AreaInvestigacion as a ON a.ID_Personal = b.ID_Personal
INNER JOIN AreaInvestigacion as c ON AsignacionArea.ID_AreaInvestigacion = c.ID_AreaInvestigacion;
#Consulta 2
WITH promedio AS
(SELECT AVG(Personal.salario) AS promedio,
AreaInvestigacion.areaInvestigacion FROM AsignacionArea
INNER JOIN Personal ON Personal.ID_Personal = AsignacionArea.ID_Personal
INNER JOIN AreaInvestigacion ON AreaInvestigacion.ID_AreaInvestigacion = AsignacionArea.ID_AreaInvestigacion
GROUP BY AsignacionArea.ID_AreaInvestigacion),
individual AS
(SELECT Personal.nombre, Personal.salario,
AreaInvestigacion.areaInvestigacion FROM AsignacionArea
INNER JOIN Personal ON Personal.ID_Personal = AsignacionArea.ID_Personal
INNER JOIN AreaInvestigacion ON AreaInvestigacion.ID_AreaInvestigacion = AsignacionArea.ID_AreaInvestigacion)
SELECT individual.nombre, individual.salario,
individual.areaInvestigacion
FROM individual, promedio WHERE individual.salario > promedio.promedio
AND promedio.areaInvestigacion LIKE individual.areaInvestigacion;
#Consulta 3
SELECT UPPER(LEFT(Pais.pais, 1)) AS Inicial, SUM(Pais.area) AS Suma
FROM Pais GROUP BY Inicial ORDER BY Inicial;
#Consulta 4
SELECT Inventor.inventor, Invento.anio FROM Inventor
INNER JOIN AsignacionInvencion ON AsignacionInvencion.ID_Inventor = Inventor.ID_Inventor
INNER JOIN Invento ON Invento.ID_Invento = AsignacionInvencion.ID_Invento
WHERE (Inventor.inventor LIKE "B%r") OR
(Inventor.inventor LIKE "%n" AND YEAR(Invento.anio) BETWEEN 1801 AND 1900);
#Consulta 5
SELECT sub.pais, sub.area FROM
(SELECT COUNT(*) AS NoFronteras, Pais.pais, Pais.area FROM Pais
INNER JOIN Frontera ON Frontera.ID_Pais = Pais.ID_Pais
GROUP BY Pais.ID_Pais) AS sub
WHERE sub.NoFronteras > 7;
#Consulta 6
SELECT sub.nombre, sub.salario, sub.bono, sub.Suma AS Total FROM
(SELECT Personal.nombre, Personal.salario,
Personal.bono, (Personal.salario + Personal.bono) AS Suma,
(Personal.salario * 0.25) AS Porcentaje FROM Personal) AS sub
WHERE sub.bono > sub.Porcentaje;
#Consulta 7
WITH sumatoria AS
(SELECT SUM(Pais.poblacion) AS Total FROM Pais
WHERE Pais.ID_Region =
(SELECT ID_Region FROM Region WHERE region LIKE "Centro America")),
individual AS
(SELECT Pais.pais, Pais.poblacion FROM Pais)
SELECT individual.pais, individual.poblacion FROM individual, sumatoria
WHERE individual.poblacion > sumatoria.Total;
#Consulta 8
SELECT invento FROM Invento WHERE
YEAR(anio) = (SELECT YEAR(anio) FROM Invento WHERE
ID_Invento = (SELECT ID_Invento FROM AsignacionInvencion WHERE
ID_Inventor = (SELECT ID_Inventor FROM Inventor WHERE
Inventor.inventor LIKE "BENZ")));
#Consulta 9
WITH japon AS
(SELECT area FROM Pais WHERE pais LIKE "Japon"),
individual AS
(SELECT pais, area, poblacion FROM Pais
WHERE ID_Pais NOT IN (SELECT ID_Pais FROM Frontera))
SELECT individual.pais, individual.poblacion FROM individual, japon
WHERE individual.area >= japon.area;
#Consulta 10
SELECT sub.nombre, sub.salario, sub.bono FROM
(SELECT Personal.nombre, Personal.salario,
Personal.bono, (Personal.bono * 2) AS Doble FROM Personal) AS sub
WHERE sub.salario > sub.Doble; | true |
980f4323e049066c8b9130fcc54c69044421d707 | SQL | wireapp/poll-bot | /src/main/resources/db/migration/V2__Allow_single_vote_per_user.sql | UTF-8 | 757 | 3.84375 | 4 | [
"MIT"
] | permissive | -- it is much easier to delete and create again as we are dropping primary keys columns
drop table votes;
drop table poll_option;
-- clear poll table, we don't care right now about data
-- noinspection SqlWithoutWhere
delete
from polls;
create table poll_option
(
poll_id varchar(36) not null references polls (id),
option_order integer not null,
option_content varchar(256) not null,
primary key (poll_id, option_order)
);
create table votes
(
poll_id varchar(36) not null,
poll_option integer not null,
user_id varchar(36) not null,
-- allow single vote for user/poll
primary key (poll_id, user_id),
foreign key (poll_id, poll_option) references poll_option (poll_id, option_order)
);
| true |
a7120d9c403dd8c49892251f86950d44d8187fa9 | SQL | vijaydairyf/TimelyFish | /SolomonApp/dbo/Stored Procedures/dbo.ED850SubLineItem_ComponentChk.sql | UTF-8 | 261 | 2.84375 | 3 | [] | no_license | CREATE Proc ED850SubLineItem_ComponentChk @KitId varchar(30), @ComponentId varchar(30)
As
Select A.CmpnentQty, B.StkUnit, B.ClassId
From Component A Inner Join Inventory B On A.CmpnentId = B.InvtId
Where A.KitId = @KitId And A.CmpnentId = @ComponentId
| true |
eed3d5c75e4eedd513ea738d5677511c1fd790a9 | SQL | jecesario/turma16java | /mysql/Lista2/atividade1.sql | UTF-8 | 2,002 | 3.640625 | 4 | [] | no_license | create database db_generation_game_online;
use db_generation_game_online;
create table tb_personagem(
id bigint auto_increment,
nome varchar(255),
panteao varchar(255),
sexo bit not null,
classe_id bigint,
primary key(id),
constraint tb_classe foreign key (classe_id) references tb_classe (id)
);
create table tb_classe(
id bigint auto_increment,
nome varchar(255),
descricao varchar(255),
primary key(id)
);
select * from tb_classe;
select * from tb_personagem;
insert into tb_classe (nome, descricao) values ("Mago", "Solta os poder de longe");
insert into tb_classe (nome, descricao) values ("Caçador", "Atira de longe");
insert into tb_classe (nome, descricao) values ("Guerreiro", "Bate forte e tanka um pouco");
insert into tb_classe (nome, descricao) values ("Guardião", "Tanka muito e tem habilidades utilitárias");
insert into tb_classe (nome, descricao) values ("Assasino", "Bate muito forte e geralmente tem vantagem em alvos únicos");
insert into tb_personagem (nome, panteao, sexo, classe_id) values ("Ymir", "Nórdico", 1, 4);
insert into tb_personagem (nome, panteao, sexo, classe_id) values ("Rá", "Egípcio", 1, 1);
insert into tb_personagem (nome, panteao, sexo, classe_id) values ("Thor", "Nórdico", 1, 5);
insert into tb_personagem (nome, panteao, sexo, classe_id) values ("Discórdia", "Romano", 0, 1);
insert into tb_personagem (nome, panteao, sexo, classe_id) values ("Hou Yi", "Chinês", 1, 2);
insert into tb_personagem (nome, panteao, sexo, classe_id) values ("Nike", "Grego", 0, 3);
insert into tb_personagem (nome, panteao, sexo, classe_id) values ("Izanami", "Japones", 0, 2);
insert into tb_personagem (nome, panteao, sexo, classe_id) values ("Cabrakan", "Maia", 1, 4);
select * from tb_personagem where panteao = "Nórdico";
select * from tb_personagem where nome like "%c%";
select * from tb_personagem inner join tb_classe on tb_classe.id = tb_personagem.classe_id;
select * from tb_personagem where classe_id = 4; | true |
35548abcea6159304b44c368a250dd3ddeea4c7d | SQL | fangege/footballserver | /scripts/sql.sql | UTF-8 | 2,369 | 3.28125 | 3 | [] | no_license |
--用户表
create table t_client(
ID int(11) not null AUTO_INCREMENT,
clientid VARCHAR(32) NOT NULL,
accountid VARCHAR(32) not null,
password VARCHAR(32) NOT null default '',
createtime DATETIME not null default '1970-01-01',
balance float(11) not null default 0,
communication VARCHAR(128) default '',
status int(4) not null default 1,
PRIMARY KEY ( ID ),
UNIQUE KEY (clientid)
)ENGINE=InnoDB DEFAULT CHARSET=utf8;
--后台管理员表
create table t_account(
ID int(11) not null AUTO_INCREMENT,
accountid VARCHAR(32) NOT NULL,
password VARCHAR(32) NOT null default '',
createtime DATETIME not null default '1970-01-01',
communication VARCHAR(128) default '',
type tinyint(4) not null default 2,
status tinyint(4) not null default 1,
PRIMARY KEY ( ID ),
UNIQUE KEY (accountid)
)ENGINE=InnoDB DEFAULT CHARSET=utf8;
--订单
create table t_order(
orderid VARCHAR(16) NOT null,
clientid VARCHAR(32) NOT NULL,
amount int(11) not null default 0,
odds int(11) not null default 0,
content VARCHAR(256) not null default '',
whitchparty VARCHAR(256) not null default '',
outcome TINYINT(4) not null DEFAULT 0,
makemoney int(11) not null DEFAULT 0,
status tinyint(4),
createtime DATETIME not null default '1970-01-01',
PRIMARY KEY ( orderid ),
KEY (clientid)
)ENGINE=InnoDB DEFAULT CHARSET=utf8;
--流水
create table t_payment(
ID int(11) not null AUTO_INCREMENT,
clientid VARCHAR(32) NOT NULL,
amount int(11) not null default 0,
opt tinyint(4) not null default 0,
balance float(11) not null default 0,
remark VARCHAR(256) not null default '',
createtime DATETIME not null default '1970-01-01',
PRIMARY KEY ( ID ),
KEY (clientid)
)ENGINE=InnoDB DEFAULT CHARSET=utf8;
--操作日志
create table t_log(
ID int(11) not null AUTO_INCREMENT,
accountid VARCHAR(32) NOT NULL,
remark VARCHAR(256) not null default '',
createtime DATETIME not null default '1970-01-01',
PRIMARY KEY ( ID ),
KEY (accountid)
)ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE IF NOT EXISTS t_token(
token VARCHAR(32) NOT NULL,
domain tinyint(4) NOT NULL,
userid VARCHAR(32) NOT NULL,
expire_time DATETIME NOT NULL DEFAULT '1970-01-01',
PRIMARY KEY(token,domain),
KEY(userid),
KEY(expire_time)
)ENGINE=InnoDB DEFAULT CHARSET=utf8;
| true |
aaabcb20617ba0d689850edfe4e48390144bea64 | SQL | mbarretogit/sql | /REL_PAGAMENTOS_DOM.sql | ISO-8859-3 | 2,227 | 3.609375 | 4 | [] | no_license | SELECT DISTINCT TOP 500
LC.LANC_CRED
VW.COBRANCA,
C.ESTORNO AS COBRANCA_ESTORNADA,
C.DT_ESTORNO AS DATA_ESTORNO,
ISNULL(LC.TIPO_PAGAMENTO,'') AS TIPO_PAGAMENTO,
ISNULL(LC.TIPO_CRED,'') AS TIPO_CREDITO,
C.UNID_FISICA AS COD_UNIDADE,
CUR.TIPO AS TIPO_CURSO,
C.CURSO AS COD_CURSO,
CUR.NOME,
VW.ALUNO,
VW.RESP AS RESPONSAVEL,
CONVERT(VARCHAR(10),C.DATA_DE_VENCIMENTO,105) AS DATA_VENCIMENTO,
CONVERT(VARCHAR(10),LC.DT_CREDITO,105) AS DATA_PAGAMENTO,
CONVERT(VARCHAR(10),LC.DATA,105) AS DATA_RECEBIMENTO,
(SELECT ISNULL(SUM(VALOR),0) FROM LY_ITEM_LANC IL WHERE IL.COBRANCA = VW.COBRANCA AND IL.ITEM_ESTORNADO IS NULL AND IL.NUM_BOLSA IS NULL) AS VALOR_BRUTO,
(SELECT ISNULL(SUM(VALOR),0)*-1 FROM LY_ITEM_LANC IL WHERE IL.COBRANCA = VW.COBRANCA AND IL.ITEM_ESTORNADO IS NULL AND IL.NUM_BOLSA IS NOT NULL) AS BOLSA,
(SELECT ISNULL(SUM(VALOR),0) FROM LY_ITEM_CRED IC1 WHERE IC1.COBRANCA = VW.COBRANCA AND IC1.TIPO_ENCARGO = 'MULTA') AS MULTA,
(SELECT ISNULL(SUM(VALOR),0) FROM LY_ITEM_CRED IC4 WHERE IC4.COBRANCA = VW.COBRANCA AND IC4.TIPO_ENCARGO = 'PERDEBOLSA') AS PERDEBOLSA,
(SELECT ISNULL(SUM(VALOR),0) FROM LY_ITEM_CRED IC2 WHERE IC2.COBRANCA = VW.COBRANCA AND IC2.TIPO_ENCARGO = 'JUROS') AS JUROS,
(SELECT ISNULL(SUM(VALOR),0) FROM LY_ITEM_CRED IC3 WHERE IC3.COBRANCA = VW.COBRANCA AND IC3.TIPODESCONTO IN ('Acrscimo','Concedido','DescBanco','PagtoAntecipado')) AS DESCONTO,
(SELECT ISNULL(SUM(VALOR),0) FROM LY_ITEM_CRED IC3 WHERE IC3.COBRANCA = VW.COBRANCA AND IC3.TIPODESCONTO IS NULL AND IC3.TIPO_ENCARGO IS NULL)*-1 AS VALOR_PAGO
FROM AY_VW_FATURAMENTO VW
JOIN LY_COBRANCA C ON C.COBRANCA = VW.COBRANCA
JOIN LY_CURSO CUR ON CUR.CURSO = C.CURSO
LEFT JOIN LY_ITEM_CRED IC ON IC.LANC_CRED = C.COBRANCA
LEFT JOIN LY_LANC_CREDITO LC ON LC.LANC_CRED = IC.LANC_CRED
WHERE 1=1
--VW.COBRANCA = '26911'
SELECT * FROM LY_ITEM_CRED WHERE LANC_CRED = '20511'
SELECT * FROM LY_LANC_CREDITO WHERE LANC_CRED = '40835'
SELECT * FROM vw_fluxo_caixa_rel WHERE LANC_CRED = '69162'
SELECT DISTINCT IL.CODIGO_LANC FROM LY_ITEM_LANC IL WHERE IL.COBRANCA = 21363
SELECT DISTINCT TIPODESCONTO FROM LY_ITEM_CRED IL WHERE IL.COBRANCA = 21363
SELECT * FROM LY_ITEM_CRED IL WHERE IL.COBRANCA = 26911
| true |
3d2c0a1bed4f3c86235348bc81af120a1e4d0a30 | SQL | zhengjr/bis | /sql/loto/interbase/install/303_create_procedure_GET_TIRAGE_STATISTICS.sql | WINDOWS-1251 | 1,262 | 3.65625 | 4 | [] | no_license | /* */
CREATE OR ALTER PROCEDURE GET_TIRAGE_STATISTICS
(
TIRAGE_ID VARCHAR(32),
TICKET_COST NUMERIC(15,2),
PRIZE_PERCENT NUMERIC(4,2),
JACKPOT_PERCENT NUMERIC(4,2),
FIRST_ROUND_PERCENT NUMERIC(4,2),
THIRD_ROUND_SUM NUMERIC(15,2),
FOURTH_ROUND_SUM NUMERIC(15,2)
)
RETURNS
(
ALL_COUNT INTEGER,
USED_COUNT INTEGER,
NOT_USED_COUNT INTEGER,
PRIZE_SUM NUMERIC(15,2),
JACKPOT_SUM NUMERIC(15,2),
FIRST_ROUND_SUM NUMERIC(15,2),
SECOND_ROUND_SUM NUMERIC(15,2)
)
AS
DECLARE VARIABLE TEMP_SUM NUMERIC(15,2);
BEGIN
SELECT COUNT(*)
FROM /*PREFIX*/TICKETS
WHERE TIRAGE_ID=:TIRAGE_ID
INTO :ALL_COUNT;
SELECT COUNT(*)
FROM /*PREFIX*/TICKETS
WHERE TIRAGE_ID=:TIRAGE_ID
AND NOT_USED=1
INTO :NOT_USED_COUNT;
USED_COUNT=ALL_COUNT-NOT_USED_COUNT;
PRIZE_SUM=(TICKET_COST*USED_COUNT)*PRIZE_PERCENT/100;
JACKPOT_SUM=PRIZE_SUM*JACKPOT_PERCENT/100;
IF (FOURTH_ROUND_SUM IS NULL) THEN
FOURTH_ROUND_SUM=0.0;
TEMP_SUM=PRIZE_SUM-FOURTH_ROUND_SUM;
FIRST_ROUND_SUM=TEMP_SUM*FIRST_ROUND_PERCENT/100;
SECOND_ROUND_SUM=TEMP_SUM-FIRST_ROUND_SUM-THIRD_ROUND_SUM;
END;
--
/* */
COMMIT | true |
958c8e6579189e7c1a1477d2d82f4e8aff63f9a9 | SQL | andersfuf/UIS_Prototype | /bank/sql_ddl/vw_invest_certificates.sql | UTF-8 | 332 | 3.015625 | 3 | [] | no_license | CREATE OR REPLACE VIEW vw_invest_certificates
AS
SELECT i.account_number, a.cpr_number, a.created_date
, cd.cd_number, start_date, maturity_date, rate, amount
FROM investmentaccounts i
JOIN accounts a ON i.account_number = a.account_number
JOIN certificates_of_deposit cd ON i.account_number = cd.account_number ;
| true |
e19e86664f544913ad5be3838a37726ce2c06821 | SQL | bkrysinski1/Brent-Projects | /TE-Brewery-Finder-Capstone/database/repopulate.sql | UTF-8 | 1,934 | 2.921875 | 3 | [] | no_license | BEGIN TRANSACTION;
DELETE FROM reviews;
DELETE FROM beer;
DELETE FROM breweries;
DELETE FROM users;
INSERT INTO users (username,password_hash,role) VALUES ('user','$2a$08$UkVvwpULis18S19S5pZFn.YHPZt3oaqHZnDwqbCW9pft6uFtkXKDC','ROLE_USER');
INSERT INTO users (username,password_hash,role) VALUES ('admin','$2a$08$UkVvwpULis18S19S5pZFn.YHPZt3oaqHZnDwqbCW9pft6uFtkXKDC','ROLE_ADMIN');
INSERT INTO users (username,password_hash,role) VALUES ('brewer','$2a$10$okQpsk0Y6d.4gI6ljUQeaukzvgz2Ae8YYFnl/zWC5hzVEwGUJRi/S','ROLE_BREWER');
INSERT INTO breweries (brewery_name,contact_info,address,history,isOpen) VALUES ('Howl at the Moon Saloon','Howl Castle','667 Gravestone Avenue','We are built on an ancient burial site.',true);
INSERT INTO breweries (brewery_name,contact_info,address,history,isOpen) VALUES ('Backend Brewery','Stateless Steve','8080 Springboot Str','Its magic that were even open',false);
INSERT INTO breweries (brewery_name,contact_info,address,history,isOpen) VALUES ('The Vue','DJ Vue-X','404 Axios Avenue','We released in Febrewary 2014',true);
INSERT INTO beer (beer_name, brewery_id, description, url, abv, beer_type) VALUES ('slopz', 1, 'its sloppy, but gets Emily through the day', 'urlAAA', '.05', 'midwestern');
INSERT INTO beer (beer_name, brewery_id, description, url, abv, beer_type) VALUES ('Howlers Growler', 1, 'I howl at the moon every time I drink this brew.', 'url_WolfmanJack', '.05', 'Amber ALe');
INSERT INTO beer (beer_name, brewery_id, description, url, abv, beer_type) VALUES ('Shaquille ONeils Dunkelweizen', 2,'I slam this back every game day.', 'url_Lakers', '.33', 'Dunkelweizen');
INSERT INTO beer (beer_name, brewery_id, description, url, abv, beer_type) VALUES ('Cool-thulu', 2, '...tastes like the elixer of the elder gods', 'url_AAAHHH', '.06', 'Oud Bruin');
INSERT INTO beer (beer_name, brewery_id, description, url, abv, beer_type) VALUES ('Quiggly Gose Down Under', 3,'Literally fell head over heels for this brew.', 'url_oopsydaisey', '.06', 'Gose');
INSERT INTO reviews (user_id, title, stars, body) VALUES (16, 'YESSS', 3, 'ive ');
COMMIT TRANSACTION; | true |
e2071fad0c82e067dc8a4863650743a71fc31968 | SQL | mtejas88/esh | /Old_Analysis/Machine_Learning/Machine Learn Clean/verified_or_inferred_broadband_line_items.sql | UTF-8 | 7,256 | 3.8125 | 4 | [] | no_license | /* ONYX DB */
with version_order as (
select fy2015_item21_services_and_cost_id,
case
when contacted is null or contacted = false
then
case
when user_id is not null
then true
else
false
end
when contacted = true
then true
end as contacted_or_inferred,
version_id,
row_number() over (
partition by fy2015_item21_services_and_cost_id
order by version_id desc
) as row_num
from line_item_notes
where note not like '%little magician%'
),
service_indicator as (
select district_esh_id,
count(distinct case
when (isp_conditions_met = true)
or (internet_conditions_met = true and li.consortium_shared=true)
then line_item_id
end) as isp_indicator,
count(distinct case
when (upstream_conditions_met = true and li.consortium_shared=false)
then line_item_id
end) as upstream_indicator,
count(distinct case
when (wan_conditions_met = true and li.consortium_shared=false)
then line_item_id
end) as wan_indicator,
count(distinct case
when (internet_conditions_met = true and li.consortium_shared=false)
then line_item_id
end) as internet_indicator
from line_item_district_association_2015 lida
left join public.line_items li
on lida.line_item_id = li.id
where li.broadband=true
and li.erate=true
and not('video_conferencing'=any(li.open_flags))
and not('exclude'=any(li.open_flags))
and not('charter_service'=any(li.open_flags))
and not('committed_information_rate'=any(li.open_flags))
group by district_esh_id
),
agg_service_indicator as (
select line_item_id,
sum(isp_indicator) as isp_indicator,
sum(upstream_indicator) as upstream_indicator,
sum(wan_indicator) as wan_indicator,
sum(internet_indicator) as internet_indicator
from line_item_district_association_2015 lida
join service_indicator si
on lida.district_esh_id = si.district_esh_id
group by line_item_id
)
select li.id as line_item_id,
applicant_id,
applicant_type,
applicant_ben,
applicant_name,
applicant_postal_cd,
application_number,
frn,
frn_line_item_no,
purpose,
wan,
bandwidth_in_mbps,
connect_type,
connect_category,
num_lines,
one_time_eligible_cost,
rec_elig_cost,
total_cost,
service_provider_name,
exclude,
version_order.contacted_or_inferred,
internet_conditions_met,
isp_conditions_met,
upstream_conditions_met,
wan_conditions_met,
contract_end_date,
reporting_name,
category,
recipient_districts,
count_recipient_districts,
recipient_schools,
case
when isp_indicator is null
then 'unknown'
when isp_conditions_met = true
then
case
when isp_indicator>count_recipient_districts
then 'yes'
else
'no'
end
when isp_conditions_met = false
then
case
when isp_indicator>0
then 'yes'
else
'no'
end
end as isp_indicator,
case
when upstream_indicator is null
then 'unknown'
when upstream_conditions_met = true
then
case
when upstream_indicator>count_recipient_districts
then 'yes'
else
'no'
end
when upstream_conditions_met = false
then
case
when upstream_indicator>0
then 'yes'
else
'no'
end
end as upstream_indicator,
case
when wan_indicator is null
then 'unknown'
when wan_conditions_met = true
then
case
when wan_indicator>count_recipient_districts
then 'yes'
else
'no'
end
when wan_conditions_met = false
then
case
when wan_indicator>0
then 'yes'
else
'no'
end
end as wan_indicator,
case
when internet_indicator is null
then 'unknown'
when internet_conditions_met = true
then
case
when wan_indicator>count_recipient_districts
then 'yes'
else
'no'
end
when internet_conditions_met = false
then
case
when internet_indicator>0
then 'yes'
else
'no'
end
end as internet_indicator
from line_items li
join version_order
on li.id = version_order.fy2015_item21_services_and_cost_id
left join (
select distinct name, reporting_name, category
from service_provider_categories
) spc
on li.service_provider_name = spc.name
left join lateral (
select line_item_id,
array_agg(DISTINCT district_esh_id) as "recipient_districts",
array_agg(DISTINCT postal_cd) as "recipient_postal_cd",
array_agg(DISTINCT exclude_from_analysis) as "recipient_district_cleanliness",
sum(DISTINCT case
when num_schools = 'No data'
then 0
else
num_schools::numeric
end) as "recipient_schools",
count(DISTINCT case
when num_schools != 'No data'
then district_esh_id
end) as "count_recipient_districts"
from lines_to_district_by_line_item_2015 ldli
left join districts
on ldli.district_esh_id = districts.esh_id
GROUP BY line_item_id) x
on li.id=x.line_item_id
left join agg_service_indicator
on li.id = agg_service_indicator.line_item_id
where li.broadband=true
and li.erate=true
and li.consortium_shared=false
and not('video_conferencing'=any(li.open_flags))
and not('exclude'=any(li.open_flags))
and not('charter_service'=any(li.open_flags))
and not('committed_information_rate'=any(li.open_flags))
and not('ethernet_copper'=any(li.open_flags))
and app_type != 'LIBRARY'
and row_num = 1
and contacted_or_inferred = true
and exclude = false
and frn_line_item_no is not null
and frn is not null | true |
a4046954bbd5ec956f6a932a73fdb2f95b97abd9 | SQL | MichelCordeiro/PROVA-TIME-C | /Banco de Dados/VIEW alunos_agendados.sql | UTF-8 | 730 | 3.828125 | 4 | [] | no_license | CREATE
ALGORITHM = UNDEFINED
DEFINER = `root`@`localhost`
SQL SECURITY DEFINER
VIEW `alunos_agendados` AS
SELECT
`a`.`id` AS `id`,
`s`.`id` AS `setor_id`,
`sh`.`id` AS `setores_horarios_id`,
`a`.`Nome` AS `Aluno`,
`s`.`nome` AS `Setor`,
`ag`.`data` AS `Data`,
`h`.`Hora` AS `Hora`
FROM
((((`alunos` `a`
LEFT JOIN `agendamento` `ag` ON ((`a`.`id` = `ag`.`alunos_id`)))
LEFT JOIN `setores_horarios` `sh` ON ((`sh`.`id` = `ag`.`setores_horarios_id`)))
LEFT JOIN `horarios` `h` ON ((`h`.`id` = `sh`.`horarios_id`)))
LEFT JOIN `setores` `s` ON ((`s`.`id` = `sh`.`setores_id`)))
WHERE
(`ag`.`status` = 1) | true |
557aad21add7fbbf7f6809fc2ba71d1a1f94bb61 | SQL | sanei-dengyo-jyoho/SQL-Server | /old/節電対策レポート_Q年パラメタ.sql | SHIFT_JIS | 1,002 | 3.578125 | 4 | [] | no_license | with
v00 AS
(
select top 2 *
from ߓd|[g_QN͈̔ as v000
order by N desc
),
v0 as
(
select min(N) as N,
max(N) as N
from v00 as y0
),
v1 as
(
select N,
max(t) as t
from J__T as c0
group by N
),
v2 as
(
select a.N,
m1.NWv as aN\,
dbo.FuncDateFormatDomestic(convert(varchar(10),c1.t,111),'','N',DEFAULT,DEFAULT) as at,
a.N,
m2.NWv as aN\,
dbo.FuncDateFormatDomestic(convert(varchar(10),c2.t,111),'','N',DEFAULT,DEFAULT) as at
from v0 as a
left outer join ߓd|[g_QN͈̔ as m1
on m1.N=a.N
left outer join ߓd|[g_QN͈̔ as m2
on m2.N=a.N
left outer join v1 as c1
on c1.N=a.N
left outer join v1 as c2
on c2.N=a.N
)
select *
from v2 as v20
| true |
78da5a2881dc4dfae673085a3b45e7dbdd421214 | SQL | fiotto/ctf-server-web-for-golang | /postgres/initdb.d/init.sql | UTF-8 | 1,125 | 3.21875 | 3 | [
"MIT"
] | permissive | DROP DATABASE IF EXISTS ctf_db;
CREATE DATABASE ctf_db;
\c ctf_db;
DROP TABLE IF EXISTS users;
CREATE TABLE users (
id SERIAL NOT NULL PRIMARY KEY,
first_name VARCHAR(30) NOT NULL,
last_name VARCHAR(30) NOT NULL,
job VARCHAR(30) NOT NULL,
delete_flag BOOLEAN NOT NULL DEFAULT FALSE
);
INSERT INTO users (first_name, last_name, job)
VALUES
('太郎', '山田', 'サーバーサイドエンジニア'),
('次郎', '鈴木', 'フロントエンドエンジニア'),
('三郎', '田中', 'インフラエンジニア'),
('花子', '佐藤', 'デザイナー');
INSERT INTO users (first_name, last_name, job, delete_flag)
VALUES ('一郎', '渡辺', 'myctf{scf_sql_injection_flag}', TRUE); /* フラグ1つ目(同じテーブル) */
DROP TABLE IF EXISTS flag;
CREATE TABLE flag (
id SERIAL NOT NULL PRIMARY KEY,
flag VARCHAR(60) NOT NULL,
create_date TIMESTAMP WITH TIME ZONE DEFAULT NOW(),
update_date TIMESTAMP WITH TIME ZONE DEFAULT NOW()
);
INSERT INTO flag (flag)
VALUES ('myctf{next_flag_[/var/ctf/flag.md]}'); /* フラグ2つ目(別のテーブル) */ | true |
72349720b1a1aa3bc5c091d486b1491e0af02d4a | SQL | imZEH/Tabulation-System-Java | /Database/Stored Procedure/sqlPr_Select_Participants.sql | UTF-8 | 735 | 3.71875 | 4 | [] | no_license | DELIMITER $$
DROP PROCEDURE IF EXISTS `automated`.`sqlPr_Select_Participants` $$
CREATE DEFINER=`root`@`localhost` PROCEDURE `sqlPr_Select_Participants`(IN Name VarChar(30),
IN ID Varchar(25))
BEGIN
Select P.PArt_ID,CONCAT(Part_LName,', ',Part_FName,' ',Part_MName)fullname,
P.Part_Gender,P.Part_ContactNumber,P.Part_Address,p.Part_Status,T.Team_Name from Participants P
INNER JOIN Teams T
ON T.Team_ID = P.Team_ID
where Part_status = 'Active' and Part_ID LIKE CONCAT(ID,'%')
OR Part_FName LIKE CONCAT(Name,'%')
OR Part_MName LIKE CONCAT(Name,'%')
OR Part_LName LIKE CONCAT(Name,'%') ;
END $$
DELIMITER ; | true |
05fbf6c19ad85924fddb40b0bc2dc90d7c02e504 | SQL | MelodieCsn/L3 | /S5/HLIN511/TP1/requetes.sql | UTF-8 | 3,388 | 3.59375 | 4 | [] | no_license | --Q1
SELECT NOM, PRENOM
FROM ABONNE
WHERE VILLE='MONTPELLIER';
--Q2
SELECT *
FROM EXEMPLAIRE
WHERE CODE_PRET='EMPRUNTABLE';
--Q3
SELECT TITRE, CATEGORIE
FROM LIVRE
WHERE CATEGORIE<>'MEDECINE' AND CATEGORIE<>'SCIENCES' AND CATEGORIE<>'LOISIRS'
ORDER BY CATEGORIE;
--Q4
SELECT *
FROM EMPRUNT
WHERE D_RET_REEL IS NULL;
--Q5
SELECT NUM_EX, D_EMPRUNT
FROM ABONNE, EMPRUNT
WHERE ABONNE.NUM_AB = EMPRUNT.NUM_AB
AND NOM='DUPONT'
AND PRENOM='JEAN'
ORDER BY D_EMPRUNT;
--Q6
SELECT NUMERO, CODE_PRET, ETAT
FROM LIVRE, EXEMPLAIRE
WHERE EXEMPLAIRE.ISBN = LIVRE.ISBN
AND TITRE='LE MUR';
--Q7
SELECT NUMERO, ETAT
FROM EXEMPLAIRE, LIVRE
WHERE EXEMPLAIRE.ISBN = LIVRE.ISBN
AND NUMERO<>'4112'
AND TITRE=(
SELECT TITRE
FROM EXEMPLAIRE, LIVRE
WHERE EXEMPLAIRE.ISBN = LIVRE.ISBN
AND NUMERO='4112'
AND ETAT='BON'
);
--Q8V1
SELECT TITRE
FROM LIVRE
WHERE NOT EXISTS(
SELECT ISBN
FROM EXEMPLAIRE
WHERE LIVRE.ISBN = EXEMPLAIRE.ISBN
);
--Q8V2
SELECT TITRE
FROM LIVRE
WHERE ISBN NOT IN (
SELECT ISBN
FROM EXEMPLAIRE
);
--Q9V1
SELECT CATEGORIE
FROM LIVRE
WHERE NOT EXISTS(
SELECT CATEGORIE
FROM LIVRE, EXEMPLAIRE, EMPRUNT
WHERE LIVRE.ISBN = EXEMPLAIRE.ISBN
AND NUMERO = NUM_EX
);
--Q9V2
SELECT CATEGORIE
FROM LIVRE
WHERE CATEGORIE NOT IN(
SELECT CATEGORIE
FROM EXEMPLAIRE, EMPRUNT
WHERE NUMERO = NUM_EX
);
--Q10
SELECT COUNT(*)
FROM EMPRUNT, ABONNE
WHERE EMPRUNT.NUM_AB = ABONNE.NUM_AB
AND NOM='RENARD'
AND PRENOM='ALBERT'
AND D_RET_REEL IS NULL;
--Q11
SELECT MIN(TARIF*NVL(1-REDUC/100,1))
FROM ABONNE;
--Q12
SELECT NUMERO
FROM EXEMPLAIRE,EMPRUNT
WHERE NUMERO = NUM_EX
AND ETAT='ABIME'
AND D_RET_REEL IS NULL;
--Q13
SELECT MOT
FROM MOT_CLEF
WHERE MOT NOT IN (
SELECT MOT
FROM CARACTERISE
);
--Q14
SELECT COUNT(*),CATEGORIE, ABONNE.NUM_AB, ABONNE.NOM
FROM LIVRE, EXEMPLAIRE, EMPRUNT, ABONNE
WHERE ABONNE.NUM_AB = EMPRUNT.NUM_AB
AND NUMERO = NUM_EX
AND EXEMPLAIRE.ISBN = LIVRE.ISBN
GROUP BY CATEGORIE, ABONNE.NUM_AB, ABONNE.NOM
ORDER BY CATEGORIE;
--Q15
SELECT LIVRE.TITRE, AVG(PRIX)
FROM LIVRE, EXEMPLAIRE
WHERE EXEMPLAIRE.ISBN = LIVRE.ISBN
GROUP BY LIVRE.ISBN, LIVRE.TITRE
HAVING COUNT(*)>2;
--Q16 ANTHO
-- SELECT TITRE
-- FROM LIVRE, CARACTERISE
-- WHERE LIVRE.ISBN = CARACTERISE.ISBN
-- AND LIVRE.ISBN <> '0_8_7707_2'
-- AND MOT IN (
-- SELECT MOT
-- FROM CARACTERISE
-- WHERE ISBN = '0_8_7707_2'
-- )
-- GROUP BY TITRE
-- HAVING COUNT(DISTINCT MOT)= (
-- SELECT COUNT(MOT)
-- FROM CARACTERISE
-- WHERE ISBN = '0_8_7707_2'
-- );
-- Question 16
SELECT ISBN, TITRE
FROM LIVRE L
WHERE L.ISBN <> '0_8_7707_2'
AND NOT EXISTS (
SELECT *
FROM CARACTERISE C1
WHERE C1.ISBN = '0_8_7707_2'
AND NOT EXISTS (
SELECT *
FROM CARACTERISE C2
WHERE L.ISBN = C2.ISBN
AND C1.MOT = C2.MOT
)
);
-- --Q17 ANTHO
-- SELECT CATEGORIE
-- FROM LIVRE, EXEMPLAIRE, EMPRUNT, ABONNE
-- WHERE LIVRE.ISBN = EXEMPLAIRE.ISBN
-- AND NUMERO = NUM_EX
-- AND ABONNE.NUM_AB = EMPRUNT.NUM_AB
-- GROUP BY CATEGORIE
-- HAVING COUNT(ABONNE.NUM_AB)= (
-- SELECT COUNT(*)
-- FROM ABONNE
-- );
-- Question 17
SELECT CATEGORIE
FROM LIVRE,EXEMPLAIRE
WHERE LIVRE.ISBN = EXEMPLAIRE.ISBN
AND NOT EXISTS (
SELECT *
FROM ABONNE
WHERE NOT EXISTS(
SELECT *
FROM EMPRUNT
WHERE EMPRUNT.NUM_EX = EXEMPLAIRE.NUMERO
AND ABONNE.NUM_AB = EMPRUNT.NUM_AB
)
); | true |
92d3fbb2dba776ec8f149eff09f396d97dc22f07 | SQL | gurpreet19/ec198392_wht | /Database/configuration/03_02_headless_tool/Delta_WST/SourcePackageDefinitions/ECBP_WELL_PLT_HEAD.sql | UTF-8 | 1,083 | 2.546875 | 3 | [] | no_license | CREATE OR REPLACE PACKAGE ecbp_well_plt IS
/****************************************************************
** Package : EcBp_Well_PLT, header part
**
** $Revision: 1.3 $
**
** Purpose : This package is responsible for calculating the percentage
** that is not achievable directly in the well bore objects.
**
** Documentation : www.energy-components.com
**
** Created : 05.10.2004 Narinder Kaur
**
** Modification history:
**
** Version Date Whom Change description:
** ------- ------ ----- --------------------------------------
** 1.0 05.10.2004 kaurrnar Initial version
*****************************************************************/
--<EC-DOC>
FUNCTION calcPercent(
p_object_id webo_interval.object_id%TYPE,
p_perf_interval_id perf_interval.object_id%TYPE,
p_phase VARCHAR2,
p_daytime DATE)
RETURN NUMBER;
---
FUNCTION calcTotal(
p_object_id webo_interval.object_id%TYPE,
p_phase VARCHAR2,
p_daytime DATE)
RETURN NUMBER;
end ECBP_WELL_PLT; | true |
fd6a4b77b93e84df2f29233f3cedc6a3e6e60510 | SQL | jazeroual/github | /restoNumeriK/tblproduct.sql | UTF-8 | 16,163 | 2.9375 | 3 | [] | no_license | -- phpMyAdmin SQL Dump
-- version 3.5.2.2
-- http://www.phpmyadmin.net
--
-- Client: 127.0.0.1
-- Généré le: Mer 09 Janvier 2013 à 11:25
-- Version du serveur: 5.5.27-log
-- Version de PHP: 5.4.6
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: `restonumerik`
--
-- --------------------------------------------------------
--
-- Structure de la table `tblproduct`
--
CREATE TABLE IF NOT EXISTS `tblproduct` (
`idProd` bigint(20) NOT NULL AUTO_INCREMENT,
`title` varchar(100) NOT NULL,
`description` varchar(255) NOT NULL,
`priceDelivery` float NOT NULL,
`priceShop` float NOT NULL,
`lunchOnly` varchar(1) NOT NULL DEFAULT 'N',
`isFormula` varchar(1) NOT NULL DEFAULT 'N',
`idShopExt` bigint(20) NOT NULL,
PRIMARY KEY (`idProd`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=213 ;
--
-- Contenu de la table `tblproduct`
--
INSERT INTO `tblProduct` (`idProd`, `title`, `description`, `priceDelivery`, `priceShop`, `lunchOnly`, `isFormula`, `idShopExt`) VALUES
(1, 'Menu People', '2 sushis saumon, 2 sushis thon, 6 rolls tuna\navocat, 1 salade et 1 riz ', 12, 12, 'Y', 'N', 2),
(2, 'Menu Glamour ', '4 sushis saumon, 6 rolls saumon avocat, 1 salade et un riz', 12, 12, 'Y', 'N', 2),
(3, 'Menu Public', '2 sushis saumon, 3 sashimis saumon, 6 makis saumon, 1 salade et un riz', 12, 12, 'Y', 'N', 2),
(4, 'Menu Express', '7 pièces sushi mixte, 6 pièces maki saumon, 1 salade et une boisson', 14, 14, 'Y', 'N', 2),
(5, 'Menu Closer', '9 pièces de sashimi mixte, 1 salade, 1 riz', 11, 11, 'Y', 'N', 2),
(6, 'Menu Elle', '6 pièces maki concombre, 6 pièces maki cheese, 6 pièces rolls végétarien, 1 salade et 1 miso', 12, 12, 'Y', 'N', 2),
(7, 'Menu Tartare', '1 Mini Tartare Saumon, 1 Roll au choix, 1 Boisson', 12, 12, 'Y', 'Y', 2),
(8, 'Menu Gala', '2 Yakis Poulet, 2 Yakis Boullette, 1 salade et 1 Riz', 14, 14, 'Y', 'N', 2),
(9, 'Menu Diet', '1 Chinoise Poulet ou Surimi, 1 Roll au choix, 1 Boisson ', 12, 12, 'Y', 'Y', 2),
(10, 'Menu Bagel''s', '1 Bagel''s au choix (sauf Washington) , 1 Roll au choix, 1 Boisson', 12, 12, 'Y', 'Y', 2),
(11, 'Menu Burger', '1 Burger, 1 Boisson ', 8, 8, 'Y', 'Y', 2),
(12, 'Menu HotDog', '1 HotDog, 1 Roll au choix, 1 Boisson', 10, 10, 'Y', 'Y', 2),
(13, 'Menu Cheeseburger', '1 Cheeseburger, 1 Boisson', 9, 9, 'Y', 'Y', 2),
(24, 'Chinoise Poulet', '', 8, 8, 'N', 'N', 2),
(25, 'Chinoise Surimi', '', 8, 8, 'N', 'N', 2),
(26, 'Chinoise Pané', '', 10, 10, 'N', 'N', 2),
(27, 'Chinoise Saumon Cuit', '', 10, 10, 'N', 'N', 2),
(28, 'Miso Soupe', '', 3, 3, 'N', 'N', 2),
(29, 'Salade Choux', '', 2, 2, 'N', 'N', 2),
(30, 'Nems Poulet (4pièces)', '', 7, 7, 'N', 'N', 2),
(31, 'Salade Edamane', '', 3, 3, 'N', 'N', 2),
(32, 'Salade d''Algues', '', 3, 3, 'N', 'N', 2),
(33, 'Riz Vinaigré', '', 3, 3, 'N', 'N', 2),
(34, 'Tartare Saumon Avocat Grand', '', 11, 11, 'N', 'N', 2),
(35, 'Tartare Saumon Avocat Normal', '', 7, 7, 'N', 'N', 2),
(36, 'Tartare Saumon Cheese Avocat Grand', '', 12, 12, 'N', 'N', 2),
(37, 'Tartare Saumon Cheese Avocat Normal', '', 8, 8, 'N', 'N', 2),
(38, 'Tartare Saumon Cheese Concombre Grand', '', 12, 12, 'N', 'N', 2),
(39, 'Tartare Saumon Cheese Concombre Normal', '', 8, 8, 'N', 'N', 2),
(40, 'Tartare Saumon Cuit Avocat Grand', '', 12, 12, 'N', 'N', 2),
(41, 'Tartare Saumon Cuit Avocat Normal', '', 8, 8, 'N', 'N', 2),
(42, 'Tartare Saumon Cuit Cheese Grand', '', 13, 13, 'N', 'N', 2),
(43, 'Tartare Saumon Cuit Cheese Normal', '', 9, 9, 'N', 'N', 2),
(44, 'Tartare Thon Avocat Grand', '', 13, 13, 'N', 'N', 2),
(45, 'Tartare Thon Avocat Normal', '', 9, 9, 'N', 'N', 2),
(46, 'Tartare Tuna Avocat Grand', '', 10, 10, 'N', 'N', 2),
(47, 'Tartare Tuna Avocat Normal', '', 7, 7, 'N', 'N', 2),
(48, 'Tartare Tuna Crispy Grand', '', 11, 11, 'N', 'N', 2),
(49, 'Tartare Tuna Crispy Normal', '', 8, 8, 'N', 'N', 2),
(50, 'Tartare Poulet Avocat Grand', '', 10, 10, 'N', 'N', 2),
(51, 'Tartare Poulet Avocat Normal', '', 7, 7, 'N', 'N', 2),
(52, 'Tartare Poulet Cripy Grand', '', 11, 11, 'N', 'N', 2),
(53, 'Tartare Poulet Cripy Normal', '', 8, 8, 'N', 'N', 2),
(54, 'Tartare Crevette Avocat Grand', '', 12, 12, 'N', 'N', 2),
(55, 'Tartare Crevette Avocat Normal', '', 9, 9, 'N', 'N', 2),
(56, 'Sunrise', 'tartare saumon, miel, pommes, avocat, mayonnaise', 16, 16, 'N', 'N', 2),
(57, 'Malibu', 'tartare de daurade et mangue, avocat, huile d''olive, basilic', 14, 14, 'N', 'N', 2),
(58, 'Hotime Sashimi saumon', '8 pièces de sashimi saumon légerement mi-cuit, duo de sésame', 14, 14, 'N', 'N', 2),
(59, 'Hotime Sashimi thon', '8 pièces de sashimi thon légerement mi-cuit, duo de sésame', 16, 16, 'N', 'N', 2),
(60, 'Color Roll', '6 pièces, Riz et poisson entouré de saumon, thon et avocat', 6, 6, 'N', 'Y', 2),
(61, 'Plateau Temaki', '1 saumon, avocat / 1 ikura / 1 tuna, avocat / 1 thon, avocat', 14, 14, 'N', 'N', 2),
(62, 'Plateau Sashimi (12p)', 'saumon, thon et daurade', 13, 13, 'N', 'N', 2),
(63, 'Plateau Sashimi (20p)', 'saumon, thon et daurade', 18, 18, 'N', 'N', 2),
(64, 'Plateau mixte', '2 suhis saumon, 2 sushis thon, 2 sushis daurade, 2 sushis omelette', 12, 12, 'N', 'N', 2),
(65, 'Plateau Sushi Saumon', '8 pièces de sushi saumon', 13, 13, 'N', 'N', 2),
(66, 'Plateau Sushi Thon', '8 pièces de sushi thon', 14, 14, 'N', 'N', 2),
(67, 'Plateau duo', '4 sushis saumon, 4 sushis thon (8 pièces) ', 14, 14, 'N', 'N', 2),
(68, 'Plateau SushiRoll', '10 sushis saumon, 6 rolls saumon avocat (16 pièces)', 18, 18, 'N', 'N', 2),
(69, 'Plateau Maki', '6 makis saumon, 6 makis thon, 6 makis concombre (18 pièces)', 10, 10, 'N', 'N', 2),
(70, 'Plateau California', '6 rolls saumon avocat, 6 makis saumon, 6 rolls tuna avocat, 6 makis thon (24 pièces)', 14, 14, 'N', 'N', 2),
(71, 'Plateau Roll', '6 rolls saumon avocat, 6 rolls surimi avocat, 6 rolls tuna avocat (18 pièces)', 13.5, 13.5, 'N', 'N', 2),
(72, 'Plateau JetSet', '6 sushis mixte, 9 sashimis mixte, 6 makis saumon, 1 salade et 1 riz (21 pièces)', 21, 21, 'N', 'N', 2),
(73, 'Paris Saumon', '4 sushis saumon, 4 sashimis saumon, 6 rolls saumon, avocat (14 pièces)', 16, 16, 'N', 'N', 2),
(74, 'Plateau V.I.P', '6 rolls foie gras / 6 spiralls dinde / 6 chic & nuts (18 pièces)', 25, 25, 'N', 'N', 2),
(75, 'Paris Thon', '4 sushis thon, 4 sashimis thon, 6 rolls thon avocat (14 pièces)', 18, 18, 'N', 'N', 2),
(76, 'Plateau Collection', '6 dragons tuna / 6 cheeserolls / 6 color rolls saumon / 6 rollups saumon (24 pièces)', 24, 24, 'N', 'N', 2),
(77, 'Plateau NewRoll', '2 sushis mozza saumon / 6 cheeserolls / 2 love sushis surimi / 6 rollups saumon (16 pièces)', 22, 22, 'N', 'N', 2),
(78, 'Nina ForTwo', '6 sushis saumon, 6 sushis thon, 4 futomakis, 6 rolls saumon avocat, 6 rolls tuna avocat, 6 makis thon, 15 pièces de sashimi, 2 salades, 2 riz (53 pièces)', 49, 49, 'N', 'N', 2),
(79, 'Nina Cocktail', '6 makis avocat, 6 makis concombre, 6 makis saumon, 6 color rolls saumon, 6 cheeserolls, 6 eggrolls tuna, 6 dragons tuna, 15 sushis saumon, 5 sushis thon, 20 pièces Sashimi, 12 rolls saumon avocat, 12 rolls saumon avocat/concombre, 18 rolls tuna avocat, 12', 130, 130, 'N', 'N', 2),
(80, 'Chirashi Saumon', '', 12, 12, 'N', 'N', 2),
(81, 'Chirashi Thon', '', 14, 14, 'N', 'N', 2),
(82, 'Chirashi Duo', '', 15, 15, 'N', 'N', 2),
(83, 'Chirashi Trio', '', 16, 16, 'N', 'N', 2),
(84, 'Sashimi Saumon ', '8 Sashimis Saumon ', 10, 10, 'N', 'N', 2),
(85, 'Sashimi Saumon ', '12 Sashimis Saumon ', 13, 13, 'N', 'N', 2),
(86, 'Sashimi Thon ', '8 Sashimis Thon ', 11, 11, 'N', 'N', 2),
(87, 'Sashimi Thon ', '12 Sashimis Thon ', 14, 14, 'N', 'N', 2),
(88, 'Sashimi Duo ', '8 Sashimis Duo ', 12, 12, 'N', 'N', 2),
(89, 'Sashimi Duo ', '12 Sashimis Duo ', 15, 15, 'N', 'N', 2),
(90, 'Sashimi Daurade ', '8 Sashimis Daurade ', 11, 11, 'N', 'N', 2),
(91, 'Sashimi Daurade ', '12 Sashimis Daurade ', 14, 14, 'N', 'N', 2),
(92, 'Maki Saumon', '6 Makis Saumon', 4, 4, 'N', 'N', 2),
(93, 'Maki Saumon Avocat', '6 Makis Saumon Avocat', 4, 4, 'N', 'N', 2),
(94, 'Maki Cheese', '6 Makis Cheese', 5, 5, 'N', 'N', 2),
(95, 'Maki Thon Rouge', '6 Makis Thon Rouge', 4, 4, 'N', 'N', 2),
(96, 'Maki Iruka', '6 Makis Iruka', 4, 4, 'N', 'N', 2),
(97, 'Maki Surimi', '6 Makis Surimi', 3, 3, 'N', 'N', 2),
(98, 'Maki Tuna', '6 Makis Tuna', 4, 4, 'N', 'N', 2),
(99, 'Maki Chicken', '6 Makis Chicken', 4, 4, 'N', 'N', 2),
(100, 'Maki Avocat', '6 Makis Avocat', 3, 3, 'N', 'N', 2),
(101, 'Maki Concombre', '6 Makis Concombre', 3, 3, 'N', 'N', 2),
(102, 'Maki Cheese', '6 Makis Cheese', 4, 4, 'N', 'N', 2),
(103, 'Futo Maki', '4 Futomakis', 7, 7, 'N', 'N', 2),
(104, 'California Saumon Avocat ', '6 Californias Saumon Avocat ', 4, 4, 'N', 'N', 2),
(105, 'California Saumon Avocat Concombre', '6 Californias Saumon Avocat Concombre', 5, 5, 'N', 'N', 2),
(106, 'California Saumon Cheese', '6 Californias Saumon Cheese', 6, 6, 'N', 'N', 2),
(107, 'California Thon Avocat', '6 Californias Thon Avocat', 5, 5, 'N', 'N', 2),
(108, 'California Surimi Avocat', '6 Californias Surimi Avocat', 5, 5, 'N', 'N', 2),
(109, 'California Crevette Cocktail', '6 Californias Crevette Cocktail', 5, 5, 'N', 'N', 2),
(110, 'California Avocat Cheese ', '6 Californias Avocat Cheese ', 4, 4, 'N', 'N', 2),
(111, 'California Avocat Concombre ', '6 Californias Avocat Concombre ', 4, 4, 'N', 'N', 2),
(112, 'California Tomate Mozza Basilic', '6 Californias Tomate Mozza Basilic', 5, 5, 'N', 'N', 2),
(113, 'California Tuna Avocat', '6 Californias Tuna Avocat', 4, 4, 'N', 'N', 2),
(114, 'California Spicy Tuna', '6 Californias Spicy Tuna', 5, 5, 'N', 'N', 2),
(115, 'California Poulet Mayo', '6 Californias Poulet Mayo', 5, 5, 'N', 'N', 2),
(116, 'California Poulet Pané Avocat', '6 Californias Poulet Pané Avocat', 6, 6, 'N', 'N', 2),
(117, 'California Spicy Poulet', '6 Californias Spicy Poulet', 5, 5, 'N', 'N', 2),
(118, 'Cheese Roll', '6 Cheese Rolls Saumon Cheese', 7, 7, 'N', 'N', 2),
(119, 'Bluefin Roll', '6 Bluefin Rolls Thon Cheese', 9, 9, 'N', 'N', 2),
(120, 'Morano Roll', '6 Morano Rolls Crevette Avocat', 8, 8, 'N', 'N', 2),
(121, 'Temaki Saumon Avocat', '1 Temaki Saumon Avocat', 4, 4, 'N', 'N', 2),
(122, 'Temaki Saumon Cheese', '1 Temaki Saumon Cheese', 5, 5, 'N', 'N', 2),
(123, 'Temaki Thon Avocat', '1 Temaki Thon Avocat', 5, 5, 'N', 'N', 2),
(124, 'Temaki Surimi Avocat', '1 Temaki Surimi Avocat', 4, 4, 'N', 'N', 2),
(125, 'Temaki Tuna Avocat', '1 Temaki Tuna Avocat', 4, 4, 'N', 'N', 2),
(126, 'Temaki Tartare Saumon Cheese', '1 Temaki Tartare Saumon Cheese', 5, 5, 'N', 'N', 2),
(127, 'Temaki Tartare Thon', '1 Temaki Tartare Thon', 5, 5, 'N', 'N', 2),
(128, 'Temaki Saumon Cuit', '1 Temaki Saumon Cuit', 5, 5, 'N', 'N', 2),
(129, 'Temaki Poulet Pané', '1 Temaki Poulet Pané', 5, 5, 'N', 'N', 2),
(130, 'Temaki Poulet Avocat', '1 Temaki Poulet Avocat', 5, 5, 'N', 'N', 2),
(131, 'Temaki Œuf de Saumon', '1 Temaki Œuf de Saumon', 5, 5, 'N', 'N', 2),
(132, 'Temaegg Tuna', '1 Temaegg Tuna', 6, 6, 'N', 'N', 2),
(133, 'Sushi Saumon', '2 Sushis Saumon', 3, 3, 'N', 'N', 2),
(134, 'Sushi Saumon Avocat', '2 Sushis Saumon Avocat', 4, 4, 'N', 'N', 2),
(135, 'Sushi Saumon Cheese', '2 Sushis Saumon Cheese', 4, 4, 'N', 'N', 2),
(136, 'Sushi Saumon Mangue', '2 Sushis Saumon Mangue', 4, 4, 'N', 'N', 2),
(137, 'Sushi Saumon Braisé', '2 Sushis Saumon Braisé', 6, 6, 'N', 'N', 2),
(138, 'Sushi Mozza Saumon ', '2 Sushis Mozza Saumon ', 6, 6, 'N', 'N', 2),
(139, 'Sushi Thon', '2 Sushis Thon', 4, 4, 'N', 'N', 2),
(140, 'Sushi Thon Braisé', '2 Sushis Thon Braisé', 6, 6, 'N', 'N', 2),
(141, 'Sushi Mozza Thon', '2 Sushis Mozza Thon', 6, 6, 'N', 'N', 2),
(142, 'Sushi Daurade', '2 Sushis Daurade', 4, 4, 'N', 'N', 2),
(143, 'Sushi Omelette', '2 Sushis Omelette', 3, 3, 'N', 'N', 2),
(144, 'Sushi Avocat', '2 Sushis Avocat', 3, 3, 'N', 'N', 2),
(145, 'Sushi Œufs de Saumon', '2 Sushis Œufs de Saumon', 5, 5, 'N', 'N', 2),
(146, 'Sushi Tartare de Saumon', '2 Sushis Tartare de Saumon', 5, 5, 'N', 'N', 2),
(147, 'Sushi Tartare de Thon', '2 Sushis Tartare de Thon', 5, 5, 'N', 'N', 2),
(148, 'Sushi Tuna', '2 Sushis Tuna', 4, 4, 'N', 'N', 2),
(149, 'Sushi Poulet', '2 Sushis Poulet', 7, 7, 'N', 'N', 2),
(150, 'Nouilles au Poulet', '', 7, 7, 'N', 'N', 2),
(151, 'Nouilles aux Légumes', '', 6, 6, 'N', 'N', 2),
(152, 'Riz Cantonnais', '', 6, 6, 'N', 'N', 2),
(153, 'Saumon Braisé', '', 13, 13, 'N', 'N', 2),
(154, 'Thon Braisé', '', 15, 15, 'N', 'N', 2),
(155, '1/2 Saumon Braisé', '', 10, 10, 'N', 'N', 2),
(156, '1/2 Thon Braisé', '', 12, 12, 'N', 'N', 2),
(157, 'Yakitori Poulet', 'Par Paire', 7, 7, 'N', 'N', 2),
(158, 'YakitoriBoulette', 'Par Paire', 7, 7, 'N', 'N', 2),
(159, 'Yakitori Saumon', 'Par Paire', 6, 6, 'N', 'N', 2),
(160, 'Yakitori Thon', 'Par Paire', 6, 6, 'N', 'N', 2),
(161, 'Seatlle', 'Thon mayo, tomates, avocat, huile d''olive, basilic', 6, 6, 'N', 'N', 2),
(162, 'Los Angeles', 'Thon mayo, tomates, concombre, huile d''olive basilic', 6, 6, 'N', 'N', 2),
(163, 'Atlanta', 'Saumon fumé, mayo, avocat, citron', 7, 7, 'N', 'N', 2),
(164, 'Miami', 'Cream cheese, saumon fumé, citron', 7, 7, 'N', 'N', 2),
(165, 'Vegas', 'Cream cheese, tomates, concombre, huile d''olive, basilic', 6, 6, 'N', 'N', 2),
(166, 'New York', 'Cream cheese', 5, 5, 'N', 'N', 2),
(167, 'Key West', 'Surimi cocktail, tomates, avocat, huile d''olive, basilic', 7, 7, 'N', 'N', 2),
(168, 'San Diego', 'Crevette cocktail, tomates, concombre, huile d''olive, basilic', 8, 8, 'N', 'N', 2),
(169, 'Chicago', 'Dinde, mayo, tomates, cornichons, huile d''olive, basilic', 7, 7, 'N', 'N', 2),
(170, 'Orlando', '3 charcuteries, mayo, tomates, cornichons, huilde d''olive, basilic', 8, 8, 'N', 'N', 2),
(171, 'Boston', 'Pickel, mayo, tomates, cornichons, huile d''olive, basilic', 8, 8, 'N', 'N', 2),
(172, 'Bagel Detroit', 'Pastrami, mayo, tomates, cornichons, huile d''olive, basilic', 8, 8, 'N', 'N', 2),
(173, 'Bagel Hollywood', 'Poulet mayo, tomates, concombres, huile d''olives basilic', 8, 8, 'N', 'N', 2),
(174, 'Bagel Harlem', 'Veau pressé, mayo, tomates, corrnichons, huile d''olives basilic', 8, 8, 'N', 'N', 2),
(175, 'Bagel Texas', 'Poulet pané, mayo, ketchup, moutarde, tomates, cornichons, oignons frits', 8, 8, 'N', 'N', 2),
(176, 'Bagel Washington', 'Foie Gras, oignons frits, moutarde au miel', 15, 15, 'N', 'N', 2),
(177, 'Hamburger ', 'Steack, ketchup, moutarde, mayo, tomates, cornichons, oignons frits', 7, 7, 'N', 'N', 2),
(178, 'Cheeseburger', 'Steack, cheddar ,ketchup, moutarde, mayo, tomates, cornichons, oignons frits', 8, 8, 'N', 'N', 2),
(179, 'Chickenburger', 'Poulet pané, ketchup, moutarde, mayo, tomatesn cornichons, oignons frits', 8, 8, 'N', 'N', 2),
(180, 'Hot Dog', 'Saucisse, ketchup, moutarde, oignons frits', 6, 6, 'N', 'N', 2),
(181, 'Special Hot Dog', 'Saucisse, cheddar, cornichons, ketchup, moutarde, oignons frits', 7, 7, 'N', 'N', 2),
(182, 'Hot Dinde', '3 charcuteries, cheddar, cornichons, ketchup, moutarde, oignons frits', 7, 7, 'N', 'N', 2),
(183, 'Hot Chicken ', 'Poulet pané, salade,ketchup, moutarde, mayo, tomates, cornichons, oignons frits', 7, 7, 'N', 'N', 2),
(184, 'Pain Bagel', 'Pain bagel à l''unité', 2, 2, 'N', 'N', 2),
(185, 'Sauce Sucré', '', 1, 1, 'N', 'N', 2),
(186, 'Sauce Soja', '', 0, 0, 'N', 'N', 2),
(187, 'Gingembre', '', 1, 1, 'N', 'N', 2),
(188, 'Wasabi', '', 0, 0, 'N', 'N', 2),
(189, 'Avocat', '', 1, 1, 'N', 'N', 2),
(190, 'Cheese', '', 2, 2, 'N', 'N', 2),
(191, 'Chips', '', 1, 1, 'N', 'N', 2),
(192, 'Ananas', '', 4, 4, 'N', 'N', 2),
(193, 'Mangue', '', 4, 4, 'N', 'N', 2),
(194, 'Lychees', '', 4, 4, 'N', 'N', 2),
(195, 'Chocomousse', '', 5, 5, 'N', 'N', 2),
(196, 'Fondant', '', 7, 7, 'N', 'N', 2),
(197, 'Coco givré', '', 5, 5, 'N', 'N', 2),
(198, 'Tiramisu', '', 5, 5, 'N', 'N', 2),
(199, 'Bagel ô Choco', '', 6, 6, 'N', 'N', 2),
(200, 'Coca Cola', '', 2, 2, 'N', 'N', 2),
(201, 'Coca Light', '', 2, 2, 'N', 'N', 2),
(202, 'Coca Zéro', '', 2, 2, 'N', 'N', 2),
(203, 'Orangina', '', 2, 2, 'N', 'N', 2),
(204, 'Ice Tea Mangue', '', 2, 2, 'N', 'N', 2),
(205, 'Ice Tea Pêche', '', 2, 2, 'N', 'N', 2),
(206, 'Perrier', '', 2, 2, 'N', 'N', 2),
(207, 'Sprite', '', 2, 2, 'N', 'N', 2),
(208, 'Fanta', '', 2, 2, 'N', 'N', 2),
(209, 'Oasis', '', 2, 2, 'N', 'N', 2),
(210, 'Evian', '', 2, 2, 'N', 'N', 2),
(211, 'Ashaï 33cl', '', 3, 3, 'N', 'N', 2),
(212, 'Ashaï 50cl', '', 5, 5, 'N', 'N', 2);
/*!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 |
bf3a61a92285ca239cc8a8035000dda572c99e64 | SQL | ljcnot/mywork | /数据库设计参考/武大外贸系统数据库设计/sql/SQLQuery1.sql | UTF-8 | 204 | 3.1875 | 3 | [] | no_license | use epdc2
select '=trim("'+ c.clgCode + '")', c.clgName, '=trim("'+ u.uCode+'")', u.uName
from college c left join useUnit u on c.clgCode = u.clgCode
order by c.clgCode, u.uCode
select * from useUnit | true |
4ab0c4fa24281e6614959afa553a1eaaebee3dca | SQL | Jenus-IT-Solutions/dras | /dras-11-10-2015-1203.sql | UTF-8 | 4,325 | 3.015625 | 3 | [] | no_license | -- phpMyAdmin SQL Dump
-- version 4.4.14
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Nov 10, 2015 at 07:29 AM
-- Server version: 5.6.26
-- PHP Version: 5.6.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 utf8mb4 */;
--
-- Database: `dras`
--
-- --------------------------------------------------------
--
-- Table structure for table `sma_return_sales`
--
CREATE TABLE IF NOT EXISTS `sma_return_sales` (
`id` int(11) NOT NULL,
`sale_id` int(11) NOT NULL,
`date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`reference_no` varchar(55) NOT NULL,
`dr_no` int(11) NOT NULL,
`returned_by` varchar(55) NOT NULL,
`received_by` varchar(55) NOT NULL,
`customer_id` int(11) NOT NULL,
`customer` varchar(55) NOT NULL,
`biller_id` int(11) NOT NULL,
`biller` varchar(55) NOT NULL,
`warehouse_id` int(11) DEFAULT NULL,
`note` varchar(1000) DEFAULT NULL,
`total` decimal(25,4) NOT NULL,
`product_discount` decimal(25,4) DEFAULT '0.0000',
`order_discount_id` varchar(20) DEFAULT NULL,
`total_discount` decimal(25,4) DEFAULT '0.0000',
`order_discount` decimal(25,4) DEFAULT '0.0000',
`product_tax` decimal(25,4) DEFAULT '0.0000',
`order_tax_id` int(11) DEFAULT NULL,
`order_tax` decimal(25,4) DEFAULT '0.0000',
`total_tax` decimal(25,4) DEFAULT '0.0000',
`surcharge` decimal(25,4) DEFAULT '0.0000',
`grand_total` decimal(25,4) NOT NULL,
`created_by` int(11) DEFAULT NULL,
`updated_by` int(11) DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
--
-- Dumping data for table `sma_return_sales`
--
INSERT INTO `sma_return_sales` (`id`, `sale_id`, `date`, `reference_no`, `dr_no`, `returned_by`, `received_by`, `customer_id`, `customer`, `biller_id`, `biller`, `warehouse_id`, `note`, `total`, `product_discount`, `order_discount_id`, `total_discount`, `order_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `surcharge`, `grand_total`, `created_by`, `updated_by`, `updated_at`) VALUES
(1, 3, '2015-08-31 23:05:00', 'RETURNSL/2015/09/0001', 0, 'shalom', 'renz', 1, 'SM Savemore', 3, 'DRAS BILLER', 1, '<p>Balik</p>', '1000.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', 1, '0.0000', '0.0000', '0.0000', '1000.0000', 2, NULL, NULL),
(2, 3, '2015-08-31 23:08:00', 'RETURNSL/2015/09/0002', 0, 'renz', 'shalom', 1, 'SM Savemore', 3, 'DRAS BILLER', 1, '', '300.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', 1, '0.0000', '0.0000', '0.0000', '300.0000', 2, NULL, NULL),
(3, 2, '2015-08-31 23:10:00', 'RETURNSL/2015/09/0003', 0, 'renz', 'shalom', 4, 'Gaisano', 3, 'DRAS BILLER', 1, '', '340.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', 1, '0.0000', '0.0000', '0.0000', '340.0000', 2, NULL, NULL),
(4, 3, '2015-11-02 18:58:00', 'RETURNSL/2015/11/0004', 0, 'shalom', 'renz', 1, 'SM Savemore', 3, 'DRAS BILLER', 1, '', '150.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', 1, '0.0000', '0.0000', '0.0000', '150.0000', 2, NULL, NULL),
(5, 11, '2015-11-10 06:12:00', 'RETURNSL/2015/11/0005', 0, 'shalom', 'renz', 1, 'SM Savemore', 0, '', 1, '<p>test</p>', '600000.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', 0, '0.0000', '0.0000', '0.0000', '600000.0000', 2, NULL, NULL),
(6, 11, '2015-11-10 06:27:00', 'RETURNSL/2015/11/0006', 12315464, 'shalom', 'shalom', 1, 'SM Savemore', 0, '', 1, '<p>test</p>', '60000.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', 0, '0.0000', '0.0000', '0.0000', '60000.0000', 2, NULL, NULL);
--
-- Indexes for dumped tables
--
--
-- Indexes for table `sma_return_sales`
--
ALTER TABLE `sma_return_sales`
ADD PRIMARY KEY (`id`),
ADD KEY `id` (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `sma_return_sales`
--
ALTER TABLE `sma_return_sales`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=7;
/*!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 |
cf1406ed4e75ca52f686336f38e632dcc5fef8f6 | SQL | omarjcm/websae | /trunk/sql/ae_administrar_material.sql | UTF-8 | 1,787 | 3.71875 | 4 | [] | no_license | DELIMITER $$
DROP PROCEDURE IF EXISTS `websae`.`ae_administrar_material` $$
CREATE DEFINER=`root`@`localhost` PROCEDURE `ae_administrar_material`(tipo VARCHAR(10), id_material BIGINT(20), precio FLOAT(9,2), descripcion VARCHAR(200), cantidad_entregar INTEGER(11), estado CHAR(1), id_tipo_material BIGINT(20), id_evento BIGINT(20), OUT mensaje VARCHAR(20))
BEGIN
DECLARE id BIGINT(20);
IF tipo = 'registrar' THEN
SELECT ma_id_material INTO id FROM AE_Material WHERE ref_evento = id_evento AND ref_tipo_material = id_tipo_material;
IF id <=> NULL THEN
INSERT INTO AE_Material (ma_precio, ma_descripcion, ma_cantidad_entregar, ma_estado, ref_tipo_material, ref_evento)
VALUES (precio, descripcion, cantidad_entregar, estado, id_tipo_material, id_evento);
SET mensaje = 'OK:registrar';
ELSE
SET mensaje = 'ERROR:repetido';
END IF;
END IF;
IF tipo = 'modificar' THEN
SELECT ma_id_material INTO id FROM AE_Material WHERE ref_evento = id_evento AND ref_tipo_material = id_tipo_material AND ma_id_material <> id_material;
IF id <=> NULL THEN
UPDATE AE_Material SET ma_precio = precio, ma_descripcion = descripcion, ma_cantidad_entregar = cantidad_entregar,
ma_estado = estado, ref_tipo_material = id_tipo_material, ref_evento = id_evento
WHERE ma_id_material = id_material;
SET mensaje = 'OK:modificar';
ELSE
SET mensaje = 'ERROR:repetido';
END IF;
END IF;
IF tipo = 'eliminar' THEN
DELETE FROM AE_Material WHERE ma_id_material = id_material;
SET mensaje = 'OK:eliminar';
END IF;
END $$
DELIMITER ; | true |
b524fbd011d214c4ea8541940d836bdee6b49c88 | SQL | tayduivn/training | /rdbms/update/sacwis_375.sql | UTF-8 | 1,039 | 2.84375 | 3 | [] | no_license | --STGAP00010107 - FA HOME SEARCH: CODES TAB. MESSAGE
UPDATE CAPS.CODES_TABLES
SET DECODE = 'ICPC Foster'
WHERE CODE_TYPE = 'CFACATEG'
AND CODE = 'I';
UPDATE CAPS.CODES_TABLES
SET DT_END = SYSDATE
WHERE CODE_TYPE = 'CFAHMSTA'
AND CODE = 'PTA';
UPDATE CAPS.CODES_TABLES
SET DT_END = SYSDATE
WHERE CODE_TYPE = 'CFAHMSTA'
AND CODE = 'ATA';
INSERT INTO CAPS.CODES_TABLES (DECODE, CODE_TYPE, CODE)
VALUES ('ICPC Adopt','CFACATEG', 'J');
INSERT INTO CAPS.MESSAGE (NBR_MESSAGE,TXT_MESSAGE_NAME,TXT_MESSAGE,CD_SOURCE,CD_PRESENTATION,IND_BATCH)
VALUES (60471, 'MSG_NOT_ADO_USER', 'You do not have privileges to search for anAdoptive home.', 700, 500, 'N');
--STGAP00010110 - Exchange Child Detail - Update Task Table
UPDATE CAPS.TASK
SET TXT_3RD_TAB = 'EXCHANGE_CHILD_EVENTLIST'
WHERE CD_TASK IN ('9530','9531');
insert into caps.schema_version (id_schema_version, application_version, comments)
values (376, 'SacwisRev3', 'Release 3.0 - DBCRs 10107,10110');
-- commit;
| true |
59fdec296787fd39a3031d6c94afd0de540308f8 | SQL | UnEnanoMas/PiggyFactions | /resources/sqlite.sql | UTF-8 | 4,734 | 3.515625 | 4 | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | -- #! sqlite
-- #{ piggyfactions
-- # { factions
-- # { init
CREATE TABLE IF NOT EXISTS factions
(
id VARCHAR(36) PRIMARY KEY,
name TEXT,
creation_time INTEGER,
description TEXT,
motd TEXT,
members TEXT,
permissions TEXT,
flags TEXT,
home TEXT,
relations TEXT,
banned TEXT,
money FLOAT DEFAULT 0,
powerboost FLOAT DEFAULT 0
);
-- # }
-- # { load
SELECT *
FROM factions;
-- # }
-- # { create
-- # :id string
-- # :name string
-- # :members string
-- # :permissions string
-- # :flags string
INSERT INTO factions (id, name, creation_time, members, permissions, flags)
VALUES (:id, :name, strftime('%s', 'now'), :members, :permissions, :flags);
-- # }
-- # { delete
-- # :id string
DELETE
FROM factions
WHERE id = :id;
-- # }
-- # { update
-- # :id string
-- # :name string
-- # :description ?string
-- # :motd ?string
-- # :members string
-- # :permissions string
-- # :flags string
-- # :home ?string
-- # :relations string
-- # :banned string
-- # :money float
-- # :powerboost float
UPDATE factions
SET name=:name,
description=:description,
motd=:motd,
members=:members,
permissions=:permissions,
flags=:flags,
home=:home,
relations=:relations,
banned=:banned,
money=:money,
powerboost=:powerboost
WHERE id = :id;
-- # }
-- # }
-- # { players
-- # { init
CREATE TABLE IF NOT EXISTS players
(
uuid VARCHAR(36) PRIMARY KEY,
username VARCHAR(16),
faction VARCHAR(36),
role TEXT,
power FLOAT,
powerboost FLOAT DEFAULT 0,
language VARCHAR(255) DEFAULT 'english'
);
-- # }
-- # { load
SELECT *
FROM players;
-- # }
-- # { create
-- # :uuid string
-- # :username string
-- # :faction ?string
-- # :role ?string
-- # :power float
-- # :language string
INSERT INTO players (uuid, username, faction, role, power, language)
VALUES (:uuid, :username, :faction, :role, :power, :language);
-- # }
-- # { update
-- # :uuid string
-- # :username string
-- # :faction ?string
-- # :role ?string
-- # :power float
-- # :powerboost float
-- # :language string
UPDATE players
SET username=:username,
faction=:faction,
role=:role,
power=:power,
powerboost=:powerboost,
language=:language
WHERE uuid = :uuid;
-- # }
-- # }
-- # { claims
-- # { init
CREATE TABLE IF NOT EXISTS claims
(
id INTEGER PRIMARY KEY,
chunkX INTEGER,
chunkZ INTEGER,
level TEXT,
faction VARCHAR(36)
);
-- # }
-- # { load
SELECT *
FROM claims;
-- # }
-- # { create
-- # :chunkX int
-- # :chunkZ int
-- # :level string
-- # :faction string
INSERT INTO claims (chunkX, chunkZ, level, faction)
VALUES (:chunkX, :chunkZ, :level, :faction);
-- # }
-- # { update
-- # :chunkX int
-- # :chunkZ int
-- # :level string
-- # :faction string
UPDATE claims
SET faction=:faction
WHERE chunkX = :chunkX
AND chunkZ = :chunkZ
AND level = :level;
-- # }
-- # { delete
-- # :chunkX int
-- # :chunkZ int
-- # :level string
DELETE
FROM claims
WHERE chunkX = :chunkX
AND chunkZ = :chunkZ
AND level = :level;
-- # }
-- # }
-- # { logs
-- # { init
CREATE TABLE IF NOT EXISTS logs
(
id INTEGER PRIMARY KEY,
faction VARCHAR(36),
action TEXT,
timestamp INTEGER,
data TEXT
);
-- # }
-- # { loadall
-- # :faction string
-- # :count int
-- # :startpoint int
SELECT data, action, timestamp
FROM logs
WHERE faction = :faction
LIMIT :count OFFSET :startpoint;
-- # }
-- # { countall
-- # :faction string
SELECT *
FROM logs
WHERE faction = :faction;
-- # }
-- # { count
-- # :faction string
-- # :action string
SELECT *
FROM logs
WHERE action = :action
AND faction = :faction;
-- # }
-- # { load
-- # :action string
-- # :faction string
-- # :count int
-- # :startpoint int
SELECT data, timestamp, action
FROM logs
WHERE action = :action
AND faction = :faction
LIMIT :count OFFSET :startpoint;
-- # }
-- # { create
-- # :faction string
-- # :action string
-- # :timestamp int
-- # :data string
INSERT INTO logs (faction, action, timestamp, data)
VALUES (:faction, :action, :timestamp, :data);
-- # }
-- # { delete
-- # :id int
DELETE
FROM logs
WHERE id = :id;
-- # }
-- # }
-- # { patches
-- # { 0
ALTER TABLE factions
ADD money FLOAT DEFAULT 0;
-- # }
-- # { 1
ALTER TABLE players
ADD language VARCHAR(255) DEFAULT 'english';
-- # }
-- # { 2
ALTER TABLE factions
ADD powerboost FLOAT DEFAULT 0;
-- # }
-- # { 3
ALTER TABLE players
ADD powerboost FLOAT DEFAULT 0;
-- # }
-- # }
-- # } | true |
fe902d627746b58f12c90cfa8e3b786c80ab6bb9 | SQL | samszo/jardindesconnaissances | /bdd/query/anDatasDocMin.sql | UTF-8 | 1,435 | 3.484375 | 3 | [] | no_license | SELECT
d.doc_id,
d.titre,
GROUP_CONCAT(DISTINCT rGoS.valeur) score,
GROUP_CONCAT(DISTINCT rGoS.niveau) magnitude,
COUNT(DISTINCT dv.doc_id) nbVisage,
COUNT(DISTINCT t.tag_id) nbTag,
GROUP_CONCAT(DISTINCT t.tag_id) tags,
COUNT(DISTINCT e.exi_id) nbExi,
GROUP_CONCAT(DISTINCT e.exi_id) exis,
COUNT(DISTINCT g.geo_id) nbGeo,
GROUP_CONCAT(DISTINCT g.geo_id) geos
FROM
flux_doc d
INNER JOIN
flux_doc dGo ON dGo.parent = d.doc_id
AND dGo.titre = 'Flux_Glanguage_Flux_Glanguage::sauveAnalyseTexte'
LEFT JOIN
flux_rapport rGoS ON rGoS.src_id = dGo.doc_id
AND rGoS.src_obj = 'doc'
AND rGoS.dst_obj = 'tag'
AND rGoS.dst_id = 7
LEFT JOIN
flux_rapport rGoT ON rGoT.src_id = dGo.doc_id
AND rGoT.src_obj = 'doc'
AND rGoT.dst_obj = 'tag'
AND rGoT.dst_id <> 7
LEFT JOIN
flux_tag t ON t.tag_id = rGoT.dst_id
LEFT JOIN
flux_rapport rGoE ON rGoE.src_id = dGo.doc_id
AND rGoE.src_obj = 'doc'
AND rGoE.dst_obj = 'exi'
LEFT JOIN
flux_exi e ON e.exi_id = rGoE.dst_id
LEFT JOIN
flux_rapport rGoG ON rGoG.src_id = dGo.doc_id
AND rGoG.src_obj = 'doc'
AND rGoG.dst_obj = 'geo'
LEFT JOIN
flux_geo g ON g.geo_id = rGoG.dst_id
LEFT JOIN
flux_doc dv ON dv.parent = d.doc_id
WHERE d.type is null
GROUP BY d.doc_id
| true |
101d372f38b92717d4ad263890c153cea5696697 | SQL | R3DIANCE/WCPStandard | /Databases/WCPS-GameServer.sql | UTF-8 | 5,351 | 2.71875 | 3 | [
"MIT"
] | permissive | /*
SQLyog Community v13.1.1 (64 bit)
MySQL - 10.1.29-MariaDB : Database - wcps-server
*********************************************************************
*/
/*!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*/`wcps-server` /*!40100 DEFAULT CHARACTER SET latin1 */;
USE `wcps-server`;
/*Table structure for table `item_weapons` */
DROP TABLE IF EXISTS `item_weapons`;
CREATE TABLE `item_weapons` (
`id` smallint(5) unsigned NOT NULL,
`code` varchar(4) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
`active` tinyint(1) NOT NULL DEFAULT '0',
`name` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*Data for the table `item_weapons` */
insert into `item_weapons`(`id`,`code`,`active`,`name`) values
(0,'DA01',0,'DA_M7'),
(1,'DA02',1,'DA_KNUCKLE'),
(2,'DA03',0,'DA_STILETTO'),
(3,'DA04',0,'DA_SWORD'),
(7,'DB01',1,'DB_COLT'),
(8,'DB02',1,'DB_DESERT_EG'),
(9,'DB03',1,'DB_MP5K'),
(10,'DB04',1,'DB_MAGNUM'),
(11,'DB05',1,'DB_GLOCK'),
(12,'DB06',1,'DB_BERETTA_D'),
(13,'DB07',0,'DB_THROWING_KNIFE'),
(16,'DC01',1,'DC_AK47'),
(17,'DC02',1,'DC_K2'),
(18,'DC03',1,'DC_M4A1'),
(19,'DC04',1,'DC_FAMAS'),
(20,'DC05',1,'DC_L85A1'),
(21,'DC06',0,'DC_XM8'),
(22,'DC07',0,'DC_TYPE89'),
(23,'DC08',0,'DC_SIG550'),
(24,'DC09',1,'DC_TAR_21'),
(28,'DD01',1,'DD_G36C'),
(29,'DD02',1,'DD_G36C_D'),
(31,'DE01',1,'DE_G36'),
(32,'DE02',0,'DE_G36_D'),
(33,'DF01',1,'DF_MP5'),
(34,'DF02',1,'DF_P90'),
(35,'DF03',1,'DF_UZI'),
(36,'DF04',1,'DF_TMP9'),
(37,'DF05',1,'DF_K1'),
(38,'DF06',1,'DF_MP7A1'),
(39,'DF07',1,'DF_SCORPION_D'),
(40,'DF08',1,'DF_Spectre_M4'),
(44,'DG01',1,'DG_PSG_1'),
(45,'DG02',1,'DG_BARRETT_M82'),
(46,'DG03',1,'DG_AUG'),
(47,'DG04',1,'DG_SSG'),
(48,'DG05',1,'DG_M24'),
(49,'DG06',0,'DG_DRAGUNOV_SVD'),
(50,'DG07',1,'DG_AI_AW'),
(51,'DG08',1,'DG_AW50F'),
(56,'DH01',1,'DH_M60'),
(57,'DH02',1,'DH_M249'),
(58,'DI01',1,'DI_WINCHESTER_1300'),
(60,'DJ01',1,'DJ_PZF_3'),
(61,'DJ02',0,'DJ_M136AT_4'),
(62,'DJ03',1,'DJ_RPG_7'),
(63,'DJ04',0,'DJ_JAVELIN'),
(64,'DK01',1,'DK_STINGER'),
(65,'DK02',0,'DK_SG'),
(66,'DL01',1,'DL_TMA_1A'),
(67,'DL02',0,'DL_HA_SUPPLY'),
(68,'DM01',1,'DM_K400_GRENADE'),
(69,'DN01',1,'DN_K400_GRENADE_ASSULT'),
(70,'DO01',1,'DO_SMOKE_G'),
(71,'DO02',1,'DO_FLASH_BANG_1'),
(72,'DO03',0,'DO_FLASH_BANG_2'),
(73,'DP01',1,'DP_CLAYMORE'),
(74,'DP02',1,'DP_CLAYMORE_SWITCH'),
(75,'DP03',0,'DP_PDA'),
(76,'DP04',0,'DP_SWITCH_C4'),
(77,'DQ01',1,'DQ_MEDIC_KIT_1'),
(78,'DQ02',0,'DQ_MEDIC_KIT_2'),
(79,'DQ03',0,'DQ_MEDIC_KIT_3'),
(80,'DR01',1,'DR_SPANNER'),
(81,'DR02',1,'DR_PIPE_WRENCH'),
(82,'DS01',1,'DS_ADRENALINE'),
(83,'DS02',1,'DS_PARACHUTE'),
(84,'DS03',0,'DS_STAMINA'),
(86,'DX02',0,'DS_DETECTOR'),
(87,'DX01',1,'DS_TELESCOPE'),
(88,'DS05',1,'DS_FLASH_MINE'),
(89,'DH01',0,'DT_MG3'),
(90,'DH03',1,'DT_M134'),
(91,'DT03',1,'DT_MK1S'),
(92,'DT04',0,'DT_HK69'),
(93,'DU01',1,'DU_AMMO_BOX'),
(94,'DU02',1,'DU_M14'),
(95,'DU03',0,'DU_TEARGAS'),
(96,'DV01',1,'DV_MEDIC_BOX'),
(97,'DW01',0,'DW_K203'),
(98,'DW02',0,'DW_TELESCOPE'),
(99,'DW03',0,'DW_SILENCER'),
(100,'DW04',0,'DU_NIPPERS'),
(101,'DZ01',0,'DZ_HA_SUPPLY'),
(102,'D001',0,'D0_DRUM_PIECE'),
(103,'D101',1,'D1_SLOT_CHG_6TH');
/*Table structure for table `user_stats` */
DROP TABLE IF EXISTS `user_stats`;
CREATE TABLE `user_stats` (
`ID` bigint(20) unsigned NOT NULL,
`kills` bigint(20) unsigned NOT NULL DEFAULT '0',
`deaths` bigint(20) unsigned NOT NULL DEFAULT '0',
`headshots` bigint(20) unsigned NOT NULL DEFAULT '0',
`bombs_planted` bigint(20) unsigned NOT NULL DEFAULT '0',
`bombs_defused` bigint(20) unsigned NOT NULL DEFAULT '0',
`rounds_played` bigint(20) unsigned NOT NULL DEFAULT '0',
`flags_taken` bigint(20) unsigned NOT NULL DEFAULT '0',
`victories` bigint(20) unsigned NOT NULL DEFAULT '0',
`defeats` bigint(20) unsigned NOT NULL DEFAULT '0',
`vehicles_destroyed` bigint(20) unsigned NOT NULL DEFAULT '0',
KEY `user_stats_ibfk_1` (`ID`),
CONSTRAINT `user_stats_ibfk_1` FOREIGN KEY (`ID`) REFERENCES `users` (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*Data for the table `user_stats` */
insert into `user_stats`(`ID`,`kills`,`deaths`,`headshots`,`bombs_planted`,`bombs_defused`,`rounds_played`,`flags_taken`,`victories`,`defeats`,`vehicles_destroyed`) values
(1,10,1,0,0,0,0,0,0,0,0);
/*Table structure for table `users` */
DROP TABLE IF EXISTS `users`;
CREATE TABLE `users` (
`ID` bigint(20) unsigned NOT NULL,
`xp` bigint(20) unsigned NOT NULL DEFAULT '0',
`money` int(10) unsigned NOT NULL DEFAULT '30000',
`premium` tinyint(3) unsigned DEFAULT '0',
`premium_expiredate` bigint(20) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*Data for the table `users` */
insert into `users`(`ID`,`xp`,`money`,`premium`,`premium_expiredate`) values
(1,0,30000,0,0);
/*!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 |
4d030240cb4e1cf8450737d6790fbde58cbd75a1 | SQL | JLP752247248/sshdemo | /sss.sql | UTF-8 | 3,585 | 2.9375 | 3 | [] | no_license | /*
Navicat MySQL Data Transfer
Source Server : mysql
Source Server Version : 50527
Source Host : localhost:3306
Source Database : sss
Target Server Type : MYSQL
Target Server Version : 50527
File Encoding : 65001
Date: 2016-04-27 19:16:37
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for `dept`
-- ----------------------------
DROP TABLE IF EXISTS `dept`;
CREATE TABLE `dept` (
`deptId` int(11) NOT NULL DEFAULT '0',
`name` varchar(255) CHARACTER SET utf8 DEFAULT NULL,
`preDeptId` int(11) DEFAULT NULL,
PRIMARY KEY (`deptId`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- ----------------------------
-- Records of dept
-- ----------------------------
INSERT INTO `dept` VALUES ('0', '机构', null);
INSERT INTO `dept` VALUES ('1', '办公室', '0');
INSERT INTO `dept` VALUES ('2', '技术部', '0');
INSERT INTO `dept` VALUES ('3', '人事部', '0');
INSERT INTO `dept` VALUES ('4', '外联部', '0');
-- ----------------------------
-- Table structure for `emp`
-- ----------------------------
DROP TABLE IF EXISTS `emp`;
CREATE TABLE `emp` (
`empId` int(11) NOT NULL DEFAULT '0',
`name` varchar(255) DEFAULT NULL,
`deptId` int(11) DEFAULT NULL,
`salary` double DEFAULT NULL,
`sex` varchar(255) DEFAULT NULL,
PRIMARY KEY (`empId`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- ----------------------------
-- Records of emp
-- ----------------------------
INSERT INTO `emp` VALUES ('1', 'wangmei', '1', '3500', 'm');
INSERT INTO `emp` VALUES ('2', 'lilei', '2', '3600', 'w');
INSERT INTO `emp` VALUES ('3', 'liubei', '1', '4300', 'w');
INSERT INTO `emp` VALUES ('4', 'xiaoli', '2', '3800', 'm');
INSERT INTO `emp` VALUES ('5', 'doushi', '1', '2500', 'm');
INSERT INTO `emp` VALUES ('6', 'wangjin', '3', '5000', 'm');
INSERT INTO `emp` VALUES ('7', 'lianren', '2', '6800', 'w');
INSERT INTO `emp` VALUES ('8', 'fuck', '3', '5000', 'm');
INSERT INTO `emp` VALUES ('9', 'new', '2', '5000', 'm');
INSERT INTO `emp` VALUES ('10', 'hehe', '1', '3000', 'w');
INSERT INTO `emp` VALUES ('11', 'woca', '2', '2000', 'm');
INSERT INTO `emp` VALUES ('12', 'nimei', '3', '4000', 'w');
INSERT INTO `emp` VALUES ('13', 'tiana', '1', '6000', 'm');
INSERT INTO `emp` VALUES ('14', 'youxi', '3', '3800', 'w');
INSERT INTO `emp` VALUES ('15', 'silala', '1', '2900', 'm');
-- ----------------------------
-- Table structure for `sys_fileinfo`
-- ----------------------------
DROP TABLE IF EXISTS `sys_fileinfo`;
CREATE TABLE `sys_fileinfo` (
`fileId` varchar(20) NOT NULL,
`fileName` varchar(50) DEFAULT NULL,
`filePath` varchar(100) DEFAULT NULL,
`fileSize` double DEFAULT NULL,
`fileType` varchar(10) DEFAULT NULL,
PRIMARY KEY (`fileId`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- ----------------------------
-- Records of sys_fileinfo
-- ----------------------------
INSERT INTO `sys_userinfo` VALUES ('u1', 'user1', '1234', null);
INSERT INTO `sys_userinfo` VALUES ('u2', 'user2', '123', null);
-- ----------------------------
-- Table structure for `sys_userrole`
-- ----------------------------
DROP TABLE IF EXISTS `sys_userrole`;
CREATE TABLE `sys_userrole` (
`userroleid` varchar(20) NOT NULL,
`userid` varchar(20) NOT NULL,
`roleid` varchar(20) NOT NULL,
PRIMARY KEY (`userroleid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- ----------------------------
-- Records of sys_userrole
-- ----------------------------
INSERT INTO `sys_userrole` VALUES ('ur1', 'u1', 'r1');
| true |
42f8ca50ce40a8dd91d77d093999fff53fdc2929 | SQL | soreak/datebase | /chengzhi.sql | UTF-8 | 2,690 | 3.75 | 4 | [] | no_license | /*==============================================================*/
/* DBMS name: MySQL 5.0 */
/* Created on: 2020/4/13 19:39:40 */
/*==============================================================*/
drop table if exists CheckIn;
drop table if exists Course;
drop table if exists Student;
drop table if exists TimeTable;
/*==============================================================*/
/* Table: CheckIn */
/*==============================================================*/
create table CheckIn
(
stuID int(9),
isCheckIn boolean not null,
checkInTime datetime not null
);
/*==============================================================*/
/* Table: Course */
/*==============================================================*/
create table Course
(
couID int not null auto_increment,
tableID int,
couName varchar(20) not null,
couRoom varchar(20) not null,
couWeekType int not null,
couStartNodes int not null,
couEndNodes int not null,
couStartWeek int not null,
couEndWeek int not null,
couTeacher varchar(10) not null,
couWeek int not null,
primary key (couID)
);
/*==============================================================*/
/* Table: Student */
/*==============================================================*/
create table Student
(
stuID int(9) not null,
eduPassword varchar(20) not null,
leavePassword varchar(20) not null,
primary key (stuID)
);
/*==============================================================*/
/* Table: TimeTable */
/*==============================================================*/
create table TimeTable
(
tableID int not null auto_increment,
stuID int(9),
tableName varchar(10) not null,
tableItems varchar(100) not null,
primary key (tableID)
);
alter table CheckIn add constraint "FK_stuID-Check" foreign key (stuID)
references Student (stuID) on delete restrict on update restrict;
alter table Course add constraint FK_tableID foreign key (tableID)
references TimeTable (tableID) on delete restrict on update restrict;
alter table TimeTable add constraint "FK_stuID-Table" foreign key (stuID)
references Student (stuID) on delete restrict on update restrict;
| true |
0f68614e40554b1cefd9df91457ca9ab770eec8b | SQL | bishwan00/ko.chat | /DataBase/project.sql | UTF-8 | 4,383 | 3.140625 | 3 | [] | no_license | -- phpMyAdmin SQL Dump
-- version 5.0.4
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Apr 25, 2021 at 07:29 PM
-- Server version: 10.4.17-MariaDB
-- PHP Version: 8.0.2
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: `project`
--
-- --------------------------------------------------------
--
-- Table structure for table `message`
--
CREATE TABLE `message` (
`message_text` varchar(255) NOT NULL,
`income_id` int(255) NOT NULL,
`outgo_id` int(255) NOT NULL,
`msg_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `message`
--
INSERT INTO `message` (`message_text`, `income_id`, `outgo_id`, `msg_id`) VALUES
('rttt', 3, 2, 259),
('hii', 2, 3, 260),
('hii', 2, 3, 261);
-- --------------------------------------------------------
--
-- Table structure for table `sarokbash`
--
CREATE TABLE `sarokbash` (
`department` varchar(32) NOT NULL,
`e-mail` varchar(32) NOT NULL,
`password` varchar(32) NOT NULL,
`id` int(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `sarokbash`
--
INSERT INTO `sarokbash` (`department`, `e-mail`, `password`, `id`) VALUES
('Software', 'software', 'software', 1),
('manufacturing', 'manufacturing', 'manufacturing', 2),
('Chemical', 'Chemical', 'Chemical', 3),
('Petroleum', 'Petroleum', 'Petroleum', 4),
('Architectural', 'Architectural', 'Architectural', 5),
('Geotechnical', 'Geotechnical', 'Geotechnical', 6),
('Civil', 'Civil', 'Civil', 7);
-- --------------------------------------------------------
--
-- Table structure for table `user`
--
CREATE TABLE `user` (
`first_name` varchar(32) NOT NULL,
`last_name` varchar(32) NOT NULL,
`email` varchar(32) NOT NULL,
`password` varchar(32) NOT NULL,
`department` varchar(32) NOT NULL,
`stage` varchar(32) NOT NULL,
`id` int(11) NOT NULL,
`active` tinyint(4) NOT NULL DEFAULT 0,
`type` int(1) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `user`
--
INSERT INTO `user` (`first_name`, `last_name`, `email`, `password`, `department`, `stage`, `id`, `active`, `type`) VALUES
('software', '', 'software@gmail.com', 'f9fa10ba956cacf91d7878861139efb9', 'Software', '', 2, 0, 1),
('civil', '', 'civil@gmail.com', '6af2462065474ec7892340e39339eb38', 'Civil', '', 3, 1, 1),
('geotechnical', '', 'geotechnical@gmail.com', '7171c513fa4d8190e24bb2b58a38ecc1', 'Geotechnical', '', 4, 0, 1),
('manufacturing', '', 'manufacturing@gmail.com', '8d31d9aa2193cbd93731d668fe8caadc', 'Manufacturing', '', 5, 0, 1),
('architectural', '', 'architectural@gmail.com', '1cf218adfda3ae9fe7f80e1eadf55a86', 'Architectural', '', 6, 0, 1),
('petroleum', '', 'petroleum@gmail.com', '0358848c0b5d6b9b7cd066ec637dcf51', 'Petroleum', '', 7, 0, 1),
('chemical', '', 'chemical@gmail.com', '56d1917e55aca701c3e301c748cb6139', 'Chemical', '', 8, 0, 1),
('BISHWAN', 'SHERKO', 'bishwan@yahoo.com', '335504fd0c7a222a5a70dcf9e99f0f10', 'Software', '2', 51, 0, 0);
-- --------------------------------------------------------
--
-- Table structure for table `yadag`
--
CREATE TABLE `yadag` (
`first_name` varchar(32) NOT NULL,
`last_name` varchar(32) NOT NULL,
`email` varchar(32) NOT NULL,
`password` varchar(32) NOT NULL,
`department` varchar(32) NOT NULL,
`stage` varchar(32) NOT NULL,
`id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Indexes for dumped tables
--
--
-- Indexes for table `message`
--
ALTER TABLE `message`
ADD PRIMARY KEY (`msg_id`);
--
-- Indexes for table `user`
--
ALTER TABLE `user`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `yadag`
--
ALTER TABLE `yadag`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `message`
--
ALTER TABLE `message`
MODIFY `msg_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=262;
--
-- AUTO_INCREMENT for table `user`
--
ALTER TABLE `user`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=52;
--
-- AUTO_INCREMENT for table `yadag`
--
ALTER TABLE `yadag`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=78;
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 |
68a6c9a00292850a4fb2f885685ef4614c98eafc | SQL | AnthonyTrinh8/AnyTrak | /tables/database_setup.sql | UTF-8 | 6,752 | 3.21875 | 3 | [] | no_license | -- phpMyAdmin SQL Dump
-- version 4.9.2
-- https://www.phpmyadmin.net/
--
-- Host: classmysql.engr.oregonstate.edu:3306
-- Generation Time: Mar 19, 2020 at 04:27 AM
-- Server version: 10.4.11-MariaDB-log
-- PHP Version: 7.0.33
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: `cs340_trinhan`
--
-- --------------------------------------------------------
--
-- Table structure for table `diagnostic`
--
DROP TABLE IF EXISTS `diagnostic`;
CREATE TABLE `diagnostic` (
`id` int(11) NOT NULL,
`text` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `diagnostic`
--
INSERT INTO `diagnostic` (`id`, `text`) VALUES
(1, 'MySQL is Working!');
-- --------------------------------------------------------
--
-- Table structure for table `Routes`
--
DROP TABLE IF EXISTS `Routes`;
CREATE TABLE `Routes` (
`routeID` int(11) NOT NULL,
`trainID` int(11) NOT NULL,
`routename` varchar(255) NOT NULL,
`ticketprice` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `Routes`
--
INSERT INTO `Routes` (`routeID`, `trainID`, `routename`, `ticketprice`) VALUES
(1, 1, 'Coastal Waters', 25),
(2, 4, 'Downtown Dive', 59),
(3, 6, 'Coastal Starlight', 88),
(4, 9, 'Acela Express', 15),
(5, 7, 'Maple Leaf', 42),
(6, 6, 'Lake Shore Limited', 125);
-- --------------------------------------------------------
--
-- Table structure for table `RoutesThruStations`
--
DROP TABLE IF EXISTS `RoutesThruStations`;
CREATE TABLE `RoutesThruStations` (
`routesthrustationsID` int(11) NOT NULL,
`routeID` int(11) NOT NULL,
`stationID` int(11) NOT NULL,
`travelduration` int(11) NOT NULL,
`milestraveled` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `RoutesThruStations`
--
INSERT INTO `RoutesThruStations` (`routesthrustationsID`, `routeID`, `stationID`, `travelduration`, `milestraveled`) VALUES
(3, 2, 4, 0, 0),
(4, 1, 1, 0, 0),
(5, 1, 4, 500, 350),
(6, 2, 4, 500, 325),
(7, 3, 2, 0, 0),
(8, 3, 4, 305, 242),
(9, 3, 2, 300, 250),
(10, 4, 2, 0, 0),
(11, 1, 4, 125, 60),
(12, 4, 4, 300, 253),
(14, 5, 1, 0, 0),
(15, 6, 4, 0, 0),
(16, 6, 2, 353, 323);
-- --------------------------------------------------------
--
-- Table structure for table `Stations`
--
DROP TABLE IF EXISTS `Stations`;
CREATE TABLE `Stations` (
`stationID` int(11) NOT NULL,
`stationname` varchar(255) NOT NULL,
`address` varchar(255) NOT NULL,
`state` varchar(255) NOT NULL,
`city` varchar(255) NOT NULL,
`zipcode` int(5) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `Stations`
--
INSERT INTO `Stations` (`stationID`, `stationname`, `address`, `state`, `city`, `zipcode`) VALUES
(1, 'Boston Field', '7238 Harrison Street', 'NJ', 'Parsippany', 7054),
(2, 'Calico', '7248 High Street', 'CA', 'Atwater', 95301),
(4, 'Coastal Point', '449 Annadale Ave', 'GA', 'Woodstock', 30188);
-- --------------------------------------------------------
--
-- Table structure for table `Trains`
--
DROP TABLE IF EXISTS `Trains`;
CREATE TABLE `Trains` (
`trainID` int(11) NOT NULL,
`stationID` int(11) DEFAULT NULL,
`model` varchar(255) NOT NULL,
`cost` int(11) NOT NULL,
`capacity` int(11) NOT NULL,
`conductorfirstname` varchar(255) NOT NULL,
`conductorlastname` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `Trains`
--
INSERT INTO `Trains` (`trainID`, `stationID`, `model`, `cost`, `capacity`, `conductorfirstname`, `conductorlastname`) VALUES
(1, 1, 'SpeedRail 255', 250000, 300, 'Mark', 'Stevens'),
(2, NULL, 'SpeedRail 1080', 850579, 150, 'John', 'Rogers'),
(3, 4, 'OnTrack V1', 1000000, 100, 'Hawley', 'Marks'),
(4, 2, 'The Bullet', 25030424, 175, 'Ben', 'Simmons'),
(5, 2, 'Speedster', 1500000, 250, 'Stan', 'Smith'),
(6, 1, 'Sportster', 2000000, 250, 'Tony', 'Hawk'),
(7, 2, 'Sportster', 2500000, 500000, 'Mark', 'Adams'),
(8, 1, 'Trackster', 5000000, 400, 'Tom', 'Wilder'),
(9, 1, 'Roadster V2', 2500000, 500, 'John', 'Rogers');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `diagnostic`
--
ALTER TABLE `diagnostic`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `Routes`
--
ALTER TABLE `Routes`
ADD PRIMARY KEY (`routeID`),
ADD UNIQUE KEY `routename` (`routename`),
ADD KEY `trainID` (`trainID`);
--
-- Indexes for table `RoutesThruStations`
--
ALTER TABLE `RoutesThruStations`
ADD PRIMARY KEY (`routesthrustationsID`),
ADD KEY `routeID` (`routeID`),
ADD KEY `stationID` (`stationID`);
--
-- Indexes for table `Stations`
--
ALTER TABLE `Stations`
ADD PRIMARY KEY (`stationID`),
ADD UNIQUE KEY `stationname` (`stationname`);
--
-- Indexes for table `Trains`
--
ALTER TABLE `Trains`
ADD PRIMARY KEY (`trainID`),
ADD KEY `stationID` (`stationID`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `diagnostic`
--
ALTER TABLE `diagnostic`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `Routes`
--
ALTER TABLE `Routes`
MODIFY `routeID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
--
-- AUTO_INCREMENT for table `RoutesThruStations`
--
ALTER TABLE `RoutesThruStations`
MODIFY `routesthrustationsID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17;
--
-- AUTO_INCREMENT for table `Stations`
--
ALTER TABLE `Stations`
MODIFY `stationID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT for table `Trains`
--
ALTER TABLE `Trains`
MODIFY `trainID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;
--
-- Constraints for dumped tables
--
--
-- Constraints for table `Routes`
--
ALTER TABLE `Routes`
ADD CONSTRAINT `routes_ibfk_1` FOREIGN KEY (`trainID`) REFERENCES `Trains` (`trainID`);
--
-- Constraints for table `RoutesThruStations`
--
ALTER TABLE `RoutesThruStations`
ADD CONSTRAINT `RoutesThruStations_ibfk_1` FOREIGN KEY (`routeID`) REFERENCES `Routes` (`routeID`) ON DELETE CASCADE,
ADD CONSTRAINT `RoutesThruStations_ibfk_2` FOREIGN KEY (`stationID`) REFERENCES `Stations` (`stationID`) ON DELETE CASCADE;
--
-- Constraints for table `Trains`
--
ALTER TABLE `Trains`
ADD CONSTRAINT `Trains_ibfk_1` FOREIGN KEY (`stationID`) REFERENCES `Stations` (`stationID`) ON DELETE SET NULL;
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 |
8122a75abd66946396273786d2dd4ce54ff8e30c | SQL | mayank-94/spring-boot-jdbc | /sql/department.sql | UTF-8 | 616 | 2.921875 | 3 | [] | no_license | CREATE TABLE department
(
id integer not null,
dep_id integer not null,
dept_name varchar(255) not null,
salary integer
);
INSERT INTO department (id, dep_id, dept_name, salary)
VALUES (10001, 101, 'Accounts', 36000);
INSERT INTO department (id, dep_id, dept_name, salary)
VALUES (10002, 102, 'Infrastructure', 75000);
INSERT INTO department (id, dep_id, dept_name, salary)
VALUES (10003, 101, 'Accounts', 38000);
INSERT INTO department (id, dep_id, dept_name, salary)
VALUES (10009, 103, 'Engineering', 66000);
INSERT INTO department (id, dep_id, dept_name, salary)
VALUES (10008, 104, 'Research', 78000); | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.