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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
e5b068f710845485226d881165ffdd65c3ca1d8a | SQL | syi26/cs564 | /cs564/syi26_P4/query4_opt.sql | UTF-8 | 430 | 3.984375 | 4 | [] | no_license | --.timer on
select
o_orderpriority,
count(*) as order_count
from
orders indexed by O_ODOP_KEY
where
o_orderdate >= "1993-07-01" --'[DATE]'
and o_orderdate < "1993-10-01" --'[DATE]'
and exists (
select
l_shipdate, l_commitdate, l_receiptdate
from
lineitem indexed by L_OCR_KEY
where
l_orderkey = o_orderkey
and l_commitdate < l_receiptdate
)
group by
o_orderpriority
order by
o_orderpriority;
| true |
ac7d661701b36bbd3702eb1978c74dd7bb5c4138 | SQL | anhducc13/Dictionary-oop | /Dictionary/dist/data/dictionary.sql | UTF-8 | 332,042 | 2.765625 | 3 | [] | no_license | -- phpMyAdmin SQL Dump
-- version 4.7.4
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Oct 21, 2018 at 08:51 AM
-- Server version: 10.1.28-MariaDB
-- PHP Version: 7.1.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: `dictionary`
--
-- --------------------------------------------------------
--
-- Table structure for table `my_dic`
--
CREATE TABLE `my_dic` (
`word_taget` varchar(255) NOT NULL,
`word_explain` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `my_dic`
--
INSERT INTO `my_dic` (`word_taget`, `word_explain`) VALUES
('grandmother', 'bà nội, bà ngoại'),
('grandfather', 'ông nội, ông ngoại'),
('mother', 'mẹ'),
('father', 'bố'),
('uncle', 'cậu, chú, bác'),
('sister', 'chị em gái'),
('brother', 'anh em trai'),
('brother-in-law', 'anh rể, em rể'),
('niece', 'cháu gái'),
('nephew', 'cháu trai'),
('war', 'chiến tranh'),
('shoe', 'giày'),
('fake', 'giả mạo'),
('hello', 'xin chào'),
('abandoned', 'bị bỏ rơi'),
('overflow', 'tràn ra'),
('unable', 'không thể'),
('sdj', 'accav,edde'),
('trophy', 'cup'),
('absence', 'vắng mặt'),
('head', 'đầu'),
('absolute', 'tuyệt đối'),
('absolutely', 'chắc chắn rồi'),
('absorb', 'hấp thụ'),
('academic', 'học tập'),
('accent', 'trọng âm'),
('accept', 'Chấp nhận'),
('account', 'tài khoản'),
('accidentally', 'vô tình'),
('accommodation', 'chỗ ở'),
('accompany', 'đi cùng'),
('account', 'tài khoản'),
('accurate', 'chính xác'),
('accurately', 'chính xác'),
('accuse', 'cáo buộc'),
('achieve', 'Hoàn thành'),
('achievement', 'thành tích'),
('acknowledge', 'công nhận'),
('acquire', 'có được, thu được'),
('across', 'băng qua'),
('action', 'hoạt động'),
('hair', 'tóc'),
('active', 'hoạt động'),
('actively', 'chủ động'),
('baby', 'em bé'),
('loan', 'tiền cho vay'),
('club', 'câu lạc bộ'),
('exit', 'thoát'),
('eclipse', 'hình elip'),
('hi', 'xin chào'),
('a bit', 'một chút, một tí'),
('a few', 'một ít, một vài'),
('a little', 'nhỏ, một ít'),
('abandon', 'bỏ, từ bỏ'),
('abandoned', 'bị bỏ rơi, bị ruồng bỏ'),
('ability', 'khả năng, năng lực'),
('able', 'có năng lực, có tài'),
('about', 'khoảng, về'),
('above', 'ở trên, lên trên'),
('abroad', 'ở, ra nước ngoài, ngoài trời'),
('absence', 'sự vắng mặt'),
('absent', 'vắng mặt, nghỉ'),
('absolute', 'tuyệt đối, hoàn toàn'),
('absolutely', 'tuyệt đối, hoàn toàn'),
('absorb', 'thu hút, hấp thu, lôi cuốn'),
('abuse', 'lộng hành, lạm dụng'),
('academic', 'thuộc học viện, đh, viện hàn lâm'),
('accent', 'trọng âm, dấu trọng âm'),
('accept', 'chấp nhận, chấp thuận'),
('acceptable', 'có thể chấp nhận, chấp thuận'),
('access', 'lối, cửa, đường vào'),
('accident', 'tai nạn, rủi ro'),
('accidental', 'tình cờ, bất ngờ'),
('accidentally', 'tình cờ, ngẫu nhiên'),
('accommodation', 'sự thích nghi, điều tiết'),
('accompany', 'đi theo, đi cùng, kèm theo'),
('according to', 'theo, y theo'),
('account', 'tài khoản, kế toán; tính toán, tính đến'),
('accurate', 'đúng đắn, chính xác, xác đáng'),
('accurately', 'đúng đắn, chính xác'),
('accuse', 'tố cáo, buộc tội, kết tội'),
('achieve', 'đạt được, dành được'),
('achievement', 'thành tích, thành tựu'),
('acid', 'axit'),
('acknowledge', 'công nhận, thừa nhận'),
('acquire', 'dành được, đạt được, kiếm được'),
('across', 'qua, ngang qua'),
('act', 'hành động, hành vi, cử chỉ, đối xử'),
('action', 'hành động, hành vi, tác động'),
('active', 'tích cực hoạt động, nhanh nhẹn'),
('actor', 'diễn viên'),
('actress', 'diễn viên'),
('actual', 'thực tế, có thật'),
('actually', 'hiện nay, hiện tại'),
('adapt', 'tra, lắp vào'),
('add', 'cộng, thêm vào'),
('addition', 'tính cộng, phép cộng'),
('additional', 'thêm vào, tăng thêm'),
('address', 'địa chỉ, đề địa chỉ'),
('adequate', 'đầy, đầy đủ'),
('adequately', 'tương xứng, thỏa đáng'),
('adjust', 'sửa lại cho đúng, điều chỉnh'),
('admiration', 'sự khâm phục,người kp, thán phục'),
('admire', 'khâm phục, thán phục'),
('admit', 'nhận vào, cho vào, kết hợp'),
('adopt', 'nhận làm con nuôi, bố mẹ nuôi'),
('adult', 'người lớn, người trưởng thành; trưởng thành'),
('advance', 'sự tiến bộ, tiến lên; đưa lên, đề xuất'),
('advanced', 'tiên tiến, tiến bộ, cấp cao'),
('advantage', 'sự thuận lợi, lợi ích, lợi thế'),
('adventure', 'sự phiêu lưu, mạo hiểm'),
('advertise', 'báo cho biết, báo cho biết trước'),
('advertisement', 'quảng cáo'),
('advertising', 'sự quảng cáo, nghề quảng cáo'),
('advice', 'lời khuyên, lời chỉ bảo'),
('advise', 'khuyên, khuyên bảo, răn bảo'),
('affair', 'việc'),
('affect', 'làm ảnh hưởng, tác động đến'),
('afford', 'có thể, có đủ khả năng, điều kiện'),
('afraid', 'sợ, sợ hãi, hoảng sợ'),
('after', 'sau, đằng sau, sau khi'),
('afternoon', 'buổi chiều'),
('afterwards', 'sau này, về sau, rồi thì, sau đấy'),
('again', 'lại, nữa, lần nữa'),
('against', 'chống lại, phản đối'),
('age', 'tuổi'),
('aged', 'già đi'),
('agency', 'tác dụng, lực; môi giới, trung gian'),
('agent', 'đại lý, tác nhân'),
('aggressive', 'xâm lược, hung hăng'),
('ago', 'trước đây'),
('agree', 'đồng ý, tán thành'),
('agreement', 'sự đồng ý, tán thành; hiệp định, hợp đồng'),
('ahead', 'trước, về phía trước'),
('aid', 'sự giúp đỡ; thêm vào, phụ vào'),
('aim', 'sự nhắm , mục tiêu, ý định; nhắm, tập trung, hướng vào'),
('air', 'không khí, bầu không khí, không gian'),
('aircraft', 'máy bay, khí cầu'),
('alarm', 'báo động, báo nguy'),
('alarming', 'làm lo sợ, làm hốt hoảng, làm sợ hãi'),
('alcohol', 'rượu cồn'),
('alcoholic', 'rượu; người nghiện rượu'),
('alive', 'sống, vẫn còn sống, còn tồn tại'),
('all', 'tất cả'),
('all right', 'tốt, ổn, khỏe mạnh; được'),
('allied', 'lien minh, đồng minh, thông'),
('allow', 'cho phép, để cho'),
('ally', 'nước đồng minh, liên minh; liên kết, lien minh, kết thông gia'),
('alone', 'cô đơn, một mình'),
('along', 'dọc theo, theo; theo chiều dài, suốt theo'),
('alongside', 'sát cạnh, kế bên, dọc theo'),
('aloud', 'lớn tiếng, to tiếng'),
('alphabet', 'bảng chữ cái, bước đầu, điều cơ bản'),
('alphabetical', 'thuộc bảng chứ cái'),
('alphabetically', 'theo thứ tự abc'),
('already', 'đã, rồi, đã… rồi'),
('also', 'cũng, cũng vậy, cũng thế'),
('alter', 'thay đổi, biến đổi, sửa đổi'),
('alternative', 'sự lựa chọn; lựa chọn'),
('although', 'mặc dù, dẫu cho'),
('altogether', 'hoàn toàn, hầu như; nói chung'),
('always', 'luôn luôn'),
('amaze', 'làm ngạc nhiên, làm sửng sốt'),
('amazed', 'kinh ngạc, sửng sốt'),
('amazing', 'kinh ngạc, sửng sốt'),
('ambition', 'hoài bão, khát vọng'),
('ambulance', 'xe cứu thương, xe cấp cứu'),
('among', 'giữa, ở giữa'),
('amount', 'số lượng, số nhiều; lên tới'),
('amuse', 'làm cho vui, thích, làm buồn cười'),
('amused', 'vui thích'),
('amusing', 'vui thích'),
('analyse', 'phân tích'),
('analysis', 'sự phân tích'),
('ancient', 'xưa, cổ'),
('and', 'và'),
('anger', 'sự tức giận, sự giận dữ'),
('angle', 'góc'),
('angrily', 'tức giận, giận dữ'),
('angry', 'giận, tức giận'),
('animal', 'động vật, thú vật'),
('ankle', 'mắt cá chân'),
('anniversary', 'ngày, lễ kỉ niệm'),
('announce', 'báo, thông báo'),
('annoy', 'chọc tức, làm bực mình; làm phiền, quẫy nhiễu'),
('annoyed', 'bị khó chịu, bực mình, bị quấy rầy'),
('annoying', 'chọc tức, làm bực mình; làm phiền, quẫy nhiễu'),
('annual', 'hàng năm, từng năm'),
('annually', 'hàng năm, từng năm'),
('another', 'khác'),
('answer', 'sự trả lời; trả lời'),
('anti- prefix', 'chống lại'),
('anticipate', 'thấy trước, chặn trước, lường trước'),
('anxiety', 'mối lo âu, sự lo lắng'),
('anxious', 'lo âu, lo lắng, băn khoăn'),
('anxiously', 'lo âu, lo lắng, băn khoăn'),
('any', 'một người, vật nào đó; bất cứ; một chút nào, tí nào'),
('anyone', 'người nào, bất cứ ai'),
('anything', 'việc gì, vật gì; bất cứ việc gì, vật gì'),
('anyway', 'thế nào cũng được, dù sao chăng nữa'),
('anywhere', 'bất cứ chỗ nào, bất cứ nơi đâu'),
('apart', 'về một bên, qua một bên'),
('apart from', 'ngoài… ra'),
('apartment', 'căn phòng, căn buồng'),
('apologize', 'xin lỗi, tạ lỗi'),
('apparent', 'rõ ràng, rành mạch; bề ngoài, có vẻ'),
('apparently', 'nhìn bên ngoài, hình như'),
('appeal', 'sự kêu gọi, lời kêu gọi; kêu gọi, cầu khẩn'),
('appear', 'xuất hiện, hiện ra, trình diện'),
('appearance', 'sự xuất hiện, sự trình diện'),
('apple', 'quả táo'),
('application', 'sự gắn vào, vật gắn vào; sự chuyên cần, chuyên tâm'),
('apply', 'gắn vào, ghép vào, áp dụng vào'),
('appoint', 'bổ nhiệm, chỉ định, chọn'),
('appointment', 'sự bổ nhiệm, người được bổ nhiệm'),
('appreciate', 'thấy rõ; nhận thức'),
('approach', 'đến gần, lại gần; sự đến gần, sự lại gần'),
('appropriate', 'thích hợp, thích đáng'),
('approval', 'sự tán thành, đồng ý, sự chấp thuận'),
('approve', 'tán thành, đồng ý, chấp thuận'),
('approving', 'tán thành, đồng ý, chấp thuận'),
('approximate', 'giống với, giống hệt với'),
('approximately', 'khoảng chừng, độ chừng'),
('april', 'tháng tư'),
('area', 'diện tích, bề mặt'),
('argue', 'chứng tỏ, chỉ rõ'),
('argument', 'lý lẽ'),
('arise', 'xuất hiện, nảy ra, nảy sinh ra'),
('arm', 'cánh tay; vũ trang, trang bị'),
('armed', 'vũ trang'),
('arms', 'vũ khí, binh giới, binh khí'),
('army', 'quân đội'),
('around', 'xung quanh, vòng quanh'),
('arrange', 'sắp xếp, sắp đặt, sửa soạn'),
('arrangement', 'sự sắp xếp, sắp đặt, sự sửa soạn'),
('arrest', 'bắt giữ, sự bắt giữ'),
('arrival', 'sự đến, sự tới nơi'),
('arrow', 'tên, mũi tên'),
('art', 'nghệ thuật, mỹ thuật'),
('article', 'bài báo, đề mục'),
('artificial', 'nhân tạo'),
('artificially', 'nhân tạo'),
('artist', 'nghệ sĩ'),
('artistic', 'thuộc nghệ thuật, thuộc mỹ thuật'),
('as', 'như'),
('as soon as', 'ngay khi'),
('as well', 'cũng, cũng như'),
('ashamed', 'ngượng, xấu hổ'),
('aside', 'về một bên, sang một bên'),
('aside from', 'ngoài ra, trừ ra'),
('ask', 'hỏi'),
('asleep', 'ngủ, đang ngủ'),
('aspect', 'vẻ bề ngoài, diện mạo'),
('assist', 'giúp, giúp đỡ; tham dự, có mặt'),
('assistance', 'sự giúp đỡ'),
('assistant', 'người giúp đỡ, người phụ tá; giúp đỡ, phụ tá'),
('associate', 'kết giao, liên kết, kết hợp, cho cộng tác'),
('associated with', 'liên kết với'),
('association', 'sự kết hợp, sự liên kết'),
('assume', 'mang, khoác, có, lấy'),
('assure', 'đảm bảo, cam đoan'),
('at first', 'trực tiếp'),
('at least', 'ít ra, ít nhất, chí ít'),
('atmosphere', 'khí quyển'),
('atom', 'nguyên tử'),
('attach', 'gắn, dán, trói, buộc'),
('attached', 'gắn bó'),
('attack', 'sự tấn công, sự công kích; tấn công, công kích'),
('attempt', 'sự cố gắng, sự thử; cố gắng, thử'),
('attempted', 'cố gắng, thử'),
('attend', 'dự, có mặt'),
('attention', 'sự chú ý'),
('attitude', 'thái độ, quan điểm'),
('attorney', 'người được ủy quyền'),
('attract', 'hút; thu hút, hấp dẫn'),
('attraction', 'sự hút, sức hút'),
('attractive', 'hút, thu hút, có duyên, lôi cuốn'),
('audience', 'thính, khan giả'),
('august', 'tháng tám'),
('aunt', 'cô, dì'),
('author', 'tác giả'),
('authority', 'uy quyền, quyền lực'),
('automatic', 'tự động'),
('autumn', 'mùa thu'),
('available', 'có thể dùng được, có giá trị, hiệu lực'),
('average', 'trung bình, số trung bình, mức trung bình'),
('avoid', 'tránh, tránh xa'),
('awake', 'đánh thức, làm thức dậy'),
('award', 'phần thưởng; tặng, thưởng'),
('aware', 'biết, nhận thức, nhận thức thấy'),
('away', 'xa, xa cách, rời xa, đi xa'),
('awful', 'oai nghiêm, dễ sợ'),
('awkward', 'vụng về, lung túng'),
('back', 'lưng, về phía sau, trở lại'),
('background', 'phía sau; nền'),
('backward', 'về phía sau, lùi lại'),
('bacteria', 'vi khuẩn'),
('bad', 'xấu, tồi'),
('bad-tempered', 'xấu tính, dễ nổi cáu'),
('badly', 'xấu, tồi'),
('bag', 'bao, túi, cặp xách'),
('baggage', 'hành lý'),
('bake', 'nung, nướng bằng lò'),
('balance', 'cái cân; làm cho cân bằng, tương xứng'),
('ball', 'quả bóng'),
('ban', 'cấm, cấm chỉ; sự cấm'),
('band', 'băng, đai, nẹp'),
('bandage', 'dải băng; băng bó'),
('bank', 'bờ , đê'),
('bar', 'quán bán rượu'),
('bargain', 'sự mặc cả, sự giao kèo mua bán'),
('barrier', 'đặt chướng ngại vật'),
('base', 'cơ sở, cơ bản, nền móng; đặt tên, đặt cơ sở trên cái gì'),
('basic', 'cơ bản, cơ sở'),
('basically', 'cơ bản, về cơ bản'),
('basis', 'nền tảng, cơ sở'),
('bath', 'sự tắm'),
('bathroom', 'buồng tắm, nhà vệ sinh'),
('battery', 'pin, ắc quy'),
('battle', 'trận đánh, chiến thuật'),
('bay', 'gian ; bays: vòng nguyệt quế'),
('be going to', 'sắp sửa, có ý định'),
('be sick', 'bị ốm'),
('beach', 'bãi biển'),
('beak', 'mỏ chim'),
('bear', 'mang, cầm, vác, đeo, ôm'),
('beard', 'râu'),
('beat', 'tiếng đập, sự đập; đánh đập, đấm'),
('beautiful', 'đẹp'),
('beautifully', 'tốt đẹp, đáng hài lòng'),
('beauty', 'vẻ đẹp, cái đẹp; người đẹp'),
('because', 'bởi vì, vìbecause of prep. vì, do bởi'),
('become', 'trở thành, trở nên'),
('bed', 'cái giường'),
('bedroom', 'phòng ngủ'),
('beef', 'thịt bò'),
('beer', 'rượu bia'),
('before', 'trước, đằng trước'),
('begin', 'bắt đầu, khởi đầu'),
('beginning', 'phần đầu, lúc bắt đầu, lúc khởi đầu'),
('behalf', 'sự thay mặt'),
('behave', 'đối xử, ăn ở, cư xử'),
('behind', 'sau, ở đằng sau'),
('belief', 'lòng tin, đức tin, sự tin tưởng'),
('believe', 'tin, tin tưởng'),
('bell', 'cái chuông, tiếng chuông'),
('belong', 'thuộc về, của, thuộc quyền sở hữu'),
('below', 'ở dưới, dưới thấp, phía dưới'),
('belt', 'dây lưng, thắt lưng'),
('bend', 'chỗ rẽ, chỗ uốn; khuỷu tay; cúi xuống, uốn cong'),
('beneath', 'ở dưới, dưới thấp'),
('benefit', 'lợi, lợi ích; giúp ích, làm lợi cho'),
('bent', 'khiếu, sở thích, khuynh hướng'),
('beside', 'bên cạnh, so với'),
('bet', 'đánh cuộc, cá cược; sự đánh cuộc'),
('betting', 'sự đánh cuộc'),
('between', 'giữa, ở giữa'),
('beyond', 'ở xa, phía bên kia'),
('bicycle', 'xe đạp'),
('bid', 'đặt giá, trả giá; sự đặt giá, sự trả giá'),
('big', 'to, lớn'),
('bill', 'hóa đơn, giấy bạc'),
('bin', 'thùng, thùng đựng rượu'),
('biology', 'sinh vật học'),
('bird', 'chim'),
('birth', 'sự ra đời, sự sinh đẻ'),
('birthday', 'ngày sinh, sinh nhật'),
('biscuit', 'bánh quy'),
('bit', 'miếng, mảnh'),
('bite', 'cắn, ngoạm; sự cắn, sự ngoạm'),
('bitter', 'đắng; đắng cay, chua xót'),
('bitterly', 'đắng, đắng cay, chua xót'),
('black', 'đen; màu đen'),
('blade', 'lưỡi'),
('blame', 'khiển trách, mắng trách; sự khiển trách, sự mắng trách'),
('blank', 'trống, để trắng; sự trống rỗng'),
('blankly', 'ngây ra, không có thần'),
('blind', 'đui, mù'),
('block', 'khối, tảng ; làm ngăn cản, ngăn chặn'),
('blonde', 'hoe vàng, mái tóc hoe vàng'),
('blood', 'máu, huyết; sự tàn sát, chem giết'),
('blow', 'nở hoa; sự nở hoa'),
('blue', 'xanh, màu xanh'),
('board', 'tấm ván; lát ván, lót ván'),
('boat', 'tàu, thuyền'),
('body', 'thân thể, thân xác'),
('boil', 'sôi, luộc'),
('bomb', 'quả bom; oánh bom, thả bom'),
('bone', 'xương'),
('book', 'sách; ghi chép'),
('boot', 'giày ống'),
('border', 'bờ, mép, vỉa, lề'),
('bore', 'buồn chán, buồn tẻ'),
('boring', 'buồn chán'),
('born: be born', 'sinh, đẻ'),
('borrow', 'vay, mượn'),
('boss', 'ông chủ, thủ trưởng'),
('both', 'cả hai'),
('bother', 'làm phiền, quấy rầy, làm bực mình'),
('bottle', 'chai, lọ'),
('bottom', 'phần dưới cùng, thấp nhất; cuối, cuối cùng'),
('bound', 'nhất định, chắc chắn'),
('bowl', 'cái bát'),
('box', 'hộp, thùng'),
('boy', 'con trai, thiếu niên'),
('boyfriend', 'bạn trai'),
('brain', 'óc não; đầu óc, trí não'),
('branch', 'ngành; nhành cây, nhánh song, ngả đường'),
('brand', 'nhãn'),
('brave', 'gan dạ, can đảm'),
('bread', 'bánh mỳ'),
('break', 'bẻ gãy, đập vỡ; sự gãy, sự vỡ'),
('breakfast', 'bữa điểm tâm, bữa sáng'),
('breast', 'ngực, vú'),
('breath', 'hơi thở, hơi'),
('breathe', 'hít, thở'),
('breathing', 'sự hô hấp, sự thở'),
('breed', 'nuôi dưỡng, chăm sóc, giáo dục; sinh đẻ; nòi giống'),
('brick', 'gạch'),
('bridge', 'cái cầu'),
('brief', 'ngắn, gọn, vắn tắt'),
('briefly', 'ngắn, gọn, vắn tắt, tóm tắt'),
('bright', 'sáng, sáng chói'),
('brightly', 'sáng chói, tươi'),
('brilliant', 'tỏa sáng, rực rỡ, chói lọi'),
('bring', 'mang, cầm , xách lại'),
('broad', 'rộng'),
('broadcast', 'tung ra khắp nơi,truyền rộng rãi; phát thanh, quảng bá'),
('broadly', 'rộng, rộng rãi'),
('broken', 'bị gãy, bị vỡ'),
('brother', 'anh, em trai'),
('brown', 'nâu, màu nâu'),
('brush', 'bàn chải; chải, quét'),
('bubble', 'bong bóng, bọt, tăm'),
('budget', 'ngân sách'),
('build', 'xây dựng'),
('building', 'sự xây dựng, công trình xây dựng; tòa nhà binđinh'),
('bullet', 'đạn'),
('bunch', 'búi, chùm, bó, cụm, buồng; bầy, đàn'),
('burn', 'đốt, đốt cháy, thắp, nung, thiêu'),
('burnt', 'bị đốt, bị cháy, khê; rám nắng, sạm'),
('burst', 'nổ, nổ tung ; háo hức'),
('bury', 'chôn cất, mai táng'),
('bus', 'xe buýt'),
('bush', 'bụi cây, bụi rậm'),
('business', 'việc buôn bán, thương mại, kinh doanh'),
('busy', 'bận, bận rộn'),
('but', 'nhưng'),
('butter', 'bơ'),
('button', 'cái nút, cái khuy, cúc'),
('buy', 'mua'),
('buyer', 'người mua'),
('by', 'bởi, bằng'),
('by means of', 'bằng phương tiện'),
('bye exclamation', 'tạm biệt'),
('cabinet', 'tủ có nhiều ngăn đựng đồ'),
('cable', 'dây cáp'),
('cake', 'bánh ngọt'),
('calculate', 'tính toán'),
('calculation', 'sự tính toán'),
('call', 'gọi; tiếng kêu, tiếng gọi'),
('calm', 'yên lặng, làm dịu đi; sự yên lặng, sự êm ả'),
('calmly', 'yên lặng, êm ả; bình tĩnh, điềm tĩnh'),
('camera', 'máy ảnh'),
('camp', 'trại, chỗ cắm trại; cắm trại, hạ trại'),
('campaign', 'chiến dịch, cuộc vận động'),
('camping', 'sự cắm trại'),
('can modal', 'có thể; nhà tù, nhà giam, bình, ca đựng'),
('cancel', 'hủy bỏ, xóa bỏ'),
('cancer', 'bệnh ung thư'),
('candidate', 'người ứng cử, thí sinh, người dự thi'),
('candy', 'kẹo'),
('cannot', 'không thể'),
('cap', 'mũ lưỡi trai, mũ vải'),
('capable', 'có tài, có năng lực; có khả năng, cả gan'),
('capacity', 'năng lực, khả năng tiếp thu, năng suất'),
('capital', 'thủ đô, tiền vốn; chủ yếu, chính yếu, cơ bản'),
('captain', 'người cầm đầu, người chỉ huy, thủ lĩnh'),
('capture', 'bắt giữ, bắt; sự bắt giữ, sự bị bắt'),
('car', 'xe hơi'),
('card', 'thẻ, thiếp'),
('cardboard', 'bìa cứng, các tông'),
('care', 'sự chăm sóc, chăm nom; chăm sóc'),
('career', 'nghề nghiệp, sự nghiệp'),
('careful', 'cẩn thận, cẩn trọng, biết giữ gìn'),
('carefully', 'cẩn thận, chu đáo'),
('careless', 'sơ suất, cầu thả'),
('carpet', 'tấm thảm, thảm'),
('carrot', 'củ cà rốt'),
('carry', 'mang, vác, khuân chở'),
('case', 'vỏ, ngăn, túi'),
('cash', 'tiền, tiền mặt'),
('cast', 'quăng, ném, thả, đánh gục; sự quăng, sự ném'),
('castle', 'thành trì, thành quách'),
('cat', 'con mèo'),
('catch', 'bắt lấy, nắm lấy, tóm lấy, chộp lấy'),
('category', 'hạng, loại; phạm trù'),
('cause', 'nguyên nhân, nguyên do; gây ra, gây nên'),
('cease', 'dừng, ngừng, ngớt, thôi, hết, tạnh'),
('ceiling', 'trần nhà'),
('celebrate', 'kỷ niệm, làm lễ kỷ niệm; tán dương, ca tụng'),
('celebration', 'sự kỷ niệm, lễ kỷ niệm; sự tán dương, sự ca tụng'),
('cell', 'ô, ngăn'),
('cellphone', 'điện thoại di động'),
('cent', 'đồng xu'),
('centimetre', 'xen ti met'),
('central', 'trung tâm, ở giữa, trung ương'),
('centre', 'điểm giữa, trung tâm, trung ương'),
('century', 'thế kỷ'),
('ceremony', 'nghi thức, nghi lễ'),
('certain', 'chắc chắn'),
('certainly', 'chắc chắn, nhất định'),
('certificate', 'giấy chứng nhận, bằng, chứng chỉ'),
('chain', 'dây, xích; xính lại, trói lại'),
('chair', 'ghế'),
('chairman, chairwoman', 'chủ tịch, chủ tọa'),
('challenge', 'sự thử thách, sự thách thức; thách thức, thử thách'),
('chamber', 'buồng, phòng, buồng ngủ'),
('chance', 'sự may mắn'),
('change', 'thay đổi, sự thay đổi, sự biến đổi'),
('channel', 'kênh , eo biển'),
('chapter', 'chương'),
('character', 'tính cách, đặc tính, nhân vật'),
('characteristic', 'riêng, riêng biệt, đặc trưng, đặc tính, đặc điểm'),
('charge', 'nhiệm vụ, bổn phận, trách nhiệm; giao nhiệm vụ, giao việc'),
('charity', 'lòng từ thiện, lòng nhân đức; sự bố thí'),
('chart', 'đồ thị, biểu đồ; vẽ đồ thị, lập biểu đồ'),
('chase', 'săn bắt; sự săn bắt'),
('chat', 'nói chuyện, tán gẫu; chuyện phiếm, chuyện gẫu'),
('cheap', 'rẻ'),
('cheaply', 'rẻ, rẻ tiền'),
('cheat', 'lừa, lừa đảo; trò lừa đảo, trò gian lận'),
('check', 'kiểm tra; sự kiểm tra'),
('cheek', 'má'),
('cheerful', 'vui mừng, phấn khởi, hồ hởi'),
('cheerfully', 'vui vẻ, phấn khởi'),
('cheese', 'pho mát'),
('chemical', 'thuộc hóa học; chất hóa học, hóa chất'),
('chemist', 'nhà hóa học'),
('chemist’s', 'hóa học, môn hóa học, ngành hóa học'),
('cheque', 'séc'),
('chest', 'tủ, rương, hòm'),
('chew', 'nhai, ngẫm nghĩ'),
('chicken', 'gà, gà con, thịt gà'),
('chief', 'trọng yếu, chính yếu; thủ lĩnh, lãnh tụ, người đứng đầu, xếp'),
('child', 'đứa bé, đứa trẻ'),
('chin', 'cằm'),
('chip', 'vỏ bào, mảnh vỡ, chỗ sứt, mẻ'),
('chocolate', 'sô cô la'),
('choice', 'sự lựa chọn'),
('choose', 'chọn, lựa chọn'),
('chop', 'chặt, đốn, chẻ'),
('church', 'nhà thờ'),
('chỉ huycomment', 'lời bình luận, lời chú giải; bình luận, phê bình, chú thích,'),
('cigarette', 'điếu thuốc lá'),
('circle', 'đường tròn, hình tròn'),
('circumstance', 'hoàn cảnh, trường hợp, tình huống'),
('citizen', 'người thành thị'),
('city', 'thành phố'),
('civil', 'công dân'),
('claim', 'đòi hỏi, yêu sách; sự đòi hỏi, sự yêu sách, sự thỉnh cầu'),
('clap', 'vỗ, vỗ tay; tiếng nổ, tiếng vỗ tay'),
('class', 'lớp học'),
('classic', 'cổ điển, kinh điển'),
('classroom', 'lớp học, phòng học'),
('clean', 'sạch, sạch sẽ;'),
('clearly', 'rõ ràng, sáng sủa'),
('clerk', 'thư ký, linh mục, mục sư'),
('clever', 'lanh lợi, thông minh. tài giỏi, khéo léo'),
('click', 'làm thành tiếng lách cách; tiếng lách cách, cú nhắp'),
('client', 'khách hàng'),
('climate', 'khí hậu, thời tiết'),
('climb', 'leo, trèo'),
('climbing', 'sự leo trèo'),
('clock', 'đồng hồ'),
('close', 'đóng kín, chật chội, che đậy'),
('closed', 'bảo thủ, không cởi mở, khép kín'),
('closely', 'chặt chẽ, kỹ lưỡng, tỉ mỉ'),
('closet', 'buồng, phòng để đồ, phòng kho'),
('cloth', 'vải, khăn trải bàn, áo thầy tu'),
('clothes', 'quần áo'),
('clothing', 'quần áo, y phục'),
('cloud', 'mây, đám mây'),
('club', 'câu lạc bộ; gậy, dùi cui'),
('coach', 'huấn luyện viên'),
('coal', 'than đá'),
('coast', 'sự lao dốc; bờ biển'),
('coat', 'áo choàng'),
('code', 'mật mã, luật, điều lệ'),
('coffee', 'cà phê'),
('coin', 'tiền kim loại'),
('cold', 'lạnh, sự lạnh lẽo, lạnh nhạt'),
('coldly', 'lạnh nhạt, hờ hững, vô tâm'),
('collapse', 'đổ, sụp đổ; sự đổ nát, sự sụp đổ'),
('colleague', 'bạn đồng nghiệp'),
('collect', 'sưu tập, tập trung lại'),
('collection', 'sự sưu tập, sự tụ họp'),
('college', 'trường cao đẳng, trường đại học'),
('colour', 'màu sắc; tô màu'),
('coloured', 'mang màu sắc, có màu sắc'),
('column', 'cột , mục'),
('combination', 'sự kết hợp, sự phối hợp'),
('combine', 'kết hợp, phối hợp'),
('come', 'đến, tới, đi đến, đi tới'),
('comedy', 'hài kịch'),
('comfort', 'sự an ủi, khuyên giải, lời động viên, sự an nhàn; dỗ dành, an'),
('comfortable', 'thoải mái, tiện nghi, đầy đủ'),
('comfortably', 'dễ chịu, thoải mái, tiện nghi, ấm cúng'),
('command', 'ra lệnh, chỉ huy; lệnh, mệnh lệnh, quyền ra lệnh, quyền'),
('commercial', 'buôn bán, thương mại'),
('commission', 'hội đồng, ủy ban, sự ủy nhiệm, sự ủy thác; ủy nhiệm, ủy'),
('commit', 'giao, gửi, ủy nhiệm, ủy thác; tống giam, bỏ tù'),
('commitment', 'sự phạm tội, sự tận tụy, tận tâm'),
('committee', 'ủy ban'),
('common', 'công, công cộng, thông thường, phổ biến'),
('commonly', 'thông thường, bình thường'),
('communicate', 'truyền, truyền đạt; giao thiệp, liên lạc'),
('communication', 'sự giao tiếp, liên lạc, sự truyền đạt, truyền tin'),
('community', 'dân chúng, nhân dân'),
('company', 'công ty'),
('compare', 'so sánh, đối chiếu'),
('comparison', 'sự so sánh'),
('compete', 'đua tranh, ganh đua, cạnh tranh'),
('competition', 'sự cạnh tranh, cuộc thi, cuộc thi đấu'),
('competitive', 'cạnh tranh, đua tranh'),
('complain', 'phàn nàn, kêu ca'),
('complaint', 'lời than phiền, than thở; sự khiếu nại, đơn kiện'),
('complete', 'hoàn thành, xong;'),
('completely', 'hoàn thành, đầy đủ, trọn vẹn'),
('complex', 'phức tạp, rắc rối'),
('complicate', 'làm phức tạp, rắc rối'),
('complicated', 'phức tạp, rắc rối'),
('computer', 'máy tính'),
('concentrate', 'tập trung'),
('concentration', 'sự tập trung, nơi tập trung'),
('concept', 'khái niệm'),
('concern', 'liên quan, dính líu tới; sự liên quan, sự dính líu tới'),
('concerned', 'có liên quan, có dính líu'),
('concerning', 'bâng khuâng, ái ngại'),
('concert', 'buổi hòa nhạc'),
('conclude', 'kết luận, kết thúc, chấm dứt'),
('conclusion', 'sự kết thúc, sự kết luận, phần kết luận'),
('concrete', 'bằng bê tông; bê tông'),
('condition', 'điều kiện, tình cảnh, tình thế'),
('conduct', 'điều khiển, chỉ đạo, chỉ huy; sự điều khiển, chỉ'),
('conference', 'hội nghị, sự bàn bạc'),
('confidence', 'lòng tin tưởng, sự tin cậy'),
('confident', 'tin tưởng, tin cậy, tự tin'),
('confidently', 'tự tin'),
('confine', 'giam giữ, hạn chế'),
('confined', 'hạn chế, giới hạn'),
('confirm', 'xác nhận, chứng thực'),
('conflict', 'xung đột, va chạm; sự xung đột, sự va chạm'),
('confront', 'đối mặt, đối diện, đối chiếu'),
('confused', 'bối rối, lúng túng, ngượng'),
('confusing', 'khó hiểu, gây bối rối'),
('confusion', 'sự lộn xộn, sự rối loạn'),
('congratulations', 'sự chúc mừng, khen ngợi; lời chúc mừng, khen'),
('congress', 'đại hội, hội nghị, quốc hội'),
('connect', 'kết nối, nối'),
('connection', 'sự kết nối, sự giao kết'),
('conscious', 'tỉnh táo, có ý thức, biết rõ'),
('consequence', 'kết quả, hậu quả'),
('conservative', 'thận trọng, dè dặt, bảo thủ'),
('consider', 'cân nhắc, xem xét; để ý, quan tâm, lưu ý đến'),
('considerable', 'lớn lao, to tát, đáng kể'),
('considerably', 'đáng kể, lớn lao, nhiều'),
('consideration', 'sự cân nhắc, sự xem xét, sự để ý, sự quan tâm'),
('consist of', 'gồm có'),
('constant', 'kiên trì, bền lòng'),
('constantly', 'kiên định'),
('construct', 'xây dựng'),
('construction', 'sự xây dựng'),
('consult', 'tra cứu, tham khảo, thăm dò, hỏi ý kiến'),
('consumer', 'người tiêu dùng'),
('contact', 'sự liên lạc, sự giao thiệp; tiếp xúc'),
('contain', 'bao hàm, chứa đựng, bao gồm'),
('container', 'cái đựng, chứa; công te nơ'),
('contemporary', 'đương thời, đương đại'),
('content', 'nội dung, sự hài lòng'),
('contest', 'cuộc thi, trận đấu, cuộc tranh luận, cuộc chiến đấu, chiến tranh'),
('context', 'văn cảnh, khung cảnh, phạm vi'),
('continent', 'lục địa, đại lục'),
('continue', 'tiếp tục, làm tiếp'),
('continuous', 'liên tục, liên tiếp'),
('continuously', 'liên tục, liên tiếp'),
('contract', 'hợp đồng, sự ký hợp đồng; ký kết'),
('contrast', 'sự tương phản; làm tương phản, làm trái'),
('contrasting', 'tương phản'),
('contribute', 'đóng góp, ghóp phần'),
('contribution', 'sự đóng góp, sự góp phần'),
('controlled', 'được điều khiển, được kiểm tra'),
('convenient', 'tiện lợi, thuận lợi, thích hợp'),
('convention', 'hội nghị, hiệp định, quy ước'),
('conventional', 'quy ước'),
('conversation', 'cuộc đàm thoại, cuộc trò chuyện'),
('convert', 'đổi, biến đổi'),
('convince', 'làm cho tin, thuyết phục; làm cho nhận thức thấy'),
('cook', 'nấu ăn, người nấu ăn'),
('cooker', 'lò, bếp, nồi nấu'),
('cookie', 'bánh quy'),
('cooking', 'sự nấu ăn, cách nấu ăn'),
('cool', 'mát mẻ, điềm tĩnh; làm mát,'),
('cope', 'đối phó, đương đầu'),
('copy', 'bản sao, bản chép lại; sự sao chép; sao chép, bắt chước'),
('core', 'nòng cốt, hạt nhân; đáy lòng'),
('corner', 'góc'),
('correct', 'đúng, chính xác; sửa, sửa chữa'),
('correctly', 'đúng, chính xác'),
('cost', 'giá, chi phí; trả giá, phải trả'),
('cottage', 'nhà tranh'),
('cotton', 'bông, chỉ, sợi'),
('cough', 'ho, sự ho, tiếng hoa'),
('coughing', 'ho'),
('could', 'có thể, có khả năng'),
('could modal', 'có thể'),
('council', 'hội đồng'),
('count', 'đếm, tính'),
('counter', 'quầy hàng, quầy thu tiền, máy đếm'),
('country', 'nước, quốc gia, đất nước'),
('countryside', 'miền quê, miền nông thôn'),
('county', 'hạt, tỉnh'),
('couple', 'đôi, cặp; đôi vợ chồng, cặp nam nữ'),
('courage', 'sự can đảm, sự dũng cảm, dũng khí'),
('course', 'tiến trình, quá trình diễn tiến; sân chạy đua'),
('court', 'sân, sân , tòa án, quan tòa, phiên tòa'),
('cousin', 'anh em họ'),
('cover', 'bao bọc, che phủ; vỏ, vỏ bọc'),
('covered', 'có mái che, kín đáo'),
('covering', 'sự bao bọc, sự che phủ, cái bao, bọc'),
('cow', 'con bò cái'),
('crack', 'cừ, xuất sắc; làm nứt, làm vỡ, nứt nẻ, rạn nứt'),
('cracked', 'rạn, nứt'),
('craft', 'nghề, nghề thủ công'),
('crash', 'vải thô; sự rơi , sự phá sản, sụp đổ; phá tan tành, phá vụn'),
('crazy', 'điên, mất trí'),
('cream', 'kem'),
('create', 'sáng tạo, tạo nên'),
('creature', 'sinh vật, loài vật'),
('credit', 'sự tin, lòng tin, danh tiếng; tiền gửi ngân hàng'),
('credit card', 'thẻ tín dụng'),
('crime', 'tội, tội ác, tội phạm'),
('criminal', 'có tội, phạm tội; kẻ phạm tội, tội phạm'),
('crisis', 'sự khủng hoảng, cơn khủng hoảng'),
('crisp', 'giòn'),
('criterion', 'tiêu chuẩn'),
('critical', 'phê bình, phê phán; khó tính'),
('criticism', 'sự phê bình, sự phê phán, lời phê bình, lời phê phán'),
('criticize', 'phê bình, phê phán, chỉ trích'),
('crop', 'vụ mùa'),
('cross', 'cây thánh giá, nỗi thống khổ; sự băng qua; băng qua, vượt qua'),
('crowd', 'đám đông'),
('crowded', 'đông đúc'),
('crown', 'vương miện, vua, ngai vàng; đỉnh cao nhất'),
('crucial', 'quyết định, cốt yếu, chủ yếu'),
('cruel', 'độc ác, dữ tợn, tàn nhẫn'),
('crush', 'ép, vắt, đè nát, đè bẹp'),
('cry', 'khóc, kêu la; sự khóc, tiếng khóc, sự kêu la'),
('cultural', 'văn hóa'),
('culture', 'văn hóa, sự mở mang, sự giáo dục'),
('cup', 'tách, chén'),
('cupboard', '1 loại tủ có ngăn'),
('curb', 'kiềm chế, nén lại, hạn chế'),
('cure', 'chữa trị, điều trị; cách chữa bệnh, cách điều trị; thuốc'),
('curious', 'ham muốn, tò mò, lạ lùng'),
('curiously', 'tò mò, hiếu kỳ, lạ kỳ'),
('curl', 'quăn, xoắn, uốn quăn, làm xoắn; sự uốn quăn'),
('curly', 'quăn, xoắn'),
('current', 'hiện hành, phổ biến, hiện nay; dòng'),
('currently', 'hiện thời, hiện nay'),
('curtain', 'màn'),
('curve', 'đường cong, đường vòng; cong, uốn cong, bẻ cong'),
('curved', 'cong'),
('custom', 'phong tục, tục lệ, thói quen, tập quán'),
('customer', 'khách hàng'),
('customs', 'thuế nhập khẩu, hải quan'),
('cut', 'cắt, chặt; sự cắt'),
('cycle', 'chu kỳ, chu trình, vòng; quay vòng theo chu kỳ, đi xe đạp'),
('cycling', 'sự đi xe đạp'),
('dad', 'bố, cha'),
('daily', 'hàng ngày'),
('damage', 'mối hạn, điều hại, sự thiệt hại; làm hư hại, làm hỏng, gây thiệt hại'),
('damp', 'ẩm, ẩm ướt, ẩm thấp'),
('dance', 'sự nhảy múa, sự khiêu vũ; nhảy múa, khiêu vũ'),
('dancer', 'diễn viên múa, người nhảy múa'),
('dancing', 'sự nhảy múa, sự khiêu vũ'),
('danger', 'sự nguy hiểm, mối hiểm nghèo; nguy cơ, mối đe dọa'),
('dangerous', 'nguy hiểm'),
('dare', 'dám, dám đương đầu với; thách'),
('dark', 'tối, tối tăm; bóng tối, ám muội'),
('data', 'số liệu, dữ liệu'),
('date', 'ngày, kỳ, kỳ hạn, thời kỳ, thời đại; đề ngày tháng, ghi niên hiệu'),
('daughter', 'con gái'),
('day', 'ngày, ban ngày'),
('dead', 'chết, tắt'),
('deaf', 'điếc, làm thinh, làm ngơ'),
('deal', 'phân phát, phân phối; sự giao dịch, thỏa thuận mua bán'),
('deal with', 'giải quyết'),
('dear', 'thân, thân yêu, thân mến; kính thưa, thưa'),
('death', 'sự chết, cái chết'),
('debate', 'cuộc tranh luận, cuộc tranh cãi; tranh luận, bàn cãi'),
('debt', 'nợ'),
('decade', 'thập kỷ, bộ mười, nhóm mười'),
('decay', 'tình trạng suy tàn, suy sụp, tình trạng đổ nát'),
('december', 'tháng mười hai, tháng chạp'),
('decide', 'quyết định, giải quyết, phân xử'),
('decision', 'sự quyết định, sự giải quyết, sự phân xử'),
('declare', 'tuyên bố, công bố'),
('decline', 'sự suy tàn, sự suy sụp; suy sụp, suy tàn'),
('decorate', 'trang hoàng, trang trí'),
('decoration', 'sự trang hoàng, đồ trang hoàng, trang trí'),
('decorative', 'để trang hoàng, để trang trí, để làm cảnh'),
('decrease', 'giảm bớt, làm suy giảm, sự giảm đi, sự giảm sút'),
('deep', 'sâu, khó lường, bí ẩn'),
('deeply', 'sâu, sâu xa, sâu sắc'),
('defeat', 'đánh thắng, đánh bại; sự thất bại'),
('defence', 'cái để bảo vệ, vật để chống đỡ, sự che chở'),
('defend', 'che chở, bảo vệ, bào chữa'),
('define', 'định nghĩa'),
('definite', 'xác định, định rõ, rõ ràng'),
('definitely', 'rạch ròi, dứt khoát'),
('definition', 'sự định nghĩa, lời định nghĩa'),
('degree', 'mức độ, trình độ; bằng cấp; độ'),
('delay', 'sự chậm trễ, sự trì hoãn, sự cản trở; làm chậm trễ'),
('deliberate', 'thận trọng, có tính toán, chủ tâm, có suy nghĩ cân nhắc'),
('deliberately', 'thận trọng, có suy nghĩ cân nhắc'),
('delicate', 'thanh nhã, thanh tú, tế nhị, khó xử'),
('delight', 'sự vui thích, sự vui sướng, điều thích thú; làm vui thích, làm say'),
('delighted', 'vui mừng, hài lòng'),
('deliver', 'cứu khỏi, thoát khỏi, bày tỏ, giãi bày'),
('delivery', 'sự phân phát, sự phân phối, sự giao hàng; sự bày tỏ, phát biếu'),
('demand', 'sự đòi hỏi, sự yêu cầu; đòi hỏi, yêu cầu'),
('demonstrate', 'chứng minh, giải thích; bày tỏ, biểu lộ'),
('dentist', 'nha sĩ'),
('deny', 'từ chối, phản đối, phủ nhận'),
('department', 'cục, sở, ty, ban, khoa; gian hàng, khu bày hàng'),
('departure', 'sự rời khỏi, sự đi, sự khởi hành'),
('depend', 'phụ thuộc, tùy thuộc; dựa vào, ỷ vào, trông mong vào'),
('deposit', 'vật gửi, tiền gửi, tiền đặt cọc; gửi, đặt cọc'),
('depress', 'làm chán nản, làm phiền muộn; làm suy giảm'),
('depressed', 'chán nản, thất vọng, phiền muộn; suy yếu, đình trệ'),
('depressing', 'làm chán nản làm thát vọng, làm trì trệ'),
('depth', 'chiều sâu, độ dày'),
('derive', 'nhận được từ, lấy được từ; xuất phát từ, bắt nguồn, chuyển hóa từ'),
('describe', 'diễn tả, miêu tả, mô tả'),
('description', 'sự mô tả, sự tả, sự miêu tả'),
('desert', 'sa mạc; công lao, giá trị; rời bỏ, bỏ trốn'),
('deserted', 'hoang vắng, không người ở'),
('deserve', 'đáng, xứng đáng'),
('design', 'sự thiết kế, kế hoạch, đề cương. phác thảo; phác họa, thiết kế'),
('desire', 'ước muốn; thèm muốn, ao ước'),
('desk', 'bàn'),
('desperate', 'liều mạng, liều lĩnh; tuyệt vọng'),
('desperately', 'liều lĩnh, liều mạng'),
('despite', 'dù, mặc dù, bất chấp'),
('destroy', 'phá, phá hoại, phá huỷ, tiêu diệt, triệt phá'),
('destruction', 'sự phá hoại, sự phá hủy, sự tiêu diệt'),
('detail', 'chi tiết'),
('detailed', 'cặn kẽ, tỉ mỉ, nhiều chi tiết'),
('determination', 'sự xác định, sự định rõ; sự quyết định'),
('determine', 'xác định, định rõ; quyết định'),
('determined', 'đã được xác định, đã được xác định rõ'),
('develop', 'phát triển, mở rộng; trình bày, bày tỏ'),
('development', 'sự phát triển, sự trình bày, sự bày tỏ'),
('device', 'kế sách; thiết bị, dụng cụ, máy móc'),
('devote', 'hiến dâng, dành hết cho'),
('devoted', 'hiến cho, dâng cho, dành cho; hết lòng, nhiệt tình'),
('diagram', 'biểu đồ'),
('diamond', 'kim cương'),
('diary', 'sổ nhật ký; lịch ghi nhớ'),
('dictionary', 'từ điển'),
('die', 'chết, từ trần, hy sinh'),
('diet', 'chế độ ăn uống, chế độ ăn kiêng'),
('difference', 'sự khác nhau'),
('different', 'khác, khác biệt, khác nhau'),
('differently', 'khác, khác biệt, khác nhau'),
('difficult', 'khó, khó khăn, gay go'),
('difficulty', 'sự khó khăn, nỗi khó khăn, điều cản trở'),
('dig', 'đào bới, xới'),
('dinner', 'bữa trưa, chiều'),
('direct', 'trực tiếp, thẳng, thẳng thắn; gửi, viết cho ai, điều khiển'),
('direction', 'sự điều khiển, sự chỉ huy'),
('directly', 'trực tiếp, thẳng'),
('director', 'giám đốc, người điều khiển, chỉ huy'),
('dirt', 'đồ bẩn thỉu, đồ dơ bẩn, vật rác rưởi'),
('dirty', 'bẩn thỉu, dơ bẩn'),
('disabled', 'bất lực, không có khă năng'),
('disadvantage', 'sự bất lợi, sự thiệt hại'),
('disagree', 'bất đồng, không đồng ý, khác, không giống; không hợp'),
('disagreement', 'sự bất đồng, sự không đồng ý, sự khác nhau'),
('disappear', 'biến mất, biến đi'),
('disappoint', 'không làm thỏa ước nguyện, ý mong đợi; thất ước, làm thất'),
('disappointed', 'thất vọng'),
('disappointing', 'làm chán ngán, làm thất vọng'),
('disappointment', 'sự chán ngán, sự thất vọng'),
('disapproval', 'sự phản đổi, sự không tán thành'),
('disapprove', 'không tán thành, phản đối, chê'),
('disapproving', 'phản đối'),
('disaster', 'tai họa, thảm họa'),
('disc', 'đĩa'),
('discipline', 'kỷ luật'),
('discount', 'sự bớt giá, sự chiết khấu, tiền bớt, chiết khấu'),
('discover', 'khám phá, phát hiện ra, nhận ra'),
('discovery', 'sự khám phá, sự tìm ra, sự phát hiện ra'),
('discuss', 'thảo luận, tranh luận'),
('discussion', 'sự thảo luận, sự tranh luận'),
('disease', 'căn bệnh, bệnh tật'),
('disgust', 'làm ghê tởm, làm kinh tởm, làm phẫn nộ'),
('disgusted', 'chán ghét, phẫn nộ'),
('disgusting', 'làm ghê tởm, kinh tởm'),
('dish', 'đĩa'),
('dishonest', 'bất lương, không thành thật'),
('dishonestly', 'bất lương, không lương thiện'),
('disk', 'đĩa, đĩa hát'),
('dislike', 'sự không ưa, không thích, sự ghét'),
('dismiss', 'giải tán'),
('display', 'bày tỏ, phô trương, trưng bày; sự bày ra, phô bày, trưng bày'),
('dissolve', 'tan rã, phân hủy, giải tán'),
('distance', 'khoảng cách, tầm xa'),
('distinguish', 'phân biệt, nhận ra, nghe ra'),
('distribute', 'phân bổ, phân phối, sắp xếp, phân loại'),
('distribution', 'sự phân bổ, sự phân phối, phân phát, sự sắp xếp'),
('district', 'huyện, quận'),
('disturb', 'làm mất yên tĩnh, làm náo động, quấy rầy'),
('disturbing', 'xáo trộn'),
('divide', 'chia, chia ra, phân ra'),
('division', 'sự chia, sự phân chia, sự phân loại'),
('divorce', 'đã ly dị'),
('do', 'làm'),
('doctor', 'bác sĩ y khoa, tiến sĩ'),
('document', 'văn kiện, tài liệu, tư liệu'),
('dog', 'chó'),
('dollar', 'đô la mỹ'),
('domestic', 'vật nuôi trong nhà, nội trợ, quốc nội'),
('dominate', 'chiếm ưu thế, có ảnh hưởng, chi phối; kiềm chế'),
('door', 'cửa, cửa ra vào'),
('dot', 'chấm nhỏ, điểm; của hồi môn'),
('double', 'đôi, hai, kép; cái gấp đôi, lượng gấp đôi; làm gấp đôi'),
('doubt', 'sự nghi ngờ, sự ngờ vực; nghi ngờ, ngờ vực'),
('down', 'xuống'),
('downstairs', 'ở dưới nhà, ở tầng dưới; xống gác; tầng dưới'),
('downward', 'xuống, đi xuống'),
('downwards', 'xuống, đi xuống'),
('dozen', 'tá'),
('draft', 'bản phác thảo, sơ đồ thiết kế; phác thảo, thiết kế'),
('drag', 'lôi kéo, kéo lê'),
('drama', 'kịch, tuồng'),
('dramatic', 'như kịch, như đóng kịch, thích hợp với sân khấu'),
('dramatically', 'đột ngột'),
('draw', 'vẽ, kéo'),
('drawer', 'người vẽ, người kéo'),
('drawing', 'bản vẽ, bức vẽ, sự kéo'),
('dream', 'giấc mơ, mơ'),
('dress', 'quần áo, mặc , ăn mặc'),
('drink', 'đồ uống; uống'),
('drive', 'lái , đua xe; cuộc đua xe'),
('driver', 'người lái xe'),
('driving', 'sự lái xe, cuộc đua xe'),
('drop', 'chảy nhỏ giọt, rơi, rớt; giọt'),
('drug', 'thuốc, dược phẩm; ma túy'),
('drugstore', 'hiệu thuốc, cửa hàng dược phẩm'),
('drum', 'cái trống, tiếng trống'),
('drunk', 'say rượu'),
('dry', 'khô, cạn; làm khô, sấy khô'),
('due', 'đến kỳ hạn ; xứng đáng, thích đáng'),
('due to', 'vì, do, tại, nhờ có'),
('dull', 'chậm hiểu, ngu đần'),
('dump', 'đổ rác; đống rác, nơi đổ rác'),
('during', 'trong lúc, trong thời gian'),
('dust', 'bụi, rác; rắc , quét bụi, phủi bụi'),
('duty', 'sự tôn kính, kính trọng; bồn phận, trách nhiệm'),
('dying', 'sự chết'),
('each', 'mỗi'),
('each other', 'nhau, lẫn nhau'),
('ear', 'tai'),
('early', 'sớm'),
('earn', 'kiếm'),
('earth', 'đất, trái đất'),
('ease', 'sự thanh thản, sự thoải mái; làm thanh thản, làm yên tâm, làm dễ chịu'),
('easily', 'dễ dàng'),
('east', 'hướng đông, phía đông, đông, ở phía đông'),
('eastern', 'đông'),
('easy', 'dễ dàng, dễ tính, ung dung'),
('eat', 'ăn'),
('economic', 'kinh tế'),
('economy', 'sự tiết kiệm, sự quản lý kinh tế'),
('edge', 'lưỡi, cạnh sắc'),
('edition', 'nhà xuất bản, sự xuất bản'),
('editor', 'người thu thập và xuất bản, chủ bút'),
('educate', 'giáo dục, cho ăn học; rèn luyện'),
('educated', 'được giáo dục, được đào tạo'),
('education', 'sự giáo dục, sự rèn luyện'),
('effect', 'hiệu ứng, hiệu quả, kết quả'),
('effective', 'có kết quả, có hiệu lực'),
('effectively', 'có kết quả, có hiệu lực'),
('efficient', 'có hiệu lực, có hiệu quả'),
('efficiently', 'có hiệu quả, hiệu nghiệm'),
('effort', 'sự cố gắng, sự nỗ lực'),
('either', 'mỗi, một; cũng phải thế'),
('elbow', 'khuỷu tay'),
('elderly', 'có tuổi, cao tuổi'),
('elect', 'bầu, quyết định'),
('election', 'sự bầu cử, cuộc tuyển cử'),
('electric', 'điện, có điện, phát điện'),
('electrical', 'điện'),
('electricity', 'điện, điện lực; điện lực học'),
('electronic', 'điện tử'),
('elegant', 'thanh lịch, tao nhã'),
('element', 'yếu tôd, nguyên tố'),
('else', 'khác, nữa; nếu không'),
('elsewhere', 'ở một nơi nào khác'),
('email', 'thư điện tử; gửi thư điện tử'),
('embarrass', 'lúng túng, làm ngượng nghịu; làm rắc rối, gây khó khăn'),
('embarrassed', 'lúng túng, bối rối, ngượng; mang nợ'),
('embarrassing', 'làm lúng túng, ngăn trở'),
('embarrassment', 'sự lúng túng, sự bối rối'),
('emerge', 'nổi lên, hiện ra; nổi bật lên'),
('emergency', 'tình trạng khẩn cấp'),
('emotion', 'xự xúc động, sự cảm động, mối xác cảm'),
('emotional', 'cảm động, xúc động, xúc cảm; dễ cảm động, dễ xúc cảm'),
('emotionally', 'xúc động'),
('emphasis', 'sự nhấn mạnh, tầm quan trọng'),
('emphasize', 'nhấn mạnh, làm nổi bật'),
('empire', 'đế chế, đế quốc'),
('employ', 'dùng, thuê ai làm gì'),
('employee', 'người lao động, người làm công'),
('employer', 'chủ, người sử dụng lao động'),
('employment', 'sự thuê mướn'),
('empty', 'trống, rỗng; đổ, dốc; uống, làm cạn'),
('enable', 'làm cho có thể, có khả năng; cho phép ai làm gì'),
('encounter', 'chạm chán, bắt gặp; sự chạm trán, sự bắt gặp'),
('encourage', 'động viên, ủng hộ, giúp đỡ, làm can đảm, mạnh dạn'),
('encouragement', 'niềm cổ vũ, động viên, khuyến khích, sự làm can đảm'),
('end', 'giới hạn, sự kết thúc; kết thúc, chấm dứt'),
('ending', 'sự kết thúc, sự chấm dứt; phần cuối, kết cục'),
('enemy', 'kẻ thù, quân địch'),
('energy', 'năng lượng, nghị lực, sinh lực'),
('engage', 'hứa hẹn, cam kết, đính ước'),
('engaged', 'đã đính ước, đã hứa hôn; đã có người'),
('engine', 'máy, động cơ'),
('engineer', 'kỹ sư'),
('engineering', 'nghề kỹ sư, công việc của kỹ sư'),
('enjoy', 'thưởng thức, thích thú cái gì, được hưởng, có được'),
('enjoyable', 'thú vị, thích thú'),
('enjoyment', 'sự thích thú, sự có được, được hưởng'),
('enormous', 'to lớn, khổng lồ'),
('enough', 'đủ'),
('enquiry', 'sự điều tra, sự thẩm vấn'),
('ensure', 'bảo đảm, chắc chắn'),
('enter', 'đi vào, gia nhập'),
('entertain', 'giải trí, tiếp đón, chiêu đãi'),
('entertainer', 'người quản trò, người tiếp đãi, chiêu đãi'),
('entertaining', 'giải trí'),
('entertainment', 'sự giải trí, sự tiếp đãi, chiêu đãi'),
('enthusiasm', 'sự hăng hái, sự nhiệt tình'),
('enthusiastic', 'hăng hái, say mê, nhiệt tình'),
('entire', 'toàn thể, toàn bộ'),
('entirely', 'toàn vẹn, trọn vẹn, toàn bộ'),
('entitle', 'cho tiêu đề, cho tên ; cho quyền làm gì'),
('entrance', 'sự đi vào, sự nhậm chức'),
('entry', 'sự ghi vào sổ sách, sự đi vào, sự tiếp nhận'),
('envelope', 'phong bì'),
('environment', 'môi trường, hoàn cảnh xung quanh'),
('environmental', 'thuộc về môi trường'),
('equal', 'ngang, bằng; người ngang hàng, ngang tài, sức; bằng, ngang'),
('equally', 'bằng nhau, ngang bằng'),
('equipment', 'trang, thiết bị'),
('equivalent', 'tương đương; từ, vật tương đương'),
('error', 'lỗi, sự sai sót, sai lầm'),
('escape', 'trốn thoát, thoát khỏi; sự trốn thoát, lỗi thoát'),
('especially', 'đặc biệt là, nhất là'),
('essay', 'bài tiểu luận'),
('essential', 'bản chất, thực chất, cốt yếu; yếu tố cần thiết'),
('essentially', 'về bản chất, về cơ bản'),
('establish', 'lập, thành lập'),
('estate', 'tài sản, di sản, bất động sản'),
('estimate', 'sự ước lượng, đánh giá; ước lượng, đánh giá'),
('etc', 'vân vân'),
('euro', 'đơn vị tiền tệ của liên minh châu âu'),
('even', 'ngay cả, ngay, lại còn; bằng phẳng, điềm đạm, ngang bằng'),
('evening', 'buổi chiều, tối'),
('event', 'sự việc, sự kiện'),
('eventually', 'cuối cùng'),
('ever', 'từng, từ trước tới giờ'),
('every', 'mỗi, mọi'),
('everyone', 'mọi người'),
('everything', 'mọi vật, mọi thứ'),
('everywhere', 'mọi nơi'),
('evidence', 'điều hiển nhiên, điều rõ ràng'),
('evil', 'xấu, ác; điều xấu, điều ác, điều tai hại'),
('ex- prefix', 'tiền tố chỉ bên ngoài'),
('exact', 'chính xác, đúng'),
('exactly', 'chính xác, đúng đắn'),
('exaggerate', 'cường điệu, phóng đại'),
('exaggerated', 'cường điệu, phòng đại'),
('exam', 'viết tắt của examination'),
('examination', 'sự thi cử, kỳ thi'),
('examine', 'thẩm tra, khám xét, hỏi han'),
('example', 'thí dụ, ví dụ'),
('excellent', 'xuất sắc, xuất chúng'),
('except', 'trừ ra, không kể; trừ phi'),
('exception', 'sự trừ ra, sự loại ra'),
('exchange', 'trao đổi; sự trao đổi'),
('excite', 'kích thích, kích động'),
('excited', 'bị kích thích, bị kích động'),
('excitement', 'sự kích thích, sự kích động'),
('exciting', 'hứng thú, thú vị'),
('exclude', 'ngăn chạn, loại trừ'),
('excluding', 'ngoài ra, trừ ra'),
('excuse', 'lời xin lỗi, bào chữa; xin lỗi, tha thứ, tha lỗi'),
('executive', 'sự thi hành, chấp hành; sự thi hành, chấp hành'),
('exempli gratia', 'trứng'),
('exercise', 'bài tập, sự thi hành, sự thực hiện; làm, thi hành, thực hiện'),
('exhibit', 'trưng bày, triển lãm; vật trưng bày, vật triển lãm'),
('exhibition', 'cuộc triển lãm, trưng bày'),
('exist', 'tồn tại, sống'),
('existence', 'sự tồn tại, sự sống'),
('exit', 'lỗi ra, sự đi ra, thoát ra'),
('expand', 'mở rộng, phát triển, nở, giãn ra'),
('expect', 'chờ đợi, mong ngóng; liệu trước'),
('expectation', 'sự mong chờ, sự chờ đợi'),
('expected', 'được chờ đợi, được hy vọng'),
('expense', 'chi phí'),
('expensive', 'đắt'),
('experience', 'kinh nghiệm; trải qua, nếm mùi'),
('experienced', 'có kinh nghiệm, từng trải, giàu kinh nghiệm'),
('experiment', 'cuộc thí nghiệm; thí nghiệm'),
('expert', 'chuyên gia; chuyên môn, thành thạo'),
('explain', 'giải nghĩa, giải thích'),
('explanation', 'sự giải nghĩa, giải thích'),
('explode', 'đập tan , làm nổ, nổ'),
('explore', 'thăm dò, thám hiểm'),
('explosion', 'sự nổ, sự phát triển ồ ạt'),
('export', 'xuất khẩu; hàng xuất khẩu, sự xuất khẩu'),
('expose', 'trưng bày, phơi bày'),
('express', 'diễn tả, biểu lộ, bày tỏ; nhanh, tốc hành'),
('expression', 'sự diễn tả, sự bày tỏ, biểu lộ, sự diễn đạt'),
('extend', 'giơ, duỗi ra , dành cho, gửi lời'),
('extension', 'sự giơ, duỗi; sự kéo dài, sự dành cho, gửi lời'),
('extensive', 'rộng rãi, bao quát'),
('extent', 'quy mô, phạm vi'),
('extra', 'thêm, phụ, ngoại; thứ thêm, phụ'),
('extraordinary', 'đặc biệt, lạ thường, khác thường'),
('extreme', 'vô cùng, khắc nghiệt, quá khích, cực đoan; sự quá khích'),
('extremely', 'vô cùng, cực độ'),
('eye', 'mắt'),
('face', 'mặt, thể diện; đương đầu, đối phó, đối mặt'),
('facility', 'điều kiện dễ dàng, sự dễ dàng, thuận lợi'),
('fact', 'việc, sự việc, sự kiện'),
('factor', 'nhân tố'),
('factory', 'nhà máy, xí nghiệp, xưởng'),
('fail', 'sai, thất bại'),
('failure', 'sự thất bại, người thất bại'),
('faint', 'nhút nhát, yếu ớt'),
('faintly', 'nhút nhát, yếu ớt'),
('fair', 'hợp lý, công bằng; thuận lợi'),
('fairly', 'hợp lý, công bằng'),
('faith', 'sự tin tưởng, tin cậy; niềm tin, vật đảm bảo'),
('faithful', 'trung thành, chung thủy, trung thực'),
('faithfully', 'trung thành, chung thủy, trung thực'),
('fall', 'rơi, ngã, sự rơi, ngã'),
('fall asleep', 'ngủ thiếp đi'),
('fall over', 'ngã lộn nhào, bị đổ'),
('false', 'sai, nhầm, giả dối'),
('fame', 'tên tuổi, danh tiếng'),
('familiar', 'thân thiết, quen thộc'),
('family', 'gia đình, thuộc gia đình'),
('famous', 'người hâm mộ'),
('fancy', 'tưởng tượng, cho, nghĩ rằng; tưởng tượng'),
('far', 'xa'),
('farm', 'trang trại'),
('farmer', 'nông dân, người chủ trại'),
('farming', 'công việc trồng trọt, đồng áng'),
('fashion', 'mốt, thời trang'),
('fashionable', 'đúng mốt, hợp thời trang'),
('fast', 'nhanh'),
('fasten', 'buộc, trói'),
('fat', 'béo, béo bở; mỡ, chất béo'),
('father', 'cha'),
('faucet', 'vòi'),
('fault', 'sự thiết sót, sai sót'),
('favour', 'thiện ý, sự quý mến; sự đồng ý; sự chiếu cố'),
('fear', 'sự sợ hãi, e sợ; sợ, lo ngại'),
('feather', 'lông chim'),
('feature', 'nét đặt biệt, điểm đặc trưng; mô tả nét đặc biệt, đặc trưng của...'),
('february', 'tháng 2'),
('federal', 'liên bang'),
('fee', 'tiền thù lao, học phí'),
('feed', 'cho ăn, nuôi'),
('feel', 'cảm thấy'),
('feel sick', 'buồn nôn'),
('feeling', 'sự cảm thấy, cảm giác'),
('fellow', 'anh chàng , đồng chí'),
('female', 'thuộc giống cái; giống cái'),
('fence', 'hàng rào'),
('festival', 'lễ hội, đại hội liên hoan'),
('fetch', 'tìm về, đem về; làm bực mình; làm say mê, quyến rũ'),
('fever', 'cơn sốt, bệnh sốt'),
('few', 'ít,vài; một ít, một vài'),
('field', 'cánh đồng, bãi chiến trường'),
('fight', 'đấu tranh, chiến đấu; sự đấu tranh, cuộc chiến đấu'),
('fighting', 'sự chiến đấu, sự đấu tranh'),
('figure', 'hình dáng, nhân vật; hình dung, miêu tả'),
('file', 'hồ sơ, tài liệu'),
('fill', 'làm đấy, lấp kín'),
('film', 'phim, được dựng thành phim'),
('final', 'cuối cùng, cuộc đấu chung kết'),
('finally', 'cuối cùng, sau cùng'),
('finance', 'tài chính; tài trợ, cấp vốn'),
('financial', 'thuộc'),
('find', 'tìm, tìm thấy'),
('find out sth', 'khám phá, tìm ra'),
('fine', 'tốt, giỏi'),
('finely', 'đẹp đẽ, tế nhị, cao thượng'),
('finger', 'ngón tay'),
('finish', 'kết thúc, hoàn thành; sự kết thúc, phần cuối'),
('finished', 'hoàn tất, hoàn thành'),
('fire', 'lửa; đốt cháy'),
('firm', 'hãng, công ty; chắc, kiên quyết, vũng vàng, mạnh mẽ'),
('firmly', 'vững chắc, kiên quyết'),
('first det', 'thứ nhất, đầu tiên, trước hết; người, vật đầu tiên, thứ nhất'),
('fish', 'cá, món cá; câu cá, bắt cá'),
('fishing', 'sự câu cá, sự đánh cá'),
('fit', 'hợp, vừa; thích hợp, xứng đáng'),
('fix', 'đóng, gắn, lắp; sửa chữa, sửa sang'),
('flag', 'quốc kỳ'),
('flame', 'ngọn lửa'),
('flash', 'loé sáng, vụt sáng; ánh sáng lóe lên, đèn nháy'),
('flat', 'bằng phẳng, bẹt, nhẵn; dãy phòng, căn phòng, mặt phẳng'),
('flavour', 'vị, mùi; cho gia vị, làm tăng thêm mùi vị'),
('flesh', 'thịt'),
('flight', 'sự bỏ chạy, rút chạy; sự bay, chuyến bay'),
('float', 'lụt, lũ lụtl; tràn đầy, tràn ngập'),
('floor', 'sàn, tầng'),
('flour', 'bột, bột mỳ'),
('flow', 'sự chảy; chảy'),
('flower', 'hoa, bông, đóa, cây hoa'),
('flu', 'bệnh cúm'),
('fly', 'bay; sự bay, quãng đường bay'),
('flying', 'biết bay; sự bay, chuyến bay'),
('focus', 'tập trung; trung tâm, trọng tâm'),
('fold', 'gấp, vén, xắn; nếp gấp'),
('folding', 'gấp lại được'),
('follow', 'đi theo sau, theo, tiếp theo'),
('following', 'tiếp theo, theo sau, sau đây; sau, tiếp theo'),
('food', 'đồ ăn, thức, món ăn'),
('foot', 'chân, bàn chân'),
('football', 'bóng đá'),
('for', 'cho, dành cho...'),
('for instance', 'ví dụ chẳng hạn'),
('force', 'sức mạnh; ép buộc, cưỡng ép'),
('forecast', 'sự dự đoán, dự báo; dự đoán, dự báo'),
('foreign', 'nước ngoài, từ nước ngoài, ở nước ngoài'),
('forest', 'rừng'),
('forever', 'mãi mãi'),
('forget', 'quên'),
('forgive', 'tha, tha thứ'),
('fork', 'cái nĩa'),
('form', 'hình thể, hình dạng, hình thức; làm thành, được tạo thành'),
('formal', 'hình thức'),
('formally', 'chính thức'),
('former', 'trước, cũ, xưa, nguyên'),
('formerly', 'trước đây, thuở xưa'),
('formula', 'công thức, thể thức, cách thức'),
('fortune', 'sự giàu có, sự thịnh vượng'),
('forward', 'về tương lai, sau này ở phía trước, tiến về'),
('found', 'tìm, tìm thấy'),
('foundation', 'sự thành lập, sự sáng lập; tổ chức'),
('frame', 'cấu trúc, hệ thống; dàn xếp, bố trí'),
('free', 'miễn phí, tự do, giải phóng, trả tự do'),
('freedom', 'sự tự do; nền tự do'),
('freely', 'tự do, thoải mái'),
('freeze', 'đóng băng, đông lạnh'),
('frequent', 'thường xuyên'),
('frequently', 'thường xuyên'),
('fresh', 'tươi, tươi tắn'),
('freshly', 'tươi mát, khỏe khoắn'),
('friday', 'thứ sáu'),
('fridge', 'tủ lạnh'),
('friend', 'người bạn'),
('friendly', 'thân thiện, thân mật'),
('friendship', 'tình bạn, tình hữu nghị'),
('frighten', 'làm sợ, làm hoảng sợ'),
('frightened', 'hoảng sợ, khiếp sợ'),
('frightening', 'kinh khủng, khủng khiếp'),
('from', 'từ'),
('front', 'mặt; đằng trước, về phía trước'),
('frozen', 'lạnh giá'),
('fruit', 'quả, trái cây'),
('fry', 'rán, chiên; thịt rán'),
('fuel', 'chất đốt, nhiên liệu'),
('full', 'đầy, đầy đủ'),
('fully', 'đầy đủ, hoàn toàn'),
('fun', 'sự vui đùa, sự vui thích; hài hước'),
('function', 'chức năng; họat động, chạy'),
('fund', 'kho, quỹ; tài trợ, tiền bạc, để tiền vào công quỹ'),
('fundamental', 'cơ bản, cơ sở, chủ yếu'),
('funeral', 'lễ tang, đám tang'),
('funny', 'buồn cười, khôi hài'),
('fur', 'bộ da lông thú'),
('furniture', 'đồ đạc'),
('further', 'xa hơn nữa; thêm nữa'),
('further, furthest', 'cấp so sánh của far'),
('future', 'tương lai'),
('gain', 'lợi, lợi ích; giành được, kiếm được, đạt tới'),
('gallon', 'galông 1gl = 4, 54 lít ở anh, 3, 78 lít ở mỹ'),
('gamble', 'đánh bạc; cuộc đánh bạc'),
('gambling', 'trò cờ bạc'),
('game', 'trò chơi'),
('gap', 'đèo, lỗ hổng, kẽ hở; chỗ trống'),
('garage', 'nhà để ô tô'),
('garbage', 'lòng, ruột'),
('garden', 'vườn'),
('gas', 'khí, hơi đốt'),
('gasoline', 'dầu lửa, dầu hỏa, xăng'),
('gate', 'cổng'),
('gather', 'tập hợp; hái, lượm, thu thập'),
('gear', 'cơ cấu, thiết bị, dụng cụ'),
('general', 'chung, chung chung; tổng'),
('generally', 'nói chung, đại thể'),
('generate', 'sinh, đẻ ra'),
('generation', 'sự sinh ra, sự phát sinh ra; thế hệ, đời'),
('generous', 'rộng lượng, khoan hồng, hào phóng'),
('generously', 'rộng lượng, hào phóng'),
('gentle', 'hiền lành, dịu dàng, nhẹ nhàng'),
('gentleman', 'người quý phái, người thượng lưu'),
('gently', 'nhẹ nhàng, êm ái, dịu dàng'),
('genuine', 'thành thật, chân thật; xác thực'),
('genuinely', 'thành thật, chân thật'),
('geography', 'địa lý, khoa địa lý'),
('get', 'được, có được'),
('get off', 'ra khỏi, thoát khỏi'),
('get on leo', 'trèo lên'),
('giaalmost', 'hầu như, gần như'),
('giant', 'người khổng lồ, người phi thường; khổng lồ, phi thường'),
('gift', 'quà tặng'),
('girl', 'con gái'),
('girlfriend', 'bạn gái, người yêu'),
('give', 'cho, biếu, tặng'),
('give birth', 'sinh ra'),
('give sth away', 'cho, phát'),
('give sth out', 'chia, phân phối'),
('give up', 'bỏ, từ bỏ');
INSERT INTO `my_dic` (`word_taget`, `word_explain`) VALUES
('glad', 'vui lòng, sung sướng'),
('glass', 'kính, thủy tinh, cái cốc, ly'),
('glasses', 'kính đeo mắt'),
('global', 'toàn cầu, toàn thể, toàn bộ'),
('glove', 'bao tay, găng tay'),
('glue', 'keo, hồ; gắn lại, dán bằng keo, hồ'),
('go', 'đi'),
('go down', 'đi xuống'),
('go up', 'đi lên'),
('go wrong', 'mắc lỗi, sai lầm'),
('god', 'thần, chúa'),
('gold', 'vàng; bằng vàng'),
('good', 'tốt, hay, tuyệt; điều tốt, điều thiện'),
('good at', 'tiến bộ ở'),
('good for', 'có lợi cho'),
('good, well', 'tốt, khỏe'),
('goodbye exclamation,', 'tạm biệt; lời chào tạm biệt'),
('goods', 'của cải, tài sản, hàng hóa'),
('govern', 'cai trị, thống trị, cầm quyền'),
('government', 'chính phủ, nội các; sự cai trị'),
('governor', 'thủ lĩnh, chủ; kẻ thống trị'),
('grab', 'túm lấy, vồ, chộp lấy'),
('grade', 'điểm, điểm số; phân loại, xếp loại'),
('gradual', 'dần dần, từng bước một'),
('gradually', 'dần dần, từ từ'),
('grain', 'thóc lúa, hạt, hột; tính chất, bản chất'),
('gram', 'đậu xanh'),
('grammar', 'văn phạm'),
('grand', 'rộng lớn, vĩ đại'),
('grandchild', 'cháu'),
('granddaughter', 'cháu gái'),
('grandfather', 'ông'),
('grandmother', 'bà'),
('grandparent', 'ông bà'),
('grandson', 'cháu trai'),
('grant', 'cho, ban, cấp; sự cho, sự ban, sự cấp'),
('grass', 'cỏ; bãi cỏ, đồng cỏ'),
('grateful', 'biết ơn, dễ chịu, khoan khoái'),
('grave', 'mộ, dấu huyền; trang nghiêm, nghiêm trọng'),
('gray', 'xám, hoa râm'),
('great', 'to, lớn, vĩ đại'),
('greatly', 'rất, lắm; cao thượng, cao cả'),
('green', 'xanh lá cây'),
('grey', 'xám, hoa râm'),
('groceries', 'hàng tạp hóa'),
('grocery', 'cửa hàng tạp phẩm'),
('ground', 'mặt đất, đất, bãi đất'),
('group', 'nhóm'),
('grow', 'mọc, mọc lên'),
('grow up', 'lớn lên, trưởng thành'),
('growth', 'sự lớn lên, sự phát triển'),
('guarantee', 'sự bảo hành, bảo lãnh, người bảo lãnh; cam đoan, bảo đảm'),
('guard', 'cái chắn, người bảo vệ; bảo vệ, gác, canh giữ'),
('guess', 'đoán, phỏng đoán; sự đoán, sự ước chừng'),
('guest', 'khách, khách mời'),
('guide', 'điều chỉ dẫn, người hướng dẫn; dẫn đường, chỉ đường'),
('guilty', 'có tội, phạm tội, tội lỗi'),
('gun', 'súng'),
('guy', 'bù nhìn, anh chàng, gã'),
('habit', 'thói quen, tập quán'),
('hair', 'tóc'),
('hairdresser', 'thợ làm tóc'),
('half', 'một nửa, phần chia đôi, nửa giờ; nửa'),
('hall', 'đại sảnh, tòa , hội trường'),
('hammer', 'búa'),
('hand', 'tay, bàn tay; trao tay, truyền cho'),
('handle', 'treo, mắc'),
('happen', 'xảy ra, xảy đến'),
('happily', 'sung sướng, hạnh phúc'),
('happiness', 'sự sung sướng, hạnh phúc'),
('happy', 'vui sướng, hạnh phúc'),
('hard', 'cứng, rắn, hà khắc; hết sức cố gắng, tích cực'),
('hardly', 'khắc nghiệt, nghiêm khắc, tàn tệ, khó khăn'),
('harm', 'thiệt hại, tổn hao; làm hại, gây thiệt hại'),
('harmful', 'gây tai hại, có hại'),
('harmless', 'không có hại'),
('hat', 'cái mũ'),
('hate', 'ghét; lòng căm ghét, thù hận'),
('hatred', 'lòng căm thì, sự căm ghét'),
('have auxiliary', 'có'),
('have to modal', 'phải'),
('he', 'nó, anh ấy, ông ấy'),
('head', 'cái đầu ; chỉ huy, lãnh đại, dẫn đầu'),
('headache', 'chứng nhức đầu'),
('heal', 'chữa khỏi, làm lành'),
('health', 'sức khỏe, thể chất, sự lành mạnh'),
('healthy', 'khỏe mạnh, lành mạnh'),
('hear', 'nghe'),
('hearing', 'sự nghe, thính giác'),
('heart', 'tim, trái tim'),
('heat', 'hơi nóng, sức nóng'),
('heating', 'sự đốt nóng, sự làm nóng'),
('heaven', 'thiên đường'),
('heavily', 'nặng, nặng nề'),
('heavy', 'nặng, nặng nề'),
('heel', 'gót chân'),
('height', 'chiều cao, độ cao; đỉnh, điểm cao'),
('hell', 'địa ngục'),
('hello', 'chào, xin chào; lời chào'),
('help', 'giúp đỡ; sự giúp đỡ'),
('helpful', 'có ích; giúp đỡ'),
('hence', 'sau đây, kể từ đây; do đó, vì thế'),
('her', 'nó, chị ấy, cô ấy, bà ấy'),
('here', 'đây, ở đây'),
('hero', 'người anh hùng'),
('hers', 'cái của nó, cái của cô ấy, cái của chị ấy, cái của bà ấy'),
('herself', 'chính nó, chính cô ta, chính chị ta, chính bà ta'),
('hesitate', 'ngập ngừng, do dự'),
('hi', 'xin chào'),
('hide', 'trốn, ẩn nấp; che giấu'),
('high', 'cao, ở mức độ cao'),
('highlight', 'làm nổi bật, nêu bật; chỗ nổi bật nhất, đẹp, sáng nhất'),
('highly', 'tốt, cao; hết sức, ở mức độ cao'),
('highway', 'đường quốc lộ'),
('hill', 'đồi'),
('him', 'nó, hắn, ông ấy, anh ấy'),
('himself', 'chính nó, chính hắn, chính ông ta, chính anh ta'),
('hip', 'hông'),
('hire', 'thuê, cho thuê ; sự thuê, sự cho thuê'),
('his', 'của nó, của hắn, của ông ấy, của anh ấy; cái của nó, cái của hắn, cái của ông ấy, cái của anh ấy'),
('historical', 'lịch sử, thuộc lịch sử'),
('history', 'lịch sử, sử học'),
('hit', 'đánh, đấm, ném trúng; đòn, cú đấm'),
('hoanloose', 'lỏng, không chặt'),
('hobby', 'sở thích riêng'),
('hoever', 'ai, người nào, bất cứ ai, bất cứ người nào, dù ai'),
('hold', 'cầm, nắm, giữ; sự cầm, sự nắm giữ'),
('hole', 'lỗ, lỗ trống; hang'),
('holiday', 'ngày lễ, ngày nghỉ'),
('hollow', 'rỗng, trống rỗng'),
('holy', 'linh thiêng; sùng đạo'),
('home', 'nhà; ở tại nhà, nước mình'),
('homework', 'bài tập về nhà , công việc làm ở nhà'),
('honest', 'lương thiện, trung thực, chân thật'),
('honestly', 'lương thiện, trung thực, chân thật'),
('honour', 'danh dự, thanh danh, lòng kính trọng'),
('hook', 'cái móc; bản lề; lưỡi câu'),
('hope', 'hy vọng; nguồn hy vọng'),
('horn', 'sừng'),
('horror', 'điều kinh khủng, sự ghê rợn'),
('horse', 'ngựa'),
('hospital', 'bệnh viện, nhà thương'),
('host', 'chủ nhà, chủ tiệc; dẫn'),
('hot', 'nóng, nóng bức'),
('hotel', 'khách sạn'),
('hour', 'giờ'),
('house', 'nhà, căn nhà, toàn nhà'),
('household', 'hộ, gia đình; gia đình'),
('housing', 'nơi ăn chốn ở'),
('how', 'thế nào, như thế nào, làm sao, ra sao'),
('however', 'tuy nhiên, tuy vậy, dù thế nào'),
('huge', 'to lớn, khổng lồ'),
('human', 'con người, loài người'),
('humorous', 'hài hước, hóm hỉnh'),
('humour', 'sự hài hước, sự hóm hỉnh'),
('hungry', 'đó'),
('hunt', 'săn, đi săn'),
('hunting', 'sự đi săn'),
('hurry', 'sự vội vàng, sự gấp rút'),
('hurt', 'làm bị thương, gây thiệt hại'),
('husband', 'người chồng'),
('ice', 'băng, nước đá'),
('ice cream', 'kem'),
('idea', 'ý tưởng, quan niệm'),
('ideal', 'quan niệm, tư tưởng; lý tưởng'),
('ideally', 'lý tưởng, đúng như lý tưởng'),
('identify', 'nhận biết, nhận ra, nhận dạng'),
('identity', 'cá tính, nét nhận dạng; tính đồng nhất, giống hệt'),
('if', 'nếu, nếu như'),
('ignore', 'phớt lờ, tỏ ra không biết đến'),
('ill', 'ốm'),
('illegal', 'trái luật, bất hợp pháp'),
('illegally', 'trái luật, bất hợp pháp'),
('illness', 'sự đau yếu, ốm, bệnh tật'),
('illustrate', 'minh họa, làm rõ ý'),
('image', 'ảnh, hình ảnh'),
('imaginary', 'tưởng tượng, ảo'),
('imagination', 'trí tưởng tượng, sự tưởng tượng'),
('imagine', 'tưởng tượng, hình dung; tưởng rằng, cho rằng'),
('immediate', 'lập tức, tức thì'),
('immediately', 'ngay lập tức'),
('immoral', 'trái đạo đức, luân lý; xấu xa'),
('impact', 'sự và chạm, sự tác động, ảnh hưởng'),
('impatient', 'thiếu kiên nhẫn, nóng vội'),
('impatiently', 'nóng lòng, sốt ruột'),
('implication', 'sự lôi kéo, sự liên can, điều gợi ý'),
('imply', 'ngụ ý, bao hàm'),
('import', 'sự nhập, sự nhập khẩu; nhập, nhập khẩu'),
('importance', 'sự quan trọng, tầm quan trọng'),
('important', 'quan trọng, hệ trọng'),
('importantly', 'quan trọng, trọng yếu'),
('impose', 'đánh , bắt gánh vác; đánh tráo, lợi dụng'),
('impossible', 'không thể làm được, không thể xảy ra'),
('impress', 'ghi, khắc, in sâu vào; gây ấn tượng, làm cảm động'),
('impressed', 'được ghi, khắc, in sâu vào'),
('impression', 'ấn tượng, cảm giác; sự in, đóng dấu'),
('impressive', 'gấy ấn tượng mạnh; hùng vĩ, oai vệ'),
('improve', 'cải thiện, cái tiến, mở mang'),
('improvement', 'sự cái thiện, sự cải tiến, sự mở mang'),
('in', 'ở, tại, trong; vào'),
('in addition', 'thêm vào'),
('in advance', 'trước, sớm'),
('in case', 'nếu......'),
('in charge of', 'phụ trách'),
('in common', 'sự chung, của chung'),
('in exchange', 'trong việc trao đổi về'),
('in favour/favor', 'ủng hộ cái gì'),
('in front', 'ở phía trước'),
('in general', 'nói chung, đại khái'),
('in memory of', 'sự tưởng nhớ'),
('in order to', 'hợp lệ'),
('in public', 'giữa công chúng, công khai'),
('in spite of', 'mặc dù, bất chấp'),
('in the end', 'cuối cùng, về sau'),
('inability', 'sự bất lực, bất tài'),
('inch', 'insơ'),
('incident', 'việc xảy ra, việc có liên quan'),
('include', 'bao gồm, tính cả'),
('including', 'bao gồm, kể cả'),
('income', 'lợi tức, thu nhập'),
('increase', 'tăng, tăng thêm; sự tăng, sự tăng thêm'),
('increasingly', 'tăng thêm'),
('indeed', 'thật vậy, quả thật'),
('independence', 'sự độc lập, nền độc lập'),
('independent', 'độc lập'),
('independently', 'độc lập'),
('index', 'chỉ số, sự biểu thị'),
('indicate', 'chỉ, cho biết; biểu thị, trình bày ngắn gọn'),
('indication', 'sự chỉ, sự biểu thị, sự biểu lộ'),
('indirect', 'gián tiếp'),
('indirectly', 'gián tiếp'),
('individual', 'riêng, riêng biệt; cá nhân'),
('indoor', 'trong nhà'),
('indoors', 'ở trong nhà'),
('industrial', 'công nghiệp, kỹ nghệ'),
('industry', 'công nghiệp, kỹ nghệ'),
('inevitable', 'không thể tránh được, chắc chắn xảy ra; vẫn thường thấy, nghe'),
('inevitably', 'chắc chắn'),
('infect', 'nhiễm, tiêm nhiễm, đầu độc, lan truyền'),
('infected', 'bị nhiễm, bị đầu độc'),
('infection', 'sự nhiễm, sự đầu độc'),
('infectious', 'lây, nhiễm'),
('influence', 'sự ảnh hưởng, sự tác dụng; ảnh hưởng, tác động'),
('inform', 'báo cho biết, cung cấp tin tức'),
('informal', 'không chính thức, không nghi thức'),
('information', 'tin tức, tài liệu, kiến thức'),
('ingredient', 'phần hợp thành, thành phần'),
('initial', 'ban đầu, lúc đầu; chữ đầu'),
('initially', 'vào lúc ban đầu, ban đầu'),
('initiative', 'bước đầu, sự khởi đầu'),
('injure', 'làm tổn thương, làm hại, xúc phạm'),
('injured', 'bị tổn thương, bị xúc phạm'),
('injury', 'sự làm tổn thương, làm hại; điều hại, điều tổn hại'),
('ink', 'mực'),
('inner', 'ở trong, nội bộ; thân cận'),
('innocent', 'vô tội, trong trắng, ngây thơ'),
('insect', 'sâu bọ, côn trùng'),
('insert', 'chèn vào, lồng vào'),
('inside', 'mặt trong, phía, phần trong; ở trong, nội bộ'),
('insist', 'cứ nhất định, cứ khăng khăng'),
('install', 'đặt'),
('instance', 'thí dị, ví dụ; trường hợp cá biệt'),
('instead', 'để thay thế'),
('instead of', 'thay cho'),
('institute', 'viện, học viện'),
('institution', 'sự thành lập, lập; cơ quan, trụ sở'),
('instruction', 'sự dạy, tài liệu cung cấp'),
('instrument', 'dụng cụ âm nhạc khí'),
('insult', 'lăng mạ, xỉ nhục; lời lăng mạ, sự xỉ nhục'),
('insulting', 'lăng mạ, xỉ nhục'),
('insurance', 'sự bảo hiểm'),
('intelligence', 'sự hiểu biết, trí thông minh'),
('intelligent', 'thông minh, sáng trí'),
('intend', 'ý định, có ý định'),
('intended', 'có ý định, có dụng ý'),
('intention', 'ý định, mục đích'),
('interest', 'sự thích thú, sự quan tâm, chú ý; làm quan tâm, làm chú ý'),
('interested', 'có thích thú, có quan tâm, có chú ý'),
('interesting', 'làm thích thú, làm quan tâm, làm chú ý'),
('interior', 'phần trong, phía trong; ở trong, ở phía trong'),
('internal', 'ở trong, bên trong, nội địa'),
('international', 'quốc tế'),
('internet', 'liên mạng'),
('interpret', 'giải thích'),
('interpretation', 'sự giải thích'),
('interrupt', 'làm gián đoạn, ngắt lời'),
('interruption', 'sự gián đoạn, sự ngắt lời'),
('interval', 'khoảng , khoảng cách'),
('interview', 'cuộc phỏng vấn, sự gặp mặt; phỏng vấn, nói chuyện riêng'),
('into', 'vào, vào trong'),
('introduce', 'giới thiệu'),
('introduction', 'sự giới thiệu, lời giới thiệu'),
('invent', 'phát minh, sáng chế'),
('invention', 'sự phát minh, sự sáng chế'),
('invest', 'đầu tư'),
('investigate', 'điều tra, nghiên cứu'),
('investigation', 'sự điều tra, nghiên cứu'),
('investment', 'sự đầu tư, vốn đầu tư'),
('invitation', 'lời mời, sự mời'),
('invite', 'mời'),
('involve', 'bao gồm, bao hàm; thu hút, dồn tâm trí'),
('involvement', 'sự gồm, sự bao hàm; sự để, dồn hết tâm trí vào'),
('iron', 'sắt; bọc sắt'),
('irritate', 'làm phát cáu, chọc tức'),
('irritated', 'tức giận, cáu tiết'),
('irritating', 'làm phát cáu, chọc tức'),
('island', 'hòn đảo'),
('issue', 'sự phát ra, sự phát sinh; phát hành, đưa ra'),
('it', 'cái đó, điều đó, con vật đó'),
('item', 'tin tức; khoản.., món..., tiết mục'),
('its', 'của cái đó, của điều đó, của con vật đó; cái của điều đó, cái của con vật đó'),
('itself', 'chính cái đó, chính điều đó, chính con vật đó'),
('jacket', 'áo vét'),
('jam', 'mứt'),
('january', 'tháng giêng'),
('jealous', 'ghen,, ghen tị'),
('jeans', 'quần bò, quần zin'),
('jelly', 'thạch'),
('jewellery', 'nữ trang, kim hoàn'),
('job', 'việc, việc làm'),
('join', 'gia nhập, tham gia; nối, chắp, ghép'),
('joint', 'chung ; chỗ nối, đầu nối'),
('jointly', 'cùng nhau, cùng chung'),
('joke', 'trò cười, lời nói đùa; nói đùa, giễu cợt'),
('journalist', 'nhà báo'),
('journey', 'cuộc hành trình ; quãng đường, chặng đường đi'),
('joy', 'niềm vui, sự vui mừng'),
('judge', 'xét xử, phân xử; quan tòa, thẩm phán'),
('judgement', 'sự xét xử'),
('juice', 'nước ép'),
('july', 'tháng 7'),
('jump', 'nhảy; sự nhảy, bước nhảy'),
('june', 'tháng 6'),
('junior', 'trẻ hơn, ít tuổi hơn; người ít tuổi hơn'),
('just', 'đúng, vừa đủ; vừa mới, chỉ'),
('justice', 'sự công bằng'),
('justified', 'hợp lý, được chứng minh là đúng'),
('justify', 'bào chữa, biện hộ'),
('keen', 'sắc, bén'),
('keen on', 'say mê, ưa thích'),
('keep', 'giữ, giữ lại'),
('key', 'chìa khóa, khóa, thuộc'),
('keyboard', 'bàn phím'),
('kick', 'đá; cú đá'),
('kid', 'con dê non'),
('kill', 'giết, tiêu diệt'),
('killing', 'sự giết chóc, sự tàn sát'),
('kilogram', 'kilôgam'),
('kilometre', 'kilômet'),
('kind', 'loại, giống; tử tế, có lòng tốt'),
('kindly', 'tử tế, tốt bụng'),
('kindness', 'sự tử tế, lòng tốt'),
('king', 'vua, quốc vương'),
('kiss', 'hôn, cái hôn'),
('kitchen', 'bếp'),
('knee', 'đầu gối'),
('knife', 'đan, thêu'),
('knitted', 'được đan, được thêu'),
('knitting', 'việc đan; hàng dệt kim'),
('knock', 'đánh, đập; cú đánh'),
('knot', 'cái nơ; điểm nút, điểm trung tâm'),
('know', 'biết'),
('knowledge', 'sự hiểu biết, tri thức'),
('label', 'nhãn, mác; dán nhãn, ghi mác'),
('laboratory, lab', 'phòng thí nghiệm'),
('labour', 'lao động; công việc'),
('lack', 'sự thiếu; thiếu'),
('lacking', 'ngu đần, ngây ngô'),
('lady', 'người yêu, vợ, quý bà, tiểu thư'),
('lake', 'hồ'),
('lamp', 'đèn'),
('land', 'đất, đất canh tác, đất đai'),
('landscape', 'phong cảnh'),
('lane', 'đường nhỏ'),
('language', 'ngôn ngữ'),
('large', 'rộng, lớn, to'),
('largely', 'phong phú, ở mức độ lớn'),
('last', 'lầm cuối, sau cùng; người cuối cùng; cuối cùng, rốt hết;'),
('late', 'trễ, muộn'),
('later', 'chậm hơn'),
('latest', 'muộn nhất, chậm nhất, gần đây nhất'),
('latter', 'sau cùng, gần đây, mới đây'),
('laugh', 'cười; tiếng cười'),
('launch', 'hạ thủy ; khai trương; sự hạ thủy, buổi giới thiệu sản phầm'),
('law', 'luật'),
('lawyer', 'luật sư'),
('lay', 'xếp, đặt, bố trí'),
('layer', 'lớp'),
('lazy', 'lười biếng'),
('lead', 'lãnh đạo, dẫn dắt; sự lãnh đạo, sự hướng dẫn'),
('leader', 'người lãnh đạo, lãnh tụ'),
('leading', 'lãnh đạo, dẫn đầu'),
('leaf', 'lá cây, lá'),
('league', 'liên minh, liên hoàn'),
('lean', 'nghiêng, dựa, ỷ vào'),
('learn', 'học, nghiên cứu'),
('least', 'tối thiểu; ít nhất'),
('leather', 'da thuộc'),
('leave', 'bỏ đi, rời đi, để lại'),
('leave out', 'bỏ quên, bỏ sót'),
('lecture', 'bài diễn thuyết, bài thuyết trình, bài nói chuyện'),
('left', 'bên trái; về phía trái'),
('leg', 'chân'),
('legal', 'hợp pháp'),
('legally', 'hợp pháp'),
('lemon', 'quả chanh'),
('lend', 'cho vay, cho mượn'),
('length', 'chiều dài, độ dài'),
('less', 'nhỏ bé, ít hơn; số lượng ít hơn'),
('lesson', 'bài học'),
('let', 'cho phép, để cho'),
('letter', 'thư; chữ cái, mẫu tự'),
('level', 'trình độ, cấp, vị trí; bằng, ngang bằng'),
('library', 'thư viện'),
('licence', 'bằng, chứng chỉ, bằng cử nhân; sự cho phép'),
('license', 'cấp chứng chỉ, cấp bằng, cho phép'),
('lid', 'nắp, vung'),
('lie', 'nói dối; lời nói dối, sự dối trá'),
('life', 'đời, sự sống'),
('lift', 'giơ lên, nhấc lên; sự nâng, sự nhấc lên'),
('light', 'ánh sáng; nhẹ, nhẹ nhàng; đốt, thắp sáng'),
('lightly', 'nhẹ nhàng'),
('like', 'giống như; thích; như'),
('likely', 'có thể đúng, có thể xảy ra, có khả năng; có thể, chắc vậy'),
('limit', 'giới hạn, ranh giới; giới hạn, hạn chế'),
('limited', 'hạn chế, có giới hạn'),
('line', 'dây, đường, tuyến'),
('link', 'mắt xích, mối liên lạc; liên kết, kết nối'),
('lip', 'môi'),
('liquid', 'chất lỏng; lỏng, êm ái, du dương, không vững'),
('list', 'danh sách; ghi vào danh sách'),
('listen', 'nghe, lắng nghe'),
('literature', 'văn chương, văn học'),
('litre', 'lít'),
('little', 'nhỏ, bé, chút ít; không nhiều; một chút'),
('live', 'sống, hoạt động'),
('lively', 'sống, sinh động'),
('living', 'sống, đang sống'),
('load', 'gánh nặng, vật nặng; chất, chở'),
('loan', 'sự vay mượn'),
('local', 'địa phương, bộ phận, cục bộ'),
('locally', 'có tính chất địa phương, cục bộ'),
('locate', 'xác định vị trí, định vị'),
('located', 'định vị'),
('location', 'vị trí, sự định vị'),
('lock', 'khóa; khóa'),
('logic', 'lô gic'),
('logical', 'hợp lý, hợp logic'),
('lonely', 'cô đơn, bơ vơ'),
('long', 'dài, xa; lâu'),
('look', 'nhìn; cái nhìn'),
('look after', 'trông nom, chăm sóc'),
('look at', 'nhìn, ngắm, xem'),
('look for', 'tìm kiếm'),
('look forward to', 'mong đợi cách hân'),
('loosely', 'lỏng lẻo'),
('lord', 'chúa, vua'),
('lorry', 'xe tải'),
('lose', 'mất, thua, lạc'),
('loss', 'sự mất, sự thua'),
('lost', 'thua, mất'),
('lot', 'số lượng lớn; rất nhiều'),
('loud', 'to, inh ỏi, ầm ĩ; to, lớn'),
('loudly', 'ầm ĩ, inh ỏi'),
('love', 'tình yêu, lòng yêu thương; yêu, thích'),
('lovely', 'đẹp, xinh xắn, có duyên'),
('lover', 'người yêu, người tình'),
('low', 'thấp, bé, lùn'),
('loyal', 'trung thành, trung kiên'),
('luck', 'may mắn, vận may'),
('lucky', 'gặp may, gặp may mắn, hạnh phúc'),
('luggage', 'hành lý'),
('lump', 'cục, tảng, miếng; cái bướu'),
('lunch', 'bữa ăn trưa'),
('lung', 'phổi'),
('machine', 'máy, máy móc'),
('machinery', 'máy móc, thiết bị'),
('mad', 'điên, mất trí; bực điên người'),
('magazine', 'tạp chí'),
('magic', 'ma thuật, ảo thuật; ma thuật, ảo thuật'),
('mail', 'thư từ, bưu kiện; gửi qua bưu điện'),
('main', 'chính, chủ yếu, trọng yếu nhất'),
('mainly', 'chính, chủ yếu, phần lớn'),
('maintain', 'giữ gìn, duy trì, bảo vệ'),
('major', 'lớn, nhiều hơn, trọng đại, chủ yếu'),
('majority', 'phần lớn, đa số, ưu thế'),
('make', 'làm, chế tạo; sự chế tạo'),
('make fun of', 'đùa cợt, chế giễu, chế nhạo'),
('make sth up', 'làm thành, cấu thành, gộp thành'),
('make sure', 'chắc chắn, làm cho chắc chắn'),
('make-up', 'đồ hóa trang, son phấn'),
('male', 'trai, trống, đực; con trai, đàn ông, con trống, đực'),
('mall', 'búa'),
('man', 'con người; đàn ông'),
('manage', 'quản lý, trông nom, điều khiển'),
('management', 'sự quản lý, sự trông nom, sự điều khiển'),
('manager', 'người quản lý, giám đốc'),
('manner', 'cách, lối, kiểu; dáng, vẻ, thái độ'),
('manufacturer', 'người chế tạo, người sản xuất'),
('manufacturing', 'sự sản xuất, sự chế tạo'),
('many', 'nhiều'),
('map', 'bản đồ'),
('march', 'tháng ba'),
('mark', 'dấu, nhãn, nhãn mác; đánh dấu, ghi dấu'),
('market', 'chợ, thị trường'),
('marketing', 'ma-kết-tinh'),
('marriage', 'sự cưới xin, sự kết hôn, lễ cưới'),
('married', 'cưới, kết hôn'),
('marry', 'cưới'),
('mass', 'khối, khối lượng; quần chúng, đại chúng'),
('massive', 'to lớn, đồ sộ'),
('master', 'chủ, chủ nhân, thầy giáo, thạc sĩ'),
('match', 'trận thi đấu, đối thủ, địch thủ; đối chọi, sánh được'),
('matching', 'tính địch thù, thi đấu'),
('mate', 'bạn, bạn nghề; giao phối'),
('material', 'nguyên vật liệu; vật chất, hữu hình'),
('mathematics', 'toán học, môn toán'),
('matter', 'chất, vật chất; có ý nghĩa, có tính chất quan trọng'),
('maximum', 'cực độ, tối đa; trị số cực đại, lượng cực đại, cực độ'),
('may', 'tháng 5'),
('may modal', 'có thể, có lẽ'),
('maybe', 'có thể, có lẽ'),
('mayor', 'thị trưởng'),
('me', 'tôi, tao, tớ'),
('meal', 'bữa ăn'),
('mean', 'nghĩa, có nghĩa là'),
('meaning', 'ý, ý nghĩa'),
('means', 'của cải, tài sản, phương tiện'),
('meanwhile', 'trong lúc đó, trong lúc ấy'),
('measure', 'đo, đo lường; sự đo lường, đơn vị đo lường'),
('measurement', 'sự đo lường, phép đo'),
('meat', 'thịt'),
('media', 'phương tiện truyền thông đại chúng'),
('medical', 'y học'),
('medicine', 'y học, y khoa; thuốc'),
('medium', 'trung bình, trung, vừa; sự trung gian, sự môi giới'),
('meet', 'gặp, gặp gỡ'),
('meeting', 'cuộc mít tinh, cuộc biểu tình'),
('melt', 'tan ra, chảy ra; làm tan chảy ra'),
('member', 'thành viên, hội viên'),
('membership', 'tư cách hội viên, địa vị hội viên'),
('memory', 'bộ nhớ, trí nhớ, kỉ niệm'),
('mental', 'trí tuệ, trí óc; mất trí'),
('mentally', 'về mặt tinh thần'),
('mention', 'kể ra, nói đến, đề cập'),
('menu', 'thực đơn'),
('mere', 'chỉ là'),
('merely', 'chỉ, đơn thuần'),
('mess', 'tình trạng bừa bộn, tình trạng lộn xộn; người nhếch nhác, bẩn thỉu'),
('message', 'tin nhắn, thư tín, điện thông báo, thông điệp'),
('metal', 'kim loại'),
('method', 'phương pháp, cách thức'),
('metre', 'mét'),
('mid- combining form', 'tiền tố: một nửa'),
('midday', 'trưa, buổi trưa'),
('middle', 'giữa, ở giữa'),
('midnight', 'nửa đêm, 12h đêm'),
('might modal', 'qk. may có thể, có lẽ'),
('mild', 'nhẹ, êm dịu, ôn hòa'),
('mile', 'dặm'),
('military', 'quân đội, quân sự'),
('milk', 'sữa'),
('milligram', 'mi-li-gam'),
('millimetre', 'mi-li-met'),
('mind', 'tâm trí, tinh thần, trí tuệ; chú ý, để ý, chăm sóc, quan tâm'),
('mine', 'của tôi'),
('mineral', 'công nhân, thợ mỏ; khoáng'),
('minimum', 'tối thiểu; số lượng tối thiểu, mức tối thiểu'),
('minister', 'bộ trưởng'),
('ministry', 'bộ'),
('minor', 'nhỏ hơn, thứ yếu, không quan trọng'),
('minority', 'phần ít, thiểu số'),
('minute', 'phút'),
('mirror', 'gương'),
('miss', 'lỡ, trượt; sự trượt, sự thiếu vắng'),
('missing', 'vắng, thiếu, thất lạc'),
('mistake', 'lỗi, sai lầm, lỗi lầm; phạm lỗi, phạm sai lầm'),
('mistaken', 'sai lầm, hiểu lầm'),
('mix', 'pha, trộn lẫn; sự pha trộn'),
('mixed', 'lẫn lộn, pha trộn'),
('mixture', 'sự pha trộn, sự hỗn hợp'),
('mobile', 'chuyển động, di động'),
('mobile phone', 'điện thoại đi động'),
('model', 'mẫu, kiểu mẫu'),
('modern', 'hiện đại, tân tiến'),
('moment', 'chốc, lát'),
('monday', 'thứ 2'),
('money', 'tiền'),
('monitor', 'lớp trưởng, màn hình máy tính; nghe, ghi phát thanh, giám sát'),
('month', 'tháng'),
('mood', 'lối, thức, điệu'),
('moon', 'mặt trăng'),
('moral', 'đạo đức, luân lý, phẩm hạnh; có đạo đứcmorally adv. có đạo đức'),
('more', 'hơn, nhiều hơn'),
('moreover', 'hơn nữa, ngoài ra, vả lại'),
('morning', 'buổi sáng'),
('most', 'lớn nhất, nhiều nhất; nhất, hơn cả'),
('mostly', 'hầu hết, chủ yếu là'),
('mother', 'mẹ'),
('motion', 'sự chuyển động, sụ di động'),
('motor', 'động cơ mô tô'),
('motorcycle', 'xe mô tô'),
('mount', 'leo, trèo; núi'),
('mountain', 'núi'),
('mouse', 'chuột'),
('mouth', 'miệng'),
('move', 'di chuyển, chuyển động; sự di chuyển, sự chuyển động'),
('movement', 'sự chuyển động, sự hoạt động; cử động, động tác'),
('movie', 'phim xi nê'),
('movie theater', 'rạp chiếu phim'),
('moving', 'động, hoạt động'),
('much', 'nhiều, lắm'),
('mud', 'bùn'),
('multiply', 'nhân lên, làm tăng lên nhiều lần; sinh sôi nảy nở'),
('mum', 'mẹ'),
('murder', 'tội giết người, tội ám sát; giết người, ám sát'),
('muscle', 'cơ, bắp thịt'),
('museum', 'bảo tàng'),
('music', 'nhạc, âm nhạc'),
('musical', 'nhạc, âm nhạc; du dương, êm ái'),
('musician', 'nhạc sĩ'),
('must modal', 'phải, cần, nên làm'),
('my', 'của tôi'),
('myself', 'tự tôi, chính tôi'),
('mysterious', 'thần bí, huyền bí, khó hiểu'),
('mystery', 'điều huyền bí, điều thần bí'),
('nail', 'móng móng vuốt'),
('naked', 'trần, khỏa thân, trơ trụi'),
('name', 'tên; đặt tên, gọi tên'),
('narrow', 'hẹp, chật hẹp'),
('nation', 'dân tộc, quốc gia'),
('national', 'quốc gia, dân tộc'),
('natural', 'tự nhiên, thiên nhiên'),
('naturally', 'vốn, tự nhiên, đương nhiên'),
('nature', 'tự nhiên, thiên nhiên'),
('navy', 'hải quân'),
('near', 'gần, cận; ở gần'),
('nearby', 'gần'),
('nearly', 'gần, sắp, suýt'),
('neat', 'sạch, ngăn nắp; rành mạch'),
('neatly', 'gọn gàng, ngăn nắp'),
('necessarily', 'tất yếu, nhất thiết'),
('necessary', 'cần, cần thiết, thiết yếu'),
('neck', 'cổ'),
('need modal', 'cần, đòi hỏi; sự cần'),
('needle', 'cái kim, mũi nhọn'),
('negative', 'phủ định'),
('neighbour', 'hàng xóm'),
('neighbourhood', 'hàng xóm, làng giềng'),
('neither', 'không này mà cũng không kia'),
('nephew', 'cháu trai'),
('nerve', 'khí lực, thần kinh, can đảm'),
('nervous', 'hoảng sợ, dễ bị kích thích, hay lo lắng'),
('nervously', 'bồn chồn, lo lắng'),
('nest', 'tổ, ổ; làm tổ'),
('net', 'lưới, mạng'),
('network', 'mạng lưới, hệ thống'),
('never', 'không bao giờ, không khi nào'),
('nevertheless', 'tuy nhiên, tuy thế mà'),
('new', 'mới, mới mẻ, mới lạ'),
('newly', 'mới'),
('news', 'tin, tin tức'),
('newspaper', 'báo'),
('next', 'sát, gần, bên cạnh; lần sau, tiếp nữa'),
('next to', 'gần'),
('nice', 'đẹp, thú vị, dễ chịu'),
('nicely', 'thú vị, dễ chịu'),
('niece', 'cháu gái'),
('night', 'đêm, tối'),
('no exclamation,', 'không'),
('nobody', 'không ai, không người nào'),
('noise', 'tiếng ồn, sự huyên náo'),
('noisily', 'ồn ào, huyên náo'),
('noisy', 'ồn ào, huyên náo'),
('none', 'không ai, không người, vật gì'),
('nonsense', 'lời nói vô lý, vô nghĩa'),
('nor', 'cũng không'),
('normal', 'thường, bình thường; tình trạng bình thường'),
('normally', 'thông thường, như thường lệ'),
('north', 'phía bắc, phương bắc'),
('northern', 'bắc'),
('nose', 'mũi'),
('not', 'không'),
('note', 'lời ghi, lời ghi chép; ghi chú, ghi chép'),
('nothing', 'không gì, không cái gì'),
('notice', 'thông báo, yết thị; chú ý, để ý, nhận biết'),
('noticeable', 'đáng chú ý, đáng để ý'),
('novel', 'tiểu thuyết, truyện'),
('november', 'tháng 11'),
('now', 'bây giờ, hiện giờ, hiện nay'),
('nowhere', 'không nơi nào, không ở đâu'),
('nuclear', 'hạt nhân'),
('number', 'số'),
('nurse', 'quả hạch; đầu'),
('obey', 'vâng lời, tuân theo, tuân lệnh'),
('object', 'vật, vật thể; phản đối, chống lại'),
('objective', 'mục tiêu, mục đích; mục tiêu, khách quan'),
('observation', 'sự quan sát, sự theo dõi'),
('observe', 'quan sát, theo dõi'),
('obtain', 'đạt được, giành được'),
('obvious', 'rõ ràng, rành mạch, hiển nhiên'),
('obviously', 'một cách rõ ràng, có thể thấy được'),
('occasion', 'dịp, cơ hội'),
('occasionally', 'thỉnh thoảng, đôi khi'),
('occupied', 'đang sử dụng, đầy'),
('occupy', 'giữ, chiếm lĩnh, chiếm giữ'),
('occur', 'xảy ra, xảy đến, xuất hiện'),
('ocean', 'đại dương'),
('odd', 'kỳ quặc, kỳ cục, lẻ'),
('oddly', 'kỳ quặc, kỳ cục, lẻ'),
('of', 'của'),
('of course', 'dĩ nhiên'),
('off', 'tắt; khỏi, cách, rời'),
('offence', 'sự vi phạm, sự phạm tội'),
('offend', 'xúc phạm, làm bực mình, làm khó chịu'),
('offensive', 'sự tấn công, cuộc tấn công'),
('offer', 'biếu, tặng, cho; sự trả giá'),
('office', 'cơ quan, văn phòng, bộ'),
('officer', 'viên chức, cảnh sát, sĩ quan'),
('official', 'chính quyền, văn phòng; viên chức, công chức'),
('officially', 'một cách trịnh trọng, một cách chính thức'),
('often', 'thường, hay, luôn'),
('oh exclamation', 'chao, ôi chao, chà, này..'),
('oil', 'dầu'),
('ok exclamation,', 'đồng ý, tán thành'),
('old', 'già'),
('old-fashioned', 'lỗi thời'),
('on', 'trên, ở trên; tiếp tục, tiếp diễn'),
('on behalf of sb', 'thay mặt cho ai, nhân danh ai'),
('on board', 'trên tàu thủy'),
('on purpose', 'cố tình, cố ý, có chủ tâm'),
('on sb’s behalf', 'nhân danh cá nhân ai'),
('once', 'một lần; khi mà, ngay khi, một khi'),
('one number,', 'một; một người, một vật nào đó'),
('onion', 'củ hành'),
('only', 'chỉ có 1, duy nhất; chỉ, mới'),
('onto', 'về phía trên, lên trên'),
('open', 'mở, ngỏ; mở, bắt đầu, khai mạc'),
('opening', 'khe hở, lỗ; sự bắt đầu, sự khai mạc, lễ khánh thành'),
('openly', 'công khai, thẳng thắn'),
('operate', 'hoạt động, điều khiển'),
('operation', 'sự hoạt động, quá trình hoạt động'),
('opinion', 'ý kiến, quan điểm'),
('opponent', 'địch thủ, đối thủ, kẻ thù'),
('opportunity', 'cơ hội, thời cơ'),
('oppose', 'đối kháng, đối chọi, đối lập; chống đối, phản đối'),
('opposed to', 'chống lại, phản đối'),
('opposing', 'tính đối kháng, đối chọi'),
('opposite', 'đối nhau, ngược nhau; trước mặt, đối diện; điều'),
('opposition', 'sự đối lập, sự đối nhau; sự chống lại, sự phản đối; phe đối'),
('option', 'sự lựa chọn'),
('orange', 'quả cam; có màu da cam'),
('order', 'thứ, bậc; ra lệnh'),
('ordinary', 'thường, thông thường'),
('organ', 'đàn óoc gan'),
('organization', 'tổ chức, cơ quan; sự tổ chức'),
('organize', 'tổ chức, thiết lập'),
('organized', 'có trật tự, ngăn nắp, được sắp xếp, được tổ chức'),
('origin', 'gốc, nguồn gốc, căn nguyên'),
('original', 'gốc, nguồn gốc, căn nguyên; nguyên bản'),
('originally', 'một cách sáng tạo, mới mẻ, độc đáo; khởi đầu, đầu tiên'),
('other', 'khác'),
('otherwise', 'khác, cách khác; nếu không thì...; mặt khác'),
('ought to modal', 'phải, nên, hẳn là'),
('our', 'của chúng ta, thuộc chúng ta, của chúng tôi, của chúng mình'),
('ours', 'của chúng ta, thuộc chúng ta, của chúng tôi, của chúng mình'),
('ourselves', 'bản thân chúng ta, bản thân chúng tôi, bản thân chúng mình; tự chúng mình'),
('out', 'ngoài, ở ngoài, ra ngoài'),
('outdoor', 'ngoài trời, ở ngoài'),
('outdoors', 'ở ngoài trời, ở ngoài nhà'),
('outer', 'ở phía ngoài, ở xa hơn'),
('outline', 'vẽ, phác tảo; đường nét, hình dáng, nét ngoài'),
('output', 'sự sản xuất; sản phẩm, sản lượng'),
('outside', 'bề ngoài, bên ngoài; ở ngoài; ngoài'),
('outstanding', 'nổi bật, đáng chú ý; còn tồn lại'),
('oven', 'lò'),
('over', 'bên trên, vượt qua; lên, lên trên'),
('overall', 'toàn bộ, toàn thể; tất cả, bao gồm'),
('overcome', 'thắng, chiến thắng, khắc phục, đánh bại'),
('owe', 'nợ, hàm ơn; có được'),
('own', 'của chính mình, tự mình; nhận, nhìn nhận'),
('owner', 'người chủ, chủ nhân'),
('o’clock', 'đúng giờ'),
('p.m.', 'quá trưa, chiều, tối'),
('pace', 'bước chân, bước'),
('pack', 'gói, bọc; bó, gói'),
('package', 'gói đồ, bưu kiện; đóng gói, đóng kiện'),
('packaging', 'bao bì'),
('packet', 'gói nhỏ'),
('page', 'trang'),
('pain', 'sự đau đớn, sự đau khổ'),
('painful', 'đau đớn, đau khổ'),
('paint', 'sơn, vôi màu; sơn, quét sơn'),
('painter', 'họa sĩ'),
('painting', 'sự sơn; bức họa, bức tranh'),
('pair', 'đôi, cặp'),
('palace', 'cung điện, lâu đài'),
('pale', 'taí, nhợt'),
('pan', 'xoong, chảo'),
('panel', 'ván ô , pa nô'),
('pants', 'quần lót, đùi'),
('paper', 'giấy'),
('parallel', 'song song, tương đương'),
('parent', 'cha, mẹ'),
('park', 'công viên, vườn hoa; khoanh vùng thành công viên'),
('parliament', 'nghi viện, quốc hội'),
('part', 'phần, bộ phận'),
('particular', 'riêng biệt, cá biệt'),
('particularly', 'một cách đặc biệt, cá biệt, riêng biệt'),
('partly', 'đến chừng mực nào đó, phần nào đó'),
('partner', 'đối tác, cộng sự'),
('partnership', 'sự chung phần, sự cộng tác'),
('party', 'tiệc, buổi liên hoan; đảng'),
('pass', 'qua, vượt qua, ngang qua'),
('passage', 'sự đi qua, sự trôi qua; hành lang'),
('passenger', 'hành khách'),
('passing', 'sự đi qua, sự trôi qua; thoáng qua, ngắn ngủi'),
('passport', 'hộ chiếu'),
('past', 'quá khứ, dĩ vãng; quá, qua'),
('path', 'đường mòn; hướng đi'),
('patience', 'tính kiên nhẫn, nhẫn nại, kiên trì, sự chịu đựng'),
('patient', 'bệnh nhân; kiên nhẫn, nhẫn nại, bền chí'),
('pattern', 'mẫu, khuôn mẫu'),
('pause', 'tạm nghỉ, dừng; sự tạm nghỉ, sự tạm ngừng'),
('pay', 'trả, thanh toán, nộp; tiền lương'),
('payment', 'sự trả tiền, số tiền trả, tiền bồi thường'),
('peace', 'hòa bình, sự hòa thuận'),
('peaceful', 'hòa bình, thái bình, yên tĩnh'),
('peak', 'lưỡi trai; đỉnh, chóp'),
('pen', 'bút'),
('pence', 'đồng xu'),
('pencil', 'bút chì'),
('penny', 'đồng xu'),
('pension', 'tiền trợ cấp, lương hưu'),
('people', 'dân tộc, dòng giống; người'),
('pepper', 'hạt tiêu, cây ớt'),
('per', 'cho mỗi'),
('per cent', 'phần trăm'),
('perfect', 'hoàn hảo'),
('perfectly', 'một cách hoàn hảo'),
('perform', 'biểu diễn; làm, thực hiện'),
('performance', 'sự làm, sự thực hiện, sự thi hành, sự biểu diễn'),
('performer', 'người biểu diễn, người trình diễn'),
('perhaps', 'có thể, có lẽ'),
('period', 'kỳ, thời kỳ, thời gian; thời đại'),
('permanent', 'lâu dài, vĩnh cửu, thường xuyên'),
('permanently', 'cách thường xuyên, vĩnh cửu'),
('permission', 'sự cho phép, giấy phép'),
('permit', 'cho phép, cho cơ hội'),
('person', 'con người, người'),
('personal', 'cá nhân, tư, riêng tư'),
('personality', 'nhân cách, tính cách; nhân phẩm, cá tính'),
('personally', 'đích thân, bản thân, về phần rôi, đối với tôi'),
('persuade', 'thuyết phục'),
('pet', 'cơn nóng giận; vật cưng, người được yêu thích'),
('petrol', 'xăng dầu'),
('phase', 'tuần trăng; giai đoạn, thời kỳ'),
('philosophy', 'triết học, triết lý'),
('photocopy', 'bản sao chụp; sao chụp'),
('photograph', 'ảnh, bức ảnh; chụp ảnh'),
('photographer', 'thợ chụp ảnh, nhà nhiếp ảnh'),
('photography', 'thuật chụp ảnh, nghề nhiếp ảnh'),
('phrase', 'câu; thành ngữ, cụm từ'),
('physical', 'vật chất; cơ thể, thân thể'),
('physically', 'về thân thể, theo luật tự nhiên'),
('physics', 'vật lý học'),
('piano', 'đàn pianô, dương cầm'),
('pick', 'cuốc'),
('pick sth up', 'cuốc, vỡ, xé'),
('picture', 'bức vẽ, bức họa'),
('piece', 'mảnh, mẩu; đồng tiền'),
('pig', 'con lợn'),
('pile', 'cọc, chồng, đống, pin; đóng cọc, chất chồng'),
('pill', 'viên thuốc'),
('pilot', 'phi công'),
('pin', 'đinh ghim; ghim., kẹp'),
('pink', 'màu hồng; hoa cẩm chướng, tình trạng tốt, hoàn hảo'),
('pint', 'panh'),
('pipe', 'ống dẫn'),
('pitch', 'sân ; đầu hắc ín'),
('pity', 'lòng thương hại, điều đáng tiếc, đáng thương'),
('place', 'nơi, địa điểm; quảng trường'),
('plain', 'ngay thẳng, đơn giản, chất phác'),
('plan', 'bản đồ, kế hoạch; vẽ bản đồ, lập kế hoạch, dự kiến'),
('plane', 'mặt phẳng, mặt bằng'),
('planet', 'hành tinh'),
('planning', 'sự lập kế hoạch, sự quy hoạch'),
('plant', 'thực vật, sự mọc lên; trồng, gieo'),
('plastic', 'chất dẻo, làm bằng chất dẻo'),
('plate', 'bản, tấm kim loại'),
('platform', 'nền, bục, bệ; thềm, sân ga'),
('play', 'chơi, đánh; sự vui chơi, trò chơi, trận đấu'),
('player', 'người chơi 1 trò chơi nào đó'),
('pleasant', 'vui vẻ, dễ thương; dịu dàng, thân mật'),
('pleasantly', 'vui vẻ, dễ thương; thân mật'),
('please exclamation,', 'làm vui lòng, vừa lòng, mong... vui lòng, xin mời'),
('pleased', 'hài lòng'),
('pleasing', 'mang lại niềm vui thích; dễ chịu'),
('pleasure', 'niềm vui thích, điều thích thú, điều thú vị; ý muốn, ý thích'),
('plenty', 'nhiều ; chỉ sự thừa; sự sung túc, sự p.phú'),
('plot', 'mảnh đất nhở, sơ đồ, đồ thị, đồ án; vẽ sơ đồ, dựng đồ án'),
('plug', 'nút'),
('plus', 'cộng với ; dấu cộng; cộng, thêm vào'),
('pocket', 'túi , túi tiền'),
('poem', 'thi ca; chất thơ'),
('point', 'mũi nhọn, điểm; vót, làm nhọn, chấm'),
('pointed', 'nhọn, có đầu nhọn'),
('poison', 'chất độc, thuốc độc; đánh thuốc độc, tẩm thuốc độc'),
('poisonous', 'độc, có chất độc, gây chết, bệnh'),
('pole', 'người ba lan; cực'),
('police', 'cảnh sát, công an'),
('policy', 'chính sách'),
('polish', 'nước bóng, nước láng; đánh bóng, làm cho láng'),
('polite', 'lễ phép, lịch sự'),
('politely', 'lễ phép, lịch sự'),
('political', 'về chính trị, về chính phủ, có tính chính trị'),
('politically', 'về mặt chính trị; khôn ngoan, thận trọng; sảo quyệt'),
('politician', 'nhà chính trị, chính khách'),
('politics', 'họat động chính trị, đời sống chính trị, quan điểm chính trị'),
('pollution', 'sự ô nhiễm'),
('pool', 'vũng nước; bể bơi, hồ bơi'),
('poor', 'nghèo'),
('pop', 'tiếp bốp, phong cách dân gian hiện đại; nổ bốp'),
('popular', 'có tính đại chúng, nhân dân; được nhiều người ưa chuộng'),
('population', 'dân cư, dân số; mật độ dân số'),
('port', 'cảng'),
('pose', 'đưa ra, đề ra, đặt; sự đặt, đề ra'),
('position', 'vị trí, chỗ'),
('positive', 'xác thực, rõ ràng, tích cực, lạc quan'),
('possess', 'có, chiếm hữu'),
('possession', 'quyền sở hữu, vật sở hữu'),
('possibility', 'khă năng, triển vọng'),
('possible', 'có thể, có thể thực hiện'),
('possibly', 'có lẽ, có thể, có thể chấp nhận được'),
('post', 'thư, bưu kiện; gửi thư'),
('post office', 'bưu điện'),
('pot', 'can, bình, lọ...'),
('potato', 'khoai tây'),
('potential', 'tiềm năng; khả năng, tiềm lực'),
('potentially', 'tiềm năng, tiềm ẩn'),
('pound', 'pao - đơn vị đo lường'),
('pour', 'rót, đổ, giội'),
('powder', 'bột, bụi'),
('power', 'khả năng, tài năng, năng lực; sức mạnh, nội lực; quyền lực'),
('powerful', 'hùng mạnh, hùng cường'),
('practical', 'thực hành; thực tế'),
('practically', 'về mặt thực hành; thực tế'),
('practice', 'thực hành, thực tiễn'),
('practise', 'thực hành, tập luyện'),
('praise', 'sự ca ngợi, sự tán dương, lòng tôn kính, tôn thờ; khen ngợi, tán dương'),
('prayer', 'sự cầu nguyện'),
('precise', 'rõ ràng, chính xác; tỉ mỉ, kỹ tính'),
('precisely', 'đúng, chính xác, cần thận'),
('predict', 'báo trước, tiên đoán, dự báo'),
('prefer', 'thích hơn'),
('preference', 'sự thích hơn, sự ưa hơn; cái được ưa thích hơn'),
('pregnant', 'mang thai; giàu trí tưởng tượng, sáng tạo'),
('premises', 'biệt thự'),
('preparation', 'sự sửa soạn, sự chuẩn bị'),
('prepare', 'sửa soạn, chuẩn bị'),
('prepared', 'đã được chuẩn bị'),
('presence', 'sự hiện diện, sự có mặt; người, vât hiện diện'),
('present', 'có mặt, hiện diện; hiện nay, hiện thời; bày tỏ, giới thiệu, trình bày'),
('presentation', 'bài thuyết trình, sự trình diện, sự giới thiệu'),
('preserve', 'bảo quản, giữ gìn'),
('president', 'hiệu trưởng, chủ tịnh, tổng thống'),
('press', 'sự ép, sự nén, sự ấn; ép, nén, bóp, ấn'),
('pressure', 'sức ép, áp lực, áp suất'),
('presumably', 'có thể được, có lẽ'),
('pretend', 'giả vờ, giả bộ, làm ra vẻ'),
('pretty', 'khá, vừa phải; xinh, xinh xắn;, đẹp'),
('prevent', 'ngăn cản, ngăn chặn, ngăn ngừa'),
('previous', 'vội vàng, hấp tấp; trước , ưu tiên'),
('previously', 'trước, trước đây'),
('price', 'sự kiêu hãnh, sự hãnh diện; tính kiêu căng, tự phụ'),
('priest', 'linh mục, thầy tu'),
('primarily', 'trước hết, đầu tiên'),
('primary', 'nguyên thủy, đầu tiên; thời cổ đại, nguyên sinh; sơ cấp, tiểu học'),
('prime minister', 'thủ tướng'),
('prince', 'hoành tử'),
('princess', 'công chúa'),
('principle', 'cơ bản, chủ yếu; nguyên lý, nguyên tắc'),
('print', 'in, xuất bản; sự in ra'),
('printer', 'máy in, thợ in'),
('printing', 'sự in, thuật in, kỹ sảo in'),
('prior', 'trước, ưu tiên'),
('priority', 'sự ưu tế, quyền ưu tiên'),
('prison', 'nhà tù'),
('prisoner', 'tù nhân'),
('private', 'cá nhân, riêng'),
('privately', 'riêng tư, cá nhân'),
('prize', 'giải, giải thưởng'),
('probable', 'có thể, có khả năng'),
('probably', 'hầu như chắc chắn'),
('problem', 'vấn đề, điều khó giải quyết'),
('procedure', 'thủ tục'),
('proceed', 'tiến lên, theo duổi, tiếp diễn'),
('process', 'quá trình, sự tiến triển, quy trình; chế biến, gia công, xử lý'),
('produce', 'sản xuất, chế tạo'),
('producer', 'nhà sản xuất'),
('product', 'sản phẩm'),
('production', 'sự sản xuất, chế tạo'),
('profession', 'nghề, nghề nghiệp'),
('professional', 'nghề, nghề nghiệp; chuyên nghiệp'),
('professor', 'giáo sư, giảng viên'),
('profit', 'thuận lợi, lợi ích, lợi nhuận'),
('program', 'chương trình; lên chương trình'),
('programme', 'chương trình'),
('progress', 'sự tiến tới, sự tiến triển; tiến bộ, tiến triển, phát triển'),
('project', 'đề án, dự án, kế hoạch; dự kiến, kế hoạch'),
('promise', 'hứa, lời hứa'),
('promote', 'thăng chức, thăng cấp'),
('promotion', 'sự thăng chức, sự thăng cấp'),
('prompt', 'mau lẹ, nhanh chóng; xúi, giục, nhắc nhở'),
('promptly', 'mau lẹ, ngay lập tức'),
('pronounce', 'tuyên bố, thông báo, phát âm'),
('pronunciation', 'sự phát âm'),
('proof', 'chứng, chứng cớ, bằng chứng; sự kiểm chứng'),
('proper', 'đúng, thích đáng, thích hợp'),
('properly', 'một cách đúng đắn, một cách thích đáng'),
('property', 'tài sản, của cải; đất đai, nhà cửa, bất động sản'),
('proportion', 'sự cân xứng, sự cân đối'),
('proposal', 'sự đề nghị, đề xuất'),
('propose', 'đề nghị, đề xuất, đưa ra'),
('prospect', 'viễn cảnh, toàn cảnh; triển vọng, mong chờ'),
('protect', 'bảo vệ, che chở'),
('protection', 'sự bảo vệ, sự che chở'),
('protest', 'sự phản đối, sự phản kháng; phản đối, phản kháng'),
('proud', 'tự hào, kiêu hãnh'),
('proudly', 'một cách tự hào, một cách hãnh diện'),
('prove', 'chứng tỏ, chứng minh'),
('provide', 'chuẩn bị đầy đủ, dự phòng; cung cấp, chu cấp'),
('provided', 'với điều kiện là, miễn là'),
('public', 'chung, công cộng; công chúng, nhân dân'),
('publication', 'sự công bố; sự xuất bản'),
('publicity', 'sự công khai, sự quảng cáo'),
('publicly', 'công khai, công cộng'),
('publicyhouse', 'quán rượu, tiệm rượu'),
('publish', 'công bố, ban bố; xuất bản'),
('publishing', 'công việc, nghề xuất bản'),
('pull', 'lôi, kéo, giật; sự lôi kéo, sự giật'),
('punch', 'đấm, thụi; quả đấm, cú thụi'),
('punish', 'phạt, trừng phạt'),
('punishment', 'sự trừng phạt, sự trừng trị'),
('pupil', 'học sinh'),
('purchase', 'sự mua, sự tậu; mua, sắm, tậu'),
('pure', 'nguyên chất, tinh khiết, trong lành'),
('purely', 'hoàn toàn, chỉ là'),
('purple', 'tía, có màu tía; màu tía'),
('purpose', 'mục đích, ý định'),
('pursue', 'đuổi theo, đuổi bắt'),
('push', 'xô đẩy; sự xô đẩy'),
('put', 'đặt, để, cho vào'),
('put out', 'tắt, dập tắt'),
('qualification', 'phẩm chất, năng lực; khả năng chuyên môn'),
('qualified', 'đủ tư cách, điều kiện, khả năng'),
('qualify', 'đủ khả năng, đủ tư cách, điều kiện'),
('quality', 'chất lượng, phẩm chất'),
('quantity', 'lượng, số lượng'),
('quarter', '4, 15 phút'),
('queen', 'nữ hoàng'),
('question', 'câu hỏi; hỏi, chất vấn'),
('quick', 'nhanh'),
('quickly', 'nhanh'),
('quiet', 'lặng, yên lặng, yên tĩnh'),
('quietly', 'lặng, yên lặng, yên tĩnh'),
('quit', 'thoát, thoát ra'),
('quite', 'hoàn toàn, hầu hết'),
('quote', 'trích dẫn'),
('race', 'loài, chủng, giống; cuộc đua; đua'),
('racing', 'cuộc đua'),
('radio', 'sóng vô tuyến, radio'),
('rail', 'đường ray'),
('railway', 'đường sắt'),
('rain', 'mưa, cơn mưa; mưa'),
('raise', 'nâng lên, đưa lên, ngẩng lên'),
('range', 'dãy, hàng, loại; phạm vi, trình độ'),
('rank', 'hàng, dãy; sắp xếp thành hàng, dãy'),
('rapid', 'nhanh, nhanh chóng'),
('rapidly', 'nhanh, nhanh chóng'),
('rare', 'hiếm, ít'),
('rarely', 'hiếm khi, ít khi'),
('rate', 'tỷ lệ, tốc độ'),
('rather', 'thà.. còn hơn, thích... hơn'),
('rather than', 'hơn là'),
('raw', 'sống , thô, còn nguyên chất'),
('reach', 'đến, đi đến, tới'),
('react', 'tác động trở lại, phản ứng'),
('reaction', 'sự phản ứng; sự phản tác dụng'),
('read', 'đọc'),
('reader', 'người đọc, độc giả'),
('reading', 'sự đọc'),
('ready', 'sẵn sàng'),
('real', 'thực, thực tế, có thật'),
('realistic', 'hiện thực'),
('reality', 'sự thật, thực tế, thực tại'),
('realize', 'thực hiện, thực hành'),
('really', 'thực, thực ra, thực sự'),
('rear', 'phía sau; ở đằng sau, ở đằng sau'),
('reason', 'lý do, lý lẽ'),
('reasonable', 'có lý, hợp lý'),
('reasonably', 'hợp lý'),
('recall', 'gọi về, triệu hồi; nhặc lại, gợi lại'),
('receipt', 'công thức; đơn thuốc'),
('receive', 'nhận, lĩnh, thu'),
('recent', 'gần đây, mới đây'),
('recently', 'gần đây, mới đây'),
('reception', 'sự nhận, sự tiếp nhận, sự đón tiếp'),
('reckon', 'tính, đếm'),
('recognition', 'sự công nhận, sự thừa nhận'),
('recognize', 'nhận ra, nhận diện; công nhận, thừa nhận'),
('recommend', 'giới thiệu, tiến cử; đề nghị, khuyên bảo'),
('record', 'bản ghi, sự ghi, bản thu, sự thu; thu, ghi chép'),
('recording', 'sự ghi, sự thu âm'),
('recover', 'lấy lại, giành lại'),
('red', 'đỏ; màu đỏ'),
('reduce', 'giảm, giảm bớt'),
('reduction', 'sự giảm giá, sự hạ giá'),
('refer to', 'xem, tham khảo; ám chỉ, nhắc đến'),
('reference', 'sự tham khảo, hỏi ýe kiến'),
('reflect', 'phản chiếu, phản hồi, phản ánh'),
('reform', 'cải cách, cải thiện, cải tạo; sự cải cách, sự cải thiện, cải tạo'),
('refrigerator', 'tủ lạnh'),
('refusal', 'sự từ chối, sự khước từ'),
('refuse', 'từ chối, khước từ'),
('regard', 'nhìn, đánh giá; cái nhìn, sự quan tâm, sự chú ý'),
('regarding', 'về, về việc, đối với'),
('region', 'vùng, miền'),
('regional', 'vùng, địa phương'),
('register', 'đăng ký, ghi vào sổ; sổ, sổ sách, máy ghi'),
('regret', 'đáng tiếc, hối tiếc; lòng thương tiếc, sự hối tiếc'),
('regular', 'thường xuyên, đều đặn'),
('regularly', 'đều đặn, thường xuyên'),
('regulation', 'sự điều chỉnh, điều lệ, quy tắc'),
('reject', 'không chấp nhận, loại bỏ, bác bỏ'),
('relate', 'kể lại, thuật lại; liên hệ, liên quan'),
('related', 'có liên quan, có quan hệ với ai, cái gì'),
('relation', 'mối quan hệ, sự liên quan, liên lạc'),
('relationship', 'mối quan hệ, mối liên lạc'),
('relative', 'có liên quan đến; người có họ, đại từ quan hệ'),
('relatively', 'có liên quan, có quan hệ'),
('relax', 'giải trí, nghỉ ngơi'),
('relaxed', 'thanh thản, thoải mái'),
('relaxing', 'làm giảm, bớt căng thẳng'),
('release', 'làm nhẹ, bớt, thả, phóng thích, phát hành; sự giải thoát, thoát'),
('relevant', 'thích hợp, có liên quan'),
('relief', 'sự giảm nhẹ, sự làm cho khuây khỏa; sự trợ cấo; sự đền bù'),
('religion', 'tôn giáo'),
('religious', 'tôn giáo'),
('rely on', 'tin vào, tin cậy, tin tưởng vào'),
('remain', 'còn lại, vẫn còn như cũ'),
('remaining', 'còn lại'),
('remains', 'đồ thừa, cái còn lại'),
('remark', 'sự nhận xét, phê bình, sự để ý, chú ý; nhận xét, phê bình, để ý, chú ý'),
('remarkable', 'đáng chú ý, đáng để ý; khác thường'),
('remarkably', 'đáng chú ý, đáng để ý; khác thường'),
('remember', 'nhớ, nhớ lại'),
('remind', 'nhắc nhở, gợi nhớ'),
('remote', 'xa, xa xôi, xa cách'),
('removal', 'viêc di chuyển, việc dọn nhà, dời đi'),
('remove', 'dời đi, di chuyển'),
('rent', 'sự thuê mướn; cho thuê, thuê'),
('rented', 'được thuê, được mướn'),
('repair', 'sửa chữa, chỉnh tu; sự sửa chữa, sự chỉnh tu'),
('repeat', 'nhắc lại, lặp lại'),
('repeated', 'được nhắc lại, được lặp lại'),
('repeatedly', 'lặp đi lặp lại nhiều lần'),
('replace', 'thay thế'),
('reply', 'sự trả lời, sự hồi âm; trả lời, hồi âm'),
('report', 'báo cáo, tường trình; bản báo cáo, bản tường trình'),
('represent', 'miêu tả, hình dung; đại diện, thay mặt'),
('representative', 'điều tiêu biểu, tượng trưng, mẫu; miêu tả, biểu hiện, đại diện, tượng trưng'),
('reproduce', 'tái sản xuất'),
('reputation', 'sự nổi tiếng, nổi danh'),
('request', 'lời thỉnh cầu, lời đề nghị, yêu cầu; thỉnh cầu, đề nghị, yêu cầu'),
('require', 'đòi hỏi, yêu cầu, quy định'),
('requirement', 'nhu cầu, sự đòi hỏi; luật lệ, thủ tục'),
('rescue', 'giải thoát, cứu nguy; sự giải thoát, sự cứu nguy'),
('research', 'sự nghiên cứu'),
('reservation', 'sự hạn chế, điều kiện hạn chế'),
('reserve', 'dự trữ, để dành, đặt trước, đăng ký trước; sự dự trữ, sự để dành, sự đặt trước, sự đăng ký trước'),
('resident', 'người sinh sống, trú ngụ, khách trọ; có nhà ở, cư trú, thường trú'),
('resist', 'chống lại, phản đổi, kháng cự'),
('resistance', 'sự chống lại, sự phản đối, sự kháng cự'),
('resolve', 'quyết định, kiên quyết'),
('resort', 'kế sách, phương kế'),
('resource', 'tài nguyên; kế sách, thủ đoạn'),
('respect', 'sự kính trọng, sự lễ phép; tôn trọng, kính trọng, khâm phục'),
('respond', 'hưởng ứng, phản ứng lại, trả lời'),
('response', 'sự trả lời, câu trả lời, sự hưởng ứng, sự đáp lại'),
('responsibility', 'trách nhiệm, sự chịu trách nhiệm'),
('responsible', 'chịu trách nhiệm về, chịu trách nhiệm trước ai, gì'),
('rest', 'sự nghỉ ngơi, lúc nghỉ; nghỉ, nghỉ ngơi'),
('restaurant', 'nhà hàng ăn, hiệu ăn'),
('restore', 'hoàn lại, trả lại; sửa chữa lại, phục hồi lại'),
('restrict', 'hạn chế, giới hạn'),
('restricted', 'bị hạn chế, có giới hạn; vùng cấm'),
('restriction', 'sự hạn chế, sự giới hạn'),
('result', 'kết quả; bởi, do.. mà ra, kết quả là...'),
('retain', 'giữ lại, nhớ được'),
('retire', 'rời bỏ, rút về; thôi, nghỉ việc, về hưu'),
('retired', 'ẩn dật, hẻo lánh, đã về hưu, đã nghỉ việc'),
('retirement', 'sự ẩn dật, nơi hẻo lánh, sự về hưu, sự nghỉ việc'),
('return', 'trở lại, trở về; sự trở lại, sự trở về'),
('reveal', 'bộc lộ, biểu lộ, tiết lộ; phát hiện, khám phá'),
('reverse', 'đảo, ngược lại; điều trái ngược, mặt trái'),
('review', 'sự xem lại, sự xét lại; làm lại, xem xét lại'),
('revise', 'đọc lại, xem lại, sửa lại, ôn lại'),
('revision', 'sự xem lại, sự đọc lại, sự sửa lại, sự ôn lại'),
('revolution', 'cuộc cách mạng'),
('reward', 'sự thưởng, phần thưởng; thưởng, thưởng công'),
('rhythm', 'nhịp điệu'),
('rice', 'gạo, thóc, cơm; cây lúa'),
('rich', 'giàu, giàu có'),
('rid', 'giải thoát'),
('ride', 'đi, cưỡi ; sự đi, đường đi'),
('rider', 'người cưỡi ngựa, người đi xe đạp'),
('ridiculous', 'buồn cười, lố bịch, lố lăng'),
('riding', 'môn thể thao cưỡi ngựa, sự đi xe'),
('right', 'thẳng, phải, tốt; ngay, đúng; điều thiện, điều phải, tốt, bên phải'),
('rightly', 'đúng, phải, có lý'),
('ring', 'chiếc nhẫn, đeo nhẫn cho ai'),
('rise', 'sự lên, sự tăng lương, thăng cấp; dậy, đứng lên, mọc , thành đạt'),
('risk', 'sự liều, mạo hiểm; liều'),
('rival', 'đối thủ, địch thủ; đối địch, cạnh tranh'),
('river', 'sông'),
('road', 'con đường, đường phố'),
('rob', 'cướp, lấy trộm'),
('rock', 'đá'),
('role', 'vai , vai trò'),
('roll', 'cuốn, cuộn, sự lăn tròn; lăn, cuốn, quấn, cuộn'),
('romantic', 'lãng mạn'),
('roof', 'mái nhà, nóc'),
('room', 'phòng, buồng'),
('root', 'gốc, rễ'),
('rope', 'dây cáp, dây thừng, xâu, chuỗi'),
('rough', 'gồ ghề, lởm chởm'),
('roughly', 'gồ ghề, lởm chởm'),
('round', 'tròn, vòng quanh, xung quanh'),
('rounded', 'bị làm thành tròn; phát triển đầy đủ'),
('route', 'đường đi, lộ trình, tuyến đường'),
('routine', 'thói thường, lệ thường, thủ tục; thường lệ, thông thường'),
('row name', 'hàng, dãy'),
('royal', 'vua, nữ hoàng, hoàng gia'),
('rub', 'cọ xát, xoa bóp, nghiền, tán'),
('rubber', 'cao su'),
('rubbish', 'vật vô giá trị, bỏ đi, rác rưởi'),
('rude', 'bất lịch sự, thô lỗ; thô sơ, đơn giản'),
('rudely', 'bất lịch sự, thô lỗ; thô sơ, đơn giản'),
('ruin', 'làm hỏng, làm đổ nát, làm phá sản; sự hỏng, sự đổ nát, sự phá sản'),
('ruined', 'bị hỏng, bị đổ nát, bị phá sản'),
('rule', 'quy tắc, điều lệ, luật lệ; cai trị, chỉ huy, điều khiển'),
('ruler', 'người cai trị, người trị vì; thước kẻ'),
('rumour', 'tin đồn, lời đồn'),
('run', 'chạy; sự chạy'),
('runner', 'người chạy'),
('running', 'sự chạy, cuộc chạy đua'),
('rural', 'nông thôn, vùng nông thôn'),
('rush', 'xông lên, lao vào, xô đẩy; sự xông lên, sự lao vào, sự xô đẩy'),
('sack', 'bào tải; đóng bao, bỏ vào bao'),
('sad', 'buồn, buồn bã'),
('sadly', 'một cách buồn bã, đáng buồn là, không may mà'),
('sadness', 'sự buồn rầu, sự buồn bã'),
('safe', 'an toàn, chắc chắn, đáng tin'),
('safely', 'an toàn, chắc chắn, đáng tin'),
('safety', 'sự an toàn, sự chắc chăn'),
('sail', 'đi tàu, thuyền, nhổ neo; buồm, cánh buồm, chuyến đi bằng thuyền buồm'),
('sailing', 'sự đi thuyền'),
('sailor', 'thủy thủ'),
('salad', 'sa lát ; rau sống'),
('salary', 'tiền lương'),
('sale', 'việc bán hàng'),
('salt', 'muối'),
('salty', 'chứ vị muối, có muối, mặn'),
('same', 'đều đều, đơn điệu; cũng như thế, vẫn cái đó'),
('sample', 'mẫu, hàng mẫu'),
('sand', 'cát'),
('satisfaction', 'sự làm cho thỏa mãn, toại nguyện; sự trả nợ, bồi thường'),
('satisfied', 'cảm thấy hài lòng, vừa ý, thoả mãn'),
('satisfy', 'làm thỏa mãn, hài lòng; trả , chuộc tội'),
('satisfying', 'đem lại sự thỏa mãn, làm thỏa mãn, làm vừa ý'),
('saturday', 'thứ 7'),
('sauce', 'nước xốt, nước chấm'),
('save', 'cứu, lưu'),
('saving', 'nói'),
('scale', 'vảy'),
('scare', 'làm kinh hãi, sợ hãi, dọa; sự sợ hãi, sự kinh hoàng'),
('scared', 'bị hoảng sợ, bị sợ hãi'),
('scene', 'cảnh, phong cảnh'),
('schedule', 'kế hoạch làm việc, bản liệt kê; lên thời khóa biểu, lên kế hoạch'),
('scheme', 'sự sắp xếp, sự phối hợp; kế hoạch thực hiện; lược đồ, sơ đồ'),
('school', 'đàn cá, bầy cá'),
('science', 'khoa học, khoa học tự nhiên'),
('scientific', 'khoa học, có tính khoa học'),
('scientist', 'nhà khoa học'),
('scissors', 'cái kéo'),
('score', 'điểm số, bản thắng, tỷ số; đạt được, thành công, cho điểm'),
('scratch', 'cào, làm xước da; sự cào, sự trầy xước da'),
('scream', 'gào thét, kêu lên; tiếng thét, tiếng kêu to'),
('screen', 'màn che, màn ảnh, màn hình; phim ảnh nói chung'),
('screw', 'đinh vít, đinh ốc; bắt vít, bắt ốc'),
('sea', 'biển'),
('seal', 'hải cẩu; săn hải cẩu'),
('search', 'sự tìm kiếm, sự thăm dò, sự điều tra; tìm kiếm, thăm dò, điều tra'),
('season', 'mùa'),
('seat', 'ghế, chỗ ngồi'),
('second', 'thứ hai, ở vị trí thứ 2, thứ nhì; người về nhì'),
('secondary', 'trung học, thứ yếu'),
('secret', 'bí mật; điều bí mật'),
('secretary', 'thư ký'),
('secretly', 'bí mật, riêng tư'),
('section', 'mục, phần'),
('sector', 'khu vực, lĩnh vực'),
('secure', 'chắc chắn, đảm bảo; bảo đảm, giữ an ninh'),
('security', 'sự an toàn, sự an ninh'),
('see', 'nhìn, nhìn thấy, quan sát'),
('seed', 'hạt, hạt giống'),
('seek', 'tìm, tìm kiếm, theo đuổi'),
('seem linking', 'chọn lựa, chọn lọc'),
('selection', 'sự lựa chọn, sự chọc lọc'),
('self', 'bản thân mình'),
('sell', 'bán'),
('senate', 'thượng nghi viện, ban giám hiệu'),
('senator', 'thượng nghị sĩ'),
('send', 'gửi, phái đi');
INSERT INTO `my_dic` (`word_taget`, `word_explain`) VALUES
('senior', 'nhiều tuổi hơn, dành cho trẻ em trên 11t; người lớn tuổi hơn, sinh viên năm cuối trường trung học, cao đẳng'),
('sense', 'giác quan, tri giác, cảm giác'),
('sensible', 'có óc xét đoán; hiểu, nhận biết được'),
('sensitive', 'dễ bị thương, dễ bị hỏng; dễ bị xúc phạm'),
('sentence', 'câu'),
('separate', 'khác nhau, riêng biệt; làm rời, tách ra, chia tay'),
('separated', 'ly thân'),
('separately', 'không cùng nhau, thành người riêng, vật riêng'),
('separation', 'sự chia cắt, phân ly, sự chia tay, ly thân'),
('september', 'tháng 9'),
('series', 'loạt, dãy, chuỗi'),
('serious', 'đứng đắn, nghiêm trang'),
('seriously', 'đứng đắn, nghiêm trang'),
('servant', 'người hầu, đầy tớ'),
('serve', 'phục vụ, phụng sự'),
('service', 'sự phục vụ, sự hầu hạ'),
('session', 'buổi họp, phiên họp, buổi, phiên'),
('set', 'bộ, bọn, đám, lũ; đặt để, bố trí'),
('set fire to', 'đốt cháy cái gì'),
('settle', 'giải quyết, dàn xếp, hòa giải, đặt, bố trí'),
('several', 'vài'),
('severe', 'khắt khe, gay gắt'),
('severely', 'khắt khe, gay gắt'),
('sew', 'may, khâu'),
('sewing', 'sự khâu, sự may vá'),
('sex', 'giới, giống'),
('sexual', 'giới tính, các vấn đề sinh lý'),
('sexually', 'giới tính, các vấn đề sinh lý'),
('shade', 'bóng, bóng tối'),
('shadow', 'bóng, bóng tối, bóng râm, bóng mát'),
('shake', 'rung, lắc, giũ; sự rung, sự lắc, sự giũ'),
('shall modal', 'dự đoán tương lai: sẽ'),
('shallow', 'nông, cạn'),
('shame', 'sự xấu hổ, thẹn thùng, sự ngượng'),
('shape', 'hình, hình dạng, hình thù'),
('shaped', 'có hình dáng được chỉ rõ'),
('share', 'đóng góp, tham gia, chia sẻ; phần đóng góp, phần tham gia, phần chia sẻ'),
('sharply', 'sắc, nhọn, bén'),
('shave', 'cạo'),
('she', 'nó, bà ấy, chị ấy, cô ấy...'),
('sheep', 'con cừu'),
('sheet', 'chăn, khăn trải giường; lá, tấm, phiến, tờ'),
('shelf', 'kệ, ngăn, giá'),
('shell', 'vỏ, mai; vẻ bề ngoài'),
('shelter', 'sự nương tựa, sự che chở, sự ẩn náu; che chở, bảo vệ'),
('shift', 'đổi chỗ, dời chỗ, chuyển, giao; sự thay đổi, sự luân phiên'),
('shine', 'chiếu sáng, tỏa sáng'),
('shiny', 'sáng chói, bóng'),
('ship', 'tàu, tàu thủy'),
('shirt', 'áo sơ mi'),
('shock', 'sự đụng chạm, va chạm, sự kích động, sự choáng; chạm mạnh, va mạnh, gây sốc'),
('shocked', 'bị kích động, bị va chạm, bị sốc'),
('shocking', 'gây ra căm phẫn, tồi tệ, gây kích động'),
('shoe', 'giày'),
('shoot', 'vụt qua, chạy qua, ném, phóng, bắn; đâm ra, trồi ra'),
('shooting', 'sự bắn, sự phóng đi'),
('shop', 'cửa hàng; đi mua hầng, đi chợ'),
('shopping', 'sự mua sắm'),
('short', 'ngắn, cụt'),
('shortly', 'trong thời gian ngắn, sớm'),
('shot', 'đạn, viên đạn'),
('should modal', 'nên'),
('shoulder', 'vai'),
('shout', 'hò hét, reo hò; sự la hét, sự hò reo'),
('show', 'biểu diễn, trưng bày; sự biểu diễn, sự bày tỏ'),
('shower', 'vòi hoa sen, sự tắm vòi hoa sen'),
('shut', 'đóng, khép, đậy; tính khép kín'),
('shy', 'nhút nhát, e thẹn'),
('sick', 'ốm, đau, bệnh'),
('side', 'mặt, mặt phẳng'),
('sideways', 'ngang, từ một bên; sang bên'),
('sight', 'cảnh đẹp; sự nhìn'),
('sign', 'dấu, dấu hiệu, kí hiệu; đánh dấu, viết ký hiệu'),
('signal', 'dấu hiệu, tín hiệu; ra hiệu, báo hiệu'),
('signature', 'chữ ký'),
('significant', 'nhiều ý nghĩa, quan trọng'),
('significantly', 'đáng kể'),
('silence', 'sự im lặng, sự yên tĩnh'),
('silent', 'im lặng, yên tĩnh'),
('silk', 'tơ , chỉ, lụa'),
('silly', 'ngớ ngẩn, ngu ngốc, khờ dại'),
('silver', 'bạc, đồng bạc; làm bằng bạc, trắng như bạc'),
('similar', 'giống như, tương tự như'),
('similarly', 'tương tự, giống nhau'),
('simple', 'đơn, đơn giản, dễ dàng'),
('simply', 'một cách dễ dàng, giản dị'),
('since', 'từ, từ khi; từ khi, từ lúc đó; từ đó, từ lúc ấy'),
('sincere', 'thật thà, thẳng thắng, chân thành'),
('sincerely', 'một cách chân thành'),
('sing', 'hát, ca hát'),
('singer', 'ca sĩ'),
('singing', 'sự hát, tiếng hát'),
('single', 'đơn, đơn độc, đơn lẻ'),
('sink', 'chìm, lún, đắm'),
('sir', 'xưng hô lịch sự ngài, ông'),
('sister', 'chị, em gái'),
('sit', 'ngồi'),
('sit down', 'ngồi xuống'),
('site', 'chỗ, vị trí'),
('situation', 'hoàn cảnh, địa thế, vị trí'),
('size', 'cỡ'),
('sized', 'đã được định cỡ'),
('skilful', 'tài giỏi, khéo tay'),
('skilfully', 'tài giỏi, khéo tay'),
('skill', 'kỹ năng, kỹ sảo'),
('skilled', 'có kỹ năng, có kỹ sảo, khẻo tay; có kinh nghiệm,, lành nghề'),
('skin', 'da, vỏ'),
('skirt', 'váy, đầm'),
('sky', 'trời, bầu trời'),
('sleep', 'ngủ; giấc ngủ'),
('sleeve', 'tay áo, ống tay'),
('slice', 'miếng, lát mỏng; cắt ra thành miếng mỏng, lát mỏng'),
('slide', 'trượtc, chuyển động nhẹ, lướt qua'),
('slight', 'mỏng manh, thon, gầy'),
('slightly', 'mảnh khảnh, mỏng manh, yếu ớt'),
('slip', 'trượt, tuột, trôi qua, chạy qua'),
('slope', 'dốc, đường dốc, độ dốc; nghiêng, dốc'),
('slow', 'chậm, chậm chạp'),
('slowly', 'một cách chậm chạp, chậm dần'),
('small', 'nhỏ, bé'),
('smart', 'mạnh, ác liệt'),
('smash', 'đập, vỡ tan thành mảnh; sự đập, vỡ tàn thành mảnh'),
('smell', 'ngửi; sự ngửi, khứu giác'),
('smile', 'cười, mỉm cười; nụ cười, vẻ tươi cười'),
('smoke', 'khói, hơi thuốc; hút thuốc, bốc khói, hơi'),
('smoking', 'sự hút thuốc'),
('smooth', 'nhẵn, trơn, mượt mà'),
('smoothly', 'một cách êm ả, trôi chảy'),
('snake', 'con rắn; người nham hiểm, xảo trá'),
('snow', 'tuyết; tuyết rơi'),
('so', 'như vậy, như thế; vì thế, vì vậy, vì thế cho nên'),
('so that', 'để, để cho, để mà'),
('soap', 'xà phòng'),
('social', 'có tính xã hội'),
('socially', 'có tính xã hội'),
('society', 'xã hội'),
('sock', 'tất ngăns, miếng lót giày'),
('soft', 'mềm, dẻo'),
('softly', 'một cách mềm dẻo'),
('software', 'phần mềm'),
('soil', 'đất trồng; vết bẩn'),
('soldier', 'lính, quân nhân'),
('solid', 'rắn; thể rắn, chất rắnh'),
('solution', 'sự giải quyết, giải pháp'),
('solve', 'giải, giải thích, giải quyết'),
('some', 'một it, một vài'),
('somebody', 'người nào đó'),
('somehow', 'không biết làm sao, bằng cách này hay cách khác'),
('something', 'một điều gì đó, một việc gì đó, một cái gì đó'),
('sometimes', 'thỉnh thoảng, đôi khi'),
('somewhat', 'đến mức độ nào đó, hơi, một chút'),
('somewhere', 'nơi nào đó. đâu đó'),
('son', 'con trai'),
('song', 'bài hát'),
('soon', 'sớm, chẳng bao lâu nữa'),
('sore', 'đau, nhức'),
('sorry', 'xin lỗi, lấy làm tiếc, lấy làm buồn'),
('sort', 'thứ, hạng loại; lựa chọn, sắp xếp, phân loại'),
('soul', 'tâm hồn, tâm trí, linh hồn'),
('sound', 'âm thanh; nghe'),
('soup', 'xúp, canh, cháo'),
('sour', 'chua, có vị giấm'),
('source', 'nguồn'),
('south', 'phương nam, hướng nam; ở phía nam; hướng về phía nam'),
('southern', 'thuộc phương nam'),
('space', 'khoảng trống, khoảng cách'),
('spare', 'thừa thãi, dự trữ, rộng rãi; đồ dự trữ, đồ dự phòng'),
('speak', 'nói'),
('speaker', 'người nói, người diễn thuyết'),
('special', 'đặc biệt, riêng biệt'),
('specialist', 'chuyên gia, chuyên viên'),
('specially', 'đặc biệt, riêng biệt'),
('specific', 'đặc trưng, riêng biệt'),
('specifically', 'đặc trưng, riêng biệt'),
('speech', 'sự nói, khả năng nói, lời nói, cách nói, bài nói'),
('speed', 'tốc độ, vận tốc'),
('spell', 'đánh vần; sự thu hút, sự quyến rũ, say mê'),
('spelling', 'sự viết chính tả'),
('spend', 'tiêu, xài'),
('spice', 'gia vị'),
('spicy', 'có gia vị'),
('spider', 'con nhện'),
('spin', 'quay, quay tròn'),
('spirit', 'tinh thần, tâm hồn, linh hồn'),
('spiritual', 'tinh thần, linh hồn'),
('spite', 'sự giận, sự hận thù;'),
('split', 'chẻ, tách, chia ra; sự chẻ, sự tách, sự chia ra'),
('spoil', 'cướp, cướp đọat'),
('spoken', 'nói theo 1 cách nào đó'),
('spoon', 'cái thìa'),
('sport', 'thể thao'),
('spot', 'dấu, đốm, vết'),
('spray', 'máy, ống, bình phụt, bơm, phun; bơm, phun, xịt'),
('spread', 'trải, căng ra, bày ra; truyền bá'),
('spring', 'mùa xuân'),
('square', 'vuông, vuông vắn; dạng hình vuông, hình vuông'),
('squeeze', 'ép, vắt, xiết; sự ép, sự vắt, sự xiết'),
('stable', 'ổn định, bình tĩnh, vững vàng; chuồng ngưa'),
('staff', 'gậy'),
('stage', 'tầng, bệ'),
('stair', 'bậc thang'),
('stamp', 'tem; dán tem'),
('stand', 'đứng, sự đứng'),
('stand up', 'đứng đậy'),
('standard', 'tiêu chuẩn, chuẩn, mãu; làm tiêu chuẩn, phù hợp với tiêu chuẩn'),
('star', 'ngôi sao, dán sao, trang trí hình sao, đánh dấu sao'),
('stare', 'nhìm chằm chằm; sự nhìn chằm chằm'),
('start', 'bắt đầu, khởi động; sự bắt đầu, sự khởi đầu, khởi hành'),
('state', 'nhà nước, quốc gia, chính quyền; nhà nước, có liên quan đến nhà nước; phát biểu, tuyên bố'),
('statement', 'sự bày tỏ, sự phát biểu; sự tuyên bố, sự trình bày'),
('station', 'trạm, điểm, đồn'),
('statue', 'tượng'),
('status', 'tình trạng'),
('stay', 'ở lại, lưu lại; sự ở lại, sự lưu lại'),
('steadily', 'vững chắc, vững vàng, kiên định'),
('steady', 'vững chắc, vững vàng, kiến định'),
('steal', 'ăn cắp, ăn trộm'),
('steam', 'hơi nước'),
('steel', 'thép, ngành thép'),
('steep', 'dốc, dốc đứng'),
('steeply', 'dốc, cheo leo'),
('steer', 'lái'),
('step', 'bước; bước, bước đi'),
('stick', 'đâm, thọc, chọc, cắm, dính; cái gậy, qua củi, cán'),
('stick out', 'đòi, đạt được cái gì'),
('sticky', 'dính, nhớt'),
('stiff', 'cứng, cứng rắn, kiên quyết'),
('stiffly', 'cứng, cứng rắn, kiên quyết'),
('still', 'đứng yên; vẫn, vẫn còn'),
('sting', 'châm, chích, đốt; ngòi, vòi ; sự châm, chích..'),
('stir', 'khuấy, đảo'),
('stock', 'kho sự trữ, hàng dự trữ, vốn'),
('stomach', 'dạ dày'),
('stone', 'đá'),
('stop', 'dừng, ngừng, nghỉ, thôi; sự dừng, sự ngừng, sự đỗ lại'),
('store', 'cửa hàng, kho hàng; tích trữ, cho vào kho'),
('storm', 'cơn giông, bão'),
('story', 'chuyện, câu chuyện'),
('stove', 'bếp lò, lò sưởi'),
('straight', 'thẳng, không cong'),
('strain', 'sự căng thẳng, sự căng'),
('strange', 'xa lạ, chưa quen'),
('strangely', 'lạ, xa lạ, chưa quen'),
('stranger', 'người lạ'),
('strategy', 'chiến lược'),
('stream', 'dòng suối'),
('street', 'phố, đườmg phố'),
('strength', 'sức mạnh, sức khỏe'),
('stress', 'sự căng thẳng; căng thẳng, ép, làm căng'),
('stressed', 'bị căng thẳng, bị ép, bị căng'),
('stretch', 'căng ra, duỗi ra, kéo dài ra'),
('strict', 'nghiêm khắc, chặt chẽ,, khắt khe'),
('strictly', 'một cách nghiêm khắc'),
('strike', 'đánh, đập, bãi công, đình công; cuộc bãi công, cuộc đình công'),
('striking', 'nổi bật, gây ấn tượng'),
('string', 'dây, sợi dây'),
('strip', 'cởi, lột ; sự cởi quần áo'),
('stripe', 'sọc, vằn, viền'),
('striped', 'có sọc, có vằn'),
('stroke', 'cú đánh, cú đòn; cái vuốt ve, sự vuốt ve; vuốt ve'),
('strong', 'khỏe, mạnh, bền, vững, chắc chắn'),
('strongly', 'khỏe, chắc chắn'),
('structure', 'kết cấu, cấu trúc'),
('struggle', 'đấu tranh; cuộc đấu tranh, cuộc chiến đấu'),
('student', 'sinh viên'),
('studio', 'xưởng phim, trường quay; phòng thu'),
('study', 'sự học tập, sự nghiên cứu; học tập, nghiên cứu'),
('stuff', 'chất liệu, chất'),
('stupid', 'ngu ngốc, ngu đần, ngớ ngẩn'),
('style', 'phong cách, kiểu, mẫu, loại'),
('subject', 'chủ đề, đề tài; chủ ngữ'),
('substance', 'chất liệu; bản chất; nội dung'),
('substantial', 'thực tế, đáng kể, quan trọng'),
('substantially', 'về thực chất, về căn bản'),
('substitute', 'người, vật thay thế; thay thế'),
('succeed', 'nối tiếp, kế tiếp; kế nghiệp, kế vị'),
('success', 'sự thành công,, sự thành đạt'),
('successful', 'thành công, thắng lợi, thành đạt'),
('successfully', 'thành công, thắng lợi, thành đạt'),
('such', 'như thế, như vậy, như là'),
('such as', 'đến nỗi, đến mức'),
('suck', 'bú, hút; hấp thụ, tiếp thu'),
('sudden', 'thình lình, đột ngột'),
('suddenly', 'thình lình, đột ngột'),
('suffer', 'chịu đựng, chịu thiệt hại, đau khổ'),
('suffering', 'sự đau đớn, sự đau khổ'),
('sufficient', 'đủ, thích đáng'),
('sufficiently', 'đủ, thích đáng'),
('sugar', 'đường'),
('suggest', 'đề nghị, đề xuất; gợi'),
('suggestion', 'sự đề nghị, sự đề xuất, sự khêu gợi'),
('suit', 'bộ com lê, trang phục; thích hợp, quen, hợp với'),
('suitable', 'hợp, phù hợp, thích hợp với'),
('suitcase', 'va li'),
('suited', 'hợp, phù hợp, thích hợp với'),
('sum', 'tổng, toàn bộ'),
('summary', 'bản tóm tắt'),
('summer', 'mùa hè'),
('sun', 'mặt trời'),
('sunday', 'chủ nhật'),
('superior', 'cao, chất lượng cao'),
('supermarket', 'siêu thị'),
('supply', 'sự cung cấp, nguồn cung cấp; cung cấp, đáp ứng, tiếp tế'),
('support', 'sự chống đỡ, sự ủng hộ; chống đỡ, ủng hộ'),
('supporter', 'vật chống đỡ; người cổ vũ, người ủng hộ'),
('suppose', 'cho rằng, tin rằng, nghĩ rằng'),
('sure', 'chắc chắn, xác thực'),
('surely', 'chắc chắn'),
('surface', 'mặt, bề mặt'),
('surname', 'họ'),
('surprise', 'sự ngạc nhiên, sự bất ngờ; làm ngạc nhiên, gây bất ngờ'),
('surprised', 'ngạc nhiên'),
('surprising', 'làm ngạc nhiên, làm bất ngờ'),
('surprisingly', 'làm ngạc nhiên, làm bất ngờ'),
('surround', 'vây quanh, bao quanh'),
('surrounding', 'sự vây quanh, sự bao quanh'),
('surroundings', 'vùng xung quanh, môi trường xung quanh'),
('survey', 'sự nhìn chung, sự khảo sát; quan sát, nhìn chung, khảo sát, nghiên cứu'),
('survive', 'sống lâu hơn, tiếp tục sống, sống sót'),
('suspect', 'nghi ngờ, hoài nghi; người khả nghi, người bị tình nghi'),
('suspicion', 'sự nghi ngờ, sự ngờ vực'),
('suspicious', 'có sự nghi ngờ, tỏ ra nghi ngờ, khả nghi'),
('swallow', 'nuốt, nuốt chửng'),
('swear', 'chửi rủa, nguyền rủa; thề, hứa'),
('swearing', 'lời thề, lời nguyền rủa, lời thề hứa'),
('sweat', 'mồ hôi; đổ mồ hôi'),
('sweater', 'người ra mồ hôi,, kẻ bóc lột lao động'),
('sweep', 'quét'),
('sweet', 'ngọt, có vị ngọt; sự ngọt bùi, đồ ngọt'),
('swell', 'phồng, sưng lên'),
('swelling', 'sự sưng lên, sự phồng ra'),
('swim', 'bơi lội'),
('swimming', 'sự bơi lội'),
('swimming pool', 'bể nước'),
('swing', 'sự đu đưa, lúc lắc; đánh đu, đu đưa, lúc lắc'),
('switch', 'công tắc, roi; tắt, bật, đánh bằng gậy, roi'),
('switch off', 'ngắt điện'),
('switch on', 'bật điện'),
('swollen', 'sưng phồng, phình căng'),
('swollen swell', 'phồng lên, sưng lên'),
('symbol', 'biểu tượng, ký hiệu'),
('sympathetic', 'đồng cảm, đáng mến, dễ thương'),
('sympathy', 'sự đồng cảm, sự đồng ý'),
('system', 'hệ thống, chế độ'),
('table', 'cái bàn'),
('tablet', 'tấm, bản, thẻ phiến'),
('tackle', 'giải quyết, khắc phục, bàn thảo; đồ dùng, dụng cụ'),
('tail', 'đuôi, đoạn cuối'),
('take', 'sự cầm nắm, sự lấy'),
('take over', 'chở, chuyển cái gì; tiếp quản, kế tục cái gì'),
('take advantage of', 'lợi dụng'),
('take notice of', 'chú ý'),
('take place', 'xảy ra, được cử hành, được tổ chức'),
('take sth off', 'cởi, bỏ cái gì, lấy đi cái gì'),
('talk', 'nói chuyện, trò chuyện; cuộc trò chuyện, cuộc thảo luận'),
('tall', 'cao'),
('tank', 'thùng, két, bể'),
('tap', 'mở vòi, đóng vồi; vòi, khóa'),
('tape', 'băng, băng ghi âm; dải, dây'),
('target', 'bia, mục tiêu, đích'),
('task', 'nhiệm vụ, nghĩa vụ, bài tập, công tác, công việc'),
('taste', 'vị, vị giác; nếm'),
('tax', 'thuế; đánh thuế'),
('taxi', 'xe tắc xi'),
('tea', 'cây chè, trà, chè'),
('teach', 'dạy'),
('teacher', 'giáo viên'),
('teaching', 'sự dạy, công việc dạy học'),
('team', 'đội, nhóm'),
('tear', 'xé, làm rắch; chỗ rách, miếng xe; nước mắt'),
('technical', 'kỹ thuật, chuyên môn'),
('technique', 'kỹ sảo, kỹ thuật, phương pháp kỹ thuật'),
('technology', 'kỹ thuật học, công nghệ học'),
('telephone', 'máy điện thoại, gọi điện thoại'),
('television', 'vô tuyến truyền hình'),
('tell', 'nói, nói với'),
('temperature', 'nhiệt độ'),
('temporarily', 'tạm'),
('temporary', 'tạm thời, nhất thời'),
('tend', 'trông nom, chăm sóc, giữ gìn, hầu hạ'),
('tendency', 'xu hướng, chiều hướng, khuynh hướng'),
('tension', 'sự căng, độ căng, tình trạng căng'),
('tent', 'lều, rạp'),
('term', 'giới hạn, kỳ hạn, khóa, kỳ học'),
('terrible', 'khủng khiếp, ghê sợ'),
('terribly', 'tồi tệ, không chịu nổi'),
('test', 'bài kiểm tra, sự thử nghiệm, xét nghiệm; kiểm tra, xét nghiệm, thử nghiệm'),
('text', 'nguyên văn, bản văn, chủ đề, đề tì'),
('than', 'hơn'),
('thank', 'cám ơn'),
('thank you', 'cảm ơn bạn'),
('thanks', 'sự cảm ơn, lời cảm ơn'),
('that', 'người ấy, đó, vật ấy, đó; rằng, là'),
('the definite article', 'cái, con, người, ấy này....'),
('the rest', 'vật, cái còn lại, những người, cái khác'),
('theatre', 'rạp hát, nhà hát'),
('their', 'của chúng, của chúng nó, của họ'),
('theirs', 'của chúng, của chúng nó, của họ'),
('them', 'chúng, chúng nó, họ'),
('theme', 'đề tài, chủ đề'),
('themselves', 'tự chúng, tự họ, tự'),
('then', 'khi đó, lúc đó, tiếp đó'),
('theory', 'lý thuyết, học thuyết'),
('there', 'ở nơi đó, tại nơi đó'),
('therefore', 'bởi vậy, cho nên, vì thế'),
('they', 'chúng, chúng nó, họ; những cái ấy'),
('thick', 'dày; đậm'),
('thickly', 'dày; dày đặc; thành lớp dày'),
('thickness', 'tính chất dày, độ dày, bề dày'),
('thief', 'kẻ trộm, kẻ cắp'),
('thin', 'mỏng, mảnh'),
('thing', 'cái, đồ, vật'),
('think', 'nghĩ, suy nghĩ'),
('thinking', 'sự suy nghĩ, ý nghĩ'),
('thirsty', 'khát, cảm thấy khát'),
('this', 'cái này, điều này, việc này'),
('thorough', 'cẩn thận, kỹ lưỡng'),
('thoroughly', 'kỹ lưỡng, thấu đáo, triệt để'),
('though', 'dù, dù cho, mặc dù; mặc dù, tuy nhiên, tuy vậy'),
('thought', 'sự suy nghĩ, khả năng suy nghĩ; ý nghĩ, tư tưởng, tư duy'),
('thread', 'chỉ, sợi chỉ, sợi dây'),
('threat', 'sự đe dọa, lời đe dọa'),
('threaten', 'dọa, đe dọa'),
('threatening', 'sự đe dọa, sự hăm dọa'),
('throat', 'cổ, cổ họng'),
('through', 'qua, xuyên qua'),
('throughout', 'khắp, suốt'),
('throw', 'ném, vứt, quăng'),
('thumb', 'ngón tay cái'),
('thursday', 'thứ 5'),
('thus', 'như vậy, như thế, do đó'),
('ticket', 'vé'),
('tidy', 'sạch sẽ, ngăn nắp, gọn gàng; làm cho sạch sẽ, gọn gàng, ngăn nắp'),
('tie', 'buộc, cột, trói; dây buộc, daay trói, dây giày'),
('tie sth up', 'có quan hệ mật thiết, gắn chặt'),
('tight', 'kín, chặt, chật'),
('tightly', 'chặc chẽ, sít sao'),
('till until', 'cho đến khi, tới lúc mà'),
('time', 'thời gian, thì giờ'),
('timetable', 'kế hoạch làm việc, thời gian biểu'),
('tin', 'thiếc'),
('tiny', 'rất nhỏ, nhỏ xíu'),
('tip', 'đầu, mút, đỉnh, chóp; bịt đầu, lắp đầu vào'),
('tire', 'làm mệt mỏi, trở nên mệt nhọc; lốp, vỏ xe'),
('tired', 'mệt, muốn ngủ, nhàm chán'),
('tiring', 'sự mệt mỏi, sự mệt nhọc'),
('title', 'đầu đề, tiêu đề; tước vị, tư cách'),
('to', 'theo hướng, tới'),
('today', 'vào ngày này; hôm nay, ngày nay'),
('toe', 'ngón chân'),
('together', 'cùng nhau, cùng với'),
('toilet', 'nhà vệ sinh; sự trang điểm'),
('tomato', 'cà chua'),
('tomorrow', 'vào ngày mai; ngày mai'),
('ton', 'tấn'),
('tone', 'tiếng, giọng'),
('tongue', 'lưỡi'),
('tonight', 'vào đêm nay, vào tối nay; đêm nay, tối nay'),
('tonne', 'tấn'),
('too', 'cũng'),
('tool', 'dụng cụ, đồ dùng'),
('tooth', 'răng'),
('top', 'chóp, đỉnh; đứng đầu, trên hết'),
('topic', 'đề tài, chủ đề'),
('total', 'tổng cộng, toàn bộ; tổng số, toàn bộ số lượng'),
('totally', 'hoàn toàn'),
('touch', 'sờ, mó, tiếp xúc; sự sờ, sự mó, sự tiếp xúc'),
('tough', 'chắc, bền, dai'),
('tour', 'cuộc đo du lịch, cuộc đi dạo, chuyến du lịch; đi du lịch'),
('tourist', 'khách du lịch'),
('towards', 'theo hướng, về hướng'),
('towel', 'khăn tắm, khăn lau'),
('tower', 'tháp'),
('town', 'thị trấn, thị xã, thành phố nhỏ'),
('toy', 'đồ chơi, đồ trang trí; thể loại đồ chơi'),
('trace', 'phát hiện, tìm thấy, vạch, chỉ ra, phác họa; dấu, vết, một chút'),
('track', 'phần của đĩa; đường mòn, đường đua'),
('trade', 'thương mại, buôn bán; buôn bán, trao đổi'),
('trading', 'sự kinh doanh, việc mua bán'),
('tradition', 'truyền thống'),
('traditional', 'theo truyền thống, theo lối cổ'),
('traditionally', 'truyền thống, là truyền thống'),
('traffic', 'sự đi lại, sự giao thông, sự chuyển động'),
('train', 'xe lửa, tàu hỏa; dạy, rèn luyện, đào tạo'),
('training', 'sự dạy dỗ, sự huấn luyện, sự đào tạo'),
('transfer', 'dời, di chuyển; sự di chuyển, sự dời chỗ'),
('transform', 'thay đổi, biến đổi'),
('translate', 'dịch, biên dịch, phiên dịch'),
('translation', 'sự dịch'),
('transparent', 'trong suốt; dễ hiểu, sáng sủa'),
('transport', 'sự vận chuyển, sự vận tải; phương tiện đi lại'),
('trap', 'đồ đạc, hành lý; bẫy, cạm bãy; bẫy, giữ, chặn lại'),
('travel', 'đi lại, đi du lịch, di chuyển; sự đi, những chuyến đi'),
('traveller', 'người đi, lữ khách'),
('treat', 'đối xử, đối đãi, cư xử'),
('treatment', 'sự đối xử, sự cư xử'),
('tree', 'cây'),
('trend', 'phương hướng, xu hướng, chiều hướng'),
('trial', 'sự thử nghiệm, cuộc thử nghiệm'),
('triangle', 'hình tam giác'),
('trick', 'mưu mẹo, thủ đoạn, trò lừa gatj; lừa, lừa gạt'),
('trip', 'cuộc dạo chơi, cuộc du ngoạn; đi dạo, du ngoạn'),
('tropical', 'nhiệt đới'),
('trouble', 'điều lo lắng, điều muộn phiền'),
('trousers', 'quần'),
('truck', 'rau quả tươi'),
('true', 'đúng, thật'),
('truly', 'đúng sự thật, đích thực, thực sự'),
('trust', 'niềm tin, sự phó thác; tin, tin cậy, phó thác'),
('truth', 'sự thật'),
('try', 'thử, cố gắng'),
('tube', 'ống, tuýp'),
('tuesday', 'thứ 3'),
('tune', 'điệu, giai điệu; lên dây, so dây'),
('tunnel', 'đường hầm, hang'),
('turn', 'quay, xoay, vặn; sự quay, vòng quay'),
('tv television', 'vô tuyến truyền hình'),
('twice', 'hai lần'),
('twin', 'sinh đôi, tạo thành cặp; cặp song sinh'),
('twist', 'xoắn, cuộn, quắn; sự xoắn, vòng xoắn'),
('twisted', 'được xoắn, được cuộn'),
('type', 'loại, kiểu, mẫu; phân loại, xếp loại'),
('typical', 'tiêu biểu, điển hình, đặc trưng'),
('typically', 'điển hình, tiêu biểu'),
('tyre', 'lốp, vỏ xe'),
('ugly', 'xấu xí, xấu xa'),
('ultimate', 'cuối cùng, sau cùng'),
('ultimately', 'cuối cùng, sau cùng'),
('umbrella', 'ô, dù'),
('unable', 'không có năng lực, không có tài'),
('unable able', 'không thể, không có khẳ năng'),
('unacceptable', 'không thể chấp nhận, không tán thành, không tha thứ; không chịu nổi'),
('unacceptable acceptable', 'không thể chấp nhận'),
('uncertain', 'thiếu chính xác, không chắc chắn'),
('uncertain certain', 'không chắc chắn, khôn biết rõ ràng'),
('uncle', 'chú, bác'),
('uncomfortable', 'bất tiện, khó chịu, không thoải mái'),
('uncomfortable comfortable', 'bất tiện, không tiện lợi'),
('unconscious', 'bất tỉnh, không có ý thức, không biết rõ'),
('unconscious conscious', 'bất tỉnh, ngất đi'),
('uncontrolled', 'không bị điều khiển, không bị kiểm tra, không bị hạn'),
('uncontrolled control', 'không bị kiềm chế, không bị kiểm tra'),
('under', 'dưới, ở dưới; ở phía dưới, về phía dưới'),
('underground', 'dưới mặt đất, ngầm dưới đất; ngầm'),
('underneath', 'dưới, bên dưới'),
('understand', 'hiểu, nhận thức'),
('understanding', 'trí tuệ, sự hiểu biết'),
('underwater', 'ở dưới mặt nước, dưới mặt nước'),
('underwear', 'quần lót'),
('undo', 'tháo, gỡ; xóa bỏ, hủy bỏ'),
('undo do', 'tháo, gỡ, xóa, hủy bỏ'),
('unemployed', 'thất nghiệp; không dùng, không sử dụng được'),
('unemployed employ', 'không dùng, thất nghiệp'),
('unemployment', 'sự thất nghiệp, nạn thất nghiệp'),
('unemployment employment', 'sự thất nghiệp, tình trạng thất nghiệp'),
('unexpected', 'bất ngờ, gây ngạc nhiên'),
('unexpected, unexpectedly', 'bất ngờ, đột ngột, gây ngạc nhiên'),
('unexpectedly', 'bất ngờ, gây ngạc nhiên'),
('unfair', 'gian lận, không công bằng; bất lợi'),
('unfairly', 'gian lận, không công bằng; bất lợi'),
('forward', 'ở phía trước, tiến về phía trước'),
('unfortunate', 'không may, rủi ro, bất hạnh'),
('unfortunately', 'một cách đáng tiếc, một cách không may'),
('unfriendly', 'không thân thiện, không có thiện cảm'),
('freeze', 'sự đông lạnh, sự giá lạnh; làm đông, làm đóng băng'),
('unfair, unfairly fair', 'không đúng, không công bằng, gian lận'),
('unfriendly friendly', 'đối địch, không thân thiện'),
('unhappiness', 'nỗi buồn, sự bất hạnh'),
('unhappiness happiness', 'sự buồn, nỗi buồn'),
('unhappy', 'buồn rầu, khốn khổ'),
('uniform', 'đồng phục; đều, giống nhau, đồng dạng'),
('unimportant', 'khônh quan trọng, không trọng đại'),
('union', 'liên hiệp, sự đoàn kết, sự hiệp nhất'),
('unique', 'độc nhất vô nhị'),
('unit', 'liên kết, hợp nhất, hợp lại, kết thân'),
('united', 'liên minh, đoàn kết, chung, thống nhất'),
('universe', 'vũ trụ'),
('university', 'trường đại học'),
('unkind', 'độc ác, tàn nhẫn'),
('kilometre', 'kilômet'),
('sharp', 'sắc, nhọn, bén'),
('unknown', 'không biết'),
('unless', 'trừ phi, trừ khi, nếu không'),
('unlike', 'khác, không giống'),
('unlike like', 'không giống, khác'),
('unlikely', 'không thể xảy ra, không chắc xảy ra'),
('unlikely likely', 'không có thể xảy ra, không chắc chắn; không có thực'),
('unload', 'cất gánh nặng, dỡ hàng'),
('unload load', 'tháo, dỡ'),
('unlucky', 'không gặp may, bất hạnh'),
('unlucky lucky', 'không gặp may, không may mắn'),
('unreasonable', 'vô lý'),
('unsuccessful', 'không thành công, thất bại'),
('unusual', 'hiếm, khác thường, đáng chú ý'),
('unusually', 'cực kỳ, khác thường'),
('unwilling', 'không sẵn lòng, miễn cưỡng'),
('unwilling, unwillingly willing', 'không muốn, không có ý định'),
('unwillingly', 'không sẵn lòng, miễn cưỡng'),
('up', 'ở trên, lên trên, lên'),
('upon', 'trên, ở trên'),
('upper', 'cao hơn'),
('upset', 'làm đổ, đánh đổ'),
('upsetting', 'tính đánh đổ, làm đổ'),
('upside down', 'lộn ngược'),
('upstairs', 'ở tên gác, cư ngụ ở tầng gác; tầng trên, gác'),
('upward', 'lên, hướng lên, đi lên'),
('urban', 'thành phố, khu vực'),
('urge', 'thúc, giục, giục giã; sự thúc đẩy, sự thôi thúc'),
('urgent', 'gấp, khẩn cấp'),
('us', 'chúng tôi, chúng ta; tôi và anh'),
('use', 'sử dụng, dùng; sự dùng, sự sử dụng'),
('used', 'đã dùng, đã sử dụng'),
('used to modal', 'đã quen dùng'),
('used to sth/to doing sth', 'sử dụng cái gì, sử dụng để làm cái gì'),
('useful', 'hữu ích, giúp ích'),
('useless', 'vô ích, vô dụng'),
('user', 'người dùng, người sử dụng'),
('usual', 'thông thường, thường dùng'),
('usually', 'thường thường'),
('vacation', 'kỳ nghỉ hè, kỳ nghỉ lễ; ngày nghỉ, ngày lễ'),
('valid', 'chắc chắn, hiệu quả, hợp lý'),
('valley', 'thung lũng'),
('valuable', 'có giá trị lớn, đáng giá'),
('value', 'giá trị, ước tính, định giá'),
('van', 'tiền đội, quân tiên phong; xe tải'),
('variation', 'sự biến đổi, sự thay đổi mức độ, sự khác nhau'),
('varied', 'thuộc nhiều loại khác nhau, những vẻ đa dạng'),
('variety', 'sự đa dạng, trạng thái khác nhau'),
('various', 'khác nhau, thuộc về nhiều loại'),
('vary', 'thay đổi, làm cho khác nhau, biến đổi'),
('vast', 'rộng lớn, mênh mông'),
('vegetable', 'rau, thực vật'),
('vehicle', 'xe cộ'),
('venture', 'sự án kinh doanh, công việc kinh doanh; liều, mạo hiểm, cả gan'),
('version', 'bản dịch sang một ngôn ngữ khác'),
('vertical', 'thẳng đứng, đứng'),
('very', 'rất, lắm'),
('via', 'qua, theo đường'),
('victim', 'nạn nhân'),
('victory', 'chiến thắng'),
('video', 'video'),
('view', 'sự nhìn, tầm nhìn; nhìn thấy, xem, quan sát'),
('village', 'làng, xã'),
('violence', 'sự ác liệt, sự dữ dội; bạo lực'),
('violent', 'mãnh liệt, mạnh mẽ, hung dữ'),
('violently', 'mãnh liệt, dữ dội'),
('virtually', 'thực sự, hầu như, gần như'),
('virus', 'vi rút'),
('visible', 'hữu hình, thấy được'),
('vision', 'sự nhìn, thị lực'),
('visit', 'đi thăm hỏi, đến chơi, tham quan; sự đi thăm, sự thăm viếng'),
('visitor', 'khách, du khách'),
('vital', 'sự sống, cần cho sự sống'),
('vocabulary', 'từ vựng'),
('voice', 'tiếng, giọng nói'),
('volume', 'thế tích, quyển, tập'),
('vote', 'sự bỏ phiếu, sự bầu cử; bỏ phiếu, bầu cử'),
('wage', 'tiền lương, tiền công'),
('waist', 'eo, chỗ thắt lưng'),
('wait', 'chờ đợi'),
('waiter, waitress', 'người hầu bàn, người đợi, người trông chờ'),
('wake', 'thức dậy, tỉnh thức'),
('walk', 'đi, đi bộ; sự đi bộ, sự đi dạo'),
('walking', 'sự đi, sự đi bộ'),
('wall', 'tường, vách'),
('wallet', 'cái ví'),
('wander', 'đi lang thang; sự đi lang thang'),
('want', 'muốn'),
('war', 'chiến tranh'),
('warm', 'ấm, ấm áp; làm cho nóng, hâm nóng'),
('warmth', 'trạng thái ấm, sự ấm áp; hơi ấm'),
('warn', 'báo cho biết, cảnh báo'),
('warning', 'sự báo trước, lời cảnh báo'),
('wash', 'rửa, giặt'),
('washing', 'sự tắm rửa, sự giặt'),
('waste', 'lãng phí, uổng phí; vùng hoang vu, sa mạc; bỏ hoang'),
('watch', 'nhìn, theo dõi, quan sát; sự canh gác, sự canh phòng'),
('water', 'nước'),
('wave', 'sóng, gợn nước; gợn sóng, uốn thành sóng'),
('way', 'đường, đường đi'),
('we', 'chúng tôi, chúng ta'),
('weak', 'yếu, yếu ớt'),
('weakness', 'tình trạng yếu đuối, yếu ớt'),
('wealth', 'sự giàu có, sự giàu sang'),
('weapon', 'vũ khí'),
('wear', 'mặc, mang, đeo'),
('weather', 'thời tiết'),
('web', 'mạng, lưới'),
('wedding', 'lễ cưới, hôn lễ'),
('week', 'tuần, tuần lễ'),
('weekend', 'cuối tuần'),
('weekly', 'mỗi tuần một lần, hàng tuần'),
('weigh', 'cân, cân nặng'),
('weight', 'trọng lượng'),
('welcome', 'chào mừng, hoan nghênh'),
('well', 'tốt, giỏi; ôi, may quá!'),
('well known', 'nổi tiếng, được nhiều người biết đến'),
('live', 'sống'),
('march', 'diễu hành, hành quân; cuộc hành quân, cuộc diễu hành'),
('miss', 'cô gái, thiếu nữ'),
('mum', 'mẹ'),
('unnecessary', 'không cần thiết, không mong muốn'),
('each other', 'nhau, lẫn nhau'),
('penny', 'số tiền'),
('unhappy happy', 'buồn rầu, khổ sở'),
('unimportant important', 'không quan trọng'),
('unkind kind', 'không tử tế, không tốt'),
('unknown know', 'không biết, không được nhận ra'),
('unnecessary necessary', 'không cần thiết, không mong muốn'),
('unpleasant', 'không dễ chịu, khó chịu, khó ưa'),
('pint', 'panh'),
('unpleasant pleasant', 'không dễ chịu, khó chịu'),
('unreasonable reasonable', 'vô lý, vượt quá giới hạn của cái hợp lý'),
('unsteady', 'không chắc, không ổn định'),
('unsteady steady', 'không đúng mực, không vững, không chắc'),
('unsuccessful successful', 'không thành công, không thành đạt'),
('untidy', 'không gọn gàng, không ngăn nắp, lộn xộn'),
('untidy tidy', 'không gọn gàng, không ngăn nắp, lộn xộn'),
('until', 'trước khi, cho đến khi'),
('unusual, unusually usual', 'hiếm, khác thường'),
('wednesday', 'thứ 4'),
('west', 'phía tây, theo phía tây, về hướng tây'),
('western', 'về phía tây, của phía tây'),
('wet', 'ướt, ẩm ướt'),
('what', 'gì, thế nào'),
('whatever', 'bất cứ thứ gì, bất kể thứ gì'),
('wheel', 'bánh xe'),
('when', 'khi, lúc, vào lúc nào'),
('whenever', 'bất cứ lúc nào, lúc nào'),
('where', 'đâu, ở đâu; nơi mà'),
('whereas', 'nhưng ngược lại, trong khi'),
('wherever', 'ở bất cứ nơi nào, ở bất cứ nơi đâu'),
('whether', 'có..không; có... chăng; không biết có.. không'),
('which', 'nào, bất cứ.. nào; ấy, đó'),
('while', 'trong lúc, trong khi; lúc, chốc, lát'),
('whilst', 'trong lúc, trong khi'),
('whisper', 'nói thì thầm, xì xào; tiếng nói thì thầm, tiếng xì xào'),
('whistle', 'sự huýt sáo, sự thổi còi; huýt sáo, thổi còi'),
('white', 'trắng; màu trắng'),
('who', 'ai, người nào, kẻ nào, người như thế nàow'),
('whole', 'bình an vô sự, không suy suyển, không hư hỏng; toàn bộ, tất cả, toàn thể'),
('whom', 'ai, người nào; người mà'),
('whose', 'của ai'),
('why', 'tại sao, vì sao'),
('wide', 'rộng, rộng lớn'),
('widely', 'nhiều, xa; rộng rãi'),
('width', 'tính chất rộng, bề rộng'),
('wife', 'vợ'),
('wild', 'dại, hoang'),
('wildly', 'dại, hoang'),
('will modal', 'sẽ; ý chí, ý định'),
('willing', 'bằng lòng, vui lòng, muốn'),
('willingly', 'sẵn lòng, tự nguyện'),
('willingness', 'sự bằng lòng, sự vui lòng'),
('win', 'chiếm, đọat, thu được'),
('wind', 'quấn lại, cuộn lại'),
('wind sth up', 'lên dây, quấn, giải quyết'),
('window', 'cửa sổ'),
('wine', 'rượu, đồ uống'),
('wing', 'cánh, sự bay, sự cất cánh'),
('winner', 'người thắng cuộc'),
('winning', 'đang dành thắng lợi, thắng cuộc'),
('wire', 'dây'),
('wise', 'khôn ngoan, sáng suốt, thông thái'),
('wish', 'ước, mong muốn; sự mong ước, lòng mong muốn'),
('with', 'với, cùng'),
('withdraw', 'rút, rút khỏi, rút lui'),
('within', 'trong vong thời gian, trong khoảng thời gian'),
('without', 'không, không có'),
('witness', 'sự làm chứng, bằng chứng; chứng kiến, làm chứng'),
('woman', 'đàn bà, phụ nữ'),
('wonder', 'ngạc nhiên, lấy làm lạ, kinh ngạc'),
('wonderful', 'phi thường, khác thường, kỳ diệu, tuyệt vời'),
('wood', 'gỗ'),
('wooden', 'làm bằng gỗ'),
('wool', 'len'),
('word', 'từ'),
('work', 'làm việc, sự làm việc'),
('worker', 'người lao động'),
('working', 'sự làm, sự làm việc'),
('world', 'thế giới'),
('worried', 'bồn chồn, lo nghĩ, tỏ ra lo lắng'),
('worry', 'lo lắng, suy nghĩ; sự lo lắng, suy nghĩ'),
('worrying', 'gấy lo lắng, gây lo nghĩ'),
('worship', 'sự tôn thờ, sự tôn sùng; thờ, thờ phụng, tôn thờ'),
('worth', 'đáng giá, có giá trị'),
('wound', 'vết thương, thương tích; làm bị thường, gây thương tích'),
('wounded', 'bị thương'),
('wrap', 'gói, bọc, quấn'),
('wrapping', 'vật bao bọc, vật quấn quanh'),
('wrist', 'cổ tay'),
('write', 'viết'),
('writer', 'người viết'),
('writing', 'sự viết'),
('written', 'viết ra, được thảo ra'),
('wrong', 'sai'),
('wrongly', 'một cách bất công, không đúng'),
('yard', 'lat, thước anh'),
('yawn', 'há miệng; cử chỉ ngáp'),
('yeah exclamation', 'vâng, ừ'),
('year', 'năm'),
('yellow', 'vàng; màu vàng'),
('yes', 'vâng, phải, có chứ'),
('yesterday', 'hôm qua'),
('yet', 'còn, hãy cỏn, còn nữa; như mà, xong, tuy thế, tuy nhiên'),
('you', 'bạn'),
('young', 'trẻ, trẻ tuổi, thanh niên'),
('your', 'của bạn'),
('yours', 'cái của bạn'),
('yours sincerely', 'bạn chân thành của anh, chị..'),
('transport', 'chuyên chở, vận tải'),
('wind', 'gió'),
('winter', 'mùa đông'),
('yourself', 'tự anh, tự chị, chính anh, chính mày, tự mày, tự mình'),
('youth', 'tuổi trẻ, tuổi xuân, tuổi thanh niên, tuổi niên thiếu'),
('zero number', 'số không'),
('zone', 'khu vực, miền, vùng');
-- --------------------------------------------------------
--
-- Table structure for table `new_dic`
--
CREATE TABLE `new_dic` (
`word_taget` varchar(255) NOT NULL,
`word_explain` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `new_dic`
--
INSERT INTO `new_dic` (`word_taget`, `word_explain`) VALUES
('a few', 'một ít, một vài'),
('a little', 'nhỏ, một ít'),
('abandon', 'bỏ, từ bỏ'),
('abandoned', 'bị bỏ rơi, bị ruồng bỏ'),
('ability', 'khả năng, năng lực'),
('able', 'có năng lực, có tài'),
('about', 'khoảng, về'),
('above', 'ở trên, lên trên'),
('abroad', 'ở, ra nước ngoài, ngoài trời'),
('absence', 'sự vắng mặt'),
('absent', 'vắng mặt, nghỉ'),
('absolute', 'tuyệt đối, hoàn toàn'),
('absolutely', 'tuyệt đối, hoàn toàn'),
('absorb', 'thu hút, hấp thu, lôi cuốn'),
('abuse', 'lộng hành, lạm dụng'),
('academic', 'thuộc học viện, đh, viện hàn lâm'),
('accent', 'trọng âm, dấu trọng âm'),
('accept', 'chấp nhận, chấp thuận'),
('acceptable', 'có thể chấp nhận, chấp thuận'),
('access', 'lối, cửa, đường vào'),
('accident', 'tai nạn, rủi ro'),
('accidental', 'tình cờ, bất ngờ'),
('accidentally', 'tình cờ, ngẫu nhiên'),
('accommodation', 'sự thích nghi, điều tiết'),
('accompany', 'đi theo, đi cùng, kèm theo'),
('according to', 'theo, y theo'),
('account', 'tài khoản, kế toán; tính toán, tính đến'),
('accurate', 'đúng đắn, chính xác, xác đáng'),
('accurately', 'đúng đắn, chính xác'),
('accuse', 'tố cáo, buộc tội, kết tội'),
('achieve', 'đạt được, dành được'),
('achievement', 'thành tích, thành tựu'),
('acid', 'axit'),
('acknowledge', 'công nhận, thừa nhận'),
('acquire', 'dành được, đạt được, kiếm được'),
('across', 'qua, ngang qua'),
('act', 'hành động, hành vi, cử chỉ, đối xử'),
('action', 'hành động, hành vi, tác động'),
('active', 'tích cực hoạt động, nhanh nhẹn'),
('actor', 'diễn viên'),
('actress', 'diễn viên'),
('actual', 'thực tế, có thật'),
('actually', 'hiện nay, hiện tại'),
('adapt', 'tra, lắp vào'),
('add', 'cộng, thêm vào'),
('addition', 'tính cộng, phép cộng'),
('additional', 'thêm vào, tăng thêm'),
('address', 'địa chỉ, đề địa chỉ'),
('adequate', 'đầy, đầy đủ'),
('adequately', 'tương xứng, thỏa đáng'),
('adjust', 'sửa lại cho đúng, điều chỉnh'),
('admiration', 'sự khâm phục,người kp, thán phục'),
('admire', 'khâm phục, thán phục'),
('admit', 'nhận vào, cho vào, kết hợp'),
('adopt', 'nhận làm con nuôi, bố mẹ nuôi'),
('adult', 'người lớn, người trưởng thành; trưởng thành'),
('advance', 'sự tiến bộ, tiến lên; đưa lên, đề xuất'),
('advanced', 'tiên tiến, tiến bộ, cấp cao'),
('advantage', 'sự thuận lợi, lợi ích, lợi thế'),
('adventure', 'sự phiêu lưu, mạo hiểm'),
('advertise', 'báo cho biết, báo cho biết trước'),
('advertisement', 'quảng cáo'),
('advertising', 'sự quảng cáo, nghề quảng cáo'),
('advice', 'lời khuyên, lời chỉ bảo'),
('advise', 'khuyên, khuyên bảo, răn bảo'),
('affair', 'việc'),
('affect', 'làm ảnh hưởng, tác động đến'),
('afford', 'có thể, có đủ khả năng, điều kiện'),
('afraid', 'sợ, sợ hãi, hoảng sợ'),
('after', 'sau, đằng sau, sau khi'),
('afternoon', 'buổi chiều'),
('afterwards', 'sau này, về sau, rồi thì, sau đấy'),
('again', 'lại, nữa, lần nữa'),
('against', 'chống lại, phản đối'),
('age', 'tuổi'),
('aged', 'già đi'),
('agency', 'tác dụng, lực; môi giới, trung gian'),
('agent', 'đại lý, tác nhân'),
('aggressive', 'xâm lược, hung hăng'),
('ago', 'trước đây'),
('agree', 'đồng ý, tán thành'),
('agreement', 'sự đồng ý, tán thành; hiệp định, hợp đồng'),
('ahead', 'trước, về phía trước'),
('aid', 'sự giúp đỡ; thêm vào, phụ vào'),
('aim', 'sự nhắm , mục tiêu, ý định; nhắm, tập trung, hướng vào'),
('air', 'không khí, bầu không khí, không gian'),
('aircraft', 'máy bay, khí cầu'),
('alarm', 'báo động, báo nguy'),
('alarming', 'làm lo sợ, làm hốt hoảng, làm sợ hãi'),
('alcohol', 'rượu cồn'),
('alcoholic', 'rượu; người nghiện rượu'),
('alive', 'sống, vẫn còn sống, còn tồn tại'),
('all', 'tất cả'),
('all right', 'tốt, ổn, khỏe mạnh; được'),
('allied', 'lien minh, đồng minh, thông'),
('allow', 'cho phép, để cho'),
('ally', 'nước đồng minh, liên minh; liên kết, lien minh, kết thông gia'),
('alone', 'cô đơn, một mình'),
('along', 'dọc theo, theo; theo chiều dài, suốt theo'),
('alongside', 'sát cạnh, kế bên, dọc theo'),
('aloud', 'lớn tiếng, to tiếng'),
('alphabet', 'bảng chữ cái, bước đầu, điều cơ bản'),
('alphabetical', 'thuộc bảng chứ cái'),
('alphabetically', 'theo thứ tự abc'),
('already', 'đã, rồi, đã… rồi'),
('also', 'cũng, cũng vậy, cũng thế'),
('alter', 'thay đổi, biến đổi, sửa đổi'),
('alternative', 'sự lựa chọn; lựa chọn'),
('although', 'mặc dù, dẫu cho'),
('altogether', 'hoàn toàn, hầu như; nói chung'),
('always', 'luôn luôn'),
('amaze', 'làm ngạc nhiên, làm sửng sốt'),
('amazed', 'kinh ngạc, sửng sốt'),
('amazing', 'kinh ngạc, sửng sốt'),
('ambition', 'hoài bão, khát vọng'),
('ambulance', 'xe cứu thương, xe cấp cứu'),
('among', 'giữa, ở giữa'),
('amount', 'số lượng, số nhiều; lên tới'),
('amuse', 'làm cho vui, thích, làm buồn cười'),
('amused', 'vui thích'),
('amusing', 'vui thích'),
('analyse', 'phân tích'),
('analysis', 'sự phân tích'),
('ancient', 'xưa, cổ'),
('and', 'và'),
('anger', 'sự tức giận, sự giận dữ'),
('angle', 'góc'),
('angrily', 'tức giận, giận dữ'),
('angry', 'giận, tức giận'),
('animal', 'động vật, thú vật'),
('ankle', 'mắt cá chân'),
('anniversary', 'ngày, lễ kỉ niệm'),
('announce', 'báo, thông báo'),
('annoy', 'chọc tức, làm bực mình; làm phiền, quẫy nhiễu'),
('annoyed', 'bị khó chịu, bực mình, bị quấy rầy'),
('annoying', 'chọc tức, làm bực mình; làm phiền, quẫy nhiễu'),
('annual', 'hàng năm, từng năm'),
('annually', 'hàng năm, từng năm'),
('another', 'khác'),
('answer', 'sự trả lời; trả lời'),
('anti- prefix', 'chống lại'),
('anticipate', 'thấy trước, chặn trước, lường trước'),
('anxiety', 'mối lo âu, sự lo lắng'),
('anxious', 'lo âu, lo lắng, băn khoăn'),
('anxiously', 'lo âu, lo lắng, băn khoăn'),
('any', 'một người, vật nào đó; bất cứ; một chút nào, tí nào'),
('anyone', 'người nào, bất cứ ai'),
('anything', 'việc gì, vật gì; bất cứ việc gì, vật gì'),
('anyway', 'thế nào cũng được, dù sao chăng nữa'),
('anywhere', 'bất cứ chỗ nào, bất cứ nơi đâu'),
('apart', 'về một bên, qua một bên'),
('apart from', 'ngoài… ra'),
('apartment', 'căn phòng, căn buồng'),
('apologize', 'xin lỗi, tạ lỗi'),
('apparent', 'rõ ràng, rành mạch; bề ngoài, có vẻ'),
('apparently', 'nhìn bên ngoài, hình như'),
('appeal', 'sự kêu gọi, lời kêu gọi; kêu gọi, cầu khẩn'),
('appear', 'xuất hiện, hiện ra, trình diện'),
('appearance', 'sự xuất hiện, sự trình diện'),
('apple', 'quả táo'),
('application', 'sự gắn vào, vật gắn vào; sự chuyên cần, chuyên tâm'),
('apply', 'gắn vào, ghép vào, áp dụng vào'),
('appoint', 'bổ nhiệm, chỉ định, chọn'),
('appointment', 'sự bổ nhiệm, người được bổ nhiệm'),
('appreciate', 'thấy rõ; nhận thức'),
('approach', 'đến gần, lại gần; sự đến gần, sự lại gần'),
('appropriate', 'thích hợp, thích đáng'),
('approval', 'sự tán thành, đồng ý, sự chấp thuận'),
('approve', 'tán thành, đồng ý, chấp thuận'),
('approving', 'tán thành, đồng ý, chấp thuận'),
('approximate', 'giống với, giống hệt với'),
('approximately', 'khoảng chừng, độ chừng'),
('april', 'tháng tư'),
('area', 'diện tích, bề mặt'),
('argue', 'chứng tỏ, chỉ rõ'),
('argument', 'lý lẽ'),
('arise', 'xuất hiện, nảy ra, nảy sinh ra'),
('arm', 'cánh tay; vũ trang, trang bị'),
('armed', 'vũ trang'),
('arms', 'vũ khí, binh giới, binh khí'),
('army', 'quân đội'),
('around', 'xung quanh, vòng quanh'),
('arrange', 'sắp xếp, sắp đặt, sửa soạn'),
('arrangement', 'sự sắp xếp, sắp đặt, sự sửa soạn'),
('arrest', 'bắt giữ, sự bắt giữ'),
('arrival', 'sự đến, sự tới nơi'),
('arrow', 'tên, mũi tên'),
('art', 'nghệ thuật, mỹ thuật'),
('article', 'bài báo, đề mục'),
('artificial', 'nhân tạo'),
('artificially', 'nhân tạo'),
('artist', 'nghệ sĩ'),
('artistic', 'thuộc nghệ thuật, thuộc mỹ thuật'),
('as', 'như'),
('as soon as', 'ngay khi'),
('as well', 'cũng, cũng như'),
('ashamed', 'ngượng, xấu hổ'),
('aside', 'về một bên, sang một bên'),
('aside from', 'ngoài ra, trừ ra'),
('ask', 'hỏi'),
('asleep', 'ngủ, đang ngủ'),
('aspect', 'vẻ bề ngoài, diện mạo'),
('assist', 'giúp, giúp đỡ; tham dự, có mặt'),
('assistance', 'sự giúp đỡ'),
('assistant', 'người giúp đỡ, người phụ tá; giúp đỡ, phụ tá'),
('associate', 'kết giao, liên kết, kết hợp, cho cộng tác'),
('associated with', 'liên kết với'),
('association', 'sự kết hợp, sự liên kết'),
('assume', 'mang, khoác, có, lấy'),
('assure', 'đảm bảo, cam đoan'),
('at first', 'trực tiếp'),
('at least', 'ít ra, ít nhất, chí ít'),
('atmosphere', 'khí quyển'),
('atom', 'nguyên tử'),
('attach', 'gắn, dán, trói, buộc'),
('attached', 'gắn bó'),
('attack', 'sự tấn công, sự công kích; tấn công, công kích'),
('attempt', 'sự cố gắng, sự thử; cố gắng, thử'),
('attempted', 'cố gắng, thử'),
('attend', 'dự, có mặt'),
('attention', 'sự chú ý'),
('attitude', 'thái độ, quan điểm'),
('attorney', 'người được ủy quyền'),
('attract', 'hút; thu hút, hấp dẫn'),
('attraction', 'sự hút, sức hút'),
('attractive', 'hút, thu hút, có duyên, lôi cuốn'),
('audience', 'thính, khan giả'),
('august', 'tháng tám'),
('aunt', 'cô, dì'),
('author', 'tác giả'),
('authority', 'uy quyền, quyền lực'),
('automatic', 'tự động'),
('autumn', 'mùa thu'),
('available', 'có thể dùng được, có giá trị, hiệu lực'),
('average', 'trung bình, số trung bình, mức trung bình'),
('avoid', 'tránh, tránh xa'),
('awake', 'đánh thức, làm thức dậy'),
('award', 'phần thưởng; tặng, thưởng'),
('aware', 'biết, nhận thức, nhận thức thấy'),
('away', 'xa, xa cách, rời xa, đi xa'),
('awful', 'oai nghiêm, dễ sợ'),
('awkward', 'vụng về, lung túng'),
('back', 'lưng, về phía sau, trở lại'),
('background', 'phía sau; nền'),
('backward', 'về phía sau, lùi lại'),
('bacteria', 'vi khuẩn'),
('bad', 'xấu, tồi'),
('bad-tempered', 'xấu tính, dễ nổi cáu'),
('badly', 'xấu, tồi'),
('bag', 'bao, túi, cặp xách'),
('baggage', 'hành lý'),
('bake', 'nung, nướng bằng lò'),
('balance', 'cái cân; làm cho cân bằng, tương xứng'),
('ball', 'quả bóng'),
('ban', 'cấm, cấm chỉ; sự cấm'),
('band', 'băng, đai, nẹp'),
('bandage', 'dải băng; băng bó'),
('bank', 'bờ , đê'),
('bar', 'quán bán rượu'),
('bargain', 'sự mặc cả, sự giao kèo mua bán'),
('barrier', 'đặt chướng ngại vật'),
('base', 'cơ sở, cơ bản, nền móng; đặt tên, đặt cơ sở trên cái gì'),
('basic', 'cơ bản, cơ sở'),
('basically', 'cơ bản, về cơ bản'),
('basis', 'nền tảng, cơ sở'),
('bath', 'sự tắm'),
('bathroom', 'buồng tắm, nhà vệ sinh'),
('battery', 'pin, ắc quy'),
('battle', 'trận đánh, chiến thuật'),
('bay', 'gian ; bays: vòng nguyệt quế'),
('be going to', 'sắp sửa, có ý định'),
('be sick', 'bị ốm'),
('beach', 'bãi biển'),
('beak', 'mỏ chim'),
('bear', 'mang, cầm, vác, đeo, ôm'),
('beard', 'râu'),
('beat', 'tiếng đập, sự đập; đánh đập, đấm'),
('beautiful', 'đẹp'),
('beautifully', 'tốt đẹp, đáng hài lòng'),
('beauty', 'vẻ đẹp, cái đẹp; người đẹp'),
('because', 'bởi vì, vìbecause of prep. vì, do bởi'),
('become', 'trở thành, trở nên'),
('bed', 'cái giường'),
('bedroom', 'phòng ngủ'),
('beef', 'thịt bò'),
('beer', 'rượu bia'),
('before', 'trước, đằng trước'),
('begin', 'bắt đầu, khởi đầu'),
('beginning', 'phần đầu, lúc bắt đầu, lúc khởi đầu'),
('behalf', 'sự thay mặt'),
('behave', 'đối xử, ăn ở, cư xử'),
('behind', 'sau, ở đằng sau'),
('belief', 'lòng tin, đức tin, sự tin tưởng'),
('believe', 'tin, tin tưởng'),
('bell', 'cái chuông, tiếng chuông'),
('belong', 'thuộc về, của, thuộc quyền sở hữu'),
('below', 'ở dưới, dưới thấp, phía dưới'),
('belt', 'dây lưng, thắt lưng'),
('bend', 'chỗ rẽ, chỗ uốn; khuỷu tay; cúi xuống, uốn cong'),
('beneath', 'ở dưới, dưới thấp'),
('benefit', 'lợi, lợi ích; giúp ích, làm lợi cho'),
('bent', 'khiếu, sở thích, khuynh hướng'),
('beside', 'bên cạnh, so với'),
('bet', 'đánh cuộc, cá cược; sự đánh cuộc'),
('betting', 'sự đánh cuộc'),
('between', 'giữa, ở giữa'),
('beyond', 'ở xa, phía bên kia'),
('bicycle', 'xe đạp'),
('bid', 'đặt giá, trả giá; sự đặt giá, sự trả giá'),
('big', 'to, lớn'),
('bill', 'hóa đơn, giấy bạc'),
('bin', 'thùng, thùng đựng rượu'),
('biology', 'sinh vật học'),
('bird', 'chim'),
('birth', 'sự ra đời, sự sinh đẻ'),
('birthday', 'ngày sinh, sinh nhật'),
('biscuit', 'bánh quy'),
('bit', 'miếng, mảnh'),
('bite', 'cắn, ngoạm; sự cắn, sự ngoạm'),
('bitter', 'đắng; đắng cay, chua xót'),
('bitterly', 'đắng, đắng cay, chua xót'),
('black', 'đen; màu đen'),
('blade', 'lưỡi'),
('blame', 'khiển trách, mắng trách; sự khiển trách, sự mắng trách'),
('blank', 'trống, để trắng; sự trống rỗng'),
('blankly', 'ngây ra, không có thần'),
('blind', 'đui, mù'),
('block', 'khối, tảng ; làm ngăn cản, ngăn chặn'),
('blonde', 'hoe vàng, mái tóc hoe vàng'),
('blood', 'máu, huyết; sự tàn sát, chem giết'),
('blow', 'nở hoa; sự nở hoa'),
('blue', 'xanh, màu xanh'),
('board', 'tấm ván; lát ván, lót ván'),
('boat', 'tàu, thuyền'),
('body', 'thân thể, thân xác'),
('boil', 'sôi, luộc'),
('bomb', 'quả bom; oánh bom, thả bom'),
('bone', 'xương'),
('book', 'sách; ghi chép'),
('boot', 'giày ống'),
('border', 'bờ, mép, vỉa, lề'),
('bore', 'buồn chán, buồn tẻ'),
('boring', 'buồn chán'),
('born: be born', 'sinh, đẻ'),
('borrow', 'vay, mượn'),
('boss', 'ông chủ, thủ trưởng'),
('both', 'cả hai'),
('bother', 'làm phiền, quấy rầy, làm bực mình'),
('bottle', 'chai, lọ'),
('bottom', 'phần dưới cùng, thấp nhất; cuối, cuối cùng'),
('bound', 'nhất định, chắc chắn'),
('bowl', 'cái bát'),
('box', 'hộp, thùng'),
('boy', 'con trai, thiếu niên'),
('boyfriend', 'bạn trai'),
('brain', 'óc não; đầu óc, trí não'),
('branch', 'ngành; nhành cây, nhánh song, ngả đường'),
('brand', 'nhãn'),
('brave', 'gan dạ, can đảm'),
('bread', 'bánh mỳ'),
('break', 'bẻ gãy, đập vỡ; sự gãy, sự vỡ'),
('breakfast', 'bữa điểm tâm, bữa sáng'),
('breast', 'ngực, vú'),
('breath', 'hơi thở, hơi'),
('breathe', 'hít, thở'),
('breathing', 'sự hô hấp, sự thở'),
('breed', 'nuôi dưỡng, chăm sóc, giáo dục; sinh đẻ; nòi giống'),
('brick', 'gạch'),
('bridge', 'cái cầu'),
('brief', 'ngắn, gọn, vắn tắt'),
('briefly', 'ngắn, gọn, vắn tắt, tóm tắt'),
('bright', 'sáng, sáng chói'),
('brightly', 'sáng chói, tươi'),
('brilliant', 'tỏa sáng, rực rỡ, chói lọi'),
('bring', 'mang, cầm , xách lại'),
('broad', 'rộng'),
('broadcast', 'tung ra khắp nơi,truyền rộng rãi; phát thanh, quảng bá'),
('broadly', 'rộng, rộng rãi'),
('broken', 'bị gãy, bị vỡ'),
('brother', 'anh, em trai'),
('brown', 'nâu, màu nâu'),
('brush', 'bàn chải; chải, quét'),
('bubble', 'bong bóng, bọt, tăm'),
('budget', 'ngân sách'),
('build', 'xây dựng'),
('building', 'sự xây dựng, công trình xây dựng; tòa nhà binđinh'),
('bullet', 'đạn'),
('bunch', 'búi, chùm, bó, cụm, buồng; bầy, đàn'),
('burn', 'đốt, đốt cháy, thắp, nung, thiêu'),
('burnt', 'bị đốt, bị cháy, khê; rám nắng, sạm'),
('burst', 'nổ, nổ tung ; háo hức'),
('bury', 'chôn cất, mai táng'),
('bus', 'xe buýt'),
('bush', 'bụi cây, bụi rậm'),
('business', 'việc buôn bán, thương mại, kinh doanh'),
('busy', 'bận, bận rộn'),
('but', 'nhưng'),
('butter', 'bơ'),
('button', 'cái nút, cái khuy, cúc'),
('buy', 'mua'),
('buyer', 'người mua'),
('by', 'bởi, bằng'),
('by means of', 'bằng phương tiện'),
('bye exclamation', 'tạm biệt'),
('cabinet', 'tủ có nhiều ngăn đựng đồ'),
('cable', 'dây cáp'),
('cake', 'bánh ngọt'),
('calculate', 'tính toán'),
('calculation', 'sự tính toán'),
('call', 'gọi; tiếng kêu, tiếng gọi'),
('calm', 'yên lặng, làm dịu đi; sự yên lặng, sự êm ả'),
('calmly', 'yên lặng, êm ả; bình tĩnh, điềm tĩnh'),
('camera', 'máy ảnh'),
('camp', 'trại, chỗ cắm trại; cắm trại, hạ trại'),
('campaign', 'chiến dịch, cuộc vận động'),
('camping', 'sự cắm trại'),
('can modal', 'có thể; nhà tù, nhà giam, bình, ca đựng'),
('cancel', 'hủy bỏ, xóa bỏ'),
('cancer', 'bệnh ung thư'),
('candidate', 'người ứng cử, thí sinh, người dự thi'),
('candy', 'kẹo'),
('cannot', 'không thể'),
('cap', 'mũ lưỡi trai, mũ vải'),
('capable', 'có tài, có năng lực; có khả năng, cả gan'),
('capacity', 'năng lực, khả năng tiếp thu, năng suất'),
('capital', 'thủ đô, tiền vốn; chủ yếu, chính yếu, cơ bản'),
('captain', 'người cầm đầu, người chỉ huy, thủ lĩnh'),
('capture', 'bắt giữ, bắt; sự bắt giữ, sự bị bắt'),
('car', 'xe hơi'),
('card', 'thẻ, thiếp'),
('cardboard', 'bìa cứng, các tông'),
('care', 'sự chăm sóc, chăm nom; chăm sóc'),
('career', 'nghề nghiệp, sự nghiệp'),
('careful', 'cẩn thận, cẩn trọng, biết giữ gìn'),
('carefully', 'cẩn thận, chu đáo'),
('careless', 'sơ suất, cầu thả'),
('carpet', 'tấm thảm, thảm'),
('carrot', 'củ cà rốt'),
('carry', 'mang, vác, khuân chở'),
('case', 'vỏ, ngăn, túi'),
('cash', 'tiền, tiền mặt'),
('cast', 'quăng, ném, thả, đánh gục; sự quăng, sự ném'),
('castle', 'thành trì, thành quách'),
('cat', 'con mèo'),
('catch', 'bắt lấy, nắm lấy, tóm lấy, chộp lấy'),
('category', 'hạng, loại; phạm trù'),
('cause', 'nguyên nhân, nguyên do; gây ra, gây nên'),
('cease', 'dừng, ngừng, ngớt, thôi, hết, tạnh'),
('ceiling', 'trần nhà'),
('celebrate', 'kỷ niệm, làm lễ kỷ niệm; tán dương, ca tụng'),
('celebration', 'sự kỷ niệm, lễ kỷ niệm; sự tán dương, sự ca tụng'),
('cell', 'ô, ngăn'),
('cellphone', 'điện thoại di động'),
('cent', 'đồng xu'),
('centimetre', 'xen ti met'),
('central', 'trung tâm, ở giữa, trung ương'),
('centre', 'điểm giữa, trung tâm, trung ương'),
('century', 'thế kỷ'),
('ceremony', 'nghi thức, nghi lễ'),
('certain', 'chắc chắn'),
('certainly', 'chắc chắn, nhất định'),
('certificate', 'giấy chứng nhận, bằng, chứng chỉ'),
('chain', 'dây, xích; xính lại, trói lại'),
('chair', 'ghế'),
('chairman, chairwoman', 'chủ tịch, chủ tọa'),
('challenge', 'sự thử thách, sự thách thức; thách thức, thử thách'),
('chamber', 'buồng, phòng, buồng ngủ'),
('chance', 'sự may mắn'),
('change', 'thay đổi, sự thay đổi, sự biến đổi'),
('channel', 'kênh , eo biển'),
('chapter', 'chương'),
('character', 'tính cách, đặc tính, nhân vật'),
('characteristic', 'riêng, riêng biệt, đặc trưng, đặc tính, đặc điểm'),
('charge', 'nhiệm vụ, bổn phận, trách nhiệm; giao nhiệm vụ, giao việc'),
('charity', 'lòng từ thiện, lòng nhân đức; sự bố thí'),
('chart', 'đồ thị, biểu đồ; vẽ đồ thị, lập biểu đồ'),
('chase', 'săn bắt; sự săn bắt'),
('chat', 'nói chuyện, tán gẫu; chuyện phiếm, chuyện gẫu'),
('cheap', 'rẻ'),
('cheaply', 'rẻ, rẻ tiền'),
('cheat', 'lừa, lừa đảo; trò lừa đảo, trò gian lận'),
('check', 'kiểm tra; sự kiểm tra'),
('cheek', 'má'),
('cheerful', 'vui mừng, phấn khởi, hồ hởi'),
('cheerfully', 'vui vẻ, phấn khởi'),
('cheese', 'pho mát'),
('chemical', 'thuộc hóa học; chất hóa học, hóa chất'),
('chemist', 'nhà hóa học'),
('chemist’s', 'hóa học, môn hóa học, ngành hóa học'),
('cheque', 'séc'),
('chest', 'tủ, rương, hòm'),
('chew', 'nhai, ngẫm nghĩ'),
('chicken', 'gà, gà con, thịt gà'),
('chief', 'trọng yếu, chính yếu; thủ lĩnh, lãnh tụ, người đứng đầu, xếp'),
('child', 'đứa bé, đứa trẻ'),
('chin', 'cằm'),
('chip', 'vỏ bào, mảnh vỡ, chỗ sứt, mẻ'),
('chocolate', 'sô cô la'),
('choice', 'sự lựa chọn'),
('choose', 'chọn, lựa chọn'),
('chop', 'chặt, đốn, chẻ'),
('church', 'nhà thờ'),
('chỉ huycomment', 'lời bình luận, lời chú giải; bình luận, phê bình, chú thích,'),
('cigarette', 'điếu thuốc lá'),
('circle', 'đường tròn, hình tròn'),
('circumstance', 'hoàn cảnh, trường hợp, tình huống'),
('citizen', 'người thành thị'),
('city', 'thành phố'),
('civil', 'công dân'),
('claim', 'đòi hỏi, yêu sách; sự đòi hỏi, sự yêu sách, sự thỉnh cầu'),
('clap', 'vỗ, vỗ tay; tiếng nổ, tiếng vỗ tay'),
('class', 'lớp học'),
('classic', 'cổ điển, kinh điển'),
('classroom', 'lớp học, phòng học'),
('clean', 'sạch, sạch sẽ;'),
('clearly', 'rõ ràng, sáng sủa'),
('clerk', 'thư ký, linh mục, mục sư'),
('clever', 'lanh lợi, thông minh. tài giỏi, khéo léo'),
('click', 'làm thành tiếng lách cách; tiếng lách cách, cú nhắp'),
('client', 'khách hàng'),
('climate', 'khí hậu, thời tiết'),
('climb', 'leo, trèo'),
('climbing', 'sự leo trèo'),
('clock', 'đồng hồ'),
('close', 'đóng kín, chật chội, che đậy'),
('closed', 'bảo thủ, không cởi mở, khép kín'),
('closely', 'chặt chẽ, kỹ lưỡng, tỉ mỉ'),
('closet', 'buồng, phòng để đồ, phòng kho'),
('cloth', 'vải, khăn trải bàn, áo thầy tu'),
('clothes', 'quần áo'),
('clothing', 'quần áo, y phục'),
('cloud', 'mây, đám mây'),
('club', 'câu lạc bộ; gậy, dùi cui'),
('coach', 'huấn luyện viên'),
('coal', 'than đá'),
('coast', 'sự lao dốc; bờ biển'),
('coat', 'áo choàng'),
('code', 'mật mã, luật, điều lệ'),
('coffee', 'cà phê'),
('coin', 'tiền kim loại'),
('cold', 'lạnh, sự lạnh lẽo, lạnh nhạt'),
('coldly', 'lạnh nhạt, hờ hững, vô tâm'),
('collapse', 'đổ, sụp đổ; sự đổ nát, sự sụp đổ'),
('colleague', 'bạn đồng nghiệp'),
('collect', 'sưu tập, tập trung lại'),
('collection', 'sự sưu tập, sự tụ họp'),
('college', 'trường cao đẳng, trường đại học'),
('colour', 'màu sắc; tô màu'),
('coloured', 'mang màu sắc, có màu sắc'),
('column', 'cột , mục'),
('combination', 'sự kết hợp, sự phối hợp'),
('combine', 'kết hợp, phối hợp'),
('come', 'đến, tới, đi đến, đi tới'),
('comedy', 'hài kịch'),
('comfort', 'sự an ủi, khuyên giải, lời động viên, sự an nhàn; dỗ dành, an'),
('comfortable', 'thoải mái, tiện nghi, đầy đủ'),
('comfortably', 'dễ chịu, thoải mái, tiện nghi, ấm cúng'),
('command', 'ra lệnh, chỉ huy; lệnh, mệnh lệnh, quyền ra lệnh, quyền'),
('commercial', 'buôn bán, thương mại'),
('commission', 'hội đồng, ủy ban, sự ủy nhiệm, sự ủy thác; ủy nhiệm, ủy'),
('commit', 'giao, gửi, ủy nhiệm, ủy thác; tống giam, bỏ tù'),
('commitment', 'sự phạm tội, sự tận tụy, tận tâm'),
('committee', 'ủy ban'),
('common', 'công, công cộng, thông thường, phổ biến'),
('commonly', 'thông thường, bình thường'),
('communicate', 'truyền, truyền đạt; giao thiệp, liên lạc'),
('communication', 'sự giao tiếp, liên lạc, sự truyền đạt, truyền tin'),
('community', 'dân chúng, nhân dân'),
('company', 'công ty'),
('compare', 'so sánh, đối chiếu'),
('comparison', 'sự so sánh'),
('compete', 'đua tranh, ganh đua, cạnh tranh'),
('competition', 'sự cạnh tranh, cuộc thi, cuộc thi đấu'),
('competitive', 'cạnh tranh, đua tranh'),
('complain', 'phàn nàn, kêu ca'),
('complaint', 'lời than phiền, than thở; sự khiếu nại, đơn kiện'),
('complete', 'hoàn thành, xong;'),
('completely', 'hoàn thành, đầy đủ, trọn vẹn'),
('complex', 'phức tạp, rắc rối'),
('complicate', 'làm phức tạp, rắc rối'),
('complicated', 'phức tạp, rắc rối'),
('computer', 'máy tính'),
('concentrate', 'tập trung'),
('concentration', 'sự tập trung, nơi tập trung'),
('concept', 'khái niệm'),
('concern', 'liên quan, dính líu tới; sự liên quan, sự dính líu tới'),
('concerned', 'có liên quan, có dính líu'),
('concerning', 'bâng khuâng, ái ngại'),
('concert', 'buổi hòa nhạc'),
('conclude', 'kết luận, kết thúc, chấm dứt'),
('conclusion', 'sự kết thúc, sự kết luận, phần kết luận'),
('concrete', 'bằng bê tông; bê tông'),
('condition', 'điều kiện, tình cảnh, tình thế'),
('conduct', 'điều khiển, chỉ đạo, chỉ huy; sự điều khiển, chỉ'),
('conference', 'hội nghị, sự bàn bạc'),
('confidence', 'lòng tin tưởng, sự tin cậy'),
('confident', 'tin tưởng, tin cậy, tự tin'),
('confidently', 'tự tin'),
('confine', 'giam giữ, hạn chế'),
('confined', 'hạn chế, giới hạn'),
('confirm', 'xác nhận, chứng thực'),
('conflict', 'xung đột, va chạm; sự xung đột, sự va chạm'),
('confront', 'đối mặt, đối diện, đối chiếu'),
('confused', 'bối rối, lúng túng, ngượng'),
('confusing', 'khó hiểu, gây bối rối'),
('confusion', 'sự lộn xộn, sự rối loạn'),
('congratulations', 'sự chúc mừng, khen ngợi; lời chúc mừng, khen'),
('congress', 'đại hội, hội nghị, quốc hội'),
('connect', 'kết nối, nối'),
('connection', 'sự kết nối, sự giao kết'),
('conscious', 'tỉnh táo, có ý thức, biết rõ'),
('consequence', 'kết quả, hậu quả'),
('conservative', 'thận trọng, dè dặt, bảo thủ'),
('consider', 'cân nhắc, xem xét; để ý, quan tâm, lưu ý đến'),
('considerable', 'lớn lao, to tát, đáng kể'),
('considerably', 'đáng kể, lớn lao, nhiều'),
('consideration', 'sự cân nhắc, sự xem xét, sự để ý, sự quan tâm'),
('consist of', 'gồm có'),
('constant', 'kiên trì, bền lòng'),
('constantly', 'kiên định'),
('construct', 'xây dựng'),
('construction', 'sự xây dựng'),
('consult', 'tra cứu, tham khảo, thăm dò, hỏi ý kiến'),
('consumer', 'người tiêu dùng'),
('contact', 'sự liên lạc, sự giao thiệp; tiếp xúc'),
('contain', 'bao hàm, chứa đựng, bao gồm'),
('container', 'cái đựng, chứa; công te nơ'),
('contemporary', 'đương thời, đương đại'),
('content', 'nội dung, sự hài lòng'),
('contest', 'cuộc thi, trận đấu, cuộc tranh luận, cuộc chiến đấu, chiến tranh'),
('context', 'văn cảnh, khung cảnh, phạm vi'),
('continent', 'lục địa, đại lục'),
('continue', 'tiếp tục, làm tiếp'),
('continuous', 'liên tục, liên tiếp'),
('continuously', 'liên tục, liên tiếp'),
('contract', 'hợp đồng, sự ký hợp đồng; ký kết'),
('contrast', 'sự tương phản; làm tương phản, làm trái'),
('contrasting', 'tương phản'),
('contribute', 'đóng góp, ghóp phần'),
('contribution', 'sự đóng góp, sự góp phần'),
('controlled', 'được điều khiển, được kiểm tra'),
('convenient', 'tiện lợi, thuận lợi, thích hợp'),
('convention', 'hội nghị, hiệp định, quy ước'),
('conventional', 'quy ước'),
('conversation', 'cuộc đàm thoại, cuộc trò chuyện'),
('convert', 'đổi, biến đổi'),
('convince', 'làm cho tin, thuyết phục; làm cho nhận thức thấy'),
('cook', 'nấu ăn, người nấu ăn'),
('cooker', 'lò, bếp, nồi nấu'),
('cookie', 'bánh quy'),
('cooking', 'sự nấu ăn, cách nấu ăn'),
('cool', 'mát mẻ, điềm tĩnh; làm mát,'),
('cope', 'đối phó, đương đầu'),
('copy', 'bản sao, bản chép lại; sự sao chép; sao chép, bắt chước'),
('core', 'nòng cốt, hạt nhân; đáy lòng'),
('corner', 'góc'),
('correct', 'đúng, chính xác; sửa, sửa chữa'),
('correctly', 'đúng, chính xác'),
('cost', 'giá, chi phí; trả giá, phải trả'),
('cottage', 'nhà tranh'),
('cotton', 'bông, chỉ, sợi'),
('cough', 'ho, sự ho, tiếng hoa'),
('coughing', 'ho'),
('could', 'có thể, có khả năng'),
('could modal', 'có thể'),
('council', 'hội đồng'),
('count', 'đếm, tính'),
('counter', 'quầy hàng, quầy thu tiền, máy đếm'),
('country', 'nước, quốc gia, đất nước'),
('countryside', 'miền quê, miền nông thôn'),
('county', 'hạt, tỉnh'),
('couple', 'đôi, cặp; đôi vợ chồng, cặp nam nữ'),
('courage', 'sự can đảm, sự dũng cảm, dũng khí'),
('course', 'tiến trình, quá trình diễn tiến; sân chạy đua'),
('court', 'sân, sân , tòa án, quan tòa, phiên tòa'),
('cousin', 'anh em họ'),
('cover', 'bao bọc, che phủ; vỏ, vỏ bọc'),
('covered', 'có mái che, kín đáo'),
('covering', 'sự bao bọc, sự che phủ, cái bao, bọc'),
('cow', 'con bò cái'),
('crack', 'cừ, xuất sắc; làm nứt, làm vỡ, nứt nẻ, rạn nứt'),
('cracked', 'rạn, nứt'),
('craft', 'nghề, nghề thủ công'),
('crash', 'vải thô; sự rơi , sự phá sản, sụp đổ; phá tan tành, phá vụn'),
('crazy', 'điên, mất trí'),
('cream', 'kem'),
('create', 'sáng tạo, tạo nên'),
('creature', 'sinh vật, loài vật'),
('credit', 'sự tin, lòng tin, danh tiếng; tiền gửi ngân hàng'),
('credit card', 'thẻ tín dụng'),
('crime', 'tội, tội ác, tội phạm'),
('criminal', 'có tội, phạm tội; kẻ phạm tội, tội phạm'),
('crisis', 'sự khủng hoảng, cơn khủng hoảng'),
('crisp', 'giòn'),
('criterion', 'tiêu chuẩn'),
('critical', 'phê bình, phê phán; khó tính'),
('criticism', 'sự phê bình, sự phê phán, lời phê bình, lời phê phán'),
('criticize', 'phê bình, phê phán, chỉ trích'),
('crop', 'vụ mùa'),
('cross', 'cây thánh giá, nỗi thống khổ; sự băng qua; băng qua, vượt qua'),
('crowd', 'đám đông'),
('crowded', 'đông đúc'),
('crown', 'vương miện, vua, ngai vàng; đỉnh cao nhất'),
('crucial', 'quyết định, cốt yếu, chủ yếu'),
('cruel', 'độc ác, dữ tợn, tàn nhẫn'),
('crush', 'ép, vắt, đè nát, đè bẹp'),
('cry', 'khóc, kêu la; sự khóc, tiếng khóc, sự kêu la'),
('cultural', 'văn hóa'),
('culture', 'văn hóa, sự mở mang, sự giáo dục'),
('cup', 'tách, chén'),
('cupboard', '1 loại tủ có ngăn'),
('curb', 'kiềm chế, nén lại, hạn chế'),
('cure', 'chữa trị, điều trị; cách chữa bệnh, cách điều trị; thuốc'),
('curious', 'ham muốn, tò mò, lạ lùng'),
('curiously', 'tò mò, hiếu kỳ, lạ kỳ'),
('curl', 'quăn, xoắn, uốn quăn, làm xoắn; sự uốn quăn'),
('curly', 'quăn, xoắn'),
('current', 'hiện hành, phổ biến, hiện nay; dòng'),
('currently', 'hiện thời, hiện nay'),
('curtain', 'màn'),
('curve', 'đường cong, đường vòng; cong, uốn cong, bẻ cong'),
('curved', 'cong'),
('custom', 'phong tục, tục lệ, thói quen, tập quán'),
('customer', 'khách hàng'),
('customs', 'thuế nhập khẩu, hải quan'),
('cut', 'cắt, chặt; sự cắt'),
('cycle', 'chu kỳ, chu trình, vòng; quay vòng theo chu kỳ, đi xe đạp'),
('cycling', 'sự đi xe đạp'),
('dad', 'bố, cha'),
('daily', 'hàng ngày'),
('damage', 'mối hạn, điều hại, sự thiệt hại; làm hư hại, làm hỏng, gây thiệt hại'),
('damp', 'ẩm, ẩm ướt, ẩm thấp'),
('dance', 'sự nhảy múa, sự khiêu vũ; nhảy múa, khiêu vũ'),
('dancer', 'diễn viên múa, người nhảy múa'),
('dancing', 'sự nhảy múa, sự khiêu vũ'),
('danger', 'sự nguy hiểm, mối hiểm nghèo; nguy cơ, mối đe dọa'),
('dangerous', 'nguy hiểm'),
('dare', 'dám, dám đương đầu với; thách'),
('dark', 'tối, tối tăm; bóng tối, ám muội'),
('data', 'số liệu, dữ liệu'),
('date', 'ngày, kỳ, kỳ hạn, thời kỳ, thời đại; đề ngày tháng, ghi niên hiệu'),
('daughter', 'con gái'),
('day', 'ngày, ban ngày'),
('dead', 'chết, tắt'),
('deaf', 'điếc, làm thinh, làm ngơ'),
('deal', 'phân phát, phân phối; sự giao dịch, thỏa thuận mua bán'),
('deal with', 'giải quyết'),
('dear', 'thân, thân yêu, thân mến; kính thưa, thưa'),
('death', 'sự chết, cái chết'),
('debate', 'cuộc tranh luận, cuộc tranh cãi; tranh luận, bàn cãi'),
('debt', 'nợ'),
('decade', 'thập kỷ, bộ mười, nhóm mười'),
('decay', 'tình trạng suy tàn, suy sụp, tình trạng đổ nát'),
('december', 'tháng mười hai, tháng chạp'),
('decide', 'quyết định, giải quyết, phân xử'),
('decision', 'sự quyết định, sự giải quyết, sự phân xử'),
('declare', 'tuyên bố, công bố'),
('decline', 'sự suy tàn, sự suy sụp; suy sụp, suy tàn'),
('decorate', 'trang hoàng, trang trí'),
('decoration', 'sự trang hoàng, đồ trang hoàng, trang trí'),
('decorative', 'để trang hoàng, để trang trí, để làm cảnh'),
('decrease', 'giảm bớt, làm suy giảm, sự giảm đi, sự giảm sút'),
('deep', 'sâu, khó lường, bí ẩn'),
('deeply', 'sâu, sâu xa, sâu sắc'),
('defeat', 'đánh thắng, đánh bại; sự thất bại'),
('defence', 'cái để bảo vệ, vật để chống đỡ, sự che chở'),
('defend', 'che chở, bảo vệ, bào chữa'),
('define', 'định nghĩa'),
('definite', 'xác định, định rõ, rõ ràng'),
('definitely', 'rạch ròi, dứt khoát'),
('definition', 'sự định nghĩa, lời định nghĩa'),
('degree', 'mức độ, trình độ; bằng cấp; độ'),
('delay', 'sự chậm trễ, sự trì hoãn, sự cản trở; làm chậm trễ'),
('deliberate', 'thận trọng, có tính toán, chủ tâm, có suy nghĩ cân nhắc'),
('deliberately', 'thận trọng, có suy nghĩ cân nhắc'),
('delicate', 'thanh nhã, thanh tú, tế nhị, khó xử'),
('delight', 'sự vui thích, sự vui sướng, điều thích thú; làm vui thích, làm say'),
('delighted', 'vui mừng, hài lòng'),
('deliver', 'cứu khỏi, thoát khỏi, bày tỏ, giãi bày'),
('delivery', 'sự phân phát, sự phân phối, sự giao hàng; sự bày tỏ, phát biếu'),
('demand', 'sự đòi hỏi, sự yêu cầu; đòi hỏi, yêu cầu'),
('demonstrate', 'chứng minh, giải thích; bày tỏ, biểu lộ'),
('dentist', 'nha sĩ'),
('deny', 'từ chối, phản đối, phủ nhận'),
('department', 'cục, sở, ty, ban, khoa; gian hàng, khu bày hàng'),
('departure', 'sự rời khỏi, sự đi, sự khởi hành'),
('depend', 'phụ thuộc, tùy thuộc; dựa vào, ỷ vào, trông mong vào'),
('deposit', 'vật gửi, tiền gửi, tiền đặt cọc; gửi, đặt cọc'),
('depress', 'làm chán nản, làm phiền muộn; làm suy giảm'),
('depressed', 'chán nản, thất vọng, phiền muộn; suy yếu, đình trệ'),
('depressing', 'làm chán nản làm thát vọng, làm trì trệ'),
('depth', 'chiều sâu, độ dày'),
('derive', 'nhận được từ, lấy được từ; xuất phát từ, bắt nguồn, chuyển hóa từ'),
('describe', 'diễn tả, miêu tả, mô tả'),
('description', 'sự mô tả, sự tả, sự miêu tả'),
('desert', 'sa mạc; công lao, giá trị; rời bỏ, bỏ trốn'),
('deserted', 'hoang vắng, không người ở'),
('deserve', 'đáng, xứng đáng'),
('design', 'sự thiết kế, kế hoạch, đề cương. phác thảo; phác họa, thiết kế'),
('desire', 'ước muốn; thèm muốn, ao ước'),
('desk', 'bàn'),
('desperate', 'liều mạng, liều lĩnh; tuyệt vọng'),
('desperately', 'liều lĩnh, liều mạng'),
('despite', 'dù, mặc dù, bất chấp'),
('destroy', 'phá, phá hoại, phá huỷ, tiêu diệt, triệt phá'),
('destruction', 'sự phá hoại, sự phá hủy, sự tiêu diệt'),
('detail', 'chi tiết'),
('detailed', 'cặn kẽ, tỉ mỉ, nhiều chi tiết'),
('determination', 'sự xác định, sự định rõ; sự quyết định'),
('determine', 'xác định, định rõ; quyết định'),
('determined', 'đã được xác định, đã được xác định rõ'),
('develop', 'phát triển, mở rộng; trình bày, bày tỏ'),
('development', 'sự phát triển, sự trình bày, sự bày tỏ'),
('device', 'kế sách; thiết bị, dụng cụ, máy móc'),
('devote', 'hiến dâng, dành hết cho'),
('devoted', 'hiến cho, dâng cho, dành cho; hết lòng, nhiệt tình'),
('diagram', 'biểu đồ'),
('diamond', 'kim cương'),
('diary', 'sổ nhật ký; lịch ghi nhớ'),
('dictionary', 'từ điển'),
('die', 'chết, từ trần, hy sinh'),
('diet', 'chế độ ăn uống, chế độ ăn kiêng'),
('difference', 'sự khác nhau'),
('different', 'khác, khác biệt, khác nhau'),
('differently', 'khác, khác biệt, khác nhau'),
('difficult', 'khó, khó khăn, gay go'),
('difficulty', 'sự khó khăn, nỗi khó khăn, điều cản trở'),
('dig', 'đào bới, xới'),
('dinner', 'bữa trưa, chiều'),
('direct', 'trực tiếp, thẳng, thẳng thắn; gửi, viết cho ai, điều khiển'),
('direction', 'sự điều khiển, sự chỉ huy'),
('directly', 'trực tiếp, thẳng'),
('director', 'giám đốc, người điều khiển, chỉ huy'),
('dirt', 'đồ bẩn thỉu, đồ dơ bẩn, vật rác rưởi'),
('dirty', 'bẩn thỉu, dơ bẩn'),
('disabled', 'bất lực, không có khă năng'),
('disadvantage', 'sự bất lợi, sự thiệt hại'),
('disagree', 'bất đồng, không đồng ý, khác, không giống; không hợp'),
('disagreement', 'sự bất đồng, sự không đồng ý, sự khác nhau'),
('disappear', 'biến mất, biến đi'),
('disappoint', 'không làm thỏa ước nguyện, ý mong đợi; thất ước, làm thất'),
('disappointed', 'thất vọng'),
('disappointing', 'làm chán ngán, làm thất vọng'),
('disappointment', 'sự chán ngán, sự thất vọng'),
('disapproval', 'sự phản đổi, sự không tán thành'),
('disapprove', 'không tán thành, phản đối, chê'),
('disapproving', 'phản đối'),
('disaster', 'tai họa, thảm họa'),
('disc', 'đĩa'),
('discipline', 'kỷ luật'),
('discount', 'sự bớt giá, sự chiết khấu, tiền bớt, chiết khấu'),
('discover', 'khám phá, phát hiện ra, nhận ra'),
('discovery', 'sự khám phá, sự tìm ra, sự phát hiện ra'),
('discuss', 'thảo luận, tranh luận'),
('discussion', 'sự thảo luận, sự tranh luận'),
('disease', 'căn bệnh, bệnh tật'),
('disgust', 'làm ghê tởm, làm kinh tởm, làm phẫn nộ'),
('disgusted', 'chán ghét, phẫn nộ'),
('disgusting', 'làm ghê tởm, kinh tởm'),
('dish', 'đĩa'),
('dishonest', 'bất lương, không thành thật'),
('dishonestly', 'bất lương, không lương thiện'),
('disk', 'đĩa, đĩa hát'),
('dislike', 'sự không ưa, không thích, sự ghét'),
('dismiss', 'giải tán'),
('display', 'bày tỏ, phô trương, trưng bày; sự bày ra, phô bày, trưng bày'),
('dissolve', 'tan rã, phân hủy, giải tán'),
('distance', 'khoảng cách, tầm xa'),
('distinguish', 'phân biệt, nhận ra, nghe ra'),
('distribute', 'phân bổ, phân phối, sắp xếp, phân loại'),
('distribution', 'sự phân bổ, sự phân phối, phân phát, sự sắp xếp'),
('district', 'huyện, quận'),
('disturb', 'làm mất yên tĩnh, làm náo động, quấy rầy'),
('disturbing', 'xáo trộn'),
('divide', 'chia, chia ra, phân ra'),
('division', 'sự chia, sự phân chia, sự phân loại'),
('divorce', 'đã ly dị'),
('do', 'làm'),
('doctor', 'bác sĩ y khoa, tiến sĩ'),
('document', 'văn kiện, tài liệu, tư liệu'),
('dog', 'chó'),
('dollar', 'đô la mỹ'),
('domestic', 'vật nuôi trong nhà, nội trợ, quốc nội'),
('dominate', 'chiếm ưu thế, có ảnh hưởng, chi phối; kiềm chế'),
('door', 'cửa, cửa ra vào'),
('dot', 'chấm nhỏ, điểm; của hồi môn'),
('double', 'đôi, hai, kép; cái gấp đôi, lượng gấp đôi; làm gấp đôi'),
('doubt', 'sự nghi ngờ, sự ngờ vực; nghi ngờ, ngờ vực'),
('down', 'xuống'),
('downstairs', 'ở dưới nhà, ở tầng dưới; xống gác; tầng dưới'),
('downward', 'xuống, đi xuống'),
('downwards', 'xuống, đi xuống'),
('dozen', 'tá'),
('draft', 'bản phác thảo, sơ đồ thiết kế; phác thảo, thiết kế'),
('drag', 'lôi kéo, kéo lê'),
('drama', 'kịch, tuồng'),
('dramatic', 'như kịch, như đóng kịch, thích hợp với sân khấu'),
('dramatically', 'đột ngột'),
('draw', 'vẽ, kéo'),
('drawer', 'người vẽ, người kéo'),
('drawing', 'bản vẽ, bức vẽ, sự kéo'),
('dream', 'giấc mơ, mơ'),
('dress', 'quần áo, mặc , ăn mặc'),
('drink', 'đồ uống; uống'),
('drive', 'lái , đua xe; cuộc đua xe'),
('driver', 'người lái xe'),
('driving', 'sự lái xe, cuộc đua xe'),
('drop', 'chảy nhỏ giọt, rơi, rớt; giọt'),
('drug', 'thuốc, dược phẩm; ma túy'),
('drugstore', 'hiệu thuốc, cửa hàng dược phẩm'),
('drum', 'cái trống, tiếng trống'),
('drunk', 'say rượu'),
('dry', 'khô, cạn; làm khô, sấy khô'),
('due', 'đến kỳ hạn ; xứng đáng, thích đáng'),
('due to', 'vì, do, tại, nhờ có'),
('dull', 'chậm hiểu, ngu đần'),
('dump', 'đổ rác; đống rác, nơi đổ rác'),
('during', 'trong lúc, trong thời gian'),
('dust', 'bụi, rác; rắc , quét bụi, phủi bụi'),
('duty', 'sự tôn kính, kính trọng; bồn phận, trách nhiệm'),
('dying', 'sự chết'),
('each', 'mỗi'),
('each other', 'nhau, lẫn nhau'),
('ear', 'tai'),
('early', 'sớm'),
('earn', 'kiếm'),
('earth', 'đất, trái đất'),
('ease', 'sự thanh thản, sự thoải mái; làm thanh thản, làm yên tâm, làm dễ chịu'),
('easily', 'dễ dàng'),
('east', 'hướng đông, phía đông, đông, ở phía đông'),
('eastern', 'đông'),
('easy', 'dễ dàng, dễ tính, ung dung'),
('eat', 'ăn'),
('economic', 'kinh tế'),
('economy', 'sự tiết kiệm, sự quản lý kinh tế'),
('edge', 'lưỡi, cạnh sắc'),
('edition', 'nhà xuất bản, sự xuất bản'),
('editor', 'người thu thập và xuất bản, chủ bút'),
('educate', 'giáo dục, cho ăn học; rèn luyện'),
('educated', 'được giáo dục, được đào tạo'),
('education', 'sự giáo dục, sự rèn luyện'),
('effect', 'hiệu ứng, hiệu quả, kết quả'),
('effective', 'có kết quả, có hiệu lực'),
('effectively', 'có kết quả, có hiệu lực'),
('efficient', 'có hiệu lực, có hiệu quả'),
('efficiently', 'có hiệu quả, hiệu nghiệm'),
('effort', 'sự cố gắng, sự nỗ lực'),
('either', 'mỗi, một; cũng phải thế'),
('elbow', 'khuỷu tay'),
('elderly', 'có tuổi, cao tuổi'),
('elect', 'bầu, quyết định'),
('election', 'sự bầu cử, cuộc tuyển cử'),
('electric', 'điện, có điện, phát điện'),
('electrical', 'điện'),
('electricity', 'điện, điện lực; điện lực học'),
('electronic', 'điện tử'),
('elegant', 'thanh lịch, tao nhã'),
('element', 'yếu tôd, nguyên tố'),
('else', 'khác, nữa; nếu không'),
('elsewhere', 'ở một nơi nào khác'),
('email', 'thư điện tử; gửi thư điện tử'),
('embarrass', 'lúng túng, làm ngượng nghịu; làm rắc rối, gây khó khăn'),
('embarrassed', 'lúng túng, bối rối, ngượng; mang nợ'),
('embarrassing', 'làm lúng túng, ngăn trở'),
('embarrassment', 'sự lúng túng, sự bối rối'),
('emerge', 'nổi lên, hiện ra; nổi bật lên'),
('emergency', 'tình trạng khẩn cấp'),
('emotion', 'xự xúc động, sự cảm động, mối xác cảm'),
('emotional', 'cảm động, xúc động, xúc cảm; dễ cảm động, dễ xúc cảm'),
('emotionally', 'xúc động'),
('emphasis', 'sự nhấn mạnh, tầm quan trọng'),
('emphasize', 'nhấn mạnh, làm nổi bật'),
('empire', 'đế chế, đế quốc'),
('employ', 'dùng, thuê ai làm gì'),
('employee', 'người lao động, người làm công'),
('employer', 'chủ, người sử dụng lao động'),
('employment', 'sự thuê mướn'),
('empty', 'trống, rỗng; đổ, dốc; uống, làm cạn'),
('enable', 'làm cho có thể, có khả năng; cho phép ai làm gì'),
('encounter', 'chạm chán, bắt gặp; sự chạm trán, sự bắt gặp'),
('encourage', 'động viên, ủng hộ, giúp đỡ, làm can đảm, mạnh dạn'),
('encouragement', 'niềm cổ vũ, động viên, khuyến khích, sự làm can đảm'),
('end', 'giới hạn, sự kết thúc; kết thúc, chấm dứt'),
('ending', 'sự kết thúc, sự chấm dứt; phần cuối, kết cục'),
('enemy', 'kẻ thù, quân địch'),
('energy', 'năng lượng, nghị lực, sinh lực'),
('engage', 'hứa hẹn, cam kết, đính ước'),
('engaged', 'đã đính ước, đã hứa hôn; đã có người'),
('engine', 'máy, động cơ'),
('engineer', 'kỹ sư'),
('engineering', 'nghề kỹ sư, công việc của kỹ sư'),
('enjoy', 'thưởng thức, thích thú cái gì, được hưởng, có được'),
('enjoyable', 'thú vị, thích thú'),
('enjoyment', 'sự thích thú, sự có được, được hưởng'),
('enormous', 'to lớn, khổng lồ'),
('enough', 'đủ'),
('enquiry', 'sự điều tra, sự thẩm vấn'),
('ensure', 'bảo đảm, chắc chắn'),
('enter', 'đi vào, gia nhập'),
('entertain', 'giải trí, tiếp đón, chiêu đãi'),
('entertainer', 'người quản trò, người tiếp đãi, chiêu đãi'),
('entertaining', 'giải trí'),
('entertainment', 'sự giải trí, sự tiếp đãi, chiêu đãi'),
('enthusiasm', 'sự hăng hái, sự nhiệt tình'),
('enthusiastic', 'hăng hái, say mê, nhiệt tình'),
('entire', 'toàn thể, toàn bộ'),
('entirely', 'toàn vẹn, trọn vẹn, toàn bộ'),
('entitle', 'cho tiêu đề, cho tên ; cho quyền làm gì'),
('entrance', 'sự đi vào, sự nhậm chức'),
('entry', 'sự ghi vào sổ sách, sự đi vào, sự tiếp nhận'),
('envelope', 'phong bì'),
('environment', 'môi trường, hoàn cảnh xung quanh'),
('environmental', 'thuộc về môi trường'),
('equal', 'ngang, bằng; người ngang hàng, ngang tài, sức; bằng, ngang'),
('equally', 'bằng nhau, ngang bằng'),
('equipment', 'trang, thiết bị'),
('equivalent', 'tương đương; từ, vật tương đương'),
('error', 'lỗi, sự sai sót, sai lầm'),
('escape', 'trốn thoát, thoát khỏi; sự trốn thoát, lỗi thoát'),
('especially', 'đặc biệt là, nhất là'),
('essay', 'bài tiểu luận'),
('essential', 'bản chất, thực chất, cốt yếu; yếu tố cần thiết'),
('essentially', 'về bản chất, về cơ bản'),
('establish', 'lập, thành lập'),
('estate', 'tài sản, di sản, bất động sản'),
('estimate', 'sự ước lượng, đánh giá; ước lượng, đánh giá'),
('etc', 'vân vân'),
('euro', 'đơn vị tiền tệ của liên minh châu âu'),
('even', 'ngay cả, ngay, lại còn; bằng phẳng, điềm đạm, ngang bằng'),
('evening', 'buổi chiều, tối'),
('event', 'sự việc, sự kiện'),
('eventually', 'cuối cùng'),
('ever', 'từng, từ trước tới giờ'),
('every', 'mỗi, mọi'),
('everyone', 'mọi người'),
('everything', 'mọi vật, mọi thứ'),
('everywhere', 'mọi nơi'),
('evidence', 'điều hiển nhiên, điều rõ ràng'),
('evil', 'xấu, ác; điều xấu, điều ác, điều tai hại'),
('ex- prefix', 'tiền tố chỉ bên ngoài'),
('exact', 'chính xác, đúng'),
('exactly', 'chính xác, đúng đắn'),
('exaggerate', 'cường điệu, phóng đại'),
('exaggerated', 'cường điệu, phòng đại'),
('exam', 'viết tắt của examination'),
('examination', 'sự thi cử, kỳ thi'),
('examine', 'thẩm tra, khám xét, hỏi han'),
('example', 'thí dụ, ví dụ'),
('excellent', 'xuất sắc, xuất chúng'),
('except', 'trừ ra, không kể; trừ phi'),
('exception', 'sự trừ ra, sự loại ra'),
('exchange', 'trao đổi; sự trao đổi'),
('excite', 'kích thích, kích động'),
('excited', 'bị kích thích, bị kích động'),
('excitement', 'sự kích thích, sự kích động'),
('exciting', 'hứng thú, thú vị'),
('exclude', 'ngăn chạn, loại trừ'),
('excluding', 'ngoài ra, trừ ra'),
('excuse', 'lời xin lỗi, bào chữa; xin lỗi, tha thứ, tha lỗi'),
('executive', 'sự thi hành, chấp hành; sự thi hành, chấp hành'),
('exempli gratia', 'trứng'),
('exercise', 'bài tập, sự thi hành, sự thực hiện; làm, thi hành, thực hiện'),
('exhibit', 'trưng bày, triển lãm; vật trưng bày, vật triển lãm'),
('exhibition', 'cuộc triển lãm, trưng bày'),
('exist', 'tồn tại, sống'),
('existence', 'sự tồn tại, sự sống'),
('exit', 'lỗi ra, sự đi ra, thoát ra'),
('expand', 'mở rộng, phát triển, nở, giãn ra'),
('expect', 'chờ đợi, mong ngóng; liệu trước'),
('expectation', 'sự mong chờ, sự chờ đợi'),
('expected', 'được chờ đợi, được hy vọng'),
('expense', 'chi phí'),
('expensive', 'đắt'),
('experience', 'kinh nghiệm; trải qua, nếm mùi'),
('experienced', 'có kinh nghiệm, từng trải, giàu kinh nghiệm'),
('experiment', 'cuộc thí nghiệm; thí nghiệm'),
('expert', 'chuyên gia; chuyên môn, thành thạo'),
('explain', 'giải nghĩa, giải thích'),
('explanation', 'sự giải nghĩa, giải thích'),
('explode', 'đập tan , làm nổ, nổ'),
('explore', 'thăm dò, thám hiểm'),
('explosion', 'sự nổ, sự phát triển ồ ạt'),
('export', 'xuất khẩu; hàng xuất khẩu, sự xuất khẩu'),
('expose', 'trưng bày, phơi bày'),
('express', 'diễn tả, biểu lộ, bày tỏ; nhanh, tốc hành'),
('expression', 'sự diễn tả, sự bày tỏ, biểu lộ, sự diễn đạt'),
('extend', 'giơ, duỗi ra , dành cho, gửi lời'),
('extension', 'sự giơ, duỗi; sự kéo dài, sự dành cho, gửi lời'),
('extensive', 'rộng rãi, bao quát'),
('extent', 'quy mô, phạm vi'),
('extra', 'thêm, phụ, ngoại; thứ thêm, phụ'),
('extraordinary', 'đặc biệt, lạ thường, khác thường'),
('extreme', 'vô cùng, khắc nghiệt, quá khích, cực đoan; sự quá khích'),
('extremely', 'vô cùng, cực độ'),
('eye', 'mắt'),
('face', 'mặt, thể diện; đương đầu, đối phó, đối mặt'),
('facility', 'điều kiện dễ dàng, sự dễ dàng, thuận lợi'),
('fact', 'việc, sự việc, sự kiện'),
('factor', 'nhân tố'),
('factory', 'nhà máy, xí nghiệp, xưởng'),
('fail', 'sai, thất bại'),
('failure', 'sự thất bại, người thất bại'),
('faint', 'nhút nhát, yếu ớt'),
('faintly', 'nhút nhát, yếu ớt'),
('fair', 'hợp lý, công bằng; thuận lợi'),
('fairly', 'hợp lý, công bằng'),
('faith', 'sự tin tưởng, tin cậy; niềm tin, vật đảm bảo'),
('faithful', 'trung thành, chung thủy, trung thực'),
('faithfully', 'trung thành, chung thủy, trung thực'),
('fall', 'rơi, ngã, sự rơi, ngã'),
('fall asleep', 'ngủ thiếp đi'),
('fall over', 'ngã lộn nhào, bị đổ'),
('false', 'sai, nhầm, giả dối'),
('fame', 'tên tuổi, danh tiếng'),
('familiar', 'thân thiết, quen thộc'),
('family', 'gia đình, thuộc gia đình'),
('famous', 'người hâm mộ'),
('fancy', 'tưởng tượng, cho, nghĩ rằng; tưởng tượng'),
('far', 'xa'),
('farm', 'trang trại'),
('farmer', 'nông dân, người chủ trại'),
('farming', 'công việc trồng trọt, đồng áng'),
('fashion', 'mốt, thời trang'),
('fashionable', 'đúng mốt, hợp thời trang'),
('fast', 'nhanh'),
('fasten', 'buộc, trói'),
('fat', 'béo, béo bở; mỡ, chất béo'),
('father', 'cha'),
('faucet', 'vòi'),
('fault', 'sự thiết sót, sai sót'),
('favour', 'thiện ý, sự quý mến; sự đồng ý; sự chiếu cố'),
('fear', 'sự sợ hãi, e sợ; sợ, lo ngại'),
('feather', 'lông chim'),
('feature', 'nét đặt biệt, điểm đặc trưng; mô tả nét đặc biệt, đặc trưng của...'),
('february', 'tháng 2'),
('federal', 'liên bang'),
('fee', 'tiền thù lao, học phí'),
('feed', 'cho ăn, nuôi'),
('feel', 'cảm thấy'),
('feel sick', 'buồn nôn'),
('feeling', 'sự cảm thấy, cảm giác'),
('fellow', 'anh chàng , đồng chí'),
('female', 'thuộc giống cái; giống cái'),
('fence', 'hàng rào'),
('festival', 'lễ hội, đại hội liên hoan'),
('fetch', 'tìm về, đem về; làm bực mình; làm say mê, quyến rũ'),
('fever', 'cơn sốt, bệnh sốt'),
('few', 'ít,vài; một ít, một vài'),
('field', 'cánh đồng, bãi chiến trường'),
('fight', 'đấu tranh, chiến đấu; sự đấu tranh, cuộc chiến đấu'),
('fighting', 'sự chiến đấu, sự đấu tranh'),
('figure', 'hình dáng, nhân vật; hình dung, miêu tả'),
('file', 'hồ sơ, tài liệu'),
('fill', 'làm đấy, lấp kín'),
('film', 'phim, được dựng thành phim'),
('final', 'cuối cùng, cuộc đấu chung kết'),
('finally', 'cuối cùng, sau cùng'),
('finance', 'tài chính; tài trợ, cấp vốn'),
('financial', 'thuộc'),
('find', 'tìm, tìm thấy'),
('find out sth', 'khám phá, tìm ra'),
('fine', 'tốt, giỏi'),
('finely', 'đẹp đẽ, tế nhị, cao thượng'),
('finger', 'ngón tay'),
('finish', 'kết thúc, hoàn thành; sự kết thúc, phần cuối'),
('finished', 'hoàn tất, hoàn thành'),
('fire', 'lửa; đốt cháy'),
('firm', 'hãng, công ty; chắc, kiên quyết, vũng vàng, mạnh mẽ'),
('firmly', 'vững chắc, kiên quyết'),
('first det', 'thứ nhất, đầu tiên, trước hết; người, vật đầu tiên, thứ nhất'),
('fish', 'cá, món cá; câu cá, bắt cá'),
('fishing', 'sự câu cá, sự đánh cá'),
('fit', 'hợp, vừa; thích hợp, xứng đáng'),
('fix', 'đóng, gắn, lắp; sửa chữa, sửa sang'),
('flag', 'quốc kỳ'),
('flame', 'ngọn lửa'),
('flash', 'loé sáng, vụt sáng; ánh sáng lóe lên, đèn nháy'),
('flat', 'bằng phẳng, bẹt, nhẵn; dãy phòng, căn phòng, mặt phẳng'),
('flavour', 'vị, mùi; cho gia vị, làm tăng thêm mùi vị'),
('flesh', 'thịt'),
('flight', 'sự bỏ chạy, rút chạy; sự bay, chuyến bay'),
('float', 'lụt, lũ lụtl; tràn đầy, tràn ngập'),
('floor', 'sàn, tầng'),
('flour', 'bột, bột mỳ'),
('flow', 'sự chảy; chảy'),
('flower', 'hoa, bông, đóa, cây hoa'),
('flu', 'bệnh cúm'),
('fly', 'bay; sự bay, quãng đường bay'),
('flying', 'biết bay; sự bay, chuyến bay'),
('focus', 'tập trung; trung tâm, trọng tâm'),
('fold', 'gấp, vén, xắn; nếp gấp'),
('folding', 'gấp lại được'),
('follow', 'đi theo sau, theo, tiếp theo'),
('following', 'tiếp theo, theo sau, sau đây; sau, tiếp theo'),
('food', 'đồ ăn, thức, món ăn'),
('foot', 'chân, bàn chân'),
('football', 'bóng đá'),
('for', 'cho, dành cho...'),
('for instance', 'ví dụ chẳng hạn'),
('force', 'sức mạnh; ép buộc, cưỡng ép'),
('forecast', 'sự dự đoán, dự báo; dự đoán, dự báo'),
('foreign', 'nước ngoài, từ nước ngoài, ở nước ngoài'),
('forest', 'rừng'),
('forever', 'mãi mãi'),
('forget', 'quên'),
('forgive', 'tha, tha thứ'),
('fork', 'cái nĩa'),
('form', 'hình thể, hình dạng, hình thức; làm thành, được tạo thành'),
('formal', 'hình thức'),
('formally', 'chính thức'),
('former', 'trước, cũ, xưa, nguyên'),
('formerly', 'trước đây, thuở xưa'),
('formula', 'công thức, thể thức, cách thức'),
('fortune', 'sự giàu có, sự thịnh vượng'),
('forward', 'về tương lai, sau này ở phía trước, tiến về'),
('found', 'tìm, tìm thấy'),
('foundation', 'sự thành lập, sự sáng lập; tổ chức'),
('frame', 'cấu trúc, hệ thống; dàn xếp, bố trí'),
('free', 'miễn phí, tự do, giải phóng, trả tự do'),
('freedom', 'sự tự do; nền tự do'),
('freely', 'tự do, thoải mái'),
('freeze', 'đóng băng, đông lạnh'),
('frequent', 'thường xuyên'),
('frequently', 'thường xuyên'),
('fresh', 'tươi, tươi tắn'),
('freshly', 'tươi mát, khỏe khoắn'),
('friday', 'thứ sáu'),
('fridge', 'tủ lạnh'),
('friend', 'người bạn'),
('friendly', 'thân thiện, thân mật'),
('friendship', 'tình bạn, tình hữu nghị'),
('frighten', 'làm sợ, làm hoảng sợ'),
('frightened', 'hoảng sợ, khiếp sợ'),
('frightening', 'kinh khủng, khủng khiếp'),
('from', 'từ'),
('front', 'mặt; đằng trước, về phía trước'),
('frozen', 'lạnh giá'),
('fruit', 'quả, trái cây'),
('fry', 'rán, chiên; thịt rán'),
('fuel', 'chất đốt, nhiên liệu'),
('full', 'đầy, đầy đủ'),
('fully', 'đầy đủ, hoàn toàn'),
('fun', 'sự vui đùa, sự vui thích; hài hước'),
('function', 'chức năng; họat động, chạy'),
('fund', 'kho, quỹ; tài trợ, tiền bạc, để tiền vào công quỹ'),
('fundamental', 'cơ bản, cơ sở, chủ yếu'),
('funeral', 'lễ tang, đám tang'),
('funny', 'buồn cười, khôi hài'),
('fur', 'bộ da lông thú'),
('furniture', 'đồ đạc'),
('further', 'xa hơn nữa; thêm nữa'),
('further, furthest', 'cấp so sánh của far'),
('future', 'tương lai'),
('gain', 'lợi, lợi ích; giành được, kiếm được, đạt tới'),
('gallon', 'galông 1gl = 4, 54 lít ở anh, 3, 78 lít ở mỹ'),
('gamble', 'đánh bạc; cuộc đánh bạc'),
('gambling', 'trò cờ bạc'),
('game', 'trò chơi'),
('gap', 'đèo, lỗ hổng, kẽ hở; chỗ trống'),
('garage', 'nhà để ô tô'),
('garbage', 'lòng, ruột'),
('garden', 'vườn'),
('gas', 'khí, hơi đốt'),
('gasoline', 'dầu lửa, dầu hỏa, xăng'),
('gate', 'cổng'),
('gather', 'tập hợp; hái, lượm, thu thập'),
('gear', 'cơ cấu, thiết bị, dụng cụ'),
('general', 'chung, chung chung; tổng'),
('generally', 'nói chung, đại thể'),
('generate', 'sinh, đẻ ra'),
('generation', 'sự sinh ra, sự phát sinh ra; thế hệ, đời'),
('generous', 'rộng lượng, khoan hồng, hào phóng'),
('generously', 'rộng lượng, hào phóng'),
('gentle', 'hiền lành, dịu dàng, nhẹ nhàng'),
('gentleman', 'người quý phái, người thượng lưu'),
('gently', 'nhẹ nhàng, êm ái, dịu dàng'),
('genuine', 'thành thật, chân thật; xác thực'),
('genuinely', 'thành thật, chân thật'),
('geography', 'địa lý, khoa địa lý'),
('get', 'được, có được'),
('get off', 'ra khỏi, thoát khỏi'),
('get on leo', 'trèo lên'),
('giaalmost', 'hầu như, gần như'),
('giant', 'người khổng lồ, người phi thường; khổng lồ, phi thường'),
('gift', 'quà tặng'),
('girl', 'con gái'),
('girlfriend', 'bạn gái, người yêu'),
('give', 'cho, biếu, tặng'),
('give birth', 'sinh ra'),
('give sth away', 'cho, phát'),
('give sth out', 'chia, phân phối'),
('give up', 'bỏ, từ bỏ'),
('glad', 'vui lòng, sung sướng'),
('glass', 'kính, thủy tinh, cái cốc, ly'),
('glasses', 'kính đeo mắt'),
('global', 'toàn cầu, toàn thể, toàn bộ'),
('glove', 'bao tay, găng tay'),
('glue', 'keo, hồ; gắn lại, dán bằng keo, hồ'),
('go', 'đi'),
('go down', 'đi xuống'),
('go up', 'đi lên'),
('go wrong', 'mắc lỗi, sai lầm'),
('god', 'thần, chúa'),
('gold', 'vàng; bằng vàng'),
('good', 'tốt, hay, tuyệt; điều tốt, điều thiện'),
('good at', 'tiến bộ ở'),
('good for', 'có lợi cho'),
('good, well', 'tốt, khỏe'),
('goodbye exclamation,', 'tạm biệt; lời chào tạm biệt'),
('goods', 'của cải, tài sản, hàng hóa'),
('govern', 'cai trị, thống trị, cầm quyền'),
('government', 'chính phủ, nội các; sự cai trị'),
('governor', 'thủ lĩnh, chủ; kẻ thống trị'),
('grab', 'túm lấy, vồ, chộp lấy'),
('grade', 'điểm, điểm số; phân loại, xếp loại'),
('gradual', 'dần dần, từng bước một'),
('gradually', 'dần dần, từ từ'),
('grain', 'thóc lúa, hạt, hột; tính chất, bản chất'),
('gram', 'đậu xanh'),
('grammar', 'văn phạm'),
('grand', 'rộng lớn, vĩ đại'),
('grandchild', 'cháu'),
('granddaughter', 'cháu gái'),
('grandfather', 'ông'),
('grandmother', 'bà'),
('grandparent', 'ông bà'),
('grandson', 'cháu trai'),
('grant', 'cho, ban, cấp; sự cho, sự ban, sự cấp'),
('grass', 'cỏ; bãi cỏ, đồng cỏ');
INSERT INTO `new_dic` (`word_taget`, `word_explain`) VALUES
('grateful', 'biết ơn, dễ chịu, khoan khoái'),
('grave', 'mộ, dấu huyền; trang nghiêm, nghiêm trọng'),
('gray', 'xám, hoa râm'),
('great', 'to, lớn, vĩ đại'),
('greatly', 'rất, lắm; cao thượng, cao cả'),
('green', 'xanh lá cây'),
('grey', 'xám, hoa râm'),
('groceries', 'hàng tạp hóa'),
('grocery', 'cửa hàng tạp phẩm'),
('ground', 'mặt đất, đất, bãi đất'),
('group', 'nhóm'),
('grow', 'mọc, mọc lên'),
('grow up', 'lớn lên, trưởng thành'),
('growth', 'sự lớn lên, sự phát triển'),
('guarantee', 'sự bảo hành, bảo lãnh, người bảo lãnh; cam đoan, bảo đảm'),
('guard', 'cái chắn, người bảo vệ; bảo vệ, gác, canh giữ'),
('guess', 'đoán, phỏng đoán; sự đoán, sự ước chừng'),
('guest', 'khách, khách mời'),
('guide', 'điều chỉ dẫn, người hướng dẫn; dẫn đường, chỉ đường'),
('guilty', 'có tội, phạm tội, tội lỗi'),
('gun', 'súng'),
('guy', 'bù nhìn, anh chàng, gã'),
('habit', 'thói quen, tập quán'),
('hair', 'tóc'),
('hairdresser', 'thợ làm tóc'),
('half', 'một nửa, phần chia đôi, nửa giờ; nửa'),
('hall', 'đại sảnh, tòa , hội trường'),
('hammer', 'búa'),
('hand', 'tay, bàn tay; trao tay, truyền cho'),
('handle', 'treo, mắc'),
('happen', 'xảy ra, xảy đến'),
('happily', 'sung sướng, hạnh phúc'),
('happiness', 'sự sung sướng, hạnh phúc'),
('happy', 'vui sướng, hạnh phúc'),
('hard', 'cứng, rắn, hà khắc; hết sức cố gắng, tích cực'),
('hardly', 'khắc nghiệt, nghiêm khắc, tàn tệ, khó khăn'),
('harm', 'thiệt hại, tổn hao; làm hại, gây thiệt hại'),
('harmful', 'gây tai hại, có hại'),
('harmless', 'không có hại'),
('hat', 'cái mũ'),
('hate', 'ghét; lòng căm ghét, thù hận'),
('hatred', 'lòng căm thì, sự căm ghét'),
('have auxiliary', 'có'),
('have to modal', 'phải'),
('he', 'nó, anh ấy, ông ấy'),
('head', 'cái đầu ; chỉ huy, lãnh đại, dẫn đầu'),
('headache', 'chứng nhức đầu'),
('heal', 'chữa khỏi, làm lành'),
('health', 'sức khỏe, thể chất, sự lành mạnh'),
('healthy', 'khỏe mạnh, lành mạnh'),
('hear', 'nghe'),
('hearing', 'sự nghe, thính giác'),
('heart', 'tim, trái tim'),
('heat', 'hơi nóng, sức nóng'),
('heating', 'sự đốt nóng, sự làm nóng'),
('heaven', 'thiên đường'),
('heavily', 'nặng, nặng nề'),
('heavy', 'nặng, nặng nề'),
('heel', 'gót chân'),
('height', 'chiều cao, độ cao; đỉnh, điểm cao'),
('hell', 'địa ngục'),
('hello', 'chào, xin chào; lời chào'),
('help', 'giúp đỡ; sự giúp đỡ'),
('helpful', 'có ích; giúp đỡ'),
('hence', 'sau đây, kể từ đây; do đó, vì thế'),
('her', 'nó, chị ấy, cô ấy, bà ấy'),
('here', 'đây, ở đây'),
('hero', 'người anh hùng'),
('hers', 'cái của nó, cái của cô ấy, cái của chị ấy, cái của bà ấy'),
('herself', 'chính nó, chính cô ta, chính chị ta, chính bà ta'),
('hesitate', 'ngập ngừng, do dự'),
('hi', 'xin chào'),
('hide', 'trốn, ẩn nấp; che giấu'),
('high', 'cao, ở mức độ cao'),
('highlight', 'làm nổi bật, nêu bật; chỗ nổi bật nhất, đẹp, sáng nhất'),
('highly', 'tốt, cao; hết sức, ở mức độ cao'),
('highway', 'đường quốc lộ'),
('hill', 'đồi'),
('him', 'nó, hắn, ông ấy, anh ấy'),
('himself', 'chính nó, chính hắn, chính ông ta, chính anh ta'),
('hip', 'hông'),
('hire', 'thuê, cho thuê ; sự thuê, sự cho thuê'),
('his', 'của nó, của hắn, của ông ấy, của anh ấy; cái của nó, cái của hắn, cái của ông ấy, cái của anh ấy'),
('historical', 'lịch sử, thuộc lịch sử'),
('history', 'lịch sử, sử học'),
('hit', 'đánh, đấm, ném trúng; đòn, cú đấm'),
('hoanloose', 'lỏng, không chặt'),
('hobby', 'sở thích riêng'),
('hoever', 'ai, người nào, bất cứ ai, bất cứ người nào, dù ai'),
('hold', 'cầm, nắm, giữ; sự cầm, sự nắm giữ'),
('hole', 'lỗ, lỗ trống; hang'),
('holiday', 'ngày lễ, ngày nghỉ'),
('hollow', 'rỗng, trống rỗng'),
('holy', 'linh thiêng; sùng đạo'),
('home', 'nhà; ở tại nhà, nước mình'),
('homework', 'bài tập về nhà , công việc làm ở nhà'),
('honest', 'lương thiện, trung thực, chân thật'),
('honestly', 'lương thiện, trung thực, chân thật'),
('honour', 'danh dự, thanh danh, lòng kính trọng'),
('hook', 'cái móc; bản lề; lưỡi câu'),
('hope', 'hy vọng; nguồn hy vọng'),
('horn', 'sừng'),
('horror', 'điều kinh khủng, sự ghê rợn'),
('horse', 'ngựa'),
('hospital', 'bệnh viện, nhà thương'),
('host', 'chủ nhà, chủ tiệc; dẫn'),
('hot', 'nóng, nóng bức'),
('hotel', 'khách sạn'),
('hour', 'giờ'),
('house', 'nhà, căn nhà, toàn nhà'),
('household', 'hộ, gia đình; gia đình'),
('housing', 'nơi ăn chốn ở'),
('how', 'thế nào, như thế nào, làm sao, ra sao'),
('however', 'tuy nhiên, tuy vậy, dù thế nào'),
('huge', 'to lớn, khổng lồ'),
('human', 'con người, loài người'),
('humorous', 'hài hước, hóm hỉnh'),
('humour', 'sự hài hước, sự hóm hỉnh'),
('hungry', 'đó'),
('hunt', 'săn, đi săn'),
('hunting', 'sự đi săn'),
('hurry', 'sự vội vàng, sự gấp rút'),
('hurt', 'làm bị thương, gây thiệt hại'),
('husband', 'người chồng'),
('ice', 'băng, nước đá'),
('ice cream', 'kem'),
('idea', 'ý tưởng, quan niệm'),
('ideal', 'quan niệm, tư tưởng; lý tưởng'),
('ideally', 'lý tưởng, đúng như lý tưởng'),
('identify', 'nhận biết, nhận ra, nhận dạng'),
('identity', 'cá tính, nét nhận dạng; tính đồng nhất, giống hệt'),
('if', 'nếu, nếu như'),
('ignore', 'phớt lờ, tỏ ra không biết đến'),
('ill', 'ốm'),
('illegal', 'trái luật, bất hợp pháp'),
('illegally', 'trái luật, bất hợp pháp'),
('illness', 'sự đau yếu, ốm, bệnh tật'),
('illustrate', 'minh họa, làm rõ ý'),
('image', 'ảnh, hình ảnh'),
('imaginary', 'tưởng tượng, ảo'),
('imagination', 'trí tưởng tượng, sự tưởng tượng'),
('imagine', 'tưởng tượng, hình dung; tưởng rằng, cho rằng'),
('immediate', 'lập tức, tức thì'),
('immediately', 'ngay lập tức'),
('immoral', 'trái đạo đức, luân lý; xấu xa'),
('impact', 'sự và chạm, sự tác động, ảnh hưởng'),
('impatient', 'thiếu kiên nhẫn, nóng vội'),
('impatiently', 'nóng lòng, sốt ruột'),
('implication', 'sự lôi kéo, sự liên can, điều gợi ý'),
('imply', 'ngụ ý, bao hàm'),
('import', 'sự nhập, sự nhập khẩu; nhập, nhập khẩu'),
('importance', 'sự quan trọng, tầm quan trọng'),
('important', 'quan trọng, hệ trọng'),
('importantly', 'quan trọng, trọng yếu'),
('impose', 'đánh , bắt gánh vác; đánh tráo, lợi dụng'),
('impossible', 'không thể làm được, không thể xảy ra'),
('impress', 'ghi, khắc, in sâu vào; gây ấn tượng, làm cảm động'),
('impressed', 'được ghi, khắc, in sâu vào'),
('impression', 'ấn tượng, cảm giác; sự in, đóng dấu'),
('impressive', 'gấy ấn tượng mạnh; hùng vĩ, oai vệ'),
('improve', 'cải thiện, cái tiến, mở mang'),
('improvement', 'sự cái thiện, sự cải tiến, sự mở mang'),
('in', 'ở, tại, trong; vào'),
('in addition', 'thêm vào'),
('in advance', 'trước, sớm'),
('in case', 'nếu......'),
('in charge of', 'phụ trách'),
('in common', 'sự chung, của chung'),
('in exchange', 'trong việc trao đổi về'),
('in favour/favor', 'ủng hộ cái gì'),
('in front', 'ở phía trước'),
('in general', 'nói chung, đại khái'),
('in memory of', 'sự tưởng nhớ'),
('in order to', 'hợp lệ'),
('in public', 'giữa công chúng, công khai'),
('in spite of', 'mặc dù, bất chấp'),
('in the end', 'cuối cùng, về sau'),
('inability', 'sự bất lực, bất tài'),
('inch', 'insơ'),
('incident', 'việc xảy ra, việc có liên quan'),
('include', 'bao gồm, tính cả'),
('including', 'bao gồm, kể cả'),
('income', 'lợi tức, thu nhập'),
('increase', 'tăng, tăng thêm; sự tăng, sự tăng thêm'),
('increasingly', 'tăng thêm'),
('indeed', 'thật vậy, quả thật'),
('independence', 'sự độc lập, nền độc lập'),
('independent', 'độc lập'),
('independently', 'độc lập'),
('index', 'chỉ số, sự biểu thị'),
('indicate', 'chỉ, cho biết; biểu thị, trình bày ngắn gọn'),
('indication', 'sự chỉ, sự biểu thị, sự biểu lộ'),
('indirect', 'gián tiếp'),
('indirectly', 'gián tiếp'),
('individual', 'riêng, riêng biệt; cá nhân'),
('indoor', 'trong nhà'),
('indoors', 'ở trong nhà'),
('industrial', 'công nghiệp, kỹ nghệ'),
('industry', 'công nghiệp, kỹ nghệ'),
('inevitable', 'không thể tránh được, chắc chắn xảy ra; vẫn thường thấy, nghe'),
('inevitably', 'chắc chắn'),
('infect', 'nhiễm, tiêm nhiễm, đầu độc, lan truyền'),
('infected', 'bị nhiễm, bị đầu độc'),
('infection', 'sự nhiễm, sự đầu độc'),
('infectious', 'lây, nhiễm'),
('influence', 'sự ảnh hưởng, sự tác dụng; ảnh hưởng, tác động'),
('inform', 'báo cho biết, cung cấp tin tức'),
('informal', 'không chính thức, không nghi thức'),
('information', 'tin tức, tài liệu, kiến thức'),
('ingredient', 'phần hợp thành, thành phần'),
('initial', 'ban đầu, lúc đầu; chữ đầu'),
('initially', 'vào lúc ban đầu, ban đầu'),
('initiative', 'bước đầu, sự khởi đầu'),
('injure', 'làm tổn thương, làm hại, xúc phạm'),
('injured', 'bị tổn thương, bị xúc phạm'),
('injury', 'sự làm tổn thương, làm hại; điều hại, điều tổn hại'),
('ink', 'mực'),
('inner', 'ở trong, nội bộ; thân cận'),
('innocent', 'vô tội, trong trắng, ngây thơ'),
('insect', 'sâu bọ, côn trùng'),
('insert', 'chèn vào, lồng vào'),
('inside', 'mặt trong, phía, phần trong; ở trong, nội bộ'),
('insist', 'cứ nhất định, cứ khăng khăng'),
('install', 'đặt'),
('instance', 'thí dị, ví dụ; trường hợp cá biệt'),
('instead', 'để thay thế'),
('instead of', 'thay cho'),
('institute', 'viện, học viện'),
('institution', 'sự thành lập, lập; cơ quan, trụ sở'),
('instruction', 'sự dạy, tài liệu cung cấp'),
('instrument', 'dụng cụ âm nhạc khí'),
('insult', 'lăng mạ, xỉ nhục; lời lăng mạ, sự xỉ nhục'),
('insulting', 'lăng mạ, xỉ nhục'),
('insurance', 'sự bảo hiểm'),
('intelligence', 'sự hiểu biết, trí thông minh'),
('intelligent', 'thông minh, sáng trí'),
('intend', 'ý định, có ý định'),
('intended', 'có ý định, có dụng ý'),
('intention', 'ý định, mục đích'),
('interest', 'sự thích thú, sự quan tâm, chú ý; làm quan tâm, làm chú ý'),
('interested', 'có thích thú, có quan tâm, có chú ý'),
('interesting', 'làm thích thú, làm quan tâm, làm chú ý'),
('interior', 'phần trong, phía trong; ở trong, ở phía trong'),
('internal', 'ở trong, bên trong, nội địa'),
('international', 'quốc tế'),
('internet', 'liên mạng'),
('interpret', 'giải thích'),
('interpretation', 'sự giải thích'),
('interrupt', 'làm gián đoạn, ngắt lời'),
('interruption', 'sự gián đoạn, sự ngắt lời'),
('interval', 'khoảng , khoảng cách'),
('interview', 'cuộc phỏng vấn, sự gặp mặt; phỏng vấn, nói chuyện riêng'),
('into', 'vào, vào trong'),
('introduce', 'giới thiệu'),
('introduction', 'sự giới thiệu, lời giới thiệu'),
('invent', 'phát minh, sáng chế'),
('invention', 'sự phát minh, sự sáng chế'),
('invest', 'đầu tư'),
('investigate', 'điều tra, nghiên cứu'),
('investigation', 'sự điều tra, nghiên cứu'),
('investment', 'sự đầu tư, vốn đầu tư'),
('invitation', 'lời mời, sự mời'),
('invite', 'mời'),
('involve', 'bao gồm, bao hàm; thu hút, dồn tâm trí'),
('involvement', 'sự gồm, sự bao hàm; sự để, dồn hết tâm trí vào'),
('iron', 'sắt; bọc sắt'),
('irritate', 'làm phát cáu, chọc tức'),
('irritated', 'tức giận, cáu tiết'),
('irritating', 'làm phát cáu, chọc tức'),
('island', 'hòn đảo'),
('issue', 'sự phát ra, sự phát sinh; phát hành, đưa ra'),
('it', 'cái đó, điều đó, con vật đó'),
('item', 'tin tức; khoản.., món..., tiết mục'),
('its', 'của cái đó, của điều đó, của con vật đó; cái của điều đó, cái của con vật đó'),
('itself', 'chính cái đó, chính điều đó, chính con vật đó'),
('jacket', 'áo vét'),
('jam', 'mứt'),
('january', 'tháng giêng'),
('jealous', 'ghen,, ghen tị'),
('jeans', 'quần bò, quần zin'),
('jelly', 'thạch'),
('jewellery', 'nữ trang, kim hoàn'),
('job', 'việc, việc làm'),
('join', 'gia nhập, tham gia; nối, chắp, ghép'),
('joint', 'chung ; chỗ nối, đầu nối'),
('jointly', 'cùng nhau, cùng chung'),
('joke', 'trò cười, lời nói đùa; nói đùa, giễu cợt'),
('journalist', 'nhà báo'),
('journey', 'cuộc hành trình ; quãng đường, chặng đường đi'),
('joy', 'niềm vui, sự vui mừng'),
('judge', 'xét xử, phân xử; quan tòa, thẩm phán'),
('judgement', 'sự xét xử'),
('juice', 'nước ép'),
('july', 'tháng 7'),
('jump', 'nhảy; sự nhảy, bước nhảy'),
('june', 'tháng 6'),
('junior', 'trẻ hơn, ít tuổi hơn; người ít tuổi hơn'),
('just', 'đúng, vừa đủ; vừa mới, chỉ'),
('justice', 'sự công bằng'),
('justified', 'hợp lý, được chứng minh là đúng'),
('justify', 'bào chữa, biện hộ'),
('keen', 'sắc, bén'),
('keen on', 'say mê, ưa thích'),
('keep', 'giữ, giữ lại'),
('key', 'chìa khóa, khóa, thuộc'),
('keyboard', 'bàn phím'),
('kick', 'đá; cú đá'),
('kid', 'con dê non'),
('kill', 'giết, tiêu diệt'),
('killing', 'sự giết chóc, sự tàn sát'),
('kilogram', 'kilôgam'),
('kilometre', 'kilômet'),
('kind', 'loại, giống; tử tế, có lòng tốt'),
('kindly', 'tử tế, tốt bụng'),
('kindness', 'sự tử tế, lòng tốt'),
('king', 'vua, quốc vương'),
('kiss', 'hôn, cái hôn'),
('kitchen', 'bếp'),
('knee', 'đầu gối'),
('knife', 'đan, thêu'),
('knitted', 'được đan, được thêu'),
('knitting', 'việc đan; hàng dệt kim'),
('knock', 'đánh, đập; cú đánh'),
('knot', 'cái nơ; điểm nút, điểm trung tâm'),
('know', 'biết'),
('knowledge', 'sự hiểu biết, tri thức'),
('label', 'nhãn, mác; dán nhãn, ghi mác'),
('laboratory, lab', 'phòng thí nghiệm'),
('labour', 'lao động; công việc'),
('lack', 'sự thiếu; thiếu'),
('lacking', 'ngu đần, ngây ngô'),
('lady', 'người yêu, vợ, quý bà, tiểu thư'),
('lake', 'hồ'),
('lamp', 'đèn'),
('land', 'đất, đất canh tác, đất đai'),
('landscape', 'phong cảnh'),
('lane', 'đường nhỏ'),
('language', 'ngôn ngữ'),
('large', 'rộng, lớn, to'),
('largely', 'phong phú, ở mức độ lớn'),
('last', 'lầm cuối, sau cùng; người cuối cùng; cuối cùng, rốt hết;'),
('late', 'trễ, muộn'),
('later', 'chậm hơn'),
('latest', 'muộn nhất, chậm nhất, gần đây nhất'),
('latter', 'sau cùng, gần đây, mới đây'),
('laugh', 'cười; tiếng cười'),
('launch', 'hạ thủy ; khai trương; sự hạ thủy, buổi giới thiệu sản phầm'),
('law', 'luật'),
('lawyer', 'luật sư'),
('lay', 'xếp, đặt, bố trí'),
('layer', 'lớp'),
('lazy', 'lười biếng'),
('lead', 'lãnh đạo, dẫn dắt; sự lãnh đạo, sự hướng dẫn'),
('leader', 'người lãnh đạo, lãnh tụ'),
('leading', 'lãnh đạo, dẫn đầu'),
('leaf', 'lá cây, lá'),
('league', 'liên minh, liên hoàn'),
('lean', 'nghiêng, dựa, ỷ vào'),
('learn', 'học, nghiên cứu'),
('least', 'tối thiểu; ít nhất'),
('leather', 'da thuộc'),
('leave', 'bỏ đi, rời đi, để lại'),
('leave out', 'bỏ quên, bỏ sót'),
('lecture', 'bài diễn thuyết, bài thuyết trình, bài nói chuyện'),
('left', 'bên trái; về phía trái'),
('leg', 'chân'),
('legal', 'hợp pháp'),
('legally', 'hợp pháp'),
('lemon', 'quả chanh'),
('lend', 'cho vay, cho mượn'),
('length', 'chiều dài, độ dài'),
('less', 'nhỏ bé, ít hơn; số lượng ít hơn'),
('lesson', 'bài học'),
('let', 'cho phép, để cho'),
('letter', 'thư; chữ cái, mẫu tự'),
('level', 'trình độ, cấp, vị trí; bằng, ngang bằng'),
('library', 'thư viện'),
('licence', 'bằng, chứng chỉ, bằng cử nhân; sự cho phép'),
('license', 'cấp chứng chỉ, cấp bằng, cho phép'),
('lid', 'nắp, vung'),
('lie', 'nói dối; lời nói dối, sự dối trá'),
('life', 'đời, sự sống'),
('lift', 'giơ lên, nhấc lên; sự nâng, sự nhấc lên'),
('light', 'ánh sáng; nhẹ, nhẹ nhàng; đốt, thắp sáng'),
('lightly', 'nhẹ nhàng'),
('like', 'giống như; thích; như'),
('likely', 'có thể đúng, có thể xảy ra, có khả năng; có thể, chắc vậy'),
('limit', 'giới hạn, ranh giới; giới hạn, hạn chế'),
('limited', 'hạn chế, có giới hạn'),
('line', 'dây, đường, tuyến'),
('link', 'mắt xích, mối liên lạc; liên kết, kết nối'),
('lip', 'môi'),
('liquid', 'chất lỏng; lỏng, êm ái, du dương, không vững'),
('list', 'danh sách; ghi vào danh sách'),
('listen', 'nghe, lắng nghe'),
('literature', 'văn chương, văn học'),
('litre', 'lít'),
('little', 'nhỏ, bé, chút ít; không nhiều; một chút'),
('live', 'sống, hoạt động'),
('lively', 'sống, sinh động'),
('living', 'sống, đang sống'),
('load', 'gánh nặng, vật nặng; chất, chở'),
('loan', 'sự vay mượn'),
('local', 'địa phương, bộ phận, cục bộ'),
('locally', 'có tính chất địa phương, cục bộ'),
('locate', 'xác định vị trí, định vị'),
('located', 'định vị'),
('location', 'vị trí, sự định vị'),
('lock', 'khóa; khóa'),
('logic', 'lô gic'),
('logical', 'hợp lý, hợp logic'),
('lonely', 'cô đơn, bơ vơ'),
('long', 'dài, xa; lâu'),
('look', 'nhìn; cái nhìn'),
('look after', 'trông nom, chăm sóc'),
('look at', 'nhìn, ngắm, xem'),
('look for', 'tìm kiếm'),
('look forward to', 'mong đợi cách hân'),
('loosely', 'lỏng lẻo'),
('lord', 'chúa, vua'),
('lorry', 'xe tải'),
('lose', 'mất, thua, lạc'),
('loss', 'sự mất, sự thua'),
('lost', 'thua, mất'),
('lot', 'số lượng lớn; rất nhiều'),
('loud', 'to, inh ỏi, ầm ĩ; to, lớn'),
('loudly', 'ầm ĩ, inh ỏi'),
('love', 'tình yêu, lòng yêu thương; yêu, thích'),
('lovely', 'đẹp, xinh xắn, có duyên'),
('lover', 'người yêu, người tình'),
('low', 'thấp, bé, lùn'),
('loyal', 'trung thành, trung kiên'),
('luck', 'may mắn, vận may'),
('lucky', 'gặp may, gặp may mắn, hạnh phúc'),
('luggage', 'hành lý'),
('lump', 'cục, tảng, miếng; cái bướu'),
('lunch', 'bữa ăn trưa'),
('lung', 'phổi'),
('machine', 'máy, máy móc'),
('machinery', 'máy móc, thiết bị'),
('mad', 'điên, mất trí; bực điên người'),
('magazine', 'tạp chí'),
('magic', 'ma thuật, ảo thuật; ma thuật, ảo thuật'),
('mail', 'thư từ, bưu kiện; gửi qua bưu điện'),
('main', 'chính, chủ yếu, trọng yếu nhất'),
('mainly', 'chính, chủ yếu, phần lớn'),
('maintain', 'giữ gìn, duy trì, bảo vệ'),
('major', 'lớn, nhiều hơn, trọng đại, chủ yếu'),
('majority', 'phần lớn, đa số, ưu thế'),
('make', 'làm, chế tạo; sự chế tạo'),
('make fun of', 'đùa cợt, chế giễu, chế nhạo'),
('make sth up', 'làm thành, cấu thành, gộp thành'),
('make sure', 'chắc chắn, làm cho chắc chắn'),
('make-up', 'đồ hóa trang, son phấn'),
('male', 'trai, trống, đực; con trai, đàn ông, con trống, đực'),
('mall', 'búa'),
('man', 'con người; đàn ông'),
('manage', 'quản lý, trông nom, điều khiển'),
('management', 'sự quản lý, sự trông nom, sự điều khiển'),
('manager', 'người quản lý, giám đốc'),
('manner', 'cách, lối, kiểu; dáng, vẻ, thái độ'),
('manufacturer', 'người chế tạo, người sản xuất'),
('manufacturing', 'sự sản xuất, sự chế tạo'),
('many', 'nhiều'),
('map', 'bản đồ'),
('march', 'tháng ba'),
('mark', 'dấu, nhãn, nhãn mác; đánh dấu, ghi dấu'),
('market', 'chợ, thị trường'),
('marketing', 'ma-kết-tinh'),
('marriage', 'sự cưới xin, sự kết hôn, lễ cưới'),
('married', 'cưới, kết hôn'),
('marry', 'cưới'),
('mass', 'khối, khối lượng; quần chúng, đại chúng'),
('massive', 'to lớn, đồ sộ'),
('master', 'chủ, chủ nhân, thầy giáo, thạc sĩ'),
('match', 'trận thi đấu, đối thủ, địch thủ; đối chọi, sánh được'),
('matching', 'tính địch thù, thi đấu'),
('mate', 'bạn, bạn nghề; giao phối'),
('material', 'nguyên vật liệu; vật chất, hữu hình'),
('mathematics', 'toán học, môn toán'),
('matter', 'chất, vật chất; có ý nghĩa, có tính chất quan trọng'),
('maximum', 'cực độ, tối đa; trị số cực đại, lượng cực đại, cực độ'),
('may', 'tháng 5'),
('may modal', 'có thể, có lẽ'),
('maybe', 'có thể, có lẽ'),
('mayor', 'thị trưởng'),
('me', 'tôi, tao, tớ'),
('meal', 'bữa ăn'),
('mean', 'nghĩa, có nghĩa là'),
('meaning', 'ý, ý nghĩa'),
('means', 'của cải, tài sản, phương tiện'),
('meanwhile', 'trong lúc đó, trong lúc ấy'),
('measure', 'đo, đo lường; sự đo lường, đơn vị đo lường'),
('measurement', 'sự đo lường, phép đo'),
('meat', 'thịt'),
('media', 'phương tiện truyền thông đại chúng'),
('medical', 'y học'),
('medicine', 'y học, y khoa; thuốc'),
('medium', 'trung bình, trung, vừa; sự trung gian, sự môi giới'),
('meet', 'gặp, gặp gỡ'),
('meeting', 'cuộc mít tinh, cuộc biểu tình'),
('melt', 'tan ra, chảy ra; làm tan chảy ra'),
('member', 'thành viên, hội viên'),
('membership', 'tư cách hội viên, địa vị hội viên'),
('memory', 'bộ nhớ, trí nhớ, kỉ niệm'),
('mental', 'trí tuệ, trí óc; mất trí'),
('mentally', 'về mặt tinh thần'),
('mention', 'kể ra, nói đến, đề cập'),
('menu', 'thực đơn'),
('mere', 'chỉ là'),
('merely', 'chỉ, đơn thuần'),
('mess', 'tình trạng bừa bộn, tình trạng lộn xộn; người nhếch nhác, bẩn thỉu'),
('message', 'tin nhắn, thư tín, điện thông báo, thông điệp'),
('metal', 'kim loại'),
('method', 'phương pháp, cách thức'),
('metre', 'mét'),
('mid- combining form', 'tiền tố: một nửa'),
('midday', 'trưa, buổi trưa'),
('middle', 'giữa, ở giữa'),
('midnight', 'nửa đêm, 12h đêm'),
('might modal', 'qk. may có thể, có lẽ'),
('mild', 'nhẹ, êm dịu, ôn hòa'),
('mile', 'dặm'),
('military', 'quân đội, quân sự'),
('milk', 'sữa'),
('milligram', 'mi-li-gam'),
('millimetre', 'mi-li-met'),
('mind', 'tâm trí, tinh thần, trí tuệ; chú ý, để ý, chăm sóc, quan tâm'),
('mine', 'của tôi'),
('mineral', 'công nhân, thợ mỏ; khoáng'),
('minimum', 'tối thiểu; số lượng tối thiểu, mức tối thiểu'),
('minister', 'bộ trưởng'),
('ministry', 'bộ'),
('minor', 'nhỏ hơn, thứ yếu, không quan trọng'),
('minority', 'phần ít, thiểu số'),
('minute', 'phút'),
('mirror', 'gương'),
('miss', 'lỡ, trượt; sự trượt, sự thiếu vắng'),
('missing', 'vắng, thiếu, thất lạc'),
('mistake', 'lỗi, sai lầm, lỗi lầm; phạm lỗi, phạm sai lầm'),
('mistaken', 'sai lầm, hiểu lầm'),
('mix', 'pha, trộn lẫn; sự pha trộn'),
('mixed', 'lẫn lộn, pha trộn'),
('mixture', 'sự pha trộn, sự hỗn hợp'),
('mobile', 'chuyển động, di động'),
('mobile phone', 'điện thoại đi động'),
('model', 'mẫu, kiểu mẫu'),
('modern', 'hiện đại, tân tiến'),
('moment', 'chốc, lát'),
('monday', 'thứ 2'),
('money', 'tiền'),
('monitor', 'lớp trưởng, màn hình máy tính; nghe, ghi phát thanh, giám sát'),
('month', 'tháng'),
('mood', 'lối, thức, điệu'),
('moon', 'mặt trăng'),
('moral', 'đạo đức, luân lý, phẩm hạnh; có đạo đứcmorally adv. có đạo đức'),
('more', 'hơn, nhiều hơn'),
('moreover', 'hơn nữa, ngoài ra, vả lại'),
('morning', 'buổi sáng'),
('most', 'lớn nhất, nhiều nhất; nhất, hơn cả'),
('mostly', 'hầu hết, chủ yếu là'),
('mother', 'mẹ'),
('motion', 'sự chuyển động, sụ di động'),
('motor', 'động cơ mô tô'),
('motorcycle', 'xe mô tô'),
('mount', 'leo, trèo; núi'),
('mountain', 'núi'),
('mouse', 'chuột'),
('mouth', 'miệng'),
('move', 'di chuyển, chuyển động; sự di chuyển, sự chuyển động'),
('movement', 'sự chuyển động, sự hoạt động; cử động, động tác'),
('movie', 'phim xi nê'),
('movie theater', 'rạp chiếu phim'),
('moving', 'động, hoạt động'),
('much', 'nhiều, lắm'),
('mud', 'bùn'),
('multiply', 'nhân lên, làm tăng lên nhiều lần; sinh sôi nảy nở'),
('mum', 'mẹ'),
('murder', 'tội giết người, tội ám sát; giết người, ám sát'),
('muscle', 'cơ, bắp thịt'),
('museum', 'bảo tàng'),
('music', 'nhạc, âm nhạc'),
('musical', 'nhạc, âm nhạc; du dương, êm ái'),
('musician', 'nhạc sĩ'),
('must modal', 'phải, cần, nên làm'),
('my', 'của tôi'),
('myself', 'tự tôi, chính tôi'),
('mysterious', 'thần bí, huyền bí, khó hiểu'),
('mystery', 'điều huyền bí, điều thần bí'),
('nail', 'móng móng vuốt'),
('naked', 'trần, khỏa thân, trơ trụi'),
('name', 'tên; đặt tên, gọi tên'),
('narrow', 'hẹp, chật hẹp'),
('nation', 'dân tộc, quốc gia'),
('national', 'quốc gia, dân tộc'),
('natural', 'tự nhiên, thiên nhiên'),
('naturally', 'vốn, tự nhiên, đương nhiên'),
('nature', 'tự nhiên, thiên nhiên'),
('navy', 'hải quân'),
('near', 'gần, cận; ở gần'),
('nearby', 'gần'),
('nearly', 'gần, sắp, suýt'),
('neat', 'sạch, ngăn nắp; rành mạch'),
('neatly', 'gọn gàng, ngăn nắp'),
('necessarily', 'tất yếu, nhất thiết'),
('necessary', 'cần, cần thiết, thiết yếu'),
('neck', 'cổ'),
('need modal', 'cần, đòi hỏi; sự cần'),
('needle', 'cái kim, mũi nhọn'),
('negative', 'phủ định'),
('neighbour', 'hàng xóm'),
('neighbourhood', 'hàng xóm, làng giềng'),
('neither', 'không này mà cũng không kia'),
('nephew', 'cháu trai'),
('nerve', 'khí lực, thần kinh, can đảm'),
('nervous', 'hoảng sợ, dễ bị kích thích, hay lo lắng'),
('nervously', 'bồn chồn, lo lắng'),
('nest', 'tổ, ổ; làm tổ'),
('net', 'lưới, mạng'),
('network', 'mạng lưới, hệ thống'),
('never', 'không bao giờ, không khi nào'),
('nevertheless', 'tuy nhiên, tuy thế mà'),
('new', 'mới, mới mẻ, mới lạ'),
('newly', 'mới'),
('news', 'tin, tin tức'),
('newspaper', 'báo'),
('next', 'sát, gần, bên cạnh; lần sau, tiếp nữa'),
('next to', 'gần'),
('nice', 'đẹp, thú vị, dễ chịu'),
('nicely', 'thú vị, dễ chịu'),
('niece', 'cháu gái'),
('night', 'đêm, tối'),
('no exclamation,', 'không'),
('nobody', 'không ai, không người nào'),
('noise', 'tiếng ồn, sự huyên náo'),
('noisily', 'ồn ào, huyên náo'),
('noisy', 'ồn ào, huyên náo'),
('none', 'không ai, không người, vật gì'),
('nonsense', 'lời nói vô lý, vô nghĩa'),
('nor', 'cũng không'),
('normal', 'thường, bình thường; tình trạng bình thường'),
('normally', 'thông thường, như thường lệ'),
('north', 'phía bắc, phương bắc'),
('northern', 'bắc'),
('nose', 'mũi'),
('not', 'không'),
('note', 'lời ghi, lời ghi chép; ghi chú, ghi chép'),
('nothing', 'không gì, không cái gì'),
('notice', 'thông báo, yết thị; chú ý, để ý, nhận biết'),
('noticeable', 'đáng chú ý, đáng để ý'),
('novel', 'tiểu thuyết, truyện'),
('november', 'tháng 11'),
('now', 'bây giờ, hiện giờ, hiện nay'),
('nowhere', 'không nơi nào, không ở đâu'),
('nuclear', 'hạt nhân'),
('number', 'số'),
('nurse', 'quả hạch; đầu'),
('obey', 'vâng lời, tuân theo, tuân lệnh'),
('object', 'vật, vật thể; phản đối, chống lại'),
('objective', 'mục tiêu, mục đích; mục tiêu, khách quan'),
('observation', 'sự quan sát, sự theo dõi'),
('observe', 'quan sát, theo dõi'),
('obtain', 'đạt được, giành được'),
('obvious', 'rõ ràng, rành mạch, hiển nhiên'),
('obviously', 'một cách rõ ràng, có thể thấy được'),
('occasion', 'dịp, cơ hội'),
('occasionally', 'thỉnh thoảng, đôi khi'),
('occupied', 'đang sử dụng, đầy'),
('occupy', 'giữ, chiếm lĩnh, chiếm giữ'),
('occur', 'xảy ra, xảy đến, xuất hiện'),
('ocean', 'đại dương'),
('odd', 'kỳ quặc, kỳ cục, lẻ'),
('oddly', 'kỳ quặc, kỳ cục, lẻ'),
('of', 'của'),
('of course', 'dĩ nhiên'),
('off', 'tắt; khỏi, cách, rời'),
('offence', 'sự vi phạm, sự phạm tội'),
('offend', 'xúc phạm, làm bực mình, làm khó chịu'),
('offensive', 'sự tấn công, cuộc tấn công'),
('offer', 'biếu, tặng, cho; sự trả giá'),
('office', 'cơ quan, văn phòng, bộ'),
('officer', 'viên chức, cảnh sát, sĩ quan'),
('official', 'chính quyền, văn phòng; viên chức, công chức'),
('officially', 'một cách trịnh trọng, một cách chính thức'),
('often', 'thường, hay, luôn'),
('oh exclamation', 'chao, ôi chao, chà, này..'),
('oil', 'dầu'),
('ok exclamation,', 'đồng ý, tán thành'),
('old', 'già'),
('old-fashioned', 'lỗi thời'),
('on', 'trên, ở trên; tiếp tục, tiếp diễn'),
('on behalf of sb', 'thay mặt cho ai, nhân danh ai'),
('on board', 'trên tàu thủy'),
('on purpose', 'cố tình, cố ý, có chủ tâm'),
('on sb’s behalf', 'nhân danh cá nhân ai'),
('once', 'một lần; khi mà, ngay khi, một khi'),
('one number,', 'một; một người, một vật nào đó'),
('onion', 'củ hành'),
('only', 'chỉ có 1, duy nhất; chỉ, mới'),
('onto', 'về phía trên, lên trên'),
('open', 'mở, ngỏ; mở, bắt đầu, khai mạc'),
('opening', 'khe hở, lỗ; sự bắt đầu, sự khai mạc, lễ khánh thành'),
('openly', 'công khai, thẳng thắn'),
('operate', 'hoạt động, điều khiển'),
('operation', 'sự hoạt động, quá trình hoạt động'),
('opinion', 'ý kiến, quan điểm'),
('opponent', 'địch thủ, đối thủ, kẻ thù'),
('opportunity', 'cơ hội, thời cơ'),
('oppose', 'đối kháng, đối chọi, đối lập; chống đối, phản đối'),
('opposed to', 'chống lại, phản đối'),
('opposing', 'tính đối kháng, đối chọi'),
('opposite', 'đối nhau, ngược nhau; trước mặt, đối diện; điều'),
('opposition', 'sự đối lập, sự đối nhau; sự chống lại, sự phản đối; phe đối'),
('option', 'sự lựa chọn'),
('orange', 'quả cam; có màu da cam'),
('order', 'thứ, bậc; ra lệnh'),
('ordinary', 'thường, thông thường'),
('organ', 'đàn óoc gan'),
('organization', 'tổ chức, cơ quan; sự tổ chức'),
('organize', 'tổ chức, thiết lập'),
('organized', 'có trật tự, ngăn nắp, được sắp xếp, được tổ chức'),
('origin', 'gốc, nguồn gốc, căn nguyên'),
('original', 'gốc, nguồn gốc, căn nguyên; nguyên bản'),
('originally', 'một cách sáng tạo, mới mẻ, độc đáo; khởi đầu, đầu tiên'),
('other', 'khác'),
('otherwise', 'khác, cách khác; nếu không thì...; mặt khác'),
('ought to modal', 'phải, nên, hẳn là'),
('our', 'của chúng ta, thuộc chúng ta, của chúng tôi, của chúng mình'),
('ours', 'của chúng ta, thuộc chúng ta, của chúng tôi, của chúng mình'),
('ourselves', 'bản thân chúng ta, bản thân chúng tôi, bản thân chúng mình; tự chúng mình'),
('out', 'ngoài, ở ngoài, ra ngoài'),
('outdoor', 'ngoài trời, ở ngoài'),
('outdoors', 'ở ngoài trời, ở ngoài nhà'),
('outer', 'ở phía ngoài, ở xa hơn'),
('outline', 'vẽ, phác tảo; đường nét, hình dáng, nét ngoài'),
('output', 'sự sản xuất; sản phẩm, sản lượng'),
('outside', 'bề ngoài, bên ngoài; ở ngoài; ngoài'),
('outstanding', 'nổi bật, đáng chú ý; còn tồn lại'),
('oven', 'lò'),
('over', 'bên trên, vượt qua; lên, lên trên'),
('overall', 'toàn bộ, toàn thể; tất cả, bao gồm'),
('overcome', 'thắng, chiến thắng, khắc phục, đánh bại'),
('owe', 'nợ, hàm ơn; có được'),
('own', 'của chính mình, tự mình; nhận, nhìn nhận'),
('owner', 'người chủ, chủ nhân'),
('o’clock', 'đúng giờ'),
('p.m.', 'quá trưa, chiều, tối'),
('pace', 'bước chân, bước'),
('pack', 'gói, bọc; bó, gói'),
('package', 'gói đồ, bưu kiện; đóng gói, đóng kiện'),
('packaging', 'bao bì'),
('packet', 'gói nhỏ'),
('page', 'trang'),
('pain', 'sự đau đớn, sự đau khổ'),
('painful', 'đau đớn, đau khổ'),
('paint', 'sơn, vôi màu; sơn, quét sơn'),
('painter', 'họa sĩ'),
('painting', 'sự sơn; bức họa, bức tranh'),
('pair', 'đôi, cặp'),
('palace', 'cung điện, lâu đài'),
('pale', 'taí, nhợt'),
('pan', 'xoong, chảo'),
('panel', 'ván ô , pa nô'),
('pants', 'quần lót, đùi'),
('paper', 'giấy'),
('parallel', 'song song, tương đương'),
('parent', 'cha, mẹ'),
('park', 'công viên, vườn hoa; khoanh vùng thành công viên'),
('parliament', 'nghi viện, quốc hội'),
('part', 'phần, bộ phận'),
('particular', 'riêng biệt, cá biệt'),
('particularly', 'một cách đặc biệt, cá biệt, riêng biệt'),
('partly', 'đến chừng mực nào đó, phần nào đó'),
('partner', 'đối tác, cộng sự'),
('partnership', 'sự chung phần, sự cộng tác'),
('party', 'tiệc, buổi liên hoan; đảng'),
('pass', 'qua, vượt qua, ngang qua'),
('passage', 'sự đi qua, sự trôi qua; hành lang'),
('passenger', 'hành khách'),
('passing', 'sự đi qua, sự trôi qua; thoáng qua, ngắn ngủi'),
('passport', 'hộ chiếu'),
('past', 'quá khứ, dĩ vãng; quá, qua'),
('path', 'đường mòn; hướng đi'),
('patience', 'tính kiên nhẫn, nhẫn nại, kiên trì, sự chịu đựng'),
('patient', 'bệnh nhân; kiên nhẫn, nhẫn nại, bền chí'),
('pattern', 'mẫu, khuôn mẫu'),
('pause', 'tạm nghỉ, dừng; sự tạm nghỉ, sự tạm ngừng'),
('pay', 'trả, thanh toán, nộp; tiền lương'),
('payment', 'sự trả tiền, số tiền trả, tiền bồi thường'),
('peace', 'hòa bình, sự hòa thuận'),
('peaceful', 'hòa bình, thái bình, yên tĩnh'),
('peak', 'lưỡi trai; đỉnh, chóp'),
('pen', 'bút'),
('pence', 'đồng xu'),
('pencil', 'bút chì'),
('penny', 'đồng xu'),
('pension', 'tiền trợ cấp, lương hưu'),
('people', 'dân tộc, dòng giống; người'),
('pepper', 'hạt tiêu, cây ớt'),
('per', 'cho mỗi'),
('per cent', 'phần trăm'),
('perfect', 'hoàn hảo'),
('perfectly', 'một cách hoàn hảo'),
('perform', 'biểu diễn; làm, thực hiện'),
('performance', 'sự làm, sự thực hiện, sự thi hành, sự biểu diễn'),
('performer', 'người biểu diễn, người trình diễn'),
('perhaps', 'có thể, có lẽ'),
('period', 'kỳ, thời kỳ, thời gian; thời đại'),
('permanent', 'lâu dài, vĩnh cửu, thường xuyên'),
('permanently', 'cách thường xuyên, vĩnh cửu'),
('permission', 'sự cho phép, giấy phép'),
('permit', 'cho phép, cho cơ hội'),
('person', 'con người, người'),
('personal', 'cá nhân, tư, riêng tư'),
('personality', 'nhân cách, tính cách; nhân phẩm, cá tính'),
('personally', 'đích thân, bản thân, về phần rôi, đối với tôi'),
('persuade', 'thuyết phục'),
('pet', 'cơn nóng giận; vật cưng, người được yêu thích'),
('petrol', 'xăng dầu'),
('phase', 'tuần trăng; giai đoạn, thời kỳ'),
('philosophy', 'triết học, triết lý'),
('photocopy', 'bản sao chụp; sao chụp'),
('photograph', 'ảnh, bức ảnh; chụp ảnh'),
('photographer', 'thợ chụp ảnh, nhà nhiếp ảnh'),
('photography', 'thuật chụp ảnh, nghề nhiếp ảnh'),
('phrase', 'câu; thành ngữ, cụm từ'),
('physical', 'vật chất; cơ thể, thân thể'),
('physically', 'về thân thể, theo luật tự nhiên'),
('physics', 'vật lý học'),
('piano', 'đàn pianô, dương cầm'),
('pick', 'cuốc'),
('pick sth up', 'cuốc, vỡ, xé'),
('picture', 'bức vẽ, bức họa'),
('piece', 'mảnh, mẩu; đồng tiền'),
('pig', 'con lợn'),
('pile', 'cọc, chồng, đống, pin; đóng cọc, chất chồng'),
('pill', 'viên thuốc'),
('pilot', 'phi công'),
('pin', 'đinh ghim; ghim., kẹp'),
('pink', 'màu hồng; hoa cẩm chướng, tình trạng tốt, hoàn hảo'),
('pint', 'panh'),
('pipe', 'ống dẫn'),
('pitch', 'sân ; đầu hắc ín'),
('pity', 'lòng thương hại, điều đáng tiếc, đáng thương'),
('place', 'nơi, địa điểm; quảng trường'),
('plain', 'ngay thẳng, đơn giản, chất phác'),
('plan', 'bản đồ, kế hoạch; vẽ bản đồ, lập kế hoạch, dự kiến'),
('plane', 'mặt phẳng, mặt bằng'),
('planet', 'hành tinh'),
('planning', 'sự lập kế hoạch, sự quy hoạch'),
('plant', 'thực vật, sự mọc lên; trồng, gieo'),
('plastic', 'chất dẻo, làm bằng chất dẻo'),
('plate', 'bản, tấm kim loại'),
('platform', 'nền, bục, bệ; thềm, sân ga'),
('play', 'chơi, đánh; sự vui chơi, trò chơi, trận đấu'),
('player', 'người chơi 1 trò chơi nào đó'),
('pleasant', 'vui vẻ, dễ thương; dịu dàng, thân mật'),
('pleasantly', 'vui vẻ, dễ thương; thân mật'),
('please exclamation,', 'làm vui lòng, vừa lòng, mong... vui lòng, xin mời'),
('pleased', 'hài lòng'),
('pleasing', 'mang lại niềm vui thích; dễ chịu'),
('pleasure', 'niềm vui thích, điều thích thú, điều thú vị; ý muốn, ý thích'),
('plenty', 'nhiều ; chỉ sự thừa; sự sung túc, sự p.phú'),
('plot', 'mảnh đất nhở, sơ đồ, đồ thị, đồ án; vẽ sơ đồ, dựng đồ án'),
('plug', 'nút'),
('plus', 'cộng với ; dấu cộng; cộng, thêm vào'),
('pocket', 'túi , túi tiền'),
('poem', 'thi ca; chất thơ'),
('point', 'mũi nhọn, điểm; vót, làm nhọn, chấm'),
('pointed', 'nhọn, có đầu nhọn'),
('poison', 'chất độc, thuốc độc; đánh thuốc độc, tẩm thuốc độc'),
('poisonous', 'độc, có chất độc, gây chết, bệnh'),
('pole', 'người ba lan; cực'),
('police', 'cảnh sát, công an'),
('policy', 'chính sách'),
('polish', 'nước bóng, nước láng; đánh bóng, làm cho láng'),
('polite', 'lễ phép, lịch sự'),
('politely', 'lễ phép, lịch sự'),
('political', 'về chính trị, về chính phủ, có tính chính trị'),
('politically', 'về mặt chính trị; khôn ngoan, thận trọng; sảo quyệt'),
('politician', 'nhà chính trị, chính khách'),
('politics', 'họat động chính trị, đời sống chính trị, quan điểm chính trị'),
('pollution', 'sự ô nhiễm'),
('pool', 'vũng nước; bể bơi, hồ bơi'),
('poor', 'nghèo'),
('pop', 'tiếp bốp, phong cách dân gian hiện đại; nổ bốp'),
('popular', 'có tính đại chúng, nhân dân; được nhiều người ưa chuộng'),
('population', 'dân cư, dân số; mật độ dân số'),
('port', 'cảng'),
('pose', 'đưa ra, đề ra, đặt; sự đặt, đề ra'),
('position', 'vị trí, chỗ'),
('positive', 'xác thực, rõ ràng, tích cực, lạc quan'),
('possess', 'có, chiếm hữu'),
('possession', 'quyền sở hữu, vật sở hữu'),
('possibility', 'khă năng, triển vọng'),
('possible', 'có thể, có thể thực hiện'),
('possibly', 'có lẽ, có thể, có thể chấp nhận được'),
('post', 'thư, bưu kiện; gửi thư'),
('post office', 'bưu điện'),
('pot', 'can, bình, lọ...'),
('potato', 'khoai tây'),
('potential', 'tiềm năng; khả năng, tiềm lực'),
('potentially', 'tiềm năng, tiềm ẩn'),
('pound', 'pao - đơn vị đo lường'),
('pour', 'rót, đổ, giội'),
('powder', 'bột, bụi'),
('power', 'khả năng, tài năng, năng lực; sức mạnh, nội lực; quyền lực'),
('powerful', 'hùng mạnh, hùng cường'),
('practical', 'thực hành; thực tế'),
('practically', 'về mặt thực hành; thực tế'),
('practice', 'thực hành, thực tiễn'),
('practise', 'thực hành, tập luyện'),
('praise', 'sự ca ngợi, sự tán dương, lòng tôn kính, tôn thờ; khen ngợi, tán dương'),
('prayer', 'sự cầu nguyện'),
('precise', 'rõ ràng, chính xác; tỉ mỉ, kỹ tính'),
('precisely', 'đúng, chính xác, cần thận'),
('predict', 'báo trước, tiên đoán, dự báo'),
('prefer', 'thích hơn'),
('preference', 'sự thích hơn, sự ưa hơn; cái được ưa thích hơn'),
('pregnant', 'mang thai; giàu trí tưởng tượng, sáng tạo'),
('premises', 'biệt thự'),
('preparation', 'sự sửa soạn, sự chuẩn bị'),
('prepare', 'sửa soạn, chuẩn bị'),
('prepared', 'đã được chuẩn bị'),
('presence', 'sự hiện diện, sự có mặt; người, vât hiện diện'),
('present', 'có mặt, hiện diện; hiện nay, hiện thời; bày tỏ, giới thiệu, trình bày'),
('presentation', 'bài thuyết trình, sự trình diện, sự giới thiệu'),
('preserve', 'bảo quản, giữ gìn'),
('president', 'hiệu trưởng, chủ tịnh, tổng thống'),
('press', 'sự ép, sự nén, sự ấn; ép, nén, bóp, ấn'),
('pressure', 'sức ép, áp lực, áp suất'),
('presumably', 'có thể được, có lẽ'),
('pretend', 'giả vờ, giả bộ, làm ra vẻ'),
('pretty', 'khá, vừa phải; xinh, xinh xắn;, đẹp'),
('prevent', 'ngăn cản, ngăn chặn, ngăn ngừa'),
('previous', 'vội vàng, hấp tấp; trước , ưu tiên'),
('previously', 'trước, trước đây'),
('price', 'sự kiêu hãnh, sự hãnh diện; tính kiêu căng, tự phụ'),
('priest', 'linh mục, thầy tu'),
('primarily', 'trước hết, đầu tiên'),
('primary', 'nguyên thủy, đầu tiên; thời cổ đại, nguyên sinh; sơ cấp, tiểu học'),
('prime minister', 'thủ tướng'),
('prince', 'hoành tử'),
('princess', 'công chúa'),
('principle', 'cơ bản, chủ yếu; nguyên lý, nguyên tắc'),
('print', 'in, xuất bản; sự in ra'),
('printer', 'máy in, thợ in'),
('printing', 'sự in, thuật in, kỹ sảo in'),
('prior', 'trước, ưu tiên'),
('priority', 'sự ưu tế, quyền ưu tiên'),
('prison', 'nhà tù'),
('prisoner', 'tù nhân'),
('private', 'cá nhân, riêng'),
('privately', 'riêng tư, cá nhân'),
('prize', 'giải, giải thưởng'),
('probable', 'có thể, có khả năng'),
('probably', 'hầu như chắc chắn'),
('problem', 'vấn đề, điều khó giải quyết'),
('procedure', 'thủ tục'),
('proceed', 'tiến lên, theo duổi, tiếp diễn'),
('process', 'quá trình, sự tiến triển, quy trình; chế biến, gia công, xử lý'),
('produce', 'sản xuất, chế tạo'),
('producer', 'nhà sản xuất'),
('product', 'sản phẩm'),
('production', 'sự sản xuất, chế tạo'),
('profession', 'nghề, nghề nghiệp'),
('professional', 'nghề, nghề nghiệp; chuyên nghiệp'),
('professor', 'giáo sư, giảng viên'),
('profit', 'thuận lợi, lợi ích, lợi nhuận'),
('program', 'chương trình; lên chương trình'),
('programme', 'chương trình'),
('progress', 'sự tiến tới, sự tiến triển; tiến bộ, tiến triển, phát triển'),
('project', 'đề án, dự án, kế hoạch; dự kiến, kế hoạch'),
('promise', 'hứa, lời hứa'),
('promote', 'thăng chức, thăng cấp'),
('promotion', 'sự thăng chức, sự thăng cấp'),
('prompt', 'mau lẹ, nhanh chóng; xúi, giục, nhắc nhở'),
('promptly', 'mau lẹ, ngay lập tức'),
('pronounce', 'tuyên bố, thông báo, phát âm'),
('pronunciation', 'sự phát âm'),
('proof', 'chứng, chứng cớ, bằng chứng; sự kiểm chứng'),
('proper', 'đúng, thích đáng, thích hợp'),
('properly', 'một cách đúng đắn, một cách thích đáng'),
('property', 'tài sản, của cải; đất đai, nhà cửa, bất động sản'),
('proportion', 'sự cân xứng, sự cân đối'),
('proposal', 'sự đề nghị, đề xuất'),
('propose', 'đề nghị, đề xuất, đưa ra'),
('prospect', 'viễn cảnh, toàn cảnh; triển vọng, mong chờ'),
('protect', 'bảo vệ, che chở'),
('protection', 'sự bảo vệ, sự che chở'),
('protest', 'sự phản đối, sự phản kháng; phản đối, phản kháng'),
('proud', 'tự hào, kiêu hãnh'),
('proudly', 'một cách tự hào, một cách hãnh diện'),
('prove', 'chứng tỏ, chứng minh'),
('provide', 'chuẩn bị đầy đủ, dự phòng; cung cấp, chu cấp'),
('provided', 'với điều kiện là, miễn là'),
('public', 'chung, công cộng; công chúng, nhân dân'),
('publication', 'sự công bố; sự xuất bản'),
('publicity', 'sự công khai, sự quảng cáo'),
('publicly', 'công khai, công cộng'),
('publicyhouse', 'quán rượu, tiệm rượu'),
('publish', 'công bố, ban bố; xuất bản'),
('publishing', 'công việc, nghề xuất bản'),
('pull', 'lôi, kéo, giật; sự lôi kéo, sự giật'),
('punch', 'đấm, thụi; quả đấm, cú thụi'),
('punish', 'phạt, trừng phạt'),
('punishment', 'sự trừng phạt, sự trừng trị'),
('pupil', 'học sinh'),
('purchase', 'sự mua, sự tậu; mua, sắm, tậu'),
('pure', 'nguyên chất, tinh khiết, trong lành'),
('purely', 'hoàn toàn, chỉ là'),
('purple', 'tía, có màu tía; màu tía'),
('purpose', 'mục đích, ý định'),
('pursue', 'đuổi theo, đuổi bắt'),
('push', 'xô đẩy; sự xô đẩy'),
('put', 'đặt, để, cho vào'),
('put out', 'tắt, dập tắt'),
('qualification', 'phẩm chất, năng lực; khả năng chuyên môn'),
('qualified', 'đủ tư cách, điều kiện, khả năng'),
('qualify', 'đủ khả năng, đủ tư cách, điều kiện'),
('quality', 'chất lượng, phẩm chất'),
('quantity', 'lượng, số lượng'),
('quarter', '4, 15 phút'),
('queen', 'nữ hoàng'),
('question', 'câu hỏi; hỏi, chất vấn'),
('quick', 'nhanh'),
('quickly', 'nhanh'),
('quiet', 'lặng, yên lặng, yên tĩnh'),
('quietly', 'lặng, yên lặng, yên tĩnh'),
('quit', 'thoát, thoát ra'),
('quite', 'hoàn toàn, hầu hết'),
('quote', 'trích dẫn'),
('race', 'loài, chủng, giống; cuộc đua; đua'),
('racing', 'cuộc đua'),
('radio', 'sóng vô tuyến, radio'),
('rail', 'đường ray'),
('railway', 'đường sắt'),
('rain', 'mưa, cơn mưa; mưa'),
('raise', 'nâng lên, đưa lên, ngẩng lên'),
('range', 'dãy, hàng, loại; phạm vi, trình độ'),
('rank', 'hàng, dãy; sắp xếp thành hàng, dãy'),
('rapid', 'nhanh, nhanh chóng'),
('rapidly', 'nhanh, nhanh chóng'),
('rare', 'hiếm, ít'),
('rarely', 'hiếm khi, ít khi'),
('rate', 'tỷ lệ, tốc độ'),
('rather', 'thà.. còn hơn, thích... hơn'),
('rather than', 'hơn là'),
('raw', 'sống , thô, còn nguyên chất'),
('reach', 'đến, đi đến, tới'),
('react', 'tác động trở lại, phản ứng'),
('reaction', 'sự phản ứng; sự phản tác dụng'),
('read', 'đọc'),
('reader', 'người đọc, độc giả'),
('reading', 'sự đọc'),
('ready', 'sẵn sàng'),
('real', 'thực, thực tế, có thật'),
('realistic', 'hiện thực'),
('reality', 'sự thật, thực tế, thực tại'),
('realize', 'thực hiện, thực hành'),
('really', 'thực, thực ra, thực sự'),
('rear', 'phía sau; ở đằng sau, ở đằng sau'),
('reason', 'lý do, lý lẽ'),
('reasonable', 'có lý, hợp lý'),
('reasonably', 'hợp lý'),
('recall', 'gọi về, triệu hồi; nhặc lại, gợi lại'),
('receipt', 'công thức; đơn thuốc'),
('receive', 'nhận, lĩnh, thu'),
('recent', 'gần đây, mới đây'),
('recently', 'gần đây, mới đây'),
('reception', 'sự nhận, sự tiếp nhận, sự đón tiếp'),
('reckon', 'tính, đếm'),
('recognition', 'sự công nhận, sự thừa nhận'),
('recognize', 'nhận ra, nhận diện; công nhận, thừa nhận'),
('recommend', 'giới thiệu, tiến cử; đề nghị, khuyên bảo'),
('record', 'bản ghi, sự ghi, bản thu, sự thu; thu, ghi chép'),
('recording', 'sự ghi, sự thu âm'),
('recover', 'lấy lại, giành lại'),
('red', 'đỏ; màu đỏ'),
('reduce', 'giảm, giảm bớt'),
('reduction', 'sự giảm giá, sự hạ giá'),
('refer to', 'xem, tham khảo; ám chỉ, nhắc đến'),
('reference', 'sự tham khảo, hỏi ýe kiến'),
('reflect', 'phản chiếu, phản hồi, phản ánh'),
('reform', 'cải cách, cải thiện, cải tạo; sự cải cách, sự cải thiện, cải tạo'),
('refrigerator', 'tủ lạnh'),
('refusal', 'sự từ chối, sự khước từ'),
('refuse', 'từ chối, khước từ'),
('regard', 'nhìn, đánh giá; cái nhìn, sự quan tâm, sự chú ý'),
('regarding', 'về, về việc, đối với'),
('region', 'vùng, miền'),
('regional', 'vùng, địa phương'),
('register', 'đăng ký, ghi vào sổ; sổ, sổ sách, máy ghi'),
('regret', 'đáng tiếc, hối tiếc; lòng thương tiếc, sự hối tiếc'),
('regular', 'thường xuyên, đều đặn'),
('regularly', 'đều đặn, thường xuyên'),
('regulation', 'sự điều chỉnh, điều lệ, quy tắc'),
('reject', 'không chấp nhận, loại bỏ, bác bỏ'),
('relate', 'kể lại, thuật lại; liên hệ, liên quan'),
('related', 'có liên quan, có quan hệ với ai, cái gì'),
('relation', 'mối quan hệ, sự liên quan, liên lạc'),
('relationship', 'mối quan hệ, mối liên lạc'),
('relative', 'có liên quan đến; người có họ, đại từ quan hệ'),
('relatively', 'có liên quan, có quan hệ'),
('relax', 'giải trí, nghỉ ngơi'),
('relaxed', 'thanh thản, thoải mái'),
('relaxing', 'làm giảm, bớt căng thẳng'),
('release', 'làm nhẹ, bớt, thả, phóng thích, phát hành; sự giải thoát, thoát'),
('relevant', 'thích hợp, có liên quan'),
('relief', 'sự giảm nhẹ, sự làm cho khuây khỏa; sự trợ cấo; sự đền bù'),
('religion', 'tôn giáo'),
('religious', 'tôn giáo'),
('rely on', 'tin vào, tin cậy, tin tưởng vào'),
('remain', 'còn lại, vẫn còn như cũ'),
('remaining', 'còn lại'),
('remains', 'đồ thừa, cái còn lại'),
('remark', 'sự nhận xét, phê bình, sự để ý, chú ý; nhận xét, phê bình, để ý, chú ý'),
('remarkable', 'đáng chú ý, đáng để ý; khác thường'),
('remarkably', 'đáng chú ý, đáng để ý; khác thường'),
('remember', 'nhớ, nhớ lại'),
('remind', 'nhắc nhở, gợi nhớ'),
('remote', 'xa, xa xôi, xa cách'),
('removal', 'viêc di chuyển, việc dọn nhà, dời đi'),
('remove', 'dời đi, di chuyển'),
('rent', 'sự thuê mướn; cho thuê, thuê'),
('rented', 'được thuê, được mướn'),
('repair', 'sửa chữa, chỉnh tu; sự sửa chữa, sự chỉnh tu'),
('repeat', 'nhắc lại, lặp lại'),
('repeated', 'được nhắc lại, được lặp lại'),
('repeatedly', 'lặp đi lặp lại nhiều lần'),
('replace', 'thay thế'),
('reply', 'sự trả lời, sự hồi âm; trả lời, hồi âm'),
('report', 'báo cáo, tường trình; bản báo cáo, bản tường trình'),
('represent', 'miêu tả, hình dung; đại diện, thay mặt'),
('representative', 'điều tiêu biểu, tượng trưng, mẫu; miêu tả, biểu hiện, đại diện, tượng trưng'),
('reproduce', 'tái sản xuất'),
('reputation', 'sự nổi tiếng, nổi danh'),
('request', 'lời thỉnh cầu, lời đề nghị, yêu cầu; thỉnh cầu, đề nghị, yêu cầu'),
('require', 'đòi hỏi, yêu cầu, quy định'),
('requirement', 'nhu cầu, sự đòi hỏi; luật lệ, thủ tục'),
('rescue', 'giải thoát, cứu nguy; sự giải thoát, sự cứu nguy'),
('research', 'sự nghiên cứu'),
('reservation', 'sự hạn chế, điều kiện hạn chế'),
('reserve', 'dự trữ, để dành, đặt trước, đăng ký trước; sự dự trữ, sự để dành, sự đặt trước, sự đăng ký trước'),
('resident', 'người sinh sống, trú ngụ, khách trọ; có nhà ở, cư trú, thường trú'),
('resist', 'chống lại, phản đổi, kháng cự'),
('resistance', 'sự chống lại, sự phản đối, sự kháng cự'),
('resolve', 'quyết định, kiên quyết'),
('resort', 'kế sách, phương kế'),
('resource', 'tài nguyên; kế sách, thủ đoạn'),
('respect', 'sự kính trọng, sự lễ phép; tôn trọng, kính trọng, khâm phục'),
('respond', 'hưởng ứng, phản ứng lại, trả lời'),
('response', 'sự trả lời, câu trả lời, sự hưởng ứng, sự đáp lại'),
('responsibility', 'trách nhiệm, sự chịu trách nhiệm'),
('responsible', 'chịu trách nhiệm về, chịu trách nhiệm trước ai, gì'),
('rest', 'sự nghỉ ngơi, lúc nghỉ; nghỉ, nghỉ ngơi'),
('restaurant', 'nhà hàng ăn, hiệu ăn'),
('restore', 'hoàn lại, trả lại; sửa chữa lại, phục hồi lại'),
('restrict', 'hạn chế, giới hạn'),
('restricted', 'bị hạn chế, có giới hạn; vùng cấm'),
('restriction', 'sự hạn chế, sự giới hạn'),
('result', 'kết quả; bởi, do.. mà ra, kết quả là...'),
('retain', 'giữ lại, nhớ được'),
('retire', 'rời bỏ, rút về; thôi, nghỉ việc, về hưu'),
('retired', 'ẩn dật, hẻo lánh, đã về hưu, đã nghỉ việc'),
('retirement', 'sự ẩn dật, nơi hẻo lánh, sự về hưu, sự nghỉ việc'),
('return', 'trở lại, trở về; sự trở lại, sự trở về'),
('reveal', 'bộc lộ, biểu lộ, tiết lộ; phát hiện, khám phá'),
('reverse', 'đảo, ngược lại; điều trái ngược, mặt trái'),
('review', 'sự xem lại, sự xét lại; làm lại, xem xét lại'),
('revise', 'đọc lại, xem lại, sửa lại, ôn lại'),
('revision', 'sự xem lại, sự đọc lại, sự sửa lại, sự ôn lại'),
('revolution', 'cuộc cách mạng'),
('reward', 'sự thưởng, phần thưởng; thưởng, thưởng công'),
('rhythm', 'nhịp điệu'),
('rice', 'gạo, thóc, cơm; cây lúa'),
('rich', 'giàu, giàu có'),
('rid', 'giải thoát'),
('ride', 'đi, cưỡi ; sự đi, đường đi'),
('rider', 'người cưỡi ngựa, người đi xe đạp'),
('ridiculous', 'buồn cười, lố bịch, lố lăng'),
('riding', 'môn thể thao cưỡi ngựa, sự đi xe'),
('right', 'thẳng, phải, tốt; ngay, đúng; điều thiện, điều phải, tốt, bên phải'),
('rightly', 'đúng, phải, có lý'),
('ring', 'chiếc nhẫn, đeo nhẫn cho ai'),
('rise', 'sự lên, sự tăng lương, thăng cấp; dậy, đứng lên, mọc , thành đạt'),
('risk', 'sự liều, mạo hiểm; liều'),
('rival', 'đối thủ, địch thủ; đối địch, cạnh tranh'),
('river', 'sông'),
('road', 'con đường, đường phố'),
('rob', 'cướp, lấy trộm'),
('rock', 'đá'),
('role', 'vai , vai trò'),
('roll', 'cuốn, cuộn, sự lăn tròn; lăn, cuốn, quấn, cuộn'),
('romantic', 'lãng mạn'),
('roof', 'mái nhà, nóc'),
('room', 'phòng, buồng'),
('root', 'gốc, rễ'),
('rope', 'dây cáp, dây thừng, xâu, chuỗi'),
('rough', 'gồ ghề, lởm chởm'),
('roughly', 'gồ ghề, lởm chởm'),
('round', 'tròn, vòng quanh, xung quanh'),
('rounded', 'bị làm thành tròn; phát triển đầy đủ'),
('route', 'đường đi, lộ trình, tuyến đường'),
('routine', 'thói thường, lệ thường, thủ tục; thường lệ, thông thường'),
('row name', 'hàng, dãy'),
('royal', 'vua, nữ hoàng, hoàng gia'),
('rub', 'cọ xát, xoa bóp, nghiền, tán'),
('rubber', 'cao su'),
('rubbish', 'vật vô giá trị, bỏ đi, rác rưởi'),
('rude', 'bất lịch sự, thô lỗ; thô sơ, đơn giản'),
('rudely', 'bất lịch sự, thô lỗ; thô sơ, đơn giản'),
('ruin', 'làm hỏng, làm đổ nát, làm phá sản; sự hỏng, sự đổ nát, sự phá sản'),
('ruined', 'bị hỏng, bị đổ nát, bị phá sản'),
('rule', 'quy tắc, điều lệ, luật lệ; cai trị, chỉ huy, điều khiển'),
('ruler', 'người cai trị, người trị vì; thước kẻ'),
('rumour', 'tin đồn, lời đồn'),
('run', 'chạy; sự chạy'),
('runner', 'người chạy'),
('running', 'sự chạy, cuộc chạy đua'),
('rural', 'nông thôn, vùng nông thôn'),
('rush', 'xông lên, lao vào, xô đẩy; sự xông lên, sự lao vào, sự xô đẩy'),
('sack', 'bào tải; đóng bao, bỏ vào bao'),
('sad', 'buồn, buồn bã'),
('sadly', 'một cách buồn bã, đáng buồn là, không may mà'),
('sadness', 'sự buồn rầu, sự buồn bã'),
('safe', 'an toàn, chắc chắn, đáng tin'),
('safely', 'an toàn, chắc chắn, đáng tin'),
('safety', 'sự an toàn, sự chắc chăn'),
('sail', 'đi tàu, thuyền, nhổ neo; buồm, cánh buồm, chuyến đi bằng thuyền buồm'),
('sailing', 'sự đi thuyền'),
('sailor', 'thủy thủ'),
('salad', 'sa lát ; rau sống'),
('salary', 'tiền lương'),
('sale', 'việc bán hàng'),
('salt', 'muối'),
('salty', 'chứ vị muối, có muối, mặn'),
('same', 'đều đều, đơn điệu; cũng như thế, vẫn cái đó'),
('sample', 'mẫu, hàng mẫu'),
('sand', 'cát'),
('satisfaction', 'sự làm cho thỏa mãn, toại nguyện; sự trả nợ, bồi thường'),
('satisfied', 'cảm thấy hài lòng, vừa ý, thoả mãn'),
('satisfy', 'làm thỏa mãn, hài lòng; trả , chuộc tội'),
('satisfying', 'đem lại sự thỏa mãn, làm thỏa mãn, làm vừa ý'),
('saturday', 'thứ 7'),
('sauce', 'nước xốt, nước chấm'),
('save', 'cứu, lưu'),
('saving', 'nói'),
('scale', 'vảy'),
('scare', 'làm kinh hãi, sợ hãi, dọa; sự sợ hãi, sự kinh hoàng'),
('scared', 'bị hoảng sợ, bị sợ hãi'),
('scene', 'cảnh, phong cảnh'),
('schedule', 'kế hoạch làm việc, bản liệt kê; lên thời khóa biểu, lên kế hoạch'),
('scheme', 'sự sắp xếp, sự phối hợp; kế hoạch thực hiện; lược đồ, sơ đồ'),
('school', 'đàn cá, bầy cá'),
('science', 'khoa học, khoa học tự nhiên'),
('scientific', 'khoa học, có tính khoa học'),
('scientist', 'nhà khoa học'),
('scissors', 'cái kéo'),
('score', 'điểm số, bản thắng, tỷ số; đạt được, thành công, cho điểm'),
('scratch', 'cào, làm xước da; sự cào, sự trầy xước da'),
('scream', 'gào thét, kêu lên; tiếng thét, tiếng kêu to'),
('screen', 'màn che, màn ảnh, màn hình; phim ảnh nói chung'),
('screw', 'đinh vít, đinh ốc; bắt vít, bắt ốc'),
('sea', 'biển'),
('seal', 'hải cẩu; săn hải cẩu'),
('search', 'sự tìm kiếm, sự thăm dò, sự điều tra; tìm kiếm, thăm dò, điều tra'),
('season', 'mùa'),
('seat', 'ghế, chỗ ngồi'),
('second', 'thứ hai, ở vị trí thứ 2, thứ nhì; người về nhì'),
('secondary', 'trung học, thứ yếu'),
('secret', 'bí mật; điều bí mật'),
('secretary', 'thư ký'),
('secretly', 'bí mật, riêng tư'),
('section', 'mục, phần'),
('sector', 'khu vực, lĩnh vực'),
('secure', 'chắc chắn, đảm bảo; bảo đảm, giữ an ninh'),
('security', 'sự an toàn, sự an ninh'),
('see', 'nhìn, nhìn thấy, quan sát'),
('seed', 'hạt, hạt giống'),
('seek', 'tìm, tìm kiếm, theo đuổi'),
('seem linking', 'chọn lựa, chọn lọc'),
('selection', 'sự lựa chọn, sự chọc lọc'),
('self', 'bản thân mình'),
('sell', 'bán'),
('senate', 'thượng nghi viện, ban giám hiệu'),
('senator', 'thượng nghị sĩ'),
('send', 'gửi, phái đi'),
('senior', 'nhiều tuổi hơn, dành cho trẻ em trên 11t; người lớn tuổi hơn, sinh viên năm cuối trường trung học, cao đẳng'),
('sense', 'giác quan, tri giác, cảm giác'),
('sensible', 'có óc xét đoán; hiểu, nhận biết được'),
('sensitive', 'dễ bị thương, dễ bị hỏng; dễ bị xúc phạm'),
('sentence', 'câu'),
('separate', 'khác nhau, riêng biệt; làm rời, tách ra, chia tay'),
('separated', 'ly thân'),
('separately', 'không cùng nhau, thành người riêng, vật riêng'),
('separation', 'sự chia cắt, phân ly, sự chia tay, ly thân'),
('september', 'tháng 9'),
('series', 'loạt, dãy, chuỗi'),
('serious', 'đứng đắn, nghiêm trang'),
('seriously', 'đứng đắn, nghiêm trang'),
('servant', 'người hầu, đầy tớ'),
('serve', 'phục vụ, phụng sự'),
('service', 'sự phục vụ, sự hầu hạ'),
('session', 'buổi họp, phiên họp, buổi, phiên'),
('set', 'bộ, bọn, đám, lũ; đặt để, bố trí'),
('set fire to', 'đốt cháy cái gì'),
('settle', 'giải quyết, dàn xếp, hòa giải, đặt, bố trí'),
('several', 'vài'),
('severe', 'khắt khe, gay gắt'),
('severely', 'khắt khe, gay gắt'),
('sew', 'may, khâu'),
('sewing', 'sự khâu, sự may vá'),
('sex', 'giới, giống'),
('sexual', 'giới tính, các vấn đề sinh lý'),
('sexually', 'giới tính, các vấn đề sinh lý'),
('shade', 'bóng, bóng tối'),
('shadow', 'bóng, bóng tối, bóng râm, bóng mát'),
('shake', 'rung, lắc, giũ; sự rung, sự lắc, sự giũ');
INSERT INTO `new_dic` (`word_taget`, `word_explain`) VALUES
('shall modal', 'dự đoán tương lai: sẽ'),
('shallow', 'nông, cạn'),
('shame', 'sự xấu hổ, thẹn thùng, sự ngượng'),
('shape', 'hình, hình dạng, hình thù'),
('shaped', 'có hình dáng được chỉ rõ'),
('share', 'đóng góp, tham gia, chia sẻ; phần đóng góp, phần tham gia, phần chia sẻ'),
('sharply', 'sắc, nhọn, bén'),
('shave', 'cạo'),
('she', 'nó, bà ấy, chị ấy, cô ấy...'),
('sheep', 'con cừu'),
('sheet', 'chăn, khăn trải giường; lá, tấm, phiến, tờ'),
('shelf', 'kệ, ngăn, giá'),
('shell', 'vỏ, mai; vẻ bề ngoài'),
('shelter', 'sự nương tựa, sự che chở, sự ẩn náu; che chở, bảo vệ'),
('shift', 'đổi chỗ, dời chỗ, chuyển, giao; sự thay đổi, sự luân phiên'),
('shine', 'chiếu sáng, tỏa sáng'),
('shiny', 'sáng chói, bóng'),
('ship', 'tàu, tàu thủy'),
('shirt', 'áo sơ mi'),
('shock', 'sự đụng chạm, va chạm, sự kích động, sự choáng; chạm mạnh, va mạnh, gây sốc'),
('shocked', 'bị kích động, bị va chạm, bị sốc'),
('shocking', 'gây ra căm phẫn, tồi tệ, gây kích động'),
('shoe', 'giày'),
('shoot', 'vụt qua, chạy qua, ném, phóng, bắn; đâm ra, trồi ra'),
('shooting', 'sự bắn, sự phóng đi'),
('shop', 'cửa hàng; đi mua hầng, đi chợ'),
('shopping', 'sự mua sắm'),
('short', 'ngắn, cụt'),
('shortly', 'trong thời gian ngắn, sớm'),
('shot', 'đạn, viên đạn'),
('should modal', 'nên'),
('shoulder', 'vai'),
('shout', 'hò hét, reo hò; sự la hét, sự hò reo'),
('show', 'biểu diễn, trưng bày; sự biểu diễn, sự bày tỏ'),
('shower', 'vòi hoa sen, sự tắm vòi hoa sen'),
('shut', 'đóng, khép, đậy; tính khép kín'),
('shy', 'nhút nhát, e thẹn'),
('sick', 'ốm, đau, bệnh'),
('side', 'mặt, mặt phẳng'),
('sideways', 'ngang, từ một bên; sang bên'),
('sight', 'cảnh đẹp; sự nhìn'),
('sign', 'dấu, dấu hiệu, kí hiệu; đánh dấu, viết ký hiệu'),
('signal', 'dấu hiệu, tín hiệu; ra hiệu, báo hiệu'),
('signature', 'chữ ký'),
('significant', 'nhiều ý nghĩa, quan trọng'),
('significantly', 'đáng kể'),
('silence', 'sự im lặng, sự yên tĩnh'),
('silent', 'im lặng, yên tĩnh'),
('silk', 'tơ , chỉ, lụa'),
('silly', 'ngớ ngẩn, ngu ngốc, khờ dại'),
('silver', 'bạc, đồng bạc; làm bằng bạc, trắng như bạc'),
('similar', 'giống như, tương tự như'),
('similarly', 'tương tự, giống nhau'),
('simple', 'đơn, đơn giản, dễ dàng'),
('simply', 'một cách dễ dàng, giản dị'),
('since', 'từ, từ khi; từ khi, từ lúc đó; từ đó, từ lúc ấy'),
('sincere', 'thật thà, thẳng thắng, chân thành'),
('sincerely', 'một cách chân thành'),
('sing', 'hát, ca hát'),
('singer', 'ca sĩ'),
('singing', 'sự hát, tiếng hát'),
('single', 'đơn, đơn độc, đơn lẻ'),
('sink', 'chìm, lún, đắm'),
('sir', 'xưng hô lịch sự ngài, ông'),
('sister', 'chị, em gái'),
('sit', 'ngồi'),
('sit down', 'ngồi xuống'),
('site', 'chỗ, vị trí'),
('situation', 'hoàn cảnh, địa thế, vị trí'),
('size', 'cỡ'),
('sized', 'đã được định cỡ'),
('skilful', 'tài giỏi, khéo tay'),
('skilfully', 'tài giỏi, khéo tay'),
('skill', 'kỹ năng, kỹ sảo'),
('skilled', 'có kỹ năng, có kỹ sảo, khẻo tay; có kinh nghiệm,, lành nghề'),
('skin', 'da, vỏ'),
('skirt', 'váy, đầm'),
('sky', 'trời, bầu trời'),
('sleep', 'ngủ; giấc ngủ'),
('sleeve', 'tay áo, ống tay'),
('slice', 'miếng, lát mỏng; cắt ra thành miếng mỏng, lát mỏng'),
('slide', 'trượtc, chuyển động nhẹ, lướt qua'),
('slight', 'mỏng manh, thon, gầy'),
('slightly', 'mảnh khảnh, mỏng manh, yếu ớt'),
('slip', 'trượt, tuột, trôi qua, chạy qua'),
('slope', 'dốc, đường dốc, độ dốc; nghiêng, dốc'),
('slow', 'chậm, chậm chạp'),
('slowly', 'một cách chậm chạp, chậm dần'),
('small', 'nhỏ, bé'),
('smart', 'mạnh, ác liệt'),
('smash', 'đập, vỡ tan thành mảnh; sự đập, vỡ tàn thành mảnh'),
('smell', 'ngửi; sự ngửi, khứu giác'),
('smile', 'cười, mỉm cười; nụ cười, vẻ tươi cười'),
('smoke', 'khói, hơi thuốc; hút thuốc, bốc khói, hơi'),
('smoking', 'sự hút thuốc'),
('smooth', 'nhẵn, trơn, mượt mà'),
('smoothly', 'một cách êm ả, trôi chảy'),
('snake', 'con rắn; người nham hiểm, xảo trá'),
('snow', 'tuyết; tuyết rơi'),
('so', 'như vậy, như thế; vì thế, vì vậy, vì thế cho nên'),
('so that', 'để, để cho, để mà'),
('soap', 'xà phòng'),
('social', 'có tính xã hội'),
('socially', 'có tính xã hội'),
('society', 'xã hội'),
('sock', 'tất ngăns, miếng lót giày'),
('soft', 'mềm, dẻo'),
('softly', 'một cách mềm dẻo'),
('software', 'phần mềm'),
('soil', 'đất trồng; vết bẩn'),
('soldier', 'lính, quân nhân'),
('solid', 'rắn; thể rắn, chất rắnh'),
('solution', 'sự giải quyết, giải pháp'),
('solve', 'giải, giải thích, giải quyết'),
('some', 'một it, một vài'),
('somebody', 'người nào đó'),
('somehow', 'không biết làm sao, bằng cách này hay cách khác'),
('something', 'một điều gì đó, một việc gì đó, một cái gì đó'),
('sometimes', 'thỉnh thoảng, đôi khi'),
('somewhat', 'đến mức độ nào đó, hơi, một chút'),
('somewhere', 'nơi nào đó. đâu đó'),
('son', 'con trai'),
('song', 'bài hát'),
('soon', 'sớm, chẳng bao lâu nữa'),
('sore', 'đau, nhức'),
('sorry', 'xin lỗi, lấy làm tiếc, lấy làm buồn'),
('sort', 'thứ, hạng loại; lựa chọn, sắp xếp, phân loại'),
('soul', 'tâm hồn, tâm trí, linh hồn'),
('sound', 'âm thanh; nghe'),
('soup', 'xúp, canh, cháo'),
('sour', 'chua, có vị giấm'),
('source', 'nguồn'),
('south', 'phương nam, hướng nam; ở phía nam; hướng về phía nam'),
('southern', 'thuộc phương nam'),
('space', 'khoảng trống, khoảng cách'),
('spare', 'thừa thãi, dự trữ, rộng rãi; đồ dự trữ, đồ dự phòng'),
('speak', 'nói'),
('speaker', 'người nói, người diễn thuyết'),
('special', 'đặc biệt, riêng biệt'),
('specialist', 'chuyên gia, chuyên viên'),
('specially', 'đặc biệt, riêng biệt'),
('specific', 'đặc trưng, riêng biệt'),
('specifically', 'đặc trưng, riêng biệt'),
('speech', 'sự nói, khả năng nói, lời nói, cách nói, bài nói'),
('speed', 'tốc độ, vận tốc'),
('spell', 'đánh vần; sự thu hút, sự quyến rũ, say mê'),
('spelling', 'sự viết chính tả'),
('spend', 'tiêu, xài'),
('spice', 'gia vị'),
('spicy', 'có gia vị'),
('spider', 'con nhện'),
('spin', 'quay, quay tròn'),
('spirit', 'tinh thần, tâm hồn, linh hồn'),
('spiritual', 'tinh thần, linh hồn'),
('spite', 'sự giận, sự hận thù;'),
('split', 'chẻ, tách, chia ra; sự chẻ, sự tách, sự chia ra'),
('spoil', 'cướp, cướp đọat'),
('spoken', 'nói theo 1 cách nào đó'),
('spoon', 'cái thìa'),
('sport', 'thể thao'),
('spot', 'dấu, đốm, vết'),
('spray', 'máy, ống, bình phụt, bơm, phun; bơm, phun, xịt'),
('spread', 'trải, căng ra, bày ra; truyền bá'),
('spring', 'mùa xuân'),
('square', 'vuông, vuông vắn; dạng hình vuông, hình vuông'),
('squeeze', 'ép, vắt, xiết; sự ép, sự vắt, sự xiết'),
('stable', 'ổn định, bình tĩnh, vững vàng; chuồng ngưa'),
('staff', 'gậy'),
('stage', 'tầng, bệ'),
('stair', 'bậc thang'),
('stamp', 'tem; dán tem'),
('stand', 'đứng, sự đứng'),
('stand up', 'đứng đậy'),
('standard', 'tiêu chuẩn, chuẩn, mãu; làm tiêu chuẩn, phù hợp với tiêu chuẩn'),
('star', 'ngôi sao, dán sao, trang trí hình sao, đánh dấu sao'),
('stare', 'nhìm chằm chằm; sự nhìn chằm chằm'),
('start', 'bắt đầu, khởi động; sự bắt đầu, sự khởi đầu, khởi hành'),
('state', 'nhà nước, quốc gia, chính quyền; nhà nước, có liên quan đến nhà nước; phát biểu, tuyên bố'),
('statement', 'sự bày tỏ, sự phát biểu; sự tuyên bố, sự trình bày'),
('station', 'trạm, điểm, đồn'),
('statue', 'tượng'),
('status', 'tình trạng'),
('stay', 'ở lại, lưu lại; sự ở lại, sự lưu lại'),
('steadily', 'vững chắc, vững vàng, kiên định'),
('steady', 'vững chắc, vững vàng, kiến định'),
('steal', 'ăn cắp, ăn trộm'),
('steam', 'hơi nước'),
('steel', 'thép, ngành thép'),
('steep', 'dốc, dốc đứng'),
('steeply', 'dốc, cheo leo'),
('steer', 'lái'),
('step', 'bước; bước, bước đi'),
('stick', 'đâm, thọc, chọc, cắm, dính; cái gậy, qua củi, cán'),
('stick out', 'đòi, đạt được cái gì'),
('sticky', 'dính, nhớt'),
('stiff', 'cứng, cứng rắn, kiên quyết'),
('stiffly', 'cứng, cứng rắn, kiên quyết'),
('still', 'đứng yên; vẫn, vẫn còn'),
('sting', 'châm, chích, đốt; ngòi, vòi ; sự châm, chích..'),
('stir', 'khuấy, đảo'),
('stock', 'kho sự trữ, hàng dự trữ, vốn'),
('stomach', 'dạ dày'),
('stone', 'đá'),
('stop', 'dừng, ngừng, nghỉ, thôi; sự dừng, sự ngừng, sự đỗ lại'),
('store', 'cửa hàng, kho hàng; tích trữ, cho vào kho'),
('storm', 'cơn giông, bão'),
('story', 'chuyện, câu chuyện'),
('stove', 'bếp lò, lò sưởi'),
('straight', 'thẳng, không cong'),
('strain', 'sự căng thẳng, sự căng'),
('strange', 'xa lạ, chưa quen'),
('strangely', 'lạ, xa lạ, chưa quen'),
('stranger', 'người lạ'),
('strategy', 'chiến lược'),
('stream', 'dòng suối'),
('street', 'phố, đườmg phố'),
('strength', 'sức mạnh, sức khỏe'),
('stress', 'sự căng thẳng; căng thẳng, ép, làm căng'),
('stressed', 'bị căng thẳng, bị ép, bị căng'),
('stretch', 'căng ra, duỗi ra, kéo dài ra'),
('strict', 'nghiêm khắc, chặt chẽ,, khắt khe'),
('strictly', 'một cách nghiêm khắc'),
('strike', 'đánh, đập, bãi công, đình công; cuộc bãi công, cuộc đình công'),
('striking', 'nổi bật, gây ấn tượng'),
('string', 'dây, sợi dây'),
('strip', 'cởi, lột ; sự cởi quần áo'),
('stripe', 'sọc, vằn, viền'),
('striped', 'có sọc, có vằn'),
('stroke', 'cú đánh, cú đòn; cái vuốt ve, sự vuốt ve; vuốt ve'),
('strong', 'khỏe, mạnh, bền, vững, chắc chắn'),
('strongly', 'khỏe, chắc chắn'),
('structure', 'kết cấu, cấu trúc'),
('struggle', 'đấu tranh; cuộc đấu tranh, cuộc chiến đấu'),
('student', 'sinh viên'),
('studio', 'xưởng phim, trường quay; phòng thu'),
('study', 'sự học tập, sự nghiên cứu; học tập, nghiên cứu'),
('stuff', 'chất liệu, chất'),
('stupid', 'ngu ngốc, ngu đần, ngớ ngẩn'),
('style', 'phong cách, kiểu, mẫu, loại'),
('subject', 'chủ đề, đề tài; chủ ngữ'),
('substance', 'chất liệu; bản chất; nội dung'),
('substantial', 'thực tế, đáng kể, quan trọng'),
('substantially', 'về thực chất, về căn bản'),
('substitute', 'người, vật thay thế; thay thế'),
('succeed', 'nối tiếp, kế tiếp; kế nghiệp, kế vị'),
('success', 'sự thành công,, sự thành đạt'),
('successful', 'thành công, thắng lợi, thành đạt'),
('successfully', 'thành công, thắng lợi, thành đạt'),
('such', 'như thế, như vậy, như là'),
('such as', 'đến nỗi, đến mức'),
('suck', 'bú, hút; hấp thụ, tiếp thu'),
('sudden', 'thình lình, đột ngột'),
('suddenly', 'thình lình, đột ngột'),
('suffer', 'chịu đựng, chịu thiệt hại, đau khổ'),
('suffering', 'sự đau đớn, sự đau khổ'),
('sufficient', 'đủ, thích đáng'),
('sufficiently', 'đủ, thích đáng'),
('sugar', 'đường'),
('suggest', 'đề nghị, đề xuất; gợi'),
('suggestion', 'sự đề nghị, sự đề xuất, sự khêu gợi'),
('suit', 'bộ com lê, trang phục; thích hợp, quen, hợp với'),
('suitable', 'hợp, phù hợp, thích hợp với'),
('suitcase', 'va li'),
('suited', 'hợp, phù hợp, thích hợp với'),
('sum', 'tổng, toàn bộ'),
('summary', 'bản tóm tắt'),
('summer', 'mùa hè'),
('sun', 'mặt trời'),
('sunday', 'chủ nhật'),
('superior', 'cao, chất lượng cao'),
('supermarket', 'siêu thị'),
('supply', 'sự cung cấp, nguồn cung cấp; cung cấp, đáp ứng, tiếp tế'),
('support', 'sự chống đỡ, sự ủng hộ; chống đỡ, ủng hộ'),
('supporter', 'vật chống đỡ; người cổ vũ, người ủng hộ'),
('suppose', 'cho rằng, tin rằng, nghĩ rằng'),
('sure', 'chắc chắn, xác thực'),
('surely', 'chắc chắn'),
('surface', 'mặt, bề mặt'),
('surname', 'họ'),
('surprise', 'sự ngạc nhiên, sự bất ngờ; làm ngạc nhiên, gây bất ngờ'),
('surprised', 'ngạc nhiên'),
('surprising', 'làm ngạc nhiên, làm bất ngờ'),
('surprisingly', 'làm ngạc nhiên, làm bất ngờ'),
('surround', 'vây quanh, bao quanh'),
('surrounding', 'sự vây quanh, sự bao quanh'),
('surroundings', 'vùng xung quanh, môi trường xung quanh'),
('survey', 'sự nhìn chung, sự khảo sát; quan sát, nhìn chung, khảo sát, nghiên cứu'),
('survive', 'sống lâu hơn, tiếp tục sống, sống sót'),
('suspect', 'nghi ngờ, hoài nghi; người khả nghi, người bị tình nghi'),
('suspicion', 'sự nghi ngờ, sự ngờ vực'),
('suspicious', 'có sự nghi ngờ, tỏ ra nghi ngờ, khả nghi'),
('swallow', 'nuốt, nuốt chửng'),
('swear', 'chửi rủa, nguyền rủa; thề, hứa'),
('swearing', 'lời thề, lời nguyền rủa, lời thề hứa'),
('sweat', 'mồ hôi; đổ mồ hôi'),
('sweater', 'người ra mồ hôi,, kẻ bóc lột lao động'),
('sweep', 'quét'),
('sweet', 'ngọt, có vị ngọt; sự ngọt bùi, đồ ngọt'),
('swell', 'phồng, sưng lên'),
('swelling', 'sự sưng lên, sự phồng ra'),
('swim', 'bơi lội'),
('swimming', 'sự bơi lội'),
('swimming pool', 'bể nước'),
('swing', 'sự đu đưa, lúc lắc; đánh đu, đu đưa, lúc lắc'),
('switch', 'công tắc, roi; tắt, bật, đánh bằng gậy, roi'),
('switch off', 'ngắt điện'),
('switch on', 'bật điện'),
('swollen', 'sưng phồng, phình căng'),
('swollen swell', 'phồng lên, sưng lên'),
('symbol', 'biểu tượng, ký hiệu'),
('sympathetic', 'đồng cảm, đáng mến, dễ thương'),
('sympathy', 'sự đồng cảm, sự đồng ý'),
('system', 'hệ thống, chế độ'),
('table', 'cái bàn'),
('tablet', 'tấm, bản, thẻ phiến'),
('tackle', 'giải quyết, khắc phục, bàn thảo; đồ dùng, dụng cụ'),
('tail', 'đuôi, đoạn cuối'),
('take', 'sự cầm nắm, sự lấy'),
('take over', 'chở, chuyển cái gì; tiếp quản, kế tục cái gì'),
('take advantage of', 'lợi dụng'),
('take notice of', 'chú ý'),
('take place', 'xảy ra, được cử hành, được tổ chức'),
('take sth off', 'cởi, bỏ cái gì, lấy đi cái gì'),
('talk', 'nói chuyện, trò chuyện; cuộc trò chuyện, cuộc thảo luận'),
('tall', 'cao'),
('tank', 'thùng, két, bể'),
('tap', 'mở vòi, đóng vồi; vòi, khóa'),
('tape', 'băng, băng ghi âm; dải, dây'),
('target', 'bia, mục tiêu, đích'),
('task', 'nhiệm vụ, nghĩa vụ, bài tập, công tác, công việc'),
('taste', 'vị, vị giác; nếm'),
('tax', 'thuế; đánh thuế'),
('taxi', 'xe tắc xi'),
('tea', 'cây chè, trà, chè'),
('teach', 'dạy'),
('teacher', 'giáo viên'),
('teaching', 'sự dạy, công việc dạy học'),
('team', 'đội, nhóm'),
('tear', 'xé, làm rắch; chỗ rách, miếng xe; nước mắt'),
('technical', 'kỹ thuật, chuyên môn'),
('technique', 'kỹ sảo, kỹ thuật, phương pháp kỹ thuật'),
('technology', 'kỹ thuật học, công nghệ học'),
('telephone', 'máy điện thoại, gọi điện thoại'),
('television', 'vô tuyến truyền hình'),
('tell', 'nói, nói với'),
('temperature', 'nhiệt độ'),
('temporarily', 'tạm'),
('temporary', 'tạm thời, nhất thời'),
('tend', 'trông nom, chăm sóc, giữ gìn, hầu hạ'),
('tendency', 'xu hướng, chiều hướng, khuynh hướng'),
('tension', 'sự căng, độ căng, tình trạng căng'),
('tent', 'lều, rạp'),
('term', 'giới hạn, kỳ hạn, khóa, kỳ học'),
('terrible', 'khủng khiếp, ghê sợ'),
('terribly', 'tồi tệ, không chịu nổi'),
('test', 'bài kiểm tra, sự thử nghiệm, xét nghiệm; kiểm tra, xét nghiệm, thử nghiệm'),
('text', 'nguyên văn, bản văn, chủ đề, đề tì'),
('than', 'hơn'),
('thank', 'cám ơn'),
('thank you', 'cảm ơn bạn'),
('thanks', 'sự cảm ơn, lời cảm ơn'),
('that', 'người ấy, đó, vật ấy, đó; rằng, là'),
('the definite article', 'cái, con, người, ấy này....'),
('the rest', 'vật, cái còn lại, những người, cái khác'),
('theatre', 'rạp hát, nhà hát'),
('their', 'của chúng, của chúng nó, của họ'),
('theirs', 'của chúng, của chúng nó, của họ'),
('them', 'chúng, chúng nó, họ'),
('theme', 'đề tài, chủ đề'),
('themselves', 'tự chúng, tự họ, tự'),
('then', 'khi đó, lúc đó, tiếp đó'),
('theory', 'lý thuyết, học thuyết'),
('there', 'ở nơi đó, tại nơi đó'),
('therefore', 'bởi vậy, cho nên, vì thế'),
('they', 'chúng, chúng nó, họ; những cái ấy'),
('thick', 'dày; đậm'),
('thickly', 'dày; dày đặc; thành lớp dày'),
('thickness', 'tính chất dày, độ dày, bề dày'),
('thief', 'kẻ trộm, kẻ cắp'),
('thin', 'mỏng, mảnh'),
('thing', 'cái, đồ, vật'),
('think', 'nghĩ, suy nghĩ'),
('thinking', 'sự suy nghĩ, ý nghĩ'),
('thirsty', 'khát, cảm thấy khát'),
('this', 'cái này, điều này, việc này'),
('thorough', 'cẩn thận, kỹ lưỡng'),
('thoroughly', 'kỹ lưỡng, thấu đáo, triệt để'),
('though', 'dù, dù cho, mặc dù; mặc dù, tuy nhiên, tuy vậy'),
('thought', 'sự suy nghĩ, khả năng suy nghĩ; ý nghĩ, tư tưởng, tư duy'),
('thread', 'chỉ, sợi chỉ, sợi dây'),
('threat', 'sự đe dọa, lời đe dọa'),
('threaten', 'dọa, đe dọa'),
('threatening', 'sự đe dọa, sự hăm dọa'),
('throat', 'cổ, cổ họng'),
('through', 'qua, xuyên qua'),
('throughout', 'khắp, suốt'),
('throw', 'ném, vứt, quăng'),
('thumb', 'ngón tay cái'),
('thursday', 'thứ 5'),
('thus', 'như vậy, như thế, do đó'),
('ticket', 'vé'),
('tidy', 'sạch sẽ, ngăn nắp, gọn gàng; làm cho sạch sẽ, gọn gàng, ngăn nắp'),
('tie', 'buộc, cột, trói; dây buộc, daay trói, dây giày'),
('tie sth up', 'có quan hệ mật thiết, gắn chặt'),
('tight', 'kín, chặt, chật'),
('tightly', 'chặc chẽ, sít sao'),
('till until', 'cho đến khi, tới lúc mà'),
('time', 'thời gian, thì giờ'),
('timetable', 'kế hoạch làm việc, thời gian biểu'),
('tin', 'thiếc'),
('tiny', 'rất nhỏ, nhỏ xíu'),
('tip', 'đầu, mút, đỉnh, chóp; bịt đầu, lắp đầu vào'),
('tire', 'làm mệt mỏi, trở nên mệt nhọc; lốp, vỏ xe'),
('tired', 'mệt, muốn ngủ, nhàm chán'),
('tiring', 'sự mệt mỏi, sự mệt nhọc'),
('title', 'đầu đề, tiêu đề; tước vị, tư cách'),
('to', 'theo hướng, tới'),
('today', 'vào ngày này; hôm nay, ngày nay'),
('toe', 'ngón chân'),
('together', 'cùng nhau, cùng với'),
('toilet', 'nhà vệ sinh; sự trang điểm'),
('tomato', 'cà chua'),
('tomorrow', 'vào ngày mai; ngày mai'),
('ton', 'tấn'),
('tone', 'tiếng, giọng'),
('tongue', 'lưỡi'),
('tonight', 'vào đêm nay, vào tối nay; đêm nay, tối nay'),
('tonne', 'tấn'),
('too', 'cũng'),
('tool', 'dụng cụ, đồ dùng'),
('tooth', 'răng'),
('top', 'chóp, đỉnh; đứng đầu, trên hết'),
('topic', 'đề tài, chủ đề'),
('total', 'tổng cộng, toàn bộ; tổng số, toàn bộ số lượng'),
('totally', 'hoàn toàn'),
('touch', 'sờ, mó, tiếp xúc; sự sờ, sự mó, sự tiếp xúc'),
('tough', 'chắc, bền, dai'),
('tour', 'cuộc đo du lịch, cuộc đi dạo, chuyến du lịch; đi du lịch'),
('tourist', 'khách du lịch'),
('towards', 'theo hướng, về hướng'),
('towel', 'khăn tắm, khăn lau'),
('tower', 'tháp'),
('town', 'thị trấn, thị xã, thành phố nhỏ'),
('toy', 'đồ chơi, đồ trang trí; thể loại đồ chơi'),
('trace', 'phát hiện, tìm thấy, vạch, chỉ ra, phác họa; dấu, vết, một chút'),
('track', 'phần của đĩa; đường mòn, đường đua'),
('trade', 'thương mại, buôn bán; buôn bán, trao đổi'),
('trading', 'sự kinh doanh, việc mua bán'),
('tradition', 'truyền thống'),
('traditional', 'theo truyền thống, theo lối cổ'),
('traditionally', 'truyền thống, là truyền thống'),
('traffic', 'sự đi lại, sự giao thông, sự chuyển động'),
('train', 'xe lửa, tàu hỏa; dạy, rèn luyện, đào tạo'),
('training', 'sự dạy dỗ, sự huấn luyện, sự đào tạo'),
('transfer', 'dời, di chuyển; sự di chuyển, sự dời chỗ'),
('transform', 'thay đổi, biến đổi'),
('translate', 'dịch, biên dịch, phiên dịch'),
('translation', 'sự dịch'),
('transparent', 'trong suốt; dễ hiểu, sáng sủa'),
('transport', 'sự vận chuyển, sự vận tải; phương tiện đi lại'),
('trap', 'đồ đạc, hành lý; bẫy, cạm bãy; bẫy, giữ, chặn lại'),
('travel', 'đi lại, đi du lịch, di chuyển; sự đi, những chuyến đi'),
('traveller', 'người đi, lữ khách'),
('treat', 'đối xử, đối đãi, cư xử'),
('treatment', 'sự đối xử, sự cư xử'),
('tree', 'cây'),
('trend', 'phương hướng, xu hướng, chiều hướng'),
('trial', 'sự thử nghiệm, cuộc thử nghiệm'),
('triangle', 'hình tam giác'),
('trick', 'mưu mẹo, thủ đoạn, trò lừa gatj; lừa, lừa gạt'),
('trip', 'cuộc dạo chơi, cuộc du ngoạn; đi dạo, du ngoạn'),
('tropical', 'nhiệt đới'),
('trouble', 'điều lo lắng, điều muộn phiền'),
('trousers', 'quần'),
('truck', 'rau quả tươi'),
('true', 'đúng, thật'),
('truly', 'đúng sự thật, đích thực, thực sự'),
('trust', 'niềm tin, sự phó thác; tin, tin cậy, phó thác'),
('truth', 'sự thật'),
('try', 'thử, cố gắng'),
('tube', 'ống, tuýp'),
('tuesday', 'thứ 3'),
('tune', 'điệu, giai điệu; lên dây, so dây'),
('tunnel', 'đường hầm, hang'),
('turn', 'quay, xoay, vặn; sự quay, vòng quay'),
('tv television', 'vô tuyến truyền hình'),
('twice', 'hai lần'),
('twin', 'sinh đôi, tạo thành cặp; cặp song sinh'),
('twist', 'xoắn, cuộn, quắn; sự xoắn, vòng xoắn'),
('twisted', 'được xoắn, được cuộn'),
('type', 'loại, kiểu, mẫu; phân loại, xếp loại'),
('typical', 'tiêu biểu, điển hình, đặc trưng'),
('typically', 'điển hình, tiêu biểu'),
('tyre', 'lốp, vỏ xe'),
('ugly', 'xấu xí, xấu xa'),
('ultimate', 'cuối cùng, sau cùng'),
('ultimately', 'cuối cùng, sau cùng'),
('umbrella', 'ô, dù'),
('unable', 'không có năng lực, không có tài'),
('unable able', 'không thể, không có khẳ năng'),
('unacceptable', 'không thể chấp nhận, không tán thành, không tha thứ; không chịu nổi'),
('unacceptable acceptable', 'không thể chấp nhận'),
('uncertain', 'thiếu chính xác, không chắc chắn'),
('uncertain certain', 'không chắc chắn, khôn biết rõ ràng'),
('uncle', 'chú, bác'),
('uncomfortable', 'bất tiện, khó chịu, không thoải mái'),
('uncomfortable comfortable', 'bất tiện, không tiện lợi'),
('unconscious', 'bất tỉnh, không có ý thức, không biết rõ'),
('unconscious conscious', 'bất tỉnh, ngất đi'),
('uncontrolled', 'không bị điều khiển, không bị kiểm tra, không bị hạn'),
('uncontrolled control', 'không bị kiềm chế, không bị kiểm tra'),
('under', 'dưới, ở dưới; ở phía dưới, về phía dưới'),
('underground', 'dưới mặt đất, ngầm dưới đất; ngầm'),
('underneath', 'dưới, bên dưới'),
('understand', 'hiểu, nhận thức'),
('understanding', 'trí tuệ, sự hiểu biết'),
('underwater', 'ở dưới mặt nước, dưới mặt nước'),
('underwear', 'quần lót'),
('undo', 'tháo, gỡ; xóa bỏ, hủy bỏ'),
('undo do', 'tháo, gỡ, xóa, hủy bỏ'),
('unemployed', 'thất nghiệp; không dùng, không sử dụng được'),
('unemployed employ', 'không dùng, thất nghiệp'),
('unemployment', 'sự thất nghiệp, nạn thất nghiệp'),
('unemployment employment', 'sự thất nghiệp, tình trạng thất nghiệp'),
('unexpected', 'bất ngờ, gây ngạc nhiên'),
('unexpected, unexpectedly', 'bất ngờ, đột ngột, gây ngạc nhiên'),
('unexpectedly', 'bất ngờ, gây ngạc nhiên'),
('unfair', 'gian lận, không công bằng; bất lợi'),
('unfairly', 'gian lận, không công bằng; bất lợi'),
('forward', 'ở phía trước, tiến về phía trước'),
('unfortunate', 'không may, rủi ro, bất hạnh'),
('unfortunately', 'một cách đáng tiếc, một cách không may'),
('unfriendly', 'không thân thiện, không có thiện cảm'),
('freeze', 'sự đông lạnh, sự giá lạnh; làm đông, làm đóng băng'),
('unfair, unfairly fair', 'không đúng, không công bằng, gian lận'),
('unfriendly friendly', 'đối địch, không thân thiện'),
('unhappiness', 'nỗi buồn, sự bất hạnh'),
('unhappiness happiness', 'sự buồn, nỗi buồn'),
('unhappy', 'buồn rầu, khốn khổ'),
('uniform', 'đồng phục; đều, giống nhau, đồng dạng'),
('unimportant', 'khônh quan trọng, không trọng đại'),
('union', 'liên hiệp, sự đoàn kết, sự hiệp nhất'),
('unique', 'độc nhất vô nhị'),
('unit', 'liên kết, hợp nhất, hợp lại, kết thân'),
('united', 'liên minh, đoàn kết, chung, thống nhất'),
('universe', 'vũ trụ'),
('university', 'trường đại học'),
('unkind', 'độc ác, tàn nhẫn'),
('kilometre', 'kilômet'),
('sharp', 'sắc, nhọn, bén'),
('unknown', 'không biết'),
('unless', 'trừ phi, trừ khi, nếu không'),
('unlike', 'khác, không giống'),
('unlike like', 'không giống, khác'),
('unlikely', 'không thể xảy ra, không chắc xảy ra'),
('unlikely likely', 'không có thể xảy ra, không chắc chắn; không có thực'),
('unload', 'cất gánh nặng, dỡ hàng'),
('unload load', 'tháo, dỡ'),
('unlucky', 'không gặp may, bất hạnh'),
('unlucky lucky', 'không gặp may, không may mắn'),
('unreasonable', 'vô lý'),
('unsuccessful', 'không thành công, thất bại'),
('unusual', 'hiếm, khác thường, đáng chú ý'),
('unusually', 'cực kỳ, khác thường'),
('unwilling', 'không sẵn lòng, miễn cưỡng'),
('unwilling, unwillingly willing', 'không muốn, không có ý định'),
('unwillingly', 'không sẵn lòng, miễn cưỡng'),
('up', 'ở trên, lên trên, lên'),
('upon', 'trên, ở trên'),
('upper', 'cao hơn'),
('upset', 'làm đổ, đánh đổ'),
('upsetting', 'tính đánh đổ, làm đổ'),
('upside down', 'lộn ngược'),
('upstairs', 'ở tên gác, cư ngụ ở tầng gác; tầng trên, gác'),
('upward', 'lên, hướng lên, đi lên'),
('urban', 'thành phố, khu vực'),
('urge', 'thúc, giục, giục giã; sự thúc đẩy, sự thôi thúc'),
('urgent', 'gấp, khẩn cấp'),
('us', 'chúng tôi, chúng ta; tôi và anh'),
('use', 'sử dụng, dùng; sự dùng, sự sử dụng'),
('used', 'đã dùng, đã sử dụng'),
('used to modal', 'đã quen dùng'),
('used to sth/to doing sth', 'sử dụng cái gì, sử dụng để làm cái gì'),
('useful', 'hữu ích, giúp ích'),
('useless', 'vô ích, vô dụng'),
('user', 'người dùng, người sử dụng'),
('usual', 'thông thường, thường dùng'),
('usually', 'thường thường'),
('vacation', 'kỳ nghỉ hè, kỳ nghỉ lễ; ngày nghỉ, ngày lễ'),
('valid', 'chắc chắn, hiệu quả, hợp lý'),
('valley', 'thung lũng'),
('valuable', 'có giá trị lớn, đáng giá'),
('value', 'giá trị, ước tính, định giá'),
('van', 'tiền đội, quân tiên phong; xe tải'),
('variation', 'sự biến đổi, sự thay đổi mức độ, sự khác nhau'),
('varied', 'thuộc nhiều loại khác nhau, những vẻ đa dạng'),
('variety', 'sự đa dạng, trạng thái khác nhau'),
('various', 'khác nhau, thuộc về nhiều loại'),
('vary', 'thay đổi, làm cho khác nhau, biến đổi'),
('vast', 'rộng lớn, mênh mông'),
('vegetable', 'rau, thực vật'),
('vehicle', 'xe cộ'),
('venture', 'sự án kinh doanh, công việc kinh doanh; liều, mạo hiểm, cả gan'),
('version', 'bản dịch sang một ngôn ngữ khác'),
('vertical', 'thẳng đứng, đứng'),
('very', 'rất, lắm'),
('via', 'qua, theo đường'),
('victim', 'nạn nhân'),
('victory', 'chiến thắng'),
('video', 'video'),
('view', 'sự nhìn, tầm nhìn; nhìn thấy, xem, quan sát'),
('village', 'làng, xã'),
('violence', 'sự ác liệt, sự dữ dội; bạo lực'),
('violent', 'mãnh liệt, mạnh mẽ, hung dữ'),
('violently', 'mãnh liệt, dữ dội'),
('virtually', 'thực sự, hầu như, gần như'),
('virus', 'vi rút'),
('visible', 'hữu hình, thấy được'),
('vision', 'sự nhìn, thị lực'),
('visit', 'đi thăm hỏi, đến chơi, tham quan; sự đi thăm, sự thăm viếng'),
('visitor', 'khách, du khách'),
('vital', 'sự sống, cần cho sự sống'),
('vocabulary', 'từ vựng'),
('voice', 'tiếng, giọng nói'),
('volume', 'thế tích, quyển, tập'),
('vote', 'sự bỏ phiếu, sự bầu cử; bỏ phiếu, bầu cử'),
('wage', 'tiền lương, tiền công'),
('waist', 'eo, chỗ thắt lưng'),
('wait', 'chờ đợi'),
('waiter, waitress', 'người hầu bàn, người đợi, người trông chờ'),
('wake', 'thức dậy, tỉnh thức'),
('walk', 'đi, đi bộ; sự đi bộ, sự đi dạo'),
('walking', 'sự đi, sự đi bộ'),
('wall', 'tường, vách'),
('wallet', 'cái ví'),
('wander', 'đi lang thang; sự đi lang thang'),
('want', 'muốn'),
('war', 'chiến tranh'),
('warm', 'ấm, ấm áp; làm cho nóng, hâm nóng'),
('warmth', 'trạng thái ấm, sự ấm áp; hơi ấm'),
('warn', 'báo cho biết, cảnh báo'),
('warning', 'sự báo trước, lời cảnh báo'),
('wash', 'rửa, giặt'),
('washing', 'sự tắm rửa, sự giặt'),
('waste', 'lãng phí, uổng phí; vùng hoang vu, sa mạc; bỏ hoang'),
('watch', 'nhìn, theo dõi, quan sát; sự canh gác, sự canh phòng'),
('water', 'nước'),
('wave', 'sóng, gợn nước; gợn sóng, uốn thành sóng'),
('way', 'đường, đường đi'),
('we', 'chúng tôi, chúng ta'),
('weak', 'yếu, yếu ớt'),
('weakness', 'tình trạng yếu đuối, yếu ớt'),
('wealth', 'sự giàu có, sự giàu sang'),
('weapon', 'vũ khí'),
('wear', 'mặc, mang, đeo'),
('weather', 'thời tiết'),
('web', 'mạng, lưới'),
('wedding', 'lễ cưới, hôn lễ'),
('week', 'tuần, tuần lễ'),
('weekend', 'cuối tuần'),
('weekly', 'mỗi tuần một lần, hàng tuần'),
('weigh', 'cân, cân nặng'),
('weight', 'trọng lượng'),
('welcome', 'chào mừng, hoan nghênh'),
('well', 'tốt, giỏi; ôi, may quá!'),
('well known', 'nổi tiếng, được nhiều người biết đến'),
('live', 'sống'),
('march', 'diễu hành, hành quân; cuộc hành quân, cuộc diễu hành'),
('miss', 'cô gái, thiếu nữ'),
('mum', 'mẹ'),
('unnecessary', 'không cần thiết, không mong muốn'),
('each other', 'nhau, lẫn nhau'),
('penny', 'số tiền'),
('unhappy happy', 'buồn rầu, khổ sở'),
('unimportant important', 'không quan trọng'),
('unkind kind', 'không tử tế, không tốt'),
('unknown know', 'không biết, không được nhận ra'),
('unnecessary necessary', 'không cần thiết, không mong muốn'),
('unpleasant', 'không dễ chịu, khó chịu, khó ưa'),
('pint', 'panh'),
('unpleasant pleasant', 'không dễ chịu, khó chịu'),
('unreasonable reasonable', 'vô lý, vượt quá giới hạn của cái hợp lý'),
('unsteady', 'không chắc, không ổn định'),
('unsteady steady', 'không đúng mực, không vững, không chắc'),
('unsuccessful successful', 'không thành công, không thành đạt'),
('untidy', 'không gọn gàng, không ngăn nắp, lộn xộn'),
('untidy tidy', 'không gọn gàng, không ngăn nắp, lộn xộn'),
('until', 'trước khi, cho đến khi'),
('unusual, unusually usual', 'hiếm, khác thường'),
('wednesday', 'thứ 4'),
('west', 'phía tây, theo phía tây, về hướng tây'),
('western', 'về phía tây, của phía tây'),
('wet', 'ướt, ẩm ướt'),
('what', 'gì, thế nào'),
('whatever', 'bất cứ thứ gì, bất kể thứ gì'),
('wheel', 'bánh xe'),
('when', 'khi, lúc, vào lúc nào'),
('whenever', 'bất cứ lúc nào, lúc nào'),
('where', 'đâu, ở đâu; nơi mà'),
('whereas', 'nhưng ngược lại, trong khi'),
('wherever', 'ở bất cứ nơi nào, ở bất cứ nơi đâu'),
('whether', 'có..không; có... chăng; không biết có.. không'),
('which', 'nào, bất cứ.. nào; ấy, đó'),
('while', 'trong lúc, trong khi; lúc, chốc, lát'),
('whilst', 'trong lúc, trong khi'),
('whisper', 'nói thì thầm, xì xào; tiếng nói thì thầm, tiếng xì xào'),
('whistle', 'sự huýt sáo, sự thổi còi; huýt sáo, thổi còi'),
('white', 'trắng; màu trắng'),
('who', 'ai, người nào, kẻ nào, người như thế nàow'),
('whole', 'bình an vô sự, không suy suyển, không hư hỏng; toàn bộ, tất cả, toàn thể'),
('whom', 'ai, người nào; người mà'),
('whose', 'của ai'),
('why', 'tại sao, vì sao'),
('wide', 'rộng, rộng lớn'),
('widely', 'nhiều, xa; rộng rãi'),
('width', 'tính chất rộng, bề rộng'),
('wife', 'vợ'),
('wild', 'dại, hoang'),
('wildly', 'dại, hoang'),
('will modal', 'sẽ; ý chí, ý định'),
('willing', 'bằng lòng, vui lòng, muốn'),
('willingly', 'sẵn lòng, tự nguyện'),
('willingness', 'sự bằng lòng, sự vui lòng'),
('win', 'chiếm, đọat, thu được'),
('wind', 'quấn lại, cuộn lại'),
('wind sth up', 'lên dây, quấn, giải quyết'),
('window', 'cửa sổ'),
('wine', 'rượu, đồ uống'),
('wing', 'cánh, sự bay, sự cất cánh'),
('winner', 'người thắng cuộc'),
('winning', 'đang dành thắng lợi, thắng cuộc'),
('wire', 'dây'),
('wise', 'khôn ngoan, sáng suốt, thông thái'),
('wish', 'ước, mong muốn; sự mong ước, lòng mong muốn'),
('with', 'với, cùng'),
('withdraw', 'rút, rút khỏi, rút lui'),
('within', 'trong vong thời gian, trong khoảng thời gian'),
('without', 'không, không có'),
('witness', 'sự làm chứng, bằng chứng; chứng kiến, làm chứng'),
('woman', 'đàn bà, phụ nữ'),
('wonder', 'ngạc nhiên, lấy làm lạ, kinh ngạc'),
('wonderful', 'phi thường, khác thường, kỳ diệu, tuyệt vời'),
('wood', 'gỗ'),
('wooden', 'làm bằng gỗ'),
('wool', 'len'),
('word', 'từ'),
('work', 'làm việc, sự làm việc'),
('worker', 'người lao động'),
('working', 'sự làm, sự làm việc'),
('world', 'thế giới'),
('worried', 'bồn chồn, lo nghĩ, tỏ ra lo lắng'),
('worry', 'lo lắng, suy nghĩ; sự lo lắng, suy nghĩ'),
('worrying', 'gấy lo lắng, gây lo nghĩ'),
('worship', 'sự tôn thờ, sự tôn sùng; thờ, thờ phụng, tôn thờ'),
('worth', 'đáng giá, có giá trị'),
('wound', 'vết thương, thương tích; làm bị thường, gây thương tích'),
('wounded', 'bị thương'),
('wrap', 'gói, bọc, quấn'),
('wrapping', 'vật bao bọc, vật quấn quanh'),
('wrist', 'cổ tay'),
('write', 'viết'),
('writer', 'người viết'),
('writing', 'sự viết'),
('written', 'viết ra, được thảo ra'),
('wrong', 'sai'),
('wrongly', 'một cách bất công, không đúng'),
('yard', 'lat, thước anh'),
('yawn', 'há miệng; cử chỉ ngáp'),
('yeah exclamation', 'vâng, ừ'),
('year', 'năm'),
('yellow', 'vàng; màu vàng'),
('yes', 'vâng, phải, có chứ'),
('yesterday', 'hôm qua'),
('yet', 'còn, hãy cỏn, còn nữa; như mà, xong, tuy thế, tuy nhiên'),
('you', 'bạn'),
('young', 'trẻ, trẻ tuổi, thanh niên'),
('your', 'của bạn'),
('yours', 'cái của bạn'),
('yours sincerely', 'bạn chân thành của anh, chị..'),
('transport', 'chuyên chở, vận tải'),
('wind', 'gió'),
('winter', 'mùa đông'),
('yourself', 'tự anh, tự chị, chính anh, chính mày, tự mày, tự mình'),
('youth', 'tuổi trẻ, tuổi xuân, tuổi thanh niên, tuổi niên thiếu'),
('zero number', 'số không'),
('zone', 'khu vực, miền, vùng'),
('a bit', 'một chút, một tí');
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 |
f4b94bf374f1a4925dca0bd29a61847cb43bc196 | SQL | peterlil/sql-tools | /get-server-info/backup/autogrowth.sql | UTF-8 | 912 | 3.671875 | 4 | [] | no_license | SELECT
CASE
WHEN is_percent_growth = 1 THEN
'Warning: Growth is configured as a percentage.'
ELSE
CASE
WHEN sysmsf.type = 0 THEN
CASE
WHEN ((growth * 100) / size) < 10 THEN
'Warning: Data file growth can be too small. (1/8 of file)'
ELSE
'Information: Growth seems ok.'
END
ELSE
CASE
WHEN ((growth * 8) / 1024) < 100 THEN
'Warning: Log file growth can be too small.'
END
END
END AS Comment,
dbname = sysdbs.name,
filename = sysmsf.name,
[Size (MB)] = size * 8 / 1024,
[Max size(MB)] = CAST(max_size AS BIGINT) * 8 / 1024,
[growth (MB or %)] =
CASE
WHEN is_percent_growth = 1 THEN growth
ELSE growth * 8 / 1024
END,
is_percent_growth
FROM sys.master_files sysmsf
INNER JOIN sys.databases sysdbs ON sysmsf.database_id = sysdbs.database_id
WHERE sysdbs.name NOT IN ('master', 'tempdb', 'model', 'msdb')
| true |
7f81a2d86b5981cf91193d6c2cd189551edd6a77 | SQL | phanijavvadi/TEST | /migration_queries/10-Feb-2018/add_profile_pic_column.sql | UTF-8 | 260 | 3.21875 | 3 | [] | no_license | ALTER TABLE cm_org_patients ADD COLUMN "profilePic" uuid;
ALTER TABLE cm_org_patients
ADD CONSTRAINT "cm_org_patients_profilePic_fkey" FOREIGN KEY ("profilePic")
REFERENCES cm_attachments (id) MATCH SIMPLE
ON UPDATE CASCADE ON DELETE NO ACTION;
| true |
88a2f5f9abafa2a4bb45dfd7306e4b7c20734255 | SQL | rlawjddbs/query | /pl1107/function_get_age.sql | UHC | 623 | 3.84375 | 4 | [] | no_license | -- Էµ ֹιȣ ̸ ϴ Լ
-- 880101-1234567
-- - ¾ + 1
create or replace function get_age(ssn char)
return number
is
age number := 0;
b_year varchar2(4);
flag char(1);
begin
if check_ssn(ssn) = 'success' then
-- 19 20 Ǵ
flag := substr(ssn, 8, 1);
if flag in(1,2,5,6) then
b_year := '19'||substr(ssn, 1, 2);
elsif flag in (3, 4, 7, 8) then
b_year := '20'||substr(ssn, 1, 2);
else
b_year := '18'||substr(ssn, 1, 2);
end if;
age := to_char(sysdate,'yyyy') - b_year + 1;
end if;
return age;
end;
/
| true |
d44a3d1f67c1dbfd5e3f6ab028e2c3b406a21cb9 | SQL | SamilAlp/flowerpower | /statements.sql | UTF-8 | 2,462 | 3.421875 | 3 | [] | no_license | create database flowerpower;
use flowerpower;
create table artikel (
id INT NOT NULL AUTO_INCREMENT,
artikelcode varchar(255) NOT NULL,
artikel varchar(255) NOT NULL,
prijs varchar(255) NOT NULL,
factuurregelid INT NOT NULL,
bestellingid INT NOT NULL,
FOREIGN KEY (factuurregelid) REFERENCES factuurregel(id),
FOREIGN KEY (bestellingid) REFERENCES bestelling(id),
PRIMARY KEY (id)
);
create table factuurregel (
id INT NOT NULL AUTO_INCREMENT,
artikel varchar(255),
aantal varchar(255),
factuurid INT NOT NULL,
FOREIGN KEY (factuurid) REFERENCES factuur(id),
PRIMARY KEY (id)
);
create table winkel (
id INT NOT NULL AUTO_INCREMENT,
winkelcode varchar(255) NOT NULL,
verstiging varchar(255) NOT NULL,
adres varchar(255) NOT NULL,
postcode varchar(255) NOT NULL,
verstiginsplaats varchar(255) NOT NULL,
telefoonnummer varchar(255) NOT NULL,
bestellingid INT NOT NULL,
FOREIGN KEY (bestellingid) REFERENCES bestelling(id),
PRIMARY KEY (id)
);
create table bestelling (
id INT NOT NULL AUTO_INCREMENT,
artikel varchar(255) NOT NULL,
winkel varchar(255) NOT NULL,
aantal varchar(255) NOT NULL,
klant varchar(255) NOT NULL,
datum date NOT NULL,
medewerker varchar(255) NOT NULL,
PRIMARY KEY (id)
);
create table factuur(
id INT NOT NULL AUTO_INCREMENT,
factuurregel varchar(255),
factuurdatum varchar(255),
klant varchar(255),
factuurregelid INT NOT NULL,
FOREIGN KEY (factuurregelid) REFERENCES factuurregel(id),
PRIMARY KEY (id)
);
create table klant (
id INT NOT NULL AUTO_INCREMENT,
voorletters varchar(255) NOT NULL,
tussenvoegsel varchar(255),
achternaam varchar(255) NOT NULL,
adres varchar(255) NOT NULL,
postcode varchar(255) NOT NULL,
woonplaats varchar(255) NOT NULL,
gebruikersnaam varchar(255) NOT NULL,
wachtwoord varchar(255),
bestellingid INT NOT NULL,
FOREIGN KEY (bestellingid) REFERENCES bestelling(id),
PRIMARY KEY (id)
);
create table medewerker (
id INT NOT NULL AUTO_INCREMENT,
medewerkerscode varchar(255) NOT NULL,
voorletters varchar(255) NOT NULL,
voorvoegsels varchar(255),
achternaam varchar(255) NOT NULL,
naam varchar(255) NOT NULL,
gebruikersnaam varchar(255) NOT NULL,
wachtwoord varchar(255) NOT NULL,
bestellingid INT NOT NULL,
FOREIGN KEY (bestellingid) REFERENCES bestelling(id),
PRIMARY KEY (id)
); | true |
f90e5b1299dc034a505ffdc78c6eda6503aef13b | SQL | neostreet/poker_session_data | /num_hands_per_cash_game_nolimit_holdem_session.sql | UTF-8 | 164 | 2.671875 | 3 | [] | no_license | use poker
select sum(num_hands),count(*),sum(num_hands) / count(*)
from poker_sessions
where num_hands is not null and
poker_style = 0 and poker_flavor = 3;
quit
| true |
80908574e3b93ebea898a1c00d628170811f2805 | SQL | mattryderstorm/CatalystX-Examples | /MyFirstGrid/grid.sql | UTF-8 | 2,691 | 2.640625 | 3 | [] | no_license | CREATE TABLE inventory (
inv_id int(11) NOT NULL AUTO_INCREMENT,
client_id int(11) NOT NULL,
amount decimal(10,2) NOT NULL DEFAULT '0.00',
tax decimal(10,2) NOT NULL DEFAULT '0.00',
total decimal(10,2) NOT NULL DEFAULT '0.00',
note char(100) DEFAULT NULL,
PRIMARY KEY (inv_id)
);
INSERT INTO inventory(
inv_id,
client_id,
amount,
tax,
total,
note)
VALUES
(1,2339,103.98,45.34,149.32,"This is record 1."),
(2,1171,104.98,46.34,151.32,"This is record 2."),
(3,5232,105.98,47.34,153.32,"This is record 3."),
(4,9110,106.98,48.34,155.32,"This is record 4."),
(5,5232,107.98,49.34,157.32,"This is record 5."),
(6,8471,108.98,50.34,159.32,"This is record 6."),
(7,2339,109.98,51.34,161.32,"This is record 7."),
(8,8471,110.98,52.34,163.32,"This is record 8."),
(9,3632,111.98,53.34,165.32,"This is record 9."),
(10,6483,112.98,54.34,167.32,"This is record 10."),
(11,2333,113.98,55.34,169.32,"This is record 11."),
(12,9110,114.98,56.34,171.32,"This is record 12."),
(13,1005,115.98,57.34,173.32,"This is record 13."),
(14,9987,116.98,58.34,175.32,"This is record 14."),
(15,6483,117.98,59.34,177.32,"This is record 15."),
(16,5249,118.98,60.34,179.32,"This is record 16."),
(17,2333,119.98,61.34,181.32,"This is record 17."),
(18,1171,120.98,62.34,183.32,"This is record 18."),
(19,1005,121.98,63.34,185.32,"This is record 19."),
(20,7377,122.98,64.34,187.32,"This is record 20."),
(21,1171,123.98,65.34,189.32,"This is record 21."),
(22,5232,124.98,66.34,191.32,"This is record 22."),
(23,9110,125.98,67.34,193.32,"This is record 23."),
(24,1728,126.98,68.34,195.32,"This is record 24."),
(25,4732,127.98,69.34,197.32,"This is record 25."),
(26,8221,128.98,70.34,199.32,"This is record 26."),
(27,9110,129.98,71.34,201.32,"This is record 27."),
(28,2232,130.98,72.34,203.32,"This is record 28."),
(29,6483,131.98,73.34,205.32,"This is record 29."),
(30,5232,132.98,74.34,207.32,"This is record 30."),
(31,9483,133.98,75.34,209.32,"This is record 31."),
(32,2985,134.98,76.34,211.32,"This is record 32."),
(33,8221,135.98,77.34,213.32,"This is record 33."),
(34,7377,136.98,78.34,215.32,"This is record 34."),
(35,8471,137.98,79.34,217.32,"This is record 35."),
(36,3632,138.98,80.34,219.32,"This is record 36."),
(37,2112,139.98,81.34,221.32,"This is record 37.");
| true |
31cfcdd40cb344b9e87b50ca57d0b43c0c42dbf3 | SQL | sjnov11/Database-Management-System | /project1/project1.sql | UTF-8 | 4,251 | 4.3125 | 4 | [] | no_license | USE Pokemon;
SELECT name FROM Trainer WHERE hometown = 'Blue City';
SELECT name FROM Trainer WHERE hometown = 'Brown City' OR hometown = 'Rainbow City';
SELECT name, hometown FROM Trainer WHERE name LIKE 'a%' OR name LIKE 'e%' OR name LIKE 'i%' OR name LIKE 'o%' OR name LIKE 'u%';
SELECT name FROM Pokemon WHERE type = 'Water';
SELECT DISTINCT type FROM Pokemon;
SELECT name FROM Pokemon ORDER BY name ASC;
SELECT name FROM Pokemon WHERE name LIKE '%s';
SELECT name FROM Pokemon WHERE name LIKE '%e%s';
SELECT name FROM Pokemon WHERE name LIKE 'a%' OR name LIKE 'e%' OR name LIKE 'i%' OR name LIKE 'o%' OR name LIKE 'u%';
SELECT type, COUNT(*) AS '#types' FROM Pokemon GROUP BY type;
SELECT nickname FROM CatchedPokemon ORDER BY level DESC LIMIT 3;
SELECT AVG(level) AS Avg_level FROM CatchedPokemon;
SELECT MAX(level)-MIN(level) AS Difference FROM CatchedPokemon;
SELECT COUNT(*) AS '#pokemon' FROM Pokemon WHERE name >= 'b%' AND name < 'f%';
SELECT COUNT(*) AS '#pokemon' FROM Pokemon WHERE type NOT IN ('Fire', 'Grass', 'Water', 'Electric');
SELECT Trainer.name, Pokemon.name, CatchedPokemon.nickname FROM CatchedPokemon JOIN Pokemon ON CatchedPokemon.pid = Pokemon.id JOIN Trainer ON CatchedPokemon.owner_id = Trainer.id WHERE nickname LIKE '% %';
SELECT Trainer.name FROM CatchedPokemon, Pokemon, Trainer WHERE CatchedPokemon.pid = Pokemon.id AND CatchedPokemon.owner_id = Trainer.id AND Pokemon.type = 'Psychic';
SELECT Trainer.name, Trainer.hometown FROM CatchedPokemon, Trainer WHERE CatchedPokemon.owner_id = Trainer.id GROUP BY Trainer.name ORDER BY AVG(CatchedPokemon.level) DESC LIMIT 3;
SELECT Trainer.name, COUNT(*) AS '#catched' FROM CatchedPokemon, Trainer WHERE CatchedPokemon.owner_id = Trainer.id GROUP BY Trainer.name ORDER BY COUNT(*) DESC, Trainer.name DESC;
SELECT Pokemon.name, CatchedPokemon.level FROM Gym, Trainer, Pokemon, CatchedPokemon WHERE Gym.leader_id = Trainer.id AND CatchedPokemon.owner_id = Trainer.id AND CatchedPokemon.pid = Pokemon.id AND Gym.city = 'Sangnok City' ORDER BY level ASC;
SELECT Pokemon.name, IF(ISNULL(CatchedPokemon.pid), 0, COUNT(*)) AS '#catched' FROM Pokemon LEFT JOIN CatchedPokemon ON Pokemon.id = CatchedPokemon.pid GROUP BY Pokemon.name ORDER BY IF(ISNULL(CatchedPokemon.pid), 0, COUNT(*)) DESC;
SELECT C.name FROM Pokemon AS A, Pokemon AS B, Pokemon AS C, Evolution AS E1, Evolution AS E2 WHERE E1.before_id = A.id AND E1.After_id = B.id AND E2.before_id = B.id AND E2.after_id = C.id AND A.name = 'Charmander';
SELECT Pokemon.name FROM Pokemon, CatchedPokemon WHERE Pokemon.id = CatchedPokemon.pid AND Pokemon.id <= 30 GROUP BY Pokemon.name ORDER BY Pokemon.name ASC;
SELECT Trainer.name, Pokemon.type FROM Trainer, Pokemon, CatchedPokemon WHERE Trainer.id = CatchedPokemon.owner_id AND Pokemon.id = CatchedPokemon.pid GROUP BY Trainer.name HAVING COUNT(DISTINCT Pokemon.type) = 1;
SELECT Trainer.name, Pokemon.type, COUNT(*) AS '#types' FROM Trainer, Pokemon, CatchedPokemon WHERE Trainer.id = CatchedPokemon.owner_id AND Pokemon.id = CatchedPokemon.pid GROUP BY Trainer.name, Pokemon.type;
SELECT Trainer.name, Pokemon.name, COUNT(*) AS '#catched' FROM Trainer, Pokemon, CatchedPokemon WHERE Trainer.id = CatchedPokemon.owner_id AND Pokemon.id = CatchedPokemon.pid GROUP BY Trainer.name HAVING COUNT(DISTINCT Pokemon.name) = 1;
SELECT Trainer.name, Gym.city FROM Trainer, Gym WHERE Trainer.id = Gym.leader_id AND Trainer.name IN (SELECT Trainer.name FROM Trainer, Pokemon, CatchedPokemon WHERE Trainer.id = CatchedPokemon.owner_id AND Pokemon.id = CatchedPokemon.pid GROUP BY Trainer.name HAVING NOT COUNT(DISTINCT Pokemon.type) = 1);
SELECT Trainer.name, SUM(IF(CatchedPokemon.level < 50, NULL, level)) AS 'sum_level' FROM Trainer, Gym, CatchedPokemon WHERE Trainer.id = Gym.leader_id AND CatchedPokemon.owner_id = Trainer.id GROUP BY Trainer.name;
SELECT Pokemon.name FROM Trainer, Pokemon, CatchedPokemon WHERE Trainer.id = CatchedPokemon.owner_id AND Pokemon.id = CatchedPokemon.pid AND Trainer.hometown IN ('Sangnok City', 'Blue City') GROUP BY Pokemon.name HAVING COUNT(DISTINCT(Trainer.hometown)) = 2;
SELECT Pokemon.name FROM Pokemon WHERE Pokemon.id IN (SELECT after_id FROM Evolution) AND Pokemon.id NOT IN (SELECT before_id FROM Evolution);
| true |
ff8f3a9ef4093157851ff96b304cfdc6b8ebc10a | SQL | AyalaJesus/EP2-Pizzeria | /social.sql | UTF-8 | 11,922 | 3.078125 | 3 | [] | no_license | -- phpMyAdmin SQL Dump
-- version 4.7.0
-- https://www.phpmyadmin.net/
--
-- Servidor: 127.0.0.1
-- Tiempo de generación: 26-06-2017 a las 06:44:18
-- Versión del servidor: 10.1.22-MariaDB
-- Versión de PHP: 7.1.4
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 */;
--
-- Base de datos: `social`
--
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `addresses`
--
CREATE TABLE `addresses` (
`id` int(10) UNSIGNED NOT NULL,
`street` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`postcode` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`neighborhood` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`city` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Volcado de datos para la tabla `addresses`
--
INSERT INTO `addresses` (`id`, `street`, `postcode`, `neighborhood`, `city`, `created_at`, `updated_at`) VALUES
(1, 'a', '1', 'a', 'a', '2017-06-25 05:19:48', '2017-06-25 05:19:48'),
(2, 'q', '1', 'q', 'q', '2017-06-25 05:26:06', '2017-06-25 05:26:06'),
(3, 'q', 'q', 'q', 'q', '2017-06-25 05:27:06', '2017-06-25 05:27:06'),
(4, 'p', 'p', 'p', 'p', '2017-06-25 06:07:47', '2017-06-25 06:07:47');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `categories`
--
CREATE TABLE `categories` (
`id` int(10) UNSIGNED NOT NULL,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`description` text COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Volcado de datos para la tabla `categories`
--
INSERT INTO `categories` (`id`, `name`, `description`, `created_at`, `updated_at`) VALUES
(1, 'Pizzas', 'Contamos con diferentes tipos pizzas', NULL, '2017-06-24 21:09:44'),
(2, 'Ensaladas', 'Todo tipo de ensaladas', '2017-06-22 21:37:06', '2017-06-24 21:10:48'),
(3, 'Bebidas', 'Todo tipo de bebidas para disfrutar', '2017-06-22 21:37:40', '2017-06-24 21:11:32');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `migrations`
--
CREATE TABLE `migrations` (
`id` int(10) UNSIGNED NOT NULL,
`migration` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`batch` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Volcado de datos para la tabla `migrations`
--
INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
(1, '2014_10_12_000000_create_users_table', 1),
(2, '2014_10_12_100000_create_password_resets_table', 1),
(3, '2017_06_16_122649_productsImageColumn', 1);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `orders`
--
CREATE TABLE `orders` (
`id` int(10) UNSIGNED NOT NULL,
`user_id` int(10) UNSIGNED NOT NULL,
`status` text COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Volcado de datos para la tabla `orders`
--
INSERT INTO `orders` (`id`, `user_id`, `status`, `created_at`, `updated_at`) VALUES
(1, 3, 'Completado', '2017-06-25 01:32:11', '2017-06-26 00:54:22'),
(6, 3, 'Pendiente', '2017-06-25 05:14:06', '2017-06-26 00:54:15'),
(7, 3, 'Pendiente', '2017-06-25 05:19:32', '2017-06-25 05:19:32'),
(8, 3, 'Pendiente', '2017-06-25 06:07:32', '2017-06-25 06:07:32');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `order_products`
--
CREATE TABLE `order_products` (
`id` int(10) UNSIGNED NOT NULL,
`order_id` int(10) UNSIGNED NOT NULL,
`product_id` int(10) UNSIGNED NOT NULL,
`qty` int(11) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Volcado de datos para la tabla `order_products`
--
INSERT INTO `order_products` (`id`, `order_id`, `product_id`, `qty`, `created_at`, `updated_at`) VALUES
(1, 6, 2, 1, NULL, NULL);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `password_resets`
--
CREATE TABLE `password_resets` (
`email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`token` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `products`
--
CREATE TABLE `products` (
`id` int(10) UNSIGNED NOT NULL,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`description` text COLLATE utf8mb4_unicode_ci NOT NULL,
`price` decimal(8,2) NOT NULL,
`category_id` int(10) UNSIGNED NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`image` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Volcado de datos para la tabla `products`
--
INSERT INTO `products` (`id`, `name`, `description`, `price`, `category_id`, `created_at`, `updated_at`, `image`) VALUES
(2, 'Pizza peperonni', 'Pizza de peperonni con extra queso', '150.00', 1, '2017-06-23 02:54:46', '2017-06-23 02:55:42', '2_1498168542.jpg'),
(4, 'Pizza hawaiana', 'Pizza hawaiana con jamon y piña', '150.00', 1, '2017-06-25 23:07:23', '2017-06-25 23:07:45', '4_1498414065.jpg'),
(5, 'Pizza italiana', 'Pizza al estilo italiano', '150.00', 1, '2017-06-25 23:08:25', '2017-06-25 23:08:47', '5_1498414127.jpg'),
(6, 'Pizza mexicana', 'Pizza de mexicana', '150.00', 1, '2017-06-25 23:10:50', '2017-06-25 23:47:51', '6_1498416471.jpg'),
(7, 'Coca cola', 'Refresco de 2 litros', '30.00', 1, '2017-06-25 23:12:16', '2017-06-25 23:12:29', '7_1498414349.jpg'),
(8, 'Pepsi', 'Refresco de 2 litros', '30.00', 3, '2017-06-25 23:13:07', '2017-06-25 23:13:27', '8_1498414407.jpg'),
(9, 'Sidrat mundet', 'Refresco de 2 litros', '30.00', 1, '2017-06-25 23:14:12', '2017-06-25 23:14:29', '9_1498414469.jpg'),
(10, 'Sprite', 'Refresco de 2 litros', '30.00', 1, '2017-06-25 23:15:09', '2017-06-25 23:15:26', '10_1498414526.jpg'),
(11, 'Ensalada de manzana', 'Ensalada dulce de manzana', '130.00', 2, '2017-06-25 23:16:09', '2017-06-25 23:16:35', '11_1498414595.png'),
(12, 'Ensalada vegetariana', 'Ensalada tradicional vegetariana', '130.00', 2, '2017-06-25 23:17:41', '2017-06-25 23:18:42', '12_1498414722.jpg'),
(13, 'Ensalada frutos rojos', 'Ensalada vegetariana con frutos rojos', '130.00', 2, '2017-06-25 23:19:59', '2017-06-25 23:20:26', '13_1498414826.jpg');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `users`
--
CREATE TABLE `users` (
`id` int(10) UNSIGNED NOT NULL,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`password` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`address_id` int(10) UNSIGNED DEFAULT NULL,
`type` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'customer',
`phone` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Volcado de datos para la tabla `users`
--
INSERT INTO `users` (`id`, `name`, `email`, `password`, `address_id`, `type`, `phone`, `remember_token`, `created_at`, `updated_at`) VALUES
(3, 'yisus', 'yisus@hotmail.com', '$2y$10$2aB1qyzU8A7C6ymAUtDBNeoaad7V2Exp/Z5eJm/.PQ4hXwFeaygt.', NULL, 'customer', NULL, 'QpM8lUnU6t1KNXjjyCtxOJoThrHw46qGDKiaJxuGYZKX1D92ZLPmyvzlMti1', '2017-06-23 06:59:50', '2017-06-23 06:59:50'),
(4, 'almita', 'almitabb@upemor.edu.mx', '$2y$10$jm28rSQVacMJ/aWMEbztae7jIripjVsztaZOiHzFqKat3Waj1xLO2', NULL, 'admin', NULL, '92wpthJIYZ7M2TjgpZVEhY7zVOdwStGH4qQwtzeQlsEPnwEqGdXd9GzlmoRj', '2017-06-23 07:15:58', '2017-06-23 07:15:58'),
(5, 'sebas', 'sebas@hotmail.com', '$2y$10$CCkE8PhUBf14W/E7JMckp.FzsR7fXZqDHPcU8QlEkovAjFq43qDTe', NULL, 'admin', NULL, '1HqMuKFnIYYT9vOIMxCs7mUactGFA6qrZt6o9JIcKRVn5R5BYaz02CUuOBzs', '2017-06-24 08:26:22', '2017-06-24 08:26:22');
--
-- Índices para tablas volcadas
--
--
-- Indices de la tabla `addresses`
--
ALTER TABLE `addresses`
ADD PRIMARY KEY (`id`);
--
-- Indices de la tabla `categories`
--
ALTER TABLE `categories`
ADD PRIMARY KEY (`id`);
--
-- Indices de la tabla `migrations`
--
ALTER TABLE `migrations`
ADD PRIMARY KEY (`id`);
--
-- Indices de la tabla `orders`
--
ALTER TABLE `orders`
ADD PRIMARY KEY (`id`),
ADD KEY `orders_user_id_foreign` (`user_id`);
--
-- Indices de la tabla `order_products`
--
ALTER TABLE `order_products`
ADD PRIMARY KEY (`id`),
ADD KEY `order_products_order_id_foreign` (`order_id`),
ADD KEY `order_products_product_id_foreign` (`product_id`);
--
-- Indices de la tabla `password_resets`
--
ALTER TABLE `password_resets`
ADD KEY `password_resets_email_index` (`email`);
--
-- Indices de la tabla `products`
--
ALTER TABLE `products`
ADD PRIMARY KEY (`id`),
ADD KEY `products_category_id_foreign` (`category_id`);
--
-- Indices de la tabla `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `users_email_unique` (`email`),
ADD KEY `users_address_id_foreign` (`address_id`);
--
-- AUTO_INCREMENT de las tablas volcadas
--
--
-- AUTO_INCREMENT de la tabla `addresses`
--
ALTER TABLE `addresses`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT de la tabla `categories`
--
ALTER TABLE `categories`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT de la tabla `migrations`
--
ALTER TABLE `migrations`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT de la tabla `orders`
--
ALTER TABLE `orders`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
--
-- AUTO_INCREMENT de la tabla `order_products`
--
ALTER TABLE `order_products`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT de la tabla `products`
--
ALTER TABLE `products`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14;
--
-- AUTO_INCREMENT de la tabla `users`
--
ALTER TABLE `users`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- Restricciones para tablas volcadas
--
--
-- Filtros para la tabla `orders`
--
ALTER TABLE `orders`
ADD CONSTRAINT `orders_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`);
--
-- Filtros para la tabla `order_products`
--
ALTER TABLE `order_products`
ADD CONSTRAINT `order_products_order_id_foreign` FOREIGN KEY (`order_id`) REFERENCES `orders` (`id`),
ADD CONSTRAINT `order_products_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`);
--
-- Filtros para la tabla `products`
--
ALTER TABLE `products`
ADD CONSTRAINT `products_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `categories` (`id`);
--
-- Filtros para la tabla `users`
--
ALTER TABLE `users`
ADD CONSTRAINT `users_address_id_foreign` FOREIGN KEY (`address_id`) REFERENCES `addresses` (`id`);
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 |
4c3f491cdea1dcdb34ea804a074033362dbd0d17 | SQL | karobar/SQL-Stuff | /mark.sql | UTF-8 | 1,431 | 3.515625 | 4 | [] | no_license | delimiter $
drop procedure if exists Mark;
/*
This procedure returns pairs (node, depth) where depth is the depth
of the node. A tree T has the following structure in your database:
+-------+---------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-------+---------+------+-----+---------+-------+
| p | integer | YES | | NULL | |
| c | integer | YES | | NULL | |
+-------+---------+------+-----+---------+-------+
Creates a table depth_marks(v integer, d integer) and save all results in it.
*/
create procedure Mark(root integer)
begin
declare tier integer;
declare num_children integer;
create table if not exists pTree(p integer, c integer);
create table if not exists depth_marks(node integer, nDepth integer);
delete from pTree;
delete from depth_marks;
insert into ptree (select * from tree);
set tier = 0;
/* this should grab the root node and put it into depth_marks */
insert into depth_marks values(root, 0);
select count(*) into num_children from pTree T, depth_marks DM where DM.node = T.p;
while(num_children > 0) do
set tier = tier + 1;
insert into depth_marks (select T.c, tier from pTree T, depth_marks DM where dm.nDepth = tier - 1 and dm.node = t.p);
select count(*) into num_children from pTree T, depth_marks DM where DM.node = T.p and DM.nDepth = tier;
end while;
end
$
delimiter ; | true |
560666da4d01c73f211b24870bdcf80bb8785529 | SQL | AnIllusions/BookManagement | /test1.sql | UTF-8 | 21,786 | 3.4375 | 3 | [] | no_license | /*
Navicat MySQL Data Transfer
Source Server : localhost_3306
Source Server Version : 50510
Source Host : localhost:3306
Source Database : test
Target Server Type : MYSQL
Target Server Version : 50510
File Encoding : 65001
Date: 2018-01-06 23:31:36
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for `bji`
-- ----------------------------
DROP TABLE IF EXISTS `bji`;
CREATE TABLE `bji` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`grade` varchar(255) NOT NULL,
`name` varchar(255) NOT NULL,
`remark` varchar(255) DEFAULT NULL,
`category_id` int(11) NOT NULL,
`level_id` int(11) NOT NULL,
`major_id` int(11) NOT NULL,
PRIMARY KEY (`id`),
KEY `FK_4ltvwo40wd88fnhjs3yxyirap` (`category_id`),
KEY `FK_hvirsxlla8tg7x0hc94ol2iqf` (`level_id`),
KEY `FK_cbi9faefx668jmlqrtghpscqw` (`major_id`),
CONSTRAINT `FK_cbi9faefx668jmlqrtghpscqw` FOREIGN KEY (`major_id`) REFERENCES `major` (`id`),
CONSTRAINT `FK_4ltvwo40wd88fnhjs3yxyirap` FOREIGN KEY (`category_id`) REFERENCES `category` (`id`),
CONSTRAINT `FK_hvirsxlla8tg7x0hc94ol2iqf` FOREIGN KEY (`level_id`) REFERENCES `level` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of bji
-- ----------------------------
INSERT INTO `bji` VALUES ('1', '1', '1班', '1', '1', '1', '1');
-- ----------------------------
-- Table structure for `bookfee`
-- ----------------------------
DROP TABLE IF EXISTS `bookfee`;
CREATE TABLE `bookfee` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`academicyear` varchar(255) DEFAULT NULL,
`amount` float NOT NULL,
`semester` varchar(255) DEFAULT NULL,
`operator_id` int(11) NOT NULL,
`student_id` int(11) NOT NULL,
`nPayFee` double NOT NULL,
`payFee` double NOT NULL,
`bJi_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `FK_tmatxkh60db206ymp8893ehp6` (`operator_id`),
KEY `FK_xqqs2pb135804mbtn9fr5db9` (`student_id`),
KEY `FK_2o7b3eiqcpgqiqh0jjhs395h3` (`bJi_id`),
CONSTRAINT `FK_2o7b3eiqcpgqiqh0jjhs395h3` FOREIGN KEY (`bJi_id`) REFERENCES `bji` (`id`),
CONSTRAINT `FK_tmatxkh60db206ymp8893ehp6` FOREIGN KEY (`operator_id`) REFERENCES `operator` (`id`),
CONSTRAINT `FK_xqqs2pb135804mbtn9fr5db9` FOREIGN KEY (`student_id`) REFERENCES `student` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of bookfee
-- ----------------------------
INSERT INTO `bookfee` VALUES ('1', '1', '1', '1', '1', '1', '0', '0', null);
-- ----------------------------
-- Table structure for `category`
-- ----------------------------
DROP TABLE IF EXISTS `category`;
CREATE TABLE `category` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL,
`remark` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of category
-- ----------------------------
INSERT INTO `category` VALUES ('1', '1', '1');
-- ----------------------------
-- Table structure for `cell`
-- ----------------------------
DROP TABLE IF EXISTS `cell`;
CREATE TABLE `cell` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL,
`remark` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of cell
-- ----------------------------
INSERT INTO `cell` VALUES ('1', '1', '3');
INSERT INTO `cell` VALUES ('2', '3', '2');
INSERT INTO `cell` VALUES ('3', '6', '66');
INSERT INTO `cell` VALUES ('5', '144', '144');
-- ----------------------------
-- Table structure for `deliver_to_other`
-- ----------------------------
DROP TABLE IF EXISTS `deliver_to_other`;
CREATE TABLE `deliver_to_other` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`amount` int(11) NOT NULL,
`deliver_date` datetime DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
`operator_id` int(11) NOT NULL,
`textbook_id` int(11) NOT NULL,
PRIMARY KEY (`id`),
KEY `FK_3kn90xfqv95lg24c9k5nhkyrl` (`operator_id`),
KEY `FK_2mekyxaddfkh92ukc37b4wsch` (`textbook_id`),
CONSTRAINT `FK_2mekyxaddfkh92ukc37b4wsch` FOREIGN KEY (`textbook_id`) REFERENCES `textbook` (`id`),
CONSTRAINT `FK_3kn90xfqv95lg24c9k5nhkyrl` FOREIGN KEY (`operator_id`) REFERENCES `operator` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of deliver_to_other
-- ----------------------------
INSERT INTO `deliver_to_other` VALUES ('11', '11', '2018-01-06 23:26:33', '11', '1', '1');
-- ----------------------------
-- Table structure for `deliver_to_station`
-- ----------------------------
DROP TABLE IF EXISTS `deliver_to_station`;
CREATE TABLE `deliver_to_station` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`deliver_date` datetime DEFAULT NULL,
`operator_id` int(11) NOT NULL,
`station_id` int(11) DEFAULT NULL,
`textbook_id` int(11) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `UK_btmnyodchyem3de8imc6tmdlu` (`station_id`),
KEY `FK_qrc624j8wlhcaeifss2lkm60e` (`operator_id`),
KEY `FK_btmnyodchyem3de8imc6tmdlu` (`station_id`),
KEY `FK_o6u41572iovyw4uocxhybb9qn` (`textbook_id`),
CONSTRAINT `FK_o6u41572iovyw4uocxhybb9qn` FOREIGN KEY (`textbook_id`) REFERENCES `textbook` (`id`),
CONSTRAINT `FK_btmnyodchyem3de8imc6tmdlu` FOREIGN KEY (`station_id`) REFERENCES `station` (`id`),
CONSTRAINT `FK_qrc624j8wlhcaeifss2lkm60e` FOREIGN KEY (`operator_id`) REFERENCES `operator` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of deliver_to_station
-- ----------------------------
INSERT INTO `deliver_to_station` VALUES ('11', '2018-01-06 23:26:52', '1', '1', '1');
-- ----------------------------
-- Table structure for `deliver_to_student`
-- ----------------------------
DROP TABLE IF EXISTS `deliver_to_student`;
CREATE TABLE `deliver_to_student` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`deliver_time` datetime DEFAULT NULL,
`operator_id` int(11) NOT NULL,
`package_id` int(11) NOT NULL,
`student_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `UK_n5dpypo53f42920siy06qi8gv` (`student_id`),
KEY `FK_qn63hwwulsnmrsx340myg3kom` (`operator_id`),
KEY `FK_g79muw1et3fh47q6f5assws20` (`package_id`),
KEY `FK_n5dpypo53f42920siy06qi8gv` (`student_id`),
CONSTRAINT `FK_n5dpypo53f42920siy06qi8gv` FOREIGN KEY (`student_id`) REFERENCES `student` (`id`),
CONSTRAINT `FK_g79muw1et3fh47q6f5assws20` FOREIGN KEY (`package_id`) REFERENCES `package_book` (`id`),
CONSTRAINT `FK_qn63hwwulsnmrsx340myg3kom` FOREIGN KEY (`operator_id`) REFERENCES `operator` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of deliver_to_student
-- ----------------------------
INSERT INTO `deliver_to_student` VALUES ('11', '2018-01-06 23:27:07', '1', '1', '2');
-- ----------------------------
-- Table structure for `deliver_to_teacher`
-- ----------------------------
DROP TABLE IF EXISTS `deliver_to_teacher`;
CREATE TABLE `deliver_to_teacher` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`amount` int(11) NOT NULL,
`deliver_date` datetime NOT NULL,
`tname` varchar(255) NOT NULL,
`operator_id` int(11) NOT NULL,
`textbook_id` int(11) NOT NULL,
PRIMARY KEY (`id`),
KEY `FK_2h34qjqcrfoh4xck4t1174qxd` (`operator_id`),
KEY `FK_ikyln379pb0kjai68b5jn5at8` (`textbook_id`),
CONSTRAINT `FK_ikyln379pb0kjai68b5jn5at8` FOREIGN KEY (`textbook_id`) REFERENCES `textbook` (`id`),
CONSTRAINT `FK_2h34qjqcrfoh4xck4t1174qxd` FOREIGN KEY (`operator_id`) REFERENCES `operator` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of deliver_to_teacher
-- ----------------------------
INSERT INTO `deliver_to_teacher` VALUES ('11', '11', '2018-01-06 23:27:17', '11', '1', '1');
-- ----------------------------
-- Table structure for `level`
-- ----------------------------
DROP TABLE IF EXISTS `level`;
CREATE TABLE `level` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL,
`remark` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of level
-- ----------------------------
INSERT INTO `level` VALUES ('1', '本科', '1');
-- ----------------------------
-- Table structure for `major`
-- ----------------------------
DROP TABLE IF EXISTS `major`;
CREATE TABLE `major` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL,
`remark` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of major
-- ----------------------------
INSERT INTO `major` VALUES ('1', '计算机', '1');
-- ----------------------------
-- Table structure for `operator`
-- ----------------------------
DROP TABLE IF EXISTS `operator`;
CREATE TABLE `operator` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`account` varchar(255) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`password` varchar(255) NOT NULL,
`position` varchar(255) NOT NULL,
`remark` varchar(255) NOT NULL,
`role` varchar(255) NOT NULL,
`tel` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of operator
-- ----------------------------
INSERT INTO `operator` VALUES ('1', '1', '1', '2', '2', '发', '1', '5');
-- ----------------------------
-- Table structure for `package_book`
-- ----------------------------
DROP TABLE IF EXISTS `package_book`;
CREATE TABLE `package_book` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`academy_year` varchar(255) NOT NULL,
`grade` varchar(255) NOT NULL,
`pdescription` varchar(255) DEFAULT NULL,
`semester` varchar(255) NOT NULL,
`bji_id` int(11) NOT NULL,
`category_id` int(11) NOT NULL,
`level_id` int(11) NOT NULL,
`major_id` int(11) NOT NULL,
`operator_id` int(11) NOT NULL,
PRIMARY KEY (`id`),
KEY `FK_1jn9rk1opvmau38r27oj8acwk` (`bji_id`),
KEY `FK_jtwy9vbuvowwh6gw3ywrtpn6j` (`category_id`),
KEY `FK_jw5q15nafaxiplq6duq99jexj` (`level_id`),
KEY `FK_1xkwrix5ewai4lqfcrc77v0cm` (`major_id`),
KEY `FK_94u75il5rs8wl5qw5f5ifvxnd` (`operator_id`),
CONSTRAINT `FK_94u75il5rs8wl5qw5f5ifvxnd` FOREIGN KEY (`operator_id`) REFERENCES `operator` (`id`),
CONSTRAINT `FK_1jn9rk1opvmau38r27oj8acwk` FOREIGN KEY (`bji_id`) REFERENCES `bji` (`id`),
CONSTRAINT `FK_1xkwrix5ewai4lqfcrc77v0cm` FOREIGN KEY (`major_id`) REFERENCES `major` (`id`),
CONSTRAINT `FK_jtwy9vbuvowwh6gw3ywrtpn6j` FOREIGN KEY (`category_id`) REFERENCES `category` (`id`),
CONSTRAINT `FK_jw5q15nafaxiplq6duq99jexj` FOREIGN KEY (`level_id`) REFERENCES `level` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of package_book
-- ----------------------------
INSERT INTO `package_book` VALUES ('1', '2001-2002', '2015级', '必修', '第一学期', '1', '1', '1', '1', '1');
-- ----------------------------
-- Table structure for `package_bookinf`
-- ----------------------------
DROP TABLE IF EXISTS `package_bookinf`;
CREATE TABLE `package_bookinf` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`package_book_id` int(11) NOT NULL,
`textbook_id` int(11) NOT NULL,
PRIMARY KEY (`id`),
KEY `FK_jof80nmy0quw3twpd01h5m8xq` (`package_book_id`),
KEY `FK_nrpu2d52ag0l2ii89r9efte6u` (`textbook_id`),
CONSTRAINT `FK_nrpu2d52ag0l2ii89r9efte6u` FOREIGN KEY (`textbook_id`) REFERENCES `textbook` (`id`),
CONSTRAINT `FK_jof80nmy0quw3twpd01h5m8xq` FOREIGN KEY (`package_book_id`) REFERENCES `package_book` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of package_bookinf
-- ----------------------------
INSERT INTO `package_bookinf` VALUES ('1', '1', '1');
-- ----------------------------
-- Table structure for `payment`
-- ----------------------------
DROP TABLE IF EXISTS `payment`;
CREATE TABLE `payment` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`pay_date` datetime NOT NULL,
`station` varchar(255) NOT NULL,
`aId` int(11) NOT NULL,
PRIMARY KEY (`id`),
KEY `FK_ocl7me9mutw5n77hiv2wm8jm3` (`aId`),
CONSTRAINT `FK_ocl7me9mutw5n77hiv2wm8jm3` FOREIGN KEY (`aId`) REFERENCES `operator` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of payment
-- ----------------------------
INSERT INTO `payment` VALUES ('1', '2017-12-14 16:33:14', '1', '1');
-- ----------------------------
-- Table structure for `station`
-- ----------------------------
DROP TABLE IF EXISTS `station`;
CREATE TABLE `station` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`address` varchar(255) NOT NULL,
`contactMan` varchar(255) NOT NULL,
`name` varchar(255) NOT NULL,
`remark` varchar(255) DEFAULT NULL,
`tel` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of station
-- ----------------------------
INSERT INTO `station` VALUES ('1', '1', '1', '11', '1', '1');
INSERT INTO `station` VALUES ('2', '2', '2', '泰安函授站', '2', '2');
-- ----------------------------
-- Table structure for `stock`
-- ----------------------------
DROP TABLE IF EXISTS `stock`;
CREATE TABLE `stock` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`amount` int(11) NOT NULL,
`cell_id` int(11) NOT NULL,
`textbook_id` int(11) NOT NULL,
PRIMARY KEY (`id`),
KEY `FK_fax1tlh00vom5mvsj36ekkyvj` (`cell_id`),
KEY `FK_2g2un6rl1buah0jdgc2paupp` (`textbook_id`),
CONSTRAINT `FK_2g2un6rl1buah0jdgc2paupp` FOREIGN KEY (`textbook_id`) REFERENCES `textbook` (`id`),
CONSTRAINT `FK_fax1tlh00vom5mvsj36ekkyvj` FOREIGN KEY (`cell_id`) REFERENCES `cell` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of stock
-- ----------------------------
INSERT INTO `stock` VALUES ('1', '1', '1', '1');
-- ----------------------------
-- Table structure for `stockcheck`
-- ----------------------------
DROP TABLE IF EXISTS `stockcheck`;
CREATE TABLE `stockcheck` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`account` int(11) NOT NULL,
`check_date` date NOT NULL,
`name` varchar(255) NOT NULL,
`remark` varchar(255) NOT NULL,
`cell_id` int(11) NOT NULL,
`operator_id` int(11) NOT NULL,
`textbook_id` int(11) NOT NULL,
PRIMARY KEY (`id`),
KEY `FK_ewys95mialh32bx6kds7ov2gy` (`cell_id`),
KEY `FK_elv950s7qdw3rmia37y92saa4` (`operator_id`),
KEY `FK_dm8rssxrwbdpvht1nktkivy7q` (`textbook_id`),
CONSTRAINT `FK_dm8rssxrwbdpvht1nktkivy7q` FOREIGN KEY (`textbook_id`) REFERENCES `textbook` (`id`),
CONSTRAINT `FK_elv950s7qdw3rmia37y92saa4` FOREIGN KEY (`operator_id`) REFERENCES `operator` (`id`),
CONSTRAINT `FK_ewys95mialh32bx6kds7ov2gy` FOREIGN KEY (`cell_id`) REFERENCES `cell` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of stockcheck
-- ----------------------------
INSERT INTO `stockcheck` VALUES ('1', '1', '2017-12-30', '1', '1', '1', '1', '1');
INSERT INTO `stockcheck` VALUES ('2', '22', '2017-12-30', '1', '方法', '1', '1', '1');
INSERT INTO `stockcheck` VALUES ('3', '66', '2017-12-30', '1', '', '1', '1', '1');
INSERT INTO `stockcheck` VALUES ('4', '22', '2018-01-06', '1', '44', '1', '1', '1');
-- ----------------------------
-- Table structure for `stockmove`
-- ----------------------------
DROP TABLE IF EXISTS `stockmove`;
CREATE TABLE `stockmove` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`amount` int(11) NOT NULL,
`move_date` datetime NOT NULL,
`remark` varchar(255) NOT NULL,
`from_cell_id` int(11) NOT NULL,
`operator_id` int(11) NOT NULL,
`textbook_id` int(11) NOT NULL,
`to_cell_id` int(11) NOT NULL,
PRIMARY KEY (`id`),
KEY `FK_ar7gdalqfprw37uaqywirxqli` (`from_cell_id`),
KEY `FK_cw4upw6c8wmeilvy090x1bnfm` (`operator_id`),
KEY `FK_nx0l882i066vldgfj5930ew7k` (`textbook_id`),
KEY `FK_ppwti17whykix68xd4jw71ksm` (`to_cell_id`),
CONSTRAINT `FK_ppwti17whykix68xd4jw71ksm` FOREIGN KEY (`to_cell_id`) REFERENCES `cell` (`id`),
CONSTRAINT `FK_ar7gdalqfprw37uaqywirxqli` FOREIGN KEY (`from_cell_id`) REFERENCES `cell` (`id`),
CONSTRAINT `FK_cw4upw6c8wmeilvy090x1bnfm` FOREIGN KEY (`operator_id`) REFERENCES `operator` (`id`),
CONSTRAINT `FK_nx0l882i066vldgfj5930ew7k` FOREIGN KEY (`textbook_id`) REFERENCES `textbook` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of stockmove
-- ----------------------------
INSERT INTO `stockmove` VALUES ('1', '1', '2017-12-13 16:36:48', '1', '1', '1', '1', '2');
INSERT INTO `stockmove` VALUES ('2', '1', '2018-01-01 15:14:29', '1', '1', '1', '1', '2');
-- ----------------------------
-- Table structure for `stockreceive`
-- ----------------------------
DROP TABLE IF EXISTS `stockreceive`;
CREATE TABLE `stockreceive` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`amount` int(11) NOT NULL,
`receive_date` datetime NOT NULL,
`remark` varchar(255) NOT NULL,
`operator_id` int(11) NOT NULL,
`supplier_id` int(11) NOT NULL,
`textbook_id` int(11) NOT NULL,
PRIMARY KEY (`id`),
KEY `FK_9o9boxhcqt7ay2ik5nhcdkkuq` (`operator_id`),
KEY `FK_8d5gar5enww2jo8t9efanrkk5` (`supplier_id`),
KEY `FK_fh7y11kgai2im12ca2529sde7` (`textbook_id`),
CONSTRAINT `FK_fh7y11kgai2im12ca2529sde7` FOREIGN KEY (`textbook_id`) REFERENCES `textbook` (`id`),
CONSTRAINT `FK_8d5gar5enww2jo8t9efanrkk5` FOREIGN KEY (`supplier_id`) REFERENCES `supplier` (`id`),
CONSTRAINT `FK_9o9boxhcqt7ay2ik5nhcdkkuq` FOREIGN KEY (`operator_id`) REFERENCES `operator` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of stockreceive
-- ----------------------------
INSERT INTO `stockreceive` VALUES ('1', '1', '2017-12-15 17:26:18', '1', '1', '1', '1');
INSERT INTO `stockreceive` VALUES ('5', '1', '2018-01-06 21:16:58', '了', '1', '1', '1');
-- ----------------------------
-- Table structure for `stock_payment`
-- ----------------------------
DROP TABLE IF EXISTS `stock_payment`;
CREATE TABLE `stock_payment` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`amount` int(11) NOT NULL,
`payment` int(11) NOT NULL,
`receive_date` datetime DEFAULT NULL,
`remark` varchar(255) DEFAULT NULL,
`supplier_id` int(11) DEFAULT NULL,
`textBook_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `FK_hnow4dyp5xuqc6oupu9hwwmi` (`supplier_id`),
KEY `FK_p70ebgx6blq90bx43of7iysc1` (`textBook_id`),
CONSTRAINT `FK_p70ebgx6blq90bx43of7iysc1` FOREIGN KEY (`textBook_id`) REFERENCES `textbook` (`id`),
CONSTRAINT `FK_hnow4dyp5xuqc6oupu9hwwmi` FOREIGN KEY (`supplier_id`) REFERENCES `supplier` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of stock_payment
-- ----------------------------
INSERT INTO `stock_payment` VALUES ('1', '1', '1', '2017-12-30 16:33:41', '1', '1', '1');
-- ----------------------------
-- Table structure for `student`
-- ----------------------------
DROP TABLE IF EXISTS `student`;
CREATE TABLE `student` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`address` varchar(255) NOT NULL,
`birthdate` varchar(255) NOT NULL,
`nativeplace` varchar(255) NOT NULL,
`number` varchar(255) NOT NULL,
`sex` varchar(255) NOT NULL,
`sname` varchar(255) NOT NULL,
`tel` varchar(255) NOT NULL,
`bji_id` int(11) NOT NULL,
PRIMARY KEY (`id`),
KEY `FK_euufugm6yaqukja12l0lbd0l7` (`bji_id`),
CONSTRAINT `FK_euufugm6yaqukja12l0lbd0l7` FOREIGN KEY (`bji_id`) REFERENCES `bji` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of student
-- ----------------------------
INSERT INTO `student` VALUES ('1', '1', '1', '1', '1', '1', '1', '1', '1');
INSERT INTO `student` VALUES ('2', '2', '2', '2', '2', '2', '2', '2', '1');
-- ----------------------------
-- Table structure for `supplier`
-- ----------------------------
DROP TABLE IF EXISTS `supplier`;
CREATE TABLE `supplier` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`address` varchar(255) DEFAULT NULL,
`contactMan` varchar(255) NOT NULL,
`email` varchar(255) DEFAULT NULL,
`name` varchar(255) NOT NULL,
`remark` varchar(255) DEFAULT NULL,
`tel` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of supplier
-- ----------------------------
INSERT INTO `supplier` VALUES ('1', '1', '1', '1', '图书馆', '1', '1');
INSERT INTO `supplier` VALUES ('3', '1', '1', '1', '1', '', '1');
-- ----------------------------
-- Table structure for `textbook`
-- ----------------------------
DROP TABLE IF EXISTS `textbook`;
CREATE TABLE `textbook` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`amount` int(11) NOT NULL,
`author` varchar(255) DEFAULT NULL,
`isbn` varchar(255) DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
`price` double DEFAULT NULL,
`publish` varchar(255) DEFAULT NULL,
`publishdate` datetime DEFAULT NULL,
`remark` varchar(255) DEFAULT NULL,
`version` varchar(255) DEFAULT NULL,
`cell_id` int(11) DEFAULT NULL,
`supplier_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `FK_9dre0w7fm5ukqyut0n80coxv3` (`cell_id`),
KEY `FK_mduo21y6fielddwo6om0be99o` (`supplier_id`),
CONSTRAINT `FK_mduo21y6fielddwo6om0be99o` FOREIGN KEY (`supplier_id`) REFERENCES `supplier` (`id`),
CONSTRAINT `FK_9dre0w7fm5ukqyut0n80coxv3` FOREIGN KEY (`cell_id`) REFERENCES `cell` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of textbook
-- ----------------------------
INSERT INTO `textbook` VALUES ('1', '1', '1', '1', '1', '1', '1', '2017-12-30 16:25:20', '1', '1', '1', '1');
| true |
2b7046d4331c60cac05454ac4d854da4a4071c22 | SQL | dahee0325/study | /daheeDB/mySQL/0702.sql | UTF-8 | 421 | 3.59375 | 4 | [] | no_license | /* CONSTRAINT : 제약조건 */
CREATE TABLE project.DEPT
( DEPTNO int,
DNAME VARCHAR(14),
LOC VARCHAR(13),
CONSTRAINT PK_DEPT PRIMARY KEY (DEPTNO)
);
CREATE TABLE project.EMP
( EMPNO int,
ENAME VARCHAR(10),
JOB VARCHAR(9),
MGR int,
HIREDATE DATE,
SAL int,
COMM int,
DEPTNO int,
CONSTRAINT PK_EMP PRIMARY KEY (EMPNO),
CONSTRAINT FK_DEPTNO FOREIGN KEY (DEPTNO) REFERENCES project.DEPT (DEPTNO)
);
| true |
6194d61d9abc262eabbf2632a05567579cf5053c | SQL | fujie-xiyou/Summer | /Python-MySQL/database.sql | UTF-8 | 1,443 | 3.546875 | 4 | [] | no_license | CREATE DATABASE credit CHARACTER SET utf8;
USE credit;
CREATE TABLE users (
uid int NOT NULL AUTO_INCREMENT PRIMARY KEY COMMENT '主键,自增',
StudentNum char(8) COMMENT '学号',
name text COMMENT '姓名',
per tinyint COMMENT '权限(0为普通用户,1为管理员)',
class text COMMENT '班级',
phone text COMMENT '电话',
pw text COMMENT '密码',
score float COMMENT '已获得学分'
)COMMENT='存放用户信息';
CREATE TABLE record (
rid int NOT NULL AUTO_INCREMENT PRIMARY KEY COMMENT '主键,自增',
uid char(8) COMMENT '对应users表中uid',
aid int COMMENT '对应activity表中aid',
state int COMMENT '状态(0为待审核,1为已通过.2为被驳回)',
date datetime COMMENT '申请时间'
)COMMENT='存放学分申请记录';
CREATE TABLE activity (
aid int NOT NULL AUTO_INCREMENT PRIMARY KEY COMMENT '主键,自增',
score1 float COMMENT '组织者/获奖者学分',
score2 float COMMENT '参与者学分',
type text COMMENT '所属类别',
college text COMMENT '所属学院',
title text COMMENT '活动标题',
content text COMMENT '活动内容',
date_local text COMMENT '活动举办时间/地点',
date_start date COMMENT '学分申请开始时间',
date_end date COMMENT '学分申请截止时间',
sponsor text COMMENT '主办单位',
head text COMMENT '负责人'
)COMMENT='存放学分项目';
| true |
c00ce39d8ed54c7ce356dc1f8b4db3dd5290de58 | SQL | barend-erasmus/epons-data-corrector | /EPONSDataCorrector/script.sql | UTF-8 | 1,627 | 2.828125 | 3 | [
"MIT"
] | permissive | CREATE PROCEDURE [EPONS].[RemoveDuplicatePatient]
@keepPatientId UNIQUEIDENTIFIER,
@removePatientId UNIQUEIDENTIFIER
AS
UPDATE [Audit].[PatientImpairmentGroup]
SET [PatientId] = @keepPatientId
WHERE [PatientId] = @removePatientId;
UPDATE [Patient].[MeasurementTools]
SET [PatientId] = @keepPatientId
WHERE [PatientId] = @removePatientId;
UPDATE [Patient].[SupportServices]
SET [PatientId] = @keepPatientId
WHERE [PatientId] = @removePatientId;
UPDATE [Patient].[TeamMembers]
SET [PatientId] = @keepPatientId
WHERE [PatientId] = @removePatientId;
UPDATE [Visit].[Details]
SET [PatientId] = @keepPatientId
WHERE [PatientId] = @removePatientId;
UPDATE [Patient].[EpisodesOfCare]
SET [PatientId] = @keepPatientId
WHERE [PatientId] = @removePatientId;
UPDATE [Message].[Details]
SET [PatientId] = @keepPatientId
WHERE [PatientId] = @removePatientId;
UPDATE [Survey].[Results]
SET [PatientId] = @keepPatientId
WHERE [PatientId] = @removePatientId;
--DELETE FROM [Audit].[PatientImpairmentGroup]
--WHERE [PatientId] = @removePatientId;
--DELETE FROM [Patient].[MeasurementTools]
--WHERE [PatientId] = @removePatientId;
--DELETE FROM [Patient].[SupportServices]
--WHERE [PatientId] = @removePatientId;
--DELETE FROM [Patient].[TeamMembers]
--WHERE [PatientId] = @removePatientId;
--DELETE [scoreValue] FROM [Visit].[ScoreValues] AS [scoreValue]
--INNER JOIN [Visit].[Details] AS [visit]
--ON [visit].[VisitId] = [scoreValue].[VisitId]
--WHERE [PatientId] = @removePatientId;
--DELETE FROM [Visit].[Details]
--WHERE [PatientId] = @removePatientId;
DELETE FROM [Patient].[Details]
WHERE [PatientId] = @removePatientId; | true |
9a81968c7166f7c1f0ef2ba4af96280996834a38 | SQL | Lala341/SupermarketSQL-SuperAndes | /data/LimpiezaSuperandes.sql | UTF-8 | 2,694 | 3.265625 | 3 | [] | no_license | --- Sentencias SQL para la creacion del esquema de parranderos
--- Las tablas tienen prefijo A_ para facilitar su acceso desde SQL Developer
-- USO
-- Copie el contenido deseado de este archivo en una pestana SQL de SQL Developer
-- Ejecutelo como un script - Utilice el boton correspondiente de la pestana utilizada
-- Eliminar todas las tablas de la base de datos
DROP TABLE "CIUDAD" CASCADE CONSTRAINTS;
DROP TABLE "SUCURSAL" CASCADE CONSTRAINTS;
DROP TABLE "ADMINISTRADOR" CASCADE CONSTRAINTS;
DROP TABLE "ADMINISTRADORSUCURSAL" CASCADE CONSTRAINTS;
DROP TABLE "BODEGA" CASCADE CONSTRAINTS;
DROP TABLE "ESTANTE" CASCADE CONSTRAINTS;
DROP TABLE "CATEGORIA" CASCADE CONSTRAINTS;
DROP TABLE "PERECEDERO" CASCADE CONSTRAINTS;
DROP TABLE "NOPERECEDERO" CASCADE CONSTRAINTS;
DROP TABLE "PRODUCTO" CASCADE CONSTRAINTS;
DROP TABLE "PRODUCTOESTANTE" CASCADE CONSTRAINTS;
DROP TABLE "PRODUCTOBODEGA" CASCADE CONSTRAINTS;
DROP TABLE "CONSUMIDOR" CASCADE CONSTRAINTS;
DROP TABLE "PERSONANATURAL" CASCADE CONSTRAINTS;
DROP TABLE "EMPRESA" CASCADE CONSTRAINTS;
DROP TABLE "FIDELIZACION" CASCADE CONSTRAINTS;
DROP TABLE "VENTA" CASCADE CONSTRAINTS;
DROP TABLE "FACTURA" CASCADE CONSTRAINTS;
DROP TABLE "CARRITOCOMPRAS" CASCADE CONSTRAINTS;
DROP TABLE "PRODUCTOVENTA" CASCADE CONSTRAINTS;
DROP TABLE "PRODUCTOCARRITOCOMPRAS" CASCADE CONSTRAINTS;
DROP TABLE "PROMOCION" CASCADE CONSTRAINTS;
DROP TABLE "PROMOCIONDESCUENTO" CASCADE CONSTRAINTS;
DROP TABLE "PROMOCIONPARTEDESCUENTO" CASCADE CONSTRAINTS;
DROP TABLE "PROMOCIONUNIDAD" CASCADE CONSTRAINTS;
DROP TABLE "PROMOCIONCANTIDAD" CASCADE CONSTRAINTS;
DROP TABLE "PROMOCIONPRODUCTO" CASCADE CONSTRAINTS;
DROP TABLE "PROVEEDORES" CASCADE CONSTRAINTS;
DROP TABLE "PRODUCTOOFRECIDO" CASCADE CONSTRAINTS;
DROP TABLE "ORDENPEDIDO" CASCADE CONSTRAINTS;
COMMMIT;
-- Eliminar el contenido de todas las tablas de la base de datos
-- El orden es importante.
delete from CIUDAD;
delete from SUCURSAL;
delete from ADMINISTRADOR;
delete from ADMINISTRADORSUCURSAL;
delete from BODEGA;
delete from ESTANTE;
delete from CATEGORIA;
delete from PERECEDERO;
delete from NOPERECEDERO;
delete from PRODUCTO;
delete from PRODUCTOESTANTE;
delete from PRODUCTOBODEGA;
delete from CONSUMIDOR;
delete from PERSONANATURAL;
delete from EMPRESA;
delete from FIDELIZACION;
delete from VENTA;
delete from FACTURA;
delete from CARRITOCOMPRAS;
delete from PRODUCTOVENTA;
delete from PRODUCTOCARRITOCOMPRAS;
delete from PROMOCION;
delete from PROMOCIONDESCUENTO;
delete from PROMOCIONPARTEDESCUENTO;
delete from PROMOCIONUNIDAD;
delete from PROMOCIONCANTIDAD;
delete from PROMOCIONPRODUCTO;
delete from PROVEEDORES;
delete from PRODUCTOOFRECIDO;
delete from ORDENPEDIDO;
commit;
| true |
d8f3d1c715f8156607b1efe51e4508b43fba2f4d | SQL | xiongzhengjian/onepiece | /captain/src/main/webapp/doc/sqlscript/bios.sql | UTF-8 | 1,334 | 3.5 | 4 | [] | no_license | create table bios (
bios_id int(11) primary key auto_increment,
chassis varchar(20),
platform varchar(20),
test_type varchar(25),
start datetime,
end datetime,
bios_version varchar(8),
image_build_id varchar(25),
test_plan varchar(100),
tester varchar(15));
describe bios;
insert into bios
(bios_id,owner,chassis,platform,test_type,start,end,bios_version,image_build_id,test_plan,tester)
values
(2,'Sunny','Nicolas','LincsB','bios pre-test','2019-02-05 14:25:30','2019-05-11 11:05:30','F.10','18WW2SVT6AF','CDT-BIOS-Checklist_v4.6_pre-test','littlebear');
alter table bios add column owner varchar(15) after bios_id;
update bios set owner='Yiquan'
where
bios_id = 1;
use luffy;
select bios_id,owner,chassis,platform,test_type,start,end,bios_version,image_build_id,test_plan,tester
from
bios
order by
bios_id desc;
update bios set
owner = 'Yiquan2',
chassis = 'Nicolas',
platform = 'LincsB',
test_type = 'Bios pre-test',
start = '2019-06-08 14:25:30',
end = '2019-06-11 14:25:30',
bios_version = 'F.10',
image_build_id = '18WW2SVT6AF',
test_plan = 'CDT-BIOS-Checklist_v4.6_pre-test',
tester = 'littlebear'
where
bios_id=1;
select * from bios;
select * from bios
order by bios_id desc
limit 5,10;
select count(bios_id) as totalrows from bios;
| true |
9bd189682145a666c518dbc8069831115515d027 | SQL | lupeordaz/csctoss | /tasks/8701_opentaps_change/notes.sql | UTF-8 | 19,321 | 3.6875 | 4 | [] | no_license | SELECT
'"' || be.billing_entity_id || '"' AS oss_billing_entity_id,
'"' || be.name || '"' AS oss_billing_entity_name,
-- '"' || map.jbilling_customer_id || '"' AS jbill_customer_id,
-- '"' || be.billing_entity_id || '"' AS jbill_external_id_customer,
-- '"' || be.name || '"' AS jbill_organization_name,
-- '"' || line.notes || '"' AS jbill_so_number,
'"' || line.line_id || '"' AS oss_line_id,
'"' || line.start_date::timestamp(0) || '"' AS oss_start_date,
'"' || line.end_date::timestamp(0) || '"' AS oss_end_date,
'"' || prd.product_code || '"' AS oss_product_code,
'"' || opt.old_product_code || '"' AS opt_old_product_code,
-- '"' || opt.carrier_internal_product_code || '"' AS opentaps_product_code,
-- '"' || opt.carrier_internal_product_code_descr || '"' AS opentaps_product_code_descr,
'"' || opt.carrier || '"' AS opentaps_carrier,
'"' || line.radius_username || '"' AS line_radius_username,
'"' || line.notes || '"' AS line_notes
FROM billing_entity be
JOIN line ON (be.billing_entity_id = line.billing_entity_id)
JOIN plan ON (line.line_id = plan.line_id)
JOIN product prd ON (plan.product_id = prd.product_id)
LEFT OUTER JOIN oss_jbill_billing_entity_mapping map ON map.oss_billing_entity_id = be.billing_entity_id
LEFT OUTER JOIN
(SELECT
item_id,
old_product_code,
product_code_descr,
carrier,
otaps_product_code,
carrier_internal_product_code,
carrier_internal_product_code_descr
FROM otaps_product_code_translation) opt ON (prd.product_code = opt.old_product_code)
WHERE 1 = 1
AND be.billing_entity_type <> 'INTERNAL'
AND ( line.start_date <= (DATE_TRUNC('month', now()) - '1 day'::interval)::date AND (line.end_date >= (DATE_TRUNC('month', now())) OR line.end_date IS NULL) )
--AND opt.otaps_product_code IS NOT NULL
--AND ((em.carrier = opt.carrier) OR (opt.carrier = 'any'))
--AND (
-- (
-- (CASE
-- WHEN line.radius_username ~ '@vzw' THEN 'VERIZON'
-- WHEN line.radius_username ~ 'sprintpcs' THEN 'SPRINT'
-- WHEN line.radius_username ~ '@uscc' THEN 'USCC'
-- WHEN line.radius_username ~ '@m2m01' THEN 'VODAFONE'
-- ELSE 'any'
-- END
-- ) = opt.carrier)
-- OR (opt.carrier = 'any')
--)
AND line.line_id IN(44532,44835,44836,44837,44838,44839,44840,44841,44842,44843,
44844,44845,44846,44847,44848,44849,44850,44851,44852,44853,44855,44855,44856,
44857,44858,44859,44860,44861,44862,44863,44864,44865,44866,44867,44868,44869,
44870,44871,44872,44873,44874,44875,44876,44877,44878,44879,44880,44881,44882,
44882,44883,44884,44885,44886,44887,44888,44889,44890,44891,44892,44893,44894,
45039,45040,45546,45559,45595,45667,45668,45669,45670,45671,45672,45673,45674,
45675,45676,45677,46260,46261,46262,46263,46264,46265,46266,46267,46268,46269,
46270,46271,46272,46273,46274,46275,46276,46277,46278,46279,46394,46426,46641,
46672,46683,46685,46688,46689,46689,46690,46740,46750,46751,46752,46753,46787,
46788,46789,46883,46884,46929,46930,46931,46932,46933,46934,46935,46936,46937,
46938,46951,46952,46953,46954,46955,46973,46974,46975,46979,46985,46989,46990,
46991,46992,46993,46994,46995,46996,46997,46998,47013,47014,47038,47052,47055,
47056,47057,47058,47059,47060,47061,47062,47063,47087,47088,47140,47146,47147,
47148,47172,47173,47175,47176,47177,47178,47229)
ORDER BY
be.billing_entity_id,
oss_line_id;
--
-[ RECORD 1 ]-----------+----------------------------
oss_billing_entity_id | "699"
oss_billing_entity_name | "Fiserv Cash and Logistics"
oss_line_id | "44835"
oss_start_date | "2017-04-09 00:00:00"
oss_end_date |
oss_product_code | "MRC-CNI-SS-M-0-N-0-3"
opt_old_product_code |
opentaps_carrier |
line_radius_username | "4705327118@vzw3g.com"
line_notes | "SO-11384A"
-[ RECORD 2 ]-----------+----------------------------
oss_billing_entity_id | "699"
oss_billing_entity_name | "Fiserv Cash and Logistics"
oss_line_id | "44836"
oss_start_date | "2017-04-09 00:00:00"
oss_end_date |
oss_product_code | "MRC-CNI-SS-M-0-N-0-3"
opt_old_product_code |
opentaps_carrier |
line_radius_username | "4705327119@vzw3g.com"
line_notes | "SO-11384A"
-[ RECORD 3 ]-----------+----------------------------
oss_billing_entity_id | "699"
oss_billing_entity_name | "Fiserv Cash and Logistics"
oss_line_id | "44837"
oss_start_date | "2017-04-09 00:00:00"
oss_end_date |
oss_product_code | "MRC-CNI-SS-M-0-N-0-3"
opt_old_product_code |
opentaps_carrier |
line_radius_username | "4705327125@vzw3g.com"
line_notes | "SO-11384A"
-[ RECORD 4 ]-----------+----------------------------
oss_billing_entity_id | "699"
oss_billing_entity_name | "Fiserv Cash and Logistics"
oss_line_id | "44838"
oss_start_date | "2017-04-09 00:00:00"
oss_end_date |
oss_product_code | "MRC-CNI-SS-M-0-N-0-3"
opt_old_product_code |
opentaps_carrier |
line_radius_username | "4705327129@vzw3g.com"
line_notes | "SO-11384A"
-[ RECORD 5 ]-----------+----------------------------
oss_billing_entity_id | "699"
oss_billing_entity_name | "Fiserv Cash and Logistics"
oss_line_id | "44839"
oss_start_date | "2017-04-09 00:00:00"
oss_end_date |
oss_product_code | "MRC-CNI-SS-M-0-N-0-3"
opt_old_product_code |
opentaps_carrier |
line_radius_username | "4705327131@vzw3g.com"
line_notes | "SO-11384A"
-[ RECORD 6 ]-----------+----------------------------
oss_billing_entity_id | "699"
oss_billing_entity_name | "Fiserv Cash and Logistics"
oss_line_id | "44840"
oss_start_date | "2017-04-09 00:00:00"
oss_end_date |
oss_product_code | "MRC-CNI-SS-M-0-N-0-3"
opt_old_product_code |
opentaps_carrier |
line_radius_username | "4705327148@vzw3g.com"
line_notes | "SO-11384A"
-[ RECORD 7 ]-----------+----------------------------
oss_billing_entity_id | "699"
oss_billing_entity_name | "Fiserv Cash and Logistics"
oss_line_id | "44841"
oss_start_date | "2017-04-09 00:00:00"
oss_end_date |
oss_product_code | "MRC-CNI-SS-M-0-N-0-3"
opt_old_product_code |
opentaps_carrier |
line_radius_username | "4705327141@vzw3g.com"
line_notes | "SO-11384A"
-[ RECORD 8 ]-----------+----------------------------
oss_billing_entity_id | "699"
oss_billing_entity_name | "Fiserv Cash and Logistics"
oss_line_id | "44842"
oss_start_date | "2017-04-09 00:00:00"
oss_end_date |
oss_product_code | "MRC-CNI-SS-M-0-N-0-3"
opt_old_product_code |
opentaps_carrier |
line_radius_username | "4705327144@vzw3g.com"
line_notes | "SO-11384A"
-[ RECORD 9 ]-----------+----------------------------
oss_billing_entity_id | "756"
oss_billing_entity_name | "Superior Press"
oss_line_id | "44532"
oss_start_date | "2017-01-30 00:00:00"
oss_end_date |
oss_product_code | "MRC-CNI-SS-M-0-N-0-3"
opt_old_product_code |
opentaps_carrier |
line_radius_username | "4704211647@vzw3g.com"
line_notes | "SO-11219"
--
item_id | old_product_code | carrier | otaps_product_code | carrier_internal_product_code
---------+--------------------+----------+--------------------+-------------------------------
8804 | CNI-SC-M-0-N-0-3 | VERIZON | CNI-SC-M-0-N-0-3 | CNI-SC-M-0-N-0-3
8803 | CNI-SS-M-0-N-0-3 | VERIZON | CNI-SS-M-0-N-0-3 | CNI-SS-M-0-N-0-3
707 | MRC-002-01RP-1XU | USCC | O-M-2-P-0-X-0 | M-2-P-0-1-0
707 | MRC-002-01RP-1XU | SPRINT | O-M-2-P-0-X-0 | M-2-P-0-2-0
707 | MRC-002-01RP-1XU | VERIZON | O-M-2-P-0-X-0 | M-2-P-0-3-0
713 | MRC-003-01RP-1XU | USCC | O-M-3-P-0-X-0 | M-3-P-0-1-0
713 | MRC-003-01RP-1XU | SPRINT | O-M-3-P-0-X-0 | M-3-P-0-2-0
6201 | MRC-005-01LP-1XU | USCC | O-M-5-P-0-X-0 | M-5-P-0-1-0-Lease
6201 | MRC-005-01LP-1XU | SPRINT | O-M-5-P-0-X-0 | M-5-P-0-2-0-Lease
6201 | MRC-005-01LP-1XU | VERIZON | O-M-5-P-0-X-0 | M-5-P-0-3-0-Lease
708 | MRC-005-01RP-1XU | USCC | O-M-5-P-0-X-0 | M-5-P-0-1-0
708 | MRC-005-01RP-1XU | SPRINT | O-M-5-P-0-X-0 | M-5-P-0-2-0
708 | MRC-005-01RP-1XU | VERIZON | O-M-5-P-0-X-0 | M-5-P-0-3-0
5600 | MRC-005-01RP-EVV | SPRINT | O-M-5-P-0-X-0 | M-5-P-0-2-0
5600 | MRC-005-01RP-EVV | VERIZON | O-M-5-P-0-X-0 | M-5-P-0-3-0
5600 | MRC-005-01RP-EVV | USCC | O-M-5-P-0-X-0 | M-5-P-0-1-0
8501 | MRC-005-01RP-WCVF | any | O-M-5-P-0-X-0 | M-5-P-0-6-0
2600 | MRC-006-01RP-1XU | USCC | O-M-6-P-0-X-0 | M-6-P-0-1-0
2600 | MRC-006-01RP-1XU | SPRINT | O-M-6-P-0-X-0 | M-6-P-0-2-0
2600 | MRC-006-01RP-1XU | VERIZON | O-M-6-P-0-X-0 | M-6-P-0-3-0
2601 | MRC-007-01RP-1XU | USCC | O-M-7-P-0-X-0 | M-7-P-0-1-0
2601 | MRC-007-01RP-1XU | SPRINT | O-M-7-P-0-X-0 | M-7-P-0-2-0
2602 | MRC-008-01RP-1XU | USCC | O-M-8-P-0-X-0 | M-8-P-0-1-0
2602 | MRC-008-01RP-1XU | SPRINT | O-M-8-P-0-X-0 | M-8-P-0-2-0
2602 | MRC-008-01RP-1XU | VERIZON | O-M-8-P-0-X-0 | M-8-P-0-3-0
2603 | MRC-009-01RP-1XU | USCC | O-M-9-P-0-X-0 | M-9-P-0-1-0
2603 | MRC-009-01RP-1XU | SPRINT | O-M-9-P-0-X-0 | M-9-P-0-2-0
4400 | MRC-010-01RP-EVU | SPRINT | O-M-10-P-0-X-0 | M-10-P-0-2-0
4400 | MRC-010-01RP-EVU | VERIZON | O-M-10-P-0-X-0 | M-10-P-0-3-0
709 | MRC-010-24WP-EMV | any | MRC-010-36WP-EMV | MRC-010-24WP-EMV
712 | MRC-010-36WP-EMV | any | MRC-010-36WP-EMV | MRC-010-36WP-EMV
3400 | MRC-015-01RP-1XU | USCC | O-M-15-P-0-X-0 | M-15-P-0-1-0
3400 | MRC-015-01RP-1XU | VERIZON | O-M-15-P-0-X-0 | M-15-P-0-3-0
3400 | MRC-015-01RP-1XU | SPRINT | O-M-15-P-0-X-0 | M-15-P-0-2-0
2604 | MRC-020-01RP-1XU | USCC | O-M-20-P-0-X-0 | M-20-P-0-1-0
2604 | MRC-020-01RP-1XU | SPRINT | O-M-20-P-0-X-0 | M-20-P-0-2-0
1600 | MRC-020-01RP-4GV | any | O-M-20-P-0-X-0 | M-20-P-0-3-0
5502 | MRC-025-01RP-EVV | VERIZON | O-M-25-P-0-X-0 | M-25-P-0-3-0
2000 | MRC-030-01RP-1XU | USCC | O-M-30-P-0-X-0 | M-30-P-0-1-0
2100 | MRC-050-01RP-1XU | USCC | O-M-50-P-0-X-0 | M-50-P-0-1-0
2100 | MRC-050-01RP-1XU | SPRINT | O-M-50-P-0-X-0 | M-50-P-0-2-0
2100 | MRC-050-01RP-1XU | VERIZON | O-M-50-P-0-X-0 | M-50-P-0-3-0
4302 | MRC-100-01RU-EVU | SPRINT | O-M-100-P-0-X-0 | M-100-P-0-2-0
4302 | MRC-100-01RU-EVU | VERIZON | O-M-100-P-0-X-0 | M-100-P-0-3-0
6505 | MRC-1GB-01RP-EVS | SPRINT | O-M-1024-P-0-X-0 | M-1024-P-0-2-0
6506 | MRC-1GB-01RP-EVV | VERIZON | O-M-1024-P-0-X-0 | M-1024-P-0-3-0
4303 | MRC-200-01RU-EVU | USCC | O-M-200-P-0-X-0 | M-200-P-0-1-0
5900 | MRC-250-01RP-EVV | VERIZON | O-M-250-P-0-X-0 | M-250-P-0-3-0
6000 | MRC-2GB-01RP-EVU | SPRINT | O-M-2048-P-0-X-0 | M-2048-P-0-2-0
5300 | MRC-3GB-01RP-EVU | VERIZON | O-M-3072-P-0-X-0 | M-3072-P-0-3-0
5901 | MRC-400-01RU-EVU | SPRINT | O-M-400-P-0-X-0 | M-400-P-0-2-0
6501 | MRC-500-01RP-EVS | SPRINT | O-M-500-P-0-X-0 | M-500-P-0-2-0
6502 | MRC-500-01RP-EVV | VERIZON | O-M-500-P-0-X-0 | M-500-P-0-3-0
8807 | MRC-500-01RP-VFN | VODAFONE | O-500-P-0-X-0 | M-500-P-0-6-0
5200 | MRC-500-01RU-EVU | SPRINT | O-M-500-P-0-X-0 | M-500-P-0-2-0
5200 | MRC-500-01RU-EVU | VERIZON | O-M-500-P-0-3-0 | M-500-P-0-3-0
7205 | MRC-500-01RU-HWR | any | O-M-500-P-0-5-0 | M-500-P-0-5-0
5500 | MRC-500-24RU-EVV | VERIZON | O-M-500-P-0-X-0 | M-500-P-0-3-0
6507 | MRC-5MB-01RP-EVV | SPRINT | O-M-5-P-0-X-0 | M-5-P-0-2-0
6507 | MRC-5MB-01RP-EVV | VERIZON | O-M-5-P-0-X-0 | M-5-P-0-3-0
6503 | MRC-750-01RP-EVS | SPRINT | O-M-750-P-0-X-0 | M-750-P-0-2-0
6504 | MRC-750-01RP-EVV | VERIZON | O-M-750-P-0-X-0 | M-750-P-0-3-0
4700 | MRC-997-24R-EV | any | MRC-997-24R-EV | MRC-997-24R-EV
710 | MRC-999-12R-EV | any | MRC-999-12R-EV | MRC-999-12R-EV
711 | MRC-999-24R-EV | any | MRC-999-24R-EV | MRC-999-24R-EV
7700 | MRC-Bill-Pro-Fee | any | BILL-PRO-FEE-1 | BILL-PRO-FEE-1
8801 | MRC-CYE1-M-0-N-0-3 | VERIZON | CYE1-M-0-N-0-3 | CYE1-M-0-N-0-3
8802 | MRC-CYS1-M-0-N-0-3 | VERIZON | CYS1-M-0-N-0-3 | CYS1-M-0-N-0-3
9003 | MRC-LEASE-DIAL-LTE | Verizon | MRC-LEASE-DIAL-LTE | MRC-LEASE-DIAL-LTE
9004 | MRC-LEASE-TCP-LTE | Verizon | MRC-LEASE-TCP-LTE | MRC-LEASE-TCP-LTE
5700 | MRC-MISC-DATA | any | MRC-MISC-DATA | MRC-MISC-DATA
8806 | MRC-SECURED-SVC-5G | VERIZON | SECURED-SVC-5G | SECURED-SVC-5G
8600 | MRC-WBK1-01RP-EVV | VERIZON | O-M-WB-P-0-X-0 | M-WB-P-0-3-0
8805 | SECURED-HW | VERIZON | SECURED-HW | SECURED-HW
704 | TB-060-12-1XU | any | TB-060-12-1XU | TB-060-12-1XU
706 | TB-084-12-1XU | any | TB-084-12-1XU | TB-084-12-1XU
1706 | TB-120-12-1XU | any | TB-120-12-1XU | TB-120-12-1XU
1704 | TB-120-24-1XU | any | TB-120-24-1XU | TB-120-24-1XU
1702 | TB-180-36-1XU | any | TB-180-36-1XU | TB-180-36-1XU
1705 | TB-240-24-1XU | any | TB-240-24-1XU | TB-240-24-1XU
1703 | TB-360-36-1XU | any | TB-360-36-1XU | TB-360-36-1XU
--
select * from line where line_id = 44532;
-[ RECORD 1 ]-------------+-----------------------
line_id | 44532
calling_station_id |
line_assignment_type | CUSTOMER ASSIGNED
billing_entity_id | 756
logical_apn |
disabled_apn |
contact_id |
order_id |
employee_id |
billing_entity_address_id | 800
active_flag | t
line_label | 353238060067369
start_date | 2017-01-30 00:00:00+00
end_date |
date_created | 2017-01-30 00:00:00+00
radius_username | 4704211647@vzw3g.com
radius_password |
radius_auth_type |
static_ip_address |
ip_pool |
proxy_access |
session_timeout_seconds |
idle_timeout_seconds |
primary_dns |
secondary_dns |
current_plan_id |
previous_line_id |
notes | SO-11219
additional_info |
--
oss_billing_entity_id,oss_billing_entity_name,jbill_customer_id,jbill_external_id_customer,jbill_organization_name,jbill_so_number,oss_line_id,oss_start_date,oss_end_date,oss_product_code,opentaps_product_code,opentaps_product_code_descr,opentaps_carrier,line_radius_username,line_notes
SELECT
'"' || be.billing_entity_id || '"' AS oss_billing_entity_id,
'"' || be.name || '"' AS oss_billing_entity_name,
'"' || map.jbilling_customer_id || '"' AS jbill_customer_id,
'"' || be.billing_entity_id || '"' AS jbill_external_id_customer,
'"' || be.name || '"' AS jbill_organization_name,
'"' || line.notes || '"' AS jbill_so_number,
'"' || line.line_id || '"' AS oss_line_id,
'"' || line.start_date::timestamp(0) || '"' AS oss_start_date,
'"' || line.end_date::timestamp(0) || '"' AS oss_end_date,
'"' || prd.product_code || '"' AS oss_product_code,
'"' || opt.carrier_internal_product_code || '"' AS opentaps_product_code,
'"' || opt.carrier_internal_product_code_descr || '"' AS opentaps_product_code_descr,
'"' || opt.carrier || '"' AS opentaps_carrier,
'"' || line.radius_username || '"' AS line_radius_username,
'"' || line.notes || '"' AS line_notes
FROM billing_entity be
JOIN line ON (be.billing_entity_id = line.billing_entity_id)
JOIN plan ON (line.line_id = plan.line_id)
JOIN product prd ON (plan.product_id = prd.product_id)
LEFT OUTER JOIN oss_jbill_billing_entity_mapping map ON map.oss_billing_entity_id = be.billing_entity_id
--JOIN line_equipment le ON (line.line_id = le.line_id)
--JOIN equipment eq ON (le.equipment_id = eq.equipment_id)
--JOIN equipment_model em ON (eq.equipment_model_id = em.equipment_model_id)
--JOIN dblink(fetch_jbilling_conn(),
--'
--SELECT
-- cust.user_id AS jbill_customer_id,
-- cont.organization_name AS jbill_organization_name,
-- po.id AS jbill_order_id,
-- po.public_number AS jbill_so_number,
-- po.status_id AS jbill_status_id,
-- pl.line_id AS jbill_line_id,
-- cust.external_id AS jbill_external_id_customer
--FROM purchase_order po
--JOIN prov_line pl ON (po.id = pl.order_id)
--JOIN customer cust ON (po.user_id = cust.user_id)
--JOIN contact cont ON (cust.user_id = cont.user_id)
--WHERE 1 = 1
--AND po.status_id = 16
--AND po.deleted = 0
--AND pl.archived IS NULL
--') AS jbill (jbill_customer_id int, jbill_organization_name text, jbill_order_id int, jbill_so_number text, jbill_status_id int, jbill_line_id int, jbill_external_id_customer int)
--ON (line.line_id = jbill.jbill_line_id)
LEFT OUTER JOIN
(SELECT
item_id,
old_product_code,
product_code_descr,
carrier,
otaps_product_code,
carrier_internal_product_code,
carrier_internal_product_code_descr
FROM otaps_product_code_translation) opt ON (prd.product_code = opt.old_product_code)
WHERE 1 = 1
AND be.billing_entity_type <> 'INTERNAL'
AND ( line.start_date <= (DATE_TRUNC('month', now()) - '1 day'::interval)::date AND (line.end_date >= (DATE_TRUNC('month', now())) OR line.end_date IS NULL) )
--AND opt.otaps_product_code IS NOT NULL
--AND ((em.carrier = opt.carrier) OR (opt.carrier = 'any'))
AND (
(
(CASE
WHEN line.radius_username ~ '@vzw' THEN 'VERIZON'
WHEN line.radius_username ~ 'sprintpcs' THEN 'SPRINT'
WHEN line.radius_username ~ '@uscc' THEN 'USCC'
WHEN line.radius_username ~ '@m2m01' THEN 'VODAFONE'
ELSE 'any'
END
) = opt.carrier)
OR (opt.carrier = 'any')
)
-- Added by Shibuya
AND prd.product_code IN ('MRC-CYS1-M-0-N-0-3','MRC-CNI-SS-M-0-N-0-3','MRC-CNI-SC-M-0-N-0-3')
-- Added by Shibuya
AND opt.old_product_code IN ('MRC-CYS1-M-0-N-0-3','CNI-SS-M-0-N-0-3','CNI-SC-M-0-N-0-3')
ORDER BY
be.billing_entity_id,
oss_line_id
;
UPDATE otaps_product_code_translation
SET old_product_code = 'MRC-CNI-SS-M-0-N-0-3'
WHERE item_id = 8803;
UPDATE otaps_product_code_translation
SET old_product_code = 'MRC-CNI-SC-M-0-N-0-3'
WHERE item_id = 8804;
| true |
56c6792008343fdc4b4cb70ac9976e5ee004e9a9 | SQL | neron0202/3.4.sql_insert_select_requests | /3.4.2_select_requests.sql | UTF-8 | 355 | 3.03125 | 3 | [] | no_license | SELECT title, release_year FROM album
WHERE release_year=2018;
SELECT title, duration FROM track
ORDER BY duration DESC
LIMIT 1;
SELECT title FROM track
WHERE duration>=210;
SELECT title FROM mixtape
WHERE release_year BETWEEN 2018 AND 2020;
SELECT name FROM singer
WHERE NOT name LIKE '%% %%';
SELECT title FROM track
WHERE title iLIKE '%%my%%';
| true |
41be054a9cec5a954c3584037e1346ac7de2d2ef | SQL | kirrencovey/chinook-kirrencovey | /sql-queries/18_sales_agent_total_sales.sql | UTF-8 | 381 | 4.03125 | 4 | [] | no_license | -- Provide a query that shows total sales made by each sales agent.
SELECT CONCAT(e.FirstName, ' ', e.LastName) SalesAgent, t.TotalSales
FROM Employee e
JOIN (
SELECT e.EmployeeId, SUM(i.Total) TotalSales
FROM Employee e
JOIN Customer c ON c.SupportRepId = e.EmployeeId
JOIN Invoice i ON i.CustomerId = c.CustomerId
GROUP BY e.EmployeeId
) t ON t.EmployeeId = e.EmployeeId; | true |
041189b62145af4cad4db45533faaafb480a66d5 | SQL | patrikheinonen/TextAdventure | /TekstiseikkailupeliDUus.sql | UTF-8 | 12,779 | 3.296875 | 3 | [] | no_license | DROP DATABASE IF EXISTS tekstiseikkailuTEST;
#luodaan uusi, tyhjä demoquest-tietotaknta
CREATE DATABASE tekstiseikkailuTEST;
USE tekstiseikkailuTEST;
CREATE TABLE LOCATION (
Id VARCHAR(10) NOT NULL,
Description VARCHAR(120),
Details VARCHAR(1000),
PRIMARY KEY (Id)
) ENGINE=InnoDB;
CREATE TABLE PLAYER (
Id VARCHAR(10) NOT NULL,
Location VARCHAR(10) NOT NULL,
PRIMARY KEY (Id),
FOREIGN KEY (Location) REFERENCES LOCATION(Id)
) ENGINE=InnoDB;
CREATE TABLE OBJECT (
Id VARCHAR(30) NOT NULL,
Description VARCHAR(40),
Refname VARCHAR(40),
Details VARCHAR(1000),
Location VARCHAR(10),
Available BOOLEAN,
Takeable BOOLEAN,
PlayerId VARCHAR(10),
Lvl INT(1),
PRIMARY KEY (Id),
FOREIGN KEY (Location) REFERENCES LOCATION(Id),
FOREIGN KEY (PlayerId) REFERENCES PLAYER(Id)
) ENGINE=InnoDB;
CREATE TABLE ENEMIES (
Id VARCHAR(30) NOT NULL,
Description VARCHAR(1000),
Refname VARCHAR(40),
Location VARCHAR(10),
Relation VARCHAR (10),
Lvl INT(1),
PRIMARY KEY (Id),
FOREIGN KEY (Location) REFERENCES LOCATION (Id)
) ENGINE=InnoDB;
CREATE TABLE DIRECTION (
Id VARCHAR(10) NOT NULL,
Description VARCHAR(40),
PRIMARY KEY (Id)
) ENGINE=InnoDB;
CREATE TABLE PASSAGE (
Id INT NOT NULL,
Source VARCHAR(10),
Destination VARCHAR(10),
Direction VARCHAR(10),
Locked BOOLEAN,
PRIMARY KEY (Id),
FOREIGN KEY (Source) REFERENCES LOCATION(Id),
FOREIGN KEY (Destination) REFERENCES LOCATION(Id),
FOREIGN KEY (Direction) REFERENCES DIRECTION(Id)
) ENGINE=InnoDB;
INSERT INTO LOCATION VALUES ('Shelter1', 'A Small tent', 'Smells weird. There is some torches behind Lisa. They must be usefull in here.');
INSERT INTO LOCATION VALUES ('Shelter2', 'A Large tent', 'Looks comfortable. Steve has a large collection of various items.');
INSERT INTO LOCATION VALUES ('Camparea', 'Camp area', 'There are some survivors! Some of the people are staring at you, but they are more focused on doing their own things. Maybe there is someone who likes to talk?');
INSERT INTO LOCATION VALUES ('Fdeck', 'Flight deck', 'You look around and notice that everything is broken.');
INSERT INTO LOCATION VALUES ('planepiece', 'My crashed plane', 'Looks like I am the only one who survived the crash. Maybe I could find something useful?');
INSERT INTO LOCATION VALUES ('MountRoot', 'A rocky mountain root', 'Theres large rocks here, but you found nothing interesting.');
INSERT INTO LOCATION VALUES ('MRL', 'Mountain root and a lake', 'Beautiful lake with fresh water.');
INSERT INTO LOCATION VALUES ('MountRoot2', 'A Steep mountain root', 'Thats a very steep mountain theres no way to climb it!');
INSERT INTO LOCATION VALUES ('JngPlane', 'An old WW II warplane', 'That looks amazing! Maybe I could find a use for some of the planeparts?');
INSERT INTO LOCATION VALUES ('Jng1', 'Jungle with swamps', 'A smelly swamp in the middle of a jungle?');
INSERT INTO LOCATION VALUES ('Jng2', 'Jungle with thick vegetation', 'Its hard to move around here.');
INSERT INTO LOCATION VALUES ('AbaCmp', 'A abandoned camp', 'It looks like this place was abandoned recently ... There is a lot of broken stuff in here.');
INSERT INTO LOCATION VALUES ('Grave', 'A graveyard', 'Its very scary in here, the graves are in bad shape and the sunlight is blocked by trees.');
INSERT INTO LOCATION VALUES ('StartBch','Awakening beach', 'My plane crash-landed and I woke up here.');
INSERT INTO LOCATION VALUES ('Bch', 'More beach', 'Sand, sand and sand. There is nothing interesting, but I can see a shipwreck far in the south.');
INSERT INTO LOCATION VALUES ('BchWs', 'Beach and a shipwreck', 'When you examine the ship you see that it has been fixed. It is possible to escape from the island! But why is it still here?');
INSERT INTO LOCATION VALUES ('Jng3', 'Rocky jungle', 'Huge rocky clifs.');
INSERT INTO LOCATION VALUES ('Cave', 'A cave!', 'Why are there locked doors?');
INSERT INTO LOCATION VALUES ('Tomb', 'A tomb?', 'Who is buried in here? Oh wait! There is an armour and a sword hanging from the roof! How could i get them down?');
INSERT INTO LOCATION VALUES ('Freedom', 'Freedom', 'The island behind me looks smaller and smaller. ');
INSERT INTO LOCATION VALUES ('Sea', 'Ship', 'The ship that the survivors repaired. Wood everywhere.');
INSERT INTO LOCATION VALUES ('Dead', 'You died!', 'I do not like this company...');
INSERT INTO PLAYER VALUES('Player','StartBch');
INSERT INTO DIRECTION VALUES ('n', 'North');
INSERT INTO DIRECTION VALUES ('s', 'South');
INSERT INTO DIRECTION VALUES ('e', 'East');
INSERT INTO DIRECTION VALUES ('w', 'West');
INSERT INTO DIRECTION VALUES ('sw', 'Southwest');
INSERT INTO DIRECTION VALUES ('ne', 'Northeast');
INSERT INTO PASSAGE VALUES (1, 'Shelter1', 'Camparea', 's', FALSE);
INSERT INTO PASSAGE VALUES (2, 'Camparea', 'Shelter1','n',FALSE);
INSERT INTO PASSAGE VALUES (3, 'Shelter2', 'Camparea', 'w', FALSE);
INSERT INTO PASSAGE VALUES (4, 'Camparea', 'Shelter2', 'e', FALSE);
INSERT INTO PASSAGE VALUES (5, 'Camparea', 'planepiece', 's', FALSE);
INSERT INTO PASSAGE VALUES (6, 'planepiece', 'Camparea', 'n', FALSE);
INSERT INTO PASSAGE VALUES (7, 'planepiece', 'Fdeck', 'ne', FALSE);
INSERT INTO PASSAGE VALUES (8, 'Fdeck', 'planepiece', 's', FALSE);
INSERT INTO PASSAGE VALUES (9, 'planepiece', 'MountRoot', 'w', FALSE);
INSERT INTO PASSAGE VALUES (10, 'MountRoot', 'planepiece', 'e', FALSE);
INSERT INTO PASSAGE VALUES (11, 'planepiece', 'Jng2', 'e', FALSE);
INSERT INTO PASSAGE VALUES (12, 'Jng2', 'planepiece', 'w', FALSE);
INSERT INTO PASSAGE VALUES (13, 'planepiece', 'Jng1', 's', FALSE);
INSERT INTO PASSAGE VALUES (14, 'Jng1', 'planepiece', 'n', FALSE);
INSERT INTO PASSAGE VALUES (15, 'MountRoot', 'MRL', 's', FALSE);
INSERT INTO PASSAGE VALUES (16, 'MRL', 'MountRoot', 'n', FALSE);
INSERT INTO PASSAGE VALUES (17, 'MRL', 'MountRoot2', 's', FALSE);
INSERT INTO PASSAGE VALUES (18, 'MountRoot2', 'MRL', 'n', FALSE);
INSERT INTO PASSAGE VALUES (19, 'MountRoot2', 'JngPlane', 'e', FALSE);
INSERT INTO PASSAGE VALUES (20, 'JngPlane', 'MountRoot2', 'w', FALSE);
INSERT INTO PASSAGE VALUES (21, 'JngPlane', 'Jng1', 'n', FALSE);
INSERT INTO PASSAGE VALUES (22, 'Jng1', 'JngPlane', 's', FALSE);
INSERT INTO PASSAGE VALUES (23, 'JngPlane', 'Jng3', 's', FALSE);
INSERT INTO PASSAGE VALUES (24, 'Jng3', 'JngPlane', 'n', FALSE);
INSERT INTO PASSAGE VALUES (25, 'JngPlane', 'Grave', 'e', FALSE);
INSERT INTO PASSAGE VALUES (26, 'Grave', 'JngPlane', 'w', FALSE);
INSERT INTO PASSAGE VALUES (27, 'Jng1', 'AbaCmp', 'e', FALSE);
INSERT INTO PASSAGE VALUES (28, 'AbaCmp', 'Jng1', 'w', FALSE);
INSERT INTO PASSAGE VALUES (29, 'Jng2', 'AbaCmp', 's', FALSE);
INSERT INTO PASSAGE VALUES (30, 'AbaCmp', 'Jng2', 'n', FALSE);
INSERT INTO PASSAGE VALUES (31, 'Jng2', 'StartBch', 'e', FALSE);
INSERT INTO PASSAGE VALUES (32, 'StartBch', 'Jng2', 'w', FALSE);
INSERT INTO PASSAGE VALUES (33, 'AbaCmp', 'Grave', 's', FALSE);
INSERT INTO PASSAGE VALUES (34, 'Grave', 'AbaCmp', 'n', FALSE);
INSERT INTO PASSAGE VALUES (35, 'AbaCmp', 'Bch', 'e', FALSE);
INSERT INTO PASSAGE VALUES (36, 'Bch', 'AbaCmp', 'w', FALSE);
INSERT INTO PASSAGE VALUES (37, 'Grave', 'Jng3', 's', FALSE);
INSERT INTO PASSAGE VALUES (38, 'Jng3', 'Grave', 'ne', FALSE);
INSERT INTO PASSAGE VALUES (39, 'Grave', 'BchWs', 'e', FALSE);
INSERT INTO PASSAGE VALUES (40, 'BchWs', 'Grave', 'w', FALSE);
INSERT INTO PASSAGE VALUES (41, 'Jng3', 'BchWs', 'e', FALSE);
INSERT INTO PASSAGE VALUES (42, 'BchWs', 'Jng3', 'sw', FALSE);
INSERT INTO PASSAGE VALUES (43, 'Jng3', 'Cave', 'w', TRUE);
INSERT INTO PASSAGE VALUES (44, 'Cave', 'Jng3', 'e', FALSE);
INSERT INTO PASSAGE VALUES (45, 'Cave', 'Tomb', 'w', TRUE);
INSERT INTO PASSAGE VALUES (46, 'Tomb', 'Cave', 'e', FALSE);
INSERT INTO PASSAGE VALUES (47, 'BchWs', 'Bch', 'n', FALSE);
INSERT INTO PASSAGE VALUES (48, 'Bch', 'BchWs', 's', FALSE);
INSERT INTO PASSAGE VALUES (49, 'StartBch', 'Bch', 's', FALSE);
INSERT INTO PASSAGE VALUES (50, 'Bch', 'StartBch', 'n', FALSE);
INSERT INTO PASSAGE VALUES (51, 'BchWs', 'Sea', 'e', FALSE);
INSERT INTO PASSAGE VALUES (52, 'Jng1', 'MRL', 'w', FALSE);
INSERT INTO PASSAGE VALUES (53, 'MRL', 'Jng1', 'e', FALSE);
INSERT INTO PASSAGE VALUES (54, 'Sea', 'Freedom', 'e', FALSE);
#INSERT INTO OBJECT VALUES(Id, dESCRIPTION, refname, details, location, available, takeable, plaeyrid, level);
INSERT INTO OBJECT VALUES('WSTICK', 'Looks like a stick., smells funny.', 'WoodStick', 'fell from a tree', 'Jng2', TRUE, TRUE, NULL,0);
INSERT INTO OBJECT VALUES('RSWORD', 'Its a rusty sword.', 'RustySword', 'It is very dull and rusty. Looks like it has been here for a while.', 'BchWs', TRUE, TRUE, NULL, 1);
INSERT INTO OBJECT VALUES('SSWORD', 'Its a steel sword.', 'SteelSword', 'A proper sword, looks like it is very sharp.', 'Camparea', TRUE, TRUE, NULL, 2);
INSERT INTO OBJECT VALUES('SOLSWORD', 'This must be a Sword of Light.', 'LightSword', 'A mythical sword, looks like it fell from an angel.', 'Grave', TRUE, TRUE, NULL, 3);
INSERT INTO OBJECT VALUES('MSWORD', 'A powerfull sword.', 'MasterSword', 'A godlike sword, crafted by god himself.', 'Tomb', TRUE, FALSE, NULL, 4);
INSERT INTO OBJECT VALUES('MARMOUR', 'A powerfull armour.', 'Armour', 'A godlike armor, crafted by god himself.', 'Tomb', TRUE, FALSE, NULL, 0);
INSERT INTO OBJECT VALUES('GKEY', 'A green key.', 'GreenKey', 'Shines with green light.', 'Jng2', FALSE, TRUE, NULL, 0);
INSERT INTO OBJECT VALUES('BKEY', 'A blue key.', 'BlueKey', 'Shines with blue light.', 'MRL', TRUE, TRUE, NULL, 0);
INSERT INTO OBJECT VALUES('RKEY', 'A red key.', 'RedKey', 'Shines with red light.', 'Shelter2', TRUE, TRUE, NULL, 0);
INSERT INTO OBJECT VALUES('SHCOG', 'Are they serious?', 'SircularSaw', 'In my opinion it looks more like a sharp cogwheel...', 'Camparea', TRUE, TRUE, NULL, 0);
INSERT INTO OBJECT VALUES('SCOG', 'A small Cog Wheel.', 'SmallCogWheel', 'This must be usefull in somewhere.', 'JngPlane', TRUE, TRUE, NULL, 0);
INSERT INTO OBJECT VALUES('LCOG', 'A large cog wheel.', 'LargeCogWheel', 'This must be usefull in somewhere.', 'AbaCmp', TRUE, TRUE, NULL, 0);
INSERT INTO OBJECT VALUES('COCO', 'Juicy coconut. ', 'Coconut', 'It does look good.', 'StartBch', TRUE, TRUE, NULL, 0);
INSERT INTO OBJECT VALUES('ROPE', 'Short peace of rope.', 'Rope', 'It is not old neither strong.', 'AbaCmp', TRUE, TRUE, NULL, 0);
INSERT INTO OBJECT VALUES('LIGHTER', 'Working lighter.', 'Lighter', 'Who took a lighter into a plane?', 'Fdeck', TRUE, TRUE, NULL, 0);
INSERT INTO OBJECT VALUES('TORCH', 'Torch.', 'Torch', 'I can lighten a place with this', 'Shelter1', TRUE, TRUE, NULL, 0);
INSERT INTO OBJECT VALUES('ROCK', 'Stone.', 'Stone', 'Maybe I could throw it?', 'Tomb', TRUE, TRUE, NULL, 0);
INSERT INTO OBJECT VALUES('CAVEENTR', 'Entrance to the cave.', 'cavehole', 'Its so dark in there. It is too dangereous to go in.', 'Jng3', TRUE, FALSE, NULL, 0);
INSERT INTO OBJECT VALUES('STONEDOOR', 'Stonedoor.', 'stonedoor', 'it looks like some kind of spinning objects are missing from the door.', 'Cave', TRUE, FALSE, NULL, 0);
INSERT INTO OBJECT VALUES('TOMBENTR', 'Entrance to the tomb.', 'Tombdoor', 'There is a keyhole. Above the keyhole theres a riddle that goes: To enter you must posses the colour of life.', 'Cave', FALSE, FALSE, NULL, 0);
INSERT INTO ENEMIES VALUES('Spider1', 'A giant spider!I have never seen anything like that!','giantspider','Jng1', 'Enemy', 2);
INSERT INTO ENEMIES VALUES('Spider2', 'It is a massive! I have never seen anything like that!','giantspider','AbaCmp', 'Enemy', 2);
INSERT INTO ENEMIES VALUES('Spider3', 'It is a massive! I have never seen anything like that!','giantspider','Grave', 'Enemy', 2);
INSERT INTO ENEMIES VALUES('Spider4', 'A giant spider! I have never seen anything like that!','giantspider','JngPlane', 'Enemy', 2);
INSERT INTO ENEMIES VALUES('Troll1', 'Am I dreaming? That cant be real!','troll','Tomb', 'Enemy', 3);
INSERT INTO ENEMIES VALUES('Troll2', 'Am I dreaming? That cant be real!','troll','MRL', 'Enemy', 3);
INSERT INTO ENEMIES VALUES('Troll3', 'It looks very angry!','troll','Jng3', 'Enemy', 3);
INSERT INTO ENEMIES VALUES('Troll4', 'It looks very angry!','troll','Cave', 'Enemy', 3);
INSERT INTO ENEMIES VALUES('Mainboss', 'It must be a monster from darkest nightmares!','demon','Sea', 'Enemy', 4);
INSERT INTO ENEMIES VALUES('Marco', 'He is a seasoned adventurer stuck in the island like you.','marco','Camparea', 'Neutral', 1);
INSERT INTO ENEMIES VALUES('Lisa', 'She is a middle aged woman who knows how to create torches.','lisa','Shelter1', 'Neutral', 1);
INSERT INTO ENEMIES VALUES('Steve', 'He likes to lay in his bed and relax. ','steve','Shelter2', 'Neutral', 1);
| true |
2434ab237d79743d3563cd1596fa19e836fef8a5 | SQL | mohamedrasvi/usermanagement | /user.sql | UTF-8 | 2,550 | 2.921875 | 3 | [
"MIT"
] | permissive | -- phpMyAdmin SQL Dump
-- version 4.5.4.1deb2ubuntu2
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Dec 06, 2017 at 03:41 PM
-- Server version: 5.7.16-0ubuntu0.16.04.1
-- PHP Version: 5.6.30-7+deb.sury.org~xenial+1
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `user`
--
-- --------------------------------------------------------
--
-- Table structure for table `migrations`
--
CREATE TABLE `migrations` (
`id` int(10) UNSIGNED NOT NULL,
`migration` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`batch` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `migrations`
--
INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
(1, '2017_12_06_152720_create_user_table', 1);
-- --------------------------------------------------------
--
-- Table structure for table `user`
--
CREATE TABLE `user` (
`id` int(10) UNSIGNED NOT NULL,
`name` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL,
`email` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `user`
--
INSERT INTO `user` (`id`, `name`, `email`, `created_at`, `updated_at`) VALUES
(1, 'rasvi', 'rasvihostings@gmail.com', '2017-12-06 18:37:47', '2017-12-06 18:37:47'),
(2, 'learnardo', 'larnardo@gmail.com', '2017-12-06 18:38:23', '2017-12-06 18:38:23'),
(3, 'adriano', 'adriano1@gmail.com', '2017-12-06 18:38:44', '2017-12-06 19:10:16');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `migrations`
--
ALTER TABLE `migrations`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `user`
--
ALTER TABLE `user`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `migrations`
--
ALTER TABLE `migrations`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `user`
--
ALTER TABLE `user`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
/*!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 |
64f3d6a6c2bbb84f9ff8120b97dce4a9a40f280f | SQL | jworkman119/HTC | /Legacy/Macola_SQL/Osceola_Orders.sql | UTF-8 | 899 | 3.453125 | 3 | [] | no_license | select cmp_name as customer
, rtrim(Family.fam1) as FamilyCode
,Family.Fam2 as Description
, cast(sum(oe.qty_ordered)as Int) as Qty
, year(request_dt) as year
from oelinhst_sql as OE
join cicmpy as Customers on OE.cus_no = Customers.cmp_code
join items on OE.item_no = items.ItemCode
left join zzzhtc_family as Family on items.itemcode = Family.item
where Family.fam1 is not NULL
and ltrim(cus_no) in (
'92951'
,'70829'
,'93067'
,'85145'
,'92463'
,'85148'
,'91283'
,'88388'
,'81124'
,'72351'
,'72582'
,'72867'
,'73151'
,'90514'
,'79401'
,'78854'
,'91287'
,'73566'
,'73663'
,'81743'
,'78659'
,'73817'
,'91292'
,'90315'
,'84185'
,'91297'
,'75023'
,'86003'
,'91303'
,'80703'
,'90318'
,'77751'
,'90721'
)
group by cmp_name
, Family.fam1
,Family.Fam2
, year(request_dt)
order by cmp_name, year
| true |
2045a0cb347254e42e66f0fe7707200d5ee49717 | SQL | vijaydairyf/TimelyFish | /SolomonApp/dbo/Stored Procedures/dbo.ADG_UpdtShip_OpenShipperLineCnt.sql | UTF-8 | 613 | 3.453125 | 3 | [] | no_license | create proc ADG_UpdtShip_OpenShipperLineCnt
@CpnyID varchar(10),
@OrdNbr varchar(15),
@OrdLineRef varchar(5),
@OrdSchedRef varchar(5),
@ShipperID varchar(15) -- Current ShipperID (for exclusion).
as
select count(*)
from SOShipLine L join SOShipSched S
on L.CpnyID = S.CpnyID
and L.ShipperID = S.ShipperID
and L.LineRef = S.ShipperLineRef
where L.CpnyID = @CpnyID
and L.OrdNbr = @OrdNbr
and L.OrdLineRef = @OrdLineRef
and S.OrdSchedRef = @OrdSchedRef
and L.ShipperID <> @ShipperID
and L.Status = 'O'
-- Copyright 1998 by Advanced Distribution Group, Ltd. All rights reserved.
| true |
95a6d5513e4ae9ed0cddcc9dc266b4db3eecedf5 | SQL | Aslan773438/CUNY | /DATA607/Week2/movies.sql | UTF-8 | 1,541 | 3.671875 | 4 | [] | no_license | CREATE DATABASE IF NOT EXISTS movies;
DROP TABLE IF EXISTS movie_names;
CREATE TABLE movie_names
(
movie_name varchar(100) NOT NULL
);
DROP TABLE IF EXISTS movie_ratings;
CREATE TABLE movie_ratings
(
user_id int NOT NULL,
movie_name varchar(100) NOT NULL,
rating int NOT NULL
);
INSERT INTO movie_names (movie_name)
VALUES
('Star Wars: The Force Awakens'),
('Ride Along 2'),
('The Revenant'),
('Kung Fu Panda 3'),
('Deadpool'),
('Zootopia');
SELECT * FROM movie_names;
INSERT INTO movie_ratings (user_id, movie_name, rating)
VALUES
(1, 'Star Wars: The Force Awakens', 1),
(1, 'Ride Along 2', 2),
(1, 'The Revenant', 5),
(1, 'Kung Fu Panda 3', 5),
(1, 'Deadpool', 5),
(1, 'Zootopia', 5),
(2, 'Star Wars: The Force Awakens', 3),
(2, 'Ride Along 2', 1),
(2, 'The Revenant', 3),
(2, 'Kung Fu Panda 3', 2),
(2, 'Deadpool', 4),
(2, 'Zootopia', 1),
(3, 'Star Wars: The Force Awakens', 2),
(3, 'Ride Along 2', 1),
(3, 'The Revenant', 4),
(3, 'Kung Fu Panda 3', 5),
(3, 'Deadpool', 2),
(3, 'Zootopia', 5),
(4, 'Star Wars: The Force Awakens', 3),
(4, 'Ride Along 2', 3),
(4, 'The Revenant', 1),
(4, 'Kung Fu Panda 3', 3),
(4, 'Deadpool', 2),
(4, 'Zootopia', 3),
(5, 'Star Wars: The Force Awakens', 4),
(5, 'Ride Along 2', 4),
(5, 'The Revenant', 2),
(5, 'Kung Fu Panda 3', 2),
(5, 'Deadpool', 3),
(5, 'Zootopia', 1);
SELECT * FROM movie_ratings;
-- TRUNCATE TABLE movie_names;
-- TRUNCATE TABLE movie_ratings; | true |
bf55a4129dafc14569ef8497d5079b1ed933be4a | SQL | NTXpro/NTXbases_de_datos | /DatabaseNTXpro/ERP/Stored Procedures/Procs1/Usp_Sel_SCTR_By_ID.sql | UTF-8 | 274 | 3.359375 | 3 | [] | no_license | CREATE PROC [ERP].[Usp_Sel_SCTR_By_ID]
@IdSctr INT
AS
BEGIN
SELECT SC.* ,
PE.*,
SA.*
FROM ERP.SCTR SC
INNER JOIN Maestro.TipoPension PE ON PE.ID = SC.IdTipoPension
INNER JOIN Maestro.TipoSalud SA ON SA.ID = SC.IdTipoSalud
WHERE SC.ID = @IdSctr
END
| true |
f4526afee9141d40dd2375546302c11786ad5be6 | SQL | parvaz380/Online_car_parking_and_rent_system | /ocps.sql | UTF-8 | 2,314 | 2.96875 | 3 | [] | no_license | -- phpMyAdmin SQL Dump
-- version 5.0.2
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Dec 14, 2020 at 03:03 PM
-- Server version: 10.4.14-MariaDB
-- PHP Version: 7.4.10
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: `ocps`
--
-- --------------------------------------------------------
--
-- Table structure for table `admin_login`
--
CREATE TABLE `admin_login` (
`username` varchar(50) NOT NULL,
`password` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `admin_login`
--
INSERT INTO `admin_login` (`username`, `password`) VALUES
('admin', 'pass'),
('', '');
-- --------------------------------------------------------
--
-- Table structure for table `clients_info`
--
CREATE TABLE `clients_info` (
`make` varchar(50) NOT NULL,
`car_model` varchar(50) NOT NULL,
`reg_num` varchar(50) NOT NULL,
`car_color` varchar(50) NOT NULL,
`contact` int(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `clients_info`
--
INSERT INTO `clients_info` (`make`, `car_model`, `reg_num`, `car_color`, `contact`) VALUES
('car ', 'BMW', '123434', 'Blue', 1765443562),
('car ', 'Toy', '00099998888', 'Rainbow', 1777479800),
('car ', 'Ferrari', '77778888555', 'Yellow', 1976009134),
('car ', 'Mustang', '124589076', 'Pink', 1775814809),
('car ', 'Jaguar', '8764876365', 'Solid', 17658907);
-- --------------------------------------------------------
--
-- Table structure for table `user`
--
CREATE TABLE `user` (
`name` text NOT NULL,
`email` varchar(55) NOT NULL,
`password` varchar(55) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `user`
--
INSERT INTO `user` (`name`, `email`, `password`) VALUES
('parvez', 'yeasin@gmail.com', '1234'),
('zack', 'zakir@gmail.com', '123');
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 |
83d1f33184166d1ac96630408b43c155c7e3242e | SQL | russellbwright/revampv2 | /db/get_projects.sql | UTF-8 | 114 | 2.5625 | 3 | [] | no_license | -- SELECT * FROM projects
SELECT * FROM projects
FULL OUTER JOIN images ON projects.projectid = images.projectid | true |
250c8c030e91176ba46f5cbc149b9e2c1b79e773 | SQL | mkanchwala/Spring-Solutions | /country/src/main/sqlscripts/world.sql | UTF-8 | 9,354 | 3.34375 | 3 | [] | no_license | # SQL Manager 2010 for MySQL 4.5.0.9
# ---------------------------------------
# Host : localhost
# Port : 3306
# Database : world
/*!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 */;
SET FOREIGN_KEY_CHECKS=0;
DROP DATABASE IF EXISTS `world`;
CREATE DATABASE `world`
CHARACTER SET 'utf8'
COLLATE 'utf8_unicode_ci';
USE `world`;
#
# Structure for the `authorities` table :
#
CREATE TABLE `authorities` (
`username` varchar(50) NOT NULL,
`authority` varchar(50) NOT NULL,
UNIQUE KEY `ix_auth_username` (`username`,`authority`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#
# Structure for the `country` table :
#
CREATE TABLE `country` (
`code` varchar(20) NOT NULL,
`created_by` varchar(255) DEFAULT NULL,
`date_created` datetime NOT NULL,
`last_updated` datetime DEFAULT NULL,
`last_updated_by` varchar(255) DEFAULT NULL,
`world_name` varchar(255) NOT NULL,
`population` bigint(20) DEFAULT NULL,
PRIMARY KEY (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#
# Structure for the `language` table :
#
CREATE TABLE `language` (
`name` varchar(255) NOT NULL,
`created_by` varchar(255) DEFAULT NULL,
`date_created` datetime NOT NULL,
`description` varchar(255) DEFAULT NULL,
`last_updated` datetime DEFAULT NULL,
`last_updated_by` varchar(255) DEFAULT NULL,
PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#
# Structure for the `country_translation` table :
#
CREATE TABLE `country_translation` (
`country_translation_id` int(11) NOT NULL AUTO_INCREMENT,
`created_by` varchar(255) DEFAULT NULL,
`date_created` datetime NOT NULL,
`last_updated` datetime DEFAULT NULL,
`last_updated_by` varchar(255) DEFAULT NULL,
`code` varchar(20) NOT NULL,
`name` varchar(255) NOT NULL,
`local_name` varchar(255) NOT NULL,
`capital` varchar(255) NOT NULL,
`description` varchar(255) DEFAULT NULL,
PRIMARY KEY (`country_translation_id`),
UNIQUE KEY `country_language_id` (`country_translation_id`),
KEY `FK_63sm5uoj4j9btw05hy6sfwjef` (`code`),
KEY `FK_thpq6h5hmjkyemuojhnxepkkj` (`name`),
CONSTRAINT `FK_63sm5uoj4j9btw05hy6sfwjef` FOREIGN KEY (`code`) REFERENCES `country` (`code`),
CONSTRAINT `FK_thpq6h5hmjkyemuojhnxepkkj` FOREIGN KEY (`name`) REFERENCES `language` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
#
# Structure for the `oauth_access_token` table :
#
CREATE TABLE `oauth_access_token` (
`token_id` varchar(255) DEFAULT NULL,
`token` blob,
`authentication_id` varchar(255) DEFAULT NULL,
`user_name` varchar(255) DEFAULT NULL,
`client_id` varchar(255) DEFAULT NULL,
`authentication` blob,
`refresh_token` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#
# Structure for the `oauth_client_details` table :
#
CREATE TABLE `oauth_client_details` (
`client_id` varchar(255) NOT NULL,
`resource_ids` varchar(255) DEFAULT NULL,
`client_secret` varchar(255) DEFAULT NULL,
`scope` varchar(255) DEFAULT NULL,
`authorized_grant_types` varchar(255) DEFAULT NULL,
`web_server_redirect_uri` varchar(255) DEFAULT NULL,
`authorities` varchar(255) DEFAULT NULL,
`autoapprove` varchar(255) DEFAULT NULL,
`access_token_validity` int(11) DEFAULT NULL,
`refresh_token_validity` int(11) DEFAULT NULL,
`additional_information` varchar(4096) DEFAULT NULL,
PRIMARY KEY (`client_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#
# Structure for the `oauth_client_token` table :
#
CREATE TABLE `oauth_client_token` (
`token_id` varchar(255) DEFAULT NULL,
`token` blob,
`authentication_id` varchar(255) DEFAULT NULL,
`user_name` varchar(255) DEFAULT NULL,
`client_id` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#
# Structure for the `oauth_code` table :
#
CREATE TABLE `oauth_code` (
`code` varchar(255) DEFAULT NULL,
`authentication` blob
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#
# Structure for the `oauth_refresh_token` table :
#
CREATE TABLE `oauth_refresh_token` (
`token_id` varchar(255) DEFAULT NULL,
`token` blob,
`authentication` blob
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#
# Structure for the `role` table :
#
CREATE TABLE `role` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
#
# Structure for the `users` table :
#
CREATE TABLE `users` (
`user_id` int(11) NOT NULL AUTO_INCREMENT,
`created_by` varchar(255) DEFAULT NULL,
`date_created` datetime NOT NULL,
`email` varchar(255) NOT NULL,
`enabled` bit(1) DEFAULT NULL,
`last_updated` datetime DEFAULT NULL,
`last_updated_by` varchar(255) DEFAULT NULL,
`password` varchar(255) NOT NULL,
`username` varchar(255) NOT NULL,
`preferred_language` varchar(255) NOT NULL,
PRIMARY KEY (`user_id`),
KEY `FK_dw8xe4vev0ok8rmwjuoexrbs6` (`preferred_language`),
CONSTRAINT `FK_dw8xe4vev0ok8rmwjuoexrbs6` FOREIGN KEY (`preferred_language`) REFERENCES `language` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
#
# Structure for the `user_role` table :
#
CREATE TABLE `user_role` (
`user_id` int(11) NOT NULL,
`role_id` int(11) NOT NULL,
PRIMARY KEY (`user_id`,`role_id`),
KEY `FK_it77eq964jhfqtu54081ebtio` (`role_id`),
CONSTRAINT `FK_apcc8lxk2xnug8377fatvbn04` FOREIGN KEY (`user_id`) REFERENCES `users` (`user_id`),
CONSTRAINT `FK_it77eq964jhfqtu54081ebtio` FOREIGN KEY (`role_id`) REFERENCES `role` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#
# Data for the `country` table (LIMIT 0,500)
#
INSERT INTO `country` (`code`, `created_by`, `date_created`, `last_updated`, `last_updated_by`, `world_name`, `population`) VALUES
('EG','mkanchwala','2015-05-22 23:22:00','2015-05-22 23:22:00','mkanchwala','Egypt',120),
('IN','mkanchwala','2015-05-22 23:20:00','2015-05-22 23:20:00','mkanchwala','India',120);
COMMIT;
#
# Data for the `language` table (LIMIT 0,500)
#
INSERT INTO `language` (`name`, `created_by`, `date_created`, `description`, `last_updated`, `last_updated_by`) VALUES
('English','mkanchwala','2015-05-22 23:22:00','World Official Language','2015-05-22 23:22:00','mkanchwala'),
('Arabic','mkanchwala','2015-05-22 23:22:00','Arabian Language','2015-05-22 23:22:00','mkanchwala'),
('Misri','mkanchwala','2015-05-22 23:22:00','Egypt Native Language','2015-05-22 23:22:00','mkanchwala'),
('Hindi','mkanchwala','2015-05-22 23:20:00','India Native Langauge','2015-05-22 23:20:00','mkanchwala');
COMMIT;
#
# Data for the `country_translation` table (LIMIT 0,500)
#
INSERT INTO `country_translation` (`country_translation_id`, `created_by`, `date_created`, `last_updated`, `last_updated_by`, `code`, `name`, `local_name`, `capital`, `description`) VALUES
(1,'mkanchwala','2015-05-22 23:20:00','2015-05-22 23:20:00','mkanchwala','IN','English','India','New Delhi','It is the seventh-largest country by area and the most populous democracy in the world'),
(2,'mkanchwala','2015-05-22 23:20:00','2015-05-22 23:20:00','mkanchwala','IN','Arabic','الهند','نيودلهي','الهند أو كما يطلق عليها رسميا جمهورية الهند '),
(3,'mkanchwala','2015-05-22 23:20:00','2015-05-22 23:20:00','mkanchwala','IN','Hindi','भारत','नई दिल्ली','दक्षिण एशिया में स्थित भारतीय उपमहाद्वीप का सबसे बड़ा देश है '),
(4,'mkanchwala','2015-05-22 23:22:00','2015-05-22 23:22:00','mkanchwala','EG','English','Egypt','Cairo','Egypt is the most populous country in North Africa and the Arab World, the third-most populous in Africa, and the fifteenth-most populous in the world'),
(5,'mkanchwala','2015-05-22 23:22:00','2015-05-22 23:22:00','mkanchwala','EG','Misri','مصر','القاهره','بلادي، بلادي، بلادي');
COMMIT;
#
# Data for the `role` table (LIMIT 0,500)
#
INSERT INTO `role` (`id`, `name`) VALUES
(1,'ROLE_USER'),
(2,'ROLE_ADMIN'),
(3,'ROLE_GUEST');
COMMIT;
#
# Data for the `users` table (LIMIT 0,500)
#
INSERT INTO `users` (`user_id`, `created_by`, `date_created`, `email`, `enabled`, `last_updated`, `last_updated_by`, `password`, `username`, `preferred_language`) VALUES
(1,'mkanchwala','2015-05-22 23:20:00','imkanchwala@gmail.com',1,'2015-05-22 23:20:00','mkanchwala','spring123','mkanchwala','Hindi'),
(2,'mkanchwala','2015-05-22 23:20:00','mohamed@ewan.care',1,'2015-05-22 23:20:00','mkanchwala','spring123','ewan.gy','Arabic'),
(3,'mkanchwala','2015-05-22 23:20:00','guest@ewan.care',1,'2015-05-22 23:20:00','mkanchwala','spring123','guest.gy','Hindi');
COMMIT;
#
# Data for the `user_role` table (LIMIT 0,500)
#
INSERT INTO `user_role` (`user_id`, `role_id`) VALUES
(1,1),
(1,2),
(2,1),
(3,1);
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; | true |
7ee0cf513356dc35b455548c096fdb52e0791083 | SQL | intCCP/CCP | /Application/Viste/vomcre0_app_elenco_pos.sql | UTF-8 | 2,676 | 3.171875 | 3 | [] | no_license | /* Formatted on 21/07/2014 18:46:09 (QP5 v5.227.12220.39754) */
CREATE OR REPLACE FORCE VIEW MCRE_OWN.VOMCRE0_APP_ELENCO_POS
(
COD_COMPARTO,
DESC_COMPARTO,
DESC_ISTITUTO,
COD_STRUTTURA_COMPETENTE_DC,
DESC_STRUTTURA_COMPETENTE_DC,
COD_STRUTTURA_COMPETENTE_RG,
DESC_STRUTTURA_COMPETENTE_RG,
COD_STRUTTURA_COMPETENTE_AR,
DESC_STRUTTURA_COMPETENTE_AR,
COD_STRUTTURA_COMPETENTE_FI,
DESC_STRUTTURA_COMPETENTE_FI,
COD_ABI_ISTITUTO,
COD_ABI_CARTOLARIZZATO,
COD_NDG,
COD_SNDG,
DESC_NOME_CONTROPARTE,
COD_GRUPPO_ECONOMICO,
DESC_GRUPPO_ECONOMICO,
COD_PROCESSO,
COD_STATO,
COD_MACROSTATO,
DTA_DECORRENZA_STATO,
DTA_DEC_MACROSTATO,
DTA_SCADENZA_STATO,
VAL_TOT_UTILIZZO,
VAL_TOT_ACCORDATO,
VAL_MAU,
COGNOME,
NOME,
DTA_UTENTE_ASSEGNATO,
ID_UTENTE,
ID_REFERENTE,
FLG_OUTSOURCING
)
AS
SELECT p.cod_comparto,
co.desc_comparto,
i.desc_istituto,
s.cod_struttura_competente_dc,
s.desc_struttura_competente_dc,
s.cod_struttura_competente_rg,
s.desc_struttura_competente_rg,
s.cod_struttura_competente_ar,
s.desc_struttura_competente_ar,
s.cod_struttura_competente_fi,
s.desc_struttura_competente_fi,
p.cod_abi_istituto,
p.cod_abi_cartolarizzato,
p.cod_ndg,
p.cod_sndg,
p.desc_nome_controparte,
p.cod_gruppo_economico,
g.val_ana_gre desc_gruppo_economico,
p.cod_processo,
p.cod_stato,
p.cod_macrostato,
p.dta_decorrenza_stato,
p.dta_dec_macrostato,
p.dta_scadenza_stato,
p.val_tot_utilizzo,
p.val_tot_accordato,
p.gb_val_mau val_mau,
u.cognome,
u.nome,
p.dta_utente_assegnato,
u.id_utente,
u.id_referente,
p.flg_outsourcing
FROM mcre_own.mv_mcre0_app_elenco_pos p,
mcre_own.t_mcre0_app_utenti u,
mcre_own.mv_mcre0_denorm_str_org s,
mcre_own.t_mcre0_app_anagr_gre g,
mcre_own.t_mcre0_app_comparti co,
mcre_own.t_mcre0_app_istituti i
WHERE p.id_utente = u.id_utente(+)
AND p.cod_comparto = co.cod_comparto(+)
AND p.cod_abi_istituto = s.cod_abi_istituto_fi(+)
AND p.cod_filiale = s.cod_struttura_competente_fi(+)
AND p.cod_gruppo_economico = g.cod_gre(+)
AND p.cod_abi_cartolarizzato = i.cod_abi(+)
AND p.cod_stato IN (SELECT cod_microstato
FROM t_mcre0_app_stati s
WHERE s.flg_stato_chk = 1);
| true |
109942ede93f15f4d918f6b54037f02ea5b2d3db | SQL | OneMay/asset_management | /server/mysql/sql.sql | UTF-8 | 2,536 | 3.640625 | 4 | [] | no_license | -- create database `Asset`
-- on primary
-- (
-- `name`=`asset_data`,
-- `filename`='E:\学习\数据库\SQL\Asset\asset_data.mdf',
-- `size`=`10mb`,
-- `maxsize`=`50mb`,
-- `filegrowth`=`1mb`
-- )
-- log on
-- (
-- `name`=asset_log,
-- `filename`='E:\学习\数据库\SQL\Asset\asset_log.ldf',
-- `size`=`2mb`,
-- `maxsize`=`5mb`,
-- `filegrowth`=`1%`
-- )
create table `AM_EMPLOYEE`
(
`employeeNo` char(10),
`name` varchar(30) not null,
`sex` char(2) check(sex in ('男','女')),
`address` varchar(100),
`workTelExt` char(11),
`homeTelNo` char(11),
`emplEmailAddress` varchar(30),
`sociaSecurityNumber` char(30),
`DOB` date,
`position` varchar(30),
`salary` varchar(10),
`dateStarted` date,
primary key(`employeeNo`)
)
create table `AM_ASSETCATEGORY`
(
`assetCategoryNo` char(10) primary key,
`assetCategoryDescription` varchar(100)
)
create table `AM_SERVICEAGENT`
(
`agentNo` char(10) primary key,
`agentName` varchar(30) not null unique,
`agentStreet` VARCHAR(30),
`agentCity` VARCHAR(30),
`agentState` VARCHAR(30),
`agentZipCode` CHAR(6),
`agentTelNo` CHAR(11) not null unique,
`agentFaxNo` VARCHAR(11) not null unique,
`agentEmailAddress` VARCHAR(30),
`agentWebAdderss` VARCHAR(100),
`contactName` VARCHAR(10),
`contactTelNo` CHAR(11),
`contactFaxNo` VARCHAR(11),
`contactEmailAddress` VARCHAR(30)
)
create table `AM_STATUS`
(
statuNo CHAR(10) primary key,
statusDescription VARCHAR(100)
)
create table AM_ASSET
(
assetNo CHAR(10) primary key,
assetDescription VARCHAR(100),
serialNo CHAR(10) not null unique,
dateAcquired DATE,
purchasePrice VARCHAR(10),
currentValue VARCHAR(10),
dateSold DATE,
nextMaintenanceDate DATE,
employeeNo CHAR(10),
assetCategoryNo CHAR(10),
statuNo CHAR(10),
foreign key(employeeNo) references AM_EMPLOYEE(employeeNo),
foreign key(assetCategoryNo) references AM_ASSETCATEGORY(assetCategoryNo),
foreign key(statuNo) references AM_STATUS(statuNo)
)
create table AM_MAINTENANCE
(
maintenanceNo CHAR(10) primary key,
maintenanceDate DATE,
maintenanceDescription VARCHAR(100),
maintenanceCost VARCHAR(10),
assetNo CHAR(10),
employeeNo CHAR(10),
agentNo CHAR(10),
foreign key(assetNO) references AM_ASSET(assetNo),
foreign key(employeeNo) references AM_EMPLOYEE(employeeNo),
foreign key(agentNo) references AM_SERVICEAGENT(agentNo)
)
create table AM_VALUATION
(
valuationNo CHAR(10) primary key,
valuationDate DATE,
valuationPrice VARCHAR(10),
assetNo CHAR(10),
employeeNo CHAR(10),
foreign key(assetNo) references AM_ASSET(assetNo),
foreign key(employeeNo) references AM_EMPLOYEE(employeeNo)
)
| true |
c8796e70c4ab0007485cc4efbd06765b5b4693da | SQL | irib/variation | /variation/sql/schema-35-documents.sql | UTF-8 | 3,562 | 3.71875 | 4 | [] | no_license | -- This file is part of Variation.
-- Variation is free software: you can redistribute it and/or modify
-- it under the terms of the GNU Affero General Public License as published
-- by the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.
-- Variation is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU Affero General Public License for more details.
-- You should have received a copy of the GNU Affero General Public License
-- along with Variation. If not, see <http://www.gnu.org/licenses/>.
-- --------------------------------------------------------------------------------
-- Ce fichier fait partie de Variation.
-- Variation est un logiciel libre ; vous pouvez le redistribuer ou le modifier
-- suivant les termes de la GNU Affero General Public License telle que publiée
-- par la Free Software Foundation ; soit la version 3 de la licence, soit
-- (à votre gré) toute version ultérieure.
-- Variation est distribué dans l'espoir qu'il sera utile,
-- mais SANS AUCUNE GARANTIE ; sans même la garantie tacite de
-- QUALITÉ MARCHANDE ou d'ADÉQUATION à UN BUT PARTICULIER. Consultez la
-- GNU Affero General Public License pour plus de détails.
-- Vous devez avoir reçu une copie de la GNU Affero General Public License
-- en même temps que Variation ; si ce n'est pas le cas,
-- consultez <http://www.gnu.org/licenses>.
-- --------------------------------------------------------------------------------
-- Copyright (c) 2014-2015 Kavarna SARL
--
-- SCHEMA document
--
-- Module Documents
--
-- Dependences: Topics, Persons, Documents Types, Users
--
SET search_path = document, pg_catalog;
--
-- TABLE document
--
CREATE TABLE document (
doc_id serial PRIMARY KEY,
per_id_responsable integer REFERENCES public.personne(per_id),
dty_id integer REFERENCES document.document_type,
doc_titre character varying,
doc_statut integer,
doc_date_obtention date,
doc_date_realisation date,
doc_date_validite date,
doc_description text,
doc_fichier character varying,
doc_date_creation timestamp with time zone,
uti_id_creation integer REFERENCES login.utilisateur(uti_id)
);
COMMENT ON TABLE document IS 'Les documents';
CREATE INDEX fki_document_dty_id_fkey ON document USING btree (dty_id);
CREATE INDEX fki_document_per_id_responsable_fkey ON document USING btree (per_id_responsable);
CREATE INDEX fki_document_uti_id_creation_fkey ON document USING btree (uti_id_creation);
--
-- TABLE document_secteur
--
CREATE TABLE document_secteur (
dse_id serial PRIMARY KEY,
doc_id integer REFERENCES document.document,
sec_id integer REFERENCES meta.secteur
);
COMMENT ON TABLE document_secteur IS 'Rattachement d''un document à des secteurs';
CREATE INDEX fki_document_secteur_doc_id_fkey ON document_secteur USING btree (doc_id);
CREATE INDEX fki_document_secteur_sec_id_fkey ON document_secteur USING btree (sec_id);
--
-- TABLE document_usager
--
CREATE TABLE document_usager (
dus_id serial PRIMARY KEY,
doc_id integer REFERENCES document.document,
per_id_usager integer REFERENCES public.personne(per_id)
);
COMMENT ON TABLE document_usager IS 'Rattachement d''un document à des usagers';
CREATE INDEX fki_document_usager_doc_id_fkey ON document_usager USING btree (doc_id);
CREATE INDEX fki_document_usager_per_id_usager_fkey ON document_usager USING btree (per_id_usager);
| true |
9f6145835719b700471d73c6b221b7b4e1622f3b | SQL | penny-clark/BootcampX | /3_queries_group_by/5_average_completion_time_by_student.sql | UTF-8 | 617 | 3.859375 | 4 | [] | no_license | SELECT students.name as student, sum(assignment_submissions.duration) / count(assignment_submissions.duration) as average_assignment_duration
FROM assignment_submissions
JOIN students ON students.id = student_id
WHERE students.end_date IS NULL
GROUP BY students.name
ORDER BY average_assignment_duration DESC;
-- Solution from Compass (doesn't round the result)
SELECT students.name as student, avg(assignment_submissions.duration) as average_assignment_duration
FROM students
JOIN assignment_submissions ON student_id = students.id
WHERE end_date IS NULL
GROUP BY student
ORDER BY average_assignment_duration DESC; | true |
5d791c62fefc590657be7600be0e2d8f0dd40084 | SQL | radtek/abs3 | /sql/mmfo/bars/Table/cur_rates_backup.sql | UTF-8 | 2,383 | 3.0625 | 3 | [] | no_license |
PROMPT =====================================================================================
PROMPT *** Run *** ========== Scripts /Sql/BARS/Table/CUR_RATES_BACKUP.sql =========*** Run
PROMPT =====================================================================================
PROMPT *** ALTER_POLICY_INFO to CUR_RATES_BACKUP ***
BEGIN
execute immediate
'begin
bpa.alter_policy_info(''CUR_RATES_BACKUP'', ''FILIAL'' , null, null, null, null);
bpa.alter_policy_info(''CUR_RATES_BACKUP'', ''WHOLE'' , null, null, null, null);
null;
end;
';
END;
/
PROMPT *** Create table CUR_RATES_BACKUP ***
begin
execute immediate '
CREATE TABLE BARS.CUR_RATES_BACKUP
( FILENAME VARCHAR2(100),
DATE_LOAD DATE,
FILE_TYPE VARCHAR2(20),
USERID_LOAD NUMBER,
FILE_BODY CLOB
) SEGMENT CREATION IMMEDIATE
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
NOCOMPRESS LOGGING
TABLESPACE BRSDYND
LOB (FILE_BODY) STORE AS BASICFILE (
TABLESPACE BRSDYND ENABLE STORAGE IN ROW CHUNK 8192 RETENTION
NOCACHE LOGGING ) ';
exception when others then
if sqlcode=-955 then null; else raise; end if;
end;
/
PROMPT *** ALTER_POLICIES to CUR_RATES_BACKUP ***
exec bpa.alter_policies('CUR_RATES_BACKUP');
COMMENT ON TABLE BARS.CUR_RATES_BACKUP IS '';
COMMENT ON COLUMN BARS.CUR_RATES_BACKUP.FILENAME IS '';
COMMENT ON COLUMN BARS.CUR_RATES_BACKUP.DATE_LOAD IS '';
COMMENT ON COLUMN BARS.CUR_RATES_BACKUP.FILE_TYPE IS '';
COMMENT ON COLUMN BARS.CUR_RATES_BACKUP.USERID_LOAD IS '';
COMMENT ON COLUMN BARS.CUR_RATES_BACKUP.FILE_BODY IS '';
PROMPT *** Create grants CUR_RATES_BACKUP ***
grant SELECT on CUR_RATES_BACKUP to BARSREADER_ROLE;
grant DELETE,INSERT,SELECT,UPDATE on CUR_RATES_BACKUP to BARS_ACCESS_DEFROLE;
grant SELECT on CUR_RATES_BACKUP to UPLD;
PROMPT =====================================================================================
PROMPT *** End *** ========== Scripts /Sql/BARS/Table/CUR_RATES_BACKUP.sql =========*** End
PROMPT =====================================================================================
| true |
41f739968e0bd2aa9bf63f47e98f1c82e41cbbd1 | SQL | omersevim/SEP-assignment-1 | /assignment2/q8.sql | UTF-8 | 115 | 2.734375 | 3 | [] | no_license | select ProductID, avg(quantity) TheAvg from Production.ProductInventory
where LocationID = 10
group by ProductID | true |
058dae48bfd2ec9e94254d213735bdc5e2b756c9 | SQL | podhmo/individual-sandbox | /daily/20200527/example_sqlboiler/hello.sql | UTF-8 | 4,775 | 3.671875 | 4 | [] | no_license | -- https://gist.github.com/syzdek/956669/15ad5f0ae23591e67467f0b0aeb085b57a448f13
--
-- Simple SQLite3 Example
-- Copyright (C) 2011 David M. Syzdek <david@syzdek.net>
--
-- Run:
-- cat hello.sql | sqlite3 hello.db
--
-- creates tables
CREATE TABLE IF NOT EXISTS people (
peopleId INTEGER PRIMARY KEY AUTOINCREMENT,
gn TEXT,
sn TEXT,
birthday DATE
);
CREATE TABLE IF NOT EXISTS peopleLog (
peopleLogId INTEGER PRIMARY KEY AUTOINCREMENT,
peopleIdNew INTEGER,
peopleIdOld INTEGER,
gnNew TEXT,
gnOld TEXT,
snNew TEXT,
snOld TEXT,
birthdayNew DATE,
birthdayOld DATE,
action TEXT,
timestamp DATE,
FOREIGN KEY(peopleIdOld) REFERENCES people(peopleId),
FOREIGN KEY(peopleIdNew) REFERENCES people(peopleId)
);
CREATE TABLE IF NOT EXISTS books (
bookId INTEGER PRIMARY KEY AUTOINCREMENT,
title TEXT,
authorId INTEGER,
FOREIGN KEY(authorId) REFERENCES people(peopleId)
);
CREATE TABLE IF NOT EXISTS booksLog (
booksLogId INTEGER PRIMARY KEY AUTOINCREMENT,
bookIdNew INTEGER,
bookIdOld INTEGER,
titleNew TEXT,
titleOld TEXT,
authorOld INTEGER,
authorNew INTEGER,
action TEXT,
timestamp DATE,
FOREIGN KEY(bookIdOld) REFERENCES books(bookId),
FOREIGN KEY(bookIdNew) REFERENCES books(bookId),
FOREIGN KEY(authorOld) REFERENCES people(peopleId),
FOREIGN KEY(authorNew) REFERENCES people(peopleId)
);
-- Adds triggers to log all transactions
CREATE TRIGGER IF NOT EXISTS people_insert AFTER INSERT ON people
BEGIN
INSERT INTO peopleLog (peopleIdNew, gnNew, snNew, birthdayNew, action, timestamp)
values (new.peopleId, new.gn, new.sn, new.birthday, 'INSERT', DATETIME('NOW'));
END;
CREATE TRIGGER IF NOT EXISTS people_update AFTER UPDATE ON people
BEGIN
INSERT INTO peopleLog (peopleIdNew, gnNew, snNew, birthdayNew,
peopleIdOld, gnOld, snOld, birthdayOld,
action, timestamp)
values (new.peopleId, new.gn, new.sn, new.birthday,
old.peopleId, old.gn, old.sn, old.birthday,
'UPDATE', DATETIME('NOW'));
END;
CREATE TRIGGER IF NOT EXISTS people_delete AFTER DELETE ON people
BEGIN
INSERT INTO peopleLog (peopleIdOld, gnOld, snOld, birthdayOld, action, timestamp)
values (old.peopleId, old.gn, old.sn, old.birthday, 'DELETE', DATETIME('NOW'));
END;
CREATE TRIGGER IF NOT EXISTS book_update AFTER INSERT ON books
BEGIN
INSERT INTO booksLog (bookIdNew, titleNew, authorNew, action, timestamp)
values (new.bookId, new.title, new.authorId, 'INSERT', DATETIME('NOW'));
END;
CREATE TRIGGER IF NOT EXISTS book_update AFTER UPDATE ON books
BEGIN
INSERT INTO booksLog (bookIdOld, titleOld, authorOld,
bookIdNew, titleNew, authorNew,
action, timestamp)
values (old.bookId, old.title, old.authorId,
new.bookId, new.title, new.authorId,
'UPDATE', DATETIME('NOW'));
END;
CREATE TRIGGER IF NOT EXISTS book_update AFTER DELETE ON books
BEGIN
INSERT INTO booksLog (bookIdOld, titleOld, authorOld, action, timestamp)
values (old.bookId, old.title, old.authorId, 'DELETE', DATETIME('NOW'));
END;
-- Adds sample data into table "people"
INSERT INTO people(gn,sn) VALUES('Russell', "Janney");
INSERT INTO people(gn,sn,birthday) VALUES('Louis', "L'Amour",date('1908-03-22'));
INSERT INTO people(gn,sn,birthday) VALUES('Ken', "Follett",date('1949-06-05'));
INSERT INTO people(gn,sn,birthday) VALUES('Alexandre',"Dumas", date('1802-07-24'));
INSERT INTO people(gn,sn,birthday) VALUES('Ambrose', "Bierce", date('1842-06-24'));
INSERT INTO people(gn,sn,birthday) VALUES('Douglas', "Adam", date('1952-03-11'));
INSERT INTO people(gn,sn,birthday) VALUES('Victor', "Hugo", date('1802-02-26'));
-- Updates sample data in table "people"
UPDATE people SET sn = 'Adams' where gn = 'Douglas' AND sn = 'Adam';
-- Adds sample data into table "books"
INSERT INTO books(title, authorId) VALUES('Miracle of the Bells', 1);
INSERT INTO books(title, authorId) VALUES('The Walking Drum', 2);
INSERT INTO books(title, authorId) VALUES('Pillars of the Earth', 3);
INSERT INTO books(title, authorId) VALUES('The Count of Monte Cristo', 4);
INSERT INTO books(title, authorId) VALUES('The Devils Dictionary', 5);
INSERT INTO books(title, authorId) VALUES('The Hitchhikers Guide', 6);
INSERT INTO books(title, authorId) VALUES('The Hunchback of Notre Dame', 7);
-- Example queries
select books.title, people.gn, people.sn
FROM people
INNER JOIN books
ON books.authorId=people.peopleId
WHERE books.title LIKE '%Hunchback%'
ORDER BY people.sn;
-- end of script
| true |
0e186170a723e842a03dade08d99ef959b581006 | SQL | eiNetwork/odpreproc-source | /db/drop.sql | UTF-8 | 3,370 | 2.75 | 3 | [] | no_license | # ---------------------------------------------------------------------- #
# Script generated with: DeZign for Databases v6.3.4 #
# Target DBMS: MySQL 5 #
# Project file: reindexer.dez #
# Project name: #
# Author: #
# Script type: Database drop script #
# Created on: 2014-11-06 14:01 #
# ---------------------------------------------------------------------- #
# ---------------------------------------------------------------------- #
# Drop foreign key constraints #
# ---------------------------------------------------------------------- #
ALTER TABLE `externalData` DROP FOREIGN KEY `externalSource_externalData`;
ALTER TABLE `marcMap` DROP FOREIGN KEY `externalSource_marcMap`;
ALTER TABLE `externalFormats` DROP FOREIGN KEY `externalData_externalFormats`;
ALTER TABLE `externalFormats` DROP FOREIGN KEY `Format_externalFormats`;
ALTER TABLE `Format` DROP FOREIGN KEY `externalSource_Format`;
# ---------------------------------------------------------------------- #
# Drop table "externalFormats" #
# ---------------------------------------------------------------------- #
# Drop constraints #
ALTER TABLE `externalFormats` DROP PRIMARY KEY;
# Drop table #
DROP TABLE `externalFormats`;
# ---------------------------------------------------------------------- #
# Drop table "marcMap" #
# ---------------------------------------------------------------------- #
# Drop constraints #
ALTER TABLE `marcMap` DROP PRIMARY KEY;
# Drop table #
DROP TABLE `marcMap`;
# ---------------------------------------------------------------------- #
# Drop table "externalData" #
# ---------------------------------------------------------------------- #
# Drop constraints #
ALTER TABLE `externalData` DROP PRIMARY KEY;
# Drop table #
DROP TABLE `externalData`;
# ---------------------------------------------------------------------- #
# Drop table "reindexLog" #
# ---------------------------------------------------------------------- #
# Drop constraints #
ALTER TABLE `reindexLog` DROP PRIMARY KEY;
# Drop table #
DROP TABLE `reindexLog`;
# ---------------------------------------------------------------------- #
# Drop table "Format" #
# ---------------------------------------------------------------------- #
# Drop constraints #
ALTER TABLE `Format` DROP PRIMARY KEY;
# Drop table #
DROP TABLE `Format`;
# ---------------------------------------------------------------------- #
# Drop table "externalSource" #
# ---------------------------------------------------------------------- #
# Drop constraints #
ALTER TABLE `externalSource` DROP PRIMARY KEY;
# Drop table #
DROP TABLE `externalSource`;
| true |
bbf307d9a30de90c054f1ff281efb7615118c300 | SQL | bspur11/personel-tracker | /db/seeds.sql | UTF-8 | 572 | 3.21875 | 3 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive |
USE workDB,
INSERT INTO department (name)
("Sales"),
("Engineering"),
("Finance"),
("Legal");
INSERT INTO role (title, salary, department_id)
("Salesman", 100000, 1),
("Engineer", 150000, 2),
("Financial Analyst", 120000, 3),
("Accountant", 125000, 3),
("Lawyer", 250000, 4);
INSERT INTO employee (first_name, last_name, role_id, manager_id)
("Adam", "Stan", 1, 3),
("Rick", "Davis", 2, 1),
("Robert", "Slate", 3, null),
("Bobby", "Cotton", 4, 3),
("Kevin", "Klassen", 5, null),
("Tim", "Baucmon", 2, null),
("Taylor", "Jackson", 4, 7),
("Jennie", "Flight", 1, 2);
| true |
d83203cbc24f951e3fd92ef4641587f8441bd208 | SQL | OmondiKevin/ADT | /assets/queries/proc_check_patient_visit.sql | UTF-8 | 1,206 | 3.515625 | 4 | [] | no_license | DROP TRIGGER IF EXISTS before_insert_patient_visits;
DELIMITER //
CREATE TRIGGER `before_insert_patient_visits` BEFORE INSERT ON `patient_visit` FOR EACH ROW BEGIN
CALL proc_check_drug(NEW.patient_id,NEW.drug_id,NEW.dispensing_date,NEW.quantity);
END//
DELIMITER ;
DROP PROCEDURE IF EXISTS proc_check_drug;
DELIMITER //
CREATE PROCEDURE `proc_check_drug`(
IN pid VARCHAR(50),
IN drug VARCHAR(50),
IN d_date VARCHAR(50),
IN quantity VARCHAR(32)
)
BEGIN
DECLARE ptnpk INT DEFAULT NULL;
DECLARE pharmacy_pk INT DEFAULT NULL;
DECLARE appointment DATE DEFAULT NULL;
SELECT medical_record_number INTO ptnpk FROM patient WHERE patient_number_ccc = pid;
SELECT Ptnpk_pharmacy_pk INTO pharmacy_pk FROM mirth_adt_db.ord_patientpharmacyorder WHERE PtnPk=ptnpk AND MoveToADT=0 AND is_updated=0;
SELECT nextappointment INTO appointment FROM patient WHERE patient_number_ccc = pid;
IF (ptnpk IS NOT NULL AND pharmacy_pk IS NOT NULL)
THEN
INSERT INTO mirth_adt_db.tbl_adt_dispensing(ptnpk,drug,dispensing_date,dispensing_quantity,ptn_pharmacy_PK,next_appointment_date)values
(ptnpk,drug,d_date,quantity,pharmacy_pk,appointment);
END IF;
END //
DELIMITER ; | true |
47421f2e55d905569bf1bb5c58cd4c74b5f76b39 | SQL | alex94115/SocialEQ | /rodlaver-jdbc-batch/src/test/resources/batch-insert.sql | UTF-8 | 518,999 | 2.65625 | 3 | [] | no_license | # insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1000, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2000, 32, current_timestamp(), current_timestamp(), 0, 1000, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4000, 2000, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5000, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6000, 32, current_timestamp(), current_timestamp(), 0, 5000, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7000, 6000, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1001, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2001, 32, current_timestamp(), current_timestamp(), 0, 1001, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4001, 2001, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5001, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6001, 32, current_timestamp(), current_timestamp(), 0, 5001, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7001, 6001, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1002, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2002, 32, current_timestamp(), current_timestamp(), 0, 1002, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4002, 2002, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5002, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6002, 32, current_timestamp(), current_timestamp(), 0, 5002, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7002, 6002, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1003, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2003, 32, current_timestamp(), current_timestamp(), 0, 1003, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4003, 2003, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5003, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6003, 32, current_timestamp(), current_timestamp(), 0, 5003, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7003, 6003, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1004, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2004, 32, current_timestamp(), current_timestamp(), 0, 1004, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4004, 2004, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5004, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6004, 32, current_timestamp(), current_timestamp(), 0, 5004, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7004, 6004, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1005, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2005, 32, current_timestamp(), current_timestamp(), 0, 1005, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4005, 2005, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5005, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6005, 32, current_timestamp(), current_timestamp(), 0, 5005, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7005, 6005, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1006, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2006, 32, current_timestamp(), current_timestamp(), 0, 1006, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4006, 2006, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5006, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6006, 32, current_timestamp(), current_timestamp(), 0, 5006, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7006, 6006, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1007, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2007, 32, current_timestamp(), current_timestamp(), 0, 1007, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4007, 2007, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5007, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6007, 32, current_timestamp(), current_timestamp(), 0, 5007, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7007, 6007, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1008, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2008, 32, current_timestamp(), current_timestamp(), 0, 1008, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4008, 2008, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5008, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6008, 32, current_timestamp(), current_timestamp(), 0, 5008, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7008, 6008, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1009, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2009, 32, current_timestamp(), current_timestamp(), 0, 1009, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4009, 2009, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5009, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6009, 32, current_timestamp(), current_timestamp(), 0, 5009, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7009, 6009, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1010, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2010, 32, current_timestamp(), current_timestamp(), 0, 1010, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4010, 2010, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5010, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6010, 32, current_timestamp(), current_timestamp(), 0, 5010, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7010, 6010, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1011, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2011, 32, current_timestamp(), current_timestamp(), 0, 1011, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4011, 2011, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5011, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6011, 32, current_timestamp(), current_timestamp(), 0, 5011, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7011, 6011, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1012, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2012, 32, current_timestamp(), current_timestamp(), 0, 1012, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4012, 2012, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5012, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6012, 32, current_timestamp(), current_timestamp(), 0, 5012, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7012, 6012, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1013, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2013, 32, current_timestamp(), current_timestamp(), 0, 1013, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4013, 2013, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5013, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6013, 32, current_timestamp(), current_timestamp(), 0, 5013, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7013, 6013, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1014, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2014, 32, current_timestamp(), current_timestamp(), 0, 1014, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4014, 2014, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5014, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6014, 32, current_timestamp(), current_timestamp(), 0, 5014, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7014, 6014, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1015, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2015, 32, current_timestamp(), current_timestamp(), 0, 1015, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4015, 2015, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5015, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6015, 32, current_timestamp(), current_timestamp(), 0, 5015, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7015, 6015, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1016, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2016, 32, current_timestamp(), current_timestamp(), 0, 1016, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4016, 2016, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5016, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6016, 32, current_timestamp(), current_timestamp(), 0, 5016, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7016, 6016, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1017, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2017, 32, current_timestamp(), current_timestamp(), 0, 1017, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4017, 2017, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5017, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6017, 32, current_timestamp(), current_timestamp(), 0, 5017, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7017, 6017, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1018, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2018, 32, current_timestamp(), current_timestamp(), 0, 1018, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4018, 2018, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5018, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6018, 32, current_timestamp(), current_timestamp(), 0, 5018, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7018, 6018, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1019, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2019, 32, current_timestamp(), current_timestamp(), 0, 1019, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4019, 2019, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5019, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6019, 32, current_timestamp(), current_timestamp(), 0, 5019, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7019, 6019, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1020, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2020, 32, current_timestamp(), current_timestamp(), 0, 1020, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4020, 2020, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5020, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6020, 32, current_timestamp(), current_timestamp(), 0, 5020, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7020, 6020, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1021, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2021, 32, current_timestamp(), current_timestamp(), 0, 1021, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4021, 2021, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5021, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6021, 32, current_timestamp(), current_timestamp(), 0, 5021, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7021, 6021, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1022, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2022, 32, current_timestamp(), current_timestamp(), 0, 1022, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4022, 2022, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5022, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6022, 32, current_timestamp(), current_timestamp(), 0, 5022, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7022, 6022, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1023, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2023, 32, current_timestamp(), current_timestamp(), 0, 1023, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4023, 2023, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5023, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6023, 32, current_timestamp(), current_timestamp(), 0, 5023, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7023, 6023, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1024, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2024, 32, current_timestamp(), current_timestamp(), 0, 1024, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4024, 2024, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5024, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6024, 32, current_timestamp(), current_timestamp(), 0, 5024, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7024, 6024, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1025, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2025, 32, current_timestamp(), current_timestamp(), 0, 1025, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4025, 2025, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5025, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6025, 32, current_timestamp(), current_timestamp(), 0, 5025, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7025, 6025, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1026, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2026, 32, current_timestamp(), current_timestamp(), 0, 1026, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4026, 2026, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5026, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6026, 32, current_timestamp(), current_timestamp(), 0, 5026, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7026, 6026, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1027, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2027, 32, current_timestamp(), current_timestamp(), 0, 1027, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4027, 2027, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5027, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6027, 32, current_timestamp(), current_timestamp(), 0, 5027, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7027, 6027, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1028, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2028, 32, current_timestamp(), current_timestamp(), 0, 1028, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4028, 2028, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5028, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6028, 32, current_timestamp(), current_timestamp(), 0, 5028, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7028, 6028, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1029, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2029, 32, current_timestamp(), current_timestamp(), 0, 1029, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4029, 2029, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5029, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6029, 32, current_timestamp(), current_timestamp(), 0, 5029, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7029, 6029, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1030, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2030, 32, current_timestamp(), current_timestamp(), 0, 1030, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4030, 2030, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5030, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6030, 32, current_timestamp(), current_timestamp(), 0, 5030, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7030, 6030, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1031, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2031, 32, current_timestamp(), current_timestamp(), 0, 1031, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4031, 2031, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5031, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6031, 32, current_timestamp(), current_timestamp(), 0, 5031, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7031, 6031, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1032, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2032, 32, current_timestamp(), current_timestamp(), 0, 1032, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4032, 2032, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5032, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6032, 32, current_timestamp(), current_timestamp(), 0, 5032, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7032, 6032, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1033, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2033, 32, current_timestamp(), current_timestamp(), 0, 1033, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4033, 2033, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5033, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6033, 32, current_timestamp(), current_timestamp(), 0, 5033, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7033, 6033, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1034, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2034, 32, current_timestamp(), current_timestamp(), 0, 1034, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4034, 2034, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5034, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6034, 32, current_timestamp(), current_timestamp(), 0, 5034, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7034, 6034, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1035, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2035, 32, current_timestamp(), current_timestamp(), 0, 1035, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4035, 2035, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5035, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6035, 32, current_timestamp(), current_timestamp(), 0, 5035, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7035, 6035, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1036, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2036, 32, current_timestamp(), current_timestamp(), 0, 1036, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4036, 2036, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5036, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6036, 32, current_timestamp(), current_timestamp(), 0, 5036, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7036, 6036, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1037, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2037, 32, current_timestamp(), current_timestamp(), 0, 1037, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4037, 2037, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5037, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6037, 32, current_timestamp(), current_timestamp(), 0, 5037, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7037, 6037, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1038, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2038, 32, current_timestamp(), current_timestamp(), 0, 1038, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4038, 2038, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5038, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6038, 32, current_timestamp(), current_timestamp(), 0, 5038, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7038, 6038, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1039, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2039, 32, current_timestamp(), current_timestamp(), 0, 1039, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4039, 2039, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5039, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6039, 32, current_timestamp(), current_timestamp(), 0, 5039, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7039, 6039, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1040, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2040, 32, current_timestamp(), current_timestamp(), 0, 1040, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4040, 2040, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5040, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6040, 32, current_timestamp(), current_timestamp(), 0, 5040, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7040, 6040, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1041, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2041, 32, current_timestamp(), current_timestamp(), 0, 1041, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4041, 2041, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5041, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6041, 32, current_timestamp(), current_timestamp(), 0, 5041, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7041, 6041, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1042, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2042, 32, current_timestamp(), current_timestamp(), 0, 1042, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4042, 2042, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5042, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6042, 32, current_timestamp(), current_timestamp(), 0, 5042, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7042, 6042, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1043, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2043, 32, current_timestamp(), current_timestamp(), 0, 1043, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4043, 2043, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5043, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6043, 32, current_timestamp(), current_timestamp(), 0, 5043, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7043, 6043, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1044, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2044, 32, current_timestamp(), current_timestamp(), 0, 1044, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4044, 2044, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5044, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6044, 32, current_timestamp(), current_timestamp(), 0, 5044, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7044, 6044, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1045, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2045, 32, current_timestamp(), current_timestamp(), 0, 1045, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4045, 2045, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5045, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6045, 32, current_timestamp(), current_timestamp(), 0, 5045, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7045, 6045, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1046, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2046, 32, current_timestamp(), current_timestamp(), 0, 1046, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4046, 2046, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5046, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6046, 32, current_timestamp(), current_timestamp(), 0, 5046, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7046, 6046, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1047, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2047, 32, current_timestamp(), current_timestamp(), 0, 1047, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4047, 2047, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5047, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6047, 32, current_timestamp(), current_timestamp(), 0, 5047, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7047, 6047, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1048, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2048, 32, current_timestamp(), current_timestamp(), 0, 1048, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4048, 2048, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5048, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6048, 32, current_timestamp(), current_timestamp(), 0, 5048, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7048, 6048, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1049, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2049, 32, current_timestamp(), current_timestamp(), 0, 1049, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4049, 2049, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5049, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6049, 32, current_timestamp(), current_timestamp(), 0, 5049, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7049, 6049, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1050, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2050, 32, current_timestamp(), current_timestamp(), 0, 1050, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4050, 2050, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5050, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6050, 32, current_timestamp(), current_timestamp(), 0, 5050, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7050, 6050, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1051, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2051, 32, current_timestamp(), current_timestamp(), 0, 1051, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4051, 2051, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5051, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6051, 32, current_timestamp(), current_timestamp(), 0, 5051, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7051, 6051, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1052, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2052, 32, current_timestamp(), current_timestamp(), 0, 1052, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4052, 2052, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5052, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6052, 32, current_timestamp(), current_timestamp(), 0, 5052, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7052, 6052, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1053, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2053, 32, current_timestamp(), current_timestamp(), 0, 1053, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4053, 2053, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5053, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6053, 32, current_timestamp(), current_timestamp(), 0, 5053, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7053, 6053, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1054, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2054, 32, current_timestamp(), current_timestamp(), 0, 1054, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4054, 2054, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5054, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6054, 32, current_timestamp(), current_timestamp(), 0, 5054, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7054, 6054, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1055, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2055, 32, current_timestamp(), current_timestamp(), 0, 1055, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4055, 2055, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5055, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6055, 32, current_timestamp(), current_timestamp(), 0, 5055, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7055, 6055, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1056, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2056, 32, current_timestamp(), current_timestamp(), 0, 1056, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4056, 2056, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5056, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6056, 32, current_timestamp(), current_timestamp(), 0, 5056, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7056, 6056, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1057, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2057, 32, current_timestamp(), current_timestamp(), 0, 1057, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4057, 2057, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5057, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6057, 32, current_timestamp(), current_timestamp(), 0, 5057, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7057, 6057, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1058, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2058, 32, current_timestamp(), current_timestamp(), 0, 1058, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4058, 2058, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5058, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6058, 32, current_timestamp(), current_timestamp(), 0, 5058, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7058, 6058, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1059, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2059, 32, current_timestamp(), current_timestamp(), 0, 1059, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4059, 2059, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5059, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6059, 32, current_timestamp(), current_timestamp(), 0, 5059, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7059, 6059, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1060, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2060, 32, current_timestamp(), current_timestamp(), 0, 1060, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4060, 2060, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5060, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6060, 32, current_timestamp(), current_timestamp(), 0, 5060, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7060, 6060, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1061, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2061, 32, current_timestamp(), current_timestamp(), 0, 1061, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4061, 2061, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5061, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6061, 32, current_timestamp(), current_timestamp(), 0, 5061, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7061, 6061, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1062, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2062, 32, current_timestamp(), current_timestamp(), 0, 1062, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4062, 2062, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5062, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6062, 32, current_timestamp(), current_timestamp(), 0, 5062, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7062, 6062, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1063, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2063, 32, current_timestamp(), current_timestamp(), 0, 1063, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4063, 2063, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5063, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6063, 32, current_timestamp(), current_timestamp(), 0, 5063, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7063, 6063, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1064, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2064, 32, current_timestamp(), current_timestamp(), 0, 1064, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4064, 2064, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5064, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6064, 32, current_timestamp(), current_timestamp(), 0, 5064, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7064, 6064, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1065, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2065, 32, current_timestamp(), current_timestamp(), 0, 1065, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4065, 2065, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5065, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6065, 32, current_timestamp(), current_timestamp(), 0, 5065, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7065, 6065, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1066, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2066, 32, current_timestamp(), current_timestamp(), 0, 1066, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4066, 2066, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5066, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6066, 32, current_timestamp(), current_timestamp(), 0, 5066, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7066, 6066, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1067, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2067, 32, current_timestamp(), current_timestamp(), 0, 1067, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4067, 2067, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5067, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6067, 32, current_timestamp(), current_timestamp(), 0, 5067, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7067, 6067, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1068, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2068, 32, current_timestamp(), current_timestamp(), 0, 1068, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4068, 2068, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5068, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6068, 32, current_timestamp(), current_timestamp(), 0, 5068, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7068, 6068, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1069, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2069, 32, current_timestamp(), current_timestamp(), 0, 1069, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4069, 2069, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5069, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6069, 32, current_timestamp(), current_timestamp(), 0, 5069, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7069, 6069, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1070, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2070, 32, current_timestamp(), current_timestamp(), 0, 1070, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4070, 2070, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5070, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6070, 32, current_timestamp(), current_timestamp(), 0, 5070, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7070, 6070, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1071, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2071, 32, current_timestamp(), current_timestamp(), 0, 1071, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4071, 2071, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5071, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6071, 32, current_timestamp(), current_timestamp(), 0, 5071, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7071, 6071, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1072, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2072, 32, current_timestamp(), current_timestamp(), 0, 1072, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4072, 2072, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5072, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6072, 32, current_timestamp(), current_timestamp(), 0, 5072, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7072, 6072, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1073, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2073, 32, current_timestamp(), current_timestamp(), 0, 1073, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4073, 2073, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5073, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6073, 32, current_timestamp(), current_timestamp(), 0, 5073, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7073, 6073, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1074, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2074, 32, current_timestamp(), current_timestamp(), 0, 1074, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4074, 2074, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5074, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6074, 32, current_timestamp(), current_timestamp(), 0, 5074, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7074, 6074, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1075, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2075, 32, current_timestamp(), current_timestamp(), 0, 1075, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4075, 2075, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5075, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6075, 32, current_timestamp(), current_timestamp(), 0, 5075, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7075, 6075, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1076, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2076, 32, current_timestamp(), current_timestamp(), 0, 1076, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4076, 2076, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5076, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6076, 32, current_timestamp(), current_timestamp(), 0, 5076, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7076, 6076, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1077, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2077, 32, current_timestamp(), current_timestamp(), 0, 1077, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4077, 2077, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5077, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6077, 32, current_timestamp(), current_timestamp(), 0, 5077, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7077, 6077, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1078, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2078, 32, current_timestamp(), current_timestamp(), 0, 1078, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4078, 2078, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5078, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6078, 32, current_timestamp(), current_timestamp(), 0, 5078, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7078, 6078, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1079, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2079, 32, current_timestamp(), current_timestamp(), 0, 1079, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4079, 2079, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5079, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6079, 32, current_timestamp(), current_timestamp(), 0, 5079, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7079, 6079, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1080, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2080, 32, current_timestamp(), current_timestamp(), 0, 1080, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4080, 2080, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5080, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6080, 32, current_timestamp(), current_timestamp(), 0, 5080, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7080, 6080, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1081, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2081, 32, current_timestamp(), current_timestamp(), 0, 1081, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4081, 2081, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5081, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6081, 32, current_timestamp(), current_timestamp(), 0, 5081, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7081, 6081, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1082, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2082, 32, current_timestamp(), current_timestamp(), 0, 1082, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4082, 2082, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5082, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6082, 32, current_timestamp(), current_timestamp(), 0, 5082, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7082, 6082, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1083, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2083, 32, current_timestamp(), current_timestamp(), 0, 1083, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4083, 2083, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5083, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6083, 32, current_timestamp(), current_timestamp(), 0, 5083, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7083, 6083, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1084, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2084, 32, current_timestamp(), current_timestamp(), 0, 1084, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4084, 2084, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5084, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6084, 32, current_timestamp(), current_timestamp(), 0, 5084, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7084, 6084, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1085, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2085, 32, current_timestamp(), current_timestamp(), 0, 1085, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4085, 2085, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5085, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6085, 32, current_timestamp(), current_timestamp(), 0, 5085, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7085, 6085, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1086, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2086, 32, current_timestamp(), current_timestamp(), 0, 1086, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4086, 2086, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5086, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6086, 32, current_timestamp(), current_timestamp(), 0, 5086, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7086, 6086, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1087, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2087, 32, current_timestamp(), current_timestamp(), 0, 1087, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4087, 2087, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5087, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6087, 32, current_timestamp(), current_timestamp(), 0, 5087, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7087, 6087, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1088, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2088, 32, current_timestamp(), current_timestamp(), 0, 1088, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4088, 2088, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5088, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6088, 32, current_timestamp(), current_timestamp(), 0, 5088, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7088, 6088, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1089, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2089, 32, current_timestamp(), current_timestamp(), 0, 1089, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4089, 2089, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5089, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6089, 32, current_timestamp(), current_timestamp(), 0, 5089, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7089, 6089, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1090, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2090, 32, current_timestamp(), current_timestamp(), 0, 1090, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4090, 2090, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5090, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6090, 32, current_timestamp(), current_timestamp(), 0, 5090, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7090, 6090, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1091, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2091, 32, current_timestamp(), current_timestamp(), 0, 1091, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4091, 2091, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5091, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6091, 32, current_timestamp(), current_timestamp(), 0, 5091, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7091, 6091, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1092, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2092, 32, current_timestamp(), current_timestamp(), 0, 1092, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4092, 2092, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5092, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6092, 32, current_timestamp(), current_timestamp(), 0, 5092, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7092, 6092, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1093, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2093, 32, current_timestamp(), current_timestamp(), 0, 1093, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4093, 2093, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5093, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6093, 32, current_timestamp(), current_timestamp(), 0, 5093, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7093, 6093, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1094, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2094, 32, current_timestamp(), current_timestamp(), 0, 1094, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4094, 2094, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5094, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6094, 32, current_timestamp(), current_timestamp(), 0, 5094, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7094, 6094, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1095, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2095, 32, current_timestamp(), current_timestamp(), 0, 1095, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4095, 2095, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5095, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6095, 32, current_timestamp(), current_timestamp(), 0, 5095, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7095, 6095, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1096, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2096, 32, current_timestamp(), current_timestamp(), 0, 1096, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4096, 2096, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5096, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6096, 32, current_timestamp(), current_timestamp(), 0, 5096, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7096, 6096, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1097, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2097, 32, current_timestamp(), current_timestamp(), 0, 1097, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4097, 2097, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5097, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6097, 32, current_timestamp(), current_timestamp(), 0, 5097, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7097, 6097, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1098, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2098, 32, current_timestamp(), current_timestamp(), 0, 1098, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4098, 2098, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5098, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6098, 32, current_timestamp(), current_timestamp(), 0, 5098, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7098, 6098, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1099, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2099, 32, current_timestamp(), current_timestamp(), 0, 1099, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4099, 2099, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5099, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6099, 32, current_timestamp(), current_timestamp(), 0, 5099, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7099, 6099, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1100, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2100, 32, current_timestamp(), current_timestamp(), 0, 1100, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4100, 2100, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5100, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6100, 32, current_timestamp(), current_timestamp(), 0, 5100, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7100, 6100, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1101, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2101, 32, current_timestamp(), current_timestamp(), 0, 1101, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4101, 2101, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5101, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6101, 32, current_timestamp(), current_timestamp(), 0, 5101, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7101, 6101, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1102, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2102, 32, current_timestamp(), current_timestamp(), 0, 1102, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4102, 2102, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5102, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6102, 32, current_timestamp(), current_timestamp(), 0, 5102, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7102, 6102, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1103, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2103, 32, current_timestamp(), current_timestamp(), 0, 1103, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4103, 2103, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5103, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6103, 32, current_timestamp(), current_timestamp(), 0, 5103, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7103, 6103, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1104, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2104, 32, current_timestamp(), current_timestamp(), 0, 1104, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4104, 2104, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5104, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6104, 32, current_timestamp(), current_timestamp(), 0, 5104, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7104, 6104, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1105, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2105, 32, current_timestamp(), current_timestamp(), 0, 1105, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4105, 2105, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5105, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6105, 32, current_timestamp(), current_timestamp(), 0, 5105, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7105, 6105, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1106, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2106, 32, current_timestamp(), current_timestamp(), 0, 1106, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4106, 2106, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5106, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6106, 32, current_timestamp(), current_timestamp(), 0, 5106, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7106, 6106, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1107, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2107, 32, current_timestamp(), current_timestamp(), 0, 1107, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4107, 2107, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5107, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6107, 32, current_timestamp(), current_timestamp(), 0, 5107, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7107, 6107, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1108, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2108, 32, current_timestamp(), current_timestamp(), 0, 1108, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4108, 2108, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5108, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6108, 32, current_timestamp(), current_timestamp(), 0, 5108, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7108, 6108, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1109, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2109, 32, current_timestamp(), current_timestamp(), 0, 1109, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4109, 2109, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5109, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6109, 32, current_timestamp(), current_timestamp(), 0, 5109, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7109, 6109, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1110, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2110, 32, current_timestamp(), current_timestamp(), 0, 1110, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4110, 2110, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5110, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6110, 32, current_timestamp(), current_timestamp(), 0, 5110, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7110, 6110, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1111, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2111, 32, current_timestamp(), current_timestamp(), 0, 1111, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4111, 2111, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5111, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6111, 32, current_timestamp(), current_timestamp(), 0, 5111, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7111, 6111, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1112, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2112, 32, current_timestamp(), current_timestamp(), 0, 1112, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4112, 2112, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5112, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6112, 32, current_timestamp(), current_timestamp(), 0, 5112, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7112, 6112, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1113, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2113, 32, current_timestamp(), current_timestamp(), 0, 1113, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4113, 2113, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5113, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6113, 32, current_timestamp(), current_timestamp(), 0, 5113, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7113, 6113, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1114, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2114, 32, current_timestamp(), current_timestamp(), 0, 1114, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4114, 2114, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5114, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6114, 32, current_timestamp(), current_timestamp(), 0, 5114, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7114, 6114, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1115, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2115, 32, current_timestamp(), current_timestamp(), 0, 1115, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4115, 2115, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5115, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6115, 32, current_timestamp(), current_timestamp(), 0, 5115, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7115, 6115, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1116, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2116, 32, current_timestamp(), current_timestamp(), 0, 1116, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4116, 2116, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5116, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6116, 32, current_timestamp(), current_timestamp(), 0, 5116, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7116, 6116, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1117, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2117, 32, current_timestamp(), current_timestamp(), 0, 1117, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4117, 2117, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5117, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6117, 32, current_timestamp(), current_timestamp(), 0, 5117, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7117, 6117, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1118, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2118, 32, current_timestamp(), current_timestamp(), 0, 1118, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4118, 2118, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5118, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6118, 32, current_timestamp(), current_timestamp(), 0, 5118, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7118, 6118, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1119, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2119, 32, current_timestamp(), current_timestamp(), 0, 1119, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4119, 2119, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5119, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6119, 32, current_timestamp(), current_timestamp(), 0, 5119, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7119, 6119, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1120, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2120, 32, current_timestamp(), current_timestamp(), 0, 1120, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4120, 2120, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5120, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6120, 32, current_timestamp(), current_timestamp(), 0, 5120, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7120, 6120, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1121, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2121, 32, current_timestamp(), current_timestamp(), 0, 1121, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4121, 2121, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5121, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6121, 32, current_timestamp(), current_timestamp(), 0, 5121, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7121, 6121, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1122, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2122, 32, current_timestamp(), current_timestamp(), 0, 1122, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4122, 2122, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5122, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6122, 32, current_timestamp(), current_timestamp(), 0, 5122, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7122, 6122, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1123, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2123, 32, current_timestamp(), current_timestamp(), 0, 1123, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4123, 2123, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5123, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6123, 32, current_timestamp(), current_timestamp(), 0, 5123, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7123, 6123, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1124, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2124, 32, current_timestamp(), current_timestamp(), 0, 1124, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4124, 2124, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5124, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6124, 32, current_timestamp(), current_timestamp(), 0, 5124, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7124, 6124, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1125, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2125, 32, current_timestamp(), current_timestamp(), 0, 1125, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4125, 2125, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5125, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6125, 32, current_timestamp(), current_timestamp(), 0, 5125, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7125, 6125, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1126, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2126, 32, current_timestamp(), current_timestamp(), 0, 1126, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4126, 2126, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5126, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6126, 32, current_timestamp(), current_timestamp(), 0, 5126, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7126, 6126, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1127, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2127, 32, current_timestamp(), current_timestamp(), 0, 1127, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4127, 2127, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5127, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6127, 32, current_timestamp(), current_timestamp(), 0, 5127, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7127, 6127, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1128, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2128, 32, current_timestamp(), current_timestamp(), 0, 1128, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4128, 2128, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5128, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6128, 32, current_timestamp(), current_timestamp(), 0, 5128, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7128, 6128, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1129, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2129, 32, current_timestamp(), current_timestamp(), 0, 1129, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4129, 2129, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5129, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6129, 32, current_timestamp(), current_timestamp(), 0, 5129, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7129, 6129, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1130, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2130, 32, current_timestamp(), current_timestamp(), 0, 1130, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4130, 2130, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5130, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6130, 32, current_timestamp(), current_timestamp(), 0, 5130, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7130, 6130, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1131, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2131, 32, current_timestamp(), current_timestamp(), 0, 1131, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4131, 2131, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5131, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6131, 32, current_timestamp(), current_timestamp(), 0, 5131, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7131, 6131, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1132, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2132, 32, current_timestamp(), current_timestamp(), 0, 1132, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4132, 2132, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5132, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6132, 32, current_timestamp(), current_timestamp(), 0, 5132, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7132, 6132, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1133, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2133, 32, current_timestamp(), current_timestamp(), 0, 1133, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4133, 2133, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5133, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6133, 32, current_timestamp(), current_timestamp(), 0, 5133, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7133, 6133, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1134, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2134, 32, current_timestamp(), current_timestamp(), 0, 1134, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4134, 2134, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5134, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6134, 32, current_timestamp(), current_timestamp(), 0, 5134, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7134, 6134, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1135, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2135, 32, current_timestamp(), current_timestamp(), 0, 1135, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4135, 2135, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5135, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6135, 32, current_timestamp(), current_timestamp(), 0, 5135, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7135, 6135, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1136, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2136, 32, current_timestamp(), current_timestamp(), 0, 1136, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4136, 2136, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5136, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6136, 32, current_timestamp(), current_timestamp(), 0, 5136, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7136, 6136, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1137, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2137, 32, current_timestamp(), current_timestamp(), 0, 1137, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4137, 2137, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5137, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6137, 32, current_timestamp(), current_timestamp(), 0, 5137, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7137, 6137, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1138, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2138, 32, current_timestamp(), current_timestamp(), 0, 1138, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4138, 2138, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5138, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6138, 32, current_timestamp(), current_timestamp(), 0, 5138, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7138, 6138, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1139, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2139, 32, current_timestamp(), current_timestamp(), 0, 1139, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4139, 2139, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5139, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6139, 32, current_timestamp(), current_timestamp(), 0, 5139, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7139, 6139, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1140, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2140, 32, current_timestamp(), current_timestamp(), 0, 1140, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4140, 2140, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5140, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6140, 32, current_timestamp(), current_timestamp(), 0, 5140, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7140, 6140, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1141, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2141, 32, current_timestamp(), current_timestamp(), 0, 1141, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4141, 2141, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5141, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6141, 32, current_timestamp(), current_timestamp(), 0, 5141, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7141, 6141, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1142, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2142, 32, current_timestamp(), current_timestamp(), 0, 1142, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4142, 2142, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5142, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6142, 32, current_timestamp(), current_timestamp(), 0, 5142, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7142, 6142, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1143, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2143, 32, current_timestamp(), current_timestamp(), 0, 1143, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4143, 2143, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5143, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6143, 32, current_timestamp(), current_timestamp(), 0, 5143, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7143, 6143, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1144, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2144, 32, current_timestamp(), current_timestamp(), 0, 1144, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4144, 2144, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5144, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6144, 32, current_timestamp(), current_timestamp(), 0, 5144, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7144, 6144, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1145, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2145, 32, current_timestamp(), current_timestamp(), 0, 1145, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4145, 2145, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5145, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6145, 32, current_timestamp(), current_timestamp(), 0, 5145, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7145, 6145, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1146, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2146, 32, current_timestamp(), current_timestamp(), 0, 1146, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4146, 2146, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5146, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6146, 32, current_timestamp(), current_timestamp(), 0, 5146, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7146, 6146, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1147, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2147, 32, current_timestamp(), current_timestamp(), 0, 1147, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4147, 2147, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5147, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6147, 32, current_timestamp(), current_timestamp(), 0, 5147, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7147, 6147, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1148, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2148, 32, current_timestamp(), current_timestamp(), 0, 1148, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4148, 2148, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5148, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6148, 32, current_timestamp(), current_timestamp(), 0, 5148, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7148, 6148, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1149, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2149, 32, current_timestamp(), current_timestamp(), 0, 1149, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4149, 2149, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5149, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6149, 32, current_timestamp(), current_timestamp(), 0, 5149, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7149, 6149, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1150, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2150, 32, current_timestamp(), current_timestamp(), 0, 1150, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4150, 2150, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5150, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6150, 32, current_timestamp(), current_timestamp(), 0, 5150, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7150, 6150, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1151, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2151, 32, current_timestamp(), current_timestamp(), 0, 1151, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4151, 2151, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5151, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6151, 32, current_timestamp(), current_timestamp(), 0, 5151, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7151, 6151, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1152, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2152, 32, current_timestamp(), current_timestamp(), 0, 1152, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4152, 2152, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5152, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6152, 32, current_timestamp(), current_timestamp(), 0, 5152, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7152, 6152, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1153, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2153, 32, current_timestamp(), current_timestamp(), 0, 1153, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4153, 2153, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5153, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6153, 32, current_timestamp(), current_timestamp(), 0, 5153, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7153, 6153, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1154, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2154, 32, current_timestamp(), current_timestamp(), 0, 1154, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4154, 2154, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5154, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6154, 32, current_timestamp(), current_timestamp(), 0, 5154, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7154, 6154, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1155, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2155, 32, current_timestamp(), current_timestamp(), 0, 1155, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4155, 2155, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5155, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6155, 32, current_timestamp(), current_timestamp(), 0, 5155, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7155, 6155, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1156, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2156, 32, current_timestamp(), current_timestamp(), 0, 1156, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4156, 2156, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5156, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6156, 32, current_timestamp(), current_timestamp(), 0, 5156, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7156, 6156, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1157, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2157, 32, current_timestamp(), current_timestamp(), 0, 1157, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4157, 2157, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5157, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6157, 32, current_timestamp(), current_timestamp(), 0, 5157, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7157, 6157, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1158, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2158, 32, current_timestamp(), current_timestamp(), 0, 1158, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4158, 2158, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5158, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6158, 32, current_timestamp(), current_timestamp(), 0, 5158, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7158, 6158, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1159, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2159, 32, current_timestamp(), current_timestamp(), 0, 1159, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4159, 2159, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5159, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6159, 32, current_timestamp(), current_timestamp(), 0, 5159, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7159, 6159, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1160, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2160, 32, current_timestamp(), current_timestamp(), 0, 1160, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4160, 2160, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5160, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6160, 32, current_timestamp(), current_timestamp(), 0, 5160, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7160, 6160, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1161, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2161, 32, current_timestamp(), current_timestamp(), 0, 1161, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4161, 2161, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5161, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6161, 32, current_timestamp(), current_timestamp(), 0, 5161, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7161, 6161, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1162, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2162, 32, current_timestamp(), current_timestamp(), 0, 1162, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4162, 2162, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5162, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6162, 32, current_timestamp(), current_timestamp(), 0, 5162, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7162, 6162, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1163, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2163, 32, current_timestamp(), current_timestamp(), 0, 1163, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4163, 2163, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5163, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6163, 32, current_timestamp(), current_timestamp(), 0, 5163, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7163, 6163, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1164, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2164, 32, current_timestamp(), current_timestamp(), 0, 1164, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4164, 2164, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5164, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6164, 32, current_timestamp(), current_timestamp(), 0, 5164, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7164, 6164, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1165, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2165, 32, current_timestamp(), current_timestamp(), 0, 1165, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4165, 2165, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5165, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6165, 32, current_timestamp(), current_timestamp(), 0, 5165, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7165, 6165, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1166, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2166, 32, current_timestamp(), current_timestamp(), 0, 1166, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4166, 2166, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5166, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6166, 32, current_timestamp(), current_timestamp(), 0, 5166, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7166, 6166, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1167, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2167, 32, current_timestamp(), current_timestamp(), 0, 1167, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4167, 2167, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5167, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6167, 32, current_timestamp(), current_timestamp(), 0, 5167, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7167, 6167, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1168, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2168, 32, current_timestamp(), current_timestamp(), 0, 1168, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4168, 2168, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5168, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6168, 32, current_timestamp(), current_timestamp(), 0, 5168, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7168, 6168, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1169, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2169, 32, current_timestamp(), current_timestamp(), 0, 1169, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4169, 2169, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5169, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6169, 32, current_timestamp(), current_timestamp(), 0, 5169, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7169, 6169, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1170, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2170, 32, current_timestamp(), current_timestamp(), 0, 1170, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4170, 2170, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5170, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6170, 32, current_timestamp(), current_timestamp(), 0, 5170, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7170, 6170, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1171, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2171, 32, current_timestamp(), current_timestamp(), 0, 1171, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4171, 2171, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5171, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6171, 32, current_timestamp(), current_timestamp(), 0, 5171, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7171, 6171, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1172, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2172, 32, current_timestamp(), current_timestamp(), 0, 1172, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4172, 2172, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5172, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6172, 32, current_timestamp(), current_timestamp(), 0, 5172, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7172, 6172, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1173, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2173, 32, current_timestamp(), current_timestamp(), 0, 1173, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4173, 2173, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5173, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6173, 32, current_timestamp(), current_timestamp(), 0, 5173, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7173, 6173, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1174, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2174, 32, current_timestamp(), current_timestamp(), 0, 1174, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4174, 2174, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5174, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6174, 32, current_timestamp(), current_timestamp(), 0, 5174, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7174, 6174, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1175, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2175, 32, current_timestamp(), current_timestamp(), 0, 1175, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4175, 2175, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5175, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6175, 32, current_timestamp(), current_timestamp(), 0, 5175, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7175, 6175, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1176, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2176, 32, current_timestamp(), current_timestamp(), 0, 1176, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4176, 2176, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5176, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6176, 32, current_timestamp(), current_timestamp(), 0, 5176, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7176, 6176, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1177, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2177, 32, current_timestamp(), current_timestamp(), 0, 1177, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4177, 2177, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5177, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6177, 32, current_timestamp(), current_timestamp(), 0, 5177, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7177, 6177, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1178, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2178, 32, current_timestamp(), current_timestamp(), 0, 1178, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4178, 2178, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5178, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6178, 32, current_timestamp(), current_timestamp(), 0, 5178, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7178, 6178, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1179, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2179, 32, current_timestamp(), current_timestamp(), 0, 1179, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4179, 2179, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5179, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6179, 32, current_timestamp(), current_timestamp(), 0, 5179, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7179, 6179, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1180, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2180, 32, current_timestamp(), current_timestamp(), 0, 1180, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4180, 2180, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5180, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6180, 32, current_timestamp(), current_timestamp(), 0, 5180, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7180, 6180, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1181, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2181, 32, current_timestamp(), current_timestamp(), 0, 1181, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4181, 2181, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5181, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6181, 32, current_timestamp(), current_timestamp(), 0, 5181, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7181, 6181, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1182, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2182, 32, current_timestamp(), current_timestamp(), 0, 1182, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4182, 2182, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5182, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6182, 32, current_timestamp(), current_timestamp(), 0, 5182, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7182, 6182, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1183, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2183, 32, current_timestamp(), current_timestamp(), 0, 1183, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4183, 2183, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5183, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6183, 32, current_timestamp(), current_timestamp(), 0, 5183, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7183, 6183, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1184, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2184, 32, current_timestamp(), current_timestamp(), 0, 1184, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4184, 2184, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5184, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6184, 32, current_timestamp(), current_timestamp(), 0, 5184, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7184, 6184, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1185, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2185, 32, current_timestamp(), current_timestamp(), 0, 1185, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4185, 2185, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5185, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6185, 32, current_timestamp(), current_timestamp(), 0, 5185, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7185, 6185, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1186, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2186, 32, current_timestamp(), current_timestamp(), 0, 1186, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4186, 2186, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5186, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6186, 32, current_timestamp(), current_timestamp(), 0, 5186, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7186, 6186, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1187, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2187, 32, current_timestamp(), current_timestamp(), 0, 1187, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4187, 2187, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5187, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6187, 32, current_timestamp(), current_timestamp(), 0, 5187, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7187, 6187, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1188, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2188, 32, current_timestamp(), current_timestamp(), 0, 1188, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4188, 2188, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5188, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6188, 32, current_timestamp(), current_timestamp(), 0, 5188, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7188, 6188, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1189, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2189, 32, current_timestamp(), current_timestamp(), 0, 1189, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4189, 2189, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5189, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6189, 32, current_timestamp(), current_timestamp(), 0, 5189, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7189, 6189, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1190, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2190, 32, current_timestamp(), current_timestamp(), 0, 1190, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4190, 2190, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5190, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6190, 32, current_timestamp(), current_timestamp(), 0, 5190, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7190, 6190, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1191, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2191, 32, current_timestamp(), current_timestamp(), 0, 1191, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4191, 2191, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5191, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6191, 32, current_timestamp(), current_timestamp(), 0, 5191, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7191, 6191, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1192, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2192, 32, current_timestamp(), current_timestamp(), 0, 1192, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4192, 2192, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5192, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6192, 32, current_timestamp(), current_timestamp(), 0, 5192, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7192, 6192, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1193, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2193, 32, current_timestamp(), current_timestamp(), 0, 1193, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4193, 2193, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5193, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6193, 32, current_timestamp(), current_timestamp(), 0, 5193, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7193, 6193, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1194, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2194, 32, current_timestamp(), current_timestamp(), 0, 1194, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4194, 2194, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5194, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6194, 32, current_timestamp(), current_timestamp(), 0, 5194, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7194, 6194, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1195, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2195, 32, current_timestamp(), current_timestamp(), 0, 1195, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4195, 2195, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5195, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6195, 32, current_timestamp(), current_timestamp(), 0, 5195, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7195, 6195, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1196, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2196, 32, current_timestamp(), current_timestamp(), 0, 1196, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4196, 2196, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5196, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6196, 32, current_timestamp(), current_timestamp(), 0, 5196, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7196, 6196, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1197, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2197, 32, current_timestamp(), current_timestamp(), 0, 1197, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4197, 2197, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5197, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6197, 32, current_timestamp(), current_timestamp(), 0, 5197, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7197, 6197, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1198, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2198, 32, current_timestamp(), current_timestamp(), 0, 1198, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4198, 2198, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5198, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6198, 32, current_timestamp(), current_timestamp(), 0, 5198, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7198, 6198, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1199, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2199, 32, current_timestamp(), current_timestamp(), 0, 1199, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4199, 2199, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5199, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6199, 32, current_timestamp(), current_timestamp(), 0, 5199, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7199, 6199, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1200, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2200, 32, current_timestamp(), current_timestamp(), 0, 1200, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4200, 2200, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5200, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6200, 32, current_timestamp(), current_timestamp(), 0, 5200, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7200, 6200, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1201, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2201, 32, current_timestamp(), current_timestamp(), 0, 1201, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4201, 2201, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5201, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6201, 32, current_timestamp(), current_timestamp(), 0, 5201, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7201, 6201, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1202, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2202, 32, current_timestamp(), current_timestamp(), 0, 1202, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4202, 2202, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5202, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6202, 32, current_timestamp(), current_timestamp(), 0, 5202, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7202, 6202, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1203, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2203, 32, current_timestamp(), current_timestamp(), 0, 1203, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4203, 2203, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5203, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6203, 32, current_timestamp(), current_timestamp(), 0, 5203, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7203, 6203, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1204, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2204, 32, current_timestamp(), current_timestamp(), 0, 1204, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4204, 2204, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5204, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6204, 32, current_timestamp(), current_timestamp(), 0, 5204, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7204, 6204, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1205, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2205, 32, current_timestamp(), current_timestamp(), 0, 1205, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4205, 2205, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5205, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6205, 32, current_timestamp(), current_timestamp(), 0, 5205, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7205, 6205, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1206, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2206, 32, current_timestamp(), current_timestamp(), 0, 1206, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4206, 2206, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5206, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6206, 32, current_timestamp(), current_timestamp(), 0, 5206, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7206, 6206, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1207, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2207, 32, current_timestamp(), current_timestamp(), 0, 1207, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4207, 2207, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5207, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6207, 32, current_timestamp(), current_timestamp(), 0, 5207, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7207, 6207, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1208, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2208, 32, current_timestamp(), current_timestamp(), 0, 1208, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4208, 2208, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5208, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6208, 32, current_timestamp(), current_timestamp(), 0, 5208, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7208, 6208, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1209, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2209, 32, current_timestamp(), current_timestamp(), 0, 1209, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4209, 2209, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5209, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6209, 32, current_timestamp(), current_timestamp(), 0, 5209, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7209, 6209, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1210, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2210, 32, current_timestamp(), current_timestamp(), 0, 1210, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4210, 2210, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5210, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6210, 32, current_timestamp(), current_timestamp(), 0, 5210, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7210, 6210, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1211, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2211, 32, current_timestamp(), current_timestamp(), 0, 1211, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4211, 2211, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5211, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6211, 32, current_timestamp(), current_timestamp(), 0, 5211, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7211, 6211, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1212, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2212, 32, current_timestamp(), current_timestamp(), 0, 1212, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4212, 2212, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5212, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6212, 32, current_timestamp(), current_timestamp(), 0, 5212, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7212, 6212, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1213, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2213, 32, current_timestamp(), current_timestamp(), 0, 1213, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4213, 2213, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5213, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6213, 32, current_timestamp(), current_timestamp(), 0, 5213, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7213, 6213, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1214, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2214, 32, current_timestamp(), current_timestamp(), 0, 1214, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4214, 2214, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5214, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6214, 32, current_timestamp(), current_timestamp(), 0, 5214, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7214, 6214, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1215, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2215, 32, current_timestamp(), current_timestamp(), 0, 1215, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4215, 2215, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5215, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6215, 32, current_timestamp(), current_timestamp(), 0, 5215, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7215, 6215, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1216, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2216, 32, current_timestamp(), current_timestamp(), 0, 1216, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4216, 2216, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5216, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6216, 32, current_timestamp(), current_timestamp(), 0, 5216, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7216, 6216, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1217, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2217, 32, current_timestamp(), current_timestamp(), 0, 1217, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4217, 2217, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5217, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6217, 32, current_timestamp(), current_timestamp(), 0, 5217, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7217, 6217, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1218, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2218, 32, current_timestamp(), current_timestamp(), 0, 1218, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4218, 2218, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5218, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6218, 32, current_timestamp(), current_timestamp(), 0, 5218, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7218, 6218, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1219, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2219, 32, current_timestamp(), current_timestamp(), 0, 1219, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4219, 2219, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5219, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6219, 32, current_timestamp(), current_timestamp(), 0, 5219, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7219, 6219, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1220, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2220, 32, current_timestamp(), current_timestamp(), 0, 1220, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4220, 2220, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5220, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6220, 32, current_timestamp(), current_timestamp(), 0, 5220, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7220, 6220, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1221, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2221, 32, current_timestamp(), current_timestamp(), 0, 1221, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4221, 2221, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5221, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6221, 32, current_timestamp(), current_timestamp(), 0, 5221, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7221, 6221, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1222, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2222, 32, current_timestamp(), current_timestamp(), 0, 1222, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4222, 2222, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5222, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6222, 32, current_timestamp(), current_timestamp(), 0, 5222, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7222, 6222, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1223, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2223, 32, current_timestamp(), current_timestamp(), 0, 1223, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4223, 2223, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5223, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6223, 32, current_timestamp(), current_timestamp(), 0, 5223, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7223, 6223, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1224, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2224, 32, current_timestamp(), current_timestamp(), 0, 1224, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4224, 2224, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5224, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6224, 32, current_timestamp(), current_timestamp(), 0, 5224, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7224, 6224, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1225, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2225, 32, current_timestamp(), current_timestamp(), 0, 1225, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4225, 2225, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5225, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6225, 32, current_timestamp(), current_timestamp(), 0, 5225, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7225, 6225, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1226, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2226, 32, current_timestamp(), current_timestamp(), 0, 1226, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4226, 2226, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5226, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6226, 32, current_timestamp(), current_timestamp(), 0, 5226, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7226, 6226, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1227, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2227, 32, current_timestamp(), current_timestamp(), 0, 1227, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4227, 2227, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5227, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6227, 32, current_timestamp(), current_timestamp(), 0, 5227, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7227, 6227, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1228, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2228, 32, current_timestamp(), current_timestamp(), 0, 1228, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4228, 2228, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5228, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6228, 32, current_timestamp(), current_timestamp(), 0, 5228, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7228, 6228, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1229, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2229, 32, current_timestamp(), current_timestamp(), 0, 1229, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4229, 2229, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5229, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6229, 32, current_timestamp(), current_timestamp(), 0, 5229, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7229, 6229, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1230, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2230, 32, current_timestamp(), current_timestamp(), 0, 1230, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4230, 2230, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5230, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6230, 32, current_timestamp(), current_timestamp(), 0, 5230, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7230, 6230, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1231, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2231, 32, current_timestamp(), current_timestamp(), 0, 1231, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4231, 2231, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5231, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6231, 32, current_timestamp(), current_timestamp(), 0, 5231, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7231, 6231, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1232, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2232, 32, current_timestamp(), current_timestamp(), 0, 1232, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4232, 2232, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5232, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6232, 32, current_timestamp(), current_timestamp(), 0, 5232, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7232, 6232, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1233, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2233, 32, current_timestamp(), current_timestamp(), 0, 1233, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4233, 2233, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5233, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6233, 32, current_timestamp(), current_timestamp(), 0, 5233, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7233, 6233, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1234, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2234, 32, current_timestamp(), current_timestamp(), 0, 1234, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4234, 2234, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5234, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6234, 32, current_timestamp(), current_timestamp(), 0, 5234, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7234, 6234, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1235, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2235, 32, current_timestamp(), current_timestamp(), 0, 1235, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4235, 2235, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5235, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6235, 32, current_timestamp(), current_timestamp(), 0, 5235, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7235, 6235, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1236, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2236, 32, current_timestamp(), current_timestamp(), 0, 1236, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4236, 2236, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5236, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6236, 32, current_timestamp(), current_timestamp(), 0, 5236, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7236, 6236, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1237, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2237, 32, current_timestamp(), current_timestamp(), 0, 1237, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4237, 2237, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5237, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6237, 32, current_timestamp(), current_timestamp(), 0, 5237, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7237, 6237, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1238, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2238, 32, current_timestamp(), current_timestamp(), 0, 1238, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4238, 2238, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5238, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6238, 32, current_timestamp(), current_timestamp(), 0, 5238, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7238, 6238, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1239, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2239, 32, current_timestamp(), current_timestamp(), 0, 1239, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4239, 2239, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5239, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6239, 32, current_timestamp(), current_timestamp(), 0, 5239, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7239, 6239, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1240, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2240, 32, current_timestamp(), current_timestamp(), 0, 1240, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4240, 2240, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5240, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6240, 32, current_timestamp(), current_timestamp(), 0, 5240, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7240, 6240, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1241, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2241, 32, current_timestamp(), current_timestamp(), 0, 1241, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4241, 2241, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5241, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6241, 32, current_timestamp(), current_timestamp(), 0, 5241, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7241, 6241, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1242, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2242, 32, current_timestamp(), current_timestamp(), 0, 1242, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4242, 2242, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5242, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6242, 32, current_timestamp(), current_timestamp(), 0, 5242, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7242, 6242, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1243, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2243, 32, current_timestamp(), current_timestamp(), 0, 1243, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4243, 2243, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5243, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6243, 32, current_timestamp(), current_timestamp(), 0, 5243, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7243, 6243, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1244, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2244, 32, current_timestamp(), current_timestamp(), 0, 1244, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4244, 2244, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5244, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6244, 32, current_timestamp(), current_timestamp(), 0, 5244, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7244, 6244, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1245, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2245, 32, current_timestamp(), current_timestamp(), 0, 1245, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4245, 2245, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5245, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6245, 32, current_timestamp(), current_timestamp(), 0, 5245, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7245, 6245, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1246, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2246, 32, current_timestamp(), current_timestamp(), 0, 1246, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4246, 2246, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5246, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6246, 32, current_timestamp(), current_timestamp(), 0, 5246, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7246, 6246, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1247, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2247, 32, current_timestamp(), current_timestamp(), 0, 1247, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4247, 2247, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5247, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6247, 32, current_timestamp(), current_timestamp(), 0, 5247, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7247, 6247, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1248, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2248, 32, current_timestamp(), current_timestamp(), 0, 1248, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4248, 2248, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5248, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6248, 32, current_timestamp(), current_timestamp(), 0, 5248, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7248, 6248, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1249, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2249, 32, current_timestamp(), current_timestamp(), 0, 1249, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4249, 2249, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5249, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6249, 32, current_timestamp(), current_timestamp(), 0, 5249, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7249, 6249, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1250, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2250, 32, current_timestamp(), current_timestamp(), 0, 1250, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4250, 2250, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5250, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6250, 32, current_timestamp(), current_timestamp(), 0, 5250, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7250, 6250, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1251, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2251, 32, current_timestamp(), current_timestamp(), 0, 1251, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4251, 2251, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5251, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6251, 32, current_timestamp(), current_timestamp(), 0, 5251, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7251, 6251, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1252, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2252, 32, current_timestamp(), current_timestamp(), 0, 1252, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4252, 2252, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5252, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6252, 32, current_timestamp(), current_timestamp(), 0, 5252, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7252, 6252, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1253, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2253, 32, current_timestamp(), current_timestamp(), 0, 1253, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4253, 2253, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5253, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6253, 32, current_timestamp(), current_timestamp(), 0, 5253, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7253, 6253, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1254, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2254, 32, current_timestamp(), current_timestamp(), 0, 1254, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4254, 2254, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5254, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6254, 32, current_timestamp(), current_timestamp(), 0, 5254, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7254, 6254, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1255, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2255, 32, current_timestamp(), current_timestamp(), 0, 1255, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4255, 2255, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5255, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6255, 32, current_timestamp(), current_timestamp(), 0, 5255, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7255, 6255, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1256, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2256, 32, current_timestamp(), current_timestamp(), 0, 1256, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4256, 2256, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5256, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6256, 32, current_timestamp(), current_timestamp(), 0, 5256, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7256, 6256, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1257, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2257, 32, current_timestamp(), current_timestamp(), 0, 1257, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4257, 2257, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5257, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6257, 32, current_timestamp(), current_timestamp(), 0, 5257, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7257, 6257, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1258, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2258, 32, current_timestamp(), current_timestamp(), 0, 1258, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4258, 2258, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5258, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6258, 32, current_timestamp(), current_timestamp(), 0, 5258, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7258, 6258, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1259, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2259, 32, current_timestamp(), current_timestamp(), 0, 1259, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4259, 2259, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5259, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6259, 32, current_timestamp(), current_timestamp(), 0, 5259, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7259, 6259, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1260, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2260, 32, current_timestamp(), current_timestamp(), 0, 1260, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4260, 2260, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5260, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6260, 32, current_timestamp(), current_timestamp(), 0, 5260, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7260, 6260, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1261, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2261, 32, current_timestamp(), current_timestamp(), 0, 1261, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4261, 2261, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5261, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6261, 32, current_timestamp(), current_timestamp(), 0, 5261, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7261, 6261, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1262, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2262, 32, current_timestamp(), current_timestamp(), 0, 1262, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4262, 2262, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5262, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6262, 32, current_timestamp(), current_timestamp(), 0, 5262, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7262, 6262, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1263, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2263, 32, current_timestamp(), current_timestamp(), 0, 1263, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4263, 2263, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5263, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6263, 32, current_timestamp(), current_timestamp(), 0, 5263, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7263, 6263, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1264, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2264, 32, current_timestamp(), current_timestamp(), 0, 1264, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4264, 2264, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5264, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6264, 32, current_timestamp(), current_timestamp(), 0, 5264, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7264, 6264, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1265, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2265, 32, current_timestamp(), current_timestamp(), 0, 1265, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4265, 2265, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5265, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6265, 32, current_timestamp(), current_timestamp(), 0, 5265, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7265, 6265, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1266, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2266, 32, current_timestamp(), current_timestamp(), 0, 1266, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4266, 2266, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5266, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6266, 32, current_timestamp(), current_timestamp(), 0, 5266, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7266, 6266, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1267, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2267, 32, current_timestamp(), current_timestamp(), 0, 1267, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4267, 2267, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5267, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6267, 32, current_timestamp(), current_timestamp(), 0, 5267, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7267, 6267, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1268, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2268, 32, current_timestamp(), current_timestamp(), 0, 1268, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4268, 2268, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5268, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6268, 32, current_timestamp(), current_timestamp(), 0, 5268, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7268, 6268, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1269, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2269, 32, current_timestamp(), current_timestamp(), 0, 1269, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4269, 2269, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5269, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6269, 32, current_timestamp(), current_timestamp(), 0, 5269, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7269, 6269, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1270, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2270, 32, current_timestamp(), current_timestamp(), 0, 1270, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4270, 2270, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5270, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6270, 32, current_timestamp(), current_timestamp(), 0, 5270, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7270, 6270, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1271, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2271, 32, current_timestamp(), current_timestamp(), 0, 1271, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4271, 2271, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5271, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6271, 32, current_timestamp(), current_timestamp(), 0, 5271, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7271, 6271, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1272, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2272, 32, current_timestamp(), current_timestamp(), 0, 1272, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4272, 2272, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5272, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6272, 32, current_timestamp(), current_timestamp(), 0, 5272, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7272, 6272, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1273, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2273, 32, current_timestamp(), current_timestamp(), 0, 1273, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4273, 2273, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5273, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6273, 32, current_timestamp(), current_timestamp(), 0, 5273, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7273, 6273, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1274, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2274, 32, current_timestamp(), current_timestamp(), 0, 1274, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4274, 2274, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5274, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6274, 32, current_timestamp(), current_timestamp(), 0, 5274, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7274, 6274, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1275, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2275, 32, current_timestamp(), current_timestamp(), 0, 1275, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4275, 2275, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5275, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6275, 32, current_timestamp(), current_timestamp(), 0, 5275, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7275, 6275, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1276, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2276, 32, current_timestamp(), current_timestamp(), 0, 1276, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4276, 2276, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5276, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6276, 32, current_timestamp(), current_timestamp(), 0, 5276, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7276, 6276, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1277, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2277, 32, current_timestamp(), current_timestamp(), 0, 1277, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4277, 2277, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5277, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6277, 32, current_timestamp(), current_timestamp(), 0, 5277, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7277, 6277, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1278, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2278, 32, current_timestamp(), current_timestamp(), 0, 1278, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4278, 2278, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5278, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6278, 32, current_timestamp(), current_timestamp(), 0, 5278, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7278, 6278, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1279, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2279, 32, current_timestamp(), current_timestamp(), 0, 1279, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4279, 2279, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5279, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6279, 32, current_timestamp(), current_timestamp(), 0, 5279, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7279, 6279, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1280, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2280, 32, current_timestamp(), current_timestamp(), 0, 1280, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4280, 2280, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5280, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6280, 32, current_timestamp(), current_timestamp(), 0, 5280, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7280, 6280, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1281, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2281, 32, current_timestamp(), current_timestamp(), 0, 1281, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4281, 2281, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5281, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6281, 32, current_timestamp(), current_timestamp(), 0, 5281, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7281, 6281, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1282, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2282, 32, current_timestamp(), current_timestamp(), 0, 1282, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4282, 2282, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5282, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6282, 32, current_timestamp(), current_timestamp(), 0, 5282, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7282, 6282, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1283, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2283, 32, current_timestamp(), current_timestamp(), 0, 1283, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4283, 2283, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5283, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6283, 32, current_timestamp(), current_timestamp(), 0, 5283, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7283, 6283, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1284, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2284, 32, current_timestamp(), current_timestamp(), 0, 1284, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4284, 2284, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5284, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6284, 32, current_timestamp(), current_timestamp(), 0, 5284, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7284, 6284, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1285, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2285, 32, current_timestamp(), current_timestamp(), 0, 1285, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4285, 2285, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5285, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6285, 32, current_timestamp(), current_timestamp(), 0, 5285, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7285, 6285, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1286, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2286, 32, current_timestamp(), current_timestamp(), 0, 1286, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4286, 2286, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5286, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6286, 32, current_timestamp(), current_timestamp(), 0, 5286, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7286, 6286, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1287, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2287, 32, current_timestamp(), current_timestamp(), 0, 1287, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4287, 2287, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5287, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6287, 32, current_timestamp(), current_timestamp(), 0, 5287, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7287, 6287, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1288, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2288, 32, current_timestamp(), current_timestamp(), 0, 1288, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4288, 2288, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5288, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6288, 32, current_timestamp(), current_timestamp(), 0, 5288, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7288, 6288, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1289, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2289, 32, current_timestamp(), current_timestamp(), 0, 1289, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4289, 2289, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5289, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6289, 32, current_timestamp(), current_timestamp(), 0, 5289, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7289, 6289, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1290, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2290, 32, current_timestamp(), current_timestamp(), 0, 1290, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4290, 2290, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5290, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6290, 32, current_timestamp(), current_timestamp(), 0, 5290, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7290, 6290, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1291, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2291, 32, current_timestamp(), current_timestamp(), 0, 1291, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4291, 2291, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5291, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6291, 32, current_timestamp(), current_timestamp(), 0, 5291, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7291, 6291, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1292, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2292, 32, current_timestamp(), current_timestamp(), 0, 1292, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4292, 2292, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5292, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6292, 32, current_timestamp(), current_timestamp(), 0, 5292, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7292, 6292, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1293, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2293, 32, current_timestamp(), current_timestamp(), 0, 1293, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4293, 2293, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5293, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6293, 32, current_timestamp(), current_timestamp(), 0, 5293, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7293, 6293, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1294, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2294, 32, current_timestamp(), current_timestamp(), 0, 1294, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4294, 2294, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5294, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6294, 32, current_timestamp(), current_timestamp(), 0, 5294, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7294, 6294, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1295, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2295, 32, current_timestamp(), current_timestamp(), 0, 1295, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4295, 2295, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5295, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6295, 32, current_timestamp(), current_timestamp(), 0, 5295, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7295, 6295, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1296, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2296, 32, current_timestamp(), current_timestamp(), 0, 1296, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4296, 2296, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5296, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6296, 32, current_timestamp(), current_timestamp(), 0, 5296, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7296, 6296, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1297, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2297, 32, current_timestamp(), current_timestamp(), 0, 1297, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4297, 2297, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5297, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6297, 32, current_timestamp(), current_timestamp(), 0, 5297, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7297, 6297, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1298, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2298, 32, current_timestamp(), current_timestamp(), 0, 1298, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4298, 2298, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5298, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6298, 32, current_timestamp(), current_timestamp(), 0, 5298, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7298, 6298, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a completed listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 1299, 1.00, 1, 'Completed Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'COMPLETED' );
INSERT INTO message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Cancelled listing', 2299, 32, current_timestamp(), current_timestamp(), 0, 1299, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the completed listing
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a completed item', 4299, 2299, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
# insert a cancelled listing and message
INSERT INTO listing ( id, amount, quantity, title, type, version, seller_id, created, updated, status)
VALUES ( 5299, 1.00, 1, 'Cancelled Listing', 'DIGITAL', 0, 32, current_timestamp(), current_timestamp(), 'CANCELLED' );
INSERT message ( text, twitterId, user_id, created, updated, version, listing_id, status, providerId, providerUserId )
VALUES ( 'Completed listing', 6299, 32, current_timestamp(), current_timestamp(), 0, 5299, 'COMPLETED', 'twitter', 'twitter/regtestnancy' );
# insert a response to the cancelled item
insert into message ( text, twitterId, inResponseToTwitterId, user_id, created, updated, version, status, providerId, providerUserId )
VALUES ( '@regtestnancy buy a cancelled item', 7299, 6299, 31, current_timestamp(), current_timestamp(), 0, 'PROCESSING', 'twitter', 'regtestjoe' );
| true |
12e574b486e8ea7b0277a09cae30609fb1e7a923 | SQL | tajindes/anomalyDetectionProject | /batchQueries/elastic_processLAdata.sql | UTF-8 | 3,256 | 3.53125 | 4 | [] | no_license | add jar /usr/local/elasticsearch-hadoop-2.1.1/dist/elasticsearch-hadoop-hive-2.1.1.jar;
--Manually create the index for crime_info table and define crimelocation as geopoint for the first time (if you drop the index itself).
drop table crime_info;
CREATE EXTERNAL TABLE crime_info (
crime_timestamp TIMESTAMP,
crimecode STRING,
crimecodedesc STRING,
crimetype STRING,
crimeLocation string,
zip STRING,
city STRING,
state STRING,
country STRING
)
STORED BY 'org.elasticsearch.hadoop.hive.EsStorageHandler'
TBLPROPERTIES('es.resource' = 'crimes/crime',
'es.mapping.names' = 'crime_timestamp:crime_ts, date:@timestamp');
--describe crime_info;
--select "2015-03-07T16:12:00Z", crm_cd as crime_code, crm_cd_desc as crime_cd_desc, crimtetype as crimetype, regexp_extract(latitude, '[-]*[0-9]*[.][0-9]*', 0),regexp_extract(longitude, '[-]*[0-9]*[.][0-9]*', 0), null, null, null, null from ladsraw limit 10;
--concat(substr(regexp_replace(date_occ, '/', ''),5,4),'-',substr(regexp_replace(date_occ, '/', ''),3,2),'-',substr(regexp_replace(date_occ, '/', ''),1,2), 'T', substr(lpad(time_occ,4,0),1,2),':', substr(lpad(time_occ,4,0),3,2),':','00Z')
--select date_occ, time_occ, substr(regexp_replace(date_occ, '/', ''),5,4), substr(regexp_replace(date_occ, '/', ''),3,2), substr(regexp_replace(date_occ, '/', ''),1,2),
--substr(lpad(time_occ,4,0),1,2), substr(lpad(time_occ,4,0),3,2), unix_timestamp(concat(substr(regexp_replace(date_occ, '/', ''),5,4),'-',
--substr(regexp_replace(date_occ, '/', ''),1,2),'-',
--substr(regexp_replace(date_occ, '/', ''),3,2), ' ', substr(lpad(time_occ,4,0),1,2),':', substr(lpad(time_occ,4,0),3,2),':','00'))*1000, crm_cd as crime_code,
--crm_cd_desc as crime_cd_desc, crimtetype as crimetype, named_struct('lat', regexp_extract(latitude, '[-]*[0-9]*[.][0-9]*', 0),
-- 'lon', regexp_extract(longitude, '[-]*[0-9]*[.][0-9]*', 0)), null, null, null, null from ladsraw limit 50;
INSERT OVERWRITE TABLE crime_info select unix_timestamp(concat(substr(regexp_replace(date_occ, '/', ''),5,4),'-',substr(regexp_replace(date_occ, '/', ''),1,2),'-',
substr(regexp_replace(date_occ, '/', ''),3,2), ' ', substr(lpad(time_occ,4,0),1,2),':', substr(lpad(time_occ,4,0),3,2),':','00'))*1000, crm_cd as crime_code,
crm_cd_desc as crime_cd_desc, crimtetype as crimetype, concat(regexp_extract(latitude, '[-]*[0-9]*[.][0-9]*', 0), ',', regexp_extract(longitude, '[-]*[0-9]*[.][0-9]*', 0)),
null, null, null, null from ladsraw
where length(regexp_extract(latitude, '[-]*[0-9]*[.][0-9]*', 0)) > 0 and length(regexp_extract(longitude, '[-]*[0-9]*[.][0-9]*', 0)) > 0;
--INSERT OVERWRITE TABLE crime_info select concat(substr(regexp_replace(date_occ, '/', ''),5,4),'-',substr(regexp_replace(date_occ, '/', ''),3,2),'-',
--substr(regexp_replace(date_occ, '/', ''),1,2), ' ', substr(lpad(time_occ,4,0),1,2),':', substr(lpad(time_occ,4,0),3,2),':','00'), crm_cd as crime_code,
--crm_cd_desc as crime_cd_desc, crimtetype as crimetype, regexp_extract(latitude, '[-]*[0-9]*[.][0-9]*', 0), regexp_extract(longitude, '[-]*[0-9]*[.][0-9]*', 0),
--null, null, null, null from ladsraw;
describe crime_info;
--select count(*) from crime_info;
select * from crime_info limit 10;
select count(*) from crime_info;
| true |
c5215975b5bbdb61c3928f9df832242d69c40dee | SQL | alexchris0309/database-exercises | /adlister.sql | UTF-8 | 600 | 3.4375 | 3 | [] | no_license | Select user_id
from users_ads as ua
join ads as a on ua.id=a.id
join users as u on a.id=us.user_id
Where title="insert_text_here";
Select name
from ads_categories ac
join ads as a on a.id=ac.ad_id;
join categoires as c on c.id=ac.category_id
Where title="insert_text_here";
select *
from ads a
join ads_categories as ac on a.id=ac.id
join cateogires as c on ac.id=c.id
Where name="insert_text_here";
select *
froms ads
join users_ads as ua on ua.id =a.id
join users as us on u.id=ua.category_id
Where user_id="insert_text_here"; | true |
97c05adc7cd1cfc41b3d99e985f9db2fe33dda15 | SQL | atsullivan/CMSI486 | /crossfit_load_data.sql | UTF-8 | 6,970 | 3.4375 | 3 | [] | no_license | --
-- TABLE: Athlete
--
CREATE TABLE IF NOT EXISTS Athlete(
a_ID INT NOT NULL,
a_gender VARCHAR(10),
a_height INT,
a_weight INT,
a_region VARCHAR(16),
affiliate VARCHAR(24),
a_email VARCHAR(24),
app_date DATE,
dob DATE,
a_name VARCHAR(24),
PRIMARY KEY (a_ID)
)ENGINE=INNODB
;
INSERT INTO Athlete (a_ID, a_gender, a_height, a_weight, a_region, affiliate, a_email, app_date, dob, a_name) VALUES
(1, 'm', 180, 190, 'Mid Atlantic', 'CrossFit Krypton', 'bsmith@gmail.com', '2010-1-12', '1990-1-1', 'Smith'),
(2, 'm', 175, 195, 'Central East', 'CrossFit Mayhem', 'rfroning@gmail.com', '2009-1-2', '1987-1-1', 'Froning'),
(3, 'm', 170, 180, 'So Cal', 'none', 'dbailey@gmail.com', '2008-2-24', '1984-1-1', 'Bailey'),
(4, 'f', 167, 137, 'Europe', 'CrossFit Black Five', 'sbriggs@gmail.com', '2009-5-17', '1982-1-1', 'Briggs'),
(5, 'f', 162, 135, 'Central East', 'CrossFit Ann Arbor', 'sfoucher@gmail.com', '2010-3-23', '1989-1-1', 'Foucher'),
(6, 'f', 160, 115, 'Mid Atlantic', 'CrossFit Invoke', 'cabbott@gmail.com', '2008-9-9', '1982-1-1', 'Abbott');
--
-- TABLE: Competition
--
CREATE TABLE IF NOT EXISTS Competition(
comp_name VARCHAR(24) NOT NULL,
comp_type VARCHAR(10),
comp_score INT,
comp_region VARCHAR(16),
PRIMARY KEY (comp_name)
)ENGINE=INNODB
;
INSERT INTO Competition (comp_name, comp_type, comp_score, comp_region) VALUES
('2014 CrossFit Games', 'Games', 5, 'Global'),
('2014 Regionals CE', 'Regionals', 5, 'Central East'),
('2014 Regionals MA', 'Regionals', 5, 'Mid Atlantic'),
('2014 Regionals SC', 'Regionals', 5, 'So Cal'),
('2014 Regionals EU', 'Regionals', 5, 'Europe'),
('2014 Open SC', 'Open', 5, 'So Cal'),
('2014 Open EU', 'Open', 5, 'Europe'),
('2014 Open CE', 'Open', 5, 'Central East'),
('2014 Open MA', 'Open', 5, 'Mid Atlantic'),
('2013 CrossFit Games', 'Games', 5, 'Global'),
('2013 Regionals EU', 'Regionals', 5, 'Europe'),
('2013 Regionals MA', 'Regionals', 5, 'Mid Atlantic'),
('2013 Regionals SC', 'Regionals', 5, 'So Cal'),
('2013 Regionals CE', 'Regionals', 5, 'Central East'),
('2013 Open SC', 'Open', 5, 'So Cal'),
('2013 Open MA', 'Open', 5, 'Mid Atlantic'),
('2013 Open EU', 'Open', 5, 'Europe'),
('2013 Open CE', 'Open', 5, 'Central East')
;
--
-- TABLE: Participation
--
CREATE TABLE IF NOT EXISTS Participation(
a_ID INT NOT NULL,
comp_name VARCHAR(24) NOT NULL
)ENGINE=INNODB
;
INSERT INTO Participation( a_ID, comp_name) VALUES
(1, '2014 CrossFit Games'),
(1, '2014 Regionals MA'),
(1, '2014 Open MA'),
(2, '2014 CrossFit Games'),
(2, '2014 Regionals CE'),
(2, '2014 Open CE'),
(3, '2014 CrossFit Games'),
(3, '2014 Regionals SC'),
(3, '2014 Open SC'),
(4, '2014 CrossFit Games'),
(4, '2014 Regionals EU'),
(4, '2014 Open EU'),
(5, '2014 CrossFit Games'),
(5, '2014 Regionals CE'),
(5, '2014 Open CE'),
(6, '2014 CrossFit Games'),
(6, '2014 Regionals MA'),
(6, '2014 Open MA')
;
--
-- Add foreign key constraint
--
ALTER TABLE Participation ADD CONSTRAINT participation_a_ID_FK
FOREIGN KEY (a_ID)
REFERENCES Athlete(a_ID)
;
ALTER TABLE Participation ADD CONSTRAINT participation_comp_name_FK
FOREIGN KEY (comp_name)
REFERENCES Competition(comp_name)
;
--
-- TABLE: Accomplishment
--
CREATE TABLE IF NOT EXISTS Accomplishment(
a_ID INT NOT NULL,
comp_name VARCHAR(24) NOT NULL,
workout_name VARCHAR(16) NOT NULL,
a_score TIME,
PRIMARY KEY (a_ID, comp_name, workout_name)
)ENGINE=INNODB
;
INSERT INTO Accomplishment (a_ID, comp_name, workout_name, a_score) VALUES
(1, '2014 CrossFit Games', 'Fran', '00:02:25'),
(2, '2014 CrossFit Games', 'Fran', '00:02:13'),
(3, '2014 CrossFit Games', 'Fran', '00:02:17'),
(4, '2014 CrossFit Games', 'Fran', '00:02:35'),
(5, '2014 CrossFit Games', 'Fran', '00:02:24'),
(6, '2014 CrossFit Games', 'Fran', '00:02:35'),
(1, '2014 Regionals MA', 'Grace', '00:01:51'),
(2, '2014 Regionals CE', 'Grace', '00:01:11'),
(3, '2014 Regionals SC', 'Grace', '00:01:37'),
(4, '2014 Regionals EU', 'Grace', '00:01:35'),
(5, '2014 Regionals CE', 'Grace', '00:01:39'),
(6, '2014 Regionals MA', 'Grace', '00:01:45');
--
-- TABLE: Benchmark
--
--
-- Add foreign key constraint
--
ALTER TABLE Accomplishment ADD CONSTRAINT accomplishment_a_ID_FK
FOREIGN KEY (a_ID)
REFERENCES Participation(a_ID)
;
ALTER TABLE Accomplishment ADD CONSTRAINT accomplishment_comp_name_FK
FOREIGN KEY (comp_name)
REFERENCES Participation(comp_name)
;
CREATE TABLE IF NOT EXISTS Benchmark(
a_ID INT NOT NULL,
b_name VARCHAR(16) NOT NULL,
units VARCHAR(10),
type VARCHAR(10),
b_score TIME,
PRIMARY KEY (a_ID, b_name)
)ENGINE=INNODB
;
INSERT INTO Benchmark (a_ID, b_name, units, type, b_score) VALUES
(1, 'Fran', 'seconds', 'time', '00:02:25'),
(1, 'Grace', 'seconds', 'time', '00:01:51'),
(2, 'Fran', 'seconds', 'time', '00:02:13'),
(2, 'Grace', 'seconds', 'time', '00:01:11'),
(3, 'Fran', 'seconds', 'time', '00:02:17'),
(3, 'Grace', 'seconds', 'time', '00:01:37'),
(4, 'Fran', 'seconds', 'time', '00:02:35'),
(4, 'Grace', 'seconds', 'time', '00:01:35'),
(5, 'Fran', 'seconds', 'time', '00:02:24'),
(5, 'Grace', 'seconds', 'time', '00:01:39'),
(5, 'Filthy 50', 'seconds', 'time', '00:17:18'),
(5, 'Helen', 'seconds', 'time', '00:07:55'),
(6, 'Fran', 'seconds', 'time', '00:02:35'),
(6, 'Grace', 'seconds', 'time', '00:01:45');
--
-- Add foreign key constraint
--
ALTER TABLE Benchmark ADD CONSTRAINT benchmark_a_ID_FK
FOREIGN KEY (a_ID)
REFERENCES Athlete(a_ID)
;
--
-- TABLE: Feat
--
CREATE TABLE IF NOT EXISTS Feat(
type VARCHAR(10),
units VARCHAR(10)
)ENGINE=INNODB
;
INSERT INTO Feat (type, units) VALUES
('time', 'seconds'),
('weight', 'lbs'),
('reps', 'reps'),
('total', 'points');
--
-- INDEX: Ref97
--
CREATE INDEX Ref97 ON Accomplishment(a_ID, comp_name)
;
--
-- INDEX: Ref18
--
CREATE INDEX Ref18 ON Benchmark(a_ID)
;
--
-- INDEX: Ref15
--
CREATE INDEX Ref15 ON Participation(a_ID)
;
--
-- INDEX: Ref26
--
CREATE INDEX Ref26 ON Participation(comp_name)
;
CREATE VIEW userview AS
SELECT a.a_ID, a.a_gender, a.a_height, a.a_weight, a.a_region, a.affiliate, a.dob, a.a_name, c.comp_name, c.comp_type, c.comp_score, c.comp_region, accomp.workout_name, accomp.a_score, b.b_name, b.units, b.type, b.b_score
FROM Athlete AS a,
Competition AS c,
Accomplishment AS accomp,
Benchmark AS b,
Participation AS p
WHERE a.a_ID = p.a_ID
AND p.comp_name = c.comp_name
AND accomp.a_ID = p.a_ID
AND a.a_ID = b.a_ID
;
DELIMITER $$
CREATE TRIGGER bench_best BEFORE UPDATE
ON Accomplishment FOR EACH ROW
BEGIN
UPDATE Benchmark
SET b_score = NEW.a_score
WHERE b_score > NEW.a_score
AND a_ID = NEW.a_ID
AND b_name = NEW.workout_name
;
END$$
DELIMITER ;
| true |
5d2009bdf335a719ffc0721e6400d6818fbad295 | SQL | olicity-wong/Sample | /图书管理系统/数据库.sql | UTF-8 | 1,861 | 3.171875 | 3 | [] | no_license | /*
SQLyog Ultimate v11.11 (64 bit)
MySQL - 5.5.37 : Database - test_1
*********************************************************************
*/
/*!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*/`test_1` /*!40100 DEFAULT CHARACTER SET utf8 */;
USE `test_1`;
/*Table structure for table `book_message` */
DROP TABLE IF EXISTS `book_message`;
CREATE TABLE `book_message` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键,自动增长',
`name` varchar(50) NOT NULL COMMENT '图书名',
`price` float NOT NULL COMMENT '图书价格',
`press` varchar(50) NOT NULL COMMENT '出版社',
`author` varchar(50) NOT NULL COMMENT '图书作者',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=24 DEFAULT CHARSET=utf8;
/*Data for the table `book_message` */
/*Table structure for table `user_message` */
DROP TABLE IF EXISTS `user_message`;
CREATE TABLE `user_message` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键,自动增长',
`username` varchar(50) NOT NULL COMMENT '会员姓名',
`userpass` varchar(50) NOT NULL COMMENT '会员密码',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
/*Data for the table `user_message` */
insert into `user_message`(`id`,`username`,`userpass`) values (1,'admin','abc123');
/*!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 |
4244e7aeb4efb7c32a5d3e08d0356129860e7f04 | SQL | Gitwangziwang/mxonline | /mxonline.sql | UTF-8 | 83,525 | 3.203125 | 3 | [] | no_license | /*
Navicat Premium Data Transfer
Source Server : djangostart
Source Server Type : MySQL
Source Server Version : 50722
Source Host : localhost:3306
Source Schema : mxonline
Target Server Type : MySQL
Target Server Version : 50722
File Encoding : 65001
Date: 23/08/2018 23:51:33
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for auth_group
-- ----------------------------
DROP TABLE IF EXISTS `auth_group`;
CREATE TABLE `auth_group` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(80) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
PRIMARY KEY (`id`) USING BTREE,
UNIQUE INDEX `name`(`name`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Table structure for auth_group_permissions
-- ----------------------------
DROP TABLE IF EXISTS `auth_group_permissions`;
CREATE TABLE `auth_group_permissions` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`group_id` int(11) NOT NULL,
`permission_id` int(11) NOT NULL,
PRIMARY KEY (`id`) USING BTREE,
UNIQUE INDEX `auth_group_permissions_group_id_0cd325b0_uniq`(`group_id`, `permission_id`) USING BTREE,
INDEX `auth_group_permissi_permission_id_84c5c92e_fk_auth_permission_id`(`permission_id`) USING BTREE,
CONSTRAINT `auth_group_permissi_permission_id_84c5c92e_fk_auth_permission_id` FOREIGN KEY (`permission_id`) REFERENCES `auth_permission` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
CONSTRAINT `auth_group_permissions_group_id_b120cbf9_fk_auth_group_id` FOREIGN KEY (`group_id`) REFERENCES `auth_group` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Table structure for auth_permission
-- ----------------------------
DROP TABLE IF EXISTS `auth_permission`;
CREATE TABLE `auth_permission` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`content_type_id` int(11) NOT NULL,
`codename` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
PRIMARY KEY (`id`) USING BTREE,
UNIQUE INDEX `auth_permission_content_type_id_01ab375a_uniq`(`content_type_id`, `codename`) USING BTREE,
CONSTRAINT `auth_permissi_content_type_id_2f476e4b_fk_django_content_type_id` FOREIGN KEY (`content_type_id`) REFERENCES `django_content_type` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 105 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of auth_permission
-- ----------------------------
INSERT INTO `auth_permission` VALUES (1, 'Can add log entry', 1, 'add_logentry');
INSERT INTO `auth_permission` VALUES (2, 'Can change log entry', 1, 'change_logentry');
INSERT INTO `auth_permission` VALUES (3, 'Can delete log entry', 1, 'delete_logentry');
INSERT INTO `auth_permission` VALUES (4, 'Can view log entry', 1, 'view_logentry');
INSERT INTO `auth_permission` VALUES (5, 'Can add permission', 2, 'add_permission');
INSERT INTO `auth_permission` VALUES (6, 'Can change permission', 2, 'change_permission');
INSERT INTO `auth_permission` VALUES (7, 'Can delete permission', 2, 'delete_permission');
INSERT INTO `auth_permission` VALUES (8, 'Can add group', 3, 'add_group');
INSERT INTO `auth_permission` VALUES (9, 'Can change group', 3, 'change_group');
INSERT INTO `auth_permission` VALUES (10, 'Can delete group', 3, 'delete_group');
INSERT INTO `auth_permission` VALUES (14, 'Can view group', 3, 'view_group');
INSERT INTO `auth_permission` VALUES (15, 'Can view permission', 2, 'view_permission');
INSERT INTO `auth_permission` VALUES (17, 'Can add content type', 5, 'add_contenttype');
INSERT INTO `auth_permission` VALUES (18, 'Can change content type', 5, 'change_contenttype');
INSERT INTO `auth_permission` VALUES (19, 'Can delete content type', 5, 'delete_contenttype');
INSERT INTO `auth_permission` VALUES (20, 'Can view content type', 5, 'view_contenttype');
INSERT INTO `auth_permission` VALUES (21, 'Can add session', 6, 'add_session');
INSERT INTO `auth_permission` VALUES (22, 'Can change session', 6, 'change_session');
INSERT INTO `auth_permission` VALUES (23, 'Can delete session', 6, 'delete_session');
INSERT INTO `auth_permission` VALUES (24, 'Can view session', 6, 'view_session');
INSERT INTO `auth_permission` VALUES (25, 'Can add Bookmark', 7, 'add_bookmark');
INSERT INTO `auth_permission` VALUES (26, 'Can change Bookmark', 7, 'change_bookmark');
INSERT INTO `auth_permission` VALUES (27, 'Can delete Bookmark', 7, 'delete_bookmark');
INSERT INTO `auth_permission` VALUES (28, 'Can add User Setting', 8, 'add_usersettings');
INSERT INTO `auth_permission` VALUES (29, 'Can change User Setting', 8, 'change_usersettings');
INSERT INTO `auth_permission` VALUES (30, 'Can delete User Setting', 8, 'delete_usersettings');
INSERT INTO `auth_permission` VALUES (31, 'Can add User Widget', 9, 'add_userwidget');
INSERT INTO `auth_permission` VALUES (32, 'Can change User Widget', 9, 'change_userwidget');
INSERT INTO `auth_permission` VALUES (33, 'Can delete User Widget', 9, 'delete_userwidget');
INSERT INTO `auth_permission` VALUES (34, 'Can add log entry', 10, 'add_log');
INSERT INTO `auth_permission` VALUES (35, 'Can change log entry', 10, 'change_log');
INSERT INTO `auth_permission` VALUES (36, 'Can delete log entry', 10, 'delete_log');
INSERT INTO `auth_permission` VALUES (37, 'Can view Bookmark', 7, 'view_bookmark');
INSERT INTO `auth_permission` VALUES (38, 'Can view log entry', 10, 'view_log');
INSERT INTO `auth_permission` VALUES (39, 'Can view User Setting', 8, 'view_usersettings');
INSERT INTO `auth_permission` VALUES (40, 'Can view User Widget', 9, 'view_userwidget');
INSERT INTO `auth_permission` VALUES (41, 'Can add 用户信息', 11, 'add_userprofile');
INSERT INTO `auth_permission` VALUES (42, 'Can change 用户信息', 11, 'change_userprofile');
INSERT INTO `auth_permission` VALUES (43, 'Can delete 用户信息', 11, 'delete_userprofile');
INSERT INTO `auth_permission` VALUES (44, 'Can add 邮箱验证码', 12, 'add_emailverifyrecord');
INSERT INTO `auth_permission` VALUES (45, 'Can change 邮箱验证码', 12, 'change_emailverifyrecord');
INSERT INTO `auth_permission` VALUES (46, 'Can delete 邮箱验证码', 12, 'delete_emailverifyrecord');
INSERT INTO `auth_permission` VALUES (47, 'Can add 轮播图', 13, 'add_banner');
INSERT INTO `auth_permission` VALUES (48, 'Can change 轮播图', 13, 'change_banner');
INSERT INTO `auth_permission` VALUES (49, 'Can delete 轮播图', 13, 'delete_banner');
INSERT INTO `auth_permission` VALUES (50, 'Can view 轮播图', 13, 'view_banner');
INSERT INTO `auth_permission` VALUES (51, 'Can view 邮箱验证码', 12, 'view_emailverifyrecord');
INSERT INTO `auth_permission` VALUES (52, 'Can view 用户信息', 11, 'view_userprofile');
INSERT INTO `auth_permission` VALUES (53, 'Can add 课程', 14, 'add_course');
INSERT INTO `auth_permission` VALUES (54, 'Can change 课程', 14, 'change_course');
INSERT INTO `auth_permission` VALUES (55, 'Can delete 课程', 14, 'delete_course');
INSERT INTO `auth_permission` VALUES (56, 'Can add 章节', 15, 'add_lesson');
INSERT INTO `auth_permission` VALUES (57, 'Can change 章节', 15, 'change_lesson');
INSERT INTO `auth_permission` VALUES (58, 'Can delete 章节', 15, 'delete_lesson');
INSERT INTO `auth_permission` VALUES (59, 'Can add 视频', 16, 'add_video');
INSERT INTO `auth_permission` VALUES (60, 'Can change 视频', 16, 'change_video');
INSERT INTO `auth_permission` VALUES (61, 'Can delete 视频', 16, 'delete_video');
INSERT INTO `auth_permission` VALUES (62, 'Can add 课程资源', 17, 'add_courseresourse');
INSERT INTO `auth_permission` VALUES (63, 'Can change 课程资源', 17, 'change_courseresourse');
INSERT INTO `auth_permission` VALUES (64, 'Can delete 课程资源', 17, 'delete_courseresourse');
INSERT INTO `auth_permission` VALUES (65, 'Can view 课程', 14, 'view_course');
INSERT INTO `auth_permission` VALUES (66, 'Can view 课程资源', 17, 'view_courseresourse');
INSERT INTO `auth_permission` VALUES (67, 'Can view 章节', 15, 'view_lesson');
INSERT INTO `auth_permission` VALUES (68, 'Can view 视频', 16, 'view_video');
INSERT INTO `auth_permission` VALUES (69, 'Can add 用户咨询', 18, 'add_userask');
INSERT INTO `auth_permission` VALUES (70, 'Can change 用户咨询', 18, 'change_userask');
INSERT INTO `auth_permission` VALUES (71, 'Can delete 用户咨询', 18, 'delete_userask');
INSERT INTO `auth_permission` VALUES (72, 'Can add 课程评论', 19, 'add_coursecomment');
INSERT INTO `auth_permission` VALUES (73, 'Can change 课程评论', 19, 'change_coursecomment');
INSERT INTO `auth_permission` VALUES (74, 'Can delete 课程评论', 19, 'delete_coursecomment');
INSERT INTO `auth_permission` VALUES (75, 'Can add 用户收藏', 20, 'add_userfavorite');
INSERT INTO `auth_permission` VALUES (76, 'Can change 用户收藏', 20, 'change_userfavorite');
INSERT INTO `auth_permission` VALUES (77, 'Can delete 用户收藏', 20, 'delete_userfavorite');
INSERT INTO `auth_permission` VALUES (78, 'Can add 用户消息', 21, 'add_usermessage');
INSERT INTO `auth_permission` VALUES (79, 'Can change 用户消息', 21, 'change_usermessage');
INSERT INTO `auth_permission` VALUES (80, 'Can delete 用户消息', 21, 'delete_usermessage');
INSERT INTO `auth_permission` VALUES (81, 'Can add 用户课程', 22, 'add_usercourse');
INSERT INTO `auth_permission` VALUES (82, 'Can change 用户课程', 22, 'change_usercourse');
INSERT INTO `auth_permission` VALUES (83, 'Can delete 用户课程', 22, 'delete_usercourse');
INSERT INTO `auth_permission` VALUES (84, 'Can view 课程评论', 19, 'view_coursecomment');
INSERT INTO `auth_permission` VALUES (85, 'Can view 用户咨询', 18, 'view_userask');
INSERT INTO `auth_permission` VALUES (86, 'Can view 用户课程', 22, 'view_usercourse');
INSERT INTO `auth_permission` VALUES (87, 'Can view 用户收藏', 20, 'view_userfavorite');
INSERT INTO `auth_permission` VALUES (88, 'Can view 用户消息', 21, 'view_usermessage');
INSERT INTO `auth_permission` VALUES (89, 'Can add 城市', 23, 'add_citydict');
INSERT INTO `auth_permission` VALUES (90, 'Can change 城市', 23, 'change_citydict');
INSERT INTO `auth_permission` VALUES (91, 'Can delete 城市', 23, 'delete_citydict');
INSERT INTO `auth_permission` VALUES (92, 'Can add 课程机构', 24, 'add_courseorg');
INSERT INTO `auth_permission` VALUES (93, 'Can change 课程机构', 24, 'change_courseorg');
INSERT INTO `auth_permission` VALUES (94, 'Can delete 课程机构', 24, 'delete_courseorg');
INSERT INTO `auth_permission` VALUES (95, 'Can add 教师', 25, 'add_teacher');
INSERT INTO `auth_permission` VALUES (96, 'Can change 教师', 25, 'change_teacher');
INSERT INTO `auth_permission` VALUES (97, 'Can delete 教师', 25, 'delete_teacher');
INSERT INTO `auth_permission` VALUES (98, 'Can view 城市', 23, 'view_citydict');
INSERT INTO `auth_permission` VALUES (99, 'Can view 课程机构', 24, 'view_courseorg');
INSERT INTO `auth_permission` VALUES (100, 'Can view 教师', 25, 'view_teacher');
INSERT INTO `auth_permission` VALUES (101, 'Can add captcha store', 26, 'add_captchastore');
INSERT INTO `auth_permission` VALUES (102, 'Can change captcha store', 26, 'change_captchastore');
INSERT INTO `auth_permission` VALUES (103, 'Can delete captcha store', 26, 'delete_captchastore');
INSERT INTO `auth_permission` VALUES (104, 'Can view captcha store', 26, 'view_captchastore');
-- ----------------------------
-- Table structure for auth_user
-- ----------------------------
DROP TABLE IF EXISTS `auth_user`;
CREATE TABLE `auth_user` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`password` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`last_login` datetime(6) NULL DEFAULT NULL,
`is_superuser` tinyint(1) NOT NULL,
`username` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`first_name` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`last_name` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`email` varchar(254) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`is_staff` tinyint(1) NOT NULL,
`is_active` tinyint(1) NOT NULL,
`date_joined` datetime(6) NOT NULL,
PRIMARY KEY (`id`) USING BTREE,
UNIQUE INDEX `username`(`username`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of auth_user
-- ----------------------------
INSERT INTO `auth_user` VALUES (1, 'pbkdf2_sha256$24000$vtSd9DgNbQuX$0Gk0pNMZBFw9ga8p6Lk0hW6he1GMCm1+I8jPvjFGc+o=', '2018-08-14 19:37:40.434064', 1, 'wangzi', '', '', '1@1.com', 1, 1, '2018-08-14 19:37:33.211245');
-- ----------------------------
-- Table structure for auth_user_groups
-- ----------------------------
DROP TABLE IF EXISTS `auth_user_groups`;
CREATE TABLE `auth_user_groups` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user_id` int(11) NOT NULL,
`group_id` int(11) NOT NULL,
PRIMARY KEY (`id`) USING BTREE,
UNIQUE INDEX `auth_user_groups_user_id_94350c0c_uniq`(`user_id`, `group_id`) USING BTREE,
INDEX `auth_user_groups_group_id_97559544_fk_auth_group_id`(`group_id`) USING BTREE,
CONSTRAINT `auth_user_groups_group_id_97559544_fk_auth_group_id` FOREIGN KEY (`group_id`) REFERENCES `auth_group` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
CONSTRAINT `auth_user_groups_user_id_6a12ed8b_fk_auth_user_id` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Table structure for auth_user_user_permissions
-- ----------------------------
DROP TABLE IF EXISTS `auth_user_user_permissions`;
CREATE TABLE `auth_user_user_permissions` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user_id` int(11) NOT NULL,
`permission_id` int(11) NOT NULL,
PRIMARY KEY (`id`) USING BTREE,
UNIQUE INDEX `auth_user_user_permissions_user_id_14a6b632_uniq`(`user_id`, `permission_id`) USING BTREE,
INDEX `auth_user_user_perm_permission_id_1fbb5f2c_fk_auth_permission_id`(`permission_id`) USING BTREE,
CONSTRAINT `auth_user_user_perm_permission_id_1fbb5f2c_fk_auth_permission_id` FOREIGN KEY (`permission_id`) REFERENCES `auth_permission` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
CONSTRAINT `auth_user_user_permissions_user_id_a95ead1b_fk_auth_user_id` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Table structure for captcha_captchastore
-- ----------------------------
DROP TABLE IF EXISTS `captcha_captchastore`;
CREATE TABLE `captcha_captchastore` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`challenge` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`response` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`hashkey` varchar(40) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`expiration` datetime(6) NOT NULL,
PRIMARY KEY (`id`) USING BTREE,
UNIQUE INDEX `hashkey`(`hashkey`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 96 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of captcha_captchastore
-- ----------------------------
INSERT INTO `captcha_captchastore` VALUES (89, 'TFBI', 'tfbi', '5e70190545a81dfdff42360ad239de292b601abd', '2018-08-18 12:30:18.068505');
INSERT INTO `captcha_captchastore` VALUES (91, 'OBTV', 'obtv', '54273aedd05b1645d7fdb4b19bfd5c57fb5c20cf', '2018-08-18 12:34:53.411710');
INSERT INTO `captcha_captchastore` VALUES (92, 'JHVF', 'jhvf', '6c9c7d47f8d58b4be9738196585fa5358f3e784f', '2018-08-18 12:34:58.313540');
INSERT INTO `captcha_captchastore` VALUES (93, 'DEGO', 'dego', '4ec37e2241df7458cb02db62a22b9ef5a4b088b0', '2018-08-18 13:01:34.123275');
INSERT INTO `captcha_captchastore` VALUES (94, 'QSDI', 'qsdi', '2c9fa1a610bba8543094d1b4de45bfcc44c23e5c', '2018-08-18 13:50:57.274113');
INSERT INTO `captcha_captchastore` VALUES (95, 'HANR', 'hanr', '7b42867f61cfc486dc3c9c3356d202494705b805', '2018-08-18 13:52:09.957385');
-- ----------------------------
-- Table structure for courses_course
-- ----------------------------
DROP TABLE IF EXISTS `courses_course`;
CREATE TABLE `courses_course` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`desc` varchar(300) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`detail` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`degree` varchar(5) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`learn_times` int(11) NOT NULL,
`student` int(11) NOT NULL,
`fav_nums` int(11) NOT NULL,
`image` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`click_nums` int(11) NOT NULL,
`add_time` datetime(6) NOT NULL,
`course_org_id` int(11) NULL DEFAULT NULL,
`category` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`tag` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`tercher_id` int(11) NULL DEFAULT NULL,
`teacher_tell_you` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`you_need_know` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
PRIMARY KEY (`id`) USING BTREE,
INDEX `courses_course_11456c5a`(`course_org_id`) USING BTREE,
INDEX `courses_course_1861cd5c`(`tercher_id`) USING BTREE,
CONSTRAINT `courses_cour_course_org_id_4d2c4aab_fk_organization_courseorg_id` FOREIGN KEY (`course_org_id`) REFERENCES `organization_courseorg` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
CONSTRAINT `courses_course_tercher_id_8f3008b2_fk_organization_teacher_id` FOREIGN KEY (`tercher_id`) REFERENCES `organization_teacher` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 7 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of courses_course
-- ----------------------------
INSERT INTO `courses_course` VALUES (1, 'python入门', 'python入门基础', '主要介绍讲解了python语言的基础知识和基本用法。', 'cj', 0, 0, 0, 'courses/20180819/python.jpg', 0, '2018-08-19 23:08:00.000000', 3, '后端开发', 'python', NULL, '', '');
INSERT INTO `courses_course` VALUES (2, 'java进阶', 'java进阶教程', '主要介绍了java语言的进阶开发,属于中等难度课程。', 'zj', 0, 0, 0, 'courses/20180819/java.jpg', 0, '2018-08-19 23:55:00.000000', 2, '后端开发', '', NULL, '', '');
INSERT INTO `courses_course` VALUES (3, 'mysql教程', 'mysql高级教程', '主要介绍了mysql数据库的高级开发,属于高级难度课程。', 'gj', 0, 8, 0, 'courses/20180819/mysql.jpg', 3, '2018-08-19 23:56:00.000000', 1, '后端开发', '', NULL, '', '');
INSERT INTO `courses_course` VALUES (4, 'HTML基础', 'HTML基础课程', '该课程介绍了HTML的基础知识,属于初级课程。', 'cj', 0, 0, 0, 'courses/20180822/gx.png', 0, '2018-08-22 18:44:00.000000', 4, '后端开发', '', NULL, '', '');
INSERT INTO `courses_course` VALUES (5, 'Django基础', 'Django基础课程', '该课程介绍了Django 的基础知识,值得大家学习。', 'zj', 0, 5, 0, 'courses/20180822/module1_2.jpg', 4, '2018-08-22 18:46:00.000000', 5, '后端开发', '', NULL, '', '');
INSERT INTO `courses_course` VALUES (6, 'CSS基础', 'CSS基础知识', '该课程介绍了CSS的基础知识,是个很不错的课程。', 'gj', 0, 6, 0, 'courses/20180822/banner.jpg', 58, '2018-08-22 18:48:00.000000', 7, '后端开发', 'python', 4, '学完之后收获很大,请认真学习。', 'css基础很重要');
-- ----------------------------
-- Table structure for courses_courseresourse
-- ----------------------------
DROP TABLE IF EXISTS `courses_courseresourse`;
CREATE TABLE `courses_courseresourse` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`download` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`add_time` datetime(6) NOT NULL,
`course_id` int(11) NOT NULL,
PRIMARY KEY (`id`) USING BTREE,
INDEX `courses_courseresourse_course_id_15e41486_fk_courses_course_id`(`course_id`) USING BTREE,
CONSTRAINT `courses_courseresourse_course_id_15e41486_fk_courses_course_id` FOREIGN KEY (`course_id`) REFERENCES `courses_course` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of courses_courseresourse
-- ----------------------------
INSERT INTO `courses_courseresourse` VALUES (1, '前端资源', 'course/resoure/20180823/course-video.html', '2018-08-23 20:57:00.000000', 6);
INSERT INTO `courses_courseresourse` VALUES (3, '资料2', 'course/resoure/20180823/mysql.jpg', '2018-08-23 21:06:00.000000', 6);
INSERT INTO `courses_courseresourse` VALUES (4, '资料3', 'course/resoure/20180823/网站图片.zip', '2018-08-23 21:20:00.000000', 6);
-- ----------------------------
-- Table structure for courses_lesson
-- ----------------------------
DROP TABLE IF EXISTS `courses_lesson`;
CREATE TABLE `courses_lesson` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`add_time` datetime(6) NOT NULL,
`course_id` int(11) NOT NULL,
PRIMARY KEY (`id`) USING BTREE,
INDEX `courses_lesson_course_id_16bc4882_fk_courses_course_id`(`course_id`) USING BTREE,
CONSTRAINT `courses_lesson_course_id_16bc4882_fk_courses_course_id` FOREIGN KEY (`course_id`) REFERENCES `courses_course` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of courses_lesson
-- ----------------------------
INSERT INTO `courses_lesson` VALUES (1, '第一章 基础知识', '2018-08-23 20:16:00.000000', 6);
INSERT INTO `courses_lesson` VALUES (2, '第二章 进阶开发', '2018-08-23 20:17:00.000000', 6);
-- ----------------------------
-- Table structure for courses_video
-- ----------------------------
DROP TABLE IF EXISTS `courses_video`;
CREATE TABLE `courses_video` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`add_time` datetime(6) NOT NULL,
`lesson_id` int(11) NOT NULL,
`url` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`learn_times` int(11) NOT NULL,
PRIMARY KEY (`id`) USING BTREE,
INDEX `courses_video_lesson_id_59f2396e_fk_courses_lesson_id`(`lesson_id`) USING BTREE,
CONSTRAINT `courses_video_lesson_id_59f2396e_fk_courses_lesson_id` FOREIGN KEY (`lesson_id`) REFERENCES `courses_lesson` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of courses_video
-- ----------------------------
INSERT INTO `courses_video` VALUES (1, '2.1 进阶开发详细视频', '2018-08-23 20:17:00.000000', 2, 'http://www.imooc.com/video/1430', 53);
INSERT INTO `courses_video` VALUES (2, '1.1 基础知识详细视频', '2018-08-23 20:19:00.000000', 1, 'http://www.imooc.com/video/1430', 54);
INSERT INTO `courses_video` VALUES (3, '1.2 基础知识详细视频(2)', '2018-08-23 20:24:00.000000', 1, 'http://www.imooc.com/video/1430', 43);
-- ----------------------------
-- Table structure for django_admin_log
-- ----------------------------
DROP TABLE IF EXISTS `django_admin_log`;
CREATE TABLE `django_admin_log` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`action_time` datetime(6) NOT NULL,
`object_id` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
`object_repr` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`action_flag` smallint(5) UNSIGNED NOT NULL,
`change_message` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`content_type_id` int(11) NULL DEFAULT NULL,
`user_id` int(11) NOT NULL,
PRIMARY KEY (`id`) USING BTREE,
INDEX `django_admin__content_type_id_c4bce8eb_fk_django_content_type_id`(`content_type_id`) USING BTREE,
INDEX `django_admin_log_user_id_c564eba6_fk_auth_user_id`(`user_id`) USING BTREE,
CONSTRAINT `django_admin__content_type_id_c4bce8eb_fk_django_content_type_id` FOREIGN KEY (`content_type_id`) REFERENCES `django_content_type` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
CONSTRAINT `django_admin_log_user_id_c564eba6_fk_auth_user_id` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Table structure for django_content_type
-- ----------------------------
DROP TABLE IF EXISTS `django_content_type`;
CREATE TABLE `django_content_type` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`app_label` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`model` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
PRIMARY KEY (`id`) USING BTREE,
UNIQUE INDEX `django_content_type_app_label_76bd3d3b_uniq`(`app_label`, `model`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 27 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of django_content_type
-- ----------------------------
INSERT INTO `django_content_type` VALUES (1, 'admin', 'logentry');
INSERT INTO `django_content_type` VALUES (3, 'auth', 'group');
INSERT INTO `django_content_type` VALUES (2, 'auth', 'permission');
INSERT INTO `django_content_type` VALUES (26, 'captcha', 'captchastore');
INSERT INTO `django_content_type` VALUES (5, 'contenttypes', 'contenttype');
INSERT INTO `django_content_type` VALUES (14, 'courses', 'course');
INSERT INTO `django_content_type` VALUES (17, 'courses', 'courseresourse');
INSERT INTO `django_content_type` VALUES (15, 'courses', 'lesson');
INSERT INTO `django_content_type` VALUES (16, 'courses', 'video');
INSERT INTO `django_content_type` VALUES (19, 'operation', 'coursecomment');
INSERT INTO `django_content_type` VALUES (18, 'operation', 'userask');
INSERT INTO `django_content_type` VALUES (22, 'operation', 'usercourse');
INSERT INTO `django_content_type` VALUES (20, 'operation', 'userfavorite');
INSERT INTO `django_content_type` VALUES (21, 'operation', 'usermessage');
INSERT INTO `django_content_type` VALUES (23, 'organization', 'citydict');
INSERT INTO `django_content_type` VALUES (24, 'organization', 'courseorg');
INSERT INTO `django_content_type` VALUES (25, 'organization', 'teacher');
INSERT INTO `django_content_type` VALUES (6, 'sessions', 'session');
INSERT INTO `django_content_type` VALUES (13, 'users', 'banner');
INSERT INTO `django_content_type` VALUES (12, 'users', 'emailverifyrecord');
INSERT INTO `django_content_type` VALUES (11, 'users', 'userprofile');
INSERT INTO `django_content_type` VALUES (7, 'xadmin', 'bookmark');
INSERT INTO `django_content_type` VALUES (10, 'xadmin', 'log');
INSERT INTO `django_content_type` VALUES (8, 'xadmin', 'usersettings');
INSERT INTO `django_content_type` VALUES (9, 'xadmin', 'userwidget');
-- ----------------------------
-- Table structure for django_migrations
-- ----------------------------
DROP TABLE IF EXISTS `django_migrations`;
CREATE TABLE `django_migrations` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`app` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`applied` datetime(6) NOT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 32 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of django_migrations
-- ----------------------------
INSERT INTO `django_migrations` VALUES (1, 'contenttypes', '0001_initial', '2018-08-14 19:35:09.487346');
INSERT INTO `django_migrations` VALUES (2, 'auth', '0001_initial', '2018-08-14 19:35:09.839603');
INSERT INTO `django_migrations` VALUES (3, 'admin', '0001_initial', '2018-08-14 19:35:09.931996');
INSERT INTO `django_migrations` VALUES (4, 'admin', '0002_logentry_remove_auto_add', '2018-08-14 19:35:09.950406');
INSERT INTO `django_migrations` VALUES (5, 'contenttypes', '0002_remove_content_type_name', '2018-08-14 19:35:10.031014');
INSERT INTO `django_migrations` VALUES (6, 'auth', '0002_alter_permission_name_max_length', '2018-08-14 19:35:10.082459');
INSERT INTO `django_migrations` VALUES (7, 'auth', '0003_alter_user_email_max_length', '2018-08-14 19:35:10.119762');
INSERT INTO `django_migrations` VALUES (8, 'auth', '0004_alter_user_username_opts', '2018-08-14 19:35:10.130854');
INSERT INTO `django_migrations` VALUES (9, 'auth', '0005_alter_user_last_login_null', '2018-08-14 19:35:10.162247');
INSERT INTO `django_migrations` VALUES (10, 'auth', '0006_require_contenttypes_0002', '2018-08-14 19:35:10.165758');
INSERT INTO `django_migrations` VALUES (11, 'auth', '0007_alter_validators_add_error_messages', '2018-08-14 19:35:10.178854');
INSERT INTO `django_migrations` VALUES (12, 'sessions', '0001_initial', '2018-08-14 19:35:10.206510');
INSERT INTO `django_migrations` VALUES (13, 'xadmin', '0001_initial', '2018-08-14 19:35:10.398000');
INSERT INTO `django_migrations` VALUES (14, 'xadmin', '0002_log', '2018-08-14 19:35:10.475875');
INSERT INTO `django_migrations` VALUES (15, 'xadmin', '0003_auto_20160715_0100', '2018-08-14 19:35:10.525451');
INSERT INTO `django_migrations` VALUES (16, 'users', '0001_initial', '2018-08-14 20:39:29.911482');
INSERT INTO `django_migrations` VALUES (17, 'courses', '0001_initial', '2018-08-14 20:39:30.072831');
INSERT INTO `django_migrations` VALUES (18, 'operation', '0001_initial', '2018-08-14 20:39:30.156753');
INSERT INTO `django_migrations` VALUES (19, 'operation', '0002_auto_20180814_2039', '2018-08-14 20:39:30.503698');
INSERT INTO `django_migrations` VALUES (20, 'organization', '0001_initial', '2018-08-14 20:39:30.605025');
INSERT INTO `django_migrations` VALUES (21, 'users', '0002_auto_20180814_2048', '2018-08-14 20:48:12.476212');
INSERT INTO `django_migrations` VALUES (22, 'captcha', '0001_initial', '2018-08-16 22:18:31.502610');
INSERT INTO `django_migrations` VALUES (23, 'courses', '0002_course_course_org', '2018-08-20 19:15:32.719673');
INSERT INTO `django_migrations` VALUES (24, 'organization', '0002_teacher_image', '2018-08-20 21:33:47.735918');
INSERT INTO `django_migrations` VALUES (25, 'courses', '0003_course_category', '2018-08-22 22:31:00.810129');
INSERT INTO `django_migrations` VALUES (26, 'users', '0003_auto_20180822_2326', '2018-08-22 23:26:34.676186');
INSERT INTO `django_migrations` VALUES (27, 'courses', '0004_course_tag', '2018-08-23 18:44:10.459698');
INSERT INTO `django_migrations` VALUES (28, 'courses', '0005_video_url', '2018-08-23 20:21:30.924519');
INSERT INTO `django_migrations` VALUES (29, 'courses', '0006_video_learn_times', '2018-08-23 20:48:00.657735');
INSERT INTO `django_migrations` VALUES (30, 'courses', '0007_course_tercher', '2018-08-23 21:31:38.603856');
INSERT INTO `django_migrations` VALUES (31, 'courses', '0008_auto_20180823_2140', '2018-08-23 21:41:01.595703');
-- ----------------------------
-- Table structure for django_session
-- ----------------------------
DROP TABLE IF EXISTS `django_session`;
CREATE TABLE `django_session` (
`session_key` varchar(40) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`session_data` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`expire_date` datetime(6) NOT NULL,
PRIMARY KEY (`session_key`) USING BTREE,
INDEX `django_session_de54fa62`(`expire_date`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of django_session
-- ----------------------------
INSERT INTO `django_session` VALUES ('313yhru371b1h8bmgd8qq4hne1lb1gfy', 'YTA4YWVmM2YwOTg5MTZjNmZhMDRiODkyZGE2OTYzNDk4NmQxNjZmNzp7Il9hdXRoX3VzZXJfaWQiOiIxIiwiX2F1dGhfdXNlcl9iYWNrZW5kIjoidXNlcnMudmlld3MuQ3VzdG9tQmFja2VuZCIsIl9hdXRoX3VzZXJfaGFzaCI6IjRlZjZkMmE3ZTNlYzkyN2M1MjM4ZTUyODFmZjAwMGJhZDdlMjg2N2QiLCJMSVNUX1FVRVJZIjpbWyJvcmdhbml6YXRpb24iLCJjb3Vyc2VvcmciXSwiIl19', '2018-09-01 17:17:30.618055');
INSERT INTO `django_session` VALUES ('3y1klfc7rzhf4ah8fd56uzr15k4bqvqh', 'ZGM3NWE1YjhkYjAzNGIxOGY4YjBhZGE3MGYyM2RlYWQzZDZlNDcyYTp7Il9hdXRoX3VzZXJfaWQiOiIxIiwiX2F1dGhfdXNlcl9iYWNrZW5kIjoiZGphbmdvLmNvbnRyaWIuYXV0aC5iYWNrZW5kcy5Nb2RlbEJhY2tlbmQiLCJfYXV0aF91c2VyX2hhc2giOiI0ZWY2ZDJhN2UzZWM5MjdjNTIzOGU1MjgxZmYwMDBiYWQ3ZTI4NjdkIn0=', '2018-08-29 22:02:16.284247');
INSERT INTO `django_session` VALUES ('7nfw27w2dg28ce9dr9d93q6lgxb3yi23', 'MjA2ZDkzNDYyYWZhY2QxOWMwYWQzNjA3NzYzNzRmNjhiNjhmYmY5Zjp7Il9hdXRoX3VzZXJfaWQiOiIxIiwiX2F1dGhfdXNlcl9iYWNrZW5kIjoiZGphbmdvLmNvbnRyaWIuYXV0aC5iYWNrZW5kcy5Nb2RlbEJhY2tlbmQiLCJfYXV0aF91c2VyX2hhc2giOiI0ZWY2ZDJhN2UzZWM5MjdjNTIzOGU1MjgxZmYwMDBiYWQ3ZTI4NjdkIiwiTElTVF9RVUVSWSI6W1siYXV0aCIsInBlcm1pc3Npb24iXSwiIl19', '2018-08-28 22:28:09.212396');
INSERT INTO `django_session` VALUES ('b0eb822ith5vjrpkuh4e327d2yn3ql6m', 'ZWZlYjA1NWI5MmY4Nzk3ZDI5MjgxNTM3MzFjYzRmYWVmNDVlMjg5YTp7Il9hdXRoX3VzZXJfaWQiOiIxIiwiX2F1dGhfdXNlcl9iYWNrZW5kIjoidXNlcnMudmlld3MuQ3VzdG9tQmFja2VuZCIsIl9hdXRoX3VzZXJfaGFzaCI6IjRlZjZkMmE3ZTNlYzkyN2M1MjM4ZTUyODFmZjAwMGJhZDdlMjg2N2QiLCJMSVNUX1FVRVJZIjpbWyJjb3Vyc2VzIiwiY291cnNlIl0sIiJdfQ==', '2018-09-06 21:42:15.551344');
INSERT INTO `django_session` VALUES ('s5ivo55j9n4tr26rwh6m78l1haoxu9ir', 'ZWZlYjA1NWI5MmY4Nzk3ZDI5MjgxNTM3MzFjYzRmYWVmNDVlMjg5YTp7Il9hdXRoX3VzZXJfaWQiOiIxIiwiX2F1dGhfdXNlcl9iYWNrZW5kIjoidXNlcnMudmlld3MuQ3VzdG9tQmFja2VuZCIsIl9hdXRoX3VzZXJfaGFzaCI6IjRlZjZkMmE3ZTNlYzkyN2M1MjM4ZTUyODFmZjAwMGJhZDdlMjg2N2QiLCJMSVNUX1FVRVJZIjpbWyJjb3Vyc2VzIiwiY291cnNlIl0sIiJdfQ==', '2018-09-03 20:48:57.063758');
-- ----------------------------
-- Table structure for operation_coursecomment
-- ----------------------------
DROP TABLE IF EXISTS `operation_coursecomment`;
CREATE TABLE `operation_coursecomment` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`comments` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`add_time` datetime(6) NOT NULL,
`course_id` int(11) NOT NULL,
`user_id` int(11) NOT NULL,
PRIMARY KEY (`id`) USING BTREE,
INDEX `operation_coursecomment_ea134da7`(`course_id`) USING BTREE,
INDEX `operation_coursecomment_e8701ad4`(`user_id`) USING BTREE,
CONSTRAINT `operation_coursecomment_course_id_ae7551b0_fk_courses_course_id` FOREIGN KEY (`course_id`) REFERENCES `courses_course` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
CONSTRAINT `operation_coursecomment_user_id_8f3ff0f8_fk_users_userprofile_id` FOREIGN KEY (`user_id`) REFERENCES `users_userprofile` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Table structure for operation_userask
-- ----------------------------
DROP TABLE IF EXISTS `operation_userask`;
CREATE TABLE `operation_userask` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`mobile` varchar(11) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`course_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`add_time` datetime(6) NOT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of operation_userask
-- ----------------------------
INSERT INTO `operation_userask` VALUES (2, '王子', '15986763507', 'django', '2018-08-19 20:45:54.406106');
INSERT INTO `operation_userask` VALUES (3, '哈哈', '15575877421', 'python', '2018-08-19 21:16:04.203599');
-- ----------------------------
-- Table structure for operation_usercourse
-- ----------------------------
DROP TABLE IF EXISTS `operation_usercourse`;
CREATE TABLE `operation_usercourse` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`add_time` datetime(6) NOT NULL,
`course_id` int(11) NOT NULL,
`user_id` int(11) NOT NULL,
PRIMARY KEY (`id`) USING BTREE,
INDEX `operation_usercourse_ea134da7`(`course_id`) USING BTREE,
INDEX `operation_usercourse_e8701ad4`(`user_id`) USING BTREE,
CONSTRAINT `operation_usercourse_course_id_9f1eab2e_fk_courses_course_id` FOREIGN KEY (`course_id`) REFERENCES `courses_course` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
CONSTRAINT `operation_usercourse_user_id_835fe81a_fk_users_userprofile_id` FOREIGN KEY (`user_id`) REFERENCES `users_userprofile` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 7 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of operation_usercourse
-- ----------------------------
INSERT INTO `operation_usercourse` VALUES (1, '2018-08-22 23:29:00.000000', 6, 4);
INSERT INTO `operation_usercourse` VALUES (6, '2018-08-22 23:36:00.000000', 6, 1);
-- ----------------------------
-- Table structure for operation_userfavorite
-- ----------------------------
DROP TABLE IF EXISTS `operation_userfavorite`;
CREATE TABLE `operation_userfavorite` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`fav_id` int(11) NOT NULL,
`fav_type` int(11) NOT NULL,
`add_time` datetime(6) NOT NULL,
`user_id` int(11) NOT NULL,
PRIMARY KEY (`id`) USING BTREE,
INDEX `operation_userfavorite_e8701ad4`(`user_id`) USING BTREE,
CONSTRAINT `operation_userfavorite_user_id_ad46a6af_fk_users_userprofile_id` FOREIGN KEY (`user_id`) REFERENCES `users_userprofile` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 16 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of operation_userfavorite
-- ----------------------------
INSERT INTO `operation_userfavorite` VALUES (10, 1, 2, '2018-08-21 23:16:41.887255', 1);
INSERT INTO `operation_userfavorite` VALUES (11, 2, 2, '2018-08-21 23:28:04.817826', 1);
INSERT INTO `operation_userfavorite` VALUES (12, 3, 2, '2018-08-21 23:28:33.655449', 1);
INSERT INTO `operation_userfavorite` VALUES (14, 6, 1, '2018-08-23 19:36:45.627946', 1);
INSERT INTO `operation_userfavorite` VALUES (15, 7, 2, '2018-08-23 19:36:46.507949', 1);
-- ----------------------------
-- Table structure for operation_usermessage
-- ----------------------------
DROP TABLE IF EXISTS `operation_usermessage`;
CREATE TABLE `operation_usermessage` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user` int(11) NOT NULL,
`message` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`has_read` tinyint(1) NOT NULL,
`add_time` datetime(6) NOT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Table structure for organization_citydict
-- ----------------------------
DROP TABLE IF EXISTS `organization_citydict`;
CREATE TABLE `organization_citydict` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`desc` varchar(300) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`add_time` datetime(6) NOT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 6 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of organization_citydict
-- ----------------------------
INSERT INTO `organization_citydict` VALUES (1, '北京市', '北京市', '2018-08-18 16:33:00.000000');
INSERT INTO `organization_citydict` VALUES (2, '上海市', '上海市', '2018-08-18 16:35:00.000000');
INSERT INTO `organization_citydict` VALUES (3, '广州市', '广州市', '2018-08-18 16:36:00.000000');
INSERT INTO `organization_citydict` VALUES (4, '深圳市', '深圳市', '2018-08-18 16:41:00.000000');
INSERT INTO `organization_citydict` VALUES (5, '天津市', '天津市', '2018-08-18 16:41:00.000000');
-- ----------------------------
-- Table structure for organization_courseorg
-- ----------------------------
DROP TABLE IF EXISTS `organization_courseorg`;
CREATE TABLE `organization_courseorg` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`desc` varchar(300) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`category` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`fav_nums` int(11) NOT NULL,
`image` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`click_nums` int(11) NOT NULL,
`address` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`students` int(11) NOT NULL,
`courses_nums` int(11) NOT NULL,
`add_time` datetime(6) NOT NULL,
`city_id` int(11) NOT NULL,
PRIMARY KEY (`id`) USING BTREE,
INDEX `organization_course_city_id_4a842f85_fk_organization_citydict_id`(`city_id`) USING BTREE,
CONSTRAINT `organization_course_city_id_4a842f85_fk_organization_citydict_id` FOREIGN KEY (`city_id`) REFERENCES `organization_citydict` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 11 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of organization_courseorg
-- ----------------------------
INSERT INTO `organization_courseorg` VALUES (1, '慕课网', '慕课网是垂直的互联网IT技能免费学习网站。', 'pxjg', 0, 'courses/20180818/imooc.png', 0, '北京市', 0, 0, '2018-08-18 16:55:00.000000', 1);
INSERT INTO `organization_courseorg` VALUES (2, '北京大学', '北京大学是个全国顶尖学校', 'gx', 0, 'courses/20180818/bjdx.jpg', 0, '北京市', 0, 0, '2018-08-18 17:02:00.000000', 1);
INSERT INTO `organization_courseorg` VALUES (3, '慕课网1', '慕课网是垂直的互联网IT技能免费学习网站。', 'pxjg', 0, 'courses/20180818/imooc_qEaMov1.png', 0, '上海市', 0, 0, '2018-08-18 17:05:00.000000', 2);
INSERT INTO `organization_courseorg` VALUES (4, '上海交通大学', '上海交通大学是全国排名靠前的好学校', 'gx', 0, 'courses/20180818/shjtdx.png', 3, '上海市', 0, 0, '2018-08-18 17:06:00.000000', 2);
INSERT INTO `organization_courseorg` VALUES (5, '慕课网2', '慕课网是垂直的互联网IT技能免费学习网站。', 'pxjg', 0, 'courses/20180818/imooc_V0TJOyb.png', 0, '天津市', 0, 0, '2018-08-18 17:09:00.000000', 5);
INSERT INTO `organization_courseorg` VALUES (6, '欧阳锋', '欧阳锋的个人培训', 'gr', 0, 'courses/20180818/oyf.png', 0, '天津市', 0, 0, '2018-08-18 17:10:00.000000', 5);
INSERT INTO `organization_courseorg` VALUES (7, '中山大学', '中山大学是985高校', 'gx', 0, 'courses/20180818/dsdx.png', 0, '广州市', 0, 0, '2018-08-18 17:12:00.000000', 3);
INSERT INTO `organization_courseorg` VALUES (8, '奥巴马', '奥巴马的个人培训', 'gr', 0, 'courses/20180818/aobama.png', 9, '广州市', 7, 4, '2018-08-18 17:15:00.000000', 3);
INSERT INTO `organization_courseorg` VALUES (9, '慕课网3', '慕课网是垂直的互联网IT技能免费学习网站。', 'pxjg', 4, 'courses/20180818/imooc_V0TJOyb_1rxkzIB.png', 7, '深圳市', 6, 5, '2018-08-18 17:16:00.000000', 4);
INSERT INTO `organization_courseorg` VALUES (10, '张无忌', '张无忌的个人培训', 'gr', 0, 'courses/20180818/zwj.png', 6, '深圳市', 4, 3, '2018-08-18 17:16:00.000000', 4);
-- ----------------------------
-- Table structure for organization_teacher
-- ----------------------------
DROP TABLE IF EXISTS `organization_teacher`;
CREATE TABLE `organization_teacher` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`work_year` int(11) NOT NULL,
`work_company` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`work_position` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`points` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`fav_nums` int(11) NOT NULL,
`click_nums` int(11) NOT NULL,
`add_time` datetime(6) NOT NULL,
`org_id` int(11) NOT NULL,
`image` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
PRIMARY KEY (`id`) USING BTREE,
INDEX `organization_teache_org_id_cd000a1a_fk_organization_courseorg_id`(`org_id`) USING BTREE,
CONSTRAINT `organization_teache_org_id_cd000a1a_fk_organization_courseorg_id` FOREIGN KEY (`org_id`) REFERENCES `organization_courseorg` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 11 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of organization_teacher
-- ----------------------------
INSERT INTO `organization_teacher` VALUES (1, '马云', 5, '阿里巴巴', '董事长', '风趣幽默', 0, 0, '2018-08-19 22:58:00.000000', 1, 'teacher/20180820/my.jpg');
INSERT INTO `organization_teacher` VALUES (2, '李开复', 6, '创新工厂', '总经理', '严谨', 0, 0, '2018-08-19 22:59:00.000000', 2, 'teacher/20180820/compright.png');
INSERT INTO `organization_teacher` VALUES (3, '周杰伦', 3, '音乐公司', '歌手', '才华横溢', 0, 0, '2018-08-19 23:00:00.000000', 3, 'teacher/20180820/01.jpg');
INSERT INTO `organization_teacher` VALUES (4, '陈奕迅', 5, '音乐公司', '歌手', '搞笑幽默', 0, 0, '2018-08-19 23:01:00.000000', 4, 'teacher/20180820/02_mid.jpg');
INSERT INTO `organization_teacher` VALUES (5, '王健林', 9, '万达集团', '老板', '一丝不苟', 0, 0, '2018-08-19 23:02:00.000000', 5, 'teacher/20180820/fqy.png');
INSERT INTO `organization_teacher` VALUES (6, '欧阳锋', 4, '射雕英雄传', '西毒', '武功高强', 0, 0, '2018-08-19 23:03:00.000000', 6, 'teacher/20180820/oyf.png');
INSERT INTO `organization_teacher` VALUES (7, '靳东', 2, '影视公司', '演员', '认真严禁', 0, 0, '2018-08-19 23:04:00.000000', 7, 'teacher/20180820/02_small.jpg');
INSERT INTO `organization_teacher` VALUES (8, '奥巴马', 7, '美国', '总统', '因材施教', 0, 0, '2018-08-19 23:05:00.000000', 8, 'teacher/20180820/aobama.png');
INSERT INTO `organization_teacher` VALUES (9, '王凯', 2, '影视公司', '演员', '认真严禁', 0, 0, '2018-08-19 23:05:00.000000', 9, 'teacher/20180820/billcheck.png');
INSERT INTO `organization_teacher` VALUES (10, '张无忌', 4, '倚天屠龙记', '教主', '风流倜傥', 0, 0, '2018-08-19 23:06:00.000000', 10, 'teacher/20180820/zwj.png');
-- ----------------------------
-- Table structure for users_banner
-- ----------------------------
DROP TABLE IF EXISTS `users_banner`;
CREATE TABLE `users_banner` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`image` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`url` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`index` int(11) NOT NULL,
`add_time` datetime(6) NOT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Table structure for users_emailverifyrecord
-- ----------------------------
DROP TABLE IF EXISTS `users_emailverifyrecord`;
CREATE TABLE `users_emailverifyrecord` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`code` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`email` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`send_type` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`send_time` datetime(6) NOT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 7 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of users_emailverifyrecord
-- ----------------------------
INSERT INTO `users_emailverifyrecord` VALUES (1, 'jbE3NaaVBd2NdMIs', '1768628190@qq.com', 'register', '2018-08-17 20:16:30.978611');
INSERT INTO `users_emailverifyrecord` VALUES (2, 'OvuanGZsnSR9PSj0', '1768628190@qq.com', 'forget', '2018-08-18 11:07:05.879203');
INSERT INTO `users_emailverifyrecord` VALUES (3, 'zl9E1GaAJpVmMmit', '1768628190@qq.com', 'forget', '2018-08-18 11:45:09.163941');
INSERT INTO `users_emailverifyrecord` VALUES (4, 'ni9BzGKtodlvlUKE', '1768628190@qq.com', 'forget', '2018-08-18 12:00:00.358963');
INSERT INTO `users_emailverifyrecord` VALUES (5, 'EPDjk4JvnlKeNlhN', '1768628190@qq.com', 'register', '2018-08-18 12:11:50.321326');
INSERT INTO `users_emailverifyrecord` VALUES (6, 'WSC4639JPZ3nQGdY', '1768628190@qq.com', 'register', '2018-08-18 12:29:40.089989');
-- ----------------------------
-- Table structure for users_userprofile
-- ----------------------------
DROP TABLE IF EXISTS `users_userprofile`;
CREATE TABLE `users_userprofile` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`password` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`last_login` datetime(6) NULL DEFAULT NULL,
`is_superuser` tinyint(1) NOT NULL,
`username` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`first_name` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`last_name` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`email` varchar(254) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`is_staff` tinyint(1) NOT NULL,
`is_active` tinyint(1) NOT NULL,
`date_joined` datetime(6) NOT NULL,
`name` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`birthday` date NULL DEFAULT NULL,
`gender` varchar(5) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`address` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`mobile` varchar(11) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`image` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
PRIMARY KEY (`id`) USING BTREE,
UNIQUE INDEX `username`(`username`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of users_userprofile
-- ----------------------------
INSERT INTO `users_userprofile` VALUES (1, 'pbkdf2_sha256$24000$6l4gjfeB4SBa$3zUgWIqN1z57OxEG4abnzQTfSylCl4LglkZ1tFvE5JY=', '2018-08-20 21:34:00.000000', 1, 'wzw', '', '', '1@1.com', 1, 1, '2018-08-14 20:50:00.000000', '王子', '2018-08-22', 'male', '深圳市', '15575877421', 'image/20180822/gx.png');
INSERT INTO `users_userprofile` VALUES (4, 'pbkdf2_sha256$24000$Q2SwjVlTFYcy$mkUamAHPE94OZuE5ZwrL9AR90MeQqiSdyZSNfYlglms=', '2018-08-18 14:07:00.000000', 0, '1768628190@qq.com', '', '', '1768628190@qq.com', 0, 1, '2018-08-18 12:27:00.000000', '恋恋风尘', '2018-08-22', 'male', '深圳市', '15575877421', 'image/20180822/aobama.png');
-- ----------------------------
-- Table structure for users_userprofile_groups
-- ----------------------------
DROP TABLE IF EXISTS `users_userprofile_groups`;
CREATE TABLE `users_userprofile_groups` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`userprofile_id` int(11) NOT NULL,
`group_id` int(11) NOT NULL,
PRIMARY KEY (`id`) USING BTREE,
UNIQUE INDEX `users_userprofile_groups_userprofile_id_823cf2fc_uniq`(`userprofile_id`, `group_id`) USING BTREE,
INDEX `users_userprofile_groups_group_id_3de53dbf_fk_auth_group_id`(`group_id`) USING BTREE,
CONSTRAINT `users_userprofil_userprofile_id_a4496a80_fk_users_userprofile_id` FOREIGN KEY (`userprofile_id`) REFERENCES `users_userprofile` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
CONSTRAINT `users_userprofile_groups_group_id_3de53dbf_fk_auth_group_id` FOREIGN KEY (`group_id`) REFERENCES `auth_group` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Table structure for users_userprofile_user_permissions
-- ----------------------------
DROP TABLE IF EXISTS `users_userprofile_user_permissions`;
CREATE TABLE `users_userprofile_user_permissions` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`userprofile_id` int(11) NOT NULL,
`permission_id` int(11) NOT NULL,
PRIMARY KEY (`id`) USING BTREE,
UNIQUE INDEX `users_userprofile_user_permissions_userprofile_id_d0215190_uniq`(`userprofile_id`, `permission_id`) USING BTREE,
INDEX `users_userprofile_u_permission_id_393136b6_fk_auth_permission_id`(`permission_id`) USING BTREE,
CONSTRAINT `users_userprofil_userprofile_id_34544737_fk_users_userprofile_id` FOREIGN KEY (`userprofile_id`) REFERENCES `users_userprofile` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
CONSTRAINT `users_userprofile_u_permission_id_393136b6_fk_auth_permission_id` FOREIGN KEY (`permission_id`) REFERENCES `auth_permission` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 201 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of users_userprofile_user_permissions
-- ----------------------------
INSERT INTO `users_userprofile_user_permissions` VALUES (101, 1, 1);
INSERT INTO `users_userprofile_user_permissions` VALUES (102, 1, 2);
INSERT INTO `users_userprofile_user_permissions` VALUES (103, 1, 3);
INSERT INTO `users_userprofile_user_permissions` VALUES (104, 1, 4);
INSERT INTO `users_userprofile_user_permissions` VALUES (105, 1, 5);
INSERT INTO `users_userprofile_user_permissions` VALUES (106, 1, 6);
INSERT INTO `users_userprofile_user_permissions` VALUES (107, 1, 7);
INSERT INTO `users_userprofile_user_permissions` VALUES (108, 1, 8);
INSERT INTO `users_userprofile_user_permissions` VALUES (109, 1, 9);
INSERT INTO `users_userprofile_user_permissions` VALUES (110, 1, 10);
INSERT INTO `users_userprofile_user_permissions` VALUES (111, 1, 14);
INSERT INTO `users_userprofile_user_permissions` VALUES (112, 1, 15);
INSERT INTO `users_userprofile_user_permissions` VALUES (113, 1, 17);
INSERT INTO `users_userprofile_user_permissions` VALUES (114, 1, 18);
INSERT INTO `users_userprofile_user_permissions` VALUES (115, 1, 19);
INSERT INTO `users_userprofile_user_permissions` VALUES (116, 1, 20);
INSERT INTO `users_userprofile_user_permissions` VALUES (117, 1, 21);
INSERT INTO `users_userprofile_user_permissions` VALUES (118, 1, 22);
INSERT INTO `users_userprofile_user_permissions` VALUES (119, 1, 23);
INSERT INTO `users_userprofile_user_permissions` VALUES (120, 1, 24);
INSERT INTO `users_userprofile_user_permissions` VALUES (121, 1, 25);
INSERT INTO `users_userprofile_user_permissions` VALUES (122, 1, 26);
INSERT INTO `users_userprofile_user_permissions` VALUES (123, 1, 27);
INSERT INTO `users_userprofile_user_permissions` VALUES (124, 1, 28);
INSERT INTO `users_userprofile_user_permissions` VALUES (125, 1, 29);
INSERT INTO `users_userprofile_user_permissions` VALUES (126, 1, 30);
INSERT INTO `users_userprofile_user_permissions` VALUES (127, 1, 31);
INSERT INTO `users_userprofile_user_permissions` VALUES (128, 1, 32);
INSERT INTO `users_userprofile_user_permissions` VALUES (129, 1, 33);
INSERT INTO `users_userprofile_user_permissions` VALUES (130, 1, 34);
INSERT INTO `users_userprofile_user_permissions` VALUES (131, 1, 35);
INSERT INTO `users_userprofile_user_permissions` VALUES (132, 1, 36);
INSERT INTO `users_userprofile_user_permissions` VALUES (133, 1, 37);
INSERT INTO `users_userprofile_user_permissions` VALUES (134, 1, 38);
INSERT INTO `users_userprofile_user_permissions` VALUES (135, 1, 39);
INSERT INTO `users_userprofile_user_permissions` VALUES (136, 1, 40);
INSERT INTO `users_userprofile_user_permissions` VALUES (137, 1, 41);
INSERT INTO `users_userprofile_user_permissions` VALUES (138, 1, 42);
INSERT INTO `users_userprofile_user_permissions` VALUES (139, 1, 43);
INSERT INTO `users_userprofile_user_permissions` VALUES (140, 1, 44);
INSERT INTO `users_userprofile_user_permissions` VALUES (141, 1, 45);
INSERT INTO `users_userprofile_user_permissions` VALUES (142, 1, 46);
INSERT INTO `users_userprofile_user_permissions` VALUES (143, 1, 47);
INSERT INTO `users_userprofile_user_permissions` VALUES (144, 1, 48);
INSERT INTO `users_userprofile_user_permissions` VALUES (145, 1, 49);
INSERT INTO `users_userprofile_user_permissions` VALUES (146, 1, 50);
INSERT INTO `users_userprofile_user_permissions` VALUES (147, 1, 51);
INSERT INTO `users_userprofile_user_permissions` VALUES (148, 1, 52);
INSERT INTO `users_userprofile_user_permissions` VALUES (149, 1, 53);
INSERT INTO `users_userprofile_user_permissions` VALUES (150, 1, 54);
INSERT INTO `users_userprofile_user_permissions` VALUES (151, 1, 55);
INSERT INTO `users_userprofile_user_permissions` VALUES (152, 1, 56);
INSERT INTO `users_userprofile_user_permissions` VALUES (153, 1, 57);
INSERT INTO `users_userprofile_user_permissions` VALUES (154, 1, 58);
INSERT INTO `users_userprofile_user_permissions` VALUES (155, 1, 59);
INSERT INTO `users_userprofile_user_permissions` VALUES (156, 1, 60);
INSERT INTO `users_userprofile_user_permissions` VALUES (157, 1, 61);
INSERT INTO `users_userprofile_user_permissions` VALUES (158, 1, 62);
INSERT INTO `users_userprofile_user_permissions` VALUES (159, 1, 63);
INSERT INTO `users_userprofile_user_permissions` VALUES (160, 1, 64);
INSERT INTO `users_userprofile_user_permissions` VALUES (161, 1, 65);
INSERT INTO `users_userprofile_user_permissions` VALUES (162, 1, 66);
INSERT INTO `users_userprofile_user_permissions` VALUES (163, 1, 67);
INSERT INTO `users_userprofile_user_permissions` VALUES (164, 1, 68);
INSERT INTO `users_userprofile_user_permissions` VALUES (165, 1, 69);
INSERT INTO `users_userprofile_user_permissions` VALUES (166, 1, 70);
INSERT INTO `users_userprofile_user_permissions` VALUES (167, 1, 71);
INSERT INTO `users_userprofile_user_permissions` VALUES (168, 1, 72);
INSERT INTO `users_userprofile_user_permissions` VALUES (169, 1, 73);
INSERT INTO `users_userprofile_user_permissions` VALUES (170, 1, 74);
INSERT INTO `users_userprofile_user_permissions` VALUES (171, 1, 75);
INSERT INTO `users_userprofile_user_permissions` VALUES (172, 1, 76);
INSERT INTO `users_userprofile_user_permissions` VALUES (173, 1, 77);
INSERT INTO `users_userprofile_user_permissions` VALUES (174, 1, 78);
INSERT INTO `users_userprofile_user_permissions` VALUES (175, 1, 79);
INSERT INTO `users_userprofile_user_permissions` VALUES (176, 1, 80);
INSERT INTO `users_userprofile_user_permissions` VALUES (177, 1, 81);
INSERT INTO `users_userprofile_user_permissions` VALUES (178, 1, 82);
INSERT INTO `users_userprofile_user_permissions` VALUES (179, 1, 83);
INSERT INTO `users_userprofile_user_permissions` VALUES (180, 1, 84);
INSERT INTO `users_userprofile_user_permissions` VALUES (181, 1, 85);
INSERT INTO `users_userprofile_user_permissions` VALUES (182, 1, 86);
INSERT INTO `users_userprofile_user_permissions` VALUES (183, 1, 87);
INSERT INTO `users_userprofile_user_permissions` VALUES (184, 1, 88);
INSERT INTO `users_userprofile_user_permissions` VALUES (185, 1, 89);
INSERT INTO `users_userprofile_user_permissions` VALUES (186, 1, 90);
INSERT INTO `users_userprofile_user_permissions` VALUES (187, 1, 91);
INSERT INTO `users_userprofile_user_permissions` VALUES (188, 1, 92);
INSERT INTO `users_userprofile_user_permissions` VALUES (189, 1, 93);
INSERT INTO `users_userprofile_user_permissions` VALUES (190, 1, 94);
INSERT INTO `users_userprofile_user_permissions` VALUES (191, 1, 95);
INSERT INTO `users_userprofile_user_permissions` VALUES (192, 1, 96);
INSERT INTO `users_userprofile_user_permissions` VALUES (193, 1, 97);
INSERT INTO `users_userprofile_user_permissions` VALUES (194, 1, 98);
INSERT INTO `users_userprofile_user_permissions` VALUES (195, 1, 99);
INSERT INTO `users_userprofile_user_permissions` VALUES (196, 1, 100);
INSERT INTO `users_userprofile_user_permissions` VALUES (197, 1, 101);
INSERT INTO `users_userprofile_user_permissions` VALUES (198, 1, 102);
INSERT INTO `users_userprofile_user_permissions` VALUES (199, 1, 103);
INSERT INTO `users_userprofile_user_permissions` VALUES (200, 1, 104);
INSERT INTO `users_userprofile_user_permissions` VALUES (1, 4, 1);
INSERT INTO `users_userprofile_user_permissions` VALUES (2, 4, 2);
INSERT INTO `users_userprofile_user_permissions` VALUES (3, 4, 3);
INSERT INTO `users_userprofile_user_permissions` VALUES (4, 4, 4);
INSERT INTO `users_userprofile_user_permissions` VALUES (5, 4, 5);
INSERT INTO `users_userprofile_user_permissions` VALUES (6, 4, 6);
INSERT INTO `users_userprofile_user_permissions` VALUES (7, 4, 7);
INSERT INTO `users_userprofile_user_permissions` VALUES (8, 4, 8);
INSERT INTO `users_userprofile_user_permissions` VALUES (9, 4, 9);
INSERT INTO `users_userprofile_user_permissions` VALUES (10, 4, 10);
INSERT INTO `users_userprofile_user_permissions` VALUES (11, 4, 14);
INSERT INTO `users_userprofile_user_permissions` VALUES (12, 4, 15);
INSERT INTO `users_userprofile_user_permissions` VALUES (13, 4, 17);
INSERT INTO `users_userprofile_user_permissions` VALUES (14, 4, 18);
INSERT INTO `users_userprofile_user_permissions` VALUES (15, 4, 19);
INSERT INTO `users_userprofile_user_permissions` VALUES (16, 4, 20);
INSERT INTO `users_userprofile_user_permissions` VALUES (17, 4, 21);
INSERT INTO `users_userprofile_user_permissions` VALUES (18, 4, 22);
INSERT INTO `users_userprofile_user_permissions` VALUES (19, 4, 23);
INSERT INTO `users_userprofile_user_permissions` VALUES (20, 4, 24);
INSERT INTO `users_userprofile_user_permissions` VALUES (21, 4, 25);
INSERT INTO `users_userprofile_user_permissions` VALUES (22, 4, 26);
INSERT INTO `users_userprofile_user_permissions` VALUES (23, 4, 27);
INSERT INTO `users_userprofile_user_permissions` VALUES (24, 4, 28);
INSERT INTO `users_userprofile_user_permissions` VALUES (25, 4, 29);
INSERT INTO `users_userprofile_user_permissions` VALUES (26, 4, 30);
INSERT INTO `users_userprofile_user_permissions` VALUES (27, 4, 31);
INSERT INTO `users_userprofile_user_permissions` VALUES (28, 4, 32);
INSERT INTO `users_userprofile_user_permissions` VALUES (29, 4, 33);
INSERT INTO `users_userprofile_user_permissions` VALUES (30, 4, 34);
INSERT INTO `users_userprofile_user_permissions` VALUES (31, 4, 35);
INSERT INTO `users_userprofile_user_permissions` VALUES (32, 4, 36);
INSERT INTO `users_userprofile_user_permissions` VALUES (33, 4, 37);
INSERT INTO `users_userprofile_user_permissions` VALUES (34, 4, 38);
INSERT INTO `users_userprofile_user_permissions` VALUES (35, 4, 39);
INSERT INTO `users_userprofile_user_permissions` VALUES (36, 4, 40);
INSERT INTO `users_userprofile_user_permissions` VALUES (37, 4, 41);
INSERT INTO `users_userprofile_user_permissions` VALUES (38, 4, 42);
INSERT INTO `users_userprofile_user_permissions` VALUES (39, 4, 43);
INSERT INTO `users_userprofile_user_permissions` VALUES (40, 4, 44);
INSERT INTO `users_userprofile_user_permissions` VALUES (41, 4, 45);
INSERT INTO `users_userprofile_user_permissions` VALUES (42, 4, 46);
INSERT INTO `users_userprofile_user_permissions` VALUES (43, 4, 47);
INSERT INTO `users_userprofile_user_permissions` VALUES (44, 4, 48);
INSERT INTO `users_userprofile_user_permissions` VALUES (45, 4, 49);
INSERT INTO `users_userprofile_user_permissions` VALUES (46, 4, 50);
INSERT INTO `users_userprofile_user_permissions` VALUES (47, 4, 51);
INSERT INTO `users_userprofile_user_permissions` VALUES (48, 4, 52);
INSERT INTO `users_userprofile_user_permissions` VALUES (49, 4, 53);
INSERT INTO `users_userprofile_user_permissions` VALUES (50, 4, 54);
INSERT INTO `users_userprofile_user_permissions` VALUES (51, 4, 55);
INSERT INTO `users_userprofile_user_permissions` VALUES (52, 4, 56);
INSERT INTO `users_userprofile_user_permissions` VALUES (53, 4, 57);
INSERT INTO `users_userprofile_user_permissions` VALUES (54, 4, 58);
INSERT INTO `users_userprofile_user_permissions` VALUES (55, 4, 59);
INSERT INTO `users_userprofile_user_permissions` VALUES (56, 4, 60);
INSERT INTO `users_userprofile_user_permissions` VALUES (57, 4, 61);
INSERT INTO `users_userprofile_user_permissions` VALUES (58, 4, 62);
INSERT INTO `users_userprofile_user_permissions` VALUES (59, 4, 63);
INSERT INTO `users_userprofile_user_permissions` VALUES (60, 4, 64);
INSERT INTO `users_userprofile_user_permissions` VALUES (61, 4, 65);
INSERT INTO `users_userprofile_user_permissions` VALUES (62, 4, 66);
INSERT INTO `users_userprofile_user_permissions` VALUES (63, 4, 67);
INSERT INTO `users_userprofile_user_permissions` VALUES (64, 4, 68);
INSERT INTO `users_userprofile_user_permissions` VALUES (65, 4, 69);
INSERT INTO `users_userprofile_user_permissions` VALUES (66, 4, 70);
INSERT INTO `users_userprofile_user_permissions` VALUES (67, 4, 71);
INSERT INTO `users_userprofile_user_permissions` VALUES (68, 4, 72);
INSERT INTO `users_userprofile_user_permissions` VALUES (69, 4, 73);
INSERT INTO `users_userprofile_user_permissions` VALUES (70, 4, 74);
INSERT INTO `users_userprofile_user_permissions` VALUES (71, 4, 75);
INSERT INTO `users_userprofile_user_permissions` VALUES (72, 4, 76);
INSERT INTO `users_userprofile_user_permissions` VALUES (73, 4, 77);
INSERT INTO `users_userprofile_user_permissions` VALUES (74, 4, 78);
INSERT INTO `users_userprofile_user_permissions` VALUES (75, 4, 79);
INSERT INTO `users_userprofile_user_permissions` VALUES (76, 4, 80);
INSERT INTO `users_userprofile_user_permissions` VALUES (77, 4, 81);
INSERT INTO `users_userprofile_user_permissions` VALUES (78, 4, 82);
INSERT INTO `users_userprofile_user_permissions` VALUES (79, 4, 83);
INSERT INTO `users_userprofile_user_permissions` VALUES (80, 4, 84);
INSERT INTO `users_userprofile_user_permissions` VALUES (81, 4, 85);
INSERT INTO `users_userprofile_user_permissions` VALUES (82, 4, 86);
INSERT INTO `users_userprofile_user_permissions` VALUES (83, 4, 87);
INSERT INTO `users_userprofile_user_permissions` VALUES (84, 4, 88);
INSERT INTO `users_userprofile_user_permissions` VALUES (85, 4, 89);
INSERT INTO `users_userprofile_user_permissions` VALUES (86, 4, 90);
INSERT INTO `users_userprofile_user_permissions` VALUES (87, 4, 91);
INSERT INTO `users_userprofile_user_permissions` VALUES (88, 4, 92);
INSERT INTO `users_userprofile_user_permissions` VALUES (89, 4, 93);
INSERT INTO `users_userprofile_user_permissions` VALUES (90, 4, 94);
INSERT INTO `users_userprofile_user_permissions` VALUES (91, 4, 95);
INSERT INTO `users_userprofile_user_permissions` VALUES (92, 4, 96);
INSERT INTO `users_userprofile_user_permissions` VALUES (93, 4, 97);
INSERT INTO `users_userprofile_user_permissions` VALUES (94, 4, 98);
INSERT INTO `users_userprofile_user_permissions` VALUES (95, 4, 99);
INSERT INTO `users_userprofile_user_permissions` VALUES (96, 4, 100);
INSERT INTO `users_userprofile_user_permissions` VALUES (97, 4, 101);
INSERT INTO `users_userprofile_user_permissions` VALUES (98, 4, 102);
INSERT INTO `users_userprofile_user_permissions` VALUES (99, 4, 103);
INSERT INTO `users_userprofile_user_permissions` VALUES (100, 4, 104);
-- ----------------------------
-- Table structure for xadmin_bookmark
-- ----------------------------
DROP TABLE IF EXISTS `xadmin_bookmark`;
CREATE TABLE `xadmin_bookmark` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`url_name` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`query` varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`is_share` tinyint(1) NOT NULL,
`content_type_id` int(11) NOT NULL,
`user_id` int(11) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
INDEX `xadmin_bookma_content_type_id_60941679_fk_django_content_type_id`(`content_type_id`) USING BTREE,
INDEX `xadmin_bookmark_user_id_42d307fc_fk_auth_user_id`(`user_id`) USING BTREE,
CONSTRAINT `xadmin_bookma_content_type_id_60941679_fk_django_content_type_id` FOREIGN KEY (`content_type_id`) REFERENCES `django_content_type` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
CONSTRAINT `xadmin_bookmark_user_id_42d307fc_fk_auth_user_id` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Table structure for xadmin_log
-- ----------------------------
DROP TABLE IF EXISTS `xadmin_log`;
CREATE TABLE `xadmin_log` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`action_time` datetime(6) NOT NULL,
`ip_addr` char(39) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`object_id` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
`object_repr` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`action_flag` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`message` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`content_type_id` int(11) NULL DEFAULT NULL,
`user_id` int(11) NOT NULL,
PRIMARY KEY (`id`) USING BTREE,
INDEX `xadmin_log_content_type_id_2a6cb852_fk_django_content_type_id`(`content_type_id`) USING BTREE,
INDEX `xadmin_log_user_id_bb16a176_fk_auth_user_id`(`user_id`) USING BTREE,
CONSTRAINT `xadmin_log_content_type_id_2a6cb852_fk_django_content_type_id` FOREIGN KEY (`content_type_id`) REFERENCES `django_content_type` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
CONSTRAINT `xadmin_log_user_id_bb16a176_fk_auth_user_id` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 83 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of xadmin_log
-- ----------------------------
INSERT INTO `xadmin_log` VALUES (1, '2018-08-18 16:34:02.470746', '127.0.0.1', '1', 'CityDict object', 'create', '已添加。', 23, 1);
INSERT INTO `xadmin_log` VALUES (2, '2018-08-18 16:36:04.508725', '127.0.0.1', '2', '上海市', 'create', '已添加。', 23, 1);
INSERT INTO `xadmin_log` VALUES (3, '2018-08-18 16:41:16.403087', '127.0.0.1', '3', '广州市', 'create', '已添加。', 23, 1);
INSERT INTO `xadmin_log` VALUES (4, '2018-08-18 16:41:29.062793', '127.0.0.1', '4', '深圳市', 'create', '已添加。', 23, 1);
INSERT INTO `xadmin_log` VALUES (5, '2018-08-18 16:41:44.431114', '127.0.0.1', '5', '天津市', 'create', '已添加。', 23, 1);
INSERT INTO `xadmin_log` VALUES (6, '2018-08-18 16:55:43.549056', '127.0.0.1', '1', '慕课网', 'create', '已添加。', 24, 1);
INSERT INTO `xadmin_log` VALUES (7, '2018-08-18 17:03:25.012725', '127.0.0.1', '北京大学', '北京大学', 'create', '已添加。', 24, 1);
INSERT INTO `xadmin_log` VALUES (8, '2018-08-18 17:05:46.906542', '127.0.0.1', '3', '慕课网1', 'create', '已添加。', 24, 1);
INSERT INTO `xadmin_log` VALUES (9, '2018-08-18 17:08:49.260898', '127.0.0.1', '4', '上海交通大学', 'create', '已添加。', 24, 1);
INSERT INTO `xadmin_log` VALUES (10, '2018-08-18 17:09:55.625072', '127.0.0.1', '5', '慕课网2', 'create', '已添加。', 24, 1);
INSERT INTO `xadmin_log` VALUES (11, '2018-08-18 17:11:49.269525', '127.0.0.1', '6', '欧阳锋', 'create', '已添加。', 24, 1);
INSERT INTO `xadmin_log` VALUES (12, '2018-08-18 17:14:58.409503', '127.0.0.1', '7', '中山大学', 'create', '已添加。', 24, 1);
INSERT INTO `xadmin_log` VALUES (13, '2018-08-18 17:16:00.633276', '127.0.0.1', '8', '奥巴马', 'create', '已添加。', 24, 1);
INSERT INTO `xadmin_log` VALUES (14, '2018-08-18 17:16:37.743207', '127.0.0.1', '9', '慕课网3', 'create', '已添加。', 24, 1);
INSERT INTO `xadmin_log` VALUES (15, '2018-08-18 17:17:20.611280', '127.0.0.1', '10', '张无忌', 'create', '已添加。', 24, 1);
INSERT INTO `xadmin_log` VALUES (16, '2018-08-19 22:59:01.695600', '127.0.0.1', '1', '马云', 'create', '已添加。', 25, 1);
INSERT INTO `xadmin_log` VALUES (17, '2018-08-19 23:00:32.156830', '127.0.0.1', '2', '李开复', 'create', '已添加。', 25, 1);
INSERT INTO `xadmin_log` VALUES (18, '2018-08-19 23:01:13.223704', '127.0.0.1', '3', '周杰伦', 'create', '已添加。', 25, 1);
INSERT INTO `xadmin_log` VALUES (19, '2018-08-19 23:02:21.314601', '127.0.0.1', '4', '陈奕迅', 'create', '已添加。', 25, 1);
INSERT INTO `xadmin_log` VALUES (20, '2018-08-19 23:03:02.867553', '127.0.0.1', '5', '王健林', 'create', '已添加。', 25, 1);
INSERT INTO `xadmin_log` VALUES (21, '2018-08-19 23:04:10.366574', '127.0.0.1', '6', '欧阳锋', 'create', '已添加。', 25, 1);
INSERT INTO `xadmin_log` VALUES (22, '2018-08-19 23:05:07.599105', '127.0.0.1', '7', '靳东', 'create', '已添加。', 25, 1);
INSERT INTO `xadmin_log` VALUES (23, '2018-08-19 23:05:55.800459', '127.0.0.1', '8', '奥巴马', 'create', '已添加。', 25, 1);
INSERT INTO `xadmin_log` VALUES (24, '2018-08-19 23:06:30.126314', '127.0.0.1', '9', '王凯', 'create', '已添加。', 25, 1);
INSERT INTO `xadmin_log` VALUES (25, '2018-08-19 23:07:19.696515', '127.0.0.1', '10', '张无忌', 'create', '已添加。', 25, 1);
INSERT INTO `xadmin_log` VALUES (26, '2018-08-19 23:54:46.592406', '127.0.0.1', '1', 'python入门', 'create', '已添加。', 14, 1);
INSERT INTO `xadmin_log` VALUES (27, '2018-08-19 23:56:43.506465', '127.0.0.1', '2', 'java进阶', 'create', '已添加。', 14, 1);
INSERT INTO `xadmin_log` VALUES (28, '2018-08-19 23:57:46.360259', '127.0.0.1', '3', 'mysql教程', 'create', '已添加。', 14, 1);
INSERT INTO `xadmin_log` VALUES (29, '2018-08-20 20:31:21.836366', '127.0.0.1', '3', 'mysql教程', 'change', '已修改 course_org 。', 14, 1);
INSERT INTO `xadmin_log` VALUES (30, '2018-08-20 20:31:28.857709', '127.0.0.1', '2', 'java进阶', 'change', '已修改 course_org 。', 14, 1);
INSERT INTO `xadmin_log` VALUES (31, '2018-08-20 20:31:36.991781', '127.0.0.1', '1', 'python入门', 'change', '已修改 course_org 。', 14, 1);
INSERT INTO `xadmin_log` VALUES (32, '2018-08-20 21:35:15.405315', '127.0.0.1', '10', '张无忌', 'change', '已修改 image 。', 25, 1);
INSERT INTO `xadmin_log` VALUES (33, '2018-08-20 21:36:14.717849', '127.0.0.1', '9', '王凯', 'change', '已修改 image 。', 25, 1);
INSERT INTO `xadmin_log` VALUES (34, '2018-08-20 21:36:39.324237', '127.0.0.1', '8', '奥巴马', 'change', '已修改 image 。', 25, 1);
INSERT INTO `xadmin_log` VALUES (35, '2018-08-20 21:36:52.278531', '127.0.0.1', '7', '靳东', 'change', '已修改 image 。', 25, 1);
INSERT INTO `xadmin_log` VALUES (36, '2018-08-20 21:37:20.003933', '127.0.0.1', '6', '欧阳锋', 'change', '已修改 image 。', 25, 1);
INSERT INTO `xadmin_log` VALUES (37, '2018-08-20 21:37:37.983895', '127.0.0.1', '5', '王健林', 'change', '已修改 image 。', 25, 1);
INSERT INTO `xadmin_log` VALUES (38, '2018-08-20 21:37:53.411920', '127.0.0.1', '4', '陈奕迅', 'change', '已修改 image 。', 25, 1);
INSERT INTO `xadmin_log` VALUES (39, '2018-08-20 21:38:03.018121', '127.0.0.1', '3', '周杰伦', 'change', '已修改 image 。', 25, 1);
INSERT INTO `xadmin_log` VALUES (40, '2018-08-20 21:38:15.927108', '127.0.0.1', '2', '李开复', 'change', '已修改 image 。', 25, 1);
INSERT INTO `xadmin_log` VALUES (41, '2018-08-20 21:38:34.318993', '127.0.0.1', '1', '马云', 'change', '已修改 image 。', 25, 1);
INSERT INTO `xadmin_log` VALUES (42, '2018-08-22 18:46:10.794414', '127.0.0.1', '4', 'HTML基础', 'create', '已添加。', 14, 1);
INSERT INTO `xadmin_log` VALUES (43, '2018-08-22 18:47:54.977351', '127.0.0.1', '5', 'Django基础', 'create', '已添加。', 14, 1);
INSERT INTO `xadmin_log` VALUES (44, '2018-08-22 18:49:00.144981', '127.0.0.1', '6', 'CSS基础', 'create', '已添加。', 14, 1);
INSERT INTO `xadmin_log` VALUES (45, '2018-08-22 20:16:51.610478', '127.0.0.1', '10', '张无忌', 'change', '已修改 students 和 courses_nums 。', 24, 1);
INSERT INTO `xadmin_log` VALUES (46, '2018-08-22 20:17:07.442554', '127.0.0.1', '9', '慕课网3', 'change', '已修改 fav_nums,click_nums,students 和 courses_nums 。', 24, 1);
INSERT INTO `xadmin_log` VALUES (47, '2018-08-22 20:17:17.235871', '127.0.0.1', '8', '奥巴马', 'change', '已修改 students 和 courses_nums 。', 24, 1);
INSERT INTO `xadmin_log` VALUES (48, '2018-08-22 20:22:40.076156', '127.0.0.1', '6', 'CSS基础', 'change', '已修改 student 和 click_nums 。', 14, 1);
INSERT INTO `xadmin_log` VALUES (49, '2018-08-22 20:22:50.192984', '127.0.0.1', '5', 'Django基础', 'change', '已修改 student 和 click_nums 。', 14, 1);
INSERT INTO `xadmin_log` VALUES (50, '2018-08-22 20:23:01.937969', '127.0.0.1', '3', 'mysql教程', 'change', '已修改 student 和 click_nums 。', 14, 1);
INSERT INTO `xadmin_log` VALUES (51, '2018-08-22 20:37:12.181015', '127.0.0.1', '10', '张无忌', 'change', '已修改 click_nums 。', 24, 1);
INSERT INTO `xadmin_log` VALUES (52, '2018-08-22 20:37:18.007417', '127.0.0.1', '9', '慕课网3', 'change', '没有字段被修改。', 24, 1);
INSERT INTO `xadmin_log` VALUES (53, '2018-08-22 20:37:25.876084', '127.0.0.1', '8', '奥巴马', 'change', '已修改 click_nums 。', 24, 1);
INSERT INTO `xadmin_log` VALUES (54, '2018-08-22 20:37:35.012074', '127.0.0.1', '4', '上海交通大学', 'change', '已修改 click_nums 。', 24, 1);
INSERT INTO `xadmin_log` VALUES (55, '2018-08-22 23:28:49.741472', '127.0.0.1', '4', '恋恋风尘', 'change', '已修改 last_login,user_permissions,name,birthday,address,mobile 和 image 。', 11, 1);
INSERT INTO `xadmin_log` VALUES (56, '2018-08-22 23:29:19.171404', '127.0.0.1', '4', '恋恋风尘', 'change', '没有字段被修改。', 11, 1);
INSERT INTO `xadmin_log` VALUES (57, '2018-08-22 23:29:30.230415', '127.0.0.1', '1', 'UserCourse object', 'create', '已添加。', 22, 1);
INSERT INTO `xadmin_log` VALUES (58, '2018-08-22 23:33:19.218978', '127.0.0.1', '1', '王子', 'change', '已修改 last_login,user_permissions,name,birthday,address,mobile 和 image 。', 11, 1);
INSERT INTO `xadmin_log` VALUES (59, '2018-08-22 23:34:17.716941', '127.0.0.1', '1', '王子', 'change', '没有字段被修改。', 11, 1);
INSERT INTO `xadmin_log` VALUES (60, '2018-08-22 23:36:21.814293', '127.0.0.1', '6', 'UserCourse object', 'create', '已添加。', 22, 1);
INSERT INTO `xadmin_log` VALUES (61, '2018-08-23 18:53:17.801020', '127.0.0.1', '6', 'CSS基础', 'change', '已修改 tag 。', 14, 1);
INSERT INTO `xadmin_log` VALUES (62, '2018-08-23 18:53:30.140817', '127.0.0.1', '1', 'python入门', 'change', '已修改 tag 。', 14, 1);
INSERT INTO `xadmin_log` VALUES (63, '2018-08-23 20:17:16.716889', '127.0.0.1', '1', '第一章 基础知识', 'create', '已添加。', 15, 1);
INSERT INTO `xadmin_log` VALUES (64, '2018-08-23 20:17:44.084329', '127.0.0.1', '2', '第二章 进阶开发', 'create', '已添加。', 15, 1);
INSERT INTO `xadmin_log` VALUES (65, '2018-08-23 20:18:25.909601', '127.0.0.1', '1', '2.1 进阶开发详细视频', 'create', '已添加。', 16, 1);
INSERT INTO `xadmin_log` VALUES (66, '2018-08-23 20:19:22.572452', '127.0.0.1', '2', '1.1 基础知识详细视频', 'create', '已添加。', 16, 1);
INSERT INTO `xadmin_log` VALUES (67, '2018-08-23 20:23:25.281532', '127.0.0.1', '2', '1.1 基础知识详细视频', 'change', '已修改 url 。', 16, 1);
INSERT INTO `xadmin_log` VALUES (68, '2018-08-23 20:23:33.207579', '127.0.0.1', '2', '1.1 基础知识详细视频', 'change', '没有字段被修改。', 16, 1);
INSERT INTO `xadmin_log` VALUES (69, '2018-08-23 20:23:38.101465', '127.0.0.1', '1', '2.1 进阶开发详细视频', 'change', '已修改 url 。', 16, 1);
INSERT INTO `xadmin_log` VALUES (70, '2018-08-23 20:25:01.290673', '127.0.0.1', '3', '1.2 基础知识(2)', 'create', '已添加。', 16, 1);
INSERT INTO `xadmin_log` VALUES (71, '2018-08-23 20:25:26.286347', '127.0.0.1', '3', '1.2 基础知识详细视频(2)', 'change', '已修改 name 。', 16, 1);
INSERT INTO `xadmin_log` VALUES (72, '2018-08-23 20:50:21.527243', '127.0.0.1', '3', '1.2 基础知识详细视频(2)', 'change', '已修改 learn_times 。', 16, 1);
INSERT INTO `xadmin_log` VALUES (73, '2018-08-23 20:50:28.174374', '127.0.0.1', '2', '1.1 基础知识详细视频', 'change', '已修改 learn_times 。', 16, 1);
INSERT INTO `xadmin_log` VALUES (74, '2018-08-23 20:50:36.668481', '127.0.0.1', '1', '2.1 进阶开发详细视频', 'change', '已修改 learn_times 。', 16, 1);
INSERT INTO `xadmin_log` VALUES (75, '2018-08-23 20:58:05.788518', '127.0.0.1', '1', '前端资源', 'create', '已添加。', 17, 1);
INSERT INTO `xadmin_log` VALUES (76, '2018-08-23 20:58:25.160626', '127.0.0.1', '2', '资料2', 'create', '已添加。', 17, 1);
INSERT INTO `xadmin_log` VALUES (77, '2018-08-23 21:06:10.081100', '127.0.0.1', '2', '资料2', 'delete', '', 17, 1);
INSERT INTO `xadmin_log` VALUES (78, '2018-08-23 21:06:27.542584', '127.0.0.1', '1', '前端资源', 'change', '没有字段被修改。', 17, 1);
INSERT INTO `xadmin_log` VALUES (79, '2018-08-23 21:06:51.866840', '127.0.0.1', '3', '资料2', 'create', '已添加。', 17, 1);
INSERT INTO `xadmin_log` VALUES (80, '2018-08-23 21:21:38.563160', '127.0.0.1', '4', '资料3', 'create', '已添加。', 17, 1);
INSERT INTO `xadmin_log` VALUES (81, '2018-08-23 21:32:09.565051', '127.0.0.1', '6', 'CSS基础', 'change', '已修改 tercher 。', 14, 1);
INSERT INTO `xadmin_log` VALUES (82, '2018-08-23 21:42:14.175183', '127.0.0.1', '6', 'CSS基础', 'change', '已修改 you_need_know 和 teacher_tell_you 。', 14, 1);
-- ----------------------------
-- Table structure for xadmin_usersettings
-- ----------------------------
DROP TABLE IF EXISTS `xadmin_usersettings`;
CREATE TABLE `xadmin_usersettings` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`key` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`value` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`user_id` int(11) NOT NULL,
PRIMARY KEY (`id`) USING BTREE,
INDEX `xadmin_usersettings_user_id_edeabe4a_fk_auth_user_id`(`user_id`) USING BTREE,
CONSTRAINT `xadmin_usersettings_user_id_edeabe4a_fk_auth_user_id` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of xadmin_usersettings
-- ----------------------------
INSERT INTO `xadmin_usersettings` VALUES (1, 'dashboard:home:pos', '', 1);
-- ----------------------------
-- Table structure for xadmin_userwidget
-- ----------------------------
DROP TABLE IF EXISTS `xadmin_userwidget`;
CREATE TABLE `xadmin_userwidget` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`page_id` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`widget_type` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`value` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`user_id` int(11) NOT NULL,
PRIMARY KEY (`id`) USING BTREE,
INDEX `xadmin_userwidget_user_id_c159233a_fk_auth_user_id`(`user_id`) USING BTREE,
CONSTRAINT `xadmin_userwidget_user_id_c159233a_fk_auth_user_id` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
SET FOREIGN_KEY_CHECKS = 1;
| true |
7b39b6f85da68723ca62a3a9bc2a4a89691fee42 | SQL | serializedowen/LeetCode-SQL | /solution/176.sql | UTF-8 | 245 | 3.8125 | 4 | [] | no_license | # Write your MySQL query statement below
Select
Case When min(S.Salary) = max(S.Salary) then null
Else
min(S.Salary)
End
As SecondHighestSalary
From
(Select Salary
From Employee
Order By Salary Desc
Limit 2
) S
Order By S.Salary Asc
Limit 1 | true |
2342de5790764d7bd882a34cae244fcb9af93f6f | SQL | essence-community/core-backend | /dbms/t_query/MTIcon.sql | UTF-8 | 1,095 | 3.125 | 3 | [
"MIT"
] | permissive | --liquibase formatted sql
--changeset artemov_i:MTIcon.sql dbms:postgresql runOnChange:true splitStatements:false stripComments:false
INSERT INTO s_mt.t_query (ck_id, cc_query, ck_provider, ck_user, ct_change, cr_type, cr_access, cn_action, cv_description) VALUES ('MTIcon', '/*MTIcon*/
select /*Pagination*/
count(1) over() as jn_total_cnt,
/*ICON*/
t.*
from (
select i.ck_id,
i.cv_name,
i.cv_font,
/* Поля аудита */
i.ck_user,
i.ct_change at time zone :sess_cv_timezone as ct_change
from s_mt.t_icon i
) as t
where &FILTER
order by &SORT
offset &OFFSET rows
fetch first &FETCH rows only
', 'meta', '20783', '2019-05-30 14:43:15.211439+03', 'select', 'po_session', NULL, 'Список доступных иконок')
on conflict (ck_id) do update set cc_query = excluded.cc_query, ck_provider = excluded.ck_provider, ck_user = excluded.ck_user, ct_change = excluded.ct_change, cr_type = excluded.cr_type, cr_access = excluded.cr_access, cn_action = excluded.cn_action, cv_description = excluded.cv_description;
| true |
ed7e4e3c7fe6399be0ba4f6d0e030f3754a19e92 | SQL | hrpitta/test_sedna_hugo_pitta | /tables.sql | UTF-8 | 9,021 | 3.90625 | 4 | [] | no_license | /* Based on the question I didn't want to create a big dataset so I created the tables with suggested schema and did some simple queries
to answer the questions the attendance table i created report_date after the date the person went to the event arrival_date the person went only
in 1 event and the event_location could receive more than 1 person (I think everyone know that LOL) i did only 33% of the people where infected
I think still is a lot of people maybe the biggest rate ever!! With this small dataset I could answer all the questions and still generates the
histogram (not ugly but with so little data it is not the best visualization). I hope you understand what I did, if not please let me know and I can
explain what I were thinking. Thanks for the opportunity.
Best,
Hugo */
-- Connection String
-- jdbc:postgresql://[username]:[password]@data-interview-db.ce7oyzeskgrt.eu-west-1.rds.amazonaws.com:5432/postgres
-- Create table scripts
CREATE TABLE u_0291898.attendance (
index SERIAL,
report_id int NOT NULL,
report_date timestamp NOT NULL,
event_location VARCHAR(64) NULL,
arrival_date timestamp NULL,
person_id int NOT NULL
);
CREATE TABLE u_0291898.positive_results (
index SERIAL,
person_id int NOT NULL,
test_date timestamp NOT NULL
);
-- Ingest data on the tables
INSERT INTO "attendance" (report_id,report_date,event_location,arrival_date,person_id) VALUES (1001,'2022-01-06',8,'2019-12-03 00:05:05',1),(1002,'2020-01-04',3,'2019-12-02 00:04:42',2),(1003,'2021-02-03',3,'2019-12-04 06:23:31',3),(1004,'2021-04-02',9,'2019-12-05 23:43:56',4),(1005,'2021-03-23',2,'2019-12-01 22:31:59',5),(1006,'2020-07-23',10,'2019-12-01 13:11:33',6),(1007,'2021-01-30',10,'2019-12-03 16:03:25',7),(1008,'2021-03-23',1,'2019-12-02 18:56:07',8),(1009,'2020-12-26',6,'2019-12-04 11:58:56',9),(1010,'2020-05-27',4,'2019-12-01 15:55:46',10);
INSERT INTO "attendance" (report_id,report_date,event_location,arrival_date,person_id) VALUES (1011,'2021-09-08',10,'2019-12-04 03:12:49',11),(1012,'2020-12-12',4,'2019-12-03 23:10:57',12),(1013,'2021-04-21',1,'2019-12-03 05:03:43',13),(1014,'2021-07-17',2,'2019-12-02 16:43:24',14),(1015,'2021-10-09',7,'2019-12-05 20:47:29',15),(1016,'2021-07-24',3,'2019-12-02 15:11:21',16),(1017,'2020-09-12',1,'2019-12-03 07:44:15',17),(1018,'2021-05-11',8,'2019-12-01 07:54:13',18),(1019,'2021-01-02',7,'2019-12-03 22:11:31',19),(1020,'2021-05-19',1,'2019-12-02 23:34:16',20);
INSERT INTO "attendance" (report_id,report_date,event_location,arrival_date,person_id) VALUES (1021,'2020-12-29',7,'2019-12-04 15:17:35',21),(1022,'2020-04-20',2,'2019-12-01 22:52:51',22),(1023,'2021-09-22',9,'2019-12-05 11:41:13',23),(1024,'2020-06-13',8,'2019-12-01 00:08:58',24),(1025,'2021-06-06',6,'2019-12-04 06:03:17',25),(1026,'2021-08-19',5,'2019-12-02 20:50:29',26),(1027,'2021-01-22',4,'2019-12-01 06:44:55',27),(1028,'2020-11-12',7,'2019-12-01 05:42:48',28),(1029,'2021-05-10',6,'2019-12-02 21:01:38',29),(1030,'2020-07-16',9,'2019-12-03 10:53:08',30);
INSERT INTO "attendance" (report_id,report_date,event_location,arrival_date,person_id) VALUES (1031,'2020-03-13',3,'2019-12-01 20:33:28',31),(1032,'2021-02-09',5,'2019-12-03 11:59:00',32),(1033,'2021-02-28',10,'2019-12-01 00:01:10',33),(1034,'2021-11-02',3,'2019-12-05 19:05:34',34),(1035,'2020-03-24',3,'2019-12-03 13:57:38',35),(1036,'2020-07-31',9,'2019-12-04 12:16:47',36),(1037,'2021-12-01',4,'2019-12-02 22:34:23',37),(1038,'2020-03-23',5,'2019-12-05 15:55:44',38),(1039,'2020-07-25',10,'2019-12-04 17:59:49',39),(1040,'2021-01-23',2,'2019-12-03 08:24:03',40);
INSERT INTO "attendance" (report_id,report_date,event_location,arrival_date,person_id) VALUES (1041,'2020-12-01',1,'2019-12-03 08:20:08',41),(1042,'2021-11-03',7,'2019-12-04 19:51:22',42),(1043,'2021-07-24',9,'2019-12-04 16:44:29',43),(1044,'2021-10-09',1,'2019-12-03 09:49:18',44),(1045,'2020-04-09',1,'2019-12-02 17:47:28',45),(1046,'2021-12-11',8,'2019-12-02 01:17:13',46),(1047,'2021-06-19',2,'2019-12-03 17:34:26',47),(1048,'2020-03-31',8,'2019-12-03 03:46:53',48),(1049,'2021-05-04',9,'2019-12-04 03:33:26',49),(1050,'2020-12-27',6,'2019-12-02 01:12:25',50);
INSERT INTO "attendance" (report_id,report_date,event_location,arrival_date,person_id) VALUES (1051,'2020-08-17',2,'2019-12-02 17:40:29',51),(1052,'2021-03-27',10,'2019-12-03 09:18:57',52),(1053,'2020-01-20',10,'2019-12-01 21:10:17',53),(1054,'2020-05-28',1,'2019-12-01 19:27:35',54),(1055,'2020-08-26',1,'2019-12-01 02:51:02',55),(1056,'2021-10-05',7,'2019-12-02 17:12:56',56),(1057,'2022-01-06',6,'2019-12-03 00:31:26',57),(1058,'2021-05-11',1,'2019-12-05 15:14:57',58),(1059,'2020-07-05',6,'2019-12-01 22:05:32',59),(1060,'2021-01-14',2,'2019-12-03 22:11:04',60);
INSERT INTO "attendance" (report_id,report_date,event_location,arrival_date,person_id) VALUES (1061,'2020-12-14',6,'2019-12-04 04:51:05',61),(1062,'2021-05-17',9,'2019-12-04 17:09:07',62),(1063,'2021-08-15',4,'2019-12-01 00:26:05',63),(1064,'2020-12-23',1,'2019-12-04 11:40:11',64),(1065,'2020-08-03',8,'2019-12-05 05:41:18',65),(1066,'2021-11-14',10,'2019-12-03 21:29:47',66),(1067,'2020-04-30',4,'2019-12-05 12:35:54',67),(1068,'2020-09-06',10,'2019-12-03 15:59:42',68),(1069,'2021-01-26',5,'2019-12-05 07:57:42',69),(1070,'2021-09-12',10,'2019-12-03 09:39:25',70);
INSERT INTO "attendance" (report_id,report_date,event_location,arrival_date,person_id) VALUES (1071,'2021-10-02',3,'2019-12-01 08:11:23',71),(1072,'2021-05-12',2,'2019-12-01 23:08:34',72),(1073,'2020-04-03',4,'2019-12-02 20:46:28',73),(1074,'2020-11-21',2,'2019-12-02 20:27:43',74),(1075,'2021-07-17',2,'2019-12-05 02:52:49',75),(1076,'2021-08-06',3,'2019-12-05 03:23:31',76),(1077,'2020-11-02',1,'2019-12-04 21:00:25',77),(1078,'2021-09-22',5,'2019-12-03 11:13:04',78),(1079,'2020-06-12',6,'2019-12-05 12:20:14',79),(1080,'2020-08-08',8,'2019-12-05 16:27:00',80);
INSERT INTO "attendance" (report_id,report_date,event_location,arrival_date,person_id) VALUES (1081,'2020-10-08',5,'2019-12-05 07:51:37',81),(1082,'2021-04-09',10,'2019-12-05 22:37:40',82),(1083,'2020-06-28',4,'2019-12-04 01:53:16',83),(1084,'2020-05-05',8,'2019-12-04 09:35:09',84),(1085,'2021-12-05',9,'2019-12-01 02:54:58',85),(1086,'2021-10-28',2,'2019-12-02 14:47:58',86),(1087,'2021-07-05',8,'2019-12-04 03:04:44',87),(1088,'2020-10-15',3,'2019-12-02 05:02:08',88),(1089,'2020-11-14',3,'2019-12-01 06:34:23',89),(1090,'2020-08-26',8,'2019-12-03 02:47:22',90);
INSERT INTO "attendance" (report_id,report_date,event_location,arrival_date,person_id) VALUES (1091,'2020-09-30',5,'2019-12-04 17:13:30',91),(1092,'2021-07-16',8,'2019-12-03 11:47:44',92),(1093,'2020-01-03',4,'2019-12-05 20:04:40',93),(1094,'2020-09-20',8,'2019-12-03 09:16:22',94),(1095,'2020-03-02',1,'2019-12-01 20:10:18',95),(1096,'2021-06-27',1,'2019-12-05 22:11:11',96),(1097,'2020-11-22',4,'2019-12-05 21:00:26',97),(1098,'2021-04-17',9,'2019-12-03 12:31:52',98),(1099,'2020-09-20',7,'2019-12-03 11:54:30',99),(1100,'2020-10-26',9,'2019-12-05 21:34:31',100);
INSERT INTO "positive_results" (person_id,test_date) VALUES (1,'2020-04-02'),(2,'2020-04-03'),(3,'2020-04-01'),(4,'2020-04-03'),(5,'2020-04-04'),(6,'2020-04-01'),(7,'2020-04-04'),(8,'2020-04-04'),(9,'2020-04-05'),(10,'2020-04-05');
INSERT INTO "positive_results" (person_id,test_date) VALUES (11,'2020-04-03'),(12,'2020-04-02'),(13,'2020-04-04'),(14,'2020-04-06'),(15,'2020-04-06'),(16,'2020-04-06'),(17,'2020-04-01'),(18,'2020-04-06'),(19,'2020-04-05'),(20,'2020-04-01');
INSERT INTO "positive_results" (person_id,test_date) VALUES (21,'2020-04-06'),(22,'2020-04-05'),(23,'2020-04-03'),(24,'2020-04-01'),(25,'2020-04-02'),(26,'2020-04-03'),(27,'2020-04-04'),(28,'2020-04-06'),(29,'2020-04-04'),(30,'2020-04-03');
-- Questions answered
-- Retrieve events (location and dates) that have had an attendee who got a positive result. (possibly some days after the event)
select
event_location,
date(arrival_date) date
from
attendance a2
where
exists (
select
1
from
positive_results pr
where
a2.person_id = person_id )
order by
1,2
-- Given a person id, retrieve the possible events at which that person might have contracted covid.
select
event_location
from
attendance a2
where
exists (
select
1
from
positive_results pr
where
a2.person_id = person_id )
and person_id in (33)
order by
1
-- Retrieve a list of people who should be warned that they were in contact with a person who tested positive.
select
a.person_id,
date(a.arrival_date),
a.event_location
from
attendance a
left join (
select
a2.person_id,
event_location,
date(arrival_date)
from
u_0291898.attendance a2
where
exists (
select
1
from
u_0291898.positive_results pr
where
a2.person_id = person_id ) ) b on
a.event_location = b.event_location
and date(a.arrival_date) = b.date
where
b.person_id is null
order by
2, 3, 1
-- What is the effect of late reporting or logging of attendance (e.g. what if all reports were same day)
/* The person who went to the event at the same day who was infected could spread the virus. */ | true |
ceef31e62da3cc69068171a77f6fc106423586d8 | SQL | ferdrun/ead | /ead.sql | UTF-8 | 9,234 | 2.9375 | 3 | [] | no_license | -- MySQL dump 10.13 Distrib 5.7.28, for Linux (x86_64)
--
-- Host: localhost Database: ead
-- ------------------------------------------------------
-- Server version 5.7.28-0ubuntu0.18.04.4
/*!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 `aluno_curso`
--
DROP TABLE IF EXISTS `aluno_curso`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `aluno_curso` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`id_aluno` int(11) NOT NULL,
`id_curso` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `aluno_curso`
--
LOCK TABLES `aluno_curso` WRITE;
/*!40000 ALTER TABLE `aluno_curso` DISABLE KEYS */;
INSERT INTO `aluno_curso` VALUES (2,3,9),(3,3,10),(4,4,10),(5,1,9),(6,1,11);
/*!40000 ALTER TABLE `aluno_curso` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `alunos`
--
DROP TABLE IF EXISTS `alunos`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `alunos` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`nome` varchar(50) DEFAULT NULL,
`email` varchar(100) DEFAULT NULL,
`senha` varchar(32) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `alunos`
--
LOCK TABLES `alunos` WRITE;
/*!40000 ALTER TABLE `alunos` DISABLE KEYS */;
INSERT INTO `alunos` VALUES (1,'Fernando','ferdrun@hotmail.com','fb046d55365b1436852757858f0e575b'),(3,'Tiao das rendas','tiao@hotmail.com','db4d51b746bab892fa2e440ed6d40127'),(4,'Ciclano','ciclano@gmail.com','4fe298f21443566b2b0de0a597aa718e'),(5,'Gere','gere@ig.com','7363a0d0604902af7b70b271a0b96480');
/*!40000 ALTER TABLE `alunos` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `aulas`
--
DROP TABLE IF EXISTS `aulas`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `aulas` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`id_modulo` int(11) NOT NULL,
`id_curso` int(11) NOT NULL,
`ordem` int(11) NOT NULL,
`tipo` varchar(20) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=28 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `aulas`
--
LOCK TABLES `aulas` WRITE;
/*!40000 ALTER TABLE `aulas` DISABLE KEYS */;
INSERT INTO `aulas` VALUES (27,9,9,1,'video');
/*!40000 ALTER TABLE `aulas` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `cursos`
--
DROP TABLE IF EXISTS `cursos`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `cursos` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`nome` varchar(50) NOT NULL,
`imagem` varchar(37) DEFAULT NULL,
`descricao` text,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `cursos`
--
LOCK TABLES `cursos` WRITE;
/*!40000 ALTER TABLE `cursos` DISABLE KEYS */;
INSERT INTO `cursos` VALUES (9,'Python','852a73d33f0014ecd4070bdbedc87d44.jpg','Curso básico de python.'),(10,'Php','4abf490ae79c917289e5947eff48de91.jpg','curso básico sobre php.'),(11,'Javascript','f2eee7bb57752ba89b522f66cee99a90.jpg','javascript descomplicado');
/*!40000 ALTER TABLE `cursos` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `duvidas`
--
DROP TABLE IF EXISTS `duvidas`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `duvidas` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`data_duvida` datetime DEFAULT NULL,
`respondida` varchar(45) DEFAULT NULL,
`duvida` text,
`id_aluno` varchar(45) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `duvidas`
--
LOCK TABLES `duvidas` WRITE;
/*!40000 ALTER TABLE `duvidas` DISABLE KEYS */;
INSERT INTO `duvidas` VALUES (1,'2019-12-03 12:10:53',NULL,'todas as duvidas\r\n','1');
/*!40000 ALTER TABLE `duvidas` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `historico`
--
DROP TABLE IF EXISTS `historico`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `historico` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`data_viewed` datetime NOT NULL,
`id_aluno` int(11) NOT NULL,
`id_aula` varchar(45) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=56 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `historico`
--
LOCK TABLES `historico` WRITE;
/*!40000 ALTER TABLE `historico` DISABLE KEYS */;
INSERT INTO `historico` VALUES (53,'2019-12-11 10:53:09',1,'24'),(54,'2019-12-11 11:00:47',1,'25'),(55,'2019-12-11 11:24:02',1,'27');
/*!40000 ALTER TABLE `historico` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `modulos`
--
DROP TABLE IF EXISTS `modulos`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `modulos` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`id_curso` int(11) NOT NULL,
`nome` varchar(50) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `modulos`
--
LOCK TABLES `modulos` WRITE;
/*!40000 ALTER TABLE `modulos` DISABLE KEYS */;
INSERT INTO `modulos` VALUES (9,9,'Básico'),(10,11,'Básico');
/*!40000 ALTER TABLE `modulos` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `questionarios`
--
DROP TABLE IF EXISTS `questionarios`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `questionarios` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`id_aula` int(11) DEFAULT NULL,
`pergunta` text,
`opcao1` varchar(100) DEFAULT NULL,
`opcao2` varchar(100) DEFAULT NULL,
`opcao3` varchar(100) DEFAULT NULL,
`opcao4` varchar(100) DEFAULT NULL,
`resposta` tinyint(1) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `questionarios`
--
LOCK TABLES `questionarios` WRITE;
/*!40000 ALTER TABLE `questionarios` DISABLE KEYS */;
/*!40000 ALTER TABLE `questionarios` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `usuarios`
--
DROP TABLE IF EXISTS `usuarios`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `usuarios` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`email` varchar(100) DEFAULT NULL,
`senha` varchar(32) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `usuarios`
--
LOCK TABLES `usuarios` WRITE;
/*!40000 ALTER TABLE `usuarios` DISABLE KEYS */;
INSERT INTO `usuarios` VALUES (1,'ferdrun@hotmail.com','fb046d55365b1436852757858f0e575b');
/*!40000 ALTER TABLE `usuarios` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `videos`
--
DROP TABLE IF EXISTS `videos`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `videos` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`id_aula` int(11) NOT NULL,
`nome` varchar(50) DEFAULT NULL,
`descricao` text,
`url` varchar(50) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=26 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `videos`
--
LOCK TABLES `videos` WRITE;
/*!40000 ALTER TABLE `videos` DISABLE KEYS */;
INSERT INTO `videos` VALUES (25,27,'Cinema 4D Python','Cinema 4D Python: Python Generator','199210760');
/*!40000 ALTER TABLE `videos` 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 2019-12-12 8:55:00
| true |
1dbcf21fbf540a047df6e6183e01cc0b0f775b6f | SQL | zacharydhamilton/application-modernization | /postgres/setup.sql | UTF-8 | 1,089 | 3.421875 | 3 | [] | no_license | CREATE SCHEMA bank;
SET search_path to bank;
CREATE EXTENSION postgis;
CREATE TABLE customers (
customer_id VARCHAR(50) PRIMARY KEY,
first_name VARCHAR(25),
last_name VARCHAR(25),
phone_number VARCHAR(25),
email_address VARCHAR(50),
street_address VARCHAR(100),
city VARCHAR(50),
state_province VARCHAR(50),
country VARCHAR(50),
country_code VARCHAR(10),
postal_code VARCHAR(15)
);
COPY customers(customer_id, first_name, last_name, phone_number, email_address, street_address, city, state_province, country, country_code, postal_code)
FROM '/data/customers.csv'
DELIMITER ','
CSV HEADER;
CREATE TABLE accounts (
account_id VARCHAR(50) PRIMARY KEY,
customer_id VARCHAR(50),
card_number VARCHAR(50),
account_type VARCHAR(25),
account_tier VARCHAR(25),
account_standing VARCHAR(25)
);
COPY accounts(account_id, customer_id, card_number, account_type, account_tier, account_standing)
FROM '/data/accounts.csv'
DELIMITER ','
CSV HEADER;
CREATE TABLE transactions (
transaction_id VARCHAR(50) PRIMARY KEY,
transaction_amount INT,
card_number VARCHAR(50)
);
COMMIT; | true |
93ae8b58022376de53a0dced3a3a2da94ece1be8 | SQL | DilsonMesquita/Openflow-DC-Framework--Web-Platform- | /ODCF-Web/Mysql files/table.sql | UTF-8 | 1,382 | 3.34375 | 3 | [] | no_license | --
-- Table structure for table `users`
--
CREATE TABLE `users` (
`id` int(11) NOT NULL auto_increment,
`usr` varchar(32) collate utf8_unicode_ci NOT NULL default '',
`pass` varchar(32) collate utf8_unicode_ci NOT NULL default '',
`email` varchar(255) collate utf8_unicode_ci NOT NULL default '',
`regIP` varchar(15) collate utf8_unicode_ci NOT NULL default '',
`dt` datetime NOT NULL default '0000-00-00 00:00:00',
PRIMARY KEY (`id`),
UNIQUE KEY `usr` (`usr`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
CREATE TABLE `vms` (
`id` int(11) NOT NULL auto_increment,
`usr_id` varchar(32) collate utf8_unicode_ci NOT NULL default '',
`cpu` int(4) NOT NULL,
`ram` int(4) NOT NULL,
`disk` int(4) NOT NULL,
`io` int(4) NOT NULL,
`ipv4` int unsigned NOT NULL,
`time` datetime NOT NULL default '0000-00-00 00:00:00',
`dt` datetime NOT NULL default '0000-00-00 00:00:00',
`active` tinyint(1) NOT NULL,
PRIMARY KEY (`id`),
FOREIGN KEY (`usr_id`) REFERENCES users(`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
CREATE TABLE `vm_groups` (
`id` int(11) NOT NULL auto_increment,
`group_id` int(10) NOT NULL,
`vm_id` int unsigned NOT NULL,
PRIMARY KEY (`id`),
FOREIGN KEY (`vm_id`) REFERENCES vms(`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; | true |
31e2c3e7ba3fe8bd5513a4e5c0659103844eaf85 | SQL | ddxxtony/MyCodes | /My codes/Biblioteca/biblioteca/biblioteca base de datos completa.sql | UTF-8 | 6,347 | 3.1875 | 3 | [] | no_license | -- MySQL Script generated by MySQL Workbench
-- Sun Jun 4 11:58:53 2017
-- Model: New Model Version: 1.0
-- MySQL Workbench Forward Engineering
SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0;
SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0;
SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='TRADITIONAL,ALLOW_INVALID_DATES';
-- -----------------------------------------------------
-- Schema mydb
-- -----------------------------------------------------
-- -----------------------------------------------------
-- Schema mydb
-- -----------------------------------------------------
CREATE SCHEMA IF NOT EXISTS `mydb` DEFAULT CHARACTER SET utf8 ;
USE `mydb` ;
-- -----------------------------------------------------
-- Table `mydb`.`Trabajador`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `mydb`.`Trabajador` (
`idTrabajador` VARCHAR(8) NOT NULL,
`Nombre` VARCHAR(30) NOT NULL,
`ApPaterno` VARCHAR(30) NOT NULL,
`ApMaterno` VARCHAR(30) NOT NULL,
`Calle` VARCHAR(20) NOT NULL,
`num` VARCHAR(8) NOT NULL,
`ciudad` VARCHAR(20) NOT NULL,
`cp` INT(8) NOT NULL,
`estado` VARCHAR(20) NOT NULL,
`tel` INT(10) NOT NULL,
`sueldo` INT(8) NOT NULL,
`ubicacion` VARCHAR(20) NOT NULL,
`permisoPrestamo` BIT(1) NOT NULL DEFAULT 0,
PRIMARY KEY (`idTrabajador`))
ENGINE = InnoDB;
-- -----------------------------------------------------
-- Table `mydb`.`Usuario`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `mydb`.`Usuario` (
`idUsuario` VARCHAR(8) NOT NULL,
`nombre` VARCHAR(30) NOT NULL,
`apPat` VARCHAR(30) NOT NULL,
`apMat` VARCHAR(30) NOT NULL,
`calle` VARCHAR(30) NOT NULL,
`num` VARCHAR(8) NOT NULL,
`ciudad` VARCHAR(20) NOT NULL,
`estado` VARCHAR(20) NOT NULL,
`cp` INT(8) NOT NULL,
`tel` INT(10) NOT NULL,
PRIMARY KEY (`idUsuario`))
ENGINE = InnoDB;
-- -----------------------------------------------------
-- Table `mydb`.`Categoria`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `mydb`.`Categoria` (
`idCategoria` VARCHAR(8) NOT NULL,
`Nombre` VARCHAR(30) NOT NULL,
`Descripcion` VARCHAR(300) NOT NULL,
PRIMARY KEY (`idCategoria`))
ENGINE = InnoDB;
-- -----------------------------------------------------
-- Table `mydb`.`Libro`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `mydb`.`Libro` (
`idLibro` VARCHAR(8) NOT NULL,
`titulo` VARCHAR(20) NOT NULL,
`editorial` VARCHAR(20) NOT NULL,
`sinopsis` VARCHAR(300) NOT NULL,
`idioma` VARCHAR(10) NOT NULL,
`pais` VARCHAR(10) NOT NULL,
`fechaPubli` DATE NOT NULL,
`numPag` INT(8) NOT NULL,
`Categoria_idCategoria` VARCHAR(8) NOT NULL,
`ubicacion` VARCHAR(20) NOT NULL,
PRIMARY KEY (`idLibro`, `Categoria_idCategoria`),
INDEX `fk_Libro_Categoria1_idx` (`Categoria_idCategoria` ASC),
CONSTRAINT `fk_Libro_Categoria1`
FOREIGN KEY (`Categoria_idCategoria`)
REFERENCES `mydb`.`Categoria` (`idCategoria`)
ON DELETE NO ACTION
ON UPDATE NO ACTION)
ENGINE = InnoDB;
-- -----------------------------------------------------
-- Table `mydb`.`Autor`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `mydb`.`Autor` (
`idAutor` VARCHAR(8) NOT NULL,
`Nombre` VARCHAR(30) NOT NULL,
`apPaterno` VARCHAR(30) NOT NULL,
`apMaterno` VARCHAR(30) NOT NULL,
`lugarNacimiento` VARCHAR(40) NOT NULL,
PRIMARY KEY (`idAutor`))
ENGINE = InnoDB;
-- -----------------------------------------------------
-- Table `mydb`.`Prestamo`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `mydb`.`Prestamo` (
`idPrestamo` VARCHAR(8) NOT NULL,
`fechaPrestamo` DATETIME(6) NOT NULL,
`fechaDevolucion` DATETIME(6) NOT NULL,
`costoMulta` INT(20) NULL,
`Usuario_idUsuario` VARCHAR(8) NOT NULL,
`Trabajador_idTrabajador` VARCHAR(8) NOT NULL,
PRIMARY KEY (`idPrestamo`, `Usuario_idUsuario`, `Trabajador_idTrabajador`),
INDEX `fk_Prestamo_Usuario1_idx` (`Usuario_idUsuario` ASC),
INDEX `fk_Prestamo_Trabajador1_idx` (`Trabajador_idTrabajador` ASC),
UNIQUE INDEX `idUsuario_UNIQUE` (`idPrestamo` ASC),
CONSTRAINT `fk_Prestamo_Usuario1`
FOREIGN KEY (`Usuario_idUsuario`)
REFERENCES `mydb`.`Usuario` (`idUsuario`)
ON DELETE NO ACTION
ON UPDATE NO ACTION,
CONSTRAINT `fk_Prestamo_Trabajador1`
FOREIGN KEY (`Trabajador_idTrabajador`)
REFERENCES `mydb`.`Trabajador` (`idTrabajador`)
ON DELETE NO ACTION
ON UPDATE NO ACTION)
ENGINE = InnoDB;
-- -----------------------------------------------------
-- Table `mydb`.`Libro_has_Prestamo`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `mydb`.`Libro_has_Prestamo` (
`Libro_idLibro` VARCHAR(8) NOT NULL,
`Prestamo_idPrestamo` VARCHAR(8) NOT NULL,
PRIMARY KEY (`Libro_idLibro`, `Prestamo_idPrestamo`),
INDEX `fk_Libro_has_Prestamo_Prestamo1_idx` (`Prestamo_idPrestamo` ASC),
INDEX `fk_Libro_has_Prestamo_Libro1_idx` (`Libro_idLibro` ASC),
CONSTRAINT `fk_Libro_has_Prestamo_Libro1`
FOREIGN KEY (`Libro_idLibro`)
REFERENCES `mydb`.`Libro` (`idLibro`)
ON DELETE NO ACTION
ON UPDATE NO ACTION,
CONSTRAINT `fk_Libro_has_Prestamo_Prestamo1`
FOREIGN KEY (`Prestamo_idPrestamo`)
REFERENCES `mydb`.`Prestamo` (`idPrestamo`)
ON DELETE NO ACTION
ON UPDATE NO ACTION)
ENGINE = InnoDB;
-- -----------------------------------------------------
-- Table `mydb`.`Libro_has_Autor`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `mydb`.`Libro_has_Autor` (
`Libro_idLibro` VARCHAR(8) NOT NULL,
`Autor_idAutor` VARCHAR(8) NOT NULL,
PRIMARY KEY (`Libro_idLibro`, `Autor_idAutor`),
INDEX `fk_Libro_has_Autor_Autor1_idx` (`Autor_idAutor` ASC),
INDEX `fk_Libro_has_Autor_Libro1_idx` (`Libro_idLibro` ASC),
CONSTRAINT `fk_Libro_has_Autor_Libro1`
FOREIGN KEY (`Libro_idLibro`)
REFERENCES `mydb`.`Libro` (`idLibro`)
ON DELETE NO ACTION
ON UPDATE NO ACTION,
CONSTRAINT `fk_Libro_has_Autor_Autor1`
FOREIGN KEY (`Autor_idAutor`)
REFERENCES `mydb`.`Autor` (`idAutor`)
ON DELETE NO ACTION
ON UPDATE NO ACTION)
ENGINE = InnoDB;
SET SQL_MODE=@OLD_SQL_MODE;
SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS;
SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS;
| true |
04ac88216421a77a96ec9913243b917b442b8a38 | SQL | 21Neo/springbootbank | /bank/src/main/resources/mysql.sql | UTF-8 | 2,861 | 3.234375 | 3 | [] | no_license |
-- bank script of bank
-- 用户表
CREATE TABLE user
(
id BIGINT PRIMARY KEY AUTO_INCREMENT,
username VARCHAR(100),
password VARCHAR(100),
email VARCHAR(100),
enabled INT, -- 1 启用 0 禁用
last_password_reset_date DATETIME,
login_time DATETIME
);
-- 角色表
CREATE TABLE AUTHORITY
(
id BIGINT PRIMARY KEY AUTO_INCREMENT,
name VARCHAR(100),
descn VARCHAR(100)
);
-- 用户角色表
CREATE TABLE USER_AUTHORITY
(
user_id BIGINT,
authority_id BIGINT,
CONSTRAINT UA_USER_fk FOREIGN KEY (user_id) REFERENCES user (id),
CONSTRAINT UA_AUTHORITY_fk FOREIGN KEY (authority_id) REFERENCES authority (id)
);
-- 初始化数据
-- 角色表
INSERT INTO employee.authority (id, name, descn) VALUES (1, 'ROLE_ADMIN', '系统管理员');
INSERT INTO employee.authority (id, name, descn) VALUES (2, 'ROLE_MANAGER', '经理');
INSERT INTO employee.authority (id, name, descn) VALUES (3, 'ROLE_CLERK', '办事员');
-- 用户表
INSERT INTO employee.user (id, username, password, email, enabled, last_password_reset_date, login_time) VALUES (1, 'admin', '$2a$10$tF9D2kwlpgyJrLE09kxPz.vyd085b/o6pP8ETOounyq.VJKimjNpm', 'admin@email.com', 1, '2018-04-10 07:03:37', '2018-04-12 07:03:56');
INSERT INTO employee.user (id, username, password, email, enabled, last_password_reset_date, login_time) VALUES (2, 'king', '$2a$10$4pbZt1dh4UQVKF1Wfk0Wr.QLOqpl0dTT789gDNtW3DTdAmWQdTgVm', 'king@gmail.com', 1, '2018-04-09 07:05:41', '2018-04-10 07:05:46');
INSERT INTO employee.user (id, username, password, email, enabled, last_password_reset_date, login_time) VALUES (3, 'smith', '$2a$10$dwhYNHJvTdntkicQjaLWBuTd0ClbRRpQszfpal6VI8jnf3qakSo8O', 'smith@qq.com', 0, '2018-04-08 07:06:11', '2018-04-12 07:06:20');
INSERT INTO employee.user (id, username, password, email, enabled, last_password_reset_date, login_time) VALUES (4, 'jones', '$2a$10$r3KjcrPBkCJGpu8EKJO16e9/8MjeCpTOOUKeV.InqSBTa7Mc.bFRm', 'jones@email.com', 1, '2018-04-09 07:06:45', '2018-04-11 07:06:54');
INSERT INTO employee.user (id, username, password, email, enabled, last_password_reset_date, login_time) VALUES (5, 'james', '$2a$10$MES77Oei.P36xJ8W78fn2OAaMC49NiZDJTrrxQ1gcB/GsOvkEHS9e', 'james@email.com', 1, '2018-04-11 07:07:32', '2018-04-12 07:07:39');
-- 用户角色表
INSERT INTO employee.user_authority (user_id, authority_id) VALUES (1, 1);
INSERT INTO employee.user_authority (user_id, authority_id) VALUES (2, 1);
INSERT INTO employee.user_authority (user_id, authority_id) VALUES (3, 1);
INSERT INTO employee.user_authority (user_id, authority_id) VALUES (4, 2);
INSERT INTO employee.user_authority (user_id, authority_id) VALUES (5, 3);
INSERT INTO employee.user_authority (user_id, authority_id) VALUES (1, 2);
INSERT INTO employee.user_authority (user_id, authority_id) VALUES (1, 3);
INSERT INTO employee.user_authority (user_id, authority_id) VALUES (4, 3);
COMMIT; | true |
c0c038027b176e9ec50d9164cc2a0afe25e6e7b6 | SQL | muthu1982/marketplace | /src/main/resources/data.sql | UTF-8 | 1,825 | 2.59375 | 3 | [] | no_license | insert into project(id,budget,code,Description,Last_date,name,status) values(1,1000,'P1','Project1',sysdate,'Project1','OPEN');
insert into project(id,budget,code,Description,Last_date,name,status) values(2,1000,'P2','Project2',sysdate+2,'Project2','OPEN');
insert into project(id,budget,code,Description,Last_date,name,status) values(3,1000,'P3','Project3',sysdate+3,'Project3','OPEN');
insert into project(id,budget,code,Description,Last_date,name,status) values(4,1000,'P4','Project4',sysdate,'Project4','OPEN');
insert into project(id,budget,code,Description,Last_date,name,status) values(5,1000,'P5','Project5',sysdate+2,'Project5','OPEN');
commit;
insert into user(id,email_id,name) values(1,'john@gmail.com','John');
insert into user(id,email_id,name) values(2,'Jane@gmail.com','Jane');
insert into user(id,email_id,name) values(3,'David@gmail.com','David');
commit;
insert into bid(id,bid_amount,bid_date,project_id,user_id) values (2,'1000',sysdate,'1','2');
insert into bid(id,bid_amount,bid_date,project_id,user_id) values (1,'100',sysdate,'1','1');
insert into bid(id,bid_amount,bid_date,project_id,user_id) values (3,'400',sysdate,'1','3');
insert into bid(id,bid_amount,bid_date,project_id,user_id) values (4,'900',sysdate,'2','1');
insert into bid(id,bid_amount,bid_date,project_id,user_id) values (5,'100',sysdate,'2','2');
insert into bid(id,bid_amount,bid_date,project_id,user_id) values (6,'200',sysdate,'2','3');
insert into bid(id,bid_amount,bid_date,project_id,user_id) values (8,'100',sysdate,'3','2');
insert into bid(id,bid_amount,bid_date,project_id,user_id) values (7,'400',sysdate,'3','1');
insert into bid(id,bid_amount,bid_date,project_id,user_id) values (9,'100',sysdate,'4','1');
insert into bid(id,bid_amount,bid_date,project_id,user_id) values (10,'500',sysdate,'4','2');
commit;
| true |
a7de7111e8720f4a7a3cbaf970ee492a759387a8 | SQL | guruskid/OnlineExaminationSystem-3 | /oes.sql | UTF-8 | 14,570 | 3.140625 | 3 | [] | no_license | -- phpMyAdmin SQL Dump
-- version 4.5.2
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Mar 16, 2017 at 02:36 PM
-- Server version: 10.1.10-MariaDB
-- PHP Version: 5.5.33
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: `oes`
--
-- --------------------------------------------------------
--
-- Table structure for table `adminlogin`
--
CREATE TABLE `adminlogin` (
`id` int(11) NOT NULL,
`admname` varchar(32) NOT NULL,
`admpassword` varchar(32) DEFAULT NULL,
`role` varchar(30) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `adminlogin`
--
INSERT INTO `adminlogin` (`id`, `admname`, `admpassword`, `role`) VALUES
(1, 'root', '63a9f0ea7bb98050796b649e85481845', 'admin'),
(2, 'seadmin', 'efad7abb323e3d4016284c8a6da076a1', 'SE'),
(4, 'imsadmin', '202cb962ac59075b964b07152d234b70', 'IMS'),
(5, 'vfxadmin', '202cb962ac59075b964b07152d234b70', 'VFX'),
(6, 'scholarship', '202cb962ac59075b964b07152d234b70', 'SCHOLARSHIP');
-- --------------------------------------------------------
--
-- Table structure for table `question`
--
CREATE TABLE `question` (
`testid` bigint(20) NOT NULL DEFAULT '0',
`qnid` int(11) NOT NULL DEFAULT '0',
`question` varchar(500) DEFAULT NULL,
`optiona` varchar(100) DEFAULT NULL,
`optionb` varchar(100) DEFAULT NULL,
`optionc` varchar(100) DEFAULT NULL,
`optiond` varchar(100) DEFAULT NULL,
`correctanswer` varchar(10) DEFAULT NULL,
`marks` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `question`
--
INSERT INTO `question` (`testid`, `qnid`, `question`, `optiona`, `optionb`, `optionc`, `optiond`, `correctanswer`, `marks`) VALUES
(1, 1, 'What is a string', 'a sequnce of characters', 'an array of values', 'a boolean', 'an option', 'optiona', 1),
(1, 2, 'What is an array', 'a group of related values', 'an input value', 'none of the above', 'people dont know', 'optiona', 1),
(2, 1, 'What is a string', 'as asasa', 'dfjdf dkfhdfj', 'jsids sjdhsjkds', 'sjhdkjs sdhshdb shdbsh', 'optiona', 2),
(2, 2, 'What is a boolean', 'sdksjdo sdjsndjs', 'sdjsjd sd jsdsdhsj', 'jidaojiod', 'ioajdi adjsod', 'optiona', 1),
(2, 3, 'What is the name odsd', 'sdjsd djsdsj ahdj', 'sdsjd dsjdhsjkd ddks', 'sdjsdo sdhsds sdhsod', 'aijodos dsdhsd sjdhsd jhsjds', 'optiona', 1),
(2, 4, 'Whta is as iasas', 'asansa sahsajs ajsa', 'gfpgfogkfo fgpfg', 'nfruif rufhrif ', 'sudiueudn eihdi', 'optiona', 1),
(2, 5, 'What us sds ushdsu sdns', 'jsndjs jdkfhdjfk dfjdf', 'dfd djfhdjkfd kfdkhfdjkf', 'dfdh dfhdkfd fhdkf dkfhd', 'djfd djfhdkfjdjfdhfd djfhkdkf', 'optiona', 1),
(2, 6, 'ehysd sdysds dsdusd shdsd', 'kskjdfd kfudfksf', 'fhdj fddkhfd fk', 'bfdk fdhfdfjd fjdfh', 'sdjs dsudus sdusd', 'optiona', 1),
(2, 7, 'hw duasa uhfd fduhfud fushdus', 'sidosdinsodonsd sdjs', 'sduhsd shds dsy', 'shdsui ushdui fryf', 'ebdeb fe shdhsud hjdsd', 'optiona', 1),
(2, 8, 'wht suas dhsdshsd hsdkjs', 'ushdus shdsjkausd sdhsdk', 'uhud fuirf siudhisd', 'sdhsi sudsd uhir isuds', 'sudhs udhisd iufrhifd', 'optiona', 1),
(2, 9, 'ehts dudssuds udsdhsud shdsud', 'sdus sdihsd iauhdis dsiuds', 'sudsi sds diahss fudhfiudf', 'sdsk sudhsuid dufud suhdsiud', 'siuds isudhsi ifrufhur sdhisu', 'optiona', 1),
(2, 10, 'es hsdsd skhdus ufrns jskdhsd', 'sdsu sdsndkunrfsd dsbds', 'sdus ushdus ushdsud usdus', 'ijsd ushd ffurhiuff siduhsuids', 'ushduis iuifhrifhi sudhsuid', 'optiona', 1),
(2, 11, 'uhsiid sudhsid siudshids dushdis disudhsd sudi', 'sudhsidsuds disudhsd suidsds dsuidhisd siuds', 'shdhsudbusi siudsud sudhsid', 'bf dfhdif dfdhuiuhif dufha d', 'uhisd isdus iuhufrfbuis iusdhsi', 'optiona', 1),
(2, 12, 'hsdusk suhdsd sduaodsodbso ufdf', 'uhidfdf iudfhidf diufdhfud', 'sdbusids usdisuds', 'sdsui suidshid sdiusdhis diusdhs', 'sudsid isbdsdishds dsudhisud siudhsid', 'optiona', 1),
(2, 13, 'ijosdsdjsod sodsd sodsds odsoudiaisd', 'uhfdfd fudhfduf usdfudfd udhfud', 'sds sudhsds dushdsoidoshfd fidhfdf', 'uidfd fidhfds idfhud fudihufd ', 'uhdfid idhfdfis7rhfos dfudfhdfdu', 'optiona', 1),
(2, 14, 'ehw udysvdsdusydgsd fu rybf sydsud sy', 'usids shdhsiaosds fuhfdufbdf', 'sdhsi isdshebdui uudhdfuf uhdsiuds', 'usdiu ifrvsruf sieui fuifhs diuh', 'usdi isudyrif dyfryis dsihdsuis', 'optiona', 1),
(2, 15, 'wh dsdjyyfyr bjsfbsds dsydisfdfdf', 'shds sdshfirsd sdsdhisd bi', 'sduhsidb urhurifbuisidu ifurifuir', 'sid uruhfusdu rfhruif usdiurr', 'ushdudioi irufrbsid rfhirfr', 'optiona', 1),
(2, 16, 'wht aus fhdufid ishdisd udfidf', 'dushdi sdisudhisu ffudhfudifd fshdusid', 'sduhsi sduhfr uiisudsu fduhfiue', 'sudhsui ufurifhso jfdhfue fuhsdisd', 'jsd sjdhsuhduf ushdsuidbsuihirf ushdsu', 'optiona', 1),
(2, 17, 'ushdis dsuhduisd ifurhfbusids uidebefue', 'usdisu sudhiuvbruifhiu dsidheibbyir', 'sudhisbbfr shdbsydbsbosi shfiufdf', 'uhiuf dfihursbuis ifushdusiufhdhfd ', 'sudhsibiufr uhsidsduir urfnriufnd s', 'optiona', 1),
(2, 18, 'whtas uuds ushdisu ufihirf suhdsuid uhsds', 'shsid sidiusf fdhidurfhruis', 'ushuhsi firufso sudsu', 'susfnef jfhfuenfjs jhfus', 'fjofni sudsdusd usdsds', 'optiona', 1),
(2, 19, 'sdusihd sdhisiud sdusdusd sudsudnosifidhof', 'sdhsuds sudhsuds dsuhdusd sudsdusd', 'sudhsi sidufrnf siudhsuds iush hiu', 'sudhsud sudhsu fbri siuhsuds fudhdduis', 'sudhs sdhufhurbfbui ushdsudbuifh shdsui', 'optiona', 1),
(2, 20, 'uhusds dsudhsd sudhsuds d', 'uhsduhsd usdued sudhsuids diusdsi', 'shdus uhfifhosdns ushfuen', 'sudhsu ufrfoiwndiojfeo iejdeode', 'sds sdhehfi ishdsiud ufrhfuie d', 'optiona', 1),
(3, 1, 'What is a boolean', 'none', 'true or false', 'n', 'b', 'optionb', 1),
(3, 2, 'What is a string', 'a sequence of characters', 'a loop', 's tts', 'sd sdushd', 'optiona', 1),
(3, 3, 'What is an array', 'none of the above', 'sidhsds sdshds', 'group of similar data', 'none ', 'optionc', 1),
(3, 4, 'This is the last', 'correct answer', 'right answer', 'none', 'alll', 'optiona', 1),
(4, 1, 'What is java', 'asasas', 'dsjdsd', 'sdskjdsk', 'sdhsjds', 'optiona', 1),
(4, 2, 'What is a string', 'djfdf', 'sdhshd', 'sdhsds', 'sdhsidhishd', 'optionb', 1),
(4, 3, 'What is a class', 'sjdsdjsdh', 'djfhdjfhdfls', 'dfdjfodifjdjfiid', 'opsdodfjd', 'optionc', 1),
(4, 4, 'What is an array', 'dfkjdfdopf', 'dfkjdlfsf', 'difhodfhid', 'dbfudfdk', 'optiond', 1),
(5, 1, 'What is a boolean', 'none', 'true or false', 'n', 'b', 'optionb', 1),
(5, 2, 'What is a string', 'a sequence of characters', 'a loop', 's tts', 'sd sdushd', 'optiona', 1),
(5, 3, 'What is an array', 'none of the above', 'sidhsds sdshds', 'group of similar data', 'none ', 'optionc', 1),
(5, 4, 'This is the last', 'correct answer', 'right answer', 'none', 'alll', 'optiona', 1),
(6, 1, 'What is a boolean', 'none', 'true or false', 'n', 'b', 'optionb', 1),
(6, 2, 'What is a string', 'a sequence of characters', 'a loop', 's tts', 'sd sdushd', 'optiona', 1),
(6, 3, 'What is an array', 'none of the above', 'sidhsds sdshds', 'group of similar data', 'none ', 'optionc', 1),
(6, 4, 'This is the last', 'correct answer', 'right answer', 'none', 'alll', 'optiona', 1);
-- --------------------------------------------------------
--
-- Table structure for table `student`
--
CREATE TABLE `student` (
`stdid` bigint(20) NOT NULL,
`stdname` varchar(40) DEFAULT NULL,
`stduname` varchar(50) NOT NULL,
`stdpassword` varchar(40) DEFAULT NULL,
`stduidno` varchar(40) DEFAULT NULL,
`course` varchar(20) DEFAULT NULL,
`semester` varchar(25) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `student`
--
INSERT INTO `student` (`stdid`, `stdname`, `stduname`, `stdpassword`, `stduidno`, `course`, `semester`) VALUES
(2, 'Nico', '201', 'ÐO3/סÐ', '201', 'SCHOLARSHIP', ''),
(3, 'Job', 'SC02', '"é=þU‘ dŒ', 'SC02', 'SCHOLARSHIP', ''),
(4, 'Oj', '123', 'ÿ]Ÿs9ߣ''', '123', 'IMS', '3'),
(5, 'Sample for Date', 'Sample1', 'ø?LKAI€J–', 'Sample1', 'SCHOLARSHIP', ''),
(6, 'Nicodemus Ojwee', 'SE111', 'zŒž‘jóZà', 'SE111', 'SE', '4');
-- --------------------------------------------------------
--
-- Table structure for table `studentquestion`
--
CREATE TABLE `studentquestion` (
`stdid` bigint(20) NOT NULL DEFAULT '0',
`testid` bigint(20) NOT NULL DEFAULT '0',
`qnid` int(11) NOT NULL DEFAULT '0',
`answered` enum('answered','unanswered','review') DEFAULT NULL,
`stdanswer` varchar(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `studenttest`
--
CREATE TABLE `studenttest` (
`stdid` bigint(20) NOT NULL DEFAULT '0',
`testid` bigint(20) NOT NULL DEFAULT '0',
`starttime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`endtime` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
`correctlyanswered` int(11) DEFAULT NULL,
`status` enum('over','inprogress') DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `subject`
--
CREATE TABLE `subject` (
`subid` int(11) NOT NULL,
`subname` varchar(40) DEFAULT NULL,
`course` varchar(100) NOT NULL,
`semester` varchar(100) NOT NULL,
`tcid` bigint(20) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `subject`
--
INSERT INTO `subject` (`subid`, `subname`, `course`, `semester`, `tcid`) VALUES
(1, 'Sample', 'SCHOLARSHIP', '', NULL),
(2, 'Test Sub', 'SCHOLARSHIP', '', NULL),
(3, 'Photo', 'IMS', '3', NULL),
(4, 'Java', 'SE', '1', NULL),
(5, 'Transfered Test', 'SE', '1', NULL),
(6, 'Photoshop SE', 'SE', '2', NULL),
(7, 'Excel', 'SE', '1', NULL);
-- --------------------------------------------------------
--
-- Table structure for table `test`
--
CREATE TABLE `test` (
`testid` bigint(20) NOT NULL,
`testname` varchar(30) NOT NULL,
`testdesc` varchar(100) DEFAULT NULL,
`testdate` date DEFAULT NULL,
`testtime` time DEFAULT NULL,
`subid` int(11) DEFAULT NULL,
`testfrom` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`testto` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
`duration` int(11) DEFAULT NULL,
`totalquestions` int(11) DEFAULT NULL,
`attemptedstudents` bigint(20) DEFAULT NULL,
`testcode` varchar(40) NOT NULL,
`tcid` bigint(20) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `test`
--
INSERT INTO `test` (`testid`, `testname`, `testdesc`, `testdate`, `testtime`, `subid`, `testfrom`, `testto`, `duration`, `totalquestions`, `attemptedstudents`, `testcode`, `tcid`) VALUES
(1, 'IT01', 'sample', '2016-10-17', '11:35:56', 1, '2016-10-17 07:35:56', '2016-10-31 20:59:59', 5, 2, 0, 'úè\\û', NULL),
(2, 'IT004', 'Testing', '2016-10-19', '22:54:57', 2, '2016-10-19 18:54:57', '2016-10-31 20:59:59', 20, 20, 0, 'úè\\û', NULL),
(3, 'IT001', 'Sample', '2016-11-07', '14:21:48', 3, '2016-11-07 09:21:48', '2016-11-08 20:59:59', 10, 4, 0, 'úè\\û', NULL),
(4, 'Intro', 'Begining java', '2016-11-13', '12:01:34', 4, '2016-11-13 07:01:34', '2016-11-15 20:59:59', 10, 4, 0, 'úè\\û', NULL),
(5, 'IT0009', 'Sample', '2016-11-07', '14:21:48', 5, '2016-11-07 07:30:59', '2016-12-16 20:59:59', 120, 4, 0, 'úèû', NULL),
(6, 'IT7876', 'Sample', '2016-11-07', '14:21:48', 6, '2016-11-07 09:21:48', '2016-11-08 20:59:59', 10, 4, 0, 'úèû', NULL);
-- --------------------------------------------------------
--
-- Table structure for table `testconductor`
--
CREATE TABLE `testconductor` (
`tcid` bigint(20) NOT NULL,
`tcname` varchar(40) DEFAULT NULL,
`tcpassword` varchar(40) DEFAULT NULL,
`emailid` varchar(40) DEFAULT NULL,
`contactno` varchar(20) DEFAULT NULL,
`address` varchar(40) DEFAULT NULL,
`city` varchar(40) DEFAULT NULL,
`pincode` varchar(20) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Indexes for dumped tables
--
--
-- Indexes for table `adminlogin`
--
ALTER TABLE `adminlogin`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `question`
--
ALTER TABLE `question`
ADD PRIMARY KEY (`testid`,`qnid`);
--
-- Indexes for table `student`
--
ALTER TABLE `student`
ADD PRIMARY KEY (`stdid`),
ADD UNIQUE KEY `stdname` (`stdname`),
ADD UNIQUE KEY `emailid` (`stduidno`);
--
-- Indexes for table `studentquestion`
--
ALTER TABLE `studentquestion`
ADD PRIMARY KEY (`stdid`,`testid`,`qnid`),
ADD KEY `testid` (`testid`,`qnid`);
--
-- Indexes for table `studenttest`
--
ALTER TABLE `studenttest`
ADD PRIMARY KEY (`stdid`,`testid`),
ADD KEY `testid` (`testid`);
--
-- Indexes for table `subject`
--
ALTER TABLE `subject`
ADD PRIMARY KEY (`subid`),
ADD UNIQUE KEY `subname` (`subname`),
ADD KEY `subject_fk1` (`tcid`);
--
-- Indexes for table `test`
--
ALTER TABLE `test`
ADD PRIMARY KEY (`testid`),
ADD UNIQUE KEY `testname` (`testname`),
ADD KEY `test_fk1` (`subid`),
ADD KEY `test_fk2` (`tcid`);
--
-- Indexes for table `testconductor`
--
ALTER TABLE `testconductor`
ADD PRIMARY KEY (`tcid`),
ADD UNIQUE KEY `stdname` (`tcname`),
ADD UNIQUE KEY `emailid` (`emailid`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `adminlogin`
--
ALTER TABLE `adminlogin`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
--
-- Constraints for dumped tables
--
--
-- Constraints for table `question`
--
ALTER TABLE `question`
ADD CONSTRAINT `question_ibfk_1` FOREIGN KEY (`testid`) REFERENCES `test` (`testid`);
--
-- Constraints for table `studentquestion`
--
ALTER TABLE `studentquestion`
ADD CONSTRAINT `studentquestion_ibfk_1` FOREIGN KEY (`stdid`) REFERENCES `student` (`stdid`),
ADD CONSTRAINT `studentquestion_ibfk_2` FOREIGN KEY (`testid`,`qnid`) REFERENCES `question` (`testid`, `qnid`);
--
-- Constraints for table `studenttest`
--
ALTER TABLE `studenttest`
ADD CONSTRAINT `studenttest_ibfk_1` FOREIGN KEY (`stdid`) REFERENCES `student` (`stdid`),
ADD CONSTRAINT `studenttest_ibfk_2` FOREIGN KEY (`testid`) REFERENCES `test` (`testid`);
--
-- Constraints for table `subject`
--
ALTER TABLE `subject`
ADD CONSTRAINT `subject_fk1` FOREIGN KEY (`tcid`) REFERENCES `testconductor` (`tcid`);
--
-- Constraints for table `test`
--
ALTER TABLE `test`
ADD CONSTRAINT `test_fk1` FOREIGN KEY (`subid`) REFERENCES `subject` (`subid`),
ADD CONSTRAINT `test_fk2` FOREIGN KEY (`tcid`) REFERENCES `testconductor` (`tcid`);
/*!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 |
42164c6ad4fa8412ed886582bc258dc570deaf1a | SQL | marciabcs/42aventure | /WEB/piscine/j05/ex20/ex20.sql | UTF-8 | 295 | 3.953125 | 4 | [] | no_license | SELECT film.id_genre, genre.nom AS "nom genre", film.id_distrib, distrib.nom AS "nom distrib",
film.titre AS "titre film"
FROM film
LEFT JOIN distrib ON distrib.id_distrib = film.id_distrib
LEFT JOIN genre ON film.id_genre = genre.id_genre
WHERE film.id_genre >= 4 AND film.id_genre <= 8; | true |
a463f50d97f19687c41c6e116dd0f2588da401fa | SQL | yanivos007/node-react-mysql-template-main | /server/utils/schema.sql | UTF-8 | 830 | 3.65625 | 4 | [] | no_license | /usersSchema
CREATE SCHEMA `project1` ;
CREATE TABLE `project1`.`users` (
`id` INT NOT NULL AUTO_INCREMENT,
`firstName` VARCHAR(45) NULL,
`lastName` VARCHAR(45) NULL,
`userName` VARCHAR(45) NULL,
`password` VARCHAR(45) NULL,
`role` VARCHAR(45) NULL ;
PRIMARY KEY (`id`),
UNIQUE INDEX `id_UNIQUE` (`id` ASC) VISIBLE,
UNIQUE INDEX `userName_UNIQUE` (`userName` ASC) VISIBLE);
CREATE TABLE `project1`.`vacations` (
`id` INT UNSIGNED NOT NULL AUTO_INCREMENT,
`description` VARCHAR(140) NOT NULL,
`destination` VARCHAR(70) NOT NULL,
`price` INT NOT NULL,
`dates` DATE NOT NULL,
`followers` INT NOT NULL,
PRIMARY KEY (`id`));
ALTER TABLE `project1`.`vacations`
ADD COLUMN `toDate` DATE NOT NULL AFTER `date`,
CHANGE COLUMN `dates` `date` DATE NOT NULL ;
-- admin :
-- userName: 123
-- password:123 | true |
bbbaf1df2718295b4123023b75d6f50072baf49b | SQL | carlosfeitosa/zf_project | /rochedo/zendstudio/zf_project/scripts/db/mssql/schema/sprint_0009_create_schema.sql | UTF-8 | 6,160 | 3.421875 | 3 | [] | no_license | /*
* SCRIPT DE CRIACAO DAS TABELAS DO SPRINT 0009
*
* versao: 1.0 (MSSQL 2000)
* por: CARLOS FEITOSA (carlos.feitosa@rochedoproject.com)
* criacao: 15/03/2011
*/
/* CRIACAO DAS TABELAS */
create table basico.acao_aplicacao (
id int identity (1, 1) not null ,
id_modulo int not null ,
controller varchar (400) collate latin1_general_ci_ai not null ,
action varchar (400) collate latin1_general_ci_ai not null ,
ativo bit not null ,
motivo_desativacao varchar (2000) collate latin1_general_ci_ai null ,
datahora_desativacao datetime null ,
datahora_reativacao datetime null ,
datahora_cadastro datetime not null ,
rowinfo varchar (2000) collate latin1_general_ci_ai not null
) on [primary];
create table basico_acao_aplicacao.assoccl_perfil (
id int identity (1, 1) not null ,
id_perfil int not null ,
id_acao_aplicacao int not null ,
rowinfo varchar (2000) collate latin1_general_ci_ai not null
) on [primary];
create table basico.metodo_validacao (
id int identity (1, 1) not null ,
id_categoria int not null ,
nome varchar (100) collate latin1_general_ci_ai not null ,
descricao varchar (200) collate latin1_general_ci_ai null ,
metodo varchar (5000) collate latin1_general_ci_ai not null ,
ativo bit not null ,
motivo_desativacao varchar (200) collate latin1_general_ci_ai null ,
datahora_desativacao datetime null ,
datahora_reativacao datetime null ,
datahora_cadastro datetime not null ,
rowinfo varchar (2000) collate latin1_general_ci_ai not null
) on [primary];
create table basico_acao_aplicacao.assoccl_metodo_validacao (
id int identity (1, 1) not null ,
id_acao_aplicacao int not null ,
id_metodo_validacao int not null ,
id_perfil int null ,
rowinfo varchar (2000) collate latin1_general_ci_ai not null
) on [primary];
/* CRIACAO DAS CHAVES PRIMARIAS */
alter table basico.acao_aplicacao with nocheck add constraint pk_acao_aplicacao primary key clustered (id) on [primary];
alter table basico_acao_aplicacao.assoccl_perfil with nocheck add constraint pk_acoes_aplicacao_perfis primary key clustered (id) on [primary];
alter table basico.metodo_validacao with nocheck add constraint pk_metodo_validacao primary key clustered (id) on [primary];
alter table basico_acao_aplicacao.assoccl_metodo_validacao with nocheck add constraint pk_acoes_aplicacao_metodos_validacao primary key clustered (id) on [primary];
/* CRIACAO DOS VALORES DEFAULT */
alter table basico.acao_aplicacao add
constraint df_acao_aplicacao_datahora_cadastro default (getdate()) for datahora_cadastro;
alter table basico.acao_aplicacao add
constraint df_acao_aplicacao_ativo default 1 for ativo;
alter table basico.metodo_validacao add
constraint df_metodo_validacao_datahora_cadastro default (getdate()) for datahora_cadastro;
alter table basico.metodo_validacao add
constraint df_metodo_validacao_ativo default 1 for ativo;
/* CRIACAO DOS INDICES */
create index ix_acao_aplicacao_modulo on dbo.acao_aplicacao (id_modulo) on [primary];
create index ix_acao_aplicacao_controller on dbo.acao_aplicacao (controller) on [primary];
create index ix_acao_aplicacao_action on dbo.acao_aplicacao (action) on [primary];
create index ix_acoes_aplicacao_perfis_perfil on dbo.acoes_aplicacao_perfis (id_perfil) on [primary];
create index ix_acoes_aplicacao_perfis_acao_aplicacao on dbo.acoes_aplicacao_perfis (id_acao_aplicacao) on [primary];
create index ix_metodo_validacao_nome on basico.metodo_validacao (nome) on [primary];
create index ix_acoes_aplicacao_metodos_validacao_acao_aplicacao on dbo.acoes_aplicacao_metodos_validacao (id_acao_aplicacao) on [primary];
create index ix_acoes_aplicacao_metodos_validacao_metodo_validacao on dbo.acoes_aplicacao_metodos_validacao (id_metodo_validacao) on [primary];
create index ix_acoes_aplicacao_metodos_validacao_perfil on dbo.acoes_aplicacao_metodos_validacao (id_perfil) on [primary];
/* CRIACAO DAS CONSTRAINTS UNIQUE */
alter table basico.acao_aplicacao add
constraint ix_acao_aplicacao_modulo_controller_action unique nonclustered
(
id_modulo,
controller,
action
) on [primary];
alter table basico_acao_aplicacao.assoccl_perfil add
constraint ix_acoes_aplicacao_perfis_acao_aplicacao_perfil unique nonclustered
(
id_perfil,
id_acao_aplicacao
) on [primary];
alter table basico.metodo_validacao add
constraint ix_metodo_validacao_nome_categoria unique nonclustered
(
nome,
id_categoria
) on [primary];
alter table basico_acao_aplicacao.assoccl_metodo_validacao add
constraint ix_acoes_aplicacao_metodos_validacao unique nonclustered
(
id_acao_aplicacao,
id_metodo_validacao,
id_perfil
) on [primary];
/* CRIACAO DAS CHAVES ESTRANGEIRAS */
alter table basico.acao_aplicacao add
constraint fk_acao_aplicacao_modulo foreign key
(
id_modulo
) references basico.modulo (
id
);
alter table basico_acao_aplicacao.assoccl_perfil add
constraint fk_acoes_aplicacao_perfis_acao_aplicacao foreign key
(
id_acao_aplicacao
) references basico.acao_aplicacao (
id
);
alter table basico_acao_aplicacao.assoccl_perfil add
constraint fk_acoes_aplicacao_perfis_perfil foreign key
(
id_perfil
) references basico.perfil (
id
);
alter table basico.metodo_validacao add
constraint fk_metodo_validacao_categoria foreign key
(
id_categoria
) references basico.categoria(
id
);
alter table basico_acao_aplicacao.assoccl_metodo_validacao add
constraint fk_acoes_aplicacao_metodos_validacao_acao_aplicacao foreign key
(
id_acao_aplicacao
) references basico.acao_aplicacao (
id
);
alter table basico_acao_aplicacao.assoccl_metodo_validacao add
constraint fk_acoes_aplicacao_metodos_validacao_metodo_validacao foreign key
(
id_metodo_validacao
) references basico.metodo_validacao (
id
);
alter table basico_acao_aplicacao.assoccl_metodo_validacao add
constraint fk_acoes_aplicacao_metodos_validacao_metodo_perfil foreign key
(
id_perfil
) references basico.perfil (
id
);
/* MODIFICACAO DO BANCO DE DADOS JA EXISTENTE */
alter table basico.perfil
add nivel integer not null constraint df_perfil_nivel default 0; | true |
57f40886db36199c8b2c33f35b62f45647fcaee6 | SQL | arvindkumar113/Pi-Techniques-Training | /Sql Query/SQLQuery3.sql | UTF-8 | 6,731 | 3.9375 | 4 | [] | no_license | CREATE TABLE TESTDATA
(
TESTNO NUMERIC(1,0) IDENTITY(1,1) NOT NULL PRIMARY KEY
)
SET IDENTITY_INSERT TESTDATA ON
SET IDENTITY_INSERT TESTDATA OFF
DROP TABLE TESTDATA
INSERT INTO TESTDATA DEFAULT VALUES
CREATE TABLE dbo.TestIdentity
(
RowId INT IDENTITY(1, 1)
)
insert into dbo.TestIdentity default values
select * from dbo.TestIdentity
SELECT 1 + '1'
SELECT 1 + '1.0'
SELECT 1.0 + '1.0'
SELECT * FROM TESTDATA
INSERT INTO TESTDATA VALUES(1)
CREATE TABLE COUNTRY
( COUNTRYID VARCHAR(3) NOT NULL PRIMARY KEY,
COUNTRYNAME VARCHAR(20) UNIQUE,
CAPITAL VARCHAR(20),
FLAG VARBINARY(MAX)
)
CREATE TABLE STATE
( STATEID VARCHAR(3) ,
STATENAME VARCHAR(20),
STATECAPITAL VARCHAR(20),
COUNTRYID1 VARCHAR(3) FOREIGN KEY REFERENCES COUNTRY(COUNTRYID) ON DELETE SET NULL ON UPDATE CASCADE
)
INSERT INTO COUNTRY VALUES ('AA', 'INDIA', 'DELHI',123)
INSERT INTO STATE VALUES ('AB', 'BIHAR', 'PATNA', 'AA')
INSERT INTO COUNTRY VALUES('AB','AMERICA', 'WDC',121)
INSERT INTO STATE VALUES('ABC', 'MEXIC', 'XXXX','AB')
INSERT INTO STATE VALUES ('AB', 'MAHARASHTRA', 'MUMBAI', 'AA')
SELECT * FROM COUNTRY
SELECT * FROM STATE
drop table customer
CREATE TABLE CUSTOMER
( CUSTOMERID NUMERIC(3) NOT NULL PRIMARY KEY,
CUSTOMERNAME VARCHAR(20) NOT NULL,
CUSTADDRESS VARCHAR(20)
)
select * from CUSTOMER
-- drop table category
CREATE TABLE CATEGORY
( CATEGORYID NUMERIC(3) NOT NULL PRIMARY KEY,
CATEGORYNAME VARCHAR(20) NOT NULL UNIQUE
)
--drop table product
CREATE TABLE PRODUCT
( PRODUCTID NUMERIC(3) NOT NULL PRIMARY KEY,
PRODUCTNAME VARCHAR(20) NOT NULL,
CATEGORYID NUMERIC(3) REFERENCES CATEGORY(CATEGORYID),
PRICE NUMERIC(10,2) CHECK (PRICE>50),
QUANTITY NUMERIC(3) CHECK (QUANTITY>0)
)
--drop table orders
CREATE TABLE ORDERS
( ORDERYEAR NUMERIC(3),
ORDERMONTH VARCHAR(20),
ORDERID VARCHAR(20),
ORDERDATE DATETIME DEFAULT GETDATE(),
PRODUCTID NUMERIC(3) CONSTRAINT PRODUCT_PRODUCTID_FK REFERENCES PRODUCT(PRODUCTID),
CUSTOMERID NUMERIC(3) CONSTRAINT CUSTOMER_CUSTOMERID_FK REFERENCES CUSTOMER(CUSTOMERID),
ORDQRY NUMERIC(3) CHECK (ORDQRY>0),
CONSTRAINT PK_ORDERS PRIMARY KEY (ORDERYEAR, ORDERMONTH, ORDERID)
)
ALTER TABLE CUSTOMER ADD ADDRESS VARCHAR(10) CHECK(ADDRESS= 'DELHI' OR ADDRESS='MUMBAI' OR ADDRESS='PUNE')
--DEFAULT ADDRESS 'MUMBAI'
INSERT INTO CUSTOMER VALUES(1, 'AJAY', 'MUMBAI')
INSERT INTO CUSTOMER VALUES(2, 'CHIRAG', 'DELHI')
INSERT INTO CUSTOMER VALUES(3, 'AMIT', 'PUNE')
INSERT INTO CATEGORY VALUES(1, 'FOOD')
INSERT INTO CATEGORY VALUES(2, 'ELECTRONICS')
INSERT INTO CATEGORY VALUES(3, 'STATIONARY')
INSERT INTO PRODUCT VALUES(101, 'TEA', 1, 60, 100)
INSERT INTO PRODUCT VALUES(102, 'PEN', 3, 80, 50)
INSERT INTO PRODUCT VALUES(103, 'NOTEBOOK', 3, 125, 200)
INSERT INTO PRODUCT VALUES(104, 'COFFEE', 1, 80, 100)
INSERT INTO PRODUCT VALUES(105, 'TV', 2, 15000, 5)
INSERT INTO PRODUCT VALUES(106, 'WASHINGMACHINE', 2, 12000, 3)
INSERT INTO ORDERS (ORDERYEAR, ORDERMONTH, ORDERID, PRODUCTID, CUSTOMERID, ORDQRY) VALUES(2010, 1, 1, 101,2,10)
INSERT INTO ORDERS VALUES(2010, 1, 2,, 104,1,2)
INSERT INTO ORDERS VALUES(2010, 2, 1,NULL, 105,2,1)
INSERT INTO ORDERS VALUES(2010, 2, 2,NULL, 101,1,5)
INSERT INTO ORDERS VALUES(2010, 2, 3,NULL, 106,2,1)
INSERT INTO ORDERS VALUES(2011, 1, 1,NULL, 104,1,2)
sp_help orders
select * from ORDERS
SELECT * FROM CUSTOMER
SELECT * FROM CATEGORY
SELECT * FROM PRODUCT
------------------------ASSIGNMENT on SUB QUERY AND JOINS---------------------------------
--1 LIST COSTLIEST PRODUCT DETAILS
select * from product where price in (select max(price) from PRODUCT)
--2 PRINT ALL THE ORDERS PLACED BY CUSTOMER AJAY
select * from ORDERS where CUSTOMERID in (select CUSTOMERID from customer where customername ='ajay')
--3 LIST PRODUCTNAME, PRICE, QUANTITY AND CATEGORYNAME
select p.productname, p.price, p.quantity, c.categoryname from PRODUCT as p join CATEGORY as c on p.CATEGORYID=c.CATEGORYID
--4 LIST ORDERYEAR, ORDERMONTH, ORDERID, ORDERDATE, CUSTOMERNAME FOR ALL ORDERS
select o.orderyear, o.ordermonth, o.orderid, o.orderdate, c.customername from ORDERS as o join customer as c on o.CUSTOMERID=c.customerid
--5 LIST ALL THE ORDERS FOR THE CATEGORY ELECTRONICS
select * from ORDERS where PRODUCTID in (select PRODUCTID from PRODUCT where CATEGORYID in (select CATEGORYID from category where CATEGORYNAME='electronics'))
--6 LIST ALL THE ORDERS WHOSE PRICE IS GREATER THEN 1000
select * from orders where PRODUCTID in (select PRODUCTID from PRODUCT where PRICE>1000)
--7 LIST ALL THE ORDERS FOR THE CUSTOMER CHIRAG PLACED FOR CATEGORY FOOD
select * from orders where customerid = (select customerid from customer where customername='chirag') and productid in (select productid from product where categoryid in( select categoryid from category where CATEGORYNAME='food'))
--8 LIST ORDERYEAR, ORDERMONTH, ORDERID, ORDERDATE, CUSTOMERNAME,
-- CATEGORYNAME, PRODUCTNAME, PRICE, ORDERQTY, TOTAL(PRICE*ORDERQTY) FOR ALL ORDERS
select o.orderyear, o.ordermonth, o.orderid, o.orderdate, c.CUSTOMERNAME, d.categoryname, p.productname, p.price, o.ordqry, (p.price * o.ordqry) as Total from ORDERS as o join customer as c on o.CUSTOMERID=c.customerid join PRODUCT as p on o.PRODUCTID= p.PRODUCTID join category as d on p.CATEGORYID=d.CATEGORYID
--9 LIST TOTAL ORDERCOUNT, TOTALORDERQTY, TOTALVALUE OF ORDERS PLACE BY CUSTOMER AJAY
-- HINT: BELOW OUTPUT
--ORDERCOUNT TOTALORDERQTY TOTALVALUE
-- 3 9 620.00
--RUNNING FINE
SELECT COUNT(O.ORDERID), SUM(O.ORDQRY), (O.ORDQRY * P.PRICE) AS [TOTAL VALUE] FROM ORDERS AS O JOIN PRODUCT AS P ON O.PRODUCTID=P.PRODUCTID WHERE CUSTOMERID IN (SELECT CUSTOMERID FROM CUSTOMER WHERE CUSTOMERNAME='AJAY') GROUP BY O.ORDQRY, P.PRICE
SELECT SUM(COUNT(O.ORDERID)), SUM(SUM(O.ORDQRY)), SUM((O.ORDQRY * P.PRICE)) AS [TOTAL VALUE] FROM ORDERS AS O JOIN PRODUCT AS P ON O.PRODUCTID=P.PRODUCTID WHERE CUSTOMERID IN (SELECT CUSTOMERID FROM CUSTOMER WHERE CUSTOMERNAME='AJAY') GROUP BY O.ORDQRY, P.PRICE
--10 LIST SUM OF ORDERQTY FROM ORDERS TABLE FOR CATEGORY ELECTRONICS
--HINT
--TOTALORDERQTY
-- 2
SELECT SUM(ORDQRY) AS TOTALORDERQTY FROM ORDERS WHERE PRODUCTID IN (SELECT PRODUCTID FROM PRODUCT WHERE CATEGORYID IN (SELECT CATEGORYID FROM CATEGORY WHERE CATEGORYNAME='ELECTRONICS')) GROUP BY ORDQRY
-- prind 3rd highest salary in employee table
SELECT Max(sal)
FROM emp
WHERE saL < (SELECT Max(sal)
FROM emp
WHERE saL NOT IN(SELECT Max(sal)
FROM emp))
--ANOTHER SOLUTION
SELECT ename,sal from Emp e1 where
2 = (SELECT COUNT(DISTINCT sal)from Emp e2 where e2.sal > e1.sal)
SELECT * FROM EMP
| true |
1dc0d9fcd54fdca067388780548ba95403243474 | SQL | pablonewgen/SchoolWork | /CS648/Ch3 - HW.sql | UTF-8 | 779 | 3.75 | 4 | [] | no_license | /*
Chapter 3 Homework Assignment: Questions 6, 8, 10, 12
Paul Truong Nguyen
*/
-- 6
SELECT vendor_name, vendor_contact_last_name,
vendor_contact_first_name
FROM vendors
ORDER BY vendor_contact_last_name, vendor_contact_first_name;
-- 8
SELECT invoice_due_date AS dueDate, invoice_total AS invoiceTotal,
invoice_total * 0.10 AS tenPercent,
invoice_total + invoice_total * 0.10 AS plusTenPercent
FROM invoices
WHERE invoice_total >= 500 AND invoice_total <= 1000
ORDER BY dueDate DESC;
-- 10
SELECT invoice_number, invoice_date,
invoice_total - payment_total - credit_total AS balance_due,
payment_date
FROM invoices
WHERE payment_date IS NULL;
-- 12
SELECT 50000 AS starting_principal, 0.065 AS interest,
50000 * (1 + 0.065) AS principal_plus_interest;
| true |
a2e6611c74a1c5bafb7fe44dfc6249dca237bb41 | SQL | maxkrivich/debezium-data-masking-cdc-poc | /db/schema.sql | UTF-8 | 340 | 2.890625 | 3 | [
"MIT"
] | permissive | CREATE TABLE users (
id SERIAL,
first_name VARCHAR(64) NOT NULL,
last_name VARCHAR(64) NOT NULL,
email VARCHAR(255) NOT NULL,
credit_card VARCHAR(255) NOT NULL,
created_at timestamp NOT NULL DEFAULT current_timestamp,
updated_at timestamp NOT NULL DEFAULT current_timestamp,
deleted_at timestamp,
PRIMARY KEY(id)
); | true |
44961aaa2009ebfea155464122f6bac47c908b50 | SQL | chetan4651/Maven_Jersey_RESTFULL | /DB/practice.sql | UTF-8 | 1,618 | 2.984375 | 3 | [] | no_license | -- phpMyAdmin SQL Dump
-- version 4.5.1
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Feb 20, 2017 at 08:02 PM
-- Server version: 10.1.13-MariaDB
-- PHP Version: 7.0.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 utf8mb4 */;
--
-- Database: `test`
--
-- --------------------------------------------------------
--
-- Table structure for table `practice`
--
CREATE TABLE `practice` (
`roll_no` int(11) NOT NULL,
`name` varchar(50) NOT NULL,
`college_name` varchar(150) NOT NULL,
`email` varchar(100) NOT NULL,
`marks` double(10,2) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `practice`
--
INSERT INTO `practice` (`roll_no`, `name`, `college_name`, `email`, `marks`) VALUES
(1, 'chetan', 'UniPune', 'chetan_mohol@persistent.co.in', 46.00),
(2, 'akshay mohol', ' ', 'akshay.mohol@gmail.com', 88.00),
(5, 'aa', 'asdsdasd', 'aa@ss.com', 12.00);
--
-- Indexes for dumped tables
--
--
-- Indexes for table `practice`
--
ALTER TABLE `practice`
ADD PRIMARY KEY (`roll_no`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `practice`
--
ALTER TABLE `practice`
MODIFY `roll_no` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
| true |
9ed5c0e3e5b5cf92df08cbbb9dc191653971448e | SQL | hrynt/sql | /offers.sql | UTF-8 | 1,422 | 3.171875 | 3 | [] | no_license | -- single
SELECT core_offers.id, core_brands.id AS brand_id, core_brands.name AS brand_name, core_vendors.id AS vendor_id, core_vendors.name AS vendor_name
FROM core_offers
JOIN core_offers_items ON core_offers_items.offer_id = core_offers.id
JOIN core_items ON core_items.id = core_offers_items.item_id
JOIN core_brands ON core_brands.id = core_items.brand_id
JOIN core_vendors ON core_vendors.id = core_brands.vendor_id
WHERE core_offers.offer_type_id = 1
UNION
-- subs
SELECT core_offers.id, core_brands.id AS brand_id, core_brands.name AS brand_name, core_vendors.id AS vendor_id, core_vendors.name AS vendor_name
FROM core_offers
JOIN core_offers_brands ON core_offers_brands.offer_id = core_offers.id
JOIN core_brands ON core_brands.id = core_offers_brands.brand_id
JOIN core_vendors ON core_vendors.id = core_brands.vendor_id
WHERE core_offers.offer_type_id = 2
UNION
-- bundle
SELECT core_offers.id, core_brands.id AS brand_id, core_brands.name AS brand_name, core_vendors.id AS vendor_id, core_vendors.name AS vendor_name
FROM core_offers
JOIN (SELECT offer_id, MAX(item_id) AS item_id FROM core_offers_items GROUP BY offer_id) core_offers_items ON core_offers_items.offer_id = core_offers.id
JOIN core_items ON core_items.id = core_offers_items.item_id
JOIN core_brands ON core_brands.id = core_items.brand_id
JOIN core_vendors ON core_vendors.id = core_brands.vendor_id
WHERE core_offers.offer_type_id = 3 | true |
a90f0909f9fd31877b4e29456ec00f1b305905a6 | SQL | r3r0/sportverseny-szakdolgozat | /Horváth Emese - Sportverseny Szakdolgozat/sql files/kuzdo.sql | UTF-8 | 1,968 | 3.296875 | 3 | [] | no_license | -- phpMyAdmin SQL Dump
-- version 5.0.2
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Apr 04, 2020 at 09:57 PM
-- Server version: 10.4.11-MariaDB
-- PHP Version: 7.2.29
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: `sport`
--
-- --------------------------------------------------------
--
-- Table structure for table `kuzdo`
--
CREATE TABLE `kuzdo` (
`id` int(4) NOT NULL,
`name` varchar(30) COLLATE utf8mb4_hungarian_ci NOT NULL,
`date` date NOT NULL,
`win` int(4) NOT NULL,
`lose` int(4) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_hungarian_ci;
--
-- Dumping data for table `kuzdo`
--
INSERT INTO `kuzdo` (`id`, `name`, `date`, `win`, `lose`) VALUES
(1, 'Birkózás', '2020-01-04', 4, 10),
(2, 'Kungfu', '2020-01-05', 7, 20),
(3, 'Sakk', '2020-02-12', 10, 1),
(6, 'Ju-jitsu', '2020-03-10', 20, 7);
--
-- Indexes for dumped tables
--
--
-- Indexes for table `kuzdo`
--
ALTER TABLE `kuzdo`
ADD PRIMARY KEY (`id`),
ADD KEY `win` (`win`),
ADD KEY `lose` (`lose`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `kuzdo`
--
ALTER TABLE `kuzdo`
MODIFY `id` int(4) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;
--
-- Constraints for dumped tables
--
--
-- Constraints for table `kuzdo`
--
ALTER TABLE `kuzdo`
ADD CONSTRAINT `kuzdo_ibfk_1` FOREIGN KEY (`win`) REFERENCES `versenyzok` (`id`),
ADD CONSTRAINT `kuzdo_ibfk_2` FOREIGN KEY (`lose`) REFERENCES `versenyzok` (`id`);
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 |
e4a9afee1450b5dfb40deec7f5a44fe98297e28c | SQL | davidemoraschi/APISA | /PANDAS_MALAGA/CLAVADO AL MIG.sql | UTF-8 | 756 | 2.765625 | 3 | [] | no_license | /* Formatted on 11/6/2014 1:41:33 PM (QP5 v5.163.1008.3004) */
SELECT COUNT (*), TRUNC (NATID_FECHA_INICIO_PARTE, 'MM') F
FROM TEMP_INTERVENCIONES_A102004 T
WHERE T.IND_MODALIDAD_ASISTENCIAL = 1 AND (T.NATID_FECHA_FIN_EPISODIO IS NULL OR TRUNC (T.NATID_FECHA_INICIO_EPISODIO) <> TRUNC (T.NATID_FECHA_FIN_EPISODIO))
GROUP BY TRUNC (NATID_FECHA_INICIO_PARTE, 'MM')
ORDER BY 2 DESC;
/
SELECT COUNT (*), TRUNC (NATID_FECHA_INICIO_PARTE, 'MM') F
FROM MSTR_DET_INTERVEN_HISTORICO T
WHERE T.IND_MODALIDAD_ASISTENCIAL = 1 AND (T.NATID_FECHA_FIN_EPISODIO IS NULL OR TRUNC (T.NATID_FECHA_INICIO_EPISODIO) <> TRUNC (T.NATID_FECHA_FIN_EPISODIO))
AND NATID_AREA_HOSPITALARIA = '02003'
GROUP BY TRUNC (NATID_FECHA_INICIO_PARTE, 'MM')
ORDER BY 2 DESC | true |
27692e30ff4e8664d5cda0f45580c86ede6d1e74 | SQL | Divya-eluminous/test | /laravel-api.sql | UTF-8 | 17,610 | 2.96875 | 3 | [
"MIT"
] | permissive | -- phpMyAdmin SQL Dump
-- version 4.9.2
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1:3308
-- Generation Time: Aug 12, 2021 at 01:40 PM
-- Server version: 5.7.28
-- PHP Version: 5.6.40
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: `laravel-api`
--
-- --------------------------------------------------------
--
-- Table structure for table `failed_jobs`
--
DROP TABLE IF EXISTS `failed_jobs`;
CREATE TABLE IF NOT EXISTS `failed_jobs` (
`id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT,
`connection` text COLLATE utf8mb4_unicode_ci NOT NULL,
`queue` text COLLATE utf8mb4_unicode_ci NOT NULL,
`payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`exception` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`failed_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `migrations`
--
DROP TABLE IF EXISTS `migrations`;
CREATE TABLE IF NOT EXISTS `migrations` (
`id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
`migration` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`batch` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `migrations`
--
INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
(1, '2014_10_12_000000_create_users_table', 1),
(2, '2014_10_12_100000_create_password_resets_table', 1),
(3, '2016_06_01_000001_create_oauth_auth_codes_table', 1),
(4, '2016_06_01_000002_create_oauth_access_tokens_table', 1),
(5, '2016_06_01_000003_create_oauth_refresh_tokens_table', 1),
(6, '2016_06_01_000004_create_oauth_clients_table', 1),
(7, '2016_06_01_000005_create_oauth_personal_access_clients_table', 1),
(8, '2019_08_19_000000_create_failed_jobs_table', 1);
-- --------------------------------------------------------
--
-- Table structure for table `oauth_access_tokens`
--
DROP TABLE IF EXISTS `oauth_access_tokens`;
CREATE TABLE IF NOT EXISTS `oauth_access_tokens` (
`id` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
`user_id` bigint(20) UNSIGNED DEFAULT NULL,
`client_id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`scopes` text COLLATE utf8mb4_unicode_ci,
`revoked` tinyint(1) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`expires_at` datetime DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `oauth_access_tokens_user_id_index` (`user_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `oauth_access_tokens`
--
INSERT INTO `oauth_access_tokens` (`id`, `user_id`, `client_id`, `name`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) VALUES
('09ec643d76b35ed10091c3a9f1db9067c3b8dada2f74bb61b3420554d671dcec8e61f1cf2d64c378', 1, 1, 'authToken', '[]', 0, '2021-08-06 03:26:08', '2021-08-06 03:26:08', '2022-08-06 08:56:08'),
('c35bdfef96f523b82b4f9417266b4c9f26a3bf614f50b42403c390b1291126fbf5cbaaae66434f47', 1, 1, 'authToken', '[]', 0, '2021-08-06 03:26:45', '2021-08-06 03:26:45', '2022-08-06 08:56:45'),
('e2a128d4522f1a9cd100b2334f9d8be3d60bab42623f09dde1dee79d73342a4091369a5153f6ee32', 1, 1, 'authToken', '[]', 0, '2021-08-06 03:27:11', '2021-08-06 03:27:11', '2022-08-06 08:57:11'),
('6634d19ed7fde22c748dd5e73c9c09db0807dbb0bec371897f1832f31dffef04f5ff0e0def939aa0', 2, 1, 'testtoken', '[]', 0, '2021-08-06 03:41:12', '2021-08-06 03:41:12', '2022-08-06 09:11:12'),
('b8be11457a16d684532b860a7ab8b39724120fd4b51ce816665d787fd3dbf832870896679577a622', 1, 1, 'testtoken', '[]', 0, '2021-08-06 03:56:30', '2021-08-06 03:56:30', '2022-08-06 09:26:30'),
('87776827ef91d697f1f25fda56d0d78b23435b5640b1cf165e5d122435c12883ec782e6ac538ad12', 1, 1, 'testtoken', '[]', 0, '2021-08-06 03:56:58', '2021-08-06 03:56:58', '2022-08-06 09:26:58'),
('cb543b047d9094582e0160dcc9976c3d14e1c328b48638fd2b9baafd965df605e1db883e4d096b4d', 1, 1, 'testtoken', '[]', 0, '2021-08-06 04:09:00', '2021-08-06 04:09:00', '2022-08-06 09:39:00'),
('0839614852dd4aa8f6727c358e1d84d99c2254134a0d7effe0bb665f68567fdc43c7cab696034704', 1, 1, 'testtoken', '[]', 0, '2021-08-06 04:56:32', '2021-08-06 04:56:32', '2022-08-06 10:26:32'),
('26ed58bb953137e7383fe0e19679aedac0fc64eb29f536794cd02e76f8751e9b39db59f78f8634f5', 1, 1, 'testtoken', '[]', 0, '2021-08-06 05:53:27', '2021-08-06 05:53:27', '2022-08-06 11:23:27'),
('db0d27c1d9a7781d841ba8b956f7c87a617bf78eca31e0567f373e0faaf0ab70d1dedc24e27db54f', 3, 1, 'testtoken', '[]', 0, '2021-08-06 06:23:35', '2021-08-06 06:23:35', '2022-08-06 11:53:35'),
('43acfdf9f5f1b372c0fe3aed0282d00491de5484b286b29f8b467df3dedff27ed72ef9d742e4ded9', 4, 1, 'testtoken', '[]', 0, '2021-08-06 06:23:47', '2021-08-06 06:23:47', '2022-08-06 11:53:47'),
('d5eb773d2c61159644b95860f62bfb146f0f88df4bc6020d36ce0ccb6c0f2521386fdabdb1fba80f', 5, 1, 'testtoken', '[]', 0, '2021-08-06 06:24:01', '2021-08-06 06:24:01', '2022-08-06 11:54:01'),
('9732d9a644ba8b708d75a4a540fb717d72bf3685fc4435b82c9a8ff8e657992c2e2d4f7157be5cf6', 6, 1, 'testtoken', '[]', 0, '2021-08-06 06:45:30', '2021-08-06 06:45:30', '2022-08-06 12:15:30'),
('edc6f15c3906ed311d72489f49bd230080412be0cc322b1439fe80e965b6433d17b72b1bfcb51b74', 7, 1, 'testtoken', '[]', 0, '2021-08-06 06:50:59', '2021-08-06 06:50:59', '2022-08-06 12:20:59'),
('69d58f20515a5bc1a3bc1c1bff0d5e90ed9fdf72f7b22950f05947e47598ff13ac8136c7ceedd3b8', 8, 1, 'testtoken', '[]', 0, '2021-08-06 06:51:52', '2021-08-06 06:51:52', '2022-08-06 12:21:52'),
('26e88bee1763364e146196422d0913e73af54c491953301c0e229423ce32a3a86df7bee02309ad05', 9, 1, 'testtoken', '[]', 0, '2021-08-06 07:16:16', '2021-08-06 07:16:16', '2022-08-06 12:46:16'),
('38d875147cb3afdd42fd8f60a29cd8b2c73208a661d77dfa86d17d71554b9864163306221209b657', 10, 1, 'testtoken', '[]', 0, '2021-08-06 07:16:28', '2021-08-06 07:16:28', '2022-08-06 12:46:28'),
('0b47ccdc92a5896f40f4b9a17183169364bfbff6329c2f1fe1da255065d79b5d17894aac6983dde7', 1, 1, 'testtoken', '[]', 0, '2021-08-09 00:04:10', '2021-08-09 00:04:10', '2022-08-09 05:34:10'),
('e4a6f89f58e0d9a298b4584dbca6c2fac6241a7c4b7c1830cb3d28d7a8d4136451643efe669ce0d9', 11, 1, 'testtoken', '[]', 0, '2021-08-09 00:05:34', '2021-08-09 00:05:34', '2022-08-09 05:35:34'),
('433295dca9b964f23afcd0e7997a06a07a9cd95f93f3a723abbc891aea4df1d460aff0efc0a91eb0', 1, 1, 'testtoken', '[]', 0, '2021-08-09 00:06:28', '2021-08-09 00:06:28', '2022-08-09 05:36:28'),
('c00ad93a3a677c01802d828345405d209a44129e559f61bbc28ae63f13fa012386005c08987d3c58', 1, 1, 'testtoken', '[]', 0, '2021-08-09 00:07:35', '2021-08-09 00:07:35', '2022-08-09 05:37:35'),
('b1a300ad3d8ebf5b3dcd2acd70b551a2a493effc12fa2cc94b0cafc197c10beaa673da4287dc163d', 1, 1, 'testtoken', '[]', 0, '2021-08-09 01:46:56', '2021-08-09 01:46:56', '2022-08-09 07:16:56'),
('241217dd6ba2cccdf9ef8c5e3312e0faef8b2fdd0b19de76b85234041774935ab96ac7d525a51ca3', 12, 1, 'testtoken', '[]', 0, '2021-08-09 03:54:45', '2021-08-09 03:54:45', '2022-08-09 09:24:45'),
('d9dbbcc24fd4fd94f454f657a43428571cfda89780179a14f3d00f380e6e675dc373e50acf6c6a47', 13, 1, 'testtoken', '[]', 0, '2021-08-09 03:55:48', '2021-08-09 03:55:48', '2022-08-09 09:25:48'),
('630522a092771aa1eea7f171eae5e82e35def7860edce0bb5bc27e009508fda6f3b963a25b9e56b2', 5, 1, 'authtoken', '[]', 0, '2021-08-09 04:57:05', '2021-08-09 04:57:05', '2022-08-09 10:27:05'),
('f1252da95a6389608a67fc43e2444f586044f7edb237c3f17e6d5c13c92443d09bbb059b6432f2eb', 1, 1, 'authtoken', '[]', 0, '2021-08-09 04:58:08', '2021-08-09 04:58:08', '2022-08-09 10:28:08'),
('5f6900cf6c091ba86bf4df479a26d85ffcc17dad1147c9deb1b3ef1dba33105d2b0243495eda2492', 12, 1, 'authtoken', '[]', 0, '2021-08-09 05:05:41', '2021-08-09 05:05:41', '2022-08-09 10:35:41'),
('3230d03959bf428952b241f5ca3c919664eaae90a51255fbbb2c8a67e125b2a7f0971a4de712a9eb', 12, 1, 'authtoken', '[]', 0, '2021-08-09 05:06:54', '2021-08-09 05:06:54', '2022-08-09 10:36:54'),
('8bee2498df0608e9209d22591e5c2d149dc3304d7f0d0e07e3dab92519bf7aeff870f9987fc621f7', 2, 1, 'authtoken', '[]', 0, '2021-08-09 05:34:17', '2021-08-09 05:34:17', '2022-08-09 11:04:17'),
('8fc76bad595b6edaa2e06e6805801d41897c7ace48053025fd3832b69d4cc0767a9c06f55ec1b6b3', 3, 1, 'authtoken', '[]', 0, '2021-08-09 05:34:41', '2021-08-09 05:34:41', '2022-08-09 11:04:41'),
('67e8704583e9267a381b123fd62698a69b8b03b1b9e0aaa08e425e3ed07aa4caafcad81e7a436d26', 4, 1, 'authtoken', '[]', 0, '2021-08-09 05:35:23', '2021-08-09 05:35:23', '2022-08-09 11:05:23'),
('a93b286e1abcb804c1a8c536310ba4c9f75570b5755dbc802fca57564c39d0973065c2937500e896', 12, 1, 'authtoken', '[]', 0, '2021-08-09 05:36:30', '2021-08-09 05:36:30', '2022-08-09 11:06:30'),
('34b1ee81fe4c66d0dc712c8fe666127b602fd49bed3fb6a0708d94443b6ff8cfadc688d52f899503', 5, 1, 'authtoken', '[]', 0, '2021-08-09 06:53:48', '2021-08-09 06:53:48', '2022-08-09 12:23:48'),
('76786472b53f7ddd67f46c1e9d8ab24bbfacb5869be1730b62578a0e417e905cbd064ad530150b56', 6, 1, 'authtoken', '[]', 0, '2021-08-09 06:54:02', '2021-08-09 06:54:02', '2022-08-09 12:24:02'),
('3d1c550d277dac9396dccb8ab9c59be87b007024b525e153f0f3e97a61829f5f9dfac54be26b6273', 7, 1, 'authtoken', '[]', 0, '2021-08-09 06:54:16', '2021-08-09 06:54:16', '2022-08-09 12:24:16'),
('973612835090ca2336b97f9c89f7a4084948e461c694c6fa42146bfa9e97f6e719fdfd5c05283e31', 8, 1, 'authtoken', '[]', 0, '2021-08-09 06:56:56', '2021-08-09 06:56:56', '2022-08-09 12:26:56'),
('e45aca28a277ed6763de7e88f1f50001895e6f3d89be0df32d8358785f2f0fb6d2c13ad2f11bf5bf', 9, 1, 'authtoken', '[]', 0, '2021-08-09 06:57:04', '2021-08-09 06:57:04', '2022-08-09 12:27:04'),
('271810a5f2c224c8878b52c19433df41f0788961bfa6b84cfc182ff25b633eb64784881aeb61747f', 12, 1, 'authtoken', '[]', 0, '2021-08-09 07:13:52', '2021-08-09 07:13:52', '2022-08-09 12:43:52'),
('1e0b610e8c46a941da26ca08174ed10980209fc93915b0a1d37a55403f6c7f4ad28901f7f85950bb', 12, 1, 'authtoken', '[]', 0, '2021-08-09 07:14:26', '2021-08-09 07:14:26', '2022-08-09 12:44:26');
-- --------------------------------------------------------
--
-- Table structure for table `oauth_auth_codes`
--
DROP TABLE IF EXISTS `oauth_auth_codes`;
CREATE TABLE IF NOT EXISTS `oauth_auth_codes` (
`id` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
`user_id` bigint(20) UNSIGNED NOT NULL,
`client_id` bigint(20) UNSIGNED NOT NULL,
`scopes` text COLLATE utf8mb4_unicode_ci,
`revoked` tinyint(1) NOT NULL,
`expires_at` datetime DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `oauth_auth_codes_user_id_index` (`user_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `oauth_clients`
--
DROP TABLE IF EXISTS `oauth_clients`;
CREATE TABLE IF NOT EXISTS `oauth_clients` (
`id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT,
`user_id` bigint(20) UNSIGNED DEFAULT NULL,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`secret` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`provider` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`redirect` text COLLATE utf8mb4_unicode_ci NOT NULL,
`personal_access_client` tinyint(1) NOT NULL,
`password_client` tinyint(1) NOT NULL,
`revoked` tinyint(1) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `oauth_clients_user_id_index` (`user_id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `oauth_clients`
--
INSERT INTO `oauth_clients` (`id`, `user_id`, `name`, `secret`, `provider`, `redirect`, `personal_access_client`, `password_client`, `revoked`, `created_at`, `updated_at`) VALUES
(1, NULL, 'Laravel Personal Access Client', 'adBrJ6RYfnZGCA6vjRqi2T6W8HpKljC0IqYxIF3I', NULL, 'http://localhost', 1, 0, 0, '2021-08-06 01:36:17', '2021-08-06 01:36:17'),
(2, NULL, 'Laravel Password Grant Client', 'KehvtiInjdzhRVCDFYx8SS681hwPguQK4oaqGG3A', 'users', 'http://localhost', 0, 1, 0, '2021-08-06 01:36:17', '2021-08-06 01:36:17');
-- --------------------------------------------------------
--
-- Table structure for table `oauth_personal_access_clients`
--
DROP TABLE IF EXISTS `oauth_personal_access_clients`;
CREATE TABLE IF NOT EXISTS `oauth_personal_access_clients` (
`id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT,
`client_id` bigint(20) UNSIGNED NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `oauth_personal_access_clients`
--
INSERT INTO `oauth_personal_access_clients` (`id`, `client_id`, `created_at`, `updated_at`) VALUES
(1, 1, '2021-08-06 01:36:17', '2021-08-06 01:36:17');
-- --------------------------------------------------------
--
-- Table structure for table `oauth_refresh_tokens`
--
DROP TABLE IF EXISTS `oauth_refresh_tokens`;
CREATE TABLE IF NOT EXISTS `oauth_refresh_tokens` (
`id` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
`access_token_id` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
`revoked` tinyint(1) NOT NULL,
`expires_at` datetime DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `oauth_refresh_tokens_access_token_id_index` (`access_token_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `password_resets`
--
DROP TABLE IF EXISTS `password_resets`;
CREATE TABLE IF NOT EXISTS `password_resets` (
`email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`token` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
KEY `password_resets_email_index` (`email`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `student`
--
DROP TABLE IF EXISTS `student`;
CREATE TABLE IF NOT EXISTS `student` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL,
`email` varchar(100) NOT NULL,
`password` varchar(255) NOT NULL,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=10 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `student`
--
INSERT INTO `student` (`id`, `name`, `email`, `password`, `created_at`, `updated_at`) VALUES
(1, 'divya', 'divs@gmail.com', '$2y$10$lFotyUncTx2289O7oVMLi.yI8n1dJszTRGO/nZUd0dCFfIrMWj6rm', '2021-08-09 04:58:08', '2021-08-09 04:58:08'),
(2, 'swati', 'swati@gmail.com', '$2y$10$n6NcbHyqsV6aMt/5YVdRB.3/Gu2bF1MPY.5PqXsppqnfiFAn66H0y', '2021-08-09 05:34:17', '2021-08-09 05:34:17'),
(3, 'seeya', 'seeya@gmail.com', '$2y$10$42bHPzxRFuCBYQwI3dsO5eOAvHvJRh3awgVmEQ3qSGvTqQkHvpAqm', '2021-08-09 05:34:41', '2021-08-09 11:05:15'),
(4, 'tarun', 'tarun@gmail.com', '$2y$10$cGepkk8u.lUdcq1Hm7P7XOvj4zQmhodi..4uodL9eY7fuwQ9EwMaa', '2021-08-09 05:35:23', '2021-08-09 05:35:23'),
(5, 'diya', 'diya@gmail.com', '$2y$10$BrdFoQw2gv5X7yDbP0wDeO/3CbJu6hvm1WcBc0RkQ9DoKxLBp65Py', '2021-08-09 06:53:48', '2021-08-09 06:53:48'),
(6, 'divyanka', 'divyanka@gmail.com', '$2y$10$OPgqDp.KOftOX5xR4hK5SOHsdKMGPYJnppzlPxU0xTPHJ5BNK7H8O', '2021-08-09 06:54:02', '2021-08-09 06:54:02'),
(7, 'divsena', 'divsena@gmail.com', '$2y$10$WO7ptPJDhbOE/mysiyzJqe/9A7bm0Uj2W1u0bsg2ctcZYI4AWyLOG', '2021-08-09 06:54:16', '2021-08-09 06:54:16'),
(8, 'divya', 'd121@gmail.com', '$2y$10$.1/MjBpCyA0A5GGrFE3nEOJAwWKN7js4GBFVQ.nJcqZOumY2GQr.S', '2021-08-09 06:56:56', '2021-08-09 06:56:56'),
(9, 'divya', 'diksha@gmail.com', '$2y$10$JubS4jwJEAOb6dJbc5uXhebrubzor7wIKxoW/df/I6w/4iZ9Iy/yq', '2021-08-09 06:57:04', '2021-08-09 06:57:04');
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
DROP TABLE IF EXISTS `users`;
CREATE TABLE IF NOT EXISTS `users` (
`id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`ema
il_verified_at` timestamp NULL DEFAULT NULL,
`password` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `users_email_unique` (`email`)
) ENGINE=MyISAM AUTO_INCREMENT=14 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `users`
--
INSERT INTO `users` (`id`, `name`, `email`, `ema
il_verified_at`, `password`, `remember_token`, `created_at`, `updated_at`) VALUES
(1, 'divya', 'divya@gmail.com', NULL, '$2y$10$wbw4hFuyDbxM4Rkrxz/3g.ejY80dvbELZZxgwhL16vgtKz5POdUWe', NULL, '2021-08-06 03:27:11', '2021-08-06 03:27:11'),
(2, 'seeya', 'seeya@gmail.com', NULL, '$2y$10$MD4UyzIVfpXL0oacrYQ1RujQdVat1IGrpT1ClmkF9h0.RJknbxlHG', NULL, '2021-08-06 03:41:12', '2021-08-06 03:41:12'),
(3, 'Neena', 'neena@gmail.com', NULL, '$2y$10$T0vO1T/CX2tT2d7pm8G/nuw44dyfGes72xyxEQZLN4uwhay4giPd6', NULL, '2021-08-06 06:23:35', '2021-08-06 06:23:35'),
(6, 'Priti', 'priti@gmail.com', NULL, '$2y$10$zWfVF2wir3tH9BjbCVXGze7hv2MoD043ZvFmMK5VMkoZMPXK9ind6', NULL, '2021-08-06 06:45:30', '2021-08-06 06:45:30'),
(7, 'sreya', 'sreya@gmail.com', NULL, '$2y$10$RZtA.yNe8xh77uqX3y/W6uh5tMOyfXyCSyhGNAvwuFgMn0J5P6nY6', NULL, '2021-08-06 06:50:59', '2021-08-06 06:50:59'),
(8, 'maru', 'maruni@gmail.com', NULL, '$2y$10$r4HuudNqlt75tMJEKbFvU.aFR3uLDZrzWRNvO4vYlFwvePw3A/1h.', NULL, '2021-08-06 06:51:52', '2021-08-06 06:51:52'),
(9, 'shital', 'shital@gmail.com', NULL, '$2y$10$MTniAXvyhLbmeAiFYMN7a.HSLlxmbXZ.pONVs1HbCVOBV3iIhmBcW', NULL, '2021-08-06 07:16:16', '2021-08-06 07:16:16'),
(10, 'harshada', 'harshada@gmail.com', NULL, '$2y$10$78y4wGcLIOi7xwWEKEqnpOs1/.rLXMro8FPqu7PJo/VEM9HtD1Ik.', NULL, '2021-08-06 07:16:28', '2021-08-06 07:16:28'),
(11, 'teena', 'teena@gmail.com', NULL, '$2y$10$Z8l/T8oo3Ydf1qFc54qy3eZyOePhr2MYp6AMq.fRonUAJrIqn2aSK', NULL, '2021-08-09 00:05:34', '2021-08-09 00:05:34'),
(12, 'divya Lokhande', 'divs@gmail.com', NULL, '$2y$10$5bIyM2mosF65UWoZffz.NebLcEazravZ9gh8pAHBBkKSXGLLitVRe', NULL, '2021-08-09 03:54:45', '2021-08-09 03:54:45'),
(13, 'Smita', 'smita@gmail.com', NULL, '$2y$10$Rt8eA7fs1tCSEstN6F8tE.lN6IONcBXjOj6siGzWgGvHBlk3O5oLm', NULL, '2021-08-09 03:55:48', '2021-08-09 03:55:48');
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 |
06fd9ab2fc25ecd93727ab5891c78d5db9d531ee | SQL | l-xxj/managers | /managers/data/mpf_20190511_133230.sql | UTF-8 | 924 | 3.046875 | 3 | [
"Apache-2.0"
] | permissive | -- ----------------------------
-- 日期:2019-05-11 13:32:30
-- MySQL - 5.5.52-MariaDB : Database - managers
-- ----------------------------
SET NAMES utf8;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for `mpf`
-- ----------------------------
DROP TABLE IF EXISTS `mpf`;
CREATE TABLE `mpf` (
`id` int(11) NOT NULL AUTO_INCREMENT ,
`name` varchar(44) COMMENT '姓名',
`num` int(11) COMMENT '工号',
`buy` date COMMENT '购买时间',
`stop` date COMMENT '停买时间',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT 4 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Data for the table `mpf`
-- ----------------------------
INSERT INTO `mpf` VALUES ('1', '1', '1', '2019-03-13', '2019-03-14');
INSERT INTO `mpf` VALUES ('4', '1', '1', '2019-03-08', '2019-03-09');
| true |
75b1fcea7f858c71cfe48b365c5063df58415101 | SQL | VasilDimitroff/SoftUni-MS-SQL-Server | /9. AdditionalExercises/Peaks and Mountains.sql | UTF-8 | 177 | 3.4375 | 3 | [] | no_license | USE Geography
SELECT PeakName,
MountainRange AS Mountain,
Elevation
FROM Peaks
JOIN Mountains M on M.Id = Peaks.MountainId
ORDER BY Elevation DESC, Peaks.PeakName | true |
55235bac67d023e5c5f6f97e282e64a9d64329dd | SQL | dylan-tangamen/projet_sd | /jeux.sql | UTF-8 | 1,565 | 3 | 3 | [] | no_license | -- phpMyAdmin SQL Dump
-- version 4.5.4.1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Nov 20, 2020 at 01:53 PM
-- Server version: 5.7.11
-- PHP Version: 5.6.18
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: `projetsddb`
--
-- --------------------------------------------------------
--
-- Table structure for table `jeux`
--
CREATE TABLE `jeux` (
`idJ` int(8) NOT NULL,
`titre` varchar(40) COLLATE utf32_unicode_ci NOT NULL,
`genre` varchar(40) COLLATE utf32_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf32 COLLATE=utf32_unicode_ci;
--
-- Dumping data for table `jeux`
--
INSERT INTO `jeux` (`idJ`, `titre`, `genre`) VALUES
(1, 'NieR : Automata', 'ARPG'),
(2, 'Golden Sun : Broken Seal', 'RPG'),
(3, 'Civilization VI', '4X'),
(4, 'Helltaker', 'Puzzle/Visual Novel'),
(5, 'Eternal Card Game', 'TCG'),
(9, 'Hades', 'Rogue-like'),
(10, 'Crypt of the Necrodancer', 'Rogue-like'),
(11, 'Overwatch', 'FPS'),
(12, 'Chess 2', 'Stratégie');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `jeux`
--
ALTER TABLE `jeux`
ADD PRIMARY KEY (`idJ`);
/*!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 |
295cfcef88d95df1cffe79ec712d895eece4b5b6 | SQL | caokynguyen1704/devmini_website_php | /sql.SQL | UTF-8 | 3,165 | 2.96875 | 3 | [
"Apache-2.0"
] | permissive | CREATE DATABASE devmini;
CREATE TABLE memInform(
ID int NOT NULL AUTO_INCREMENT,
username varchar(255) NOT NULL,
pass varchar(255) NOT NULL,
office varchar(255),
uidMW int,
nameMW varchar(255),
avatarMW varchar(255),
lastLogin DATE,
coinVIP int DEFAULT 0,
coin int DEFAULT 0,
totalCoinVIP int DEFAULT 0,
report int DEFAULT 0,
createdDay DATE DEFAULT CURRENT_DATE(),
PRIMARY KEY (ID)
)
ALTER TABLE meminform
ADD COLUMN sodonhang INT DEFAULT 0;
-- $getdata['status'] = $_POST['status'];
-- $getdata['message'] = $_POST['message'];
-- $getdata['request_id'] = $_POST['request_id']; /// Mã giao dịch của bạn
-- $getdata['trans_id'] = $_POST['trans_id']; /// Mã giao dịch của website ppay.vn
-- $getdata['declared_value'] = $_POST['declared_value']; /// Mệnh giá mà bạn khai báo lên
-- $getdata['value'] = $_POST['value']; /// Mệnh giá thực tế của thẻ
-- $getdata['amount'] = $_POST['amount']; /// Số tiền bạn nhận về (VND)
-- $getdata['code'] = $_POST['code']; /// Mã nạp
-- $getdata['serial'] = $_POST['serial']; /// Serial thẻ
-- $getdata['telco'] = $_POST['telco']; /// Nhà mạng
CREATE TABLE callback(
ID int NOT NULL AUTO_INCREMENT,
statusCard int,
messageCard varchar(255),
requestId varchar(255),
transId VARCHAR(255),
declaredValue INT,
realValue INT,
amount INT,
codeCard VARCHAR(255),
serialCard VARCHAR(255),
telco VARCHAR(255),
createdDay DATE DEFAULT CURRENT_TIMESTAMP(),
PRIMARY KEY (ID)
)
CREATE TABLE history(
ID int NOT NULL AUTO_INCREMENT,
idUser INT,
statusCard int,
messageCard varchar(255) DEFAULT "Đang Xử Lý",
requestId varchar(255),
realValue INT,
amount INT,
codeCard VARCHAR(255),
serialCard VARCHAR(255),
telco VARCHAR(255),
createdDay DATE DEFAULT CURRENT_TIMESTAMP(),
PRIMARY KEY (ID)
)
-- CURRENT_TIMESTAMP()
CREATE TABLE codePixelArt(
ID int NOT NULL AUTO_INCREMENT,
noType INT,
code varchar(255),
price INT,
office VARCHAR(255),
PRIMARY KEY (ID)
)
CREATE TABLE thongbao(
ID int NOT NULL AUTO_INCREMENT,
class varchar(255),
content VARCHAR(255),
PRIMARY KEY (ID)
)
INSERT INTO memInform(username,pass) VALUES ("caoky9x","80705e387c6c187d9788857e0931fb8d")
INSERT INTO codePixelArt(noType, code, price) VALUE (64,"64px",5000)
INSERT INTO codePixelArt(noType, code, price) VALUE (128,"128px",15000)
INSERT INTO codePixelArt(noType, code, price) VALUE (192,"192px",45000)
INSERT INTO codePixelArt(noType, code, price) VALUE (256,"256px",100000)
CREATE TABLE memInform(
ID int NOT NULL AUTO_INCREMENT,
username varchar(255) NOT NULL,
pass varchar(255) NOT NULL,
office varchar(255),
uidMW int,
nameMW varchar(255),
avatarMW varchar(255),
lastLogin DATE,
coinVIP int DEFAULT 0,
coin int DEFAULT 0,
totalCoinVIP int DEFAULT 0,
report int DEFAULT 0,
createdDay DATETIME DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (ID)
)
| true |
8634a4a56513365c1cd936b81243297955b17721 | SQL | vaibhav0995/heroku_demo | /src/main/resources/employee_portal.sql | UTF-8 | 2,232 | 4 | 4 | [] | no_license | create database employee_portal;
use employee_portal;
create table employee(
emp_code VARCHAR(11) PRIMARY KEY NOT NULL,
first_name VARCHAR(100) NOT NULL,
last_name VARCHAR(100),
dob DATE NOT NULL,
gender VARCHAR(1) NOT NULL,
primary_contact_number VARCHAR(10),
secondary_contact_number VARCHAR(10),
email_id VARCHAR(100) NOT NULL,
skype_id VARCHAR(100),
profile_picture VARCHAR(512),
password VARCHAR(100) NOT NULL,
enabled BOOLEAN DEFAULT true
);
CREATE TABLE job_title_master(
job_code INT PRIMARY KEY auto_increment,
job_title VARCHAR(100) NOT NULL
);
CREATE TABLE user_roles(
user_role_id INT PRIMARY KEY AUTO_INCREMENT,
user_name VARCHAR(200) NOT NULL,
role VARCHAR(50) NOT NULL
);
CREATE TABLE skill_master(
skill_id INT PRIMARY KEY auto_increment,
skill_name VARCHAR(100) NOT NULL
);
CREATE TABLE employee_skills(
emp_skill_id INT PRIMARY KEY auto_increment,
emp_code VARCHAR(11) NOT NULL,
skill_code INT NOT NULL,
FOREIGN KEY (emp_code) REFERENCES employee(emp_code),
FOREIGN KEY (skill_code) REFERENCES skill_master(skill_id)
);
CREATE TABLE project(
project_id INT PRIMARY KEY auto_increment,
description VARCHAR(200) NOT NULL,
start_date DATE NOT NULL,
end_date DATE,
project_logo VARCHAR(100)
);
CREATE TABLE address(
address_id INT PRIMARY KEY auto_increment,
emp_code VARCHAR(11) NOT NULL,
add_line_1 VARCHAR(100) NOT NULL,
add_line_2 VARCHAR(100),
FOREIGN KEY (emp_code) REFERENCES employee(emp_code)
);
#This Table Is Not Correct
CREATE TABLE job_details(
job_detail_id INT PRIMARY KEY AUTO_INCREMENT ,
emp_code VARCHAR(11) NOT NULL unique,
job_code INT NOT NULL,
reporting_mgr VARCHAR(11),
team_lead VARCHAR(11),
curr_proj_id INT,
FOREIGN KEY (emp_code) REFERENCES employee(emp_code),
FOREIGN KEY (job_code) REFERENCES job_title_master(job_code),
FOREIGN KEY (reporting_mgr) REFERENCES Employee(emp_code),
FOREIGN KEY (team_lead) REFERENCES employee(emp_code),
FOREIGN KEY (curr_proj_id) REFERENCES project(project_id)
);
select * from employee;
select * from job_title_master;
select * from project;
select * from job_details;
drop database employee_portal;
| true |
d3e1e53c9cff1192ea7ba5372b4042c9d1286a95 | SQL | yarinbirgun/Patika.dev-SQL | /ödev_11.sql | UTF-8 | 1,017 | 3.28125 | 3 | [
"MIT"
] | permissive | Merhabalar,
Aşağıdaki sorgu senaryolarını dvdrental örnek veri tabanı üzerinden gerçekleştiriniz.
1. actor ve customer tablolarında bulunan first_name sütunları için tüm verileri sıralayalım.
(
SELECT first_name FROM actor
)
UNION
(
SELECT first_name FROM customer
);
2. actor ve customer tablolarında bulunan first_name sütunları için kesişen verileri sıralayalım.
(
SELECT first_name FROM actor
)
INTERSECT
(
SELECT first_name FROM customer
);
3.actor ve customer tablolarında bulunan first_name sütunları için ilk tabloda bulunan ancak ikinci tabloda bulunmayan verileri sıralayalım.
(
SELECT first_name FROM actor
)
EXCEPT
(
SELECT first_name FROM customer
);
4. İlk 3 sorguyu tekrar eden veriler için de yapalım.
(
SELECT first_name FROM actor
)
UNION ALL
(
SELECT first_name FROM customer
);
(
SELECT first_name FROM actor
)
INTERSECT ALL
(
SELECT first_name FROM customer
);
(
SELECT first_name FROM actor
)
EXCEPT ALL
(
SELECT first_name FROM customer
);
| true |
51e0a1667357dd29f06f225fc8829f67de03f74d | SQL | hqottsz/MXI | /assetmanagement-database/src/base/plsql/maintenix/plsql/isAuthorizedForOperator.sql | UTF-8 | 2,713 | 3.390625 | 3 | [] | no_license | --liquibase formatted sql
--changeSet isAuthorizedForOperator:1 stripComments:false endDelimiter:\n\s*/\s*\n|\n\s*/\s*$
/********************************************************************************
*
* Function: isAuthorizedForAssembly
* Arguments: aHrDbId - human resource db id
* aHrId - human resource id
* aCarrierDbId - carrier db id
* aCarrierId - carrier id
* Description: This function determines if the human resource has authority
* over the specified operator.
*
* Orig.Coder: Sylvain Charette
* Recent Coder: jbajer
* Recent Date: April 29, 2008
*
*********************************************************************************/
CREATE OR REPLACE FUNCTION isAuthorizedForOperator
(
aHrDbId IN org_hr.hr_db_id%TYPE,
aHrId IN org_hr.hr_id%TYPE,
aCarrierDbId IN org_carrier.carrier_db_id%TYPE,
aCarrierId IN org_carrier.carrier_id%TYPE
) RETURN NUMBER
IS
ls_CarrierAuthorityDbId org_authority.authority_db_id%TYPE;
ls_CarrierAuthorityId org_authority.authority_id%TYPE;
ln_IsAuthorized NUMBER;
ln_AllAuthorityBool NUMBER;
BEGIN
-- if the hr or inventory is null, return false (0)
IF ( aHrDbId IS NULL ) OR ( aHrId IS NULL ) THEN
RETURN 0;
END IF;
IF ( aCarrierDbId IS NULL ) OR ( aCarrierId IS NULL ) THEN
RETURN 1;
END IF;
-- Return true if the user has all_authority_bool set to true
SELECT
org_hr.all_authority_bool
INTO
ln_AllAuthorityBool
FROM
org_hr
WHERE
org_hr.hr_db_id = aHrDbId AND
org_hr.hr_id = aHrId;
IF ln_AllAuthorityBool = 1 THEN
RETURN 1;
END IF;
-- Retrieve the authority for the inventory
SELECT
org_carrier.authority_db_id,
org_carrier.authority_id
INTO
ls_CarrierAuthorityDbId,
ls_CarrierAuthorityId
FROM
org_carrier
WHERE
org_carrier.carrier_db_id = aCarrierDbId AND
org_carrier.carrier_id = aCarrierId;
-- If the authority is null, then return true (1)
IF ls_CarrierAuthorityDbId IS NULL THEN
RETURN 1;
END IF;
-- If there is an authority, determine if the user has it
SELECT
COUNT(*)
INTO
ln_IsAuthorized
FROM
org_hr_authority
WHERE
org_hr_authority.authority_db_id = ls_CarrierAuthorityDbId AND
org_hr_authority.authority_id = ls_CarrierAuthorityId
AND
org_hr_authority.hr_db_id = aHrDbId AND
org_hr_authority.hr_id = aHrId;
-- Return true if the user has the authority, otherwise return false
IF ln_IsAuthorized > 0 THEN
RETURN 1;
ELSE
RETURN 0;
END IF;
END isAuthorizedForOperator;
/ | true |
c02dbc857f7cd4f3e0c1b007f5124184980d9e0d | SQL | shubhamdixit863/sspos | /sql/sspos.sql | UTF-8 | 6,939 | 2.6875 | 3 | [] | no_license | -- phpMyAdmin SQL Dump
-- version 4.7.4
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1:3306
-- Generation Time: Jul 31, 2018 at 03:31 AM
-- Server version: 5.7.19
-- PHP Version: 7.1.9
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: `sspos`
--
-- --------------------------------------------------------
--
-- Table structure for table `enquire`
--
DROP TABLE IF EXISTS `enquire`;
CREATE TABLE IF NOT EXISTS `enquire` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`date_t` datetime NOT NULL,
`msg` longtext NOT NULL,
`email` varchar(50) NOT NULL,
`name` varchar(122) NOT NULL,
`number` varchar(122) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=20 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `enquire`
--
INSERT INTO `enquire` (`id`, `date_t`, `msg`, `email`, `name`, `number`) VALUES
(10, '2017-10-12 17:18:10', 'Pankaj Kumar Singh,pankajkumar1483@gmail.com,9718656844', '77 events.xls', '', ''),
(11, '2017-10-31 15:36:09', 'MD ZULFIKAR ALI,zulfikar.ali2010@gmail.com,8340467352', 'Zulfikar-Resume-7.doc', '', ''),
(12, '2017-11-24 11:37:29', 'AVINASH RANJAN,Avinash.roots@gmail.com,9939480488', 'Avinash new (2).doc', '', ''),
(13, '2017-12-04 13:53:58', 'Vishal Gupta,gvishal14@yahoo.com,Gfg,Trhjif', '', '', ''),
(14, '2017-12-04 18:49:49', 'vishal,gvishal14349@gmail.com,kxjcaslkxjcapo,lkjda;lsj', '', '', ''),
(15, '2017-12-04 18:53:28', 'vishal,gvishal14349@gmail.com,kxjcaslkxjcapo,lkjda;lsj', '', '', ''),
(16, '2017-12-05 17:56:42', ',,,', '', '', ''),
(17, '2017-12-05 17:59:43', ',,,', '', '', ''),
(18, '2017-12-05 17:59:59', ',,,', '', '', ''),
(19, '2017-12-05 18:00:21', ',,,', '', '', '');
-- --------------------------------------------------------
--
-- Table structure for table `payment`
--
DROP TABLE IF EXISTS `payment`;
CREATE TABLE IF NOT EXISTS `payment` (
`id` int(40) NOT NULL AUTO_INCREMENT,
`name` varchar(200) NOT NULL,
`email` varchar(200) NOT NULL,
`amount` varchar(40) NOT NULL,
`cutomerid` varchar(100) NOT NULL,
`productname` varchar(100) NOT NULL,
`date_t` datetime NOT NULL,
`address` varchar(200) NOT NULL,
`phone` varchar(40) NOT NULL,
`payment_id` varchar(100) DEFAULT NULL,
`payment_status` varchar(100) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=21 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `payment`
--
INSERT INTO `payment` (`id`, `name`, `email`, `amount`, `cutomerid`, `productname`, `date_t`, `address`, `phone`, `payment_id`, `payment_status`) VALUES
(1, 'shubham dixit', 'shubhamdixit863@gmail.com', '2750', '5cee4b10-9408-11e8-9499-97a1df1c2680', 'Products-,SSR-3000-15-POS-TERMINAL', '2018-07-30 20:23:47', 'mig311', '09872642908', 'COD', NULL),
(2, 'shubham dixit', 'shubhamdixit863@gmail.com', '1375', '9c028ef0-9409-11e8-9499-97a1df1c2680', 'Products-,SSR-3000-15-POS-TERMINAL', '2018-07-30 20:32:42', 'mig311', '09872642908', 'COD', NULL),
(3, 'shubham dixit', 'shubhamdixit863@gmail.com', '1', 'c9078590-9409-11e8-9499-97a1df1c2680', 'Products-,SSR-T86E SCALE', '2018-07-30 20:33:58', 'mig311', '09872642908', 'COD', NULL),
(4, 'shubham dixit', 'shubhamdixit863@gmail.com', '1375', '16ce1af0-940a-11e8-9499-97a1df1c2680', 'Products-,SSR-3000-15-POS-TERMINAL', '2018-07-30 20:36:08', 'mig311', '09872642908', 'COD', NULL),
(5, 'shubham dixit', 'shubhamdixit863@gmail.com', '1375', '60e4c7b0-940a-11e8-9499-97a1df1c2680', 'Products-,SSR-3000-15-POS-TERMINAL', '2018-07-30 20:38:13', 'mig311', '09872642908', 'COD', NULL),
(6, 'shubham dixit', 'shubhamdixit863@gmail.com', '1375', '98ba4c50-940a-11e8-9499-97a1df1c2680', 'Products-,SSR-3000-15-POS-TERMINAL', '2018-07-30 20:39:46', 'mig311', '09872642908', 'COD', NULL),
(7, 'shubham dixit', 'shubhamdixit863@gmail.com', '1375', 'f073b9e0-940a-11e8-9499-97a1df1c2680', 'Products-,SSR-3000-15-POS-TERMINAL', '2018-07-30 20:42:13', 'mig311', '09872642908', 'COD', NULL),
(8, 'shubham dixit', 'shubhamdixit863@gmail.com', '1375', '0c533190-940b-11e8-9499-97a1df1c2680', 'Products-,SSR-3000-15-POS-TERMINAL', '2018-07-30 20:43:00', 'mig311', '09872642908', 'COD', NULL),
(9, 'shubham dixit', 'shubhamdixit863@gmail.com', '1375', 'ad10a360-940b-11e8-9499-97a1df1c2680', 'Products-,SSR-3000-15-POS-TERMINAL', '2018-07-30 20:47:30', 'mig311', '09872642908', 'COD', NULL),
(10, 'shubham dixit', 'shubhamdixit863@gmail.com', '1375', 'ca31e9e0-940b-11e8-9499-97a1df1c2680', 'Products-,SSR-3000-15-POS-TERMINAL', '2018-07-30 20:48:19', 'mig311', '09872642908', 'Paypal', NULL),
(11, 'shubham dixit', 'shubhamdixit863@gmail.com', '2750', '126cfc00-9410-11e8-9499-97a1df1c2680', 'Products-,SSR-3000-15-POS-TERMINAL', '2018-07-30 21:18:58', 'mig311', '09872642908', 'COD', NULL),
(12, 'shubham dixit', 'shubhamdixit863@gmail.com', '1375', '5a76c1c0-9410-11e8-9499-97a1df1c2680', 'Products-,SSR-3000-15-POS-TERMINAL', '2018-07-30 21:20:59', 'mig311', '09872642908', 'COD', NULL),
(13, 'shubham dixit', 'shubhamdixit863@gmail.com', '1375', 'c6d203c0-9410-11e8-9499-97a1df1c2680', 'Products-,SSR-3000-15-POS-TERMINAL', '2018-07-30 21:24:01', 'mig311', '09872642908', 'COD', NULL),
(14, 'shubham dixit', 'shubhamdixit863@gmail.com', '1375', 'eb76f730-9410-11e8-9499-97a1df1c2680', 'Products-,SSR-3000-15-POS-TERMINAL', '2018-07-30 21:25:02', 'mig311', '09872642908', 'COD', NULL),
(15, 'shubham dixit', 'shubhamdixit863@gmail.com', '1375', '1af57950-9411-11e8-9499-97a1df1c2680', 'Products-,SSR-3000-15-POS-TERMINAL', '2018-07-30 21:26:22', 'mig311', '09872642908', 'COD', NULL),
(16, 'shubham dixit', 'shubhamdixit863@gmail.com', '120', '7cf400f0-9415-11e8-9422-89ee52b806cd', 'Products-,Magstripe Card Reader', '2018-07-30 21:57:44', 'mig311', '09872642908', 'COD', NULL),
(17, 'shubham dixit', 'shubhamdixit863@gmail.com', '1375', '3b9612d0-9422-11e8-9030-3529ecfc70fb', 'Products-,SSR-3000-15-POS-TERMINAL', '2018-07-30 23:28:58', 'mig311', '09872642908', 'COD', NULL),
(18, 'shubham dixit', 'shubhamdixit863@gmail.com', '550', '5e54e120-9422-11e8-9030-3529ecfc70fb', 'Products-,Portable Data Terminal', '2018-07-30 23:29:56', 'mig311', '09872642908', 'COD', NULL),
(19, 'shubham dixit', 'shubhamdixit863@gmail.com', '550', '18276000-9423-11e8-9030-3529ecfc70fb', 'Products-,Portable Data Terminal', '2018-07-30 23:35:08', 'mig311', '09872642908', 'COD', NULL),
(20, 'shubham dixit', 'shubhamdixit863@gmail.com', '451', 'b5267c90-946b-11e8-95c3-dbd9d4290ba9', 'Products-,SSR-300-RECEIPT-PRINTERS', '2018-07-31 08:14:55', 'mig311', '09872642908', 'Paypal', NULL);
-- --------------------------------------------------------
--
-- Table structure for table `paypal_payments`
--
DROP TABLE IF EXISTS `paypal_payments`;
CREATE TABLE IF NOT EXISTS `paypal_payments` (
`id` int(122) NOT NULL AUTO_INCREMENT,
`intent` varchar(122) DEFAULT NULL,
`orderid` varchar(122) DEFAULT NULL,
`payerid` varchar(122) DEFAULT NULL,
`paymentid` varchar(122) DEFAULT NULL,
`paymenttoken` varchar(122) DEFAULT NULL,
`billingid` varchar(122) DEFAULT NULL,
`payment_status` varchar(122) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
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 |
3b1e6639204d599444ecec24263ae5b78edd7498 | SQL | nlattessi/choferes | /scripts/loadDataProduccion.sql | UTF-8 | 2,068 | 2.640625 | 3 | [
"MIT"
] | permissive | LOCK TABLES `choferes`.`rol` WRITE;
/*!40000 ALTER TABLE `choferes`.`rol` DISABLE KEYS */;
INSERT INTO `choferes`.`rol` VALUES (1,'ROLE_ADMIN');
INSERT INTO `choferes`.`rol` VALUES (2,'ROLE_CNTSV');
INSERT INTO `choferes`.`rol` VALUES (3,'ROLE_PRESTADOR');
INSERT INTO `choferes`.`rol` VALUES (4,'ROLE_CNRT');
INSERT INTO `choferes`.`rol` VALUES (5,'ROLE_CENT');
/*!40000 ALTER TABLE `choferes`.`rol` ENABLE KEYS */;
UNLOCK TABLES;
LOCK TABLES `choferes`.`usuario` WRITE;
/*!40000 ALTER TABLE `choferes`.`usuario` DISABLE KEYS */;
INSERT INTO `choferes`.`usuario` (id, nombre, mail, password, rol_id, activo) VALUES (1,'admin','admin@admin.com','$2a$12$7hFGMobKDxo5tthJcgxjDei1dxBdR5nJJ7HwghnTSn3p7yXE9sUxq',1,TRUE);
INSERT INTO `choferes`.`usuario` (id, nombre, mail, password, rol_id, activo) VALUES (2,'cntsv','cntsv@cntsv.com','$2a$12$T62s8mN630dp7vo1z9Q7x.Yhp1oKRYGGpyqQcrLae0S3UP4uO0./C',2,TRUE);
INSERT INTO `choferes`.`usuario` (id, nombre, mail, password, rol_id, activo) VALUES (3,'cnrt','cnrt@cnrt.com','$2a$12$CIrGYbaXxpxbLqL3YMNLYuGIar6gPfKgT19cxQO32hc7Bh93T0Ru2',4,TRUE);
INSERT INTO `choferes`.`usuario` (id, nombre, mail, password, rol_id, activo) VALUES (4,'cent','cent@cent.com','$2a$12$wlu8mAWum4byLBiBShoqxuT3.DZ4TBzj7JJNzWXvEveSAmajKKsii',5,TRUE);
/*!40000 ALTER TABLE `choferes`.`usuario` ENABLE KEYS */;
UNLOCK TABLES;
LOCK TABLES `choferes`.`tipo_curso` WRITE;
/*!40000 ALTER TABLE `choferes`.`tipo_curso` DISABLE KEYS */;
INSERT INTO `choferes`.`tipo_curso` VALUES (1,'basico');
INSERT INTO `choferes`.`tipo_curso` VALUES (2,'complementario');
/*!40000 ALTER TABLE `choferes`.`tipo_curso` ENABLE KEYS */;
UNLOCK TABLES;
LOCK TABLES `choferes`.`estado_curso` WRITE;
/*!40000 ALTER TABLE `choferes`.`estado_curso` DISABLE KEYS */;
INSERT INTO `choferes`.`estado_curso` VALUES (1,'Cargado');
INSERT INTO `choferes`.`estado_curso` VALUES (2,'Confirmado');
INSERT INTO `choferes`.`estado_curso` VALUES (3,'Por Validar');
INSERT INTO `choferes`.`estado_curso` VALUES (4,'Cancelado');
INSERT INTO `choferes`.`estado_curso` VALUES (5,'Validado');
/*!40000 ALTER TABLE `choferes`.`estado_curso` ENABLE KEYS */;
UNLOCK TABLES; | true |
851df19e354f78ac28876551d38f197e25f28484 | SQL | Arrowzi/DB | /mysql-init-files/0-create.sql | UTF-8 | 1,741 | 3.96875 | 4 | [] | no_license | CREATE DATABASE IF NOT EXISTS bookmarket;
USE bookmarket;
CREATE TABLE IF NOT EXISTS author (
id INT AUTO_INCREMENT PRIMARY KEY,
fname VARCHAR(30) NOT NULL,
sname VARCHAR(30) NOT NULL,
dob DATE NOT NULL
);
CREATE TABLE IF NOT EXISTS book (
id INT AUTO_INCREMENT PRIMARY KEY,
title VARCHAR(80) NOT NULL,
public_date DATE,
raiting ENUM('0+','6+','12+','16+','18+'),
b_state ENUM('available','n_available','pre_order'),
amount INT DEFAULT 0,
price INT NOT NULL,
author_id INT,
FOREIGN KEY (author_id) REFERENCES author(id) ON DELETE RESTRICT ON UPDATE CASCADE
);
CREATE TABLE IF NOT EXISTS genre (
id INT AUTO_INCREMENT PRIMARY KEY,
title VARCHAR(80) NOT NULL
);
CREATE TABLE IF NOT EXISTS book_genre (
book_id INT,
FOREIGN KEY (book_id) REFERENCES book(id) ON DELETE SET NULL,
genre_id INT,
FOREIGN KEY (genre_id) REFERENCES genre(id) ON DELETE CASCADE ON UPDATE CASCADE
);
CREATE TABLE IF NOT EXISTS client (
id INT AUTO_INCREMENT PRIMARY KEY,
fname VARCHAR(30) NOT NULL,
sname VARCHAR(30) NOT NULL,
phone_number VARCHAR(15) NOT NULL,
email VARCHAR(80) NOT NULL,
c_address VARCHAR(80) NOT NULL
);
CREATE TABLE IF NOT EXISTS orders (
id INT AUTO_INCREMENT PRIMARY KEY,
create_date DATE NOT NULL,
id_client INT,
o_state ENUM('operating','canceled','paid','done'),
FOREIGN KEY (id_client) REFERENCES client(id) ON DELETE RESTRICT ON UPDATE CASCADE
);
CREATE TABLE IF NOT EXISTS order_book (
book_id INT,
amount INT DEFAULT 1,
FOREIGN KEY (book_id) REFERENCES book(id) ON DELETE SET NULL ON UPDATE CASCADE,
order_id INT,
FOREIGN KEY (order_id) REFERENCES orders(id) ON DELETE SET NULL ON UPDATE CASCADE
); | true |
f85d0908139f35b1c6b0caf19aed285f4e2e4cf7 | SQL | SzczepanSz/WebApp | /bazaDanych.sql | UTF-8 | 3,489 | 3.234375 | 3 | [] | no_license | CREATE DATABASE IF NOT EXISTS `web_customer_tracker` /*!40100 DEFAULT CHARACTER SET latin1 */;
USE `web_customer_tracker`;
-- MySQL dump 10.13 Distrib 5.6.13, for osx10.6 (i386)
--
-- Host: 127.0.0.1 Database: web_customer_tracker
-- ------------------------------------------------------
-- Server version 5.6.16
/*!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 `systems`
--
DROP TABLE IF EXISTS `systems`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `systems` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`system` varchar(45) DEFAULT NULL,
`request` int DEFAULT NULL,
`order_number` varchar(45) DEFAULT NULL,
`from_date` date DEFAULT NULL,
`to_date` date DEFAULT NULL,
`amount` double DEFAULT NULL,
`amount_type` varchar(45) DEFAULT NULL,
`amount_period` varchar(45) DEFAULT NULL,
`authorization_percent` int DEFAULT NULL,
`active` varchar(45) DEFAULT NULL,
`description` varchar(45) DEFAULT NULL,
`technology` varchar(45) DEFAULT NULL,
`owner` varchar(45) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `systems`
--
LOCK TABLES `systems` WRITE;
/*!40000 ALTER TABLE `systems` DISABLE KEYS */;
INSERT INTO `systems` VALUES
(1,'KUCYK','2222','22/2011','2012-02-02','2014-04-03','100.00','NET','MONTH','2','true','system zarzadzania stadnina','spring MVC','Stadnina koni'),
(2,'LÓDKA', '2343', '21/2012','2012-03-10','2014-03-03','555','NET', 'MONTH','2','true','wypozyczalnia jachtow','pHp','Jacht S.A'),
(3,'KAPISZON','1232','34/2010','2011-06-04','2014-06-05','453.33','NET','MONTH','2','true','pomiar mocy wybuchu ','java','Stragan z Fajerwerkami'),
(4,'KOTEK','3131','22/2015','2015-01-21','2016-01-01','123.31','BRU','YEAR','2','false','system obslugi schroniska','ASP.NET','Schronisko dl psow'),
(5,'DEMON','1222','303/2017','2017-03-15','2017-12-22','122.11','NET','MONTH','2','true','narzedzie do nagrywania CD','C++','Komunie i Sluby'),
(6,'ZÓLWIK','5511','212/2017','1917-01-23','2017-12-25','122.12','NET','MONTH','2','true','system kontroli akwarium','LabView','Basen'),
(7,'KOJOTEK','3322','311/2017','2017-01-12','2017-12-31','444.00','NET','MONTH','2','true','jak zlapac strusia','catcher','Toys4boys');
/*!40000 ALTER TABLE `systems` 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-09-24 21:50:59
| true |
b416327306731872ef2d49b7803d67e9b2b932a8 | SQL | optomal7/contacts-snapshot-starter | /src/db/schema/schema.sql | UTF-8 | 313 | 2.65625 | 3 | [] | no_license | DROP TABLE IF EXISTS contacts;
CREATE TABLE contacts (
id serial,
first_name varchar(255) NOT NULL,
last_name varchar(255) NOT NULL
);
DROP TABLE IF EXISTS users;
CREATE TABLE users (
id serial,
username varchar(255) unique NOT NULL,
pass_hash varchar NOT NULL,
role varchar DEFAULT ('regular')
);
| true |
1804b63e900428ce087a9567322fa1f296e01ea3 | SQL | jzhnice/20210603 | /20210602 (2).sql | UTF-8 | 3,028 | 3.921875 | 4 | [] | no_license | create database if not exists xuexiao default charset = utf8; -- 创建数据库
create -- 创建
exists -- 存在
if not exists -- 不存在
use -- 使用
use xuexiao; -- 使用数据库
create table studentInfo(
`name` varchar(10),
sex char,
age int,
address varchar(10)
);
show tables; -- 显示表格
-- 插入数据
insert into studentInfo ( `name` ,sex,age,address) values ('zhangsan','男',18,"河南省许昌市");
select*from studentInfo; -- 查询表格里面的数据
-- 要插入的数据顺序和创建表格的数据顺序相同,则字段可以省略
insert into studentInfo value('李四','女',20,"河南河南省安阳市");
-- 要插入的数据顺序和创建表格的数据顺序不同,则字段不可以省略省安阳市");
-- 要插入的数据顺序和创建表格的数据顺序不同,则字段不可以省略 要求一一对应
insert into studentInfo ( sex , address , age , `name`) values ('男' , "美国拉斯维加斯" , 18 , '安德伍德' );
insert into studentInfo (`name`) values ('小爱'); -- 没默认值,只给一个字段,则其他字段为空
create table if not exists studentInfo2( -- 如果没有就创建一个表格
`name` varchar(10),
sex char default '男',
age int default 18,
address varchar(10) default "河南省"
);
select*from studentInfo2;
insert into studentInfo2( `name` ,sex,age,address) values ('张三','男',18,"河南省许昌市");
iOK美女
insert into studentInfo2 values ('张三','男',18,"河南省许昌市");
insert into studentInfo2 (`name`) values ('小爱'); -- 有默认值的情况,可以不给定值,但是字段需要写
create table if not exists studentInfo3( -- 如果没有就创建一个表格
id int primary key auto_increment,
`name` varchar(10),
sex char default '男',
age int default 18,
address varchar(10) default "河南省"
);
insert into studentInfo3( `name` ,sex,age,address) values('小红','女',19,"河南");
select * from studentInfo3;
insert into studentInfo3( `name` ,sex,age,address) values('小红','女',19,"河北"),
('小红','女',19,"海南"),
('小红','女',19,"漯河"),
('小红','女',19,"济南");
-- 查询
select address='河北' from studentInfo3;
select *from studentInfo;
select *from studentInfo2;
select `name` , sex,age,address from studentInfo;
select `name` ,age from studentInfo; -- 自定义查询的字段;
-- 更新
update studentInfo2 set age = age+1 where name = '小爱';
update studentInfo2 set age = age+1 ;
update studentInfo2 set age = 18 ;
-- 删除
delete from studentInfo where name= "小爱";
delete from studentInfo2;
truncate table studentInfo; -- 速度块 不能恢复 | true |
e2c035c342d61ad64cbd767e4a306179b4f7ed77 | SQL | HoodPanther/neonetods | /ddls/species_lists_schema_ddl.sql | UTF-8 | 8,472 | 3.421875 | 3 | [] | no_license | --CREATE SCHEMA species_lists;
--DoDoBASE: SPECIES LISTS SCHEMA--
---Species Lists Table
---lists of species at, near, or surrounding NEON sites
---includes only NEON taxa: ground beetles, mosquitoes, small mammals, plants, birds
---conservation status is included here, because status can vary across the geographical range of a species
---status should include state and federal listings
DROP TABLE IF EXISTS species_lists.mammals_raw CASCADE;
CREATE TABLE species_lists.mammals_raw
(
site_id varchar(1000) NOT NULL,
genus varchar(1000),
sp varchar(1000),
subsp varchar(1000),
common_name varchar(1000),
source_id varchar(1000) NOT NULL
);
ALTER TABLE species_lists.mammals_raw
ADD CONSTRAINT mammals_raw_site_id_fkey FOREIGN KEY (site_id)
REFERENCES site_data.site_info_V11 (site_id);
ALTER TABLE species_lists.mammals_raw
ADD CONSTRAINT mammals_raw_source_id_fkey FOREIGN KEY (source_id)
REFERENCES sources.sources (source_id);
COMMIT;
---------------------------------------------------------------------------------------------------
DROP TABLE IF EXISTS species_lists.inverts_raw CASCADE;
CREATE TABLE species_lists.inverts_raw
(
site_id varchar(1000) NOT NULL,
genus varchar(1000),
sp varchar(1000),
subsp varchar(1000),
common_name varchar(1000),
source_id varchar(1000) NOT NULL
);
ALTER TABLE species_lists.inverts_raw
ADD CONSTRAINT inverts_raw_site_id_fkey FOREIGN KEY (site_id)
REFERENCES site_data.site_info_V11 (site_id);
ALTER TABLE species_lists.inverts_raw
ADD CONSTRAINT inverts_raw_source_id_fkey FOREIGN KEY (source_id)
REFERENCES sources.sources (source_id);
COMMIT;
-----------------------------------------------------------------------------------
DROP TABLE IF EXISTS species_lists.birds_raw CASCADE;
CREATE TABLE species_lists.birds_raw
(
site_id varchar(1000) NOT NULL,
genus varchar(1000),
sp varchar(1000),
subsp varchar(1000),
common_name varchar(1000),
source_id varchar(1000) NOT NULL
);
ALTER TABLE species_lists.birds_raw
ADD CONSTRAINT birds_raw_site_id_fkey FOREIGN KEY (site_id)
REFERENCES site_data.site_info_V11 (site_id);
ALTER TABLE species_lists.birds_raw
ADD CONSTRAINT birds_raw_source_id_fkey FOREIGN KEY (source_id)
REFERENCES sources.sources (source_id);
COMMIT;
-----------------------------------------------------------------------------------
DROP TABLE IF EXISTS species_lists.plants_raw CASCADE;
CREATE TABLE species_lists.plants_raw
(
site_id varchar(1000) NOT NULL,
genus varchar(1000),
sp varchar(1000),
subsp varchar(1000),
common_name varchar(1000),
source_id varchar(1000) NOT NULL
);
ALTER TABLE species_lists.plants_raw
ADD CONSTRAINT plants_raw_site_id_fkey FOREIGN KEY (site_id)
REFERENCES site_data.site_info_V11 (site_id);
ALTER TABLE species_lists.plants_raw
ADD CONSTRAINT plants_raw_source_id_fkey FOREIGN KEY (source_id)
REFERENCES sources.sources (source_id);
COMMIT;
-----------------------------------------------------------------------------------
DROP TABLE IF EXISTS species_lists.herps_raw CASCADE;
CREATE TABLE species_lists.herps_raw
(
site_id varchar(1000) NOT NULL,
genus varchar(1000),
sp varchar(1000),
subsp varchar(1000),
common_name varchar(1000),
source_id varchar(1000) NOT NULL
);
ALTER TABLE species_lists.herps_raw
ADD CONSTRAINT herps_raw_site_id_fkey FOREIGN KEY (site_id)
REFERENCES site_data.site_info_V11 (site_id);
ALTER TABLE species_lists.herps_raw
ADD CONSTRAINT herps_raw_source_id_fkey FOREIGN KEY (source_id)
REFERENCES sources.sources (source_id);
COMMIT;
-----------------------------------------------------------------------------------
-----------------------------------------------------------------------------------
DROP TABLE IF EXISTS species_lists.mammals CASCADE;
CREATE TABLE species_lists.mammals
(
source_id varchar(1000) NOT NULL,
site_id varchar(4) NOT NULL,
spp_id varchar(255) NOT NULL
);
ALTER TABLE species_lists.mammals
ADD CONSTRAINT mammals_pkey PRIMARY KEY (source_id, site_id, spp_id);
ALTER TABLE species_lists.mammals
ADD CONSTRAINT mammals_site_id_fkey FOREIGN KEY (site_id)
REFERENCES site_data.site_info_v11 (site_id);
ALTER TABLE species_lists.mammals
ADD CONSTRAINT mammals_source_id_fkey FOREIGN KEY (source_id)
REFERENCES sources.sources (source_id);
COMMIT;
---------------------------------------------------------------------------------------------------
DROP TABLE IF EXISTS species_lists.birds CASCADE;
CREATE TABLE species_lists.birds
(
source_id varchar(1000) NOT NULL,
site_id varchar(4) NOT NULL,
spp_id varchar(255) NOT NULL
);
ALTER TABLE species_lists.birds
ADD CONSTRAINT birds_pkey PRIMARY KEY (source_id, site_id, spp_id);
ALTER TABLE species_lists.birds
ADD CONSTRAINT birds_site_id_fkey FOREIGN KEY (site_id)
REFERENCES site_data.site_info_v11 (site_id);
ALTER TABLE species_lists.birds
ADD CONSTRAINT birds_source_id_fkey FOREIGN KEY (source_id)
REFERENCES sources.sources (source_id);
COMMIT;
---------------------------------------------------------------------------------------------------
DROP TABLE IF EXISTS species_lists.plants CASCADE;
CREATE TABLE species_lists.plants
(
source_id varchar(1000) NOT NULL,
site_id varchar(4) NOT NULL,
spp_id varchar(255) NOT NULL
);
ALTER TABLE species_lists.plants
ADD CONSTRAINT plants_pkey PRIMARY KEY (source_id, site_id, spp_id);
ALTER TABLE species_lists.plants
ADD CONSTRAINT plants_site_id_fkey FOREIGN KEY (site_id)
REFERENCES site_data.site_info_v11 (site_id);
ALTER TABLE species_lists.plants
ADD CONSTRAINT plants_source_id_fkey FOREIGN KEY (source_id)
REFERENCES sources.sources (source_id);
COMMIT;
---------------------------------------------------------------------------------------------------
DROP TABLE IF EXISTS species_lists.inverts CASCADE;
CREATE TABLE species_lists.inverts
(
source_id varchar(1000) NOT NULL,
site_id varchar(4) NOT NULL,
spp_id varchar(255) NOT NULL
);
ALTER TABLE species_lists.inverts
ADD CONSTRAINT inverts_pkey PRIMARY KEY (source_id, site_id, spp_id);
ALTER TABLE species_lists.inverts
ADD CONSTRAINT inverts_site_id_fkey FOREIGN KEY (site_id)
REFERENCES site_data.site_info_v11 (site_id);
ALTER TABLE species_lists.inverts
ADD CONSTRAINT inverts_source_id_fkey FOREIGN KEY (source_id)
REFERENCES sources.sources (source_id);
COMMIT;
---------------------------------------------------------------------------------------------------
DROP TABLE IF EXISTS species_lists.herps CASCADE;
CREATE TABLE species_lists.herps
(
source_id varchar(1000) NOT NULL,
site_id varchar(4) NOT NULL,
spp_id varchar(255) NOT NULL
);
ALTER TABLE species_lists.herps
ADD CONSTRAINT herps_pkey PRIMARY KEY (source_id, site_id, spp_id);
ALTER TABLE species_lists.herps
ADD CONSTRAINT herps_site_id_fkey FOREIGN KEY (site_id)
REFERENCES site_data.site_info_v11 (site_id);
ALTER TABLE species_lists.herps
ADD CONSTRAINT herps_source_id_fkey FOREIGN KEY (source_id)
REFERENCES sources.sources (source_id);
COMMIT;
---------------------------------------------------------------------------------------------------
DROP TABLE IF EXISTS species_lists.status CASCADE;
CREATE TABLE species_lists.status
(
spp_id varchar(255) NOT NULL,
state varchar(255) NOT NULL,
fed_status varchar(255),
state_status varchar(255),
fed_notes varchar(1000),
state_notes varchar(1000),
fed_source_id varchar(1000),
state_source_id varchar(1000)
);
ALTER TABLE species_lists.status
ADD CONSTRAINT status_pkey PRIMARY KEY (spp_id, state);
COMMIT;
DROP TABLE IF EXISTS species_lists.status_raw CASCADE;
CREATE TABLE species_lists.status_raw
(
genus varchar(255),
sp varchar(255),
subsp varchar(255),
state varchar(255),
federal_status varchar(1000),
state_status varchar(1000),
notes varchar(1000),
state_source varchar(1000)
);
ALTER TABLE species_lists.status_raw
ADD CONSTRAINT status_raw_pkey PRIMARY KEY (genus,sp,subsp,state);
COMMIT;
| true |
70cf61128a932a96a677a2c19b5b2dddd6aa6369 | SQL | ttzhanghuiyuan/leshare | /sql/school.sql | UTF-8 | 361 | 2.765625 | 3 | [
"MIT"
] | permissive | create table ls_school(
id int primary key auto_increment comment 'ID',
school_name varchar(255) comment '学校名称',
create_time int default 0 comment '创建日期',
update_time int default 0 comment '修改时间',
delete_flag tinyint default 2 comment '删除标识1删除2未删除'
) ENGINE=InnoDB CHARSET=utf8 COMMENT='校区表';
| true |
402d3cbb9ea52f990f4490ed7d6baf617d3eeab4 | SQL | onlinekof2001/Oracle_Auto_Scripts | /oracle_scripts/rdk_switch_interactif_v20.sql | UTF-8 | 2,258 | 3.09375 | 3 | [] | no_license | --------------------------------------------------------------------------------
-- AUTHOR: Pierre-Marie Petit
-- VALIDATOR:
-- SCRIPT: rdk_hold_flows.sql
-- SYNOPSIS: hold flows
-- USAGE: sqlplus -S -L /nolog @rdk_switch_interactif.sql
-- PARAMETERS:
-- Version
-- 1.0 Creation 20/04/2016
--------------------------------------------------------------------------------
whenever sqlerror EXIT SQL.SQLCODE
set verify off
set serveroutput on
set lines 512
--. /RUNDECK/rundeck_scripts/ORACLE_DB/bash_profile && /usr/bin/sqlplus64 -S -L /nolog @rdk_disable_interactif.sql ${option.20_source_tns} ${option.40_target_tns} ${option.50_numtiers} ${option.10_pool_source} ${option.30_pool_target} /tmp ${option.60_dryrun}
define numtiers=&1
define pool=&2
define status=&3
define output_folder=&4
define dryrun=&5
--testing connection part
whenever sqlerror EXIT SQL.SQLCODE
column horodateur heading "horodateur" new_value horodateur;
select to_char(sysdate,'YYYY_MM_DD_HH24_MI_SS') as horodateur from dual;
whenever sqlerror CONTINUE
set serveroutput on
set feed off
set head on
column stcom_schema heading "stcom_schema" new_value stcom_schema;
select owner stcom_schema from dba_tables where table_name=upper('id_schema_stcom') and rownum=1 and (owner='STCOM' or owner ='STCOM&pool.');
update &stcom_schema..parametres_detail
set par_valeur_parametre_alpha = '&status.', par_date_upd = sysdate, par_user_upd = 'movpos'
where par_code_application = 'IHM_STORES'
and par_code_parametre = 'ACCES'
and tir_num_tiers_tir = &numtiers.
and tir_sous_num_tiers_tir = &numtiers.
and tti_num_type_tiers_tir = 7
;
set lines 500
select TIR_NUM_TIERS_TIR,PAR_VALEUR_PARAMETRE_ALPHA from &stcom_schema..parametres_detail p
where par_code_application = 'IHM_STORES'
and par_code_parametre = 'ACCES'
and tir_num_tiers_tir = &numtiers.
and tir_sous_num_tiers_tir = &numtiers.
and tti_num_type_tiers_tir = 7
;
select to_char(sysdate,'YYYY_MM_DD_HH24_MI_SS') as horodateur from dual;
set echo off
set serveroutput on
declare
dryrun varchar(10):='&dryrun.';
begin
if (dryrun='true') then
rollback;
dbms_output.put_line('rollbacked');
else
commit;
dbms_output.put_line('commited');
end if;
end;
/
prompt Finished.....................
exit
| true |
7be75a5bf7912f08c609856d6cd1aad251d2715f | SQL | saurabhshukla01/Localhost_database_dump | /laraveldemo.sql | UTF-8 | 2,379 | 2.828125 | 3 | [] | no_license | -- phpMyAdmin SQL Dump
-- version 4.9.0.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Apr 13, 2020 at 06:22 AM
-- Server version: 10.4.6-MariaDB
-- PHP Version: 7.2.22
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: `laraveldemo`
--
-- --------------------------------------------------------
--
-- Table structure for table `students`
--
CREATE TABLE `students` (
`id` int(10) NOT NULL,
`sname` varchar(50) NOT NULL,
`standerd` int(10) NOT NULL,
`created_at` timestamp(6) NOT NULL DEFAULT current_timestamp(6),
`updated_at` timestamp(6) NOT NULL DEFAULT current_timestamp(6)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `students`
--
INSERT INTO `students` (`id`, `sname`, `standerd`, `created_at`, `updated_at`) VALUES
(1, 'Saurabh', 12, '2020-01-25 12:50:54.000000', '2020-01-25 12:50:54.000000'),
(2, 'Rana Kumar', 10, '2020-01-25 12:52:04.000000', '2020-01-25 12:52:04.000000'),
(3, 'Rana', 10, '2020-01-25 22:43:54.000000', '2020-01-25 22:43:54.000000'),
(4, 'Rana', 10, '2020-01-25 22:44:00.000000', '2020-01-25 22:44:00.000000'),
(5, 'Rana', 10, '2020-01-25 22:44:03.000000', '2020-01-25 22:44:03.000000'),
(6, 'Rana', 10, '2020-01-25 22:44:06.000000', '2020-01-25 22:44:06.000000'),
(7, 'vijay', 10, '2020-01-26 04:20:46.045025', '2020-01-26 04:20:46.045025'),
(8, 'jiger', 6, '2020-01-26 04:32:32.406479', '2020-01-26 04:32:32.406479'),
(9, 'sharama', 6, '2020-01-26 06:08:24.105012', '2020-01-26 06:08:24.105012'),
(10, 'ram', 6, '2020-01-26 06:51:34.585784', '2020-01-26 06:51:34.585784');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `students`
--
ALTER TABLE `students`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `students`
--
ALTER TABLE `students`
MODIFY `id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;
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 |
4ce495078cf219ad4e197063fa1d0fe0053b5eb3 | SQL | thinhphamcs/demos | /week2/scripts/joins.sql | UTF-8 | 3,171 | 4.78125 | 5 | [] | no_license | --INNER JOIN: Selects all rows from both tables that have a matching common key.
--LEFT JOIN: Uses all rows of the table on the left side and finds matching rows from the table on the right side.
--RIGHT JOIN: Uses all rows of the table on the right side and finds matching rows from the table on the left side.
--FULL JOIN: Combines all rows from both tables.
/*
* Join Types
* - INNER
* + FULL
* + RIGHT
* + LEFT
*
* - OUTER
* + FULL
* + RIGHT
* + LEFT
*
* - SELF
*
* - CROSS
*
* -----------------------------
*
* - Theta Joins (when your ON clause uses an arbitrary comparison <, >, >=, <= etc
* - Equi Joins (theta joins that uses the equality operator (=)
* - Natural join (the join occurs on a column whose name is shared between both tables - lets us do USING)
*/
SELECT * FROM "Artist";
SELECT * FROM "Album";
SELECT * FROM "Employee";
-- INNER JOIN
-- we will use "nicknames" for each table-- the INNER JOIN sleects all rows from both participating
SELECT alb."AlbumId", alb."Title", art."Name" AS artist
FROM "Album" alb
JOIN "Artist" art
ON alb."ArtistId" = art."ArtistId";
-- NATURAL INNER JOIN
-- the two tables being joined share a column with the exact same name
SELECT alb."AlbumId", alb."Title", art."Name" AS artist
FROM "Album" alb
JOIN "Artist" art
USING("ArtistId");
-- SELF JOINS
-- joining on another record within the same table
SELECT e1."FirstName", e1."LastName", e1."Title", e2."FirstName" AS boss_fn, e2."LastName" AS boss_ln, e2."Title" AS boss_title
FROM "Employee" e1
JOIN "Employee" e2
ON e1."ReportsTo" = e2."EmployeeId";
-- create VIEW to simplify
CREATE VIEW employee_relations AS
SELECT e1."FirstName", e1."LastName", e1."Title", e2."FirstName" AS boss_fn, e2."LastName" AS boss_ln, e2."Title" AS boss_title
FROM "Employee" e1
JOIN "Employee" e2
ON e1."ReportsTo" = e2."EmployeeId";
SELECT * FROM employee_relations;
-- Multi-Table Joins (x3)
SELECT
t."Name" AS track_name,
alb."Title" AS album_title,
art."Name" AS artist_name
FROM "Track" t
JOIN "Album" alb
USING ("AlbumId")
JOIN "Artist" art
USING ("ArtistId")
ORDER BY artist_name DESC;
SELECT * FROM "Track";
SELECT * FROM "InvoiceLine";
-- LEFT -JOIN
SELECT a."TrackId", a."Name", a."Composer" , b."InvoiceLineId", b."InvoiceId"
FROM "Track" AS a
LEFT JOIN "InvoiceLine" AS b
ON a."TrackId" = b."TrackId";
-- If there are are left side values with no matching rows on the right, then a null value will fill
-- https://towardsdatascience.com/sql-join-8212e3eb9fde
SELECT * FROM chinook."Genre";
-- Subqueries / nested queries
-- we will use a subquery to find all genres that start with R
-- and their genre ID is greater than 6
-- shout out to Thinh!
SELECT r_genres.*
FROM (
SELECT * FROM "Genre"
WHERE "Name" LIKE 'R%'
) AS r_genres
WHERE r_genres."GenreId" > 6;
-- where the length of the name < 6
-- further nest this query
SELECT r_less_than_6id.*
FROM
( SELECT r_genres.*
FROM (
SELECT * FROM "Genre"
WHERE "Name" LIKE 'R%'
) AS r_genres
WHERE r_genres."GenreId" > 6) AS r_less_than_6id
WHERE LENGTH("Name") < 7;
| true |
ba0509880efb898477fad67b24a3691dd164d008 | SQL | siminitchi/tekwill | /lesson 11/24.10.18.sql | UTF-8 | 7,472 | 4.3125 | 4 | [] | no_license | select last_name || ' ' || first_name "Nume Prenume Angajat"
,job_title
,department_id
from employees
join jobs
using(job_id)
where department_id=80
order by 1;
select last_name || ' ' || first_name "Nume Prenume Angajat"
,job_title
,department_id
from employees a
join jobs b
on a.job_id=b.job_id
where department_id=80
order by 1;
select last_name || ' ' || first_name "Nume Prenume Angajat"
,job_title
,department_id
from employees
natural join jobs
where department_id=80;
select * from countries;
select * from locations;
select * from departments;
select country_name
,city
,department_name
,street_address
from locations a
join countries b
on a.country_id=b.country_id
join departments c
on a.location_id=c.location_id;
--ex 11
select department_name
,last_name || ' ' || first_name "Nume Manager"
from employees a
right join departments b
on b.manager_id=a.employee_id;
select * from departments;
select * from jobs;
select job_id
,avg(salary)
from employees
group by job_id;
-- ex 12
select job.job_title
,avg(emp.salary) Salariu
from employees emp
join jobs job
on emp.job_id=job.job_id
group by job.job_title;
--ex 13
select job.job_title
,emp.salary
from jobs job
join employees emp
on emp.job_id=job.job_id
where emp.salary>=12000;
select * from job_history;
select job_id
,salary
from employees
join job_history
using (employee_id)
where salary>=12000;
select * from departments;
--ex 14
select dep.department_name "Departament"
,emp.last_name || ' ' || emp.first_name
,loc.city
from employees emp
join departments dep
on emp.employee_id=dep.manager_id
join locations loc
on loc.location_id=dep.location_id;
--15)
--Scrieti un select pentru a afisa numele angajatului, numele jobului si numarul de zile
--lucrate doar pentru joburile din departamanetul 80.
select last_name || ' ' || first_name "Nume Angajat"
,job_title
, trunc(sysdate - hire_date) "Numarul de Zile lucrate"
from employees
join jobs
using(job_id)
where department_id=80;
select * from departments
where location_id=2400;
--Afisati numele complet,departamentul si salariul acelor angajati care lucreaza in
--careva departamente locate in Londra.
select last_name || ' ' || first_name
,department_name
,salary
,city
from employees
join departments using (department_id)
join locations using(location_id)
where city='London';
select * from departments;
--17)Afisati citi angajati sunt in fiecare departament
select department_name " Departamente"
,count(employee_id) " Nr de angajati"
from employees
join departments using(department_id)
group by department_name;
select *
from employees
where hire_date>
(select hire_date
from employees
where last_name='Davies');
select *
from employees
where hire_date
in(select hire_date
from employees
where first_name='Peter');
select *
from employees
where salary<
(select salary
from employees
where last_name='Davies');
select salary,job_id,first_name from employees where last_name='Taylor';
select *
from employees
where job_id=
(select job_id
from employees
where last_name='Taylor'
and first_name='Winston')
and salary >
(select salary
from employees
where last_name='Taylor'
and first_name='Winston');
select *
from employees
where salary>=(select avg(salary) from employees);
select * from employees
where salary<=(select avg(salary) from employees where department_id=80)
and department_id=80;
select department_id
,min(salary)
from employees
group by department_id
having min(salary)<=
(select min(salary)
from employees
where department_id=80)
order by 1;
select * from departments a left join employees b
on a.department_id=b.department_id
where b.employee_id is null;
select department_name
,count(employee_id)
,count(*)
from departments a
left join employees b
on a.department_id=b.department_id
group by department_name
order by 2;
select * from employees where salary in(select min(salary) from employees group by department_id);
select * from employees;
-- exercitiul 1 lecti a 8
-- cum sa fac sa nu-l afiseze pe el?
undefine name
select last_name
,hire_date
from employees
where department_id
in(select department_id
from employees
where last_name='&&name')
and last_name!='&name';
--exercitiul 2
select employee_id
,last_name
,salary
from employees
where salary>
(select avg(salary)
from employees);
--exercitiul 3
select employee_id
,last_name
from employees
where department_id
in(select department_id
from employees
where last_name like '%u%');
select * from locations where location_id=1700;
select * from departments ;
select last_name
,department_id
,job_id
from employees
where department_id
in(select department_id
from departments
where location_id=1700);
-- and manager_id is not null);
select last_name
,department_id
,job_id
from employees
where department_id
in(select department_id
from departments
where location_id=&location);
select last_name
,salary
from employees
where manager_id in(select employee_id
from employees
where last_name='King');
select * from employees where manager_id=156;
select department_id
,last_name
,job_id
from employees
where department_id=
(select department_id
from departments
where department_name='Executive');
select last_name
,salary
from employees
where salary>
(select max(salary)
from employees
where department_id=60);
select employee_id
,last_name
,salary
from employees
where department_id
in(select department_id
from employees
where last_name like '%u%')
and salary>
(select avg(salary)
from employees);
| true |
d922379432871cca583886786267b7f10754c411 | SQL | Katsarov/DB | /07.Subqueries_And_Joins_Excersise/11_MinAverageSalary.sql | UTF-8 | 386 | 4.15625 | 4 | [
"MIT"
] | permissive | SELECT TOP(1)
(SELECT AVG(Salary)
FROM Employees e
WHERE e.DepartmentID = d.DepartmentID) AS MinAverageSalary
FROM Departments d
ORDER BY MinAverageSalary
-- 2nd Solution (using GROUP BY)
SELECT TOP(1) AVG(Salary) AS MinAverageSalary
FROM Employees e
JOIN Departments d ON d.DepartmentID = e.DepartmentID
GROUP BY e.DepartmentID
ORDER BY MinAverageSalary | true |
0046fc5fc416047bcba5ab3af9d835c4bf7f4ace | SQL | dougreisss/Cuida-Em-Casa | /banco/procedureHomecare.sql | UTF-8 | 155,246 | 3.5625 | 4 | [] | no_license | DELIMITER $$
/* PROCEDURES PARA TODOS OS USUÁRIOS */
/* Procedure criada para verificar login */
DROP PROCEDURE IF EXISTS cadastroCliente$$
CREATE PROCEDURE cadastroCliente(vEmailUsuario VARCHAR(200), vNomeUsuario VARCHAR(200),
vTelefoneUsuario VARCHAR(15), vCpfUsuario VARCHAR(15), vSenhaUsuario VARCHAR(128))
BEGIN
insert into
usuario (nm_email_usuario, nm_usuario, cd_telefone, cd_CPF, nm_senha, cd_tipo_usuario)
values
(vEmailUsuario, vNomeUsuario, vTelefoneUsuario, vCpfUsuario, md5(vSenhaUsuario), 2);
END$$
DROP PROCEDURE IF EXISTS cadastroCuidador$$
CREATE PROCEDURE cadastroCuidador(vEmailUsuario VARCHAR(200), vNomeUsuario VARCHAR(200), vTelefoneUsuario VARCHAR(15),vCpfUsuario VARCHAR(15), vSenhaUsuario VARCHAR(128), vImgUsuario LONGBLOB, vCdGenero INT, vLinkCurriculo TEXT, vDescricaoCuidador TEXT, vValorHora DECIMAL(10, 2), vDescricaoEspecializacao TEXT)
BEGIN
insert into usuario (nm_email_usuario, nm_usuario, cd_CPF, cd_telefone, nm_senha, img_usuario, vl_hora_trabalho, cd_link_curriculo, ds_experiencia_usuario,
ds_usuario, cd_tipo_usuario, cd_genero, cd_situacao_usuario)
values (vEmailUsuario, vNomeUsuario, vCpfUsuario, vTelefoneUsuario, md5(vSenhaUsuario), vImgUsuario, vValorHora,
vLinkCurriculo, vDescricaoEspecializacao, vDescricaoCuidador, 3, vCdGenero, 2);
END$$
/* Procedure será usada para cadastrar as especializações do cuidador dentro de um for */
DROP PROCEDURE IF EXISTS cadastrarEspecializacoes$$
CREATE PROCEDURE cadastrarEspecializacoes(vEspecializacao INT, vEmailCuidador VARCHAR(200))
BEGIN
INSERT INTO
especializacao_usuario
VALUES
(vEspecializacao, vEmailCuidador);
END$$
DROP PROCEDURE IF EXISTS deletarEspecializacoes$$
CREATE PROCEDURE deletarEspecializacoes(vEmailCuidador VARCHAR(200))
BEGIN
delete from
especializacao_usuario
where
nm_email_usuario = vEmailCuidador;
END$$
DROP PROCEDURE IF EXISTS verificarLogin$$
CREATE PROCEDURE verificarLogin(vEmailUsuario VARCHAR(200), vSenha VARCHAR(128))
BEGIN
SELECT
nm_email_usuario, cd_tipo_usuario, cd_situacao_usuario
FROM
usuario
WHERE
nm_email_usuario = vEmailUsuario
AND
nm_senha = MD5(vSenha);
END$$
/* Procedure criada para alteração de senha */
DROP PROCEDURE IF EXISTS alterarSenha$$
CREATE PROCEDURE alterarSenha(vNovaSenha VARCHAR(128), vEmailUsuario VARCHAR(200))
BEGIN
UPDATE
usuario
SET
nm_senha = md5(vNovaSenha)
WHERE
nm_email_usuario = vEmailUsuario;
END$$
DROP PROCEDURE IF EXISTS verificarSenha$$
CREATE PROCEDURE verificarSenha(vEmailUsuario VARCHAR(200), vSenhaAtual VARCHAR(128))
BEGIN
SELECT
md5(nm_senha)
FROM
usuario
WHERE
nm_email_usuario = vEmailUsuario
AND
nm_senha = md5(vSenhaAtual);
END$$
/* Procedure criada para gerar ocorrência */
DROP PROCEDURE IF EXISTS gerarOcorrencia$$
CREATE PROCEDURE gerarOcorrencia(vCodigo INT, vDsOcorrencia TEXT, vEmailUsuario VARCHAR(200), vCodigoServico INT, vCodigoTipoOcorrencia INT)
BEGIN
INSERT INTO
ocorrencia
VALUES
(vCodigo, vDsOcorrencia, current_date(), 0,vEmailUsuario, vCodigoServico, vCodigoTipoOcorrencia);
END$$
/* CRIAÇÃO DE FUNCTIONS */
/* PROCEDURES PARA O FUNCIONAMENTO DO AGENDAMENTO DE SERVIÇO */
/* Procedure buscarPaciente será usada para encontrar o nome e código do cliente, pelo email do cliente */
DROP PROCEDURE IF EXISTS buscarPacientes$$
CREATE PROCEDURE buscarPacientes(vEmailUsuario VARCHAR(100))
BEGIN
SELECT
cd_paciente, nm_paciente,
nm_cidade_paciente, nm_uf_paciente,
img_paciente
FROM
paciente
WHERE
nm_email_usuario = vEmailUsuario;
END$$
/* Procedure buscarEnderecoPaciente será usada para buscar todas as informações do endereço do paciente */
DROP PROCEDURE IF EXISTS buscarEnderecoPaciente$$
CREATE PROCEDURE buscarEnderecoPaciente(vCodigoPaciente INT)
BEGIN
select
nm_cidade_paciente, nm_rua_paciente, cd_num_paciente,
nm_uf_paciente, nm_complemento_paciente, nm_bairro_cidade,
cd_CEP_paciente
from
paciente
where
cd_paciente = vCodigoPaciente;
END$$
/* Procedure alterarEnderecoPaciente será usada para salvar um novo endereco que ocorrerá o serviço*/
DROP PROCEDURE IF EXISTS alterarEnderecoPaciente$$
CREATE PROCEDURE alterarEnderecoPaciente(vCep VARCHAR(12), vCidade VARCHAR(200), vBairro VARCHAR(200), vRua VARCHAR(200), vNum INT, vUf VARCHAR(200), vComplemento VARCHAR(100), vCodigoPaciente INT)
BEGIN
UPDATE
paciente
SET
cd_CEP_paciente = vCep, nm_cidade_paciente = vCidade, nm_bairro_cidade = vBairro,
nm_rua_paciente = vRua, cd_num_paciente = vNum, nm_uf_paciente = vUf,
nm_complemento_paciente = vComplemento
WHERE
cd_paciente = vCodigoPaciente;
END$$
/* Function crriada para buscar a quantidade de serviços que um cuidador tem em dia específico para a busca dele no agendamento */
DROP FUNCTION IF EXISTS qtdServicoHorario$$
CREATE FUNCTION qtdServicoHorario(vEmailCuidador VARCHAR(200), vDataServico DATE, vHoraInicio TIME, vHoraFim TIME) RETURNS INT
BEGIN
DECLARE qtdServico INT;
SELECT
COUNT(cd_servico) INTO qtdServico
FROM
servico
WHERE
(nm_email_usuario_cuidador = vEmailCuidador AND dt_inicio_servico = vDataServico AND vHoraInicio BETWEEN hr_inicio_servico AND hr_fim_servico)
OR
(nm_email_usuario_cuidador = vEmailCuidador AND dt_inicio_servico = vDataServico AND vHoraFim BETWEEN hr_inicio_servico AND hr_fim_servico);
RETURN qtdServico;
END$$
/* Procedure buscarCuidadres será usada para buscar os cuidadores aptos para aqueles dias e horas de serviço escolhido pelo cliente */
DROP PROCEDURE IF EXISTS buscarCuidadores$$
CREATE PROCEDURE buscarCuidadores(vDataServico DATE, vHoraInicio TIME, vHoraFim TIME)
BEGIN
SELECT
u.nm_email_usuario, u.img_usuario, u.nm_usuario,
u.vl_hora_trabalho, u.cd_avaliacao,
buscarEspecializacao(u.nm_email_usuario) AS Especializações,
qtdServicoHorario(u.nm_email_usuario, vDataServico, vHoraInicio, vHoraFim)
FROM
usuario u
JOIN
disponibilidade d
ON
(u.nm_email_usuario = d.nm_email_usuario)
JOIN
especializacao_usuario eu
ON
(u.nm_email_usuario = eu.nm_email_usuario)
JOIN
tipo_especializacao te
ON
(eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
WHERE
d.dt_disponibilidade = vDataServico
AND
d.hr_inicio_disponibilidade <= vHoraInicio
AND
d.hr_fim_disponibilidade >= vHoraFim
AND
cd_situacao_usuario = 1
GROUP BY
u.nm_email_usuario;
END$$
/* Procedure buscarCuidadres será usada para buscar os cuidadores aptos para aqueles dias e horas de serviço escolhido pelo cliente (virou o dia) */
DROP PROCEDURE IF EXISTS buscarCuidadoresVirarDia$$
CREATE PROCEDURE buscarCuidadoresVirarDia(vDataServico DATE, vHoraInicio TIME, vHoraFim TIME)
BEGIN
SELECT
u.nm_email_usuario, u.img_usuario, u.nm_usuario,
u.vl_hora_trabalho, u.cd_avaliacao,
GROUP_CONCAT(te.nm_tipo_especializacao) AS Especializações,
qtdServicoHorario(u.nm_email_usuario, vDataServico, vHoraInicio, vHoraFim)
FROM
usuario u
JOIN
disponibilidade d
ON
(u.nm_email_usuario = d.nm_email_usuario)
JOIN
especializacao_usuario eu
ON
(u.nm_email_usuario = eu.nm_email_usuario)
JOIN
tipo_especializacao te
ON
(eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
WHERE
dt_disponibilidade = vDataServico
AND
hr_inicio_disponibilidade <= vHoraInicio
AND
hr_fim_disponibilidade >= vHoraFim
AND
cd_situacao_usuario = 1
AND EXISTS
(
SELECT
u.nm_usuario, u.vl_hora_trabalho, d.*
FROM
usuario u
JOIN
disponibilidade d
ON
(u.nm_email_usuario = d.nm_email_usuario )
WHERE
dt_disponibilidade = DATE_ADD(vDataServico, INTERVAL 1 DAY)
AND
hr_inicio_disponibilidade >= '00:00:00' AND hr_fim_disponibilidade >= '01:00:00'
)
GROUP BY
u.nm_email_usuario;
END$$
/*Procedure confirmarPedido*/
DROP PROCEDURE IF EXISTS confirmarPedido$$
CREATE PROCEDURE confirmarPedido(vCdServico VARCHAR(200))
BEGIN
UPDATE
servico
SET
cd_status_servico = 5
WHERE
cd_servico = vCdServico;
END$$
/* function criada para buscar as especializações de cada cuidador refente ao código */
DROP FUNCTION IF EXISTS buscarEspecializacao$$
CREATE FUNCTION buscarEspecializacao(vEmailCuidador VARCHAR(200)) RETURNS TEXT
BEGIN
DECLARE nomeEspecializacao TEXT;
SELECT
GROUP_CONCAT(te.nm_tipo_especializacao) INTO nomeEspecializacao
FROM
tipo_especializacao te
JOIN
especializacao_usuario eu
ON
(te.cd_tipo_especializacao = eu.cd_tipo_especializacao)
WHERE
eu.nm_email_usuario = vEmailCuidador
GROUP BY
eu.nm_email_usuario;
RETURN nomeEspecializacao;
END$$
/* Procedure filtrarCuidadores será usada caso o cliente queira buscar o cuidador pelas opções do filtro */
DROP PROCEDURE IF EXISTS filtrarCuidadores$$
CREATE PROCEDURE filtrarCuidadores(vDataServico DATE, vHoraInicio TIME, vHoraFim TIME, vE BOOL, vP BOOL, vA BOOl, vG BOOl, vEspecializacao INT, vPreco DECIMAL(10, 2), vAvaliacao DECIMAL(10, 2), vGenero VARCHAR(100))
BEGIN
SET @decimalVPreco := cast(vPreco as decimal(10,2));
SET @intAvaliacao := cast(vAvaliacao as unsigned);
IF (vE = TRUE) THEN
IF (vP = TRUE) THEN
IF (vA = TRUE) THEN
IF (vG = TRUE) THEN
SELECT u.nm_email_usuario, u.img_usuario, u.nm_usuario,
u.vl_hora_trabalho, u.cd_avaliacao,
buscarEspecializacao(u.nm_email_usuario) AS Especializações,
qtdServicoHorario(u.nm_email_usuario, vDataServico, vHoraInicio, vHoraFim)
FROM usuario u
JOIN disponibilidade d
ON (u.nm_email_usuario = d.nm_email_usuario )
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
WHERE d.dt_disponibilidade = vDataServico
AND d.hr_inicio_disponibilidade <= vHoraInicio
AND d.hr_fim_disponibilidade >= vHoraFim
AND eu.cd_tipo_especializacao LIKE vEspecializacao
AND u.vl_hora_trabalho <= @decimalVPreco
AND u.cd_avaliacao >= @intAvaliacao
AND tp.nm_genero = vGenero
AND u.cd_situacao_usuario = 1
GROUP BY u.nm_email_usuario;
ELSE
SELECT u.nm_email_usuario, u.img_usuario, u.nm_usuario,
u.vl_hora_trabalho, u.cd_avaliacao,
buscarEspecializacao(u.nm_email_usuario) AS Especializações,
qtdServicoHorario(u.nm_email_usuario, vDataServico, vHoraInicio, vHoraFim)
FROM usuario u
JOIN disponibilidade d
ON (u.nm_email_usuario = d.nm_email_usuario )
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
WHERE d.dt_disponibilidade = vDataServico
AND d.hr_inicio_disponibilidade <= vHoraInicio
AND d.hr_fim_disponibilidade >= vHoraFim
AND eu.cd_tipo_especializacao LIKE vEspecializacao
AND u.vl_hora_trabalho <= @decimalVPreco
AND u.cd_avaliacao >= @intAvaliacao
AND u.cd_situacao_usuario = 1
GROUP BY u.nm_email_usuario;
END IF;
ELSE
IF (vG = TRUE) THEN
SELECT u.nm_email_usuario, u.img_usuario, u.nm_usuario,
u.vl_hora_trabalho, u.cd_avaliacao,
buscarEspecializacao(u.nm_email_usuario) AS Especializações,
qtdServicoHorario(u.nm_email_usuario, vDataServico, vHoraInicio, vHoraFim)
FROM usuario u
JOIN disponibilidade d
ON (u.nm_email_usuario = d.nm_email_usuario )
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
WHERE d.dt_disponibilidade = vDataServico
AND d.hr_inicio_disponibilidade <= vHoraInicio
AND d.hr_fim_disponibilidade >= vHoraFim
AND eu.cd_tipo_especializacao LIKE vEspecializacao
AND u.vl_hora_trabalho <= @decimalVPreco
AND tp.nm_genero = vGenero
AND u.cd_situacao_usuario = 1
GROUP BY u.nm_email_usuario;
ELSE
SELECT u.nm_email_usuario, u.img_usuario, u.nm_usuario,
u.vl_hora_trabalho, u.cd_avaliacao,
buscarEspecializacao(u.nm_email_usuario) AS Especializações,
qtdServicoHorario(u.nm_email_usuario, vDataServico, vHoraInicio, vHoraFim)
FROM usuario u
JOIN disponibilidade d
ON (u.nm_email_usuario = d.nm_email_usuario )
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
WHERE d.dt_disponibilidade = vDataServico
AND d.hr_inicio_disponibilidade <= vHoraInicio
AND d.hr_fim_disponibilidade >= vHoraFim
AND eu.cd_tipo_especializacao LIKE vEspecializacao
AND u.vl_hora_trabalho <= @decimalVPreco
AND u.cd_situacao_usuario = 1
GROUP BY u.nm_email_usuario;
END IF;
END IF;
ELSE
IF (vA = TRUE) THEN
IF (vG = TRUE) THEN
SELECT u.nm_email_usuario, u.img_usuario, u.nm_usuario,
u.vl_hora_trabalho, u.cd_avaliacao,
buscarEspecializacao(u.nm_email_usuario) AS Especializações,
qtdServicoHorario(u.nm_email_usuario, vDataServico, vHoraInicio, vHoraFim)
FROM usuario u
JOIN disponibilidade d
ON (u.nm_email_usuario = d.nm_email_usuario )
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
WHERE d.dt_disponibilidade = vDataServico
AND d.hr_inicio_disponibilidade <= vHoraInicio
AND d.hr_fim_disponibilidade >= vHoraFim
AND eu.cd_tipo_especializacao LIKE vEspecializacao
AND u.cd_avaliacao >= @intAvaliacao
AND tp.nm_genero = vGenero
AND u.cd_situacao_usuario = 1
GROUP BY u.nm_email_usuario;
ELSE
SELECT u.nm_email_usuario, u.img_usuario, u.nm_usuario,
u.vl_hora_trabalho, u.cd_avaliacao,
buscarEspecializacao(u.nm_email_usuario) AS Especializações,
qtdServicoHorario(u.nm_email_usuario, vDataServico, vHoraInicio, vHoraFim)
FROM usuario u
JOIN disponibilidade d
ON (u.nm_email_usuario = d.nm_email_usuario )
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
WHERE d.dt_disponibilidade = vDataServico
AND d.hr_inicio_disponibilidade <= vHoraInicio
AND d.hr_fim_disponibilidade >= vHoraFim
AND eu.cd_tipo_especializacao LIKE vEspecializacao
AND u.cd_avaliacao >= @intAvaliacao
AND u.cd_situacao_usuario = 1
GROUP BY u.nm_email_usuario;
END IF;
ELSE
IF (vG = TRUE) THEN
SELECT u.nm_email_usuario, u.img_usuario, u.nm_usuario,
u.vl_hora_trabalho, u.cd_avaliacao,
buscarEspecializacao(u.nm_email_usuario) AS Especializações,
qtdServicoHorario(u.nm_email_usuario, vDataServico, vHoraInicio, vHoraFim)
FROM usuario u
JOIN disponibilidade d
ON (u.nm_email_usuario = d.nm_email_usuario )
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
WHERE d.dt_disponibilidade = vDataServico
AND d.hr_inicio_disponibilidade <= vHoraInicio
AND d.hr_fim_disponibilidade >= vHoraFim
AND eu.cd_tipo_especializacao LIKE vEspecializacao
AND tp.nm_genero = vGenero
AND u.cd_situacao_usuario = 1
GROUP BY u.nm_email_usuario;
ELSE
SELECT u.nm_email_usuario, u.img_usuario, u.nm_usuario,
u.vl_hora_trabalho, u.cd_avaliacao,
buscarEspecializacao(u.nm_email_usuario) AS Especializações,
qtdServicoHorario(u.nm_email_usuario, vDataServico, vHoraInicio, vHoraFim)
FROM usuario u
JOIN disponibilidade d
ON (u.nm_email_usuario = d.nm_email_usuario )
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
WHERE d.dt_disponibilidade = vDataServico
AND d.hr_inicio_disponibilidade <= vHoraInicio
AND d.hr_fim_disponibilidade >= vHoraFim
AND eu.cd_tipo_especializacao LIKE vEspecializacao
AND u.cd_situacao_usuario = 1
GROUP BY u.nm_email_usuario;
END IF;
END IF;
END IF;
ELSE
IF (vP = TRUE) THEN
IF (vA = TRUE) THEN
IF (vG = TRUE) THEN
SELECT u.nm_email_usuario, u.img_usuario, u.nm_usuario,
u.vl_hora_trabalho, u.cd_avaliacao,
buscarEspecializacao(u.nm_email_usuario) AS Especializações,
qtdServicoHorario(u.nm_email_usuario, vDataServico, vHoraInicio, vHoraFim)
FROM usuario u
JOIN disponibilidade d
ON (u.nm_email_usuario = d.nm_email_usuario )
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
WHERE d.dt_disponibilidade = vDataServico
AND d.hr_inicio_disponibilidade <= vHoraInicio
AND d.hr_fim_disponibilidade >= vHoraFim
AND u.vl_hora_trabalho <= @decimalVPreco
AND u.cd_avaliacao >= @intAvaliacao
AND tp.nm_genero = vGenero
AND u.cd_situacao_usuario = 1
GROUP BY u.nm_email_usuario;
ELSE
SELECT u.nm_email_usuario, u.img_usuario, u.nm_usuario,
u.vl_hora_trabalho, u.cd_avaliacao,
buscarEspecializacao(u.nm_email_usuario) AS Especializações,
qtdServicoHorario(u.nm_email_usuario, vDataServico, vHoraInicio, vHoraFim)
FROM usuario u
JOIN disponibilidade d
ON (u.nm_email_usuario = d.nm_email_usuario )
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
WHERE d.dt_disponibilidade = vDataServico
AND d.hr_inicio_disponibilidade <= vHoraInicio
AND d.hr_fim_disponibilidade >= vHoraFim
AND u.vl_hora_trabalho <= @decimalVPreco
AND u.cd_avaliacao >= @intAvaliacao
AND u.cd_situacao_usuario = 1
GROUP BY u.nm_email_usuario;
END IF;
ELSE
IF (vG = TRUE) THEN
SELECT u.nm_email_usuario, u.img_usuario, u.nm_usuario,
u.vl_hora_trabalho, u.cd_avaliacao,
buscarEspecializacao(u.nm_email_usuario) AS Especializações,
qtdServicoHorario(u.nm_email_usuario, vDataServico, vHoraInicio, vHoraFim)
FROM usuario u
JOIN disponibilidade d
ON (u.nm_email_usuario = d.nm_email_usuario )
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
WHERE d.dt_disponibilidade = vDataServico
AND d.hr_inicio_disponibilidade <= vHoraInicio
AND d.hr_fim_disponibilidade >= vHoraFim
AND u.vl_hora_trabalho <= @decimalVPreco
AND tp.nm_genero = vGenero
AND u.cd_situacao_usuario = 1
GROUP BY u.nm_email_usuario;
ELSE
SELECT u.nm_email_usuario, u.img_usuario, u.nm_usuario,
u.vl_hora_trabalho, u.cd_avaliacao,
buscarEspecializacao(u.nm_email_usuario) AS Especializações,
qtdServicoHorario(u.nm_email_usuario, vDataServico, vHoraInicio, vHoraFim)
FROM usuario u
JOIN disponibilidade d
ON (u.nm_email_usuario = d.nm_email_usuario )
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
WHERE d.dt_disponibilidade = vDataServico
AND d.hr_inicio_disponibilidade <= vHoraInicio
AND d.hr_fim_disponibilidade >= vHoraFim
AND u.vl_hora_trabalho = @decimalVPreco
AND u.cd_situacao_usuario = 1
GROUP BY u.nm_email_usuario;
END IF;
END IF;
ELSE
IF (vA = TRUE) THEN
IF (vG = TRUE) THEN
SELECT u.nm_email_usuario, u.img_usuario, u.nm_usuario,
u.vl_hora_trabalho, u.cd_avaliacao,
buscarEspecializacao(u.nm_email_usuario) AS Especializações,
qtdServicoHorario(u.nm_email_usuario, vDataServico, vHoraInicio, vHoraFim)
FROM usuario u
JOIN disponibilidade d
ON (u.nm_email_usuario = d.nm_email_usuario )
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
WHERE d.dt_disponibilidade = vDataServico
AND d.hr_inicio_disponibilidade <= vHoraInicio
AND d.hr_fim_disponibilidade >= vHoraFim
AND u.cd_avaliacao >= @intAvaliacao
AND tp.nm_genero = vGenero
AND u.cd_situacao_usuario = 1
GROUP BY u.nm_email_usuario;
ELSE
SELECT u.nm_email_usuario, u.img_usuario, u.nm_usuario,
u.vl_hora_trabalho, u.cd_avaliacao,
buscarEspecializacao(u.nm_email_usuario) AS Especializações,
qtdServicoHorario(u.nm_email_usuario, vDataServico, vHoraInicio, vHoraFim)
FROM usuario u
JOIN disponibilidade d
ON (u.nm_email_usuario = d.nm_email_usuario )
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
WHERE d.dt_disponibilidade = vDataServico
AND d.hr_inicio_disponibilidade <= vHoraInicio
AND d.hr_fim_disponibilidade >= vHoraFim
AND u.cd_avaliacao >= @intAvaliacao
AND u.cd_situacao_usuario = 1
GROUP BY u.nm_email_usuario;
END IF;
ELSE
IF (vG = TRUE) THEN
SELECT u.nm_email_usuario, u.img_usuario, u.nm_usuario,
u.vl_hora_trabalho, u.cd_avaliacao,
buscarEspecializacao(u.nm_email_usuario) AS Especializações,
qtdServicoHorario(u.nm_email_usuario, vDataServico, vHoraInicio, vHoraFim)
FROM usuario u
JOIN disponibilidade d
ON (u.nm_email_usuario = d.nm_email_usuario )
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
WHERE d.dt_disponibilidade = vDataServico
AND d.hr_inicio_disponibilidade <= vHoraInicio
AND d.hr_fim_disponibilidade >= vHoraFim
AND tp.nm_genero = vGenero
AND u.cd_situacao_usuario = 1
GROUP BY u.nm_email_usuario;
ELSE
SELECT u.nm_email_usuario, u.img_usuario, u.nm_usuario,
u.vl_hora_trabalho, u.cd_avaliacao,
buscarEspecializacao(u.nm_email_usuario) AS Especializações,
qtdServicoHorario(u.nm_email_usuario, vDataServico, vHoraInicio, vHoraFim)
FROM usuario u
JOIN disponibilidade d
ON (u.nm_email_usuario = d.nm_email_usuario )
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
WHERE d.dt_disponibilidade = vDataServico
AND d.hr_inicio_disponibilidade <= vHoraInicio
AND d.hr_fim_disponibilidade >= vHoraFim
AND u.cd_situacao_usuario = 1
GROUP BY u.nm_email_usuario;
END IF;
END IF;
END IF;
END IF;
END$$
/* Procedure filtrarCuidadores será usada caso o cliente queira buscar o cuidador pelas opções do filtro e o serviço termine no próximo dia */
DROP PROCEDURE IF EXISTS filtrarCuidadoresVirarDia$$
CREATE PROCEDURE filtrarCuidadoresVirarDia(vDataServico DATE, vHoraInicio TIME, vHoraFim TIME, vE BOOL, vP BOOL, vA BOOl, vG BOOl, vEspecializacao INT, vPreco DECIMAL(10, 2), vAvaliacao DECIMAL(10, 2), vGenero VARCHAR(100))
BEGIN
SET @decimalVPreco := cast(vPreco as decimal(10,2));
SET @intAvaliacao := cast(vAvaliacao as unsigned);
IF (vE = TRUE) THEN
IF (vP = TRUE) THEN
IF (vA = TRUE) THEN
IF (vG = TRUE) THEN
SELECT u.nm_email_usuario, u.img_usuario, u.nm_usuario,
u.vl_hora_trabalho, u.cd_avaliacao,
buscarEspecializacao(u.nm_email_usuario) AS Especializações,
qtdServicoHorario(u.nm_email_usuario, vDataServico, vHoraInicio, vHoraFim)
FROM usuario u
JOIN disponibilidade d
ON (u.nm_email_usuario = d.nm_email_usuario )
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
WHERE d.dt_disponibilidade = vDataServico
AND d.hr_inicio_disponibilidade <= vHoraInicio
AND d.hr_fim_disponibilidade >= vHoraFim
AND eu.cd_tipo_especializacao LIKE vEspecializacao
AND u.vl_hora_trabalho <= @decimalVPreco
AND u.cd_avaliacao >= @intAvaliacao
AND tp.nm_genero = vGenero
AND u.cd_situacao_usuario = 1
GROUP BY u.nm_email_usuario
AND EXISTS
(
SELECT u.nm_email_usuario, u.img_usuario, u.nm_usuario,
u.vl_hora_trabalho, u.cd_avaliacao,
buscarEspecializacao(u.nm_email_usuario) AS Especializações FROM usuario u
JOIN disponibilidade d ON (u.nm_email_usuario = d.nm_email_usuario )
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
WHERE dt_disponibilidade = DATE_ADD(vDataServico, INTERVAL 1 DAY) AND
hr_inicio_disponibilidade >= '00:00:00' AND hr_fim_disponibilidade >= '01:00:00'
GROUP BY u.nm_email_usuario
);
ELSE
SELECT u.nm_email_usuario, u.img_usuario, u.nm_usuario,
u.vl_hora_trabalho, u.cd_avaliacao,
buscarEspecializacao(u.nm_email_usuario) AS Especializações,
qtdServicoHorario(u.nm_email_usuario, vDataServico, vHoraInicio, vHoraFim)
FROM usuario u
JOIN disponibilidade d
ON (u.nm_email_usuario = d.nm_email_usuario )
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
WHERE d.dt_disponibilidade = vDataServico
AND d.hr_inicio_disponibilidade <= vHoraInicio
AND d.hr_fim_disponibilidade >= vHoraFim
AND eu.cd_tipo_especializacao LIKE vEspecializacao
AND u.vl_hora_trabalho <= @decimalVPreco
AND u.cd_avaliacao >= @intAvaliacao
AND u.cd_situacao_usuario = 1
GROUP BY u.nm_email_usuario
AND EXISTS
(
SELECT u.nm_email_usuario, u.img_usuario, u.nm_usuario,
u.vl_hora_trabalho, u.cd_avaliacao,
buscarEspecializacao(u.nm_email_usuario) AS Especializações FROM usuario u
JOIN disponibilidade d ON (u.nm_email_usuario = d.nm_email_usuario )
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
WHERE dt_disponibilidade = DATE_ADD(vDataServico, INTERVAL 1 DAY) AND
hr_inicio_disponibilidade >= '00:00:00' AND hr_fim_disponibilidade >= '01:00:00'
GROUP BY u.nm_email_usuario
);
END IF;
ELSE
IF (vG = TRUE) THEN
SELECT u.nm_email_usuario, u.img_usuario, u.nm_usuario,
u.vl_hora_trabalho, u.cd_avaliacao,
buscarEspecializacao(u.nm_email_usuario) AS Especializações,
qtdServicoHorario(u.nm_email_usuario, vDataServico, vHoraInicio, vHoraFim)
FROM usuario u
JOIN disponibilidade d
ON (u.nm_email_usuario = d.nm_email_usuario )
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
WHERE d.dt_disponibilidade = vDataServico
AND d.hr_inicio_disponibilidade <= vHoraInicio
AND d.hr_fim_disponibilidade >= vHoraFim
AND eu.cd_tipo_especializacao LIKE vEspecializacao
AND u.vl_hora_trabalho <= @decimalVPreco
AND tp.nm_genero = vGenero
AND u.cd_situacao_usuario = 1
GROUP BY u.nm_email_usuario
AND EXISTS
(
SELECT u.nm_email_usuario, u.img_usuario, u.nm_usuario,
u.vl_hora_trabalho, u.cd_avaliacao,
buscarEspecializacao(u.nm_email_usuario) AS Especializações FROM usuario u
JOIN disponibilidade d ON (u.nm_email_usuario = d.nm_email_usuario )
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
WHERE dt_disponibilidade = DATE_ADD(vDataServico, INTERVAL 1 DAY) AND
hr_inicio_disponibilidade >= '00:00:00' AND hr_fim_disponibilidade >= '01:00:00'
GROUP BY u.nm_email_usuario
);
ELSE
SELECT u.nm_email_usuario, u.img_usuario, u.nm_usuario,
u.vl_hora_trabalho, u.cd_avaliacao,
buscarEspecializacao(u.nm_email_usuario) AS Especializações,
qtdServicoHorario(u.nm_email_usuario, vDataServico, vHoraInicio, vHoraFim)
FROM usuario u
JOIN disponibilidade d
ON (u.nm_email_usuario = d.nm_email_usuario )
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
WHERE d.hr_inicio_disponibilidade <= vHoraInicio
AND d.hr_fim_disponibilidade >= vHoraFim
AND eu.cd_tipo_especializacao LIKE vEspecializacao
AND u.vl_hora_trabalho <= @decimalVPreco
AND u.cd_situacao_usuario = 1
GROUP BY u.nm_email_usuario
AND EXISTS
(
SELECT u.nm_email_usuario, u.img_usuario, u.nm_usuario,
u.vl_hora_trabalho, u.cd_avaliacao,
buscarEspecializacao(u.nm_email_usuario) AS Especializações FROM usuario u
JOIN disponibilidade d ON (u.nm_email_usuario = d.nm_email_usuario )
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
WHERE dt_disponibilidade = DATE_ADD(vDataServico, INTERVAL 1 DAY) AND
hr_inicio_disponibilidade >= '00:00:00' AND hr_fim_disponibilidade >= '01:00:00'
GROUP BY u.nm_email_usuario
);
END IF;
END IF;
ELSE
IF (vA = TRUE) THEN
IF (vG = TRUE) THEN
SELECT u.nm_email_usuario, u.img_usuario, u.nm_usuario,
u.vl_hora_trabalho, u.cd_avaliacao,
buscarEspecializacao(u.nm_email_usuario) AS Especializações,
qtdServicoHorario(u.nm_email_usuario, vDataServico, vHoraInicio, vHoraFim)
FROM usuario u
JOIN disponibilidade d
ON (u.nm_email_usuario = d.nm_email_usuario )
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
WHERE d.dt_disponibilidade = vDataServico
AND d.hr_inicio_disponibilidade <= vHoraInicio
AND d.hr_fim_disponibilidade >= vHoraFim
AND eu.cd_tipo_especializacao LIKE vEspecializacao
AND u.cd_avaliacao >= @intAvaliacao
AND tp.nm_genero = vGenero
AND u.cd_situacao_usuario = 1
GROUP BY u.nm_email_usuario
AND EXISTS
(
SELECT u.nm_email_usuario, u.img_usuario, u.nm_usuario,
u.vl_hora_trabalho, u.cd_avaliacao,
buscarEspecializacao(u.nm_email_usuario) AS Especializações FROM usuario u
JOIN disponibilidade d ON (u.nm_email_usuario = d.nm_email_usuario )
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
WHERE dt_disponibilidade = DATE_ADD(vDataServico, INTERVAL 1 DAY) AND
hr_inicio_disponibilidade >= '00:00:00' AND hr_fim_disponibilidade >= '01:00:00'
GROUP BY u.nm_email_usuario
);
ELSE
SELECT u.nm_email_usuario, u.img_usuario, u.nm_usuario,
u.vl_hora_trabalho, u.cd_avaliacao,
buscarEspecializacao(u.nm_email_usuario) AS Especializações,
qtdServicoHorario(u.nm_email_usuario, vDataServico, vHoraInicio, vHoraFim)
FROM usuario u
JOIN disponibilidade d
ON (u.nm_email_usuario = d.nm_email_usuario )
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
WHERE d.dt_disponibilidade = vDataServico
AND d.hr_inicio_disponibilidade <= vHoraInicio
AND d.hr_fim_disponibilidade >= vHoraFim
AND eu.cd_tipo_especializacao LIKE vEspecializacao
AND u.cd_avaliacao >= @intAvaliacao
AND u.cd_situacao_usuario = 1
GROUP BY u.nm_email_usuario
AND EXISTS
(
SELECT u.nm_email_usuario, u.img_usuario, u.nm_usuario,
u.vl_hora_trabalho, u.cd_avaliacao,
buscarEspecializacao(u.nm_email_usuario) AS Especializações FROM usuario u
JOIN disponibilidade d ON (u.nm_email_usuario = d.nm_email_usuario )
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
WHERE dt_disponibilidade = DATE_ADD(vDataServico, INTERVAL 1 DAY) AND
hr_inicio_disponibilidade >= '00:00:00' AND hr_fim_disponibilidade >= '01:00:00'
GROUP BY u.nm_email_usuario
);
END IF;
ELSE
IF (vG = TRUE) THEN
SELECT u.nm_email_usuario, u.img_usuario, u.nm_usuario,
u.vl_hora_trabalho, u.cd_avaliacao,
buscarEspecializacao(u.nm_email_usuario) AS Especializações,
qtdServicoHorario(u.nm_email_usuario, vDataServico, vHoraInicio, vHoraFim)
FROM usuario u
JOIN disponibilidade d
ON (u.nm_email_usuario = d.nm_email_usuario )
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
WHERE d.dt_disponibilidade = vDataServico
AND d.hr_inicio_disponibilidade <= vHoraInicio
AND d.hr_fim_disponibilidade >= vHoraFim
AND eu.cd_tipo_especializacao LIKE vEspecializacao
AND tp.nm_genero = vGenero
AND u.cd_situacao_usuario = 1
GROUP BY u.nm_email_usuario
AND EXISTS
(
SELECT u.nm_email_usuario, u.img_usuario, u.nm_usuario,
u.vl_hora_trabalho, u.cd_avaliacao,
buscarEspecializacao(u.nm_email_usuario) AS Especializações FROM usuario u
JOIN disponibilidade d ON (u.nm_email_usuario = d.nm_email_usuario )
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
WHERE dt_disponibilidade = DATE_ADD(vDataServico, INTERVAL 1 DAY) AND
hr_inicio_disponibilidade >= '00:00:00' AND hr_fim_disponibilidade >= '01:00:00'
GROUP BY u.nm_email_usuario
);
ELSE
SELECT u.nm_email_usuario, u.img_usuario, u.nm_usuario,
u.vl_hora_trabalho, u.cd_avaliacao,
buscarEspecializacao(u.nm_email_usuario) AS Especializações,
qtdServicoHorario(u.nm_email_usuario, vDataServico, vHoraInicio, vHoraFim)
FROM usuario u
JOIN disponibilidade d
ON (u.nm_email_usuario = d.nm_email_usuario )
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
WHERE d.dt_disponibilidade = vDataServico
AND d.hr_inicio_disponibilidade <= vHoraInicio
AND d.hr_fim_disponibilidade >= vHoraFim
AND eu.cd_tipo_especializacao LIKE vEspecializacao
AND u.cd_situacao_usuario = 1
GROUP BY u.nm_email_usuario
AND EXISTS
(
SELECT u.nm_email_usuario, u.img_usuario, u.nm_usuario,
u.vl_hora_trabalho, u.cd_avaliacao,
buscarEspecializacao(u.nm_email_usuario) AS Especializações FROM usuario u
JOIN disponibilidade d ON (u.nm_email_usuario = d.nm_email_usuario )
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
WHERE dt_disponibilidade = DATE_ADD(vDataServico, INTERVAL 1 DAY) AND
hr_inicio_disponibilidade >= '00:00:00' AND hr_fim_disponibilidade >= '01:00:00'
GROUP BY u.nm_email_usuario
);
END IF;
END IF;
END IF;
ELSE
IF (vP = TRUE) THEN
IF (vA = TRUE) THEN
IF (vG = TRUE) THEN
SELECT u.nm_email_usuario, u.img_usuario, u.nm_usuario,
u.vl_hora_trabalho, u.cd_avaliacao,
buscarEspecializacao(u.nm_email_usuario) AS Especializações,
qtdServicoHorario(u.nm_email_usuario, vDataServico, vHoraInicio, vHoraFim)
FROM usuario u
JOIN disponibilidade d
ON (u.nm_email_usuario = d.nm_email_usuario )
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
WHERE d.dt_disponibilidade = vDataServico
AND d.hr_inicio_disponibilidade <= vHoraInicio
AND d.hr_fim_disponibilidade >= vHoraFim
AND u.vl_hora_trabalho <= @decimalVPreco
AND u.cd_avaliacao >= @intAvaliacao
AND tp.nm_genero = vGenero
AND u.cd_situacao_usuario = 1
GROUP BY u.nm_email_usuario
AND EXISTS
(
SELECT u.nm_email_usuario, u.img_usuario, u.nm_usuario,
u.vl_hora_trabalho, u.cd_avaliacao,
buscarEspecializacao(u.nm_email_usuario) AS Especializações FROM usuario u
JOIN disponibilidade d ON (u.nm_email_usuario = d.nm_email_usuario )
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
WHERE dt_disponibilidade = DATE_ADD(vDataServico, INTERVAL 1 DAY) AND
hr_inicio_disponibilidade >= '00:00:00' AND hr_fim_disponibilidade >= '01:00:00'
GROUP BY u.nm_email_usuario
);
ELSE
SELECT u.nm_email_usuario, u.img_usuario, u.nm_usuario,
u.vl_hora_trabalho, u.cd_avaliacao,
buscarEspecializacao(u.nm_email_usuario) AS Especializações,
qtdServicoHorario(u.nm_email_usuario, vDataServico, vHoraInicio, vHoraFim)
FROM usuario u
JOIN disponibilidade d
ON (u.nm_email_usuario = d.nm_email_usuario )
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
WHERE d.dt_disponibilidade = vDataServico
AND d.hr_inicio_disponibilidade <= vHoraInicio
AND d.hr_fim_disponibilidade >= vHoraFim
AND u.vl_hora_trabalho <= @decimalVPreco
AND u.cd_avaliacao >= @intAvaliacao
AND u.cd_situacao_usuario = 1
GROUP BY u.nm_email_usuario
AND EXISTS
(
SELECT u.nm_email_usuario, u.img_usuario, u.nm_usuario,
u.vl_hora_trabalho, u.cd_avaliacao,
buscarEspecializacao(u.nm_email_usuario) AS Especializações FROM usuario u
JOIN disponibilidade d ON (u.nm_email_usuario = d.nm_email_usuario )
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
WHERE dt_disponibilidade = DATE_ADD(vDataServico, INTERVAL 1 DAY) AND
hr_inicio_disponibilidade >= '00:00:00' AND hr_fim_disponibilidade >= '01:00:00'
GROUP BY u.nm_email_usuario
);
END IF;
ELSE
IF (vG = TRUE) THEN
SELECT u.nm_email_usuario, u.img_usuario, u.nm_usuario,
u.vl_hora_trabalho, u.cd_avaliacao,
buscarEspecializacao(u.nm_email_usuario) AS Especializações,
qtdServicoHorario(u.nm_email_usuario, vDataServico, vHoraInicio, vHoraFim)
FROM usuario u
JOIN disponibilidade d
ON (u.nm_email_usuario = d.nm_email_usuario )
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
WHERE d.dt_disponibilidade = vDataServico
AND d.hr_inicio_disponibilidade <= vHoraInicio
AND d.hr_fim_disponibilidade >= vHoraFim
AND u.vl_hora_trabalho <= @decimalVPreco
AND tp.nm_genero = vGenero
AND u.cd_situacao_usuario = 1
GROUP BY u.nm_email_usuario
AND EXISTS
(
SELECT u.nm_email_usuario, u.img_usuario, u.nm_usuario,
u.vl_hora_trabalho, u.cd_avaliacao,
buscarEspecializacao(u.nm_email_usuario) AS Especializações FROM usuario u
JOIN disponibilidade d ON (u.nm_email_usuario = d.nm_email_usuario )
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
WHERE dt_disponibilidade = DATE_ADD(vDataServico, INTERVAL 1 DAY) AND
hr_inicio_disponibilidade >= '00:00:00' AND hr_fim_disponibilidade >= '01:00:00'
GROUP BY u.nm_email_usuario
);
ELSE
SELECT u.nm_email_usuario, u.img_usuario, u.nm_usuario,
u.vl_hora_trabalho, u.cd_avaliacao,
buscarEspecializacao(u.nm_email_usuario) AS Especializações,
qtdServicoHorario(u.nm_email_usuario, vDataServico, vHoraInicio, vHoraFim)
FROM usuario u
JOIN disponibilidade d
ON (u.nm_email_usuario = d.nm_email_usuario )
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
WHERE d.dt_disponibilidade = vDataServico
AND d.hr_inicio_disponibilidade <= vHoraInicio
AND d.hr_fim_disponibilidade >= vHoraFim
AND u.vl_hora_trabalho = @decimalVPreco
AND u.cd_situacao_usuario = 1
GROUP BY u.nm_email_usuario
AND EXISTS
(
SELECT u.nm_email_usuario, u.img_usuario, u.nm_usuario,
u.vl_hora_trabalho, u.cd_avaliacao,
buscarEspecializacao(u.nm_email_usuario) AS Especializações FROM usuario u
JOIN disponibilidade d ON (u.nm_email_usuario = d.nm_email_usuario )
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
WHERE dt_disponibilidade = DATE_ADD(vDataServico, INTERVAL 1 DAY) AND
hr_inicio_disponibilidade >= '00:00:00' AND hr_fim_disponibilidade >= '01:00:00'
GROUP BY u.nm_email_usuario
);
END IF;
END IF;
ELSE
IF (vA = TRUE) THEN
IF (vG = TRUE) THEN
SELECT u.nm_email_usuario, u.img_usuario, u.nm_usuario,
u.vl_hora_trabalho, u.cd_avaliacao,
buscarEspecializacao(u.nm_email_usuario) AS Especializações,
qtdServicoHorario(u.nm_email_usuario, vDataServico, vHoraInicio, vHoraFim)
FROM usuario u
JOIN disponibilidade d
ON (u.nm_email_usuario = d.nm_email_usuario )
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
WHERE d.dt_disponibilidade = vDataServico
AND d.hr_inicio_disponibilidade <= vHoraInicio
AND d.hr_fim_disponibilidade >= vHoraFim
AND u.cd_avaliacao >= @intAvaliacao
AND tp.nm_genero = vGenero
AND u.cd_situacao_usuario = 1
GROUP BY u.nm_email_usuario
AND EXISTS
(
SELECT u.nm_email_usuario, u.img_usuario, u.nm_usuario,
u.vl_hora_trabalho, u.cd_avaliacao,
buscarEspecializacao(u.nm_email_usuario) AS Especializações FROM usuario u
JOIN disponibilidade d ON (u.nm_email_usuario = d.nm_email_usuario )
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
WHERE dt_disponibilidade = DATE_ADD(vDataServico, INTERVAL 1 DAY) AND
hr_inicio_disponibilidade >= '00:00:00' AND hr_fim_disponibilidade >= '01:00:00'
GROUP BY u.nm_email_usuario
);
ELSE
SELECT u.nm_email_usuario, u.img_usuario, u.nm_usuario,
u.vl_hora_trabalho, u.cd_avaliacao,
buscarEspecializacao(u.nm_email_usuario) AS Especializações,
qtdServicoHorario(u.nm_email_usuario, vDataServico, vHoraInicio, vHoraFim)
FROM usuario u
JOIN disponibilidade d
ON (u.nm_email_usuario = d.nm_email_usuario )
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
WHERE d.dt_disponibilidade = vDataServico
AND d.hr_inicio_disponibilidade <= vHoraInicio
AND d.hr_fim_disponibilidade >= vHoraFim
AND u.cd_avaliacao >= @intAvaliacao
AND u.cd_situacao_usuario = 1
GROUP BY u.nm_email_usuario
AND EXISTS
(
SELECT u.nm_email_usuario, u.img_usuario, u.nm_usuario,
u.vl_hora_trabalho, u.cd_avaliacao,
buscarEspecializacao(u.nm_email_usuario) AS Especializações FROM usuario u
JOIN disponibilidade d ON (u.nm_email_usuario = d.nm_email_usuario )
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
WHERE dt_disponibilidade = DATE_ADD(vDataServico, INTERVAL 1 DAY) AND
hr_inicio_disponibilidade >= '00:00:00' AND hr_fim_disponibilidade >= '01:00:00'
GROUP BY u.nm_email_usuario
);
END IF;
ELSE
IF (vG = TRUE) THEN
SELECT u.nm_email_usuario, u.img_usuario, u.nm_usuario,
u.vl_hora_trabalho, u.cd_avaliacao,
buscarEspecializacao(u.nm_email_usuario) AS Especializações,
qtdServicoHorario(u.nm_email_usuario, vDataServico, vHoraInicio, vHoraFim)
FROM usuario u
JOIN disponibilidade d
ON (u.nm_email_usuario = d.nm_email_usuario )
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
WHERE d.dt_disponibilidade = vDataServico
AND d.hr_inicio_disponibilidade <= vHoraInicio
AND d.hr_fim_disponibilidade >= vHoraFim
AND tp.nm_genero = vGenero
AND u.cd_situacao_usuario = 1
GROUP BY u.nm_email_usuario
AND EXISTS
(
SELECT u.nm_email_usuario, u.img_usuario, u.nm_usuario,
u.vl_hora_trabalho, u.cd_avaliacao,
buscarEspecializacao(u.nm_email_usuario) AS Especializações FROM usuario u
JOIN disponibilidade d ON (u.nm_email_usuario = d.nm_email_usuario )
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
WHERE dt_disponibilidade = DATE_ADD(vDataServico, INTERVAL 1 DAY) AND
hr_inicio_disponibilidade >= '00:00:00' AND hr_fim_disponibilidade >= '01:00:00'
GROUP BY u.nm_email_usuario
);
ELSE
SELECT u.nm_email_usuario, u.img_usuario, u.nm_usuario,
u.vl_hora_trabalho, u.cd_avaliacao,
buscarEspecializacao(u.nm_email_usuario) AS Especializações,
qtdServicoHorario(u.nm_email_usuario, vDataServico, vHoraInicio, vHoraFim)
FROM usuario u
JOIN disponibilidade d
ON (u.nm_email_usuario = d.nm_email_usuario )
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
WHERE d.dt_disponibilidade = vDataServico
AND d.hr_inicio_disponibilidade <= vHoraInicio
AND d.hr_fim_disponibilidade >= vHoraFim
AND u.cd_situacao_usuario = 1
GROUP BY u.nm_email_usuario
AND EXISTS
(
SELECT u.nm_email_usuario, u.img_usuario, u.nm_usuario,
u.vl_hora_trabalho, u.cd_avaliacao,
buscarEspecializacao(u.nm_email_usuario) AS Especializações FROM usuario u
JOIN disponibilidade d ON (u.nm_email_usuario = d.nm_email_usuario )
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
WHERE dt_disponibilidade = DATE_ADD(vDataServico, INTERVAL 1 DAY) AND
hr_inicio_disponibilidade >= '00:00:00' AND hr_fim_disponibilidade >= '01:00:00'
GROUP BY u.nm_email_usuario
);
END IF;
END IF;
END IF;
END IF;
END$$
/* procedure cuidadorEscolhido será usada para mostrar as informações do cuidador que o cliente clicar */
DROP PROCEDURE IF EXISTS cuidadorEscolhido$$
CREATE PROCEDURE cuidadorEscolhido(vEmailCuidador VARCHAR(200))
BEGIN
SELECT
u.img_usuario, u.vl_hora_trabalho, u.nm_usuario,
buscarEspecializacao(u.nm_email_usuario), g.nm_genero, u.ds_experiencia_usuario,
u.ds_usuario, u.cd_CPF, u.cd_telefone, u.cd_link_curriculo
FROM
usuario u
JOIN
especializacao_usuario eu
ON
(u.nm_email_usuario = eu.nm_email_usuario)
JOIN
tipo_genero g
ON
(g.cd_genero = u.cd_genero)
JOIN
tipo_especializacao te
ON
(eu.cd_tipo_especializacao - te.cd_tipo_especializacao)
WHERE
u.nm_email_usuario = vEmailCuidador
GROUP BY
u.nm_email_usuario;
END$$
/* Procedure agendarServico será usada para executar um insert e registrar o serviço agendado */
DROP PROCEDURE IF EXISTS agendarServico$$
CREATE PROCEDURE agendarServico(vCodigo INT, vDataServico DATE, vHoraInicioServico TIME, vHoraFimServico TIME, vCEP VARCHAR(12), vCidade VARCHAR(200), vBairro VARCHAR(200), vRua VARCHAR(200), vNum INT, vUF VARCHAR(200), vComp VARCHAR(100), vEmailCliente VARCHAR(200), vEmailCuidador VARCHAR(200), vCodigoPaciente INT)
BEGIN
INSERT INTO servico
(cd_servico, dt_inicio_servico, hr_inicio_servico, dt_fim_servico, hr_fim_servico, cd_CEP_servico, nm_cidade_servico, nm_bairro_servico,
nm_rua_servico, cd_num_servico, nm_uf_servico, nm_complemento_servico, nm_email_usuario, nm_email_usuario_cuidador, cd_status_servico, cd_paciente)
VALUES
(vCodigo, vDataServico, vHoraInicioServico, vDataServico, vHoraFimServico, vCEP, vCidade, vBairro ,vRua, vNum, vUF, vComp,
vEmailCliente, vEmailCuidador, 5, vCodigoPaciente);
END$$
/* Procedure agendarServico será usada para executar um insert e registrar o serviço agendado que mude o dia de término */
DROP PROCEDURE IF EXISTS agendarServicoVirarDia$$
CREATE PROCEDURE agendarServicoVirarDia(vCodigo INT, vDataServico DATE, vHoraInicioServico TIME, vHoraFimServico TIME, vCEP VARCHAR(12), vCidade VARCHAR(200), vBairro VARCHAR(200), vRua VARCHAR(200), vNum INT, vUF VARCHAR(200), vComp VARCHAR(100), vEmailCliente VARCHAR(200), vEmailCuidador VARCHAR(200), vCodigoPaciente INT)
BEGIN
INSERT INTO servico
(cd_servico, dt_inicio_servico, hr_inicio_servico, dt_fim_servico, hr_fim_servico, cd_CEP_servico, nm_cidade_servico, nm_bairro_servico,
nm_rua_servico, cd_num_servico, nm_uf_servico, nm_complemento_servico, nm_email_usuario, nm_email_usuario_cuidador, cd_status_servico, cd_paciente)
VALUES
(vCodigo, vDataServico, vHoraInicioServico, DATE_ADD(vDataServico, INTERVAL 1 DAY), vHoraFimServico, vCEP, vCidade, vBairro ,vRua, vNum, vUF,
vComp, vEmailCliente, vEmailCuidador, 5, vCodigoPaciente);
END$$
/* Porocedure criada para buscar um servico para agora */
DROP PROCEDURE IF EXISTS agendarServicoAgora$$
CREATE PROCEDURE agendarServicoAgora(vCodigo INT, vHoraFimServico TIME, vCEP VARCHAR(12), vCidade VARCHAR(200), vBairro VARCHAR(200), vRua VARCHAR(200), vNum INT, vUF VARCHAR(200), vComp VARCHAR(100), vEmailCliente VARCHAR(200), vCodigoPaciente INT, vValorMaximo DECIMAL(10, 2))
BEGIN
INSERT INTO servico
(cd_servico, dt_inicio_servico, hr_inicio_servico, dt_fim_servico, hr_fim_servico, cd_CEP_servico, nm_cidade_servico, nm_bairro_servico,
nm_rua_servico, cd_num_servico, nm_uf_servico, nm_complemento_servico, nm_email_usuario, cd_status_servico, cd_paciente, vl_maximo)
VALUES
(vCodigo, CURRENT_DATE(), CURRENT_TIME(), CURRENT_DATE(), vHoraFimServico, vCEP, vCidade, vBairro ,vRua, vNum, vUF, vComp,
vEmailCliente, 6, vCodigoPaciente, vValorMaximo);
END$$
/* Porocedure criada para buscar um servico para agora e virar o dia */
DROP PROCEDURE IF EXISTS agendarServicoAgoraVirarDia$$
CREATE PROCEDURE agendarServicoAgoraVirarDia(vCodigo INT, vHoraFimServico TIME, vCEP VARCHAR(12), vCidade VARCHAR(200), vBairro VARCHAR(200), vRua VARCHAR(200), vNum INT, vUF VARCHAR(200), vComp VARCHAR(100), vEmailCliente VARCHAR(200), vCodigoPaciente INT, vValorMaximo DECIMAL(10, 2))
BEGIN
INSERT INTO servico
(cd_servico, dt_inicio_servico, hr_inicio_servico, dt_fim_servico, hr_fim_servico, cd_CEP_servico, nm_cidade_servico, nm_bairro_servico,
nm_rua_servico, cd_num_servico, nm_uf_servico, nm_complemento_servico, nm_email_usuario, cd_status_servico, cd_paciente, vl_maximo)
VALUES
(vCodigo, CURRENT_DATE(), CURRENT_TIME(), DATE_ADD(CURRENT_DATE(), INTERVAL 1 DAY), vHoraFimServico, vCEP, vCidade, vBairro ,vRua, vNum, vUF, vComp,
vEmailCliente, 6, vCodigoPaciente, vValorMaximo);
END$$
/* Procedure listarServicos será usada para listar todos os servicos agendados pelo cliente e ordenados de forma decrescente, podendo ser: em andamento, pendentes, finalizados e cancelados */
DROP PROCEDURE IF EXISTS listarAgendaClienteJaFoi$$
CREATE PROCEDURE listarAgendaClienteJaFoi(vEmailCliente VARCHAR(200))
BEGIN
SELECT
date_format(s.dt_inicio_servico, '%d/%m/%Y') AS DtInicioServico, time_format(s.hr_inicio_servico,'%H:%i') as Hora_Inicio,
time_format(s.hr_fim_servico, '%H:%i') as Hora_Fim, u.img_usuario AS ImagemCuidador,u.nm_usuario AS Nome_Cuidador,
group_concat(te.nm_tipo_especializacao) AS NomeEspecializacao,
time_format(TIMEDIFF(s.hr_fim_servico, s.hr_inicio_servico), '%H:%i') AS DuracaoServico, p.nm_paciente AS nomePaciente,
tss.nm_status_servico AS StatusServico, u.vl_hora_trabalho AS valorHora, s.cd_servico as cdServico
FROM
servico s
JOIN
usuario u
ON
(s.nm_email_usuario_cuidador = u.nm_email_usuario)
JOIN
paciente p
ON
(p.cd_paciente = s.cd_paciente)
JOIN
especializacao_usuario eu
ON
(u.nm_email_usuario = eu.nm_email_usuario)
JOIN
tipo_especializacao te
ON
(eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN
tipo_status_servico tss
ON
(s.cd_status_servico = tss.cd_status_servico)
WHERE
s.nm_email_usuario = vEmailCliente
AND
s.cd_status_servico = 3
OR
(s.cd_status_servico = 4 AND s.nm_email_usuario = vEmailCliente)
GROUP BY
s.cd_servico
ORDER BY
s.dt_inicio_servico;
END$$
/* Procedure listarServicos será usada para listar todos os servicos agendados pelo cliente e ordenados de forma decrescente, podendo ser: em andamento, pendentes, finalizados e cancelados */
DROP PROCEDURE IF EXISTS listarAgendaClienteJaFoiSelecionado$$
CREATE PROCEDURE listarAgendaClienteJaFoiSelecionado(vCodigoServico INT)
BEGIN
SELECT
u.img_usuario, u.nm_usuario, u.cd_avaliacao, group_concat(te.nm_tipo_especializacao), tg.nm_genero, u.ds_usuario,
s.nm_rua_servico, s.cd_num_servico ,s.cd_CEP_servico, s.nm_complemento_servico,
s.nm_cidade_servico, s.nm_uf_servico, time_format(s.hr_inicio_servico, '%H:%i'), time_format(s.hr_fim_servico, '%H:%i'),
time_format(TIMEDIFF(s.hr_fim_servico, s.hr_inicio_servico), '%H:%i'),u.vl_hora_trabalho, s.nm_email_usuario_cuidador,
s.cd_status_servico
FROM
usuario u
JOIN
servico s
ON
(u.nm_email_usuario = s.nm_email_usuario_cuidador)
JOIN
especializacao_usuario eu
ON
(s.nm_email_usuario_cuidador = eu.nm_email_usuario)
JOIN
tipo_especializacao te
ON
(te.cd_tipo_especializacao = eu.cd_tipo_especializacao)
JOIN
tipo_genero tg
ON
(tg.cd_genero = u.cd_genero)
WHERE
s.cd_servico = vCodigoServico;
END$$
DROP PROCEDURE IF EXISTS listarAgendaClienteNaoFoi$$
CREATE PROCEDURE listarAgendaClienteNaoFoi(vEmailCliente VARCHAR(200))
BEGIN
SELECT
DATEDIFF(s.dt_inicio_servico,current_date()) as diferencaDia, u.nm_usuario as nomeCuidador, group_concat(te.nm_tipo_especializacao) as Especializacao,
date_format(s.dt_inicio_servico, '%d/%m/%Y') as dataServico, time_format(s.hr_inicio_servico, '%H:%i') as horaInicioServico, time_format(s.hr_fim_servico, '%H:%i') as horaFimServico, p.nm_paciente as nomePaciente,
tss.nm_status_servico as statusServico, u.vl_hora_trabalho as valorHora, TIMEDIFF(time_format(s.hr_fim_servico,'%H:%i'),time_format(s.hr_inicio_servico,'%H:%i'))
as duracaoServico, u.img_usuario as imagemCuidador, s.cd_servico as cdServico
FROM
servico s
JOIN
usuario u
ON
(s.nm_email_usuario_cuidador = u.nm_email_usuario)
JOIN
paciente p
ON
(p.cd_paciente = s.cd_paciente)
JOIN
tipo_status_servico tss
ON
(tss.cd_status_servico = s.cd_status_servico)
JOIN
especializacao_usuario eu
ON
(eu.nm_email_usuario = u.nm_email_usuario)
JOIN
tipo_especializacao te
ON
(te.cd_tipo_especializacao = eu.cd_tipo_especializacao)
WHERE
s.nm_email_usuario = vEmailCliente
AND
s.cd_status_servico = 1
OR
(s.nm_email_usuario = vEmailCliente AND s.cd_status_servico = 2)
OR
(s.cd_status_servico = 5 AND s.nm_email_usuario = vEmailCliente)
GROUP BY s.cd_servico
ORDER BY
s.dt_inicio_servico;
END$$
DROP PROCEDURE IF EXISTS listarAgendaClienteNaoFoiSelecionado$$
CREATE PROCEDURE listarAgendaClienteNaoFoiSelecionado(vCodigoServico INT)
BEGIN
SELECT
u.img_usuario, u.nm_usuario, u.cd_avaliacao, group_concat(te.nm_tipo_especializacao), tg.nm_genero, u.ds_usuario,
s.nm_rua_servico, s.cd_num_servico ,s.cd_CEP_servico, s.nm_complemento_servico,
s.nm_cidade_servico, s.nm_uf_servico, time_format(s.hr_inicio_servico, '%H:%i'), time_format(s.hr_fim_servico, '%H:%i'),
time_format(TIMEDIFF(s.hr_fim_servico, s.hr_inicio_servico), '%H:%i'),u.vl_hora_trabalho, tss.nm_status_servico, s.nm_email_usuario_cuidador
FROM
usuario u
JOIN
servico s
ON
(u.nm_email_usuario = s.nm_email_usuario_cuidador)
JOIN
especializacao_usuario eu
ON
(s.nm_email_usuario_cuidador = eu.nm_email_usuario)
JOIN
tipo_especializacao te
ON
(te.cd_tipo_especializacao = eu.cd_tipo_especializacao)
JOIN
tipo_genero tg
ON
(tg.cd_genero = u.cd_genero)
JOIN
tipo_status_servico tss
ON
(tss.cd_status_servico = s.cd_status_servico)
WHERE
s.cd_servico = vCodigoServico;
END$$
DROP PROCEDURE IF EXISTS proxCodigo$$
CREATE PROCEDURE proxCodigo()
BEGIN
SELECT
MAX(cd_servico) + 1
FROM
servico;
END$$
/* Procedure proxCodigoOcorrencia será usada para bsucar o último código e somar 1 para saber o próximo */
DROP PROCEDURE IF EXISTS proxCodigoOcorrencia$$
CREATE PROCEDURE proxCodigoOcorrencia()
BEGIN
SELECT
MAX(cd_ocorrencia) + 1
FROM
ocorrencia;
END$$
/* Procedure criada para buscar os cuidadores disponíveis no horário de agora */
DROP PROCEDURE IF EXISTS buscarCuidadoresAgora$$
CREATE PROCEDURE buscarCuidadoresAgora(vValorHora DECIMAL(10, 2))
BEGIN
SELECT
u.nm_email_usuario
FROM
usuario u
WHERE
ic_ativo = true
AND
vl_hora_trabalho <= vValorHora
GROUP BY
nm_email_usuario;
END$$
/* Procedure criada para buscar os servicos que estão com o cidog 6 */
DROP PROCEDURE IF EXISTS servicoParaAgora$$
CREATE PROCEDURE servicoParaAgora()
BEGIN
SELECT
cd_servico, vl_maximo
FROM
servico
WHERE
cd_status_servico = 6
AND
dt_inicio_servico = CURRENT_DATE();
END$$
/* Procedure criada para atualizar os dados e aceitar o serviço de agora */
DROP PROCEDURE IF EXISTS aceitarServicoAgora$$
CREATE PROCEDURE aceitarServicoAgora(vCodigo INT, vEmailCuidador VARCHAR(200))
BEGIN
UPDATE
servico
SET
nm_email_usuario_cuidador = vEmailCuidador,
cd_status_servico = 1
WHERE
cd_servico = vCodigo;
END$$
/* Procedure criada para buscar informações do serviço de agora com dia da semana */
DROP PROCEDURE IF EXISTS infoServicoAtualCuidador$$
CREATE PROCEDURE infoServicoAtualCuidador(vCodigoServico INT)
BEGIN
SELECT
p.img_paciente, p.nm_paciente, GROUP_CONCAT(tnp.nm_tipo_necessidade_paciente), s.nm_rua_servico, s.cd_num_servico,
s.nm_complemento_servico, DATE_FORMAT(s.dt_inicio_servico, '%d/%m'),
CASE WEEKDAY(s.dt_inicio_servico)
when 0 then 'Segunda-feira'
when 1 then 'Terça-feira'
when 2 then 'Quarta-feira'
when 3 then 'Quinta-feira'
when 4 then 'Sexta-feira'
when 5 then 'Sábado'
when 6 then 'Domingo'
END AS DiaDaSemana,
TIME_FORMAT(s.hr_inicio_servico, '%H:%i'), TIME_FORMAT(s.hr_fim_servico, '%H:%i'), s.cd_geolocalizacao_entrada,
u.vl_hora_trabalho, TIME_FORMAT(TIMEDIFF(s.hr_fim_servico, s.hr_inicio_servico), '%H:%i'),nm_bairro_servico,nm_cidade_servico,nm_uf_servico
FROM
servico s
JOIN
paciente p
ON
(s.cd_paciente = p.cd_paciente)
JOIN
necessidade_paciente np
ON
(p.cd_paciente = np.cd_paciente)
JOIN
tipo_necessidade_paciente tnp
ON
(np.cd_tipo_necessidade_paciente = tnp.cd_tipo_necessidade_paciente)
JOIN
usuario u
ON
(s.nm_email_usuario_cuidador = u.nm_email_usuario)
WHERE
s.cd_servico = vCodigoServico
GROUP BY
s.cd_servico;
END$$
/* Procedure criada para buscar os pacientes que estão em serviço no momento da busca */
DROP PROCEDURE IF EXISTS buscarPacienteServicoEmAndamento$$
CREATE PROCEDURE buscarPacienteServicoEmAndamento(vEmailUsuario VARCHAR(200))
BEGIN
SELECT
p.img_paciente, p.nm_paciente, p.nm_cidade_paciente,
p.nm_uf_paciente, s.cd_servico
FROM
servico s
JOIN
paciente p
ON
(s.cd_paciente = p.cd_paciente)
WHERE
s.cd_status_servico = 1
AND
s.nm_email_usuario = vEmailUsuario;
END$$
/*PROCEDURES REFENRENTE AO CUIDADOR*/
/* Procedure será usada pra listar os serviços pendentes em ordem crescente */
DROP PROCEDURE IF EXISTS listarServicosAgendados$$
CREATE PROCEDURE listarServicosAgendados(vEmailCuidador VARCHAR(200))
BEGIN
SELECT
p.nm_paciente, s.nm_rua_servico, s.cd_num_servico, group_concat(tnp.nm_tipo_necessidade_paciente),
DATE_FORMAT(s.dt_inicio_servico, '%d/%m/%Y'), s.hr_inicio_servico, s.hr_fim_servico, tss.nm_status_servico, p.img_paciente, DATEDIFF(s.dt_inicio_servico, current_date()),
u.vl_hora_trabalho, TIMEDIFF(s.hr_fim_servico, s.hr_inicio_servico), s.cd_servico
FROM
servico s
JOIN
paciente p
ON
(s.cd_paciente = p.cd_paciente)
JOIN
necessidade_paciente np
ON
(p.cd_paciente = np.cd_paciente)
JOIN
tipo_necessidade_paciente tnp
ON
(np.cd_tipo_necessidade_paciente = tnp.cd_tipo_necessidade_paciente)
JOIN
tipo_status_servico tss
ON
(tss.cd_status_servico = s.cd_status_servico)
JOIN
usuario u
ON
(u.nm_email_usuario = s.nm_email_usuario_cuidador)
WHERE
s.nm_email_usuario_cuidador = vEmailCuidador AND s.cd_status_servico = 5
GROUP BY
s.cd_servico
ORDER BY
s.dt_inicio_servico, s.hr_inicio_servico;
END$$
/* Procedure criada para cancelar o servico agendado */
DROP PROCEDURE IF EXISTS cancelarServicoAgendado$$
CREATE PROCEDURE cancelarServicoAgendado(vCodigoServico INT)
BEGIN
UPDATE
servico
SET
cd_status_servico = 4
WHERE
cd_servico = vCodigoServico;
END$$
/* Procedure usada para listar os serviços já fainalizados em order decrescente */
DROP PROCEDURE IF EXISTS listarServicosFinalizadosAntigos$$
CREATE PROCEDURE listarServicosFinalizadosAntigos(vEmailCuidador VARCHAR(200))
BEGIN
SELECT
p.img_paciente, p.nm_paciente, s.nm_rua_servico, s.cd_servico, GROUP_CONCAT(tnp.nm_tipo_necessidade_paciente),
DATE_FORMAT(s.dt_inicio_servico, '%d/%m/%Y'), TIME_FORMAT(s.hr_inicio_servico, '%H:%i'), TIME_FORMAT(s.hr_fim_servico, '%H:%i'),
u.vl_hora_trabalho, TIME_FORMAT(TIMEDIFF(s.hr_fim_servico, s.hr_inicio_servico), '%H:%i'), p.cd_paciente, s.cd_status_servico
FROM
servico s
JOIN
paciente p
ON
(s.cd_paciente = p.cd_paciente)
JOIN
necessidade_paciente np
ON
(p.cd_paciente = np.cd_paciente)
JOIN
tipo_necessidade_paciente tnp
ON
(np.cd_tipo_necessidade_paciente = tnp.cd_tipo_necessidade_paciente)
JOIN
usuario u
ON
(s.nm_email_usuario_cuidador = u.nm_email_usuario)
WHERE
(s.nm_email_usuario_cuidador = vEmailCuidador AND s.cd_status_servico = 3)
OR
(s.nm_email_usuario_cuidador = vEmailCuidador AND s.cd_status_servico = 4)
GROUP BY
s.cd_servico
ORDER BY
s.dt_inicio_servico DESC, s.hr_inicio_servico;
END$$
/* Procedure será usada pra listar os serviços já finalziados em ordem crescente */
DROP PROCEDURE IF EXISTS listarServicosFinalizadosRecentes$$
CREATE PROCEDURE listarServicosFinalizadosRecentes(vEmailCuidador VARCHAR(200))
BEGIN
SELECT
p.img_paciente, p.nm_paciente, s.nm_rua_servico, s.cd_servico, GROUP_CONCAT(tnp.nm_tipo_necessidade_paciente),
DATE_FORMAT(s.dt_inicio_servico, '%d/%m/%Y'), TIME_FORMAT(s.hr_inicio_servico, '%H:%i'), TIME_FORMAT(s.hr_fim_servico, '%H:%i'),
u.vl_hora_trabalho, TIME_FORMAT(TIMEDIFF(s.hr_fim_servico, s.hr_inicio_servico), '%H:%i'), p.cd_paciente, s.cd_status_servico
FROM
servico s
JOIN
paciente p
ON
(s.cd_paciente = p.cd_paciente)
JOIN
necessidade_paciente np
ON
(p.cd_paciente = np.cd_paciente)
JOIN
tipo_necessidade_paciente tnp
ON
(np.cd_tipo_necessidade_paciente = tnp.cd_tipo_necessidade_paciente)
JOIN
usuario u
ON
(s.nm_email_usuario_cuidador = u.nm_email_usuario)
WHERE
(s.nm_email_usuario_cuidador = vEmailCuidador AND s.cd_status_servico = 3)
OR
(s.nm_email_usuario_cuidador = vEmailCuidador AND s.cd_status_servico = 4)
GROUP BY
s.cd_servico
ORDER BY
s.dt_inicio_servico, s.hr_inicio_servico;
END$$
/* procedure criada para filtrar os servicos finalizados por data */
DROP PROCEDURE IF EXISTS listarServicosFinalizadosData$$
CREATE PROCEDURE listarServicosFinalizadosData(vEmailCuidador VARCHAR(200), vDataServico DATE)
BEGIN
SELECT
p.img_paciente, p.nm_paciente, s.nm_rua_servico, s.cd_servico, GROUP_CONCAT(tnp.nm_tipo_necessidade_paciente),
DATE_FORMAT(s.dt_inicio_servico, '%d/%m/%Y'), TIME_FORMAT(s.hr_inicio_servico, '%H:%i'), TIME_FORMAT(s.hr_fim_servico, '%H:%i'),
u.vl_hora_trabalho, TIME_FORMAT(TIMEDIFF(s.hr_fim_servico, s.hr_inicio_servico), '%H:%i'), p.cd_paciente, s.cd_status_servico
FROM
servico s
JOIN
paciente p
ON
(s.cd_paciente = p.cd_paciente)
JOIN
necessidade_paciente np
ON
(p.cd_paciente = np.cd_paciente)
JOIN
tipo_necessidade_paciente tnp
ON
(np.cd_tipo_necessidade_paciente = tnp.cd_tipo_necessidade_paciente)
JOIN
usuario u
ON
(s.nm_email_usuario_cuidador = u.nm_email_usuario)
WHERE
(s.nm_email_usuario_cuidador = vEmailCuidador AND s.cd_status_servico = 3)
OR
(s.nm_email_usuario_cuidador = vEmailCuidador AND s.cd_status_servico = 4)
AND
s.dt_inicio_servico = vDataServico
GROUP BY
s.cd_servico
ORDER BY
s.dt_inicio_servico, s.hr_inicio_servico;
END$$
/* Procedure será usada para mostrar as informações completas do serviço */
DROP PROCEDURE IF EXISTS servicoSelecionado$$
CREATE PROCEDURE servicoSelecionado(vCodigoServico INT)
BEGIN
SELECT
p.img_paciente, p.nm_paciente, GROUP_CONCAT(tnp.nm_tipo_necessidade_paciente), p.ds_paciente, s.cd_CEP_servico, s.nm_cidade_servico,
s.nm_uf_servico, s.nm_bairro_servico, s.nm_rua_servico, s.cd_num_servico, s.nm_complemento_servico,
TIME_FORMAT(s.hr_inicio_servico, '%H:%i'), TIME_FORMAT(s.hr_fim_servico, '%H:%i'),
DATE_FORMAT(s.dt_inicio_servico, '%d/%m/%Y'), u.vl_hora_trabalho, TIME_FORMAT(TIMEDIFF(s.hr_fim_servico, s.hr_inicio_servico), '%H:%i'), tsp.nm_status_servico
FROM
servico s
JOIN
paciente p
ON
(s.cd_paciente = p.cd_paciente)
JOIN
necessidade_paciente np
ON
(p.cd_paciente = np.cd_paciente)
JOIN
tipo_necessidade_paciente tnp
ON
(np.cd_tipo_necessidade_paciente = tnp.cd_tipo_necessidade_paciente)
JOIN
usuario u
ON
(s.nm_email_usuario_cuidador = u.nm_email_usuario)
JOIN
tipo_status_servico tsp
ON
(tsp.cd_status_servico = s.cd_status_servico)
WHERE
s.cd_servico = vCodigoServico;
END$$
/* Procedure será usada para mostrar as informações completas do serviço de agora */
DROP PROCEDURE IF EXISTS servicoSelecionadoAgora$$
CREATE PROCEDURE servicoSelecionadoAgora(vCodigoServico INT)
BEGIN
SELECT
p.img_paciente, p.nm_paciente, GROUP_CONCAT(tnp.nm_tipo_necessidade_paciente), p.ds_paciente, s.cd_CEP_servico, s.nm_cidade_servico,
s.nm_uf_servico, s.nm_bairro_servico, s.nm_rua_servico, s.cd_num_servico, s.nm_complemento_servico,
TIME_FORMAT(s.hr_inicio_servico, '%H:%i'), TIME_FORMAT(s.hr_fim_servico, '%H:%i'),
DATE_FORMAT(s.dt_inicio_servico, '%d/%m/%Y'), TIME_FORMAT(TIMEDIFF(s.hr_fim_servico, s.hr_inicio_servico), '%H:%i'), tsp.nm_status_servico
FROM
servico s
JOIN
paciente p
ON
(s.cd_paciente = p.cd_paciente)
JOIN
necessidade_paciente np
ON
(p.cd_paciente = np.cd_paciente)
JOIN
tipo_necessidade_paciente tnp
ON
(np.cd_tipo_necessidade_paciente = tnp.cd_tipo_necessidade_paciente)
JOIN
usuario u
ON
(s.nm_email_usuario = u.nm_email_usuario)
JOIN
tipo_status_servico tsp
ON
(tsp.cd_status_servico = s.cd_status_servico)
WHERE
s.cd_servico = vCodigoServico;
END$$
/* Procedure criada para salvar o horário do check-in */
DROP PROCEDURE IF EXISTS marcarCheckin$$
CREATE PROCEDURE marcarCheckin(vServico INT)
BEGIN
UPDATE
servico
SET
hr_checkin_servico = CURRENT_TIME(), dt_checkin_servico = CURRENT_DATE()
WHERE
cd_servico = vServico;
END$$
/* Procedure criada para salvar o horário do check-out */
DROP PROCEDURE IF EXISTS marcarCheckout$$
CREATE PROCEDURE marcarCheckout(vServico INT)
BEGIN
UPDATE
servico
SET
hr_checkout_servico = CURRENT_TIME(), dt_checkout_servico = CURRENT_DATE(), cd_status_servico = 3
WHERE
cd_servico = vServico;
END$$
/* Procedure criada para buscar informações do serviço atual */
DROP PROCEDURE IF EXISTS infoServicoAtual$$
CREATE PROCEDURE infoServicoAtual(vServico INT)
BEGIN
SELECT
u.img_usuario, u.nm_usuario, s.nm_rua_servico, s.cd_num_servico,
s.nm_bairro_servico, DATE_FORMAT(s.dt_inicio_servico, '%d/%m/%Y'),
CASE WEEKDAY(s.dt_inicio_servico)
when 0 then 'Segunda-feira'
when 1 then 'Terça-feira'
when 2 then 'Quarta-feira'
when 3 then 'Quinta-feira'
when 4 then 'Sexta-feira'
when 5 then 'Sábado'
when 6 then 'Domingo'
END AS DiaDaSemana,
TIME_FORMAT(s.hr_inicio_servico, '%H:%i'), TIME_FORMAT(s.hr_fim_servico, '%H:%i'), s.cd_geolocalizacao_entrada,
u.vl_hora_trabalho, TIME_FORMAT(TIMEDIFF(s.hr_fim_servico, s.hr_inicio_servico), '%H:%i'), p.nm_cidade_paciente, p.nm_uf_paciente
FROM
servico s
JOIN
paciente p
ON
(s.cd_paciente = p.cd_paciente)
JOIN
necessidade_paciente np
ON
(p.cd_paciente = np.cd_paciente)
JOIN
tipo_necessidade_paciente tnp
ON
(np.cd_tipo_necessidade_paciente = tnp.cd_tipo_necessidade_paciente)
JOIN
usuario u
ON
(s.nm_email_usuario_cuidador = u.nm_email_usuario)
WHERE
s.cd_servico = vServico;
END$$
/* Procedure criada para tornar o cuidador disponível para serviços sem agendamento */
DROP PROCEDURE IF EXISTS tornarDisponivel$$
CREATE PROCEDURE tornarDisponivel(vEmailUsuario VARCHAR(200))
BEGIN
UPDATE
usuario
SET
ic_ativo = true
WHERE
nm_email_usuario = vEmailUsuario;
END$$
/* Procedure criada para tornar o cuidador indisponível para serviços sem agendamento */
DROP PROCEDURE IF EXISTS tornarIndisponivel$$
CREATE PROCEDURE tornarIndisponivel(vEmailUsuario VARCHAR(200))
BEGIN
UPDATE
usuario
SET
ic_ativo = false
WHERE
nm_email_usuario = vEmailUsuario;
END$$
/* Procedure criada para verificar a disponibilidade do cuidador, sabendo se ele está em serviço ou não */
DROP PROCEDURE IF EXISTS verificarDisponibilidade$$
CREATE PROCEDURE verificarDisponibilidade(vEmailCuidador VARCHAR(200))
BEGIN
SELECT
s.cd_servico, p.img_paciente, p.nm_paciente, GROUP_CONCAT(tnp.nm_tipo_necessidade_paciente), s.nm_rua_servico, s.cd_num_servico,
s.nm_complemento_servico, DATE_FORMAT(s.dt_inicio_servico, '%d/%m'),
CASE WEEKDAY(s.dt_inicio_servico)
when 0 then 'Segunda-feira'
when 1 then 'Terça-feira'
when 2 then 'Quarta-feira'
when 3 then 'Quinta-feira'
when 4 then 'Sexta-feira'
when 5 then 'Sábado'
when 6 then 'Domingo'
END AS DiaDaSemana,
TIME_FORMAT(s.hr_inicio_servico, '%H:%i'), TIME_FORMAT(s.hr_fim_servico, '%H:%i'), s.cd_geolocalizacao_entrada,
u.vl_hora_trabalho, TIME_FORMAT(TIMEDIFF(s.hr_fim_servico, s.hr_inicio_servico), '%H:%i'), s.hr_checkin_servico, s.nm_bairro_servico, s.nm_cidade_servico, s.nm_uf_servico
FROM
servico s
JOIN
paciente p
ON
(s.cd_paciente = p.cd_paciente)
JOIN
necessidade_paciente np
ON
(p.cd_paciente = np.cd_paciente)
JOIN
tipo_necessidade_paciente tnp
ON
(np.cd_tipo_necessidade_paciente = tnp.cd_tipo_necessidade_paciente)
JOIN
usuario u
ON
(s.nm_email_usuario_cuidador = u.nm_email_usuario)
WHERE
s.dt_inicio_servico = CURRENT_DATE()
AND
s.hr_inicio_servico <= CURRENT_TIME
AND
s.hr_fim_servico >= CURRENT_TIME()
AND
s.cd_status_servico = 1
AND
s.nm_email_usuario_cuidador = vEmailCuidador
GROUP BY
s.cd_servico;
END$$
/*PROCEDURES REFENRENTE AO ADMINISTRADOR*/
/* Proedure criada para listar os cuidadores a serem contratados */
DROP PROCEDURE IF EXISTS listarSituacaoCuidadores$$
CREATE PROCEDURE listarSituacaoCuidadores(vSituacaoUsuario INT)
BEGIN
SELECT
u.nm_email_usuario, u.img_usuario, u.nm_usuario,
u.cd_avaliacao, u.vl_hora_trabalho, GROUP_CONCAT(te.nm_tipo_especializacao) AS Especializacao
FROM
usuario u
JOIN
especializacao_usuario eu
ON
(u.nm_email_usuario = eu.nm_email_usuario)
JOIN
tipo_especializacao te
ON
(eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
WHERE
u.cd_situacao_usuario = vSituacaoUsuario
GROUP BY
u.nm_email_usuario;
END$$
/* Procedure criada para visualizar as informações de cuidadores que podem ser contratados */
DROP PROCEDURE IF EXISTS verificarCuidador$$
CREATE PROCEDURE verificarCuidador(vEmailCuidador VARCHAR(200))
BEGIN
SELECT
u.nm_usuario, tg.nm_genero, u.cd_avaliacao,
u.cd_telefone, u.cd_CPF, u.nm_email_usuario,
u.cd_link_curriculo, u.ds_usuario,
GROUP_CONCAT(te.nm_tipo_especializacao) AS Especialização, u.vl_hora_trabalho
FROM
usuario u
JOIN
tipo_genero tg
ON
(u.cd_genero = tg.cd_genero)
JOIN
especializacao_usuario eu
ON
(u.nm_email_usuario = eu.nm_email_usuario)
JOIN
tipo_especializacao te
ON
(eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
WHERE
u.nm_email_usuario = vEmailCuidador
GROUP BY
u.nm_email_usuario;
END$$
/* Procedure criada para definir o cuidador como contratado */
DROP PROCEDURE IF EXISTS contratarCuidador$$
CREATE PROCEDURE contratarCuidador(vEmailCuidador VARCHAR(200))
BEGIN
UPDATE
usuario
SET
cd_situacao_usuario = 1
WHERE
nm_email_usuario = vEmailCuidador;
END$$
/* Procedure criada para definir o cuidador como demitido */
DROP PROCEDURE IF EXISTS recusarCuidador$$
CREATE PROCEDURE recusarCuidador(vEmailCuidador VARCHAR(200))
BEGIN
UPDATE
usuario
SET
cd_situacao_usuario = 4
WHERE
nm_email_usuario = vEmailCuidador;
END$$
/* Procedure criada para listar o número de ocorrências de cada cuidador */
DROP PROCEDURE IF EXISTS listarNumerosOcorrencia$$
CREATE PROCEDURE listarNumerosOcorrencia()
BEGIN
SELECT
u.nm_email_usuario, COUNT(o.cd_ocorrencia)
FROM
usuario u
JOIN
ocorrencia o
ON
(u.nm_email_usuario = o.nm_email_usuario)
GROUP BY
u.nm_email_usuario
ORDER BY
o.cd_ocorrencia
DESC;
END$$
/* Procedure criada para marcar o cuidador na situação de advertido */
DROP PROCEDURE IF EXISTS situacaoAdvertencia$$
CREATE PROCEDURE situacaoAdvertencia(vEmailCuidador VARCHAR(200))
BEGIN
UPDATE
usuario
SET
cd_situacao_usuario = 3
WHERE
nm_email_usuario = vEmailCuidador;
END$$
/* Procedure criada para saber o próximo código de advertência */
DROP PROCEDURE IF EXISTS proxCodigoAdvertencia$$
CREATE PROCEDURE proxCodigoAdvertencia()
BEGIN
SELECT
MAX(cd_advertencia) + 1
FROM
advertencia;
END$$
/* Procedure criada para definir o tempo de advertencia do cuidador */
DROP PROCEDURE IF EXISTS definirAdvertencia$$
CREATE PROCEDURE definirAdvertencia(vCodigo INT, vDescricao TEXT, vDataInicio DATE, vDataFim DATE, vEmailUsuario VARCHAR(200), vEmailAdm VARCHAR(200), vTipoAdvertencia INT)
BEGIN
INSERT INTO
advertencia
VALUES
(vCodigo, vDescricao, vDataInicio, vDataFim, vEmailUsuario, vEmailAdm, vTipoAdvertencia);
END$$
/* Procedure criada para marcar o cuidador na situação de demitido */
DROP PROCEDURE IF EXISTS marcarDemissao$$
CREATE PROCEDURE marcarDemissao(vEmailCuidador VARCHAR(200))
BEGIN
UPDATE
usuario
SET
cd_situacao_usuario = 4
WHERE
nm_email_usuario = vEmailCuidador;
END$$
/* Procedure criada para buscar os cuidadores para contrato */
DROP PROCEDURE IF EXISTS listarCuidadoresContrato$$
CREATE PROCEDURE listarCuidadoresContrato()
BEGIN
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
GROUP_CONCAT(te.nm_tipo_especializacao) AS especializações,
u.nm_email_usuario
FROM
usuario u
JOIN
especializacao_usuario eu
ON
(u.nm_email_usuario = eu.nm_email_usuario)
JOIN
tipo_especializacao te
ON
(eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
WHERE
u.cd_situacao_usuario = 2
GROUP BY
u.nm_email_usuario;
END$$
/* Procedure criada para listar quantidade de ocorrências do cuidador */
DROP PROCEDURE IF EXISTS listarOcorrencia$$
CREATE PROCEDURE listarOcorrencia(vEmailCuidador VARCHAR(200))
BEGIN
SELECT
COUNT(o.cd_ocorrencia)
FROM
ocorrencia o
JOIN
servico s
ON
(o.cd_servico = s.cd_servico)
WHERE
s.nm_email_usuario_cuidador = vEmailCuidador
AND
o.ic_verificado = 0;
END$$
/* Procedure criada para listar quantidade de advertências do cuidador */
DROP PROCEDURE IF EXISTS listarAdvertencia$$
CREATE PROCEDURE listarAdvertencia(vEmailCuidador VARCHAR(200))
BEGIN
SELECT
COUNT(cd_advertencia)
FROM
advertencia
WHERE
nm_email_usuario = vEmailCuidador;
END$$
/* Function criada para contar a quantidade de serviços que um cuidador tem */
DROP FUNCTION IF EXISTS countServico$$
CREATE FUNCTION countServico(vEmailCuidador VARCHAR(200)) RETURNS INT
BEGIN
DECLARE qtdServico INT;
SELECT
COUNT(cd_servico) INTO qtdServico
FROM
servico
WHERE
nm_email_usuario_cuidador = vEmailCuidador;
RETURN qtdServico;
END$$
/* Procedure criada para buscar informações completas do cuidador para contrato selecionado pelo adm */
DROP PROCEDURE IF EXISTS infoCuidadorContrato$$
CREATE PROCEDURE infoCuidadorContrato(vEmailCuidador VARCHAR(200))
BEGIN
SELECT
u.img_usuario, u.nm_usuario, tg.nm_genero, u.cd_CPF,
u.cd_telefone, u.nm_email_usuario, u.ds_usuario,
buscarEspecializacao(u.nm_email_usuario) AS especializacao,
u.vl_hora_trabalho, u.cd_link_curriculo, u.cd_situacao_usuario,
countServico(u.nm_email_usuario)
FROM
usuario u
JOIN
tipo_genero tg
ON
(u.cd_genero = tg.cd_genero)
JOIN
especializacao_usuario eu
ON
(u.nm_email_usuario = eu.nm_email_usuario)
JOIN
tipo_especializacao te
ON
(eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
WHERE
u.nm_email_usuario = vEmailCuidador
GROUP BY
u.nm_email_usuario;
END$$
/* Procedure criada para buscar informações básicas de todos os cuidadores */
DROP PROCEDURE IF EXISTS listarCuidadores$$
CREATE PROCEDURE listarCuidadores()
BEGIN
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM
usuario u
JOIN
especializacao_usuario eu
ON
(u.nm_email_usuario = eu.nm_email_usuario)
JOIN
tipo_especializacao te
ON
(eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN
tipo_situacao_usuario tsu
ON
(u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE
u.cd_tipo_usuario = 3
GROUP BY
u.nm_email_usuario;
END$$
/* Procedure criada para buscar informações básicas de todos os serviços de um cuidador */
DROP PROCEDURE IF EXISTS infoServicoCuidador$$
CREATE PROCEDURE infoServicoCuidador(vEmailCuidador VARCHAR(200))
BEGIN
SELECT
s.nm_email_usuario, DATE_FORMAT(s.dt_inicio_servico, '%d/%m/%Y'),
DATE_FORMAT(s.dt_fim_servico, '%d/%m/%Y'), TIME_FORMAT(s.hr_inicio_servico, '%H:%i'),
TIME_FORMAT(s.hr_fim_servico, '%H:%i'), DATE_FORMAT(TIMEDIFF(s.hr_fim_servico, s.hr_inicio_servico), '%H:%i') AS duração,
u.vl_hora_trabalho, tsu.nm_status_servico
FROM
servico s
JOIN
usuario u
ON
(s.nm_email_usuario_cuidador = u.nm_email_usuario)
JOIN
tipo_status_servico tsu
ON
(s.cd_status_servico = tsu.cd_status_servico)
WHERE
s.nm_email_usuario_cuidador = vEmailCuidador
ORDER BY
s.dt_inicio_servico DESC;
END$$
/* Procedure criada para buscar as informações de denúncias que o cuidador recebeu */
DROP PROCEDURE IF EXISTS listarOcorrenciaCuidador$$
CREATE PROCEDURE listarOcorrenciaCuidador(vEmailCuidador VARCHAR(200))
BEGIN
SELECT
tpo.nm_tipo_ocorrencia, DATE_FORMAT(o.dt_ocorrencia, '%d/%m/%Y'),
u.nm_usuario, o.nm_email_usuario, o.ds_ocorrencia, o.cd_ocorrencia,
o.cd_tipo_ocorrencia
FROM
ocorrencia o
JOIN
usuario u
ON
(o.nm_email_usuario = u.nm_email_usuario)
JOIN
servico s
ON
(o.cd_servico = s.cd_servico)
JOIN
tipo_ocorrencia tpo
ON
(o.cd_tipo_ocorrencia = tpo.cd_tipo_ocorrencia)
WHERE
s.nm_email_usuario_cuidador = vEmailCuidador
AND
o.ic_verificado = 0
ORDER BY
o.dt_ocorrencia;
END$$
/* Procedure criada para aplicar advertência ao cuidador */
DROP PROCEDURE IF EXISTS aplicarAdvertencia$$
CREATE PROCEDURE aplicarAdvertencia(vCodigoOcorrencia INT, vDsOcorrencia TEXT, vEmailCuidador VARCHAR(200), vEmailAdm VARCHAR(200), vCodigoTipoOcorrencia INT)
BEGIN
INSERT INTO
advertencia
VALUES
(vCodigoOcorrencia, vDsOcorrencia, CURRENT_DATE, 0, vEmailCuidador, vEmailAdm, vCodigoTipoOcorrencia);
END$$
/* Procedure criada para remover ocorrência */
DROP PROCEDURE IF EXISTS removerOcorrencia$$
CREATE PROCEDURE removerOcorrencia(vCodigoOcorrencia INT)
BEGIN
UPDATE
ocorrencia
SET
ic_verificado = 1
WHERE
cd_ocorrencia = vCodigoOcorrencia;
END$$
/* Procedure criada para listar todas advertências do cuidador */
DROP PROCEDURE IF EXISTS listarAdvertenciaCuidador$$
CREATE PROCEDURE listarAdvertenciaCuidador(vEmailCuidador VARCHAR(200))
BEGIN
SELECT
tpa.nm_tipo_advertencia, DATE_FORMAT(a.dt_advertencia, '%d/%m/%Y'),
u.nm_usuario, a.nm_email_usuario_admin, a.ds_advertencia
FROM
advertencia a
JOIN
usuario u
ON
(a.nm_email_usuario_admin = u.nm_email_usuario)
JOIN
tipo_advertencia tpa
ON
(a.cd_tipo_advertencia = tpa.cd_tipo_advertencia)
WHERE
a.nm_email_usuario = vEmailCuidador
AND
a.ic_verificado = 0
ORDER BY
a.dt_advertencia;
END$$
/* Procedure criada para buscar os cuidadores que tem ocorrências registradas */
DROP PROCEDURE IF EXISTS listarCuidadoresOcorrencia$$
CREATE PROCEDURE listarCuidadoresOcorrencia()
BEGIN
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario), COUNT(o.cd_ocorrencia),
u.nm_email_usuario
FROM
usuario u
JOIN
servico s
ON
(u.nm_email_usuario = s.nm_email_usuario_cuidador)
JOIN
ocorrencia o
ON
(o.cd_servico = s.cd_servico)
WHERE
o.ic_verificado = 0
GROUP BY
s.nm_email_usuario_cuidador;
END$$
/* Procedure criada para suspender o cuidador por um tempo indeterminado */
DROP PROCEDURE IF EXISTS suspenderCuidador$$
CREATE PROCEDURE suspenderCuidador(vEmailCuidador VARCHAR(200))
BEGIN
UPDATE
usuario
SET
cd_situacao_usuario = 3
WHERE
nm_email_usuario = vEmailCuidador;
END$$
DROP PROCEDURE IF EXISTS dadosSuspensaoCuidador$$
CREATE PROCEDURE dadosSuspensaoCuidador(vEmailCuidador VARCHAR(200))
BEGIN
select
ta.nm_tipo_advertencia, a.ds_advertencia, date_format(a.dt_advertencia, '%d/%m/%Y')
from
advertencia a
join
tipo_advertencia ta
on
(a.cd_tipo_advertencia = ta.cd_tipo_advertencia)
where
a.nm_email_usuario = vEmailCuidador;
END$$
/* Procedure criada para tirar suspender do cuidador */
DROP PROCEDURE IF EXISTS removerSuspensao$$
CREATE PROCEDURE removerSuspensao(vEmailCuidador VARCHAR(200))
BEGIN
UPDATE
usuario
SET
cd_situacao_usuario = 1
WHERE
nm_email_usuario = vEmailCuidador;
END$$
/* Procedure criada para banir o cuidador */
DROP PROCEDURE IF EXISTS banirCuidador$$
CREATE PROCEDURE banirCuidador(vEmailCuidador VARCHAR(200))
BEGIN
UPDATE
usuario
SET
cd_situacao_usuario = 4
WHERE
nm_email_usuario = vEmailCuidador;
END$$
/* Procedure criada para desbanir o cuidador caso tenha algum erro */
DROP PROCEDURE IF EXISTS desbanirCuidador$$
CREATE PROCEDURE desbanirCuidador(vEmailCuidador VARCHAR(200))
BEGIN
UPDATE
usuario
SET
cd_situacao_usuario = 1
WHERE
nm_email_usuario = vEmailCuidador;
END$$
/* Procedure criada para o adm filtrar os cuidadores */
DROP PROCEDURE IF EXISTS filtroAdmCuidadores$$
CREATE PROCEDURE filtroAdmCuidadores(vE BOOL, vS BOOL, vP BOOL, vA BOOL, vEm BOOL, vG BOOL, vEspecializacao INT, vStatus INT, vPreco DECIMAL(10, 2), vAvaliacao DECIMAL(10, 2), vEmailCuidador VARCHAR(200), vGenero VARCHAR(200))
BEGIN
SET @decimalVPreco := cast(vPreco as decimal(10,2));
SET @intAvaliacao := cast(vAvaliacao as unsigned);
IF (vE = TRUE) THEN
IF (vS = TRUE) THEN
IF (vP = TRUE) THEN
IF (vA = TRUE) THEN
IF (vEm = TRUE) THEN
IF (vG = TRUE) THEN
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND eu.cd_tipo_especializacao LIKE vEspecializacao
AND u.cd_situacao_usuario = vStatus
AND u.vl_hora_trabalho <= @decimalVPreco
AND u.cd_avaliacao >= @intAvaliacao
AND u.nm_email_usuario LIKE vEmailCuidador
AND tp.nm_genero = vGenero
GROUP BY u.nm_email_usuario;
ELSE
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND eu.cd_tipo_especializacao LIKE vEspecializacao
AND u.cd_situacao_usuario = vStatus
AND u.vl_hora_trabalho <= @decimalVPreco
AND u.cd_avaliacao >= @intAvaliacao
AND u.nm_email_usuario LIKE vEmailCuidador
GROUP BY u.nm_email_usuario;
END IF;
ELSE
IF (vG = TRUE) THEN
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND eu.cd_tipo_especializacao LIKE vEspecializacao
AND u.cd_situacao_usuario = vStatus
AND u.vl_hora_trabalho <= @decimalVPreco
AND u.cd_avaliacao >= @intAvaliacao
AND tp.nm_genero = vGenero
GROUP BY u.nm_email_usuario;
ELSE
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND eu.cd_tipo_especializacao LIKE vEspecializacao
AND u.cd_situacao_usuario = vStatus
AND u.vl_hora_trabalho <= @decimalVPreco
AND u.cd_avaliacao >= @intAvaliacao
GROUP BY u.nm_email_usuario;
END IF;
END IF;
ELSE
IF (vEm = TRUE) THEN
IF (vG = TRUE) THEN
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND eu.cd_tipo_especializacao LIKE vEspecializacao
AND u.cd_situacao_usuario = vStatus
AND u.vl_hora_trabalho <= @decimalVPreco
AND u.nm_email_usuario LIKE vEmailCuidador
AND tp.nm_genero = vGenero
GROUP BY u.nm_email_usuario;
ELSE
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND eu.cd_tipo_especializacao LIKE vEspecializacao
AND u.cd_situacao_usuario = vStatus
AND u.vl_hora_trabalho <= @decimalVPreco
AND u.nm_email_usuario LIKE vEmailCuidador
GROUP BY u.nm_email_usuario;
END IF;
ELSE
IF (vG = TRUE) THEN
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND eu.cd_tipo_especializacao LIKE vEspecializacao
AND u.cd_situacao_usuario = vStatus
AND u.vl_hora_trabalho <= @decimalVPreco
AND tp.nm_genero = vGenero
GROUP BY u.nm_email_usuario;
ELSE
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND eu.cd_tipo_especializacao LIKE vEspecializacao
AND u.cd_situacao_usuario = vStatus
AND u.vl_hora_trabalho <= @decimalVPreco
GROUP BY u.nm_email_usuario;
END IF;
END IF;
END IF;
ELSE
IF (vA = TRUE) THEN
IF (vEm = TRUE) THEN
IF (vG = TRUE) THEN
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND eu.cd_tipo_especializacao LIKE vEspecializacao
AND u.cd_situacao_usuario = vStatus
AND u.cd_avaliacao >= @intAvaliacao
AND u.nm_email_usuario LIKE vEmailCuidador
AND tp.nm_genero = vGenero
GROUP BY u.nm_email_usuario;
ELSE
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND eu.cd_tipo_especializacao LIKE vEspecializacao
AND u.cd_situacao_usuario = vStatus
AND u.cd_avaliacao >= @intAvaliacao
AND u.nm_email_usuario LIKE vEmailCuidador
GROUP BY u.nm_email_usuario;
END IF;
ELSE
IF (vG = TRUE) THEN
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND eu.cd_tipo_especializacao LIKE vEspecializacao
AND u.cd_situacao_usuario = vStatus
AND u.cd_avaliacao >= @intAvaliacao
AND tp.nm_genero = vGenero
GROUP BY u.nm_email_usuario;
ELSE
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND eu.cd_tipo_especializacao LIKE vEspecializacao
AND u.cd_situacao_usuario = vStatus
AND u.cd_avaliacao >= @intAvaliacao
GROUP BY u.nm_email_usuario;
END IF;
END IF;
ELSE
IF (vEm = TRUE) THEN
IF (vG = TRUE) THEN
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND eu.cd_tipo_especializacao LIKE vEspecializacao
AND u.cd_situacao_usuario = vStatus
AND u.nm_email_usuario LIKE vEmailCuidador
AND tp.nm_genero = vGenero
GROUP BY u.nm_email_usuario;
ELSE
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND eu.cd_tipo_especializacao LIKE vEspecializacao
AND u.cd_situacao_usuario = vStatus
AND u.nm_email_usuario LIKE vEmailCuidador
GROUP BY u.nm_email_usuario;
END IF;
ELSE
IF (vG = TRUE) THEN
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND eu.cd_tipo_especializacao LIKE vEspecializacao
AND u.cd_situacao_usuario = vStatus
AND tp.nm_genero = vGenero
GROUP BY u.nm_email_usuario;
ELSE
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND eu.cd_tipo_especializacao LIKE vEspecializacao
AND u.cd_situacao_usuario = vStatus
GROUP BY u.nm_email_usuario;
END IF;
END IF;
END IF;
END IF;
ELSE
IF (vP = TRUE) THEN
IF (vA = TRUE) THEN
IF (vEm = TRUE) THEN
IF (vG = TRUE) THEN
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND eu.cd_tipo_especializacao LIKE vEspecializacao
AND u.cd_situacao_usuario = vStatus
AND u.vl_hora_trabalho <= @decimalVPreco
AND u.cd_avaliacao >= @intAvaliacao
AND u.nm_email_usuario LIKE vEmailCuidador
AND tp.nm_genero = vGenero
GROUP BY u.nm_email_usuario;
ELSE
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND eu.cd_tipo_especializacao LIKE vEspecializacao
AND u.cd_situacao_usuario = vStatus
AND u.vl_hora_trabalho <= @decimalVPreco
AND u.cd_avaliacao >= @intAvaliacao
AND u.nm_email_usuario LIKE vEmailCuidador
GROUP BY u.nm_email_usuario;
END IF;
ELSE
IF (vG = TRUE) THEN
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND eu.cd_tipo_especializacao LIKE vEspecializacao
AND u.cd_situacao_usuario = vStatus
AND u.vl_hora_trabalho <= @decimalVPreco
AND u.cd_avaliacao >= @intAvaliacao
AND tp.nm_genero = vGenero
GROUP BY u.nm_email_usuario;
ELSE
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND eu.cd_tipo_especializacao LIKE vEspecializacao
AND u.cd_situacao_usuario = vStatus
AND u.vl_hora_trabalho <= @decimalVPreco
AND u.cd_avaliacao >= @intAvaliacao
GROUP BY u.nm_email_usuario;
END IF;
END IF;
ELSE
IF (vEm = TRUE) THEN
IF (vG = TRUE) THEN
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND eu.cd_tipo_especializacao LIKE vEspecializacao
AND u.cd_situacao_usuario = vStatus
AND u.vl_hora_trabalho <= @decimalVPreco
AND u.nm_email_usuario LIKE vEmailCuidador
AND tp.nm_genero = vGenero
GROUP BY u.nm_email_usuario;
ELSE
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND eu.cd_tipo_especializacao LIKE vEspecializacao
AND u.cd_situacao_usuario = vStatus
AND u.vl_hora_trabalho <= @decimalVPreco
AND u.nm_email_usuario LIKE vEmailCuidador
GROUP BY u.nm_email_usuario;
END IF;
ELSE
IF (vG = TRUE) THEN
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND eu.cd_tipo_especializacao LIKE vEspecializacao
AND u.cd_situacao_usuario = vStatus
AND u.vl_hora_trabalho <= @decimalVPreco
AND tp.nm_genero = vGenero
GROUP BY u.nm_email_usuario;
ELSE
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND eu.cd_tipo_especializacao LIKE vEspecializacao
AND u.cd_situacao_usuario = vStatus
AND u.vl_hora_trabalho <= @decimalVPreco
GROUP BY u.nm_email_usuario;
END IF;
END IF;
END IF;
ELSE
IF (vA = TRUE) THEN
IF (vEm = TRUE) THEN
IF (vG = TRUE) THEN
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND eu.cd_tipo_especializacao LIKE vEspecializacao
AND u.cd_avaliacao >= @intAvaliacao
AND u.nm_email_usuario LIKE vEmailCuidador
AND tp.nm_genero = vGenero
GROUP BY u.nm_email_usuario;
ELSE
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND eu.cd_tipo_especializacao LIKE vEspecializacao
AND u.cd_avaliacao >= @intAvaliacao
AND u.nm_email_usuario LIKE vEmailCuidador
GROUP BY u.nm_email_usuario;
END IF;
ELSE
IF (vG = TRUE) THEN
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND eu.cd_tipo_especializacao LIKE vEspecializacao
AND u.cd_avaliacao >= @intAvaliacao
AND tp.nm_genero = vGenero
GROUP BY u.nm_email_usuario;
ELSE
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND eu.cd_tipo_especializacao LIKE vEspecializacao
AND u.cd_avaliacao >= @intAvaliacao
GROUP BY u.nm_email_usuario;
END IF;
END IF;
ELSE
IF (vEm = TRUE) THEN
IF (vG = TRUE) THEN
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND eu.cd_tipo_especializacao LIKE vEspecializacao
AND u.cd_situacao_usuario = vStatus
AND u.nm_email_usuario LIKE vEmailCuidador
AND tp.nm_genero = vGenero
GROUP BY u.nm_email_usuario;
ELSE
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND eu.cd_tipo_especializacao LIKE vEspecializacao
AND u.nm_email_usuario LIKE vEmailCuidador
GROUP BY u.nm_email_usuario;
END IF;
ELSE
IF (vG = TRUE) THEN
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND eu.cd_tipo_especializacao LIKE vEspecializacao
AND tp.nm_genero = vGenero
GROUP BY u.nm_email_usuario;
ELSE
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND eu.cd_tipo_especializacao LIKE vEspecializacao
GROUP BY u.nm_email_usuario;
END IF;
END IF;
END IF;
END IF;
END IF;
ELSE
IF (vS = TRUE) THEN
IF (vP = TRUE) THEN
IF (vA = TRUE) THEN
IF (vEm = TRUE) THEN
IF (vG = TRUE) THEN
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND u.cd_situacao_usuario = vStatus
AND u.vl_hora_trabalho <= @decimalVPreco
AND u.cd_avaliacao >= @intAvaliacao
AND u.nm_email_usuario LIKE vEmailCuidador
AND tp.nm_genero = vGenero
GROUP BY u.nm_email_usuario;
ELSE
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND u.cd_situacao_usuario = vStatus
AND u.vl_hora_trabalho <= @decimalVPreco
AND u.cd_avaliacao >= @intAvaliacao
AND u.nm_email_usuario LIKE vEmailCuidador
GROUP BY u.nm_email_usuario;
END IF;
ELSE
IF (vG = TRUE) THEN
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND u.cd_situacao_usuario = vStatus
AND u.vl_hora_trabalho <= @decimalVPreco
AND u.cd_avaliacao >= @intAvaliacao
AND tp.nm_genero = vGenero
GROUP BY u.nm_email_usuario;
ELSE
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND u.cd_situacao_usuario = vStatus
AND u.vl_hora_trabalho <= @decimalVPreco
AND u.cd_avaliacao >= @intAvaliacao
GROUP BY u.nm_email_usuario;
END IF;
END IF;
ELSE
IF (vEm = TRUE) THEN
IF (vG = TRUE) THEN
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND u.cd_situacao_usuario = vStatus
AND u.vl_hora_trabalho <= @decimalVPreco
AND u.nm_email_usuario LIKE vEmailCuidador
AND tp.nm_genero = vGenero
GROUP BY u.nm_email_usuario;
ELSE
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND u.cd_situacao_usuario = vStatus
AND u.vl_hora_trabalho <= @decimalVPreco
AND u.nm_email_usuario LIKE vEmailCuidador
GROUP BY u.nm_email_usuario;
END IF;
ELSE
IF (vG = TRUE) THEN
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND u.cd_situacao_usuario = vStatus
AND u.vl_hora_trabalho <= @decimalVPreco
AND tp.nm_genero = vGenero
GROUP BY u.nm_email_usuario;
ELSE
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND u.cd_situacao_usuario = vStatus
AND u.vl_hora_trabalho <= @decimalVPreco
GROUP BY u.nm_email_usuario;
END IF;
END IF;
END IF;
ELSE
IF (vA = TRUE) THEN
IF (vEm = TRUE) THEN
IF (vG = TRUE) THEN
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND u.cd_situacao_usuario = vStatus
AND u.cd_avaliacao >= @intAvaliacao
AND u.nm_email_usuario LIKE vEmailCuidador
AND tp.nm_genero = vGenero
GROUP BY u.nm_email_usuario;
ELSE
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND u.cd_situacao_usuario = vStatus
AND u.cd_avaliacao >= @intAvaliacao
AND u.nm_email_usuario LIKE vEmailCuidador
GROUP BY u.nm_email_usuario;
END IF;
ELSE
IF (vG = TRUE) THEN
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND u.cd_situacao_usuario = vStatus
AND u.cd_avaliacao >= @intAvaliacao
AND tp.nm_genero = vGenero
GROUP BY u.nm_email_usuario;
ELSE
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND u.cd_situacao_usuario = vStatus
AND u.cd_avaliacao >= @intAvaliacao
GROUP BY u.nm_email_usuario;
END IF;
END IF;
ELSE
IF (vEm = TRUE) THEN
IF (vG = TRUE) THEN
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND u.cd_situacao_usuario = vStatus
AND u.nm_email_usuario LIKE vEmailCuidador
AND tp.nm_genero = vGenero
GROUP BY u.nm_email_usuario;
ELSE
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND u.cd_situacao_usuario = vStatus
AND u.nm_email_usuario LIKE vEmailCuidador
GROUP BY u.nm_email_usuario;
END IF;
ELSE
IF (vG = TRUE) THEN
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND u.cd_situacao_usuario = vStatus
AND tp.nm_genero = vGenero
GROUP BY u.nm_email_usuario;
ELSE
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND u.cd_situacao_usuario = vStatus
GROUP BY u.nm_email_usuario;
END IF;
END IF;
END IF;
END IF;
ELSE
IF (vP = TRUE) THEN
IF (vA = TRUE) THEN
IF (vEm = TRUE) THEN
IF (vG = TRUE) THEN
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND u.vl_hora_trabalho <= @decimalVPreco
AND u.cd_avaliacao >= @intAvaliacao
AND u.nm_email_usuario LIKE vEmailCuidador
AND tp.nm_genero = vGenero
GROUP BY u.nm_email_usuario;
ELSE
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND u.vl_hora_trabalho <= @decimalVPreco
AND u.cd_avaliacao >= @intAvaliacao
AND u.nm_email_usuario LIKE vEmailCuidador
GROUP BY u.nm_email_usuario;
END IF;
ELSE
IF (vG = TRUE) THEN
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND u.vl_hora_trabalho <= @decimalVPreco
AND u.cd_avaliacao >= @intAvaliacao
AND tp.nm_genero = vGenero
GROUP BY u.nm_email_usuario;
ELSE
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND u.vl_hora_trabalho <= @decimalVPreco
AND u.cd_avaliacao >= @intAvaliacao
GROUP BY u.nm_email_usuario;
END IF;
END IF;
ELSE
IF (vEm = TRUE) THEN
IF (vG = TRUE) THEN
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND u.vl_hora_trabalho <= @decimalVPreco
AND u.nm_email_usuario LIKE vEmailCuidador
AND tp.nm_genero = vGenero
GROUP BY u.nm_email_usuario;
ELSE
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND u.vl_hora_trabalho <= @decimalVPreco
AND u.nm_email_usuario LIKE vEmailCuidador
GROUP BY u.nm_email_usuario;
END IF;
ELSE
IF (vG = TRUE) THEN
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND u.vl_hora_trabalho <= @decimalVPreco
AND tp.nm_genero = vGenero
GROUP BY u.nm_email_usuario;
ELSE
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND u.vl_hora_trabalho <= @decimalVPreco
GROUP BY u.nm_email_usuario;
END IF;
END IF;
END IF;
ELSE
IF (vA = TRUE) THEN
IF (vEm = TRUE) THEN
IF (vG = TRUE) THEN
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND u.cd_avaliacao >= @intAvaliacao
AND u.nm_email_usuario LIKE vEmailCuidador
AND tp.nm_genero = vGenero
GROUP BY u.nm_email_usuario;
ELSE
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND u.cd_avaliacao >= @intAvaliacao
AND u.nm_email_usuario LIKE vEmailCuidador
GROUP BY u.nm_email_usuario;
END IF;
ELSE
IF (vG = TRUE) THEN
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND u.cd_avaliacao >= @intAvaliacao
AND tp.nm_genero = vGenero
GROUP BY u.nm_email_usuario;
ELSE
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND u.cd_avaliacao >= @intAvaliacao
GROUP BY u.nm_email_usuario;
END IF;
END IF;
ELSE
IF (vEm = TRUE) THEN
IF (vG = TRUE) THEN
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND u.nm_email_usuario LIKE vEmailCuidador
AND tp.nm_genero = vGenero
GROUP BY u.nm_email_usuario;
ELSE
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND u.nm_email_usuario LIKE vEmailCuidador
GROUP BY u.nm_email_usuario;
END IF;
ELSE
IF (vG = TRUE) THEN
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
AND tp.nm_genero = vGenero
GROUP BY u.nm_email_usuario;
ELSE
SELECT
u.img_usuario, u.nm_usuario, u.vl_hora_trabalho,
buscarEspecializacao(u.nm_email_usuario) AS especializações,
nm_situacao_usuario, u.nm_email_usuario
FROM usuario u
JOIN tipo_genero tp
ON (u.cd_genero = tp.cd_genero)
JOIN especializacao_usuario eu
ON (u.nm_email_usuario = eu.nm_email_usuario)
JOIN tipo_especializacao te
ON (eu.cd_tipo_especializacao = te.cd_tipo_especializacao)
JOIN tipo_situacao_usuario tsu
ON (u.cd_situacao_usuario = tsu.cd_situacao_usuario)
WHERE u.cd_tipo_usuario = 3
GROUP BY u.nm_email_usuario;
END IF;
END IF;
END IF;
END IF;
END IF;
END IF;
END$$
/* Procedure criada para buscar os dados do paciente */
DROP PROCEDURE IF EXISTS buscarDadosPaciente$$
CREATE PROCEDURE buscarDadosPaciente(vCdPaciente VARCHAR(200))
BEGIN
select
nm_paciente, tnp.nm_tipo_necessidade_paciente, ds_paciente,
cd_CEP_paciente, nm_cidade_paciente, nm_bairro_cidade, nm_rua_paciente,cd_num_paciente,
nm_uf_paciente,nm_complemento_paciente, img_paciente, tnp.cd_tipo_necessidade_paciente
from paciente
JOIN
necessidade_paciente np ON (paciente.cd_paciente = np.cd_paciente)
JOIN
tipo_necessidade_paciente tnp ON (np.cd_tipo_necessidade_paciente = tnp.cd_tipo_necessidade_paciente)
WHERE paciente.cd_paciente = vCdPaciente;
END$$
DROP PROCEDURE IF EXISTS atualizarDadosPaciente$$
CREATE PROCEDURE atualizarDadosPaciente(vImgUsuario LONGBLOB, vCdPaciente VARCHAR(200),vNmPaciente varchar(200),vDsPaciente varchar(200),vCepPaciente varchar(200),vCidadePaciente varchar(200),vBairroPaciente varchar(200),vRuaPaciente varchar(200),vNumPaciente varchar(200),vUFPaciente varchar(200),vComplementoPaciente varchar(200))
BEGIN
UPDATE
paciente
SET nm_paciente = vNmPaciente, ds_paciente = vDsPaciente, cd_CEP_paciente = vCepPaciente,
nm_cidade_paciente = vCidadePaciente, nm_bairro_cidade = vBairroPaciente, nm_rua_paciente = vRuaPaciente,cd_num_paciente = vNumPaciente,
nm_uf_paciente = vUFPaciente,nm_complemento_paciente = vComplementoPaciente, img_paciente = vImgUsuario
WHERE cd_paciente = vCdPaciente;
END$$
DROP PROCEDURE IF EXISTS atualizarNecessidadesPaciente$$
CREATE PROCEDURE atualizarNecessidadesPaciente(vCdPaciente INT, vCdTipoNecessidade INT)
BEGIN
insert into
necessidade_paciente
values
(vCdPaciente, vCdTipoNecessidade);
END$$
DROP PROCEDURE IF EXISTS proxCdPaciente$$
CREATE PROCEDURE proxCdPaciente(OUT maxCD varchar(30))
BEGIN
SELECT
MAX(cd_paciente) + 1
FROM
paciente;
END$$
DROP PROCEDURE IF EXISTS adicionarPaciente$$
CREATE PROCEDURE adicionarPaciente(vImgUsuario LONGBLOB, vUsuarioLogado varchar(200),vNmPaciente varchar(200),vDsPaciente varchar(200),vCepPaciente varchar(200),vCidadePaciente varchar(200),vBairroPaciente varchar(200),vRuaPaciente varchar(200),vNumPaciente varchar(200),vUFPaciente varchar(200),vComplementoPaciente varchar(200))
BEGIN
SET @maxCD = (SELECT MAX(cd_paciente) + 1 FROM paciente LIMIT 1);
Insert into paciente (img_paciente, cd_paciente,nm_paciente, ds_paciente,cd_CEP_paciente,nm_cidade_paciente,nm_bairro_cidade,nm_rua_paciente,cd_num_paciente,nm_uf_paciente,nm_complemento_paciente, nm_email_usuario)
Values (vImgUsuario, @maxCD,vNmPaciente,vDsPaciente,vCepPaciente,vCidadePaciente ,vBairroPaciente,vRuaPaciente,vNumPaciente ,vUFPaciente ,vComplementoPaciente,vUsuarioLogado);
END$$
DROP PROCEDURE IF EXISTS avaliarServico$$
CREATE PROCEDURE avaliarServico(vEmailUsuario VARCHAR(200), vCdAvaliacao INT)
BEGIN
UPDATE
servico
SET
cd_avaliacao = vCdAvaliacao
WHERE
nm_email_usuario_cuidador = vEmailUsuario;
END$$
DROP PROCEDURE IF EXISTS listarEspecializacao$$
CREATE PROCEDURE listarEspecializacao()
BEGIN
select * from tipo_especializacao;
END$$
/* Proceudre criada para adicionar a disponibilidade do usuario, podendo escolher dia, hora de início e fim */
DROP PROCEDURE IF EXISTS adicionarDisponibilidade$$
CREATE PROCEDURE adicionarDisponibilidade(vDataDisponibilidade DATE, vHoraInicioDisponibilidade TIME, vHoraFimDisponibilidade TIME, vEmailCuidador VARCHAR(200))
BEGIN
INSERT INTO
disponibilidade
VALUES
(vDataDisponibilidade, vHoraInicioDisponibilidade, vHoraFimDisponibilidade, vEmailCuidador);
END$$
/* Procedure criada para verificar se a disponibilidade que ele quer adicionar não entra em conflito com outra */
DROP PROCEDURE IF EXISTS verificarHorarioDisponibilidade$$
CREATE PROCEDURE verificarHorarioDisponibilidade(vDataDisponibilidade DATE, vHoraInicioDisponibilidade TIME, vHoraFimDisponibilidade TIME, vEmailCuidador VARCHAR(200))
BEGIN
SELECT
*
FROM
disponibilidade
WHERE
dt_disponibilidade = vDataDisponibilidade
AND
(hr_inicio_disponibilidade <= vHoraInicioDisponibilidade
OR
hr_fim_disponibilidade >= vHoraFimDisponibilidade)
AND
nm_email_usuario = vEmailCuidador;
END$$
/* Procedure criada para deletar a disponibilidade caso algum cuidador queira */
DROP PROCEDURE IF EXISTS deletarDisponibilidade$$
CREATE PROCEDURE deletarDisponibilidade(vDataDisponibilidade DATE, vHoraInicioDisponibilidade TIME, vHoraFimDisponibilidade TIME, vEmailCuidador VARCHAR(200))
BEGIN
DELETE FROM
disponibilidade
WHERE
dt_disponibilidade = vDataDisponibilidade
AND
hr_inicio_disponibilidade = vHoraInicioDisponibilidade
AND
hr_fim_disponibilidade = vHoraFimDisponibilidade
AND
nm_email_usuario = vEmailCuidador;
END$$
/* Procedure criada para buscar a disponibilidade de um cuidador referente ao mês */
DROP PROCEDURE IF EXISTS disponibilidadePorMes$$
CREATE PROCEDURE disponibilidadePorMes(vEmailCuidador VARCHAR(200), vMes INT)
BEGIN
SELECT
day(dt_disponibilidade), hr_inicio_disponibilidade, hr_fim_disponibilidade
FROM
disponibilidade
WHERE
nm_email_usuario = vEmailCuidador
AND
MONTH(dt_disponibilidade) = vMes
ORDER BY
hr_inicio_disponibilidade;
END$$
DROP PROCEDURE IF EXISTS listarNecessidades$$
CREATE PROCEDURE listarNecessidades()
BEGIN
SELECT
cd_tipo_necessidade_paciente, nm_tipo_necessidade_paciente
FROM
tipo_necessidade_paciente;
END$$
DROP PROCEDURE IF EXISTS deletarNecessidadesPaciente$$
CREATE PROCEDURE deletarNecessidadesPaciente(vCdPaciente INT)
BEGIN
delete from
necessidade_paciente
where
cd_paciente = vCdPaciente;
END$$
DROP PROCEDURE IF EXISTS listarUltimoCodigoPaciente$$
CREATE PROCEDURE listarUltimoCodigoPaciente()
BEGIN
select max(cd_paciente) from paciente;
END$$
DROP PROCEDURE IF EXISTS excluirPaciente$$
CREATE PROCEDURE excluirPaciente(vCdPaciente INT)
BEGIN
delete from
necessidade_paciente
where
cd_paciente = vCdPaciente;
delete from
paciente
where
cd_paciente = vCdPaciente;
END$$
/* Procedure criada para buscar os agendados de um cuidador referente ao mês */
DROP PROCEDURE IF EXISTS buscarServicoAgendadoCuidadorMes$$
CREATE PROCEDURE buscarServicoAgendadoCuidadorMes(vEmailCuidador VARCHAR(200), vMes INT)
BEGIN
SELECT
day(dt_inicio_servico), cd_servico, hr_inicio_servico
FROM
servico
WHERE
nm_email_usuario_cuidador = vEmailCuidador
AND
MONTH(dt_inicio_servico) = vMes
AND
cd_status_servico = 5
ORDER BY
hr_inicio_servico;
END$$
DROP PROCEDURE IF EXISTS editarDadosCuidador$$
CREATE PROCEDURE editarDadosCuidador(vCdGenero INT, vExperienciaCuidador TEXT, vDescricaoCuidador TEXT,vLinkCurriculo TEXT, vValorHora DECIMAL(10,2),vImgUsuario LONGBLOB, vEmailUsuario VARCHAR(200), vNomeCuidador VARCHAR(200), vCpfCuidador VARCHAR(15), vTelefoneCuidador VARCHAR(15))
BEGIN
update
usuario
set
nm_usuario = vNomeCuidador, cd_CPF = vCpfCuidador, cd_telefone = vTelefoneCuidador, img_usuario = vImgUsuario, vl_hora_trabalho = vValorHora,
cd_link_curriculo = vLinkCurriculo, ds_experiencia_usuario = vExperienciaCuidador, ds_usuario = vDescricaoCuidador, cd_genero = vCdGenero
where
nm_email_usuario = vEmailUsuario;
END$$
/* Procedure será usada pra listar os serviços pendentes em ordem crescente com data específica */
DROP PROCEDURE IF EXISTS listarServicosDia$$
CREATE PROCEDURE listarServicosDia(vEmailCuidador VARCHAR(200), vDataServico DATE)
BEGIN
SELECT
p.nm_paciente, s.nm_rua_servico, s.cd_num_servico, group_concat(tnp.nm_tipo_necessidade_paciente),
DATE_FORMAT(s.dt_inicio_servico, '%d/%m/%Y'), s.hr_inicio_servico, s.hr_fim_servico, tss.nm_status_servico, p.img_paciente, DATEDIFF(s.dt_inicio_servico, current_date()),
u.vl_hora_trabalho, TIMEDIFF(s.hr_fim_servico, s.hr_inicio_servico), s.cd_servico
FROM
servico s
JOIN
paciente p
ON
(s.cd_paciente = p.cd_paciente)
JOIN
necessidade_paciente np
ON
(p.cd_paciente = np.cd_paciente)
JOIN
tipo_necessidade_paciente tnp
ON
(np.cd_tipo_necessidade_paciente = tnp.cd_tipo_necessidade_paciente)
JOIN
tipo_status_servico tss
ON
(tss.cd_status_servico = s.cd_status_servico)
JOIN
usuario u
ON
(u.nm_email_usuario = s.nm_email_usuario_cuidador)
WHERE
s.nm_email_usuario_cuidador = vEmailCuidador
AND
s.cd_status_servico = 5
AND
s.dt_inicio_servico = vDataServico
GROUP BY
s.cd_servico
ORDER BY
s.dt_inicio_servico, s.hr_inicio_servico;
END$$
DROP PROCEDURE IF EXISTS buscarDadosCliente$$
CREATE PROCEDURE buscarDadosCliente(vEmailCliente VARCHAR(200))
BEGIN
select
nm_usuario, cd_CPF, cd_telefone
from
usuario
where
nm_email_usuario = vEmailCliente;
END$$
DROP PROCEDURE IF EXISTS atualizarDadosCliente$$
CREATE PROCEDURE atualizarDadosCliente(vEmailUsuario VARCHAR(200), vNomeUsuario VARCHAR(200), vCpfUsuario VARCHAR(15), vTelefoneUsuario VARCHAR(15))
BEGIN
update
usuario
set
nm_usuario = vNomeUsuario, cd_CPF = vCpfUsuario, cd_telefone = vTelefoneUsuario
where
nm_email_usuario = vEmailUsuario;
END$$
/* Procedure criada para verificar se o paciente já tem algum serviço no horário escolhido pelo cliente */
DROP PROCEDURE IF EXISTS verificarPacienteServico$$
CREATE PROCEDURE verificarPacienteServico(vCodigoPaciente INT, vDataServico DATE, vHoraInicio TIME, vHoraFim TIME)
BEGIN
SELECT
s.cd_servico
FROM
servico s
JOIN
paciente p
ON
(s.cd_paciente = p.cd_paciente)
WHERE
(p.cd_paciente = vCodigoPaciente AND dt_inicio_servico = vDataServico AND vHoraInicio BETWEEN s.hr_inicio_servico AND s.hr_fim_servico)
OR
(p.cd_paciente = vCodigoPaciente AND dt_inicio_servico = vDataServico AND vHoraFim BETWEEN s.hr_inicio_servico AND s.hr_fim_servico);
END$$
/* Procedure criada para verificar se já achou cuidador pro serviço agora do cliente */
DROP PROCEDURE IF EXISTS verificarAceitouServico$$
CREATE PROCEDURE verificarAceitouServico(vCodigoServico INT)
BEGIN
SELECT
cd_status_servico
FROM
servico
WHERE
cd_servico = vCodigoServico;
END$$
DROP PROCEDURE IF EXISTS codigoRecuperarSenha$$
CREATE PROCEDURE codigoRecuperarSenha(vEmailUsuario VARCHAR(200))
BEGIN
select
cd_auth_recover
from
auth_recover
where
nm_email_usuario = vEmailUsuario;
END$$
DROP PROCEDURE IF EXISTS verificarCodigoRecuperacao$$
CREATE PROCEDURE verificarCodigoRecuperacao(vEmailUsuario VARCHAR(200), vCdRecuperacao INT)
BEGIN
select
cd_auth_recover
from
auth_recover
where
nm_email_usuario = vEmailUsuario
AND
cd_auth_recover = vCdRecuperacao;
END$$
DROP PROCEDURE IF EXISTS inserirAuthRecover$$
CREATE PROCEDURE inserirAuthRecover(vEmailUsuario VARCHAR(200), vCodigoAuthRecover INT)
BEGIN
insert into
auth_recover
values
(vCodigoAuthRecover, current_time(), current_date(), vEmailUsuario);
END$$
DROP PROCEDURE IF EXISTS deletarAuthRecover$$
CREATE PROCEDURE deletarAuthRecover(vCodigoAuthRecover INT, vEmailUsuario VARCHAR(200))
BEGIN
delete from
auth_recover
where
cd_auth_recover = vCodigoAuthRecover
AND
nm_email_usuario = vEmailUsuario;
END$$
DROP PROCEDURE IF EXISTS listarAvaliacoes$$
CREATE PROCEDURE listarAvaliacoes(vEmailUsuario VARCHAR(200))
BEGIN
select
cd_avaliacao
from
servico
where
nm_email_usuario_cuidador = vEmailUsuario;
END$$
/* Procedure buscarPacientesQueNaoEstaoEmServico. Busca pacientes que nao estao em serviço porra pq tu ta lendo isso eh autoexplicativo */
DROP PROCEDURE IF EXISTS buscarPacientesQueEstaoEmServico$$
CREATE PROCEDURE buscarPacientesQueEstaoEmServico(vEmailUsuario VARCHAR(100))
BEGIN
SELECT
p.cd_paciente
FROM
paciente p
JOIN
servico s
ON
(p.cd_paciente = s.cd_paciente)
WHERE
(p.nm_email_usuario = vEmailUsuario AND s.dt_inicio_servico = CURRENT_DATE() AND CURRENT_TIME() BETWEEN s.hr_inicio_servico AND s.hr_fim_servico)
OR
(p.nm_email_usuario = vEmailUsuario AND s.dt_inicio_servico = CURRENT_DATE() AND CURRENT_TIME() > s.hr_inicio_servico)
OR
(p.nm_email_usuario = vEmailUsuario AND s.dt_fim_servico = CURRENT_DATE() AND CURRENT_TIME() < s.hr_fim_servico)
GROUP BY
p.cd_paciente;
END$$
DELIMITER ; | true |
9b500ac7714109aa53743e3a3e14a90909337ee0 | SQL | bogdan-alov/CSharp-DB-Fundamentals | /Databases Basics - MS SQL Server/3. Built-in Functions/Built-in Functions.sql | UTF-8 | 2,829 | 4.40625 | 4 | [] | no_license | 01. Find Names of All Employees by First Name
SELECT FirstName,
LastName
FROM Employees
WHERE LEFT(FirstName, 2) = 'SA'
02. Find Names of All Employees by Last Name
SELECT FirstName,
LastName
FROM Employees
WHERE CHARINDEX('EI', LastName) > 0
03. Find First Names of All Employess
SELECT FirstName
FROM Employees
WHERE DepartmentID IN (3,10) AND YEAR(HireDate) BETWEEN 1995 AND 2005
04. Find All Employees Except Engineers
SELECT FirstName,
LastName
FROM Employees
WHERE JobTitle NOT LIKE '%engineer%'
05. Find Towns with Name
SELECT Name
FROM Towns
WHERE LEN(Name) = 5 or LEN(Name) = 6
ORDER BY Name
06. Find Towns Starting With
SELECT TownID,
Name
FROM Towns
WHERE Name LIKE 'm%' or Name LIKE 'k%' or Name LIKE 'b%' or Name LIKE 'e%'
ORDER BY Name
07. Find Towns Not Starting With
SELECT TownID,
Name
FROM Towns
WHERE LEFT(Name, 1) NOT IN ('R', 'B', 'D')
ORDER BY Name
08. Create View Employees Hired After
CREATE VIEW V_EmployeesHiredAfter2000
AS
SELECT FirstName,
LastName
FROM Employees
WHERE YEAR(HireDate) > 2000
09. Length of Last Name
SELECT FirstName,
LastName
FROM Employees
WHERE LEN(LastName) = 5
10. Countries Holding 'A'
SELECT CountryName, IsoCode AS 'ISO Code'
FROM Countries
WHERE CountryName LIKE '%a%' + '%a%' + '%a%'
ORDER BY [ISO Code]
11. Mix of Peak and River Names
SELECT PeakName, RiverName,
CASE
WHEN RIGHT(PeakName, 1) = LEFT(RiverName,1) THEN LOWER(LEFT(PeakName, LEN(PeakName) - 1)) + LOWER(RiverName)
END AS 'Mix'
FROM Peaks, Rivers
WHERE RIGHT(PeakName, 1) = LEFT(RiverName,1)
ORDER BY PeakName, RiverName
12. Games From 2011 and 2012 Year
SELECT TOP(50) Name,FORMAT(Start,'yyyy-MM-dd') AS Start FROM Games as g
WHERE YEAR(Start) IN (2011,2012)
ORDER BY g.Start, G.Name
13. User Email Providers
SELECT Username AS Username,
RTRIM(LTRIM(SUBSTRING(Email,CHARINDEX('@',Email,1)+1,LEN(Email)))) AS [Email Provider]
FROM Users
ORDER BY [Email Provider],Username
14. Get Users with IPAddress Like Pattern
SELECT
Username, IpAddress
FROM
Users
WHERE
IpAddress LIKE '___.1%.%.___'
ORDER BY Username
15. Show All Games with Duration
SELECT Name,
CASE
WHEN DATEPART(HOUR, Start)>= 0 AND DATEPART(HOUR, Start) < 12 THEN 'Morning'
WHEN DATEPART(HOUR, Start)>= 12 AND DATEPART(HOUR, Start) < 18 THEN 'Afternoon'
WHEN DATEPART(HOUR, Start)>= 18 AND DATEPART(HOUR, Start) < 24 THEN 'Evening'
END as 'Part of the Day',
CASE
WHEN Duration < 3 OR Duration = 3 THEN 'Extra Short'
WHEN Duration > 3 AND Duration < 7 THEN 'Short'
WHEN Duration > 6 THEN 'Long'
WHEN Duration IS NULL THEN 'Extra Long'
END AS 'Duration'
FROM Games as g
ORDER BY Name, Duration, [Part of the Day]
16. Orders Table
SELECT ProductName, OrderDate,
DATEADD (DAY, 3 , OrderDate ) AS 'Pay Due',
DATEADD(MONTH, 1, OrderDate) AS 'Deliver Due'
FROM Orders | true |
fd2c625e0b3d36ad2094c692ebfeaf2560a026ee | SQL | phong203/ChuyenDeWeb1 | /BT_Test_1_2/my_database/facefly.sql | UTF-8 | 10,240 | 3.21875 | 3 | [
"MIT"
] | permissive | -- phpMyAdmin SQL Dump
-- version 4.8.4
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1:3306
-- Generation Time: Apr 01, 2019 at 03:46 PM
-- Server version: 5.7.24
-- PHP Version: 7.2.14
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: `facefly`
--
-- --------------------------------------------------------
--
-- Table structure for table `airlines`
--
DROP TABLE IF EXISTS `airlines`;
CREATE TABLE IF NOT EXISTS `airlines` (
`airline_id` int(11) NOT NULL AUTO_INCREMENT,
`airline_name` varchar(55) CHARACTER SET utf8 NOT NULL,
`airline_nation_id` int(11) DEFAULT NULL,
PRIMARY KEY (`airline_id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `airlines`
--
INSERT INTO `airlines` (`airline_id`, `airline_name`, `airline_nation_id`) VALUES
(1, 'Viet Nam Airline', 1),
(2, 'VietJet', 1),
(3, 'Jetstar', 2);
-- --------------------------------------------------------
--
-- Table structure for table `airports`
--
DROP TABLE IF EXISTS `airports`;
CREATE TABLE IF NOT EXISTS `airports` (
`airport_id` int(11) NOT NULL AUTO_INCREMENT,
`airport_name` varchar(55) CHARACTER SET utf8 NOT NULL,
PRIMARY KEY (`airport_id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `airports`
--
INSERT INTO `airports` (`airport_id`, `airport_name`) VALUES
(1, 'Tân Sơn Nhất'),
(2, ' Nội Bài'),
(3, ' Cam Ranh');
-- --------------------------------------------------------
--
-- Table structure for table `cities`
--
DROP TABLE IF EXISTS `cities`;
CREATE TABLE IF NOT EXISTS `cities` (
`city_id` int(11) NOT NULL AUTO_INCREMENT,
`city_name` varchar(55) CHARACTER SET utf8 NOT NULL,
`city_code` varchar(15) CHARACTER SET utf8 NOT NULL,
`city_airport_id` int(11) DEFAULT NULL,
`city_nation_id` int(11) DEFAULT NULL,
PRIMARY KEY (`city_id`)
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `cities`
--
INSERT INTO `cities` (`city_id`, `city_name`, `city_code`, `city_airport_id`, `city_nation_id`) VALUES
(1, 'Hồ Chí Minh', 'SGN', 1, 1),
(2, 'Cần Thơ', 'CT', 2, 1),
(3, 'Đà Nẵng', 'DN', 3, 3),
(4, 'Hà Nội', 'HN', NULL, 2);
-- --------------------------------------------------------
--
-- Table structure for table `customers`
--
DROP TABLE IF EXISTS `customers`;
CREATE TABLE IF NOT EXISTS `customers` (
`customer_id` int(11) NOT NULL AUTO_INCREMENT,
`customer_user_id` int(11) DEFAULT NULL,
`customer_first_name` varchar(55) CHARACTER SET utf8 NOT NULL,
`customer_last_name` varchar(16) CHARACTER SET utf8 NOT NULL,
`customer_title` varchar(16) CHARACTER SET utf8 NOT NULL,
`customer_transfer` varchar(55) CHARACTER SET utf8 NOT NULL,
`customer_paypal` varchar(55) CHARACTER SET utf8 NOT NULL,
`customer_credit_card` int(16) DEFAULT NULL,
`customer_credit_name` varchar(55) CHARACTER SET utf8 NOT NULL,
`customer_credit_ccv` varchar(8) CHARACTER SET utf8 NOT NULL,
PRIMARY KEY (`customer_id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `customers`
--
INSERT INTO `customers` (`customer_id`, `customer_user_id`, `customer_first_name`, `customer_last_name`, `customer_title`, `customer_transfer`, `customer_paypal`, `customer_credit_card`, `customer_credit_name`, `customer_credit_ccv`) VALUES
(1, 1, 'Nguyễn', 'user1', 'Mr.', '', '', NULL, '', ''),
(2, 2, 'Trần', 'user2', 'Mrs.', '', '', NULL, '', ''),
(3, 3, 'Lê', 'user3', 'Mr.', '', '', NULL, '', '');
-- --------------------------------------------------------
--
-- Table structure for table `flight_booking`
--
DROP TABLE IF EXISTS `flight_booking`;
CREATE TABLE IF NOT EXISTS `flight_booking` (
`fb_id` int(11) NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`fb_id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `flight_booking`
--
INSERT INTO `flight_booking` (`fb_id`) VALUES
(1),
(2),
(3);
-- --------------------------------------------------------
--
-- Table structure for table `flight_classes`
--
DROP TABLE IF EXISTS `flight_classes`;
CREATE TABLE IF NOT EXISTS `flight_classes` (
`fc_id` int(11) NOT NULL AUTO_INCREMENT,
`fc_name` varchar(55) CHARACTER SET utf8 NOT NULL,
PRIMARY KEY (`fc_id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `flight_classes`
--
INSERT INTO `flight_classes` (`fc_id`, `fc_name`) VALUES
(1, 'Economy'),
(2, 'Business'),
(3, 'Premium Economy');
-- --------------------------------------------------------
--
-- Table structure for table `flight_list`
--
DROP TABLE IF EXISTS `flight_list`;
CREATE TABLE IF NOT EXISTS `flight_list` (
`fl_id` int(11) NOT NULL AUTO_INCREMENT,
`fl_fc_id` int(11) DEFAULT NULL,
`fl_airline_id` int(11) DEFAULT NULL,
`fl_code` varchar(15) CHARACTER SET utf8 NOT NULL,
`fl_total` int(11) DEFAULT NULL,
`fl_km` float DEFAULT NULL,
`fl_city_from_id` int(11) DEFAULT NULL,
`fl_city_to_id` int(11) DEFAULT NULL,
`fl_departure_date` datetime DEFAULT NULL,
`fl_landing_date` datetime DEFAULT NULL,
`fl_return_date` datetime DEFAULT NULL,
`updated_at` datetime DEFAULT NULL,
PRIMARY KEY (`fl_id`)
) ENGINE=MyISAM AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `flight_list`
--
INSERT INTO `flight_list` (`fl_id`, `fl_fc_id`, `fl_airline_id`, `fl_code`, `fl_total`, `fl_km`, `fl_city_from_id`, `fl_city_to_id`, `fl_departure_date`, `fl_landing_date`, `fl_return_date`, `updated_at`) VALUES
(1, 2, 1, 'VVCS/VCS', 100, 1500, 1, 2, '2019-03-06 06:00:00', '2019-03-06 12:00:00', '2019-03-08 09:00:00', '2019-03-19 09:52:13'),
(2, 2, 2, 'VVCT/VCA', 150, 80, 1, 3, '2019-03-07 07:20:00', '2019-03-08 10:00:00', '2019-03-10 08:08:00', NULL),
(3, 3, 3, 'VVTS/SGN', 200, 500, 2, 3, '2019-03-06 10:20:00', '2019-03-07 06:00:00', '2019-03-11 08:00:00', NULL),
(4, 2, 1, 'test', 1, 1000, 1, 1, '2019-03-29 00:00:00', '2019-03-29 00:00:00', '2019-03-29 00:00:00', NULL),
(5, 2, 1, 'test1', 10, 1200, 1, 4, '2019-03-29 00:00:00', '2019-03-29 00:00:00', '2019-03-29 00:00:00', NULL),
(6, 1, 3, 'test1', 1, 15000, 1, 2, '2019-03-29 00:00:00', '2019-03-14 00:00:00', '2019-03-28 00:00:00', NULL),
(7, 3, 1, 'test1', 5, 10000, 1, 2, '2019-04-02 00:00:00', '2019-03-29 00:00:00', '2019-03-29 00:00:00', '2019-04-01 15:39:56'),
(8, 1, 1, 'test3', 1, 2000, 1, 4, '2019-03-15 00:00:00', '2019-03-21 00:00:00', '2019-03-21 00:00:00', NULL),
(9, 1, 1, 'test', 5, 1000, 1, 2, '2019-04-01 00:00:00', '2019-04-02 00:00:00', '2019-04-03 00:00:00', '2019-04-01 15:39:56');
-- --------------------------------------------------------
--
-- Table structure for table `nations`
--
DROP TABLE IF EXISTS `nations`;
CREATE TABLE IF NOT EXISTS `nations` (
`nation_id` int(11) NOT NULL AUTO_INCREMENT,
`nation_name` varchar(55) COLLATE utf8mb4_unicode_ci NOT NULL,
`country_id` varchar(55) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
PRIMARY KEY (`nation_id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `nations`
--
INSERT INTO `nations` (`nation_id`, `nation_name`, `country_id`) VALUES
(1, 'Mỹ', '2'),
(2, 'Hàn Quốc', '1,3'),
(3, 'Nhật Bản', '2');
-- --------------------------------------------------------
--
-- Table structure for table `transits`
--
DROP TABLE IF EXISTS `transits`;
CREATE TABLE IF NOT EXISTS `transits` (
`transit_id` int(11) NOT NULL AUTO_INCREMENT,
`transit_city_id` int(11) DEFAULT NULL,
`transit_departure_date` datetime DEFAULT NULL,
`transit_landing_date` datetime DEFAULT NULL,
`transit_fl_id` int(11) DEFAULT NULL,
PRIMARY KEY (`transit_id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `transits`
--
INSERT INTO `transits` (`transit_id`, `transit_city_id`, `transit_departure_date`, `transit_landing_date`, `transit_fl_id`) VALUES
(1, 3, '2019-03-07 04:00:00', '2019-03-07 09:00:00', 1),
(2, 4, '2019-03-07 12:00:00', '2019-03-07 13:00:00', 3),
(3, 3, '2019-03-07 03:00:00', '2019-03-07 12:00:00', 2);
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
DROP TABLE IF EXISTS `users`;
CREATE TABLE IF NOT EXISTS `users` (
`user_id` int(11) NOT NULL AUTO_INCREMENT,
`email` varchar(55) CHARACTER SET utf8 DEFAULT NULL,
`password` varchar(255) CHARACTER SET utf8 DEFAULT NULL,
`user_first_name` varchar(55) CHARACTER SET utf8 DEFAULT NULL,
`user_last_name` varchar(15) CHARACTER SET utf8 DEFAULT NULL,
`user_phone` varchar(15) CHARACTER SET utf8 DEFAULT NULL,
`user_address` varchar(255) CHARACTER SET utf8 DEFAULT NULL,
`user_last_access` datetime DEFAULT NULL,
`user_attempt` int(11) DEFAULT NULL,
`user_status` tinyint(4) DEFAULT NULL,
`updated_at` datetime DEFAULT NULL,
PRIMARY KEY (`user_id`)
) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `users`
--
INSERT INTO `users` (`user_id`, `email`, `password`, `user_first_name`, `user_last_name`, `user_phone`, `user_address`, `user_last_access`, `user_attempt`, `user_status`, `updated_at`) VALUES
(4, 'user1@gmail.com', '$2y$10$xD6pn.CawsS41YRPf0g1q.1gxQqYF5AFuVSqVjw5ui/TGkhMig1j6', 'user1', NULL, '01234567', 'Quận 9', '2019-03-12 02:38:53', 4, 0, '2019-03-12 02:38:53'),
(5, 'user2@gmail.com', '$2y$10$eFl6HY8TmEqrDoqdMcEXsulSJPYUOiDOwKomrLbJjKocO9iSd8PjK', 'user2', NULL, '01234567', NULL, '2019-03-06 06:13:37', 4, 0, '2019-03-06 06:13:37'),
(6, 'user3@gmail.com', '$2y$10$ZlzckoqUnXzq/If3Etk9AO2I1sK0R1cmO95ucQbYVKsLGyRJIk9yy', 'user3', NULL, '0123456789', 'Quận 9, Thủ Đức', '2019-03-05 07:53:52', 0, 1, '2019-03-05 08:00:06');
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 |
0a08d7be6afefcddf67aa9be14b34126fa5e2776 | SQL | lockeycher/Database-Technologies | /HW1/Trips.sql | UTF-8 | 5,288 | 3.09375 | 3 | [] | no_license | --------------------------------------------------------
-- DDL for Table TRIPS
--------------------------------------------------------
--drop table bycar;
--drop table byplane;
--drop table bytrain;
--drop table trips
CREATE TABLE TRIPS
( "TID" INTEGER,
"TRIPSTATE" VARCHAR2(10 BYTE),
"TRAVELMODE" VARCHAR2(6 BYTE),
"FARE" FLOAT(12),
Primary key(TID)
);
CREATE TABLE ByCar
( TID INTEGER,
RentalCompany VARCHAR2(50 BYTE),
Mileage Number(4,2),
Foreign Key (TID) REFERENCES TRIPS(TID)
);
CREATE TABLE ByTrain
( TID INTEGER,
Type VARCHAR2(50 BYTE),
Coach VARCHAR2(30 BYTE),
TrainSpeed VARCHAR2(10 BYTE),
NumberofStops NUMBER(12,0),
Foreign Key (TID) REFERENCES TRIPS(TID)
);
CREATE TABLE ByPlane
( TID INTEGER,
Airline VARCHAR2(40 BYTE),
Class VARCHAR2(30 BYTE),
LayoverTime FLOAT(10),
Foreign Key (TID) REFERENCES TRIPS(TID)
);
INSERT INTO Trips (TID,TripState,TravelMode,Fare) VALUES (1,'IL','Car',100);
INSERT INTO Trips (TID,TripState,TravelMode,Fare) VALUES (2,'CA','Plane',1020);
INSERT INTO Trips (TID,TripState,TravelMode,Fare) VALUES (3,'MD','Plane',1300);
INSERT INTO Trips (TID,TripState,TravelMode,Fare) VALUES (4,'MD','Train',568);
INSERT INTO Trips (TID,TripState,TravelMode,Fare) VALUES (5,'Non-US','Plane',2300);
INSERT INTO Trips (TID,TripState,TravelMode,Fare) VALUES (6,'IL','Train',256);
INSERT INTO Trips (TID,TripState,TravelMode,Fare) VALUES (7,'Non-US','Plane',5000);
INSERT INTO Trips (TID,TripState,TravelMode,Fare) VALUES (8,'NM','Train',13);
INSERT INTO Trips (TID,TripState,TravelMode,Fare) VALUES (9,'IN','Car',400);
INSERT INTO Trips (TID,TripState,TravelMode,Fare) VALUES (10,'Non-US','Train',229);
INSERT INTO Trips (TID,TripState,TravelMode,Fare) VALUES (11,'Non-US','Plane',4500);
INSERT INTO Trips (TID,TripState,TravelMode,Fare) VALUES (12,'Non-US','Train',258);
INSERT INTO Trips (TID,TripState,TravelMode,Fare) VALUES (13,'IL','Plane',640);
INSERT INTO Trips (TID,TripState,TravelMode,Fare) VALUES (14,'Non-US','Train',138);
INSERT INTO Trips (TID,TripState,TravelMode,Fare) VALUES (15,'IL','Car',380);
INSERT INTO Trips (TID,TripState,TravelMode,Fare) VALUES (16,'IL','Car',59);
INSERT INTO Trips (TID,TripState,TravelMode,Fare) VALUES (17,'Non-US','Plane',3700);
INSERT INTO Trips (TID,TripState,TravelMode,Fare) VALUES (18,'IN','Car',88);
INSERT INTO Trips (TID,TripState,TravelMode,Fare) VALUES (19,'MD','Plane',600);
INSERT INTO Trips (TID,TripState,TravelMode,Fare) VALUES (20,'IL','Car',75);
INSERT INTO Trips (TID,TripState,TravelMode,Fare) VALUES (21,'IL','Car',156);
INSERT INTO Trips (TID,TripState,TravelMode,Fare) VALUES (22,'Non-US','Train',40);
INSERT INTO Trips (TID,TripState,TravelMode,Fare) VALUES (23,'IL','Plane',900);
INSERT INTO Trips (TID,TripState,TravelMode,Fare) VALUES (24,'MD','Train',650);
INSERT INTO Trips (TID,TripState,TravelMode,Fare) VALUES (25,'CA','Car',114);
INSERT INTO ByCar (TID,RentalCompany,Mileage) VALUES (1,'Budget',19.75);
INSERT INTO ByCar (TID,RentalCompany,Mileage) VALUES (9,'Enterprise',19.75);
INSERT INTO ByCar (TID,RentalCompany,Mileage) VALUES (15,'Almo',22.5);
INSERT INTO ByCar (TID,RentalCompany,Mileage) VALUES (16,'Personal',30);
INSERT INTO ByCar (TID,RentalCompany,Mileage) VALUES (18,'Enterprise',22.5);
INSERT INTO ByCar (TID,RentalCompany,Mileage) VALUES (20,'Personal',29);
INSERT INTO ByCar (TID,RentalCompany,Mileage) VALUES (21,'Personal',27);
INSERT INTO ByCar (TID,RentalCompany,Mileage) VALUES (25,'Enterprise',19.75);
INSERT INTO ByTrain (TID,Type,Coach,TrainSpeed,NumberOfStops) VALUES (4,'Union Pacific Liner/Express','Chair car',50,4);
INSERT INTO ByTrain (TID,Type,Coach,TrainSpeed,NumberOfStops) VALUES (6,'Amtrak/Express','Sleeper',30,3);
INSERT INTO ByTrain (TID,Type,Coach,TrainSpeed,NumberOfStops) VALUES (8,'New Mexico Liner /Express','Chair car',50,2);
INSERT INTO ByTrain (TID,Type,Coach,TrainSpeed,NumberOfStops) VALUES (10,'Japanese Nippon/SuperExpress','Chair car',70,5);
INSERT INTO ByTrain (TID,Type,Coach,TrainSpeed,NumberOfStops) VALUES (12,'Indian Railways/Bullet','Chair car',25,18);
INSERT INTO ByTrain (TID,Type,Coach,TrainSpeed,NumberOfStops) VALUES (14,'German Transit System/SuperFast','Sleeper',70,8);
INSERT INTO ByTrain (TID,Type,Coach,TrainSpeed,NumberOfStops) VALUES (22,'Indian Railways/SuperFast','Sleeper',5,14);
INSERT INTO ByTrain (TID,Type,Coach,TrainSpeed,NumberOfStops) VALUES (24,'Amtrak/Regular','Sleeper',20,2);
INSERT INTO ByPlane (TID,Airline,Class,LayoverTime) VALUES (2,'SouthWest','Premium',4);
INSERT INTO ByPlane (TID,Airline,Class,LayoverTime) VALUES (3,'American Airlines','Business',3);
INSERT INTO ByPlane (TID,Airline,Class,LayoverTime) VALUES (5,'Emirates','Economy',5);
INSERT INTO ByPlane (TID,Airline,Class,LayoverTime) VALUES (7,'Lufthansa','Economy',6);
INSERT INTO ByPlane (TID,Airline,Class,LayoverTime) VALUES (11,'Swiss Air','Economy',10);
INSERT INTO ByPlane (TID,Airline,Class,LayoverTime) VALUES (13,'SouthWest','Premium',2);
INSERT INTO ByPlane (TID,Airline,Class,LayoverTime) VALUES (17,'Korean Air','Economy',3);
INSERT INTO ByPlane (TID,Airline,Class,LayoverTime) VALUES (19,'American Airlines','Economy',1);
INSERT INTO ByPlane (TID,Airline,Class,LayoverTime) VALUES (23,'Alaska Airlines','Economy',2.5);
| true |
c246f7e58ebae60fbac77e3348d631369286ac3b | SQL | psfile/monimysqlperfschema | /5-monitoring-mysql-performance-schema-m5-exercise-files/demos/before/2-file-io.sql | UTF-8 | 802 | 3.203125 | 3 | [] | no_license | SELECT
performance_schema.file_summary_by_instance.FILE_NAME AS file,
performance_schema.file_summary_by_instance.SUM_NUMBER_OF_BYTES_READ/1000000 AS total_read_mb,
performance_schema.file_summary_by_instance.SUM_NUMBER_OF_BYTES_WRITE/1000000 AS total_written_mb,
(performance_schema.file_summary_by_instance.SUM_NUMBER_OF_BYTES_READ + performance_schema.file_summary_by_instance.SUM_NUMBER_OF_BYTES_WRITE)/1000000 AS total_mb,
IFNULL(ROUND((100 - ((performance_schema.file_summary_by_instance.SUM_NUMBER_OF_BYTES_READ / NULLIF((performance_schema.file_summary_by_instance.SUM_NUMBER_OF_BYTES_READ + performance_schema.file_summary_by_instance.SUM_NUMBER_OF_BYTES_WRITE),
0)) * 100)),
2),
0.00) AS write_pct
FROM
performance_schema.file_summary_by_instance
ORDER BY write_pct DESC | true |
d5513036d2f5dccf82efc9e1a8c348ad910222ad | SQL | daogena/airlinewebsite | /make_airline_sql.sql | UTF-8 | 18,184 | 3.796875 | 4 | [] | no_license | /*Make Airline*/
DROP TABLE IF EXISTS bookings CASCADE;
DROP TABLE IF EXISTS ticket CASCADE;
DROP TABLE IF EXISTS check_bag CASCADE;
DROP TABLE IF EXISTS passenger_info CASCADE;
DROP TABLE IF EXISTS payment CASCADE;
DROP TABLE IF EXISTS boarding_passes CASCADE;
DROP TABLE IF EXISTS ticket_flights CASCADE;
DROP TABLE IF EXISTS flights CASCADE;
DROP TABLE IF EXISTS airport CASCADE;
DROP TABLE IF EXISTS class CASCADE;
DROP TABLE IF EXISTS seats CASCADE;
DROP TABLE IF EXISTS aircraft CASCADE;
/*create aircraft table*/
CREATE TABLE aircraft(
aircraft_code char(3),
model char(25),
RANGE int,
PRIMARY KEY (aircraft_code)
/*CONSTRAINT "flights_aircraft_code_fkey" FOREIGN KEY (flights_aircraft_code) REFERENCES aircraft(aircraft_code),*/
/*CONSTRAINT "seats_aircraft_code_fkey" FOREIGN KEY (aircraft_code) REFERENCES aircraft(aircraft_code) ON DELETE CASCADE*/
);
/*create booking table*/
CREATE TABLE bookings(
book_ref char(6) NOT NULL,
book_date timestamp NOT NULL,
book_total_amount numeric(10,2) NOT NULL,
PRIMARY KEY (book_ref)
);
/*create airport table*/
CREATE TABLE airport(
airport_code char(3) NOT NULL,
airport_name char(42) NOT NULL,
city char(12) NOT NULL,
PRIMARY KEY (airport_code)
);
/*create class table*/
CREATE TABLE class(
fare_conditions varchar(15) NOT NULL,
group_no int UNIQUE NOT NULL,
price numeric(10,2) NOT NULL,
PRIMARY KEY (fare_conditions)
);
/*create seats table*/
CREATE TABLE seats(
seat_id int NOT NULL,
aircraft_code char(3) NOT NULL,
seat_no varchar(3) NOT NULL,
seat_fare_conditions varchar(15) NOT NULL,
seat_status char(10) NOT NULL,
movie char(1) NOT NULL,
meal int NOT NULL,
PRIMARY KEY (seat_id),
CONSTRAINT seats_aircraft_code_fkey FOREIGN KEY (aircraft_code) REFERENCES aircraft(aircraft_code) ON DELETE CASCADE,
CONSTRAINT seats_fare_conditions_fkey FOREIGN KEY (seat_fare_conditions) REFERENCES class(fare_conditions),
CONSTRAINT seats_fare_conditions_check CHECK (
(
(seat_fare_conditions)::text = ANY (
ARRAY [('First Class'::character varying)::text, ('Business'::character varying)::text, ('Economy'::character varying)::text]
)
)
)
);
/*create flights table*/
CREATE TABLE flights(
flight_id char(6) NOT NULL,
flight_no int NOT NULL,
scheduled_departure timestamp NOT NULL,
scheduled_arrival timestamp NOT NULL,
departure_airport char(3) NOT NULL,
arrival_airport char(3) NOT NULL,
flight_status varchar(20) NOT NULL,
flights_aircraft_code char(3) NOT NULL,
departure_terminal char(1) NOT NULL,
arrival_terminal char(1) NOT NULL,
departure_gate char(3) NOT NULL,
arrival_gate char(3) NOT NULL,
seat_available int NOT NULL,
PRIMARY KEY (flight_id),
CONSTRAINT flights_departure_airport_fkey FOREIGN KEY (departure_airport) REFERENCES airport(airport_code),
CONSTRAINT flights_arrival_airport_fkey FOREIGN KEY (arrival_airport) REFERENCES airport(airport_code),
CONSTRAINT flights_aircraft_code_fkey FOREIGN KEY (flights_aircraft_code) REFERENCES aircraft(aircraft_code),
CONSTRAINT flights_check CHECK (scheduled_arrival > scheduled_departure)
);
/*create check_bag table*/
CREATE TABLE check_bag(
check_bag_no varchar(15) NOT NULL,
check_bag_count int NOT NULL,
check_bag_price numeric(5,2) NOT NULL,
PRIMARY KEY (check_bag_no)
);
/*create passenger_info table*/
CREATE TABLE passenger_info(
passenger_id char(10) NOT NULL,
passenger_name text NOT NULL,
email char(50) NOT NULL,
phone char(15) NOT NULL,
PRIMARY KEY (passenger_id)
);
/*create ticket table*/
CREATE TABLE ticket(
ticket_no char(13) NOT NULL,
ticket_book_ref char(6) NOT NULL,
ticket_status varchar(12) NOT NULL,
ticket_passenger_id char(10) NOT NULL,
ticket_check_bag_no varchar(15) NOT NULL,
PRIMARY KEY (ticket_no),
CONSTRAINT ticket_book_ref_fkey FOREIGN KEY (ticket_book_ref) REFERENCES bookings(book_ref),
CONSTRAINT ticket_passenger_id_fkey FOREIGN KEY (ticket_passenger_id) REFERENCES passenger_info(passenger_id),
CONSTRAINT ticket_check_bag_no_fkey FOREIGN KEY (ticket_check_bag_no) REFERENCES check_bag(check_bag_no)
);
/*create ticket_flights table*/
CREATE TABLE ticket_flights(
ticket_no char(13) NOT NULL,
flight_id char(6) NOT NULL,
tf_fare_conditions varchar(15) NOT NULL,
PRIMARY KEY (ticket_no, flight_id),
CONSTRAINT ticket_flights_ticket_no_fkey FOREIGN KEY (ticket_no) REFERENCES ticket(ticket_no),
CONSTRAINT ticket_flights_flight_id_fkey FOREIGN KEY (flight_id) REFERENCES flights(flight_id),
CONSTRAINT ticket_flights_class_fkey FOREIGN KEY (tf_fare_conditions) REFERENCES class(fare_conditions),
CONSTRAINT seats_fare_conditions_check CHECK (
(
(tf_fare_conditions)::text = ANY (
ARRAY [('First Class'::character varying)::text, ('Business'::character varying)::text, ('Economy'::character varying)::text]
)
)
)
);
/*create boarding_passes table*/
CREATE TABLE boarding_passes(
boarding_no int NOT NULL,
bp_ticket_no char(13) NOT NULL,
bp_flight_id char(6) NOT NULL,
seat_no varchar(4) NOT NULL,
boarding_time timestamp NOT NULL,
PRIMARY KEY (boarding_no),
CONSTRAINT boarding_passes_bp_ticket_no_flight_id_fkey FOREIGN KEY (bp_ticket_no, bp_flight_id) REFERENCES ticket_flights(ticket_no, flight_id)
);
/*create payment table*/
CREATE TABLE payment(
payment_no int NOT NULL,
pmt_ticket_no char(13) NOT NULL,
card_no char(16) NOT NULL,
pmt_ticket_price numeric(10,2) NOT NULL,
check_bag_total numeric(10,2) NOT NULL,
discount numeric(3,2) NOT NULL,
tax numeric(3,2) NOT NULL,
total_payment numeric(10,2) NOT NULL,
PRIMARY KEY (payment_no),
CONSTRAINT payment_ticket_no_fkey FOREIGN KEY (pmt_ticket_no) REFERENCES ticket(ticket_no)
);
/*Initialize database*/
/*aircraft*/
INSERT INTO aircraft
VALUES ('773', 'Boeing 777-300', 11100);
INSERT INTO aircraft
VALUES ('763', 'Boeing 767-300', 7900);
/*INSERT INTO aircraft
VALUES ('SU9', 'Boeing 777-300', 5700);
INSERT INTO aircraft
VALUES ('320', 'Boeing 777-300', 6400);
INSERT INTO aircraft
VALUES ('321', 'Boeing 777-300', 6100);*/
/*airport*/
INSERT INTO airport
VALUES (
'IAH',
'George Bush Intercontinental Airport',
'Houston'
);
INSERT INTO airport
VALUES (
'DFW',
'Dallas/Fort Worth International Airport',
'Dallas'
);
INSERT INTO airport
VALUES (
'LAX',
'Los Angeles International Airport',
'Los Angeles'
);
INSERT INTO airport
VALUES (
'JFK',
'John F Kennedy International Airport',
'New York'
);
INSERT INTO airport
VALUES (
'MCO',
'Orlando International Airport',
'Orlando'
);
INSERT INTO airport
VALUES (
'MDW',
'Chicago International Airport',
'Chicago'
);
/*class*/
INSERT INTO class
VALUES ('First Class', 1, 1200.00);
INSERT INTO class
VALUES ('Business', 2, 500.00);
INSERT INTO class
VALUES ('Economy', 3, 150.00);
/*seats*/
INSERT INTO seats
VALUES (
1,
'773',
'01A',
'First Class',
'Available',
'Y',
1
);
INSERT INTO seats
VALUES (
2,
'773',
'01B',
'First Class',
'Available',
'Y',
1
);
INSERT INTO seats
VALUES (
3,
'773',
'02A',
'First Class',
'Available',
'Y',
1
);
INSERT INTO seats
VALUES (
4,
'773',
'02B',
'First Class',
'Available',
'Y',
1
);
INSERT INTO seats
VALUES (
5,
'773',
'03A',
'Business',
'Available',
'Y',
1
);
INSERT INTO seats
VALUES (
6,
'773',
'03B',
'Business',
'Available',
'Y',
1
);
INSERT INTO seats
VALUES (
7,
'773',
'03C',
'Business',
'Available',
'Y',
1
);
INSERT INTO seats
VALUES (
8,
'773',
'04A',
'Business',
'Available',
'Y',
1
);
INSERT INTO seats
VALUES (
9,
'773',
'04B',
'Business',
'Available',
'Y',
1
);
INSERT INTO seats
VALUES (
10,
'773',
'04C',
'Business',
'Available',
'Y',
1
);
INSERT INTO seats
VALUES (
11,
'773',
'05A',
'Economy',
'Available',
'Y',
1
);
INSERT INTO seats
VALUES (
12,
'773',
'05B',
'Economy',
'Available',
'Y',
1
);
INSERT INTO seats
VALUES (
13,
'773',
'05C',
'Economy',
'Available',
'Y',
1
);
INSERT INTO seats
VALUES (
14,
'773',
'05D',
'Economy',
'Available',
'Y',
1
);
INSERT INTO seats
VALUES (
15,
'773',
'05E',
'Economy',
'Available',
'Y',
1
);
INSERT INTO seats
VALUES (
16,
'773',
'06A',
'Economy',
'Available',
'Y',
1
);
INSERT INTO seats
VALUES (
17,
'773',
'06B',
'Economy',
'Available',
'Y',
1
);
INSERT INTO seats
VALUES (
18,
'773',
'06C',
'Economy',
'Available',
'Y',
1
);
INSERT INTO seats
VALUES (
19,
'773',
'06D',
'Economy',
'Available',
'Y',
1
);
INSERT INTO seats
VALUES (
20,
'773',
'06E',
'Economy',
'Available',
'Y',
1
);
INSERT INTO seats
VALUES (
21,
'763',
'01A',
'First Class',
'Available',
'Y',
1
);
INSERT INTO seats
VALUES (
22,
'763',
'01B',
'First Class',
'Available',
'Y',
1
);
INSERT INTO seats
VALUES (
23,
'763',
'02A',
'First Class',
'Available',
'Y',
1
);
INSERT INTO seats
VALUES (
24,
'763',
'02B',
'First Class',
'Available',
'Y',
1
);
INSERT INTO seats
VALUES (
25,
'763',
'03A',
'Business',
'Available',
'Y',
1
);
INSERT INTO seats
VALUES (
26,
'763',
'03B',
'Business',
'Available',
'Y',
1
);
INSERT INTO seats
VALUES (
27,
'763',
'03C',
'Business',
'Available',
'Y',
1
);
INSERT INTO seats
VALUES (
28,
'763',
'04A',
'Business',
'Available',
'Y',
1
);
INSERT INTO seats
VALUES (
29,
'763',
'04B',
'Business',
'Available',
'Y',
1
);
INSERT INTO seats
VALUES (
30,
'763',
'04C',
'Business',
'Available',
'Y',
1
);
INSERT INTO seats
VALUES (
31,
'763',
'05A',
'Economy',
'Available',
'Y',
1
);
INSERT INTO seats
VALUES (
32,
'763',
'05B',
'Economy',
'Available',
'Y',
1
);
INSERT INTO seats
VALUES (
33,
'763',
'05C',
'Economy',
'Available',
'Y',
1
);
INSERT INTO seats
VALUES (
34,
'763',
'05D',
'Economy',
'Available',
'Y',
1
);
INSERT INTO seats
VALUES (
35,
'763',
'05E',
'Economy',
'Available',
'Y',
1
);
INSERT INTO seats
VALUES (
36,
'763',
'06A',
'Economy',
'Available',
'Y',
1
);
INSERT INTO seats
VALUES (
37,
'763',
'06B',
'Economy',
'Available',
'Y',
1
);
INSERT INTO seats
VALUES (
38,
'763',
'06C',
'Economy',
'Available',
'Y',
1
);
INSERT INTO seats
VALUES (
39,
'763',
'06D',
'Economy',
'Available',
'Y',
1
);
INSERT INTO seats
VALUES (
40,
'763',
'06E',
'Economy',
'Available',
'Y',
1
);
/*flights*/
INSERT INTO flights
VALUES (
'TG0010',
100001,
'2020-12-10 08:15:00',
'2020-12-10 10:45:00',
'IAH',
'MDW',
'Scheduled',
'773',
'A',
'B',
'A12',
'B22',
40
);
INSERT INTO flights
VALUES (
'TG0020',
100001,
'2020-12-10 11:15:00',
'2020-12-10 13:15:00',
'MDW',
'JFK',
'Scheduled',
'763',
'B',
'C',
'B22',
'C10',
40
);
INSERT INTO flights
VALUES (
'TG0030',
100002,
'2021-01-28 09:20:00',
'2021-01-28 12:40:00',
'IAH',
'MDW',
'Scheduled',
'773',
'A',
'B',
'A12',
'B01',
40
);
INSERT INTO flights
VALUES (
'TG0040',
100003,
'2021-01-14 10:35:00',
'2021-01-14 14:10:00',
'IAH',
'LAX',
'Scheduled',
'763',
'A',
'C',
'A08',
'C04',
40
);
INSERT INTO flights
VALUES (
'TG0050',
100004,
'2020-12-24 11:05:00',
'2020-12-24 13:30:00',
'DFW',
'MCO',
'Scheduled',
'773',
'B',
'A',
'B05',
'A11',
40
);
INSERT INTO flights
VALUES (
'TG0060',
100004,
'2020-12-24 14:00:00',
'2020-12-24 16:25:00',
'MCO',
'JFK',
'Scheduled',
'763',
'A',
'C',
'A11',
'C03',
40
);
INSERT INTO flights
VALUES (
'TG0070',
100005,
'2021-01-02 12:40:00',
'2021-01-02 15:05:00',
'DFW',
'MCO',
'Scheduled',
'773',
'B',
'C',
'B05',
'C01',
40
);
INSERT INTO flights
VALUES (
'TG0080',
100006,
'2020-12-30 07:20:00',
'2020-12-30 11:40:00',
'LAX',
'MDW',
'Scheduled',
'773',
'B',
'A',
'B10',
'A03',
40
);
INSERT INTO flights
VALUES (
'TG0090',
100006,
'2020-12-30 13:20:00',
'2020-12-30 15:25:00',
'MDW',
'JFK',
'Scheduled',
'763',
'A',
'B',
'A03',
'B06',
40
);
INSERT INTO flights
VALUES (
'TG0100',
100007,
'2020-12-17 15:45:00',
'2020-12-17 18:10:00',
'JFK',
'MDW',
'Scheduled',
'773',
'A',
'B',
'A04',
'B05',
40
);
INSERT INTO flights
VALUES (
'TG0110',
100007,
'2020-12-17 19:15:00',
'2020-12-17 22:00:00',
'MDW',
'IAH',
'Scheduled',
'763',
'B',
'C',
'B05',
'C08',
40
);
INSERT INTO flights
VALUES (
'TG0120',
100008,
'2021-01-03 09:30:00',
'2021-01-03 12:05:00',
'JFK',
'MDW',
'Scheduled',
'773',
'C',
'B',
'C12',
'B06',
40
);
INSERT INTO flights
VALUES (
'TG0130',
100008,
'2021-01-03 13:30:00',
'2021-01-03 17:30:00',
'MDW',
'LAX',
'Scheduled',
'763',
'B',
'A',
'B06',
'A10',
40
);
INSERT INTO flights
VALUES (
'TG0140',
100009,
'2021-01-02 16:50:00',
'2021-01-02 20:00:00',
'LAX',
'IAH',
'Scheduled',
'773',
'C',
'A',
'C03',
'A04',
40
);
INSERT INTO flights
VALUES (
'TG0150',
100010,
'2021-01-28 17:10:00',
'2021-01-28 20:20:00',
'LAX',
'IAH',
'Scheduled',
'763',
'C',
'B',
'C03',
'B04',
40
);
INSERT INTO flights
VALUES (
'TG0160',
100011,
'2021-02-04 18:05:00',
'2021-02-04 20:30:00',
'MCO',
'JFK',
'Scheduled',
'763',
'A',
'B',
'A09',
'B07',
40
);
INSERT INTO flights
VALUES (
'TG0170',
100012,
'2021-01-02 08:15:00',
'2021-01-02 11:00:00',
'JFK',
'MCO',
'Scheduled',
'773',
'B',
'C',
'B11',
'C21',
40
);
INSERT INTO flights
VALUES (
'TG0180',
100012,
'2021-01-02 12:15:00',
'2021-01-02 15:15:00',
'MCO',
'DFW',
'Scheduled',
'763',
'C',
'A',
'C10',
'A07',
40
);
INSERT INTO flights
VALUES (
'TG0190',
100013,
'2021-02-10 13:25:00',
'2021-02-10 16:05:00',
'MCO',
'DFW',
'Scheduled',
'763',
'B',
'C',
'B01',
'C02',
40
);
INSERT INTO flights
VALUES (
'TG0200',
100014,
'2021-01-13 15:25:00',
'2021-01-13 19:05:00',
'IAH',
'LAX',
'Scheduled',
'773',
'A',
'C',
'B06',
'C03',
40
); | true |
091933fc1766f9c6e789b9a75cffc09a54826790 | SQL | pciio1957/Java | /webexp/src/main/java/Database/a01_exp/0624exp.sql | UTF-8 | 6,030 | 4.34375 | 4 | [] | no_license |
/*
# 정리문제
1. 테이블 subquery에서 테이블간 조인관계를
급여가 2000이상인 사원테이블, 부서명이 SALES 이거나 RESEARCH 부서테이블 조인하여
사원명, 부서명, 급여를 출력하세요.
(아래)
2. 직책별 최고급여자의 부서번호, 부서명을 출력하세요.
(아래.. )
3. DB 조작어의 종류와 트랜잭션 명령어의 기능에 대하여 기술하세요.
DML(Data Manipulation Language)
1. 종류
1) insert : 데이터 입력처리
2) update : 데이터 수정처리
3) dalete : 데이터 삭제처리
4) merge : 데이터 병합처리(논리적 테이블의 병합/수정을 동시에 입력한다)
2. 트랜잭션 명령어의 기능
여러 개의 명령문을 하나의 논리적인 작업단위로 처리하는 기능을 말한다.
종류
1) commit : 정상종료 확정, 접속한 session 단위로 DML처리를 확정하는 것을
말하고 다른 접속 session에서 영향을 미친다.
2) rollback : 비정상종료 복구, commit 전에는 rollback을 통하여 복구할 수 있다.
4. 데이터 입력의 기본형식 중, 단일 행입력, 다중행 입력을 기본예제를 통해서 설명하세요.
1) 단일행 입력
insert into 테이블명(컬럼1, 컬럼2 ...) values(데이터1, 데이터2...)
insert into 테이블명 values(테이블 구조 순서에 따른 데이터1, 데이터2...)
2) 다중행 입력
insert all(first)
into 테이블명 values(데이터1, 데이터2.. )
insert all(first)
into 테이블명(컬럼1, 컬럼2..) values(데이터1, 데이터2..)
subquery;
5. 데이터 입력 중, 여러테이블의 한번에 subquery 입력을 기본예제를 통해서 설명하세요.
(아래)
6. emp04 테이블에 사원번호, 사원명, 입사일(2020/01/01 오전 11:30), 급여를 입력하세요.
(아래)
7. 직급별 최고연봉과 최저연봉을 입력받을 수 있는 구조 테이블을 만들고, 해당 테이블에 emp 테이블의
정보를 subquery로 입력하세요.
(아래)
8. emp17, emp18, emp19 테이블을 emp테이블의 구조테이블로 만들고,
부서별 최고급여자의 사원정보전체를 가져와서 해당테이블에 입력하되,
emp17에는 부서번호 최고급여
emp18에는 부서번호+1 최고급여*5
emp19에는 부서번호+2 최고급여*10 을 처리하여 입력하세요.
(아래 풀이도 있고, 선생님이 푸신 부분도 첨부)
*/
-- 1.
SELECT ename, dname, a.sal
FROM (SELECT *
FROM emp
WHERE sal >= 2000) a, (
SELECT *
FROM dept
WHERE dname = 'SALES'
OR dname = 'RESEARCH') b
WHERE a.deptno = b.deptno;
-- 조건1
SELECT ename, sal
FROM emp
WHERE sal >= 2000;
-- 조건2
SELECT *
FROM dept
WHERE dname IN ('SALES', 'RESEARCH');
-- 조인
SELECT ename, sal, dname
FROM (SELECT ename, sal, deptno
FROM emp
WHERE sal >= 2000) e,
(SELECT *
FROM dept
WHERE dname IN ('SALES', 'RESEARCH')) d
WHERE e.deptno = d.deptno;
-- 2. 직책별 최고급여자의 부서번호, 부서명 (모르겠음)
-- 왜인지 뭔가 부족하다고 생각했는데 3개를 조인하는것
-- 최종적으로 필요한 값 : job, sal, deptno, dname
SELECT b.deptno, dname
FROM (SELECT job, max(sal) sal
FROM emp
GROUP BY job)a, dept b
WHERE a.deptno = b.deptno;
-- 1직책별 최고급여자
SELECT job, max(sal) sal
FROM emp
GROUP BY job;
-- 2중간테이블
SELECT job, sal, deptno
FROM emp;
-- 3부서정보
SELECT deptno, dname
FROM dept;
-- 3개 합치기
SELECT a.job, a.sal, b.deptno, c.dname
FROM (SELECT job, max(sal) sal
FROM emp
GROUP BY job) a,
(SELECT job, sal, deptno
FROM emp) b, dept C
WHERE a.job = b.job
AND a.sal = b.sal
AND b.deptno = c.deptno;
-- 4.
CREATE TABLE emp33 AS SELECT * from emp WHERE 1 = 0;
-- 단일행
INSERT INTO emp33 values(1000, '홍길동', '사원',
9999, sysdate, 3000, 1000, 10);
-- 다중행
INSERT ALL
INTO emp33(ename, sal) values('김길동', 3000)
INTO emp33(ename, sal) values('이길동', 1000)
INTO emp33(ename, sal) values('박길동', 2000)
SELECT ename, sal
FROM emp;
-- 6.
INSERT INTO emp04(empno, ename, hiredate, sal)
values(7800, '홍길동', to_date('2020/01/01 AM 11:30',
'YYYY/MM/DD AM HH:MM') , 3000);
-- 7.
CREATE TABLE emp001
SELECT job, max(sal) xsal, min(sal) nsal
FROM emp
GROUP BY job
HAVING 1=0;
INSERT ALL
INTO emp001 values(job, xsal, nsal)
SELECT job, max(sal) xsal, min(sal) nsal
FROM emp
GROUP BY job;
-- 8.
CREATE TABLE emp17
AS select * FROM emp WHERE 1=0;
CREATE TABLE emp18
AS select * FROM emp WHERE 1=0;
CREATE TABLE emp19
AS select * FROM emp WHERE 1=0;
-- 급여 크기가 작아서 emp17,18,19테이블로 가서 sal의 크기를 number(15,2)로 변경후 진행
-- 부서별
SELECT b.*
FROM (SELECT deptno, max(sal) sal FROM emp GROUP BY deptno) a,
emp b
WHERE a.deptno = b.deptno
AND a.sal = b.sal;
-- 선생님 올려주신 풀이
-- 8. emp17, emp18, emp19 테이블을 emp테이블의 구조테이블로 만들고,
-- 부서별 최고급여자의 사원정보전체를 가져와서 해당테이블에 입력하되,
-- emp17에는 부서번호 최고급여
-- emp18에는 부서번호+1 최고급여*10
-- emp19에는 부서번호+2 최고급여*20 을 처리하여 입력하세요.
CREATE TABLE emp17
AS SELECT * FROM emp WHERE 1=0;
CREATE TABLE emp18
AS SELECT * FROM emp WHERE 1=0;
CREATE TABLE emp19
AS SELECT * FROM emp WHERE 1=0;
-- 부서별 최고급여자의 사원정보전체
SELECT b.*
FROM (SELECT deptno, max(sal) sal FROM emp GROUP BY deptno) a,
emp b
WHERE a.deptno = b.deptno
AND a.sal = b.sal;
INSERT ALL
INTO emp17 values(empno, ename, job, mgr, hiredate, sal, comm, deptno)
INTO emp18 values(empno, ename, job, mgr, hiredate, sal*10, comm, deptno+1)
INTO emp19 values(empno, ename, job, mgr, hiredate, sal*20, comm, deptno+2)
SELECT b.*
FROM (SELECT deptno, max(sal) sal FROM emp GROUP BY deptno) a,
emp b
WHERE a.deptno = b.deptno
AND a.sal = b.sal; | true |
c7bfa60f8674b9310856d9752f72b576d76addbe | SQL | rudycastillo95/Spirit-Airlines-Database | /Back End/AirportDB_Proc_Triggers/DBA_PredefinedJoins.sql | UTF-8 | 1,645 | 4 | 4 | [] | no_license | USE airportdb;
DROP PROCEDURE IF EXISTS passenger_info;
DELIMITER //
CREATE PROCEDURE passenger_info (
)
BEGIN
SELECT p.passenger_id, FirstName, LastName, email, memberLevel, numPoints, COUNT(p.passenger_id) AS tickets_purchased, SUM(t.price) AS money_paid FROM passenger AS p
INNER JOIN loyaltylevel AS l
ON l.passenger_id = p.passenger_id
INNER JOIN ticket AS t
ON p.passenger_id = t.passenger_id
GROUP BY p.passenger_id, FirstName, LastName, email, memberLevel, numPoints
ORDER BY p.passenger_id;
END //
DELIMITER ;
DROP PROCEDURE IF EXISTS route_info;
DELIMITER //
CREATE PROCEDURE route_info (
)
BEGIN
SELECT route_id, arrivalIata, departureIata, flights, COUNT(route_id) AS tickets, concat('$',IFNULL(SUM(price), 0)) AS money_made FROM
(SELECT r.route_id, arrivalIata, departureIata, COUNT(r.route_id) AS flights, flightNumber FROM route AS r
LEFT JOIN flight AS f
ON r.route_id = f.route_id
GROUP BY r.route_id, flightNumber) AS t1
LEFT JOIN ticket AS t
ON t.flightNo = t1.flightNumber
GROUP BY route_id, flightNumber ;
END //
DELIMITER ;
DROP PROCEDURE IF EXISTS aircraft_info;
DELIMITER //
CREATE PROCEDURE aircraft_info (
)
BEGIN
SELECT t1.aircraftRegNo, planeModel, flights_taken, COUNT(reservationID) AS total_passengers, concat('$',IFNULL(SUM(price),0)) AS money_made FROM
(SELECT a.aircraftRegNo, planeModel, COUNT(a.aircraftRegNo) AS flights_taken FROM aircraft AS a
LEFT JOIN flight AS f1
ON f1.aircraftRegNo = a.aircraftRegNo
GROUP BY a.aircraftRegNo) AS t1
LEFT JOIN flight AS f2
ON f2.aircraftRegNo = t1.aircraftRegNo
LEFT JOIN ticket AS t
ON flightNumber = t.flightNo
GROUP BY t1.aircraftRegNo;
END //
DELIMITER ; | true |
88c03d192868962bf7f521c02c0503dd543b6471 | SQL | leon230/UTMSReporting | /SQL/SQL/Reports/Ocean/Claims pivot/query 14.05.2015.sql | UTF-8 | 2,263 | 3.953125 | 4 | [] | no_license | WITH pivot_data AS (
(SELECT DISTINCT TEMP_1.SHIPMENT_END_DATE AS END_DATE,
TEMP_1.ACCESSORIAL AS ACC_NAME,
SUM(TEMP_1.COST_EUR) AS SHIPMENT_COST_2
FROM
(
SELECT TO_CHAR(SH.end_time,'MM') SHIPMENT_END_DATE,
sh.SHIPMENT_GID SH_GID,
SH_COST.COST_TYPE AS COST_TYPE,
SH_COST.ACCESSORIAL_CODE_GID ACCESSORIAL,
CASE
WHEN SH_COST.COST_GID = 'EUR' THEN SH_COST.COST
ELSE NVL2(SH_COST.COST * EXCHRATES.EXCHANGE_RATE,
SH_COST.COST * EXCHRATES.EXCHANGE_RATE, 0)
END AS COST_EUR,
SH_COST.SHIPMENT_COST_SEQNO
FROM
SHIPMENT SH,
SHIPMENT_COST SH_COST
LEFT OUTER JOIN CURRENCY_EXCHANGE_RATE EXCHRATES ON (TO_CHAR(SH_COST.INSERT_DATE, 'Q-YYYY') = TO_CHAR(EXCHRATES.EFFECTIVE_DATE, 'Q-YYYY')
AND SH_COST.COST_GID = EXCHRATES.FROM_CURRENCY_GID
AND EXCHRATES.EXCHANGE_RATE_GID = 'ULE.ULE_QTY_EXCHANGE'
AND EXCHRATES.TO_CURRENCY_GID = 'EUR')
WHERE
SH.SHIPMENT_GID = SH_COST.SHIPMENT_GID
AND (SELECT SH_TEMP.TRANSPORT_MODE_GID
FROM SHIPMENT SH_TEMP
WHERE SH_TEMP.SHIPMENT_GID = sh.SHIPMENT_GID
) NOT IN ('UL_OCEAN','UL_LCL')
AND SH_COST.COST_TYPE = 'A'
and SH_COST.ACCESSORIAL_CODE_GID is not null
AND SH_COST.ACCESSORIAL_CODE_GID NOT IN ('UGO.UGO_FCL_FREIGHT_COST_CORRECTION','UGO.FUEL_SURCHARGE_BULK_OCEAN_24','UGO.FUEL_SURCHARGE_INTERMODAL_BULK_OCEAN_25',
'UGO.FUEL_SURCHARGE_INTERMODAL_BULK_OCEAN_25','UGO.UGO_FUEL_SURCHARGE_DESTINATION','UGO.UGO_INLAND_ORIGIN','UGO.UGO_FUEL_SURCHARGE_CORRECTION','UGO.UGO_INLAND_DESTINATION',
'UGO.UGO_FTL_FREIGHT_COST_CORRECTION','UGO.UGO_OTHC','UGO.UGO_FREIGHT_COST_BASIC_FTL','UGO.UGO_DTHC','UGO.UGO_BAF','UGO.FUEL_SURCHARGE_ORIGIN','UGO.UGO_FUEL_SURCHARGE_ORIGIN')
and to_char(sh.end_time,'YYYY') = :P_YEAR
AND SH.DOMAIN_NAME = 'UGO'
/* AND TO_CHAR(SH.end_time,'MM') = 10 */
) TEMP_1
GROUP BY
TEMP_1.SHIPMENT_END_DATE,
TEMP_1.ACCESSORIAL
)
)
select * from pivot_data
PIVOT (SUM(SHIPMENT_COST_2) AS SUM_TOTAL FOR (END_DATE) IN ('01' AS "01", '02' AS "02", '03' AS "03",'04' AS "04",'05' AS "05"
,'06' AS "06",'07' AS "07",'08' AS "08",'09' AS "09",'10' AS "10",'11' AS "11",'12' AS "12"))
| true |
81adc68a68a72ca345f93ae65fe1afc7587c8d08 | SQL | zoltankaszala/web2-beadando2 | /forras/menu.sql | UTF-8 | 663 | 2.8125 | 3 | [] | no_license | CREATE TABLE `menu` (
`url` varchar(30) NOT NULL,
`nev` varchar(30) NOT NULL,
`szulo` varchar(30) NOT NULL,
`jogosultsag` varchar(3) NOT NULL,
`sorrend` tinyint(4) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
INSERT INTO `menu` (`url`, `nev`, `szulo`, `jogosultsag`, `sorrend`) VALUES
('admin', 'Admin', '', '001', 80),
('alapinfok', 'Alapinfók', 'elerhetoseg', '111', 40),
('belepes', 'Belépés', '', '100', 60),
('kilepes', 'Kilépés', '', '011', 70),
('nyitolap', 'Nyitólap', '', '111', 10),
('jelentkezesek', 'Jelentkezések', '', '111', 20),
('regisztracio', 'Regisztráció', '', '100', 59);
ALTER TABLE `menu`
ADD PRIMARY KEY (`url`);
| true |
d1aa332e48d5823deef5353d61dda5d2efe14118 | SQL | VirtusLab/slick-101 | /src/test/resources/db/migration/V2__Create_test_data.sql | UTF-8 | 5,216 | 2.859375 | 3 | [
"Apache-2.0"
] | permissive | INSERT INTO student(id, name, middle_name, surname, nationality) VALUES (1, 'Tom', NULL, 'Smith', 'American');
INSERT INTO student(id, name, middle_name, surname, nationality) VALUES (2, 'Mike', NULL, 'Williamns', 'American');
INSERT INTO student(id, name, middle_name, surname, nationality) VALUES (3, 'Michał', NULL, 'Nowak', 'Polish');
INSERT INTO student(id, name, middle_name, surname, nationality) VALUES (4, 'Mikhail', NULL, '', 'Russian');
INSERT INTO student(id, name, middle_name, surname, nationality) VALUES (5, 'Bart', NULL, 'Simpson', 'American');
INSERT INTO student(id, name, middle_name, surname, nationality) VALUES (6, 'Richard', NULL, 'White', 'English');
INSERT INTO student(id, name, middle_name, surname, nationality) VALUES (7, 'Henry', NULL, 'Yellow', 'English');
INSERT INTO student(id, name, middle_name, surname, nationality) VALUES (8, 'Grzegorz', 'Jędrzej', 'Kowalski', 'Polish');
INSERT INTO student(id, name, middle_name, surname, nationality) VALUES (9, 'Simon', NULL, 'Allard', 'French');
INSERT INTO student(id, name, middle_name, surname, nationality) VALUES (10, 'Brian', 'Ronald', 'Clark', 'American');
INSERT INTO student(id, name, middle_name, surname, nationality) VALUES (11, 'Mario', NULL, 'Vario', 'Italian');
INSERT INTO document(student_id, name, uuid) VALUES(1, 'Passport', '123e4567-e89b-13d3-a456-426655440000');
INSERT INTO document(student_id, name, uuid) VALUES(2, 'Passport', '0aeb83b6-9d63-11e6-80f5-76304dec7eb7');
INSERT INTO document(student_id, name, uuid) VALUES(3, 'Passport', '114bdd50-9d63-11e6-80f5-76304dec7eb7');
INSERT INTO document(student_id, name, uuid) VALUES(4, 'Id', '15f7e9de-9d63-11e6-80f5-76304dec7eb7');
INSERT INTO document(student_id, name, uuid) VALUES(5, 'Id', '1b8574de-9d63-11e6-80f5-76304dec7eb7');
INSERT INTO document(student_id, name, uuid) VALUES(6, 'Id', '224e6ea6-9d63-11e6-80f5-76304dec7eb7');
INSERT INTO document(student_id, name, uuid) VALUES(6, 'Criminal Record', '268c8304-9d63-11e6-80f5-76304dec7eb7');
INSERT INTO document(student_id, name, uuid) VALUES(7, 'Passport', '268c8304-9d63-11e6-80f5-76304dec7eb7');
INSERT INTO document(student_id, name, uuid) VALUES(8, 'Id', '123e4567-189b-12d3-a456-426655440000');
INSERT INTO course(id, name) VALUES(1, 'Algebra');
INSERT INTO course(id, name) VALUES(2, 'Algorithms');
INSERT INTO course(id, name) VALUES(3, 'AI');
INSERT INTO course(id, name) VALUES(4, 'Functional Programming');
INSERT INTO course(id, name) VALUES(5, 'Bioinformatics');
INSERT INTO course(id, name) VALUES(6, 'Calculus');
INSERT INTO semester(id, year, part) VALUES(1, 2013, 'Winter');
INSERT INTO semester(id, year, part) VALUES(2, 2014, 'Summer');
INSERT INTO semester(id, year, part) VALUES(3, 2014, 'Winter');
INSERT INTO semester(id, year, part) VALUES(4, 2015, 'Summer');
INSERT INTO semester(id, year, part) VALUES(5, 2015, 'Winter');
INSERT INTO semester(id, year, part) VALUES(6, 2016, 'Summer');
INSERT INTO semester(id, year, part) VALUES(7, 2016, 'Winter');
INSERT INTO student_course_segment(id, student_id, course_id, semester_id) values(1,1,1,1);
INSERT INTO student_course_segment(id, student_id, course_id, semester_id) values(2,1,1,2);
INSERT INTO student_course_segment(id, student_id, course_id, semester_id) values(3,1,1,3);
INSERT INTO student_course_segment(id, student_id, course_id, semester_id) values(4,1,2,3);
INSERT INTO student_course_segment(id, student_id, course_id, semester_id) values(5,1,2,4);
INSERT INTO student_course_segment(id, student_id, course_id, semester_id) values(6,1,3,3);
INSERT INTO student_course_segment(id, student_id, course_id, semester_id) values(7,1,3,4);
INSERT INTO student_course_segment(id, student_id, course_id, semester_id) values(8,2,1,1);
INSERT INTO student_course_segment(id, student_id, course_id, semester_id) values(9,2,1,2);
INSERT INTO student_course_segment(id, student_id, course_id, semester_id) values(10,2,1,3);
INSERT INTO student_course_segment(id, student_id, course_id, semester_id) values(11,2,2,3);
INSERT INTO student_course_segment(id, student_id, course_id, semester_id) values(12,2,2,4);
INSERT INTO student_course_segment(id, student_id, course_id, semester_id) values(13,2,3,3);
INSERT INTO student_course_segment(id, student_id, course_id, semester_id) values(14,2,3,4);
INSERT INTO grade(student_course_segment_id, grade) VALUES(1, 5);
INSERT INTO grade(student_course_segment_id, grade) VALUES(2, 5);
INSERT INTO grade(student_course_segment_id, grade) VALUES(3, 5);
INSERT INTO grade(student_course_segment_id, grade) VALUES(4, 5);
INSERT INTO grade(student_course_segment_id, grade) VALUES(5, 5);
INSERT INTO grade(student_course_segment_id, grade) VALUES(6, 5);
INSERT INTO grade(student_course_segment_id, grade) VALUES(7, 4);
INSERT INTO grade(student_course_segment_id, grade) VALUES(8, 3);
INSERT INTO grade(student_course_segment_id, grade) VALUES(9, 4);
INSERT INTO grade(student_course_segment_id, grade) VALUES(10, 3);
INSERT INTO grade(student_course_segment_id, grade) VALUES(11, 3);
INSERT INTO grade(student_course_segment_id, grade) VALUES(12, 4);
INSERT INTO grade(student_course_segment_id, grade) VALUES(13, 4);
INSERT INTO grade(student_course_segment_id, grade) VALUES(14, 3);
| true |
48587873aeb6799bd40de76f65b5158219ced063 | SQL | nagsrk/bvi | /schemas/bigquery/adoption/gplus_30day_summary_latest.sql | UTF-8 | 258 | 2.765625 | 3 | [
"Apache-2.0"
] | permissive | -- gplus_30day_summary_latest (view)
SELECT
date,
total_num_plusones,
total_num_replies,
total_num_reshares,
total_num_shares
FROM
[YOUR_PROJECT_ID:adoption.gplus_30day_summary],
WHERE
date = DATE(DATE_ADD(TIMESTAMP(CURRENT_DATE()), -4, "DAY")) | true |
86e9a30f26674f0181518118d356a8217b097286 | SQL | zometer/mpq-dashboard | /docker/mpq-db/sql/table/TILE.sql | UTF-8 | 188 | 2.671875 | 3 | [] | no_license | create table mpq_data.tile (
tile_id integer primary key generated by default as identity,
tile_type varchar(20),
color_id integer references mpq_data.mpq_color.color_id
); | true |
672ee6b100252fb2fc78c2e4f73bd13c893afc2a | SQL | hstiv/piscine_php | /day05/ex16/ex16.sql | UTF-8 | 174 | 3.125 | 3 | [] | no_license | SELECT COUNT(*) AS movies FROM member_history
WHERE DATE(date) BETWEEN '2006-10-30' AND '2007-07-27'
OR DATE_FORMAT(DATE(date), '%m-%d') = DATE_FORMAT('1999-12-24', "%m-%d"); | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.