sql
stringlengths 6
1.05M
|
|---|
<reponame>Crstal/spring-analysis<filename>spring-jdbc/src/test/resources/org/springframework/jdbc/datasource/init/test-data-with-comments-and-leading-tabs.sql<gh_stars>1-10
-- The next comment line starts with a tab.
-- x, y, z...
insert into customer (id, name)
values (1, '<NAME>');
-- This is also a comment with a leading tab.
insert into orders(id, order_date, customer_id) values (1, '2013-06-08', 1);
-- This is also a comment with a leading tab, a space, and a tab.
insert into orders(id, order_date, customer_id) values (2, '2013-06-08', 1);
|
<gh_stars>100-1000
-- Copyright 2018 <NAME>. All rights reserved. More info at http://tanelpoder.com
-- Licensed under the Apache License, Version 2.0. See LICENSE.txt for terms & conditions.
SELECT
hladdr
-- , blsiz
-- , nxt_hash
-- , prv_hash
-- , nxt_repl
-- , prv_repl
, flag
, rflag
, sflag
, lru_flag
, ts#
, file#
-- , dbarfil
, dbablk
, class
, state
, mode_held
, changes
, cstate
, le_addr
, dirty_queue
, set_ds
, obj
, ba
, cr_scn_bas
, cr_scn_wrp
, cr_xid_usn
, cr_xid_slt
, cr_xid_sqn
, cr_uba_fil
, cr_uba_blk
, cr_uba_seq
, cr_uba_rec
, cr_sfl
, cr_cls_bas
, cr_cls_wrp
, lrba_seq
, lrba_bno
, hscn_bas
, hscn_wrp
, hsub_scn
, us_nxt
, us_prv
, wa_nxt
, wa_prv
, obj_flag
, tch
, tim
FROM
x$bh
WHERE
obj IN (&1)
/
|
create database if not exists test_db;
use test_db;
drop table if exists test_suspend_and_resume_collection;
create table if not exists test_suspend_and_resume_collection(id int primary key auto_increment, name varchar(10), col_a float, col_b int, column1 varchar(256));
insert into test_suspend_and_resume_collection values(1, 'name1', 11.111, 100, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,1]');
insert into test_suspend_and_resume_collection values(2, 'name2', 12.111, 200, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2]');
insert into test_suspend_and_resume_collection values(3, 'name3', 13.111, 300, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,3]');
insert into test_suspend_and_resume_collection values(4, 'name4', 14.111, 400, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,4]');
insert into test_suspend_and_resume_collection values(5, 'name5', 15.111, 500, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,5]');
insert into test_suspend_and_resume_collection values(6, 'name6', 16.111, 600, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,6]');
insert into test_suspend_and_resume_collection values(7, 'name7', 17.111, 700, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,7]');
insert into test_suspend_and_resume_collection values(8, 'name8', 18.111, 800, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,8]');
insert into test_suspend_and_resume_collection values(9, 'name9', 19.111, 900, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,9]');
insert into test_suspend_and_resume_collection values(10, 'name10', 20.111, 1000, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,10]');
insert into test_suspend_and_resume_collection values(11, 'name11', 21.111, 1100, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,11]');
insert into test_suspend_and_resume_collection values(12, 'name12', 22.111, 1200, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,12]');
insert into test_suspend_and_resume_collection values(13, 'name13', 23.111, 1300, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,13]');
insert into test_suspend_and_resume_collection values(14, 'name14', 24.111, 1400, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,14]');
insert into test_suspend_and_resume_collection values(15, 'name15', 25.111, 1500, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,15]');
insert into test_suspend_and_resume_collection values(16, 'name16', 26.111, 1600, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,16]');
insert into test_suspend_and_resume_collection values(17, 'name17', 27.111, 1700, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,17]');
insert into test_suspend_and_resume_collection values(18, 'name18', 28.111, 1800, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,18]');
insert into test_suspend_and_resume_collection values(19, 'name19', 29.111, 1900, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,19]');
insert into test_suspend_and_resume_collection values(20, 'name20', 30.111, 2000, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,20]');
insert into test_suspend_and_resume_collection values(21, 'name21', 31.111, 2100, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,21]');
insert into test_suspend_and_resume_collection values(22, 'name22', 32.111, 2200, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,22]');
insert into test_suspend_and_resume_collection values(23, 'name23', 33.111, 2300, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,23]');
insert into test_suspend_and_resume_collection values(24, 'name24', 34.111, 2400, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,24]');
insert into test_suspend_and_resume_collection values(25, 'name25', 35.111, 2500, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,25]');
insert into test_suspend_and_resume_collection values(26, 'name26', 36.111, 2600, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,26]');
insert into test_suspend_and_resume_collection values(27, 'name27', 37.111, 2700, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,27]');
insert into test_suspend_and_resume_collection values(28, 'name28', 38.111, 2800, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,28]');
insert into test_suspend_and_resume_collection values(29, 'name29', 39.111, 2900, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,29]');
insert into test_suspend_and_resume_collection values(30, 'name30', 40.111, 3000, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,30]');
insert into test_suspend_and_resume_collection values(31, 'name31', 41.111, 3100, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,31]');
insert into test_suspend_and_resume_collection values(32, 'name32', 42.111, 3200, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,32]');
insert into test_suspend_and_resume_collection values(33, 'name33', 43.111, 3300, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,33]');
insert into test_suspend_and_resume_collection values(34, 'name34', 44.111, 3400, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,34]');
insert into test_suspend_and_resume_collection values(35, 'name35', 45.111, 3500, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,35]');
insert into test_suspend_and_resume_collection values(36, 'name36', 46.111, 3600, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,36]');
insert into test_suspend_and_resume_collection values(37, 'name37', 47.111, 3700, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,37]');
insert into test_suspend_and_resume_collection values(38, 'name38', 48.111, 3800, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,38]');
insert into test_suspend_and_resume_collection values(39, 'name39', 49.111, 3900, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,39]');
insert into test_suspend_and_resume_collection values(40, 'name40', 50.111, 4000, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,40]');
insert into test_suspend_and_resume_collection values(41, 'name41', 51.111, 4100, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,41]');
insert into test_suspend_and_resume_collection values(42, 'name42', 52.111, 4200, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,42]');
insert into test_suspend_and_resume_collection values(43, 'name43', 53.111, 4300, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,43]');
insert into test_suspend_and_resume_collection values(44, 'name44', 54.111, 4400, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,44]');
insert into test_suspend_and_resume_collection values(45, 'name45', 55.111, 4500, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,45]');
insert into test_suspend_and_resume_collection values(46, 'name46', 56.111, 4600, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,46]');
insert into test_suspend_and_resume_collection values(47, 'name47', 57.111, 4700, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,47]');
insert into test_suspend_and_resume_collection values(48, 'name48', 58.111, 4800, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,48]');
insert into test_suspend_and_resume_collection values(49, 'name49', 59.111, 4900, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,49]');
insert into test_suspend_and_resume_collection values(50, 'name50', 60.111, 5000, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,50]');
insert into test_suspend_and_resume_collection values(51, 'name51', 61.111, 5100, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,51]');
insert into test_suspend_and_resume_collection values(52, 'name52', 62.111, 5200, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,52]');
insert into test_suspend_and_resume_collection values(53, 'name53', 63.111, 5300, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,53]');
insert into test_suspend_and_resume_collection values(54, 'name54', 64.111, 5400, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,54]');
insert into test_suspend_and_resume_collection values(55, 'name55', 65.111, 5500, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,55]');
insert into test_suspend_and_resume_collection values(56, 'name56', 66.111, 5600, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,56]');
insert into test_suspend_and_resume_collection values(57, 'name57', 67.111, 5700, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,57]');
insert into test_suspend_and_resume_collection values(58, 'name58', 68.111, 5800, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,58]');
insert into test_suspend_and_resume_collection values(59, 'name59', 69.111, 5900, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,59]');
insert into test_suspend_and_resume_collection values(60, 'name60', 70.111, 6000, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,60]');
insert into test_suspend_and_resume_collection values(61, 'name61', 71.111, 6100, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,61]');
insert into test_suspend_and_resume_collection values(62, 'name62', 72.111, 6200, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,62]');
insert into test_suspend_and_resume_collection values(63, 'name63', 73.111, 6300, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,63]');
insert into test_suspend_and_resume_collection values(64, 'name64', 74.111, 6400, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,64]');
insert into test_suspend_and_resume_collection values(65, 'name65', 75.111, 6500, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,65]');
insert into test_suspend_and_resume_collection values(66, 'name66', 76.111, 6600, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,66]');
insert into test_suspend_and_resume_collection values(67, 'name67', 77.111, 6700, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,67]');
insert into test_suspend_and_resume_collection values(68, 'name68', 78.111, 6800, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,68]');
insert into test_suspend_and_resume_collection values(69, 'name69', 79.111, 6900, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,69]');
insert into test_suspend_and_resume_collection values(70, 'name70', 80.111, 7000, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,70]');
insert into test_suspend_and_resume_collection values(71, 'name71', 81.111, 7100, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,71]');
insert into test_suspend_and_resume_collection values(72, 'name72', 82.111, 7200, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,72]');
insert into test_suspend_and_resume_collection values(73, 'name73', 83.111, 7300, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,73]');
insert into test_suspend_and_resume_collection values(74, 'name74', 84.111, 7400, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,74]');
insert into test_suspend_and_resume_collection values(75, 'name75', 85.111, 7500, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,75]');
insert into test_suspend_and_resume_collection values(76, 'name76', 86.111, 7600, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,76]');
insert into test_suspend_and_resume_collection values(77, 'name77', 87.111, 7700, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,77]');
insert into test_suspend_and_resume_collection values(78, 'name78', 88.111, 7800, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,78]');
insert into test_suspend_and_resume_collection values(79, 'name79', 89.111, 7900, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,79]');
insert into test_suspend_and_resume_collection values(80, 'name80', 90.111, 8000, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,80]');
insert into test_suspend_and_resume_collection values(81, 'name81', 91.111, 8100, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,81]');
insert into test_suspend_and_resume_collection values(82, 'name82', 92.111, 8200, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,82]');
insert into test_suspend_and_resume_collection values(83, 'name83', 93.111, 8300, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,83]');
insert into test_suspend_and_resume_collection values(84, 'name84', 94.111, 8400, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,84]');
insert into test_suspend_and_resume_collection values(85, 'name85', 95.111, 8500, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,85]');
insert into test_suspend_and_resume_collection values(86, 'name86', 96.111, 8600, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,86]');
insert into test_suspend_and_resume_collection values(87, 'name87', 97.111, 8700, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,87]');
insert into test_suspend_and_resume_collection values(88, 'name88', 98.111, 8800, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,88]');
insert into test_suspend_and_resume_collection values(89, 'name89', 99.111, 8900, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,89]');
insert into test_suspend_and_resume_collection values(90, 'name90', 100.111, 9000, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,90]');
insert into test_suspend_and_resume_collection values(91, 'name91', 101.111, 9100, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,91]');
insert into test_suspend_and_resume_collection values(92, 'name92', 102.111, 9200, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,92]');
insert into test_suspend_and_resume_collection values(93, 'name93', 103.111, 9300, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,93]');
insert into test_suspend_and_resume_collection values(94, 'name94', 104.111, 9400, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,94]');
insert into test_suspend_and_resume_collection values(95, 'name95', 105.111, 9500, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,95]');
insert into test_suspend_and_resume_collection values(96, 'name96', 106.111, 9600, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,96]');
insert into test_suspend_and_resume_collection values(97, 'name97', 107.111, 9700, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,97]');
insert into test_suspend_and_resume_collection values(98, 'name98', 108.111, 9800, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,98]');
insert into test_suspend_and_resume_collection values(99, 'name99', 109.111, 9900, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,99]');
insert into test_suspend_and_resume_collection values(100, 'name100', 110.111, 10000, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,100]');
insert into test_suspend_and_resume_collection values(101, 'name101', 111.111, 10100, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,101]');
insert into test_suspend_and_resume_collection values(102, 'name102', 112.111, 10200, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,102]');
insert into test_suspend_and_resume_collection values(103, 'name103', 113.111, 10300, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,103]');
insert into test_suspend_and_resume_collection values(104, 'name104', 114.111, 10400, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,104]');
insert into test_suspend_and_resume_collection values(105, 'name105', 115.111, 10500, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,105]');
insert into test_suspend_and_resume_collection values(106, 'name106', 116.111, 10600, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,106]');
insert into test_suspend_and_resume_collection values(107, 'name107', 117.111, 10700, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,107]');
insert into test_suspend_and_resume_collection values(108, 'name108', 118.111, 10800, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,108]');
insert into test_suspend_and_resume_collection values(109, 'name109', 119.111, 10900, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,109]');
insert into test_suspend_and_resume_collection values(110, 'name110', 120.111, 11000, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,110]');
insert into test_suspend_and_resume_collection values(111, 'name111', 121.111, 11100, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,111]');
insert into test_suspend_and_resume_collection values(112, 'name112', 122.111, 11200, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,112]');
insert into test_suspend_and_resume_collection values(113, 'name113', 123.111, 11300, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,113]');
insert into test_suspend_and_resume_collection values(114, 'name114', 124.111, 11400, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,114]');
insert into test_suspend_and_resume_collection values(115, 'name115', 125.111, 11500, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,115]');
insert into test_suspend_and_resume_collection values(116, 'name116', 126.111, 11600, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,116]');
insert into test_suspend_and_resume_collection values(117, 'name117', 127.111, 11700, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,117]');
insert into test_suspend_and_resume_collection values(118, 'name118', 128.111, 11800, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,118]');
insert into test_suspend_and_resume_collection values(119, 'name119', 129.111, 11900, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,119]');
insert into test_suspend_and_resume_collection values(120, 'name120', 130.111, 12000, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,120]');
insert into test_suspend_and_resume_collection values(121, 'name121', 131.111, 12100, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,121]');
insert into test_suspend_and_resume_collection values(122, 'name122', 132.111, 12200, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,122]');
insert into test_suspend_and_resume_collection values(123, 'name123', 133.111, 12300, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,123]');
insert into test_suspend_and_resume_collection values(124, 'name124', 134.111, 12400, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,124]');
insert into test_suspend_and_resume_collection values(125, 'name125', 135.111, 12500, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,125]');
insert into test_suspend_and_resume_collection values(126, 'name126', 136.111, 12600, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,126]');
insert into test_suspend_and_resume_collection values(127, 'name127', 137.111, 12700, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,127]');
insert into test_suspend_and_resume_collection values(128, 'name128', 138.111, 12800, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,128]');
insert into test_suspend_and_resume_collection values(129, 'name129', 139.111, 12900, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,129]');
insert into test_suspend_and_resume_collection values(130, 'name130', 140.111, 13000, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,130]');
insert into test_suspend_and_resume_collection values(131, 'name131', 141.111, 13100, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,131]');
insert into test_suspend_and_resume_collection values(132, 'name132', 142.111, 13200, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,132]');
insert into test_suspend_and_resume_collection values(133, 'name133', 143.111, 13300, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,133]');
insert into test_suspend_and_resume_collection values(134, 'name134', 144.111, 13400, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,134]');
insert into test_suspend_and_resume_collection values(135, 'name135', 145.111, 13500, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,135]');
insert into test_suspend_and_resume_collection values(136, 'name136', 146.111, 13600, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,136]');
insert into test_suspend_and_resume_collection values(137, 'name137', 147.111, 13700, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,137]');
insert into test_suspend_and_resume_collection values(138, 'name138', 148.111, 13800, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,138]');
insert into test_suspend_and_resume_collection values(139, 'name139', 149.111, 13900, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,139]');
insert into test_suspend_and_resume_collection values(140, 'name140', 150.111, 14000, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,140]');
insert into test_suspend_and_resume_collection values(141, 'name141', 151.111, 14100, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,141]');
insert into test_suspend_and_resume_collection values(142, 'name142', 152.111, 14200, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,142]');
insert into test_suspend_and_resume_collection values(143, 'name143', 153.111, 14300, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,143]');
insert into test_suspend_and_resume_collection values(144, 'name144', 154.111, 14400, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,144]');
insert into test_suspend_and_resume_collection values(145, 'name145', 155.111, 14500, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,145]');
insert into test_suspend_and_resume_collection values(146, 'name146', 156.111, 14600, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,146]');
insert into test_suspend_and_resume_collection values(147, 'name147', 157.111, 14700, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,147]');
insert into test_suspend_and_resume_collection values(148, 'name148', 158.111, 14800, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,148]');
insert into test_suspend_and_resume_collection values(149, 'name149', 159.111, 14900, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,149]');
insert into test_suspend_and_resume_collection values(150, 'name150', 160.111, 15000, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,150]');
insert into test_suspend_and_resume_collection values(151, 'name151', 161.111, 15100, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,151]');
insert into test_suspend_and_resume_collection values(152, 'name152', 162.111, 15200, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,152]');
insert into test_suspend_and_resume_collection values(153, 'name153', 163.111, 15300, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,153]');
insert into test_suspend_and_resume_collection values(154, 'name154', 164.111, 15400, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,154]');
insert into test_suspend_and_resume_collection values(155, 'name155', 165.111, 15500, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,155]');
insert into test_suspend_and_resume_collection values(156, 'name156', 166.111, 15600, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,156]');
insert into test_suspend_and_resume_collection values(157, 'name157', 167.111, 15700, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,157]');
insert into test_suspend_and_resume_collection values(158, 'name158', 168.111, 15800, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,158]');
insert into test_suspend_and_resume_collection values(159, 'name159', 169.111, 15900, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,159]');
insert into test_suspend_and_resume_collection values(160, 'name160', 170.111, 16000, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,160]');
insert into test_suspend_and_resume_collection values(161, 'name161', 171.111, 16100, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,161]');
insert into test_suspend_and_resume_collection values(162, 'name162', 172.111, 16200, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,162]');
insert into test_suspend_and_resume_collection values(163, 'name163', 173.111, 16300, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,163]');
insert into test_suspend_and_resume_collection values(164, 'name164', 174.111, 16400, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,164]');
insert into test_suspend_and_resume_collection values(165, 'name165', 175.111, 16500, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,165]');
insert into test_suspend_and_resume_collection values(166, 'name166', 176.111, 16600, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,166]');
insert into test_suspend_and_resume_collection values(167, 'name167', 177.111, 16700, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,167]');
insert into test_suspend_and_resume_collection values(168, 'name168', 178.111, 16800, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,168]');
insert into test_suspend_and_resume_collection values(169, 'name169', 179.111, 16900, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,169]');
insert into test_suspend_and_resume_collection values(170, 'name170', 180.111, 17000, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,170]');
insert into test_suspend_and_resume_collection values(171, 'name171', 181.111, 17100, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,171]');
insert into test_suspend_and_resume_collection values(172, 'name172', 182.111, 17200, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,172]');
insert into test_suspend_and_resume_collection values(173, 'name173', 183.111, 17300, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,173]');
insert into test_suspend_and_resume_collection values(174, 'name174', 184.111, 17400, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,174]');
insert into test_suspend_and_resume_collection values(175, 'name175', 185.111, 17500, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,175]');
insert into test_suspend_and_resume_collection values(176, 'name176', 186.111, 17600, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,176]');
insert into test_suspend_and_resume_collection values(177, 'name177', 187.111, 17700, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,177]');
insert into test_suspend_and_resume_collection values(178, 'name178', 188.111, 17800, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,178]');
insert into test_suspend_and_resume_collection values(179, 'name179', 189.111, 17900, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,179]');
insert into test_suspend_and_resume_collection values(180, 'name180', 190.111, 18000, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,180]');
insert into test_suspend_and_resume_collection values(181, 'name181', 191.111, 18100, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,181]');
insert into test_suspend_and_resume_collection values(182, 'name182', 192.111, 18200, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,182]');
insert into test_suspend_and_resume_collection values(183, 'name183', 193.111, 18300, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,183]');
insert into test_suspend_and_resume_collection values(184, 'name184', 194.111, 18400, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,184]');
insert into test_suspend_and_resume_collection values(185, 'name185', 195.111, 18500, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,185]');
insert into test_suspend_and_resume_collection values(186, 'name186', 196.111, 18600, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,186]');
insert into test_suspend_and_resume_collection values(187, 'name187', 197.111, 18700, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,187]');
insert into test_suspend_and_resume_collection values(188, 'name188', 198.111, 18800, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,188]');
insert into test_suspend_and_resume_collection values(189, 'name189', 199.111, 18900, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,189]');
insert into test_suspend_and_resume_collection values(190, 'name190', 200.111, 19000, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,190]');
insert into test_suspend_and_resume_collection values(191, 'name191', 201.111, 19100, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,191]');
insert into test_suspend_and_resume_collection values(192, 'name192', 202.111, 19200, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,192]');
insert into test_suspend_and_resume_collection values(193, 'name193', 203.111, 19300, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,193]');
insert into test_suspend_and_resume_collection values(194, 'name194', 204.111, 19400, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,194]');
insert into test_suspend_and_resume_collection values(195, 'name195', 205.111, 19500, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,195]');
insert into test_suspend_and_resume_collection values(196, 'name196', 206.111, 19600, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,196]');
insert into test_suspend_and_resume_collection values(197, 'name197', 207.111, 19700, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,197]');
insert into test_suspend_and_resume_collection values(198, 'name198', 208.111, 19800, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,198]');
insert into test_suspend_and_resume_collection values(199, 'name199', 209.111, 19900, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,199]');
insert into test_suspend_and_resume_collection values(200, 'name200', 210.111, 20000, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,200]');
insert into test_suspend_and_resume_collection values(201, 'name201', 211.111, 20100, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,201]');
insert into test_suspend_and_resume_collection values(202, 'name202', 212.111, 20200, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,202]');
insert into test_suspend_and_resume_collection values(203, 'name203', 213.111, 20300, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,203]');
insert into test_suspend_and_resume_collection values(204, 'name204', 214.111, 20400, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,204]');
insert into test_suspend_and_resume_collection values(205, 'name205', 215.111, 20500, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,205]');
insert into test_suspend_and_resume_collection values(206, 'name206', 216.111, 20600, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,206]');
insert into test_suspend_and_resume_collection values(207, 'name207', 217.111, 20700, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,207]');
insert into test_suspend_and_resume_collection values(208, 'name208', 218.111, 20800, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,208]');
insert into test_suspend_and_resume_collection values(209, 'name209', 219.111, 20900, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,209]');
insert into test_suspend_and_resume_collection values(210, 'name210', 220.111, 21000, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,210]');
insert into test_suspend_and_resume_collection values(211, 'name211', 221.111, 21100, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,211]');
insert into test_suspend_and_resume_collection values(212, 'name212', 222.111, 21200, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,212]');
insert into test_suspend_and_resume_collection values(213, 'name213', 223.111, 21300, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,213]');
insert into test_suspend_and_resume_collection values(214, 'name214', 224.111, 21400, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,214]');
insert into test_suspend_and_resume_collection values(215, 'name215', 225.111, 21500, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,215]');
insert into test_suspend_and_resume_collection values(216, 'name216', 226.111, 21600, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,216]');
insert into test_suspend_and_resume_collection values(217, 'name217', 227.111, 21700, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,217]');
insert into test_suspend_and_resume_collection values(218, 'name218', 228.111, 21800, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,218]');
insert into test_suspend_and_resume_collection values(219, 'name219', 229.111, 21900, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,219]');
insert into test_suspend_and_resume_collection values(220, 'name220', 230.111, 22000, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,220]');
insert into test_suspend_and_resume_collection values(221, 'name221', 231.111, 22100, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,221]');
insert into test_suspend_and_resume_collection values(222, 'name222', 232.111, 22200, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,222]');
insert into test_suspend_and_resume_collection values(223, 'name223', 233.111, 22300, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,223]');
insert into test_suspend_and_resume_collection values(224, 'name224', 234.111, 22400, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,224]');
insert into test_suspend_and_resume_collection values(225, 'name225', 235.111, 22500, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,225]');
insert into test_suspend_and_resume_collection values(226, 'name226', 236.111, 22600, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,226]');
insert into test_suspend_and_resume_collection values(227, 'name227', 237.111, 22700, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,227]');
insert into test_suspend_and_resume_collection values(228, 'name228', 238.111, 22800, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,228]');
insert into test_suspend_and_resume_collection values(229, 'name229', 239.111, 22900, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,229]');
insert into test_suspend_and_resume_collection values(230, 'name230', 240.111, 23000, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,230]');
insert into test_suspend_and_resume_collection values(231, 'name231', 241.111, 23100, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,231]');
insert into test_suspend_and_resume_collection values(232, 'name232', 242.111, 23200, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,232]');
insert into test_suspend_and_resume_collection values(233, 'name233', 243.111, 23300, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,233]');
insert into test_suspend_and_resume_collection values(234, 'name234', 244.111, 23400, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,234]');
insert into test_suspend_and_resume_collection values(235, 'name235', 245.111, 23500, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,235]');
insert into test_suspend_and_resume_collection values(236, 'name236', 246.111, 23600, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,236]');
insert into test_suspend_and_resume_collection values(237, 'name237', 247.111, 23700, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,237]');
insert into test_suspend_and_resume_collection values(238, 'name238', 248.111, 23800, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,238]');
insert into test_suspend_and_resume_collection values(239, 'name239', 249.111, 23900, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,239]');
insert into test_suspend_and_resume_collection values(240, 'name240', 250.111, 24000, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,240]');
insert into test_suspend_and_resume_collection values(241, 'name241', 251.111, 24100, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,241]');
insert into test_suspend_and_resume_collection values(242, 'name242', 252.111, 24200, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,242]');
insert into test_suspend_and_resume_collection values(243, 'name243', 253.111, 24300, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,243]');
insert into test_suspend_and_resume_collection values(244, 'name244', 254.111, 24400, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,244]');
insert into test_suspend_and_resume_collection values(245, 'name245', 255.111, 24500, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,245]');
insert into test_suspend_and_resume_collection values(246, 'name246', 256.111, 24600, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,246]');
insert into test_suspend_and_resume_collection values(247, 'name247', 257.111, 24700, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,247]');
insert into test_suspend_and_resume_collection values(248, 'name248', 258.111, 24800, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,248]');
insert into test_suspend_and_resume_collection values(249, 'name249', 259.111, 24900, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,249]');
insert into test_suspend_and_resume_collection values(250, 'name250', 260.111, 25000, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,250]');
insert into test_suspend_and_resume_collection values(251, 'name251', 261.111, 25100, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,251]');
insert into test_suspend_and_resume_collection values(252, 'name252', 262.111, 25200, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,252]');
insert into test_suspend_and_resume_collection values(253, 'name253', 263.111, 25300, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,253]');
insert into test_suspend_and_resume_collection values(254, 'name254', 264.111, 25400, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,254]');
insert into test_suspend_and_resume_collection values(255, 'name255', 265.111, 25500, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,255]');
insert into test_suspend_and_resume_collection values(256, 'name256', 266.111, 25600, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,256]');
insert into test_suspend_and_resume_collection values(257, 'name257', 267.111, 25700, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,257]');
insert into test_suspend_and_resume_collection values(258, 'name258', 268.111, 25800, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,258]');
insert into test_suspend_and_resume_collection values(259, 'name259', 269.111, 25900, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,259]');
insert into test_suspend_and_resume_collection values(260, 'name260', 270.111, 26000, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,260]');
insert into test_suspend_and_resume_collection values(261, 'name261', 271.111, 26100, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,261]');
insert into test_suspend_and_resume_collection values(262, 'name262', 272.111, 26200, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,262]');
insert into test_suspend_and_resume_collection values(263, 'name263', 273.111, 26300, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,263]');
insert into test_suspend_and_resume_collection values(264, 'name264', 274.111, 26400, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,264]');
insert into test_suspend_and_resume_collection values(265, 'name265', 275.111, 26500, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,265]');
insert into test_suspend_and_resume_collection values(266, 'name266', 276.111, 26600, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,266]');
insert into test_suspend_and_resume_collection values(267, 'name267', 277.111, 26700, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,267]');
insert into test_suspend_and_resume_collection values(268, 'name268', 278.111, 26800, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,268]');
insert into test_suspend_and_resume_collection values(269, 'name269', 279.111, 26900, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,269]');
insert into test_suspend_and_resume_collection values(270, 'name270', 280.111, 27000, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,270]');
insert into test_suspend_and_resume_collection values(271, 'name271', 281.111, 27100, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,271]');
insert into test_suspend_and_resume_collection values(272, 'name272', 282.111, 27200, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,272]');
insert into test_suspend_and_resume_collection values(273, 'name273', 283.111, 27300, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,273]');
insert into test_suspend_and_resume_collection values(274, 'name274', 284.111, 27400, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,274]');
insert into test_suspend_and_resume_collection values(275, 'name275', 285.111, 27500, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,275]');
insert into test_suspend_and_resume_collection values(276, 'name276', 286.111, 27600, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,276]');
insert into test_suspend_and_resume_collection values(277, 'name277', 287.111, 27700, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,277]');
insert into test_suspend_and_resume_collection values(278, 'name278', 288.111, 27800, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,278]');
insert into test_suspend_and_resume_collection values(279, 'name279', 289.111, 27900, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,279]');
insert into test_suspend_and_resume_collection values(280, 'name280', 290.111, 28000, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,280]');
insert into test_suspend_and_resume_collection values(281, 'name281', 291.111, 28100, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,281]');
insert into test_suspend_and_resume_collection values(282, 'name282', 292.111, 28200, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,282]');
insert into test_suspend_and_resume_collection values(283, 'name283', 293.111, 28300, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,283]');
insert into test_suspend_and_resume_collection values(284, 'name284', 294.111, 28400, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,284]');
insert into test_suspend_and_resume_collection values(285, 'name285', 295.111, 28500, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,285]');
insert into test_suspend_and_resume_collection values(286, 'name286', 296.111, 28600, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,286]');
insert into test_suspend_and_resume_collection values(287, 'name287', 297.111, 28700, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,287]');
insert into test_suspend_and_resume_collection values(288, 'name288', 298.111, 28800, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,288]');
insert into test_suspend_and_resume_collection values(289, 'name289', 299.111, 28900, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,289]');
insert into test_suspend_and_resume_collection values(290, 'name290', 300.111, 29000, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,290]');
insert into test_suspend_and_resume_collection values(291, 'name291', 301.111, 29100, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,291]');
insert into test_suspend_and_resume_collection values(292, 'name292', 302.111, 29200, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,292]');
insert into test_suspend_and_resume_collection values(293, 'name293', 303.111, 29300, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,293]');
insert into test_suspend_and_resume_collection values(294, 'name294', 304.111, 29400, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,294]');
insert into test_suspend_and_resume_collection values(295, 'name295', 305.111, 29500, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,295]');
insert into test_suspend_and_resume_collection values(296, 'name296', 306.111, 29600, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,296]');
insert into test_suspend_and_resume_collection values(297, 'name297', 307.111, 29700, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,297]');
insert into test_suspend_and_resume_collection values(298, 'name298', 308.111, 29800, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,298]');
insert into test_suspend_and_resume_collection values(299, 'name299', 309.111, 29900, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,299]');
insert into test_suspend_and_resume_collection values(300, 'name300', 310.111, 30000, '[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,300]');
select count(*) from test_suspend_and_resume_collection;
|
-- Validate that the mirror replay process forwards fsync requests for
-- append-optimized tables to the checkpointer. This is done using a
-- fault point that is reached only in a checkpointer process. Note
-- that checkpointer process runs on primary as well as mirror. We
-- are concerned with the checkpointer running on mirror in this test.
--
-- Starting with a clean slate (no pending fsync requests), the test
-- performs operations such as insert, vacuum, drop on AO row and
-- column oriented tables. It validates that fsync was performed by
-- checkpointer for expected number of AO files at the end of each
-- operation.
-- Set the GUC to perform replay of checkpoint records immediately.
-- It speeds up the test.
!\retcode gpconfig -c create_restartpoint_on_ckpt_record_replay -v on --skipvalidation;
-- Set fsync on since we need to test the fsync code logic.
!\retcode gpconfig -c fsync -v on --skipvalidation;
!\retcode gpstop -u;
create table fsync_ao(a int, b int) with (appendoptimized = true) distributed by (a);
create table fsync_co(a int, b int) with (appendoptimized = true, orientation = column) distributed by (a);
-- no fsync requests should ever be registered for unlogged tables
create unlogged table ul_fsync_co(a int, b int, c int) using ao_column distributed by (a);
insert into fsync_ao select i, i from generate_series(1,10)i;
insert into fsync_co select i, i from generate_series(1,10)i;
-- Fault to check that mirror has flushed pending fsync requests.
select gp_inject_fault_infinite('restartpoint_guts', 'skip', dbid)
from gp_segment_configuration where role = 'm' and content = 0;
-- Start with a clean slate.
checkpoint;
-- Wait until restartpoint flush happens.
select gp_wait_until_triggered_fault('restartpoint_guts', 1, dbid)
from gp_segment_configuration where content=0 and role='m';
-- We have just created a checkpoint. The next automatic checkpoint
-- will be triggered only after 5 minutes or after CheckPointSegments
-- wal segments. Neither of that can happen until this test calls
-- explicit checkpoint.
-- Write ao and co data files including aoseg & gp_fastsequence.
-- These should be fsync-ed by checkpoint & restartpoint.
insert into fsync_ao select i, i from generate_series(1,20)i;
insert into fsync_co select i, i from generate_series(1,20)i;
insert into ul_fsync_co select i, i, i from generate_series(1,20)i;
-- Inject fault to count relfiles fsync'ed by checkpointer on mirror.
select gp_inject_fault_infinite('ao_fsync_counter', 'skip', dbid)
from gp_segment_configuration where content=0 and role='m';
checkpoint;
-- Wait until restartpoint happens again.
select gp_wait_until_triggered_fault('restartpoint_guts', 2, dbid)
from gp_segment_configuration where content=0 and role='m';
-- Validate that the number of files fsync'ed by checkpointer (on
-- mirror). `num times hit` is corresponding to the number of files
-- synced by `ao_fsync_counter` fault.
select gp_inject_fault('ao_fsync_counter', 'status', dbid)
from gp_segment_configuration where content=0 and role='m';
-- Test vacuum compaction with more than one segment file per table.
-- Perform concurrent inserts before vacuum to get multiple segment
-- files. Validation criterion is the next checkpoint succeeds on the
-- mirror.
1: begin;
1: insert into fsync_ao select i, i from generate_series(1,20)i;
1: insert into fsync_co select i, i from generate_series(1,20)i;
1: insert into ul_fsync_co select i, i, i from generate_series(1,20)i;
insert into fsync_ao select i, i from generate_series(21,40)i;
insert into fsync_co select i, i from generate_series(21,40)i;
insert into ul_fsync_co select i, i, i from generate_series(1,40)i;
1: end;
-- Generate some invisible tuples in both the tables so as to trigger
-- compaction during vacuum.
delete from fsync_ao where a > 20;
update fsync_co set b = -a;
delete from ul_fsync_co where b < 20;
-- Expect two segment files for each table (ao table) or each column (co table).
select segment_id, segno, state from gp_toolkit.__gp_aoseg('fsync_ao');
select segment_id, segno, column_num, physical_segno, state from gp_toolkit.__gp_aocsseg('fsync_co');
select segment_id, segno, column_num, physical_segno, state from gp_toolkit.__gp_aocsseg('ul_fsync_co');
vacuum fsync_ao;
vacuum fsync_co;
vacuum ul_fsync_co;
checkpoint;
-- Wait until restartpoint happens again.
select gp_wait_until_triggered_fault('restartpoint_guts', 3, dbid)
from gp_segment_configuration where content=0 and role='m';
-- Expect the segment files that were updated by vacuum to be fsync'ed.
select gp_inject_fault('ao_fsync_counter', 'status', dbid)
from gp_segment_configuration where content=0 and role='m';
-- Test that replay of drop table operation removes fsync requests
-- previously registed with the checkpointer.
update fsync_co set b = -a;
drop table fsync_co;
update ul_fsync_co set c = -a;
drop table ul_fsync_co;
-- Drop but don't commit the transaction.
begin;
update fsync_ao set b = -a;
drop table fsync_ao;
abort;
-- Fsync request for the following insert should not be forgotten.
insert into fsync_ao select * from generate_series(41,60)i;
checkpoint;
-- Wait until restartpoint happens again.
select gp_wait_until_triggered_fault('restartpoint_guts', 4, dbid)
from gp_segment_configuration where content=0 and role='m';
-- Expect that fsync is only performed for fsync_ao table (1 file) but
-- not for fsync_co table because it was dropped after being updated.
select gp_inject_fault('ao_fsync_counter', 'status', dbid)
from gp_segment_configuration where content=0 and role='m';
-- Reset all faults.
select gp_inject_fault('all', 'reset', dbid) from gp_segment_configuration where content = 0;
!\retcode gpconfig -r create_restartpoint_on_ckpt_record_replay --skipvalidation;
!\retcode gpconfig -c fsync -v off --skipvalidation;
!\retcode gpstop -u;
|
/*
Navicat MySQL Data Transfer
Source Server : 192.168.1.113_3306
Source Server Version : 50541
Source Host : 192.168.1.113:3306
Source Database : nkrm
Target Server Type : MYSQL
Target Server Version : 50541
File Encoding : 65001
Date: 2015-04-07 14:56:51
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for auth_assignment
-- ----------------------------
DROP TABLE IF EXISTS `auth_assignment`;
CREATE TABLE `auth_assignment` (
`item_name` varchar(64) NOT NULL,
`user_id` varchar(64) NOT NULL,
`created_at` int(11) DEFAULT NULL,
PRIMARY KEY (`item_name`,`user_id`),
CONSTRAINT `auth_assignment_ibfk_1` FOREIGN KEY (`item_name`) REFERENCES `auth_item` (`name`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of auth_assignment
-- ----------------------------
INSERT INTO `auth_assignment` VALUES ('admin', '1', '1426125604');
INSERT INTO `auth_assignment` VALUES ('admin', '4', '1427078648');
-- ----------------------------
-- Table structure for auth_item
-- ----------------------------
DROP TABLE IF EXISTS `auth_item`;
CREATE TABLE `auth_item` (
`name` varchar(64) NOT NULL,
`type` int(11) NOT NULL,
`description` text,
`rule_name` varchar(64) DEFAULT NULL,
`data` text,
`created_at` int(11) DEFAULT NULL,
`updated_at` int(11) DEFAULT NULL,
PRIMARY KEY (`name`),
KEY `rule_name` (`rule_name`),
KEY `type` (`type`),
CONSTRAINT `auth_item_ibfk_1` FOREIGN KEY (`rule_name`) REFERENCES `auth_rule` (`name`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of auth_item
-- ----------------------------
INSERT INTO `auth_item` VALUES ('/*', '2', null, null, null, '1426125486', '1426125486');
INSERT INTO `auth_item` VALUES ('admin', '2', null, null, null, '1426076383', '1426125523');
INSERT INTO `auth_item` VALUES ('admin_test', '1', null, null, null, '1426125568', '1426125568');
INSERT INTO `auth_item` VALUES ('dd', '2', null, null, null, '1427111116', '1427111116');
-- ----------------------------
-- Table structure for auth_item_child
-- ----------------------------
DROP TABLE IF EXISTS `auth_item_child`;
CREATE TABLE `auth_item_child` (
`parent` varchar(64) NOT NULL,
`child` varchar(64) NOT NULL,
PRIMARY KEY (`parent`,`child`),
KEY `child` (`child`),
CONSTRAINT `auth_item_child_ibfk_1` FOREIGN KEY (`parent`) REFERENCES `auth_item` (`name`) ON DELETE CASCADE ON UPDATE CASCADE,
CONSTRAINT `auth_item_child_ibfk_2` FOREIGN KEY (`child`) REFERENCES `auth_item` (`name`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of auth_item_child
-- ----------------------------
INSERT INTO `auth_item_child` VALUES ('admin', '/*');
INSERT INTO `auth_item_child` VALUES ('admin_test', 'admin');
-- ----------------------------
-- Table structure for auth_rule
-- ----------------------------
DROP TABLE IF EXISTS `auth_rule`;
CREATE TABLE `auth_rule` (
`name` varchar(64) NOT NULL,
`data` text,
`created_at` int(11) DEFAULT NULL,
`updated_at` int(11) DEFAULT NULL,
PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of auth_rule
-- ----------------------------
-- ----------------------------
-- Table structure for contact
-- ----------------------------
DROP TABLE IF EXISTS `contact`;
CREATE TABLE `contact` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`fullname` varchar(255) NOT NULL COMMENT 'ชื่อ',
`address` text NOT NULL COMMENT 'ที่อยู่',
`tambon_id` int(11) NOT NULL COMMENT 'ตำบล',
`zipcode` varchar(5) NOT NULL COMMENT 'รหัสไปรษณีย์',
`email` varchar(255) NOT NULL COMMENT 'อีเมลล์',
`tel` varchar(20) NOT NULL COMMENT 'เบอร์โทร',
`lat` varchar(45) NOT NULL COMMENT 'ละติจูด',
`lng` varchar(45) NOT NULL COMMENT 'ลองกิจูด',
`created` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'บันทึกเมื่อ',
`firstname` varchar(50) DEFAULT NULL,
`lastname` varchar(50) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `tambon_id` (`tambon_id`),
CONSTRAINT `contact_ibfk_1` FOREIGN KEY (`tambon_id`) REFERENCES `base_tambon` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of contact
-- ----------------------------
INSERT INTO `contact` VALUES ('1', 'มานพ กองอุ่น', '60 หมู่ 9', '341405', '34140', '<EMAIL>', '0833704413', '15.255223', '104.831955', '2015-02-17 18:38:07', 'สุจินต์', 'สุกกล้า');
INSERT INTO `contact` VALUES ('2', 'ณภาภัช กองอุ่น', '123 หมู่ 4', '103605', '12345', '<EMAIL>', '123456', '15.514246', '104.724120', '2015-02-18 00:16:57', 'เกรียงไกร', 'ชาติสุทธิ์');
INSERT INTO `contact` VALUES ('6', '', '33', '640612', '', '<EMAIL>', '', '', '', '2015-03-15 15:58:34', 'ทดสอบ', 'กาแฟ');
INSERT INTO `contact` VALUES ('7', '', 'hft', '730505', '', '<EMAIL>', '', '', '', '2015-04-01 19:49:13', 'jjj', ';;;;');
INSERT INTO `contact` VALUES ('8', '', 'wdwf', '260403', '', '<EMAIL>', '', '', '', '2015-04-01 20:49:48', 'vdvd', 'scscw');
INSERT INTO `contact` VALUES ('9', '', 'dqdq', '230702', '', '<EMAIL>', '', '', '', '2015-04-01 20:53:53', 'sas', 'dqdq');
-- ----------------------------
-- Table structure for migration
-- ----------------------------
DROP TABLE IF EXISTS `migration`;
CREATE TABLE `migration` (
`version` varchar(180) NOT NULL,
`apply_time` int(11) DEFAULT NULL,
PRIMARY KEY (`version`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of migration
-- ----------------------------
INSERT INTO `migration` VALUES ('m000000_000000_base', '1427697730');
INSERT INTO `migration` VALUES ('m150214_044831_init_user', '1427697735');
-- ----------------------------
-- Table structure for nur_bed
-- ----------------------------
DROP TABLE IF EXISTS `nur_bed`;
CREATE TABLE `nur_bed` (
`bedno` varchar(10) NOT NULL DEFAULT '' COMMENT 'เตียง',
`ward` varchar(10) DEFAULT NULL COMMENT 'หอผู้ป่วย',
PRIMARY KEY (`bedno`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of nur_bed
-- ----------------------------
INSERT INTO `nur_bed` VALUES ('f01', '1');
INSERT INTO `nur_bed` VALUES ('f02', '01');
INSERT INTO `nur_bed` VALUES ('f03', '01');
INSERT INTO `nur_bed` VALUES ('f04', '01');
INSERT INTO `nur_bed` VALUES ('f05', '01');
INSERT INTO `nur_bed` VALUES ('f06', '01');
-- ----------------------------
-- Table structure for nur_catogory
-- ----------------------------
DROP TABLE IF EXISTS `nur_catogory`;
CREATE TABLE `nur_catogory` (
`code` int(10) NOT NULL COMMENT 'รหัส',
`name` varchar(100) DEFAULT NULL COMMENT 'รายการ',
PRIMARY KEY (`code`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of nur_catogory
-- ----------------------------
INSERT INTO `nur_catogory` VALUES ('1', 'Self care ประเภท 1');
INSERT INTO `nur_catogory` VALUES ('2', 'Minimal care ประเภท 2');
INSERT INTO `nur_catogory` VALUES ('3', 'Intermediate care ประเภท 3');
INSERT INTO `nur_catogory` VALUES ('4', 'Modified intensive care ประเภท 4');
INSERT INTO `nur_catogory` VALUES ('5', 'ICU needed ประเภท 5');
-- ----------------------------
-- Table structure for nur_dept
-- ----------------------------
DROP TABLE IF EXISTS `nur_dept`;
CREATE TABLE `nur_dept` (
`id` int(5) NOT NULL DEFAULT '0' COMMENT 'รหัส',
`name` varchar(50) DEFAULT NULL COMMENT 'แผนก',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of nur_dept
-- ----------------------------
INSERT INTO `nur_dept` VALUES ('1', 'พยาบาลOPD');
INSERT INTO `nur_dept` VALUES ('2', 'พยาบาลER');
INSERT INTO `nur_dept` VALUES ('3', 'พยาบาลLR');
INSERT INTO `nur_dept` VALUES ('4', 'พยาบาลWARD');
INSERT INTO `nur_dept` VALUES ('5', 'แพทย์');
INSERT INTO `nur_dept` VALUES ('6', 'ผู้ช่วยเหลือคนไข้');
INSERT INTO `nur_dept` VALUES ('7', 'คนงาน');
INSERT INTO `nur_dept` VALUES ('8', 'ห้องบัตร');
INSERT INTO `nur_dept` VALUES ('9', 'ซักฟอก');
INSERT INTO `nur_dept` VALUES ('10', 'หน่วยจ่ายกลาง');
INSERT INTO `nur_dept` VALUES ('11', 'โรงครัว');
INSERT INTO `nur_dept` VALUES ('12', 'ห้อง x-ray');
INSERT INTO `nur_dept` VALUES ('13', 'คนขับรถ');
INSERT INTO `nur_dept` VALUES ('14', 'ทำความสะอาด');
INSERT INTO `nur_dept` VALUES ('15', 'อื่นๆ');
-- ----------------------------
-- Table structure for nur_er
-- ----------------------------
DROP TABLE IF EXISTS `nur_er`;
CREATE TABLE `nur_er` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`vstdate` date NOT NULL COMMENT 'วันที่',
`vnonac` int(10) NOT NULL COMMENT 'ผู้ป่วย Non ac.illness',
`vemergency` int(10) NOT NULL COMMENT 'ผู้ป่วย Emergency',
`vresus` int(10) NOT NULL COMMENT 'ผู้ป่วย Resuscitation',
`vhome` int(10) NOT NULL COMMENT 'รับยากลับบ้าน',
`vvisit` int(10) NOT NULL COMMENT 'รับไว้รักษาต่อ',
`vac` int(10) NOT NULL COMMENT 'ผู้ป่วย Ac.illness',
`vurgent` int(10) NOT NULL COMMENT 'ผู้ป่วย Urgent',
`vobservations` int(10) NOT NULL COMMENT 'รับไว้สังเกตอาการ',
`vrefer` int(10) NOT NULL COMMENT 'ส่งต่อ',
`vadmit` int(10) NOT NULL COMMENT 'รับย้าย Admit จาก Ward',
`duty` varchar(50) NOT NULL COMMENT 'เวร',
`staff` varchar(50) NOT NULL COMMENT 'ผู้บันทึก',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of nur_er
-- ----------------------------
-- ----------------------------
-- Table structure for nur_head
-- ----------------------------
DROP TABLE IF EXISTS `nur_head`;
CREATE TABLE `nur_head` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`vstdate` date DEFAULT NULL COMMENT 'วันที่',
`opdnur1` varchar(10) DEFAULT NULL COMMENT 'พยาบาล1',
`opdnur2` varchar(10) DEFAULT NULL COMMENT 'พยาบาล2',
`opdnur3` varchar(10) DEFAULT NULL COMMENT 'พยาบาล3',
`opdnur4` varchar(10) DEFAULT NULL COMMENT 'พยาบาล4',
`opddoctor` varchar(10) DEFAULT NULL COMMENT 'แพทย์',
`opdaides` varchar(10) DEFAULT NULL COMMENT 'ผู้ช่วยเหลือคนไข้',
`opdworker` varchar(10) DEFAULT NULL COMMENT 'คนงาน',
`ernur1` varchar(10) DEFAULT NULL COMMENT 'พยาบาล1',
`ernur2` varchar(10) DEFAULT NULL COMMENT 'พยาบาล2',
`ernur3` varchar(10) DEFAULT NULL COMMENT 'พยาบาล3',
`ernur4` varchar(10) DEFAULT NULL COMMENT 'พยาบาล4',
`erdoctor` varchar(10) DEFAULT NULL COMMENT 'แพทย์',
`eraides` varchar(10) DEFAULT NULL COMMENT 'ผู้ช่วยเหลือคนไข้',
`erworker` varchar(10) DEFAULT NULL COMMENT 'คนงาน',
`lrnur1` varchar(10) DEFAULT NULL COMMENT 'พยาบาล1',
`lrnur2` varchar(10) DEFAULT NULL COMMENT 'พยาบาล2',
`lrnur3` varchar(10) DEFAULT NULL COMMENT 'พยาบาล3',
`lrnur4` varchar(10) DEFAULT NULL COMMENT 'พยาบาล4',
`lrdoctor` varchar(10) DEFAULT NULL COMMENT 'แพทย์',
`lraides` varchar(10) DEFAULT NULL COMMENT 'ผู้ช่วยเหลือคนไข้',
`lrworker` varchar(10) DEFAULT NULL COMMENT 'คนงาน',
`wardnur1` varchar(10) DEFAULT NULL COMMENT 'พยาบาล1',
`wardnur2` varchar(10) DEFAULT NULL COMMENT 'พยาบาล2',
`wardnur3` varchar(10) DEFAULT NULL COMMENT 'พยาบาล3',
`wardnur4` varchar(10) DEFAULT NULL COMMENT 'พยาบาล4',
`warddoctor` varchar(10) DEFAULT NULL COMMENT 'แพทย์',
`wardaides` varchar(10) DEFAULT NULL COMMENT 'ผู้ช่วยเหลือคนไข้',
`wardworker` varchar(10) DEFAULT NULL COMMENT 'คนงาน',
`cardroom` varchar(10) DEFAULT NULL,
`launder` varchar(10) DEFAULT NULL,
`centersupport` varchar(0) DEFAULT NULL,
`kitchen` varchar(0) DEFAULT NULL,
`xrayroom` varchar(0) DEFAULT NULL,
`carman` varchar(0) DEFAULT NULL,
`duty` varchar(10) DEFAULT NULL COMMENT 'เวร',
`staff` varchar(10) DEFAULT NULL COMMENT 'ผู้บันทึก',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=19 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of nur_head
-- ----------------------------
INSERT INTO `nur_head` VALUES ('18', '2015-04-07', '', '', '', '', '003', '', '', '', '002', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '2', 'neo');
INSERT INTO `nur_head` VALUES ('15', null, '004', null, null, null, null, null, null, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', null, '', '', '', '', '', '', '', '', '', '', '', '', 'neo');
INSERT INTO `nur_head` VALUES ('17', '2015-04-07', '001', '004', '004', '004', '003', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '2', 'neo');
-- ----------------------------
-- Table structure for nur_ipt
-- ----------------------------
DROP TABLE IF EXISTS `nur_ipt`;
CREATE TABLE `nur_ipt` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`vstdate` date DEFAULT NULL COMMENT 'วันที่',
`ward` varchar(5) DEFAULT NULL COMMENT 'หอผู้ป่วย',
`bed` varchar(10) DEFAULT NULL COMMENT 'เตียง',
`category` varchar(5) DEFAULT NULL COMMENT 'ประเภท',
`status` varchar(5) DEFAULT NULL COMMENT 'สถานะ',
`duty` enum('ดึก','เช้า','บ่าย') DEFAULT NULL,
`staff` varchar(10) DEFAULT NULL COMMENT 'ผู้บันทึก',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of nur_ipt
-- ----------------------------
INSERT INTO `nur_ipt` VALUES ('1', '2015-04-01', '1', '1', '1', '1', 'เช้า', 'dd');
INSERT INTO `nur_ipt` VALUES ('2', '2015-04-03', '01', 'f01', '1', '1', 'เช้า', 'neo');
INSERT INTO `nur_ipt` VALUES ('3', '2015-04-07', '01', 'f01', '2', '3', 'ดึก', 'neo');
INSERT INTO `nur_ipt` VALUES ('4', '2015-04-07', '01', 'f01', '5', '2', 'บ่าย', 'neo');
INSERT INTO `nur_ipt` VALUES ('5', '2015-04-03', '01', 'f02', '3', '1', 'เช้า', 'neo');
INSERT INTO `nur_ipt` VALUES ('6', '2015-04-03', '01', 'f03', '4', '2', 'เช้า', 'neo');
-- ----------------------------
-- Table structure for nur_opd
-- ----------------------------
DROP TABLE IF EXISTS `nur_opd`;
CREATE TABLE `nur_opd` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`vstdate` date DEFAULT NULL,
`vopd` int(5) DEFAULT NULL,
`ver` int(5) DEFAULT NULL,
`vtreatment` int(5) DEFAULT NULL,
`vhome` int(5) DEFAULT NULL,
`vrefer` int(5) DEFAULT NULL,
`duty` varchar(5) DEFAULT NULL,
`staff` varchar(10) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of nur_opd
-- ----------------------------
INSERT INTO `nur_opd` VALUES ('2', '2015-04-02', '33', '20', '12', '5', '2', '2', 'neo');
-- ----------------------------
-- Table structure for nur_status
-- ----------------------------
DROP TABLE IF EXISTS `nur_status`;
CREATE TABLE `nur_status` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`code` int(10) DEFAULT NULL COMMENT 'รหัส',
`name` varchar(100) DEFAULT NULL COMMENT 'ชื่อสถานะ',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of nur_status
-- ----------------------------
INSERT INTO `nur_status` VALUES ('1', '1', 'รับใหม่');
INSERT INTO `nur_status` VALUES ('2', '2', 'จำหน่าย');
INSERT INTO `nur_status` VALUES ('3', '3', 'เสียชีวิต');
INSERT INTO `nur_status` VALUES ('4', '4', 'ส่งต่อ');
INSERT INTO `nur_status` VALUES ('5', '5', 'รับย้ายจากห้องคลอด');
-- ----------------------------
-- Table structure for nur_user_rec
-- ----------------------------
DROP TABLE IF EXISTS `nur_user_rec`;
CREATE TABLE `nur_user_rec` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`code` varchar(10) DEFAULT NULL COMMENT 'รหัส',
`fname` varchar(50) DEFAULT NULL COMMENT 'ชื่อ',
`lname` varchar(50) DEFAULT NULL COMMENT 'นามสกุล',
`dept` varchar(10) DEFAULT NULL COMMENT 'แผนก',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of nur_user_rec
-- ----------------------------
INSERT INTO `nur_user_rec` VALUES ('1', '001', 'aaa', 'a3', '1');
INSERT INTO `nur_user_rec` VALUES ('2', '002', 'สุจินต์', 'สุกกล้า', '2');
INSERT INTO `nur_user_rec` VALUES ('3', '003', 'test doc', null, '5');
INSERT INTO `nur_user_rec` VALUES ('4', '004', 'wwr3r', 'fefe', '1');
INSERT INTO `nur_user_rec` VALUES ('5', '005', 'nur3', '3333', '3');
-- ----------------------------
-- Table structure for nur_ward
-- ----------------------------
DROP TABLE IF EXISTS `nur_ward`;
CREATE TABLE `nur_ward` (
`ward` varchar(5) NOT NULL DEFAULT '' COMMENT 'รหัส',
`name` varchar(100) DEFAULT NULL COMMENT 'ชื่อหอผู้ป่วย',
PRIMARY KEY (`ward`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of nur_ward
-- ----------------------------
INSERT INTO `nur_ward` VALUES ('01', 'หอผู้ป่วยทั่วไป');
INSERT INTO `nur_ward` VALUES ('02', 'หอผู้ป่วยห้องคลอด');
-- ----------------------------
-- Table structure for profile
-- ----------------------------
DROP TABLE IF EXISTS `profile`;
CREATE TABLE `profile` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user_id` int(11) NOT NULL,
`create_time` timestamp NULL DEFAULT NULL,
`update_time` timestamp NULL DEFAULT NULL,
`full_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `profile_user_id` (`user_id`),
CONSTRAINT `profile_user_id` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- ----------------------------
-- Records of profile
-- ----------------------------
INSERT INTO `profile` VALUES ('1', '1', '2015-03-30 08:42:15', null, 'the one');
-- ----------------------------
-- Table structure for role
-- ----------------------------
DROP TABLE IF EXISTS `role`;
CREATE TABLE `role` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`create_time` timestamp NULL DEFAULT NULL,
`update_time` timestamp NULL DEFAULT NULL,
`can_admin` smallint(6) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- ----------------------------
-- Records of role
-- ----------------------------
INSERT INTO `role` VALUES ('1', 'Admin', '2015-03-30 08:42:15', null, '1');
INSERT INTO `role` VALUES ('2', 'User', '2015-03-30 08:42:15', null, '0');
-- ----------------------------
-- Table structure for user
-- ----------------------------
DROP TABLE IF EXISTS `user`;
CREATE TABLE `user` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`role_id` int(11) NOT NULL,
`status` smallint(6) NOT NULL,
`email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`new_email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`username` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`password` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`auth_key` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`api_key` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`login_ip` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`login_time` timestamp NULL DEFAULT NULL,
`create_ip` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`create_time` timestamp NULL DEFAULT NULL,
`update_time` timestamp NULL DEFAULT NULL,
`ban_time` timestamp NULL DEFAULT NULL,
`ban_reason` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `user_email` (`email`),
UNIQUE KEY `user_username` (`username`),
KEY `user_role_id` (`role_id`),
CONSTRAINT `user_role_id` FOREIGN KEY (`role_id`) REFERENCES `role` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- ----------------------------
-- Records of user
-- ----------------------------
INSERT INTO `user` VALUES ('1', '1', '1', '<EMAIL>', null, 'neo', '$2y$13$dyVw4WkZGkABf2UrGWrhHO4ZmVBv.K4puhOL59Y9jQhIdj63TlV.O', 'hhOk4MyiynKe7n4aLm3ht3qHVBAoAuKj', 'u7hIqzqX_R4kluHab-7WWfUzFRuhAdCe', '::1', '2015-04-07 03:59:32', null, '2015-03-30 08:42:15', null, null, null);
-- ----------------------------
-- Table structure for user_auth
-- ----------------------------
DROP TABLE IF EXISTS `user_auth`;
CREATE TABLE `user_auth` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user_id` int(11) NOT NULL,
`provider` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`provider_id` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`provider_attributes` text COLLATE utf8_unicode_ci NOT NULL,
`create_time` timestamp NULL DEFAULT NULL,
`update_time` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `user_auth_provider_id` (`provider_id`),
KEY `user_auth_user_id` (`user_id`),
CONSTRAINT `user_auth_user_id` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- ----------------------------
-- Records of user_auth
-- ----------------------------
-- ----------------------------
-- Table structure for user_key
-- ----------------------------
DROP TABLE IF EXISTS `user_key`;
CREATE TABLE `user_key` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user_id` int(11) NOT NULL,
`type` smallint(6) NOT NULL,
`key` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`create_time` timestamp NULL DEFAULT NULL,
`consume_time` timestamp NULL DEFAULT NULL,
`expire_time` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `user_key_key` (`key`),
KEY `user_key_user_id` (`user_id`),
CONSTRAINT `user_key_user_id` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- ----------------------------
-- Records of user_key
-- ----------------------------
|
<reponame>Zhaojia2019/cubrid-testcases
--TEST: [Analytic Functions] Analytic function cannot be used in a statement which has a group by clause.
drop table if exists foo;
create table foo(a int, b int);
insert into foo values(1, 10);
insert into foo values(1, 12);
insert into foo values(1, 24);
insert into foo values(2, 34);
insert into foo values(2, 22);
select a, row_number() over(order by a) from foo group by a order by a;
select * from (select a, count(a) over(order by a) as b from foo group by a order by a);
select a, min(b), rank() over(order by a) from foo group by a order by a;
select a, max(b) over(order by a) from foo group by a, b order by a, b;
select a, sum(min(b)) over(order by a) from foo group by a order by a;
select a, sum(b), avg(sum(b)) over(partition by sum(b) order by a) from foo group by a order by a;
select a, stddev(max(b)) over(order by a) from foo group by a order by a;
select a, b, var_pop(b) over(partition by b order by a) from foo group by a, b order by a;
select a, ntile(4) over(order by a) from foo group by a order by a;
select a, trunc(avg(b), 2), lead(trunc(avg(b), 2), 1, 999) over(order by a) from foo group by a order by a;
drop table foo;
--case by dev
drop table if exists t;
create table t (v int, p int, o int);
insert into t values (1, 1, 1);
insert into t values (2, 1, 2);
insert into t values (3, 1, 3);
insert into t values (4, 1, 4);
insert into t values (5, 2, 1);
insert into t values (6, 2, 2);
insert into t values (7, 2, 3);
insert into t values (8, 3, 1);
insert into t values (9, 3, 2);
insert into t values (1, 1, 1);
insert into t values (2, 1, 2);
insert into t values (3, 1, 3);
-- simple
select v, p, sum(v) over () from t group by v, p order by 1, 2;
select v, p, sum(v) over (partition by p) from t group by v, p order by 1, 2;
select v, p, o, sum(v) over (partition by p order by o) as x from t group by v, p, o order by 1, 2, 3;
-- aggregate params
select p, trunc(avg(v), 2), sum(o), trunc(stddev_pop(avg(p) + sum(o)) over (), 2) from t group by p order by 1 desc, 2, 3;
select p, trunc(avg(v), 2), sum(o), trunc(stddev_pop(avg(p) + sum(o)) over (order by sum(o) desc), 2) as x from t group by p order by 1 desc, 2, 3;
select sum(p), trunc(avg(v) + sum(v), 2), trunc(var_pop(avg(v) + sum(v)) over (partition by sum(p)), 2) as x from t group by o order by 1 desc, 2;
select sum(p), trunc(avg(v) + sum(v), 2), trunc(var_pop(avg(v) + sum(v)) over (partition by sum(p) order by var_pop(v)), 2) as x from t group by o order by 1 desc, 2;
-- hidden in subqueries (should not rewrite)
select v, p, sum(v) over (partition by p) as x, (select trunc(avg(v), 2) from t group by cast(p/1000 as int)) as y from t order by 1, 2, 3, 4;
select v, p, sum(v) over (partition by p) as x, (select trunc(avg(v), 2) from t where t.v = k.v and t.p = k.p group by v, p) as y from t k order by 1, 2, 3, 4;
select v, p, sum(v) over (partition by p) as x, u.* from t, (select trunc(avg(v), 2) from t group by p) u order by 1, 2, 3, 4;
select p, trunc(avg(v), 2), u.x from t, (select sum(v) over (partition by p) as x from t) u group by p, u.x order by 1, 2, 3;
-- other
select v, p, o, sum(v) over (partition by p order by o) as x from t group by v, p, o order by 1, 2, 3 limit 3;
select sum(p), trunc(avg(v) + sum(v), 2), trunc(var_pop(avg(v) + sum(v)) over (partition by sum(p)), 2) as x from t group by o having sum(p) < 7 order by 1 desc, 2;
select sum(p), trunc(avg(v) + sum(v), 2), trunc(var_pop(avg(v) + sum(v)) over (partition by sum(p)), 2) as x from t where p < 3 group by o order by 1 desc, 2;
drop table t;
|
CREATE TYPE parts_tt AS TABLE(
part_id INT NULL
,is_edited VARCHAR(1) NULL
,part_type_id INT NULL
,part_code CHAR(10) NULL
,part_desc NVARCHAR(100) NULL)
|
<reponame>saurabhshukla01/callupon_Laravel
-- Adminer 4.7.3 MySQL dump
SET NAMES utf8;
SET time_zone = '+00:00';
SET foreign_key_checks = 0;
SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO';
DROP TABLE IF EXISTS `pt_petitions`;
CREATE TABLE `pt_petitions` (
`petition_id` int(11) NOT NULL AUTO_INCREMENT,
`petition_uid` char(13) DEFAULT NULL,
`category_id` int(11) NOT NULL,
`user_id` int(11) DEFAULT '0',
`petition_title` varchar(255) DEFAULT NULL,
`petition_target` varchar(255) DEFAULT NULL,
`petition_image` varchar(255) NOT NULL,
`petition_url` varchar(255) DEFAULT NULL,
`petition_description` text,
`petition_signed_count` int(11) DEFAULT '0',
`petition_share_count` int(11) DEFAULT '0',
`petiton_viewed_count` int(11) DEFAULT '0',
`petition_goal` int(11) DEFAULT '0',
`petition_status` tinyint(1) DEFAULT '0' COMMENT '0=>"draft",1=>"awaiting admin approval",2=>"published",3=>"deleted"',
`created_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`last_updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`petition_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
INSERT INTO `pt_petitions` (`petition_id`, `petition_uid`, `category_id`, `user_id`, `petition_title`, `petition_target`, `petition_image`, `petition_url`, `petition_description`, `petition_signed_count`, `petition_share_count`, `petiton_viewed_count`, `petition_goal`, `petition_status`, `created_date`, `last_updated`) VALUES
(2, '5da406391a677', 7, 2, 'Children demand Declaration of a National Climate Emergency and Tackling of Climate Change', 'text', 'Pad2.jpg', 'https://callupon.org/stc', '<p><strong>Record-breaking heat waves</strong> have become a regular occurrence in India, killing thousands of people. Melting snow-caps are slowly increasing the sea level.</p>\r\n<p><strong>Rainfall patterns in India are changing</strong>, and this has had a devastating effect on farmers’ harvests and affecting the migration patterns of different birds and animals.</p>\r\n<p><strong>The hottest days of the year will grip much of central and northern India</strong> in the coming days, and this heat wave is unlikely to end anytime soon.</p>\r\n<p><strong>Dust-storms and increased levels of air pollution</strong> - these seem to have become the normal way of living for most of us.\r\nI am a class 11 school student, and being a nature enthusiast, I know what<strong>repercussions several years of ignorance towards global warming</strong> will have for India in the long run.</p>\r\n<p>The human race has already caused irreversible climate change, the impacts of which are being felt around the world. <strong>But it’s not too late.</strong></p>', 0, 12, 0, 3000, 3, '2019-10-14 05:23:05', '2020-02-10 12:31:27'),
(5, '5da40852c4d02', 5, 2, 'Stop Renting Forts in Maharashtra', 'text', 'pad5.jpg', 'https://callupon.org/stf', '<p> The Forts in Maharashtra depict the valour of great leaders like Chhatrapati Shivaji Maharaj and our glorious history. However the Government of Maharashtra has decided to convert these forts Heritage Hotels and Wedding Venue.</p>\r\n<p> Strongly oppose Maharashtra Governments decision of converting Forts into Heritage hotels and wedding venues. The forts in our state need to be preserved and made history museums of global standards. </p>\r\n<p> I urge every one of you to sign this petition asking the Government of Maharashtra to withdraw this decision. </p>', 0, 0, 0, 3000, 3, '2019-10-14 05:32:02', '2020-02-10 12:31:37'),
(19, '5dae97bd39830', 2, 9, 'Commit to Clearing Up Ghazipur Landfill #CleanTheMess', 'Text', 'TDRYYLbcAjrTDnv-800x450-noPad[1].jpg', 'https://callupon.org/stt', '<p>Every Indian dreams of a house with a view of the mountains. But the view we have every single day is nothing less than a nightmare. We live in a skyscraper overlooking <strong>the Mount Everest of garbage dumps: Ghazipur, a massive landfill</strong> where all of Delhi’s garbage gets dumped. One news article we read says the landfill is spread <strong>as wide as</strong> <strong>29 football fields</strong> and is nearly <strong>as high as the Qutab Minar</strong>.</p>\r\n<p>While the Qutab Minar is a breathtaking monument, the <strong>towers of trash </strong>at Ghazipur are making residents in surrounding areas like us gag and hold our breath.</p>\r\n<p>The stench of rotting waste is <strong>releasing poisonous gases making everyone sick</strong>. We can’t even open our windows without vomiting. The toxic air has ruined our air purifiers and caused pipe leakages. Think of what it is doing to our bodies. It’s been <strong>17 years</strong> <strong>since Ghazipur ran out of space and should have been shut down but the trucks continue to dump waste there</strong>. Two years ago, a part of this <strong>landfill collapsed</strong>, <strong>killing 2 people</strong>. And still <strong>no action.</strong></p>\r\n<p>How can a mountain of garbage of such great proportions be <strong>invisible to our civic authorities</strong>. Save us from this <strong>ticking time bomb.</strong></p>\r\n<p>We have started this petition because we are sick of falling sick. We are sick of the inaction by authorities. <strong>We had given up all hope until we read about an IAS officer in Indore who was covered by the media for clearing up a similar but much smaller landfill under his jurisdiction in 6 months!</strong></p>\r\n<p>It gave us an idea of starting this campaign. We’re <strong>asking municipal authorities to bring in IAS officer <NAME> to hold technical consulting workshops for Municipal Corporation workers in Delhi to initiate the process of transforming Ghazipur landfill into a clean, green patch of land.</strong></p>\r\n<p>Help us <strong>green this landfill</strong> which is not only a health hazard for us citizens, but a blot on the<strong> global image </strong>of our national capital Delhi and on our collective vision of <strong>Swachh Bharat.</strong></p>\r\n', 0, 0, 2, 50000, 3, '2019-10-22 05:46:37', '2020-02-10 12:31:52'),
(20, '5db0058a8c88e', 2, 1, 'NBCC submits revised plan to complete Jaypee projects', 'Plan', 'cons.jpg', 'https://callupon.org/stu', '<p>The National Buildings Construction Corporation (NBCC) on October 17 submitted a revised proposal to complete the stalled projects of Jaypee Infratech. The proposal was later handed back to the NBCC counsel</p> \r\n<p>The homebuyers\' counsel urged the top court to share a copy of the NBCC proposal with them.</p> \r\n<p> Meanwhile, the Jaypee Group has moved the Supreme Court against the National Company Law Appellate Tribunal (NCLAT) order that barred its parent company Jaypee Associates from bidding for Jaypee Infratech (JIL). The realtor urged the SC hear its plea seeking to consider its own proposal on the project.</p> \r\n<p>The top court said it will hear the Jaypee Group plea on October 22, and extended the status quo on its insolvency proceedings till then.</p> \r\n<p>On August 2, the Supreme Court had ordered a two-week status quo on Jaypee Group\'s plea against the NCLAT order after it was informed that Parliament had passed the proposed amendments to the Insolvency and Bankruptcy Code (IBC).</p> \r\n<p>On July 30, the NCLAT had extended JIL\'s resolution process by 90 days, thereby allowing submission of fresh bids for the bankrupt realty company.</p> \r\n<p>The Tribunal said the process of bidding and approval of a resolution plan by the Committee of Creditors (CoC) should conclude in 45 days.</p> \r\n<p>The 90-day extension comes amid the lenders\' request to exclude around 250 days, from September 17, 2018 to June 4, 2019, from the stipulated period for the insolvency resolution process, as during this period no bid could be voted upon in view of the confusion regarding homebuyers\' voting rights.</p> ', 0, 0, 0, 1900, 3, '2019-10-23 07:47:22', '2020-02-10 12:32:04'),
(21, '5db006a87a0c5', 5, 1, 'Chennai: Bucking economic slowdown, developer to take 350 to employee', 'text', 'itparkcity.jpg', 'https://callupon.org/stv', '<p> \r\nA red London double-decker bus passes the London Eye on Westminster Bridge . \r\n</p> \r\n<p> \r\nCHENNAI: Not all real estate developers are cribbing about the sluggish market. A Chennai-based developer, Casagrand, which has been able to clock sales of Rs 1,800 crore per annum even during the current slump, is sending 350 of its top performing employees to the UK on a five-day company-sponsored holiday trip. \r\n</p> \r\n<p> \r\<NAME>, MD of the company, has been personally organising junkets for his top-performing employees since 2013. “I have taken them to Singapore, Thailand, Sri Lanka, Dubai and Malaysia. In between, we skipped one year as we missed the sales target. People above the assistant manager-level and those who have completed three years of service are eligible for this paid holiday,” said Kumar.</p>\r\n<p> \r\nThe company had proposed to take about 500 employees this year for achieving sales of Rs 1,800crore and collection of Rs 1,800crore in the last financial year, but many failed to get visa on account of eligibility issues, he said. \r\n<NAME>, senior VP of Casagrand, said a company-sponsored holiday gives opportunity to scores of people who would not have even dreamt of flying abroad. “Not all can afford a personal holiday. When the company takes them abroad on holiday, it motivates them to perform better in future. As they get recognised by the company, they gain a lot of respect from their family members. In turn, their respect for the company also goes up,” said Aggarwal.</p>\r\n<p> \r\nIn terms of rewarding loyal and high-performing employees, none can perhaps beat Surat-based diamond merchant <NAME>, who gifted <NAME> SUVs worth Rs 1crore each to three of his employees last year for completing 25 years of service in his Hari Krishna Exports, which clocks more than Rs 6,000crore turnover per annum. Dholakia had gifted 500 flats and 525 pieces of diamond jewellery to his employees during 2014 Diwali as bonus. Two years later, he gifted 1,260 cars and 400 apartments to top performing employees. \r\n</p> \r\n<p> \r\nCasagrand’s sops to its employees have been announced on a day international real estate consultant <NAME>, FICCI and National Real Estate Development Council brought out a report saying the sentiments of home buyers plummeted to demonetisation level in the July-September quarter despite a slew of measures taken by the Central government and the RBI to improve investor confidence.</p>\r\n<p> \r\nAs per the report, even the future outlook for the next six months has turned pessimistic for the first time since the end of 2013. The sector is under immense pressure. The overall economic slowdown and the slump in domestic consumption</p>', 0, 0, 0, 1800, 2, '2019-10-23 07:52:08', '2020-02-10 12:32:22'),
(25, '5db0395b808f1', 2, 1, 'Everyone is free to live their life on way but why society give pressure', 'Barriers free society', '', 'https://callupon.org/stz', 'Hi I want to create a barriers free society', 0, 0, 0, 2147483647, 3, '2019-10-23 11:28:27', '2020-02-10 12:32:36'),
(27, '5db047fc6e8cb', 7, 21, 'Google touts quantum computing milestone', 'Google touts quantum computing milestone', 'google.jpg', 'https://callupon.org/stB', '<p>\r\nGoogle said it has achieved a breakthrough in quantum computing research, saying an experimental quantum processor has completed a calculation in just a few minutes that would take a traditional supercomputer thousands of years.</p> \r\n<p>\r\nThe findings, published on Wednesday in the scientific journal Nature, show that \"quantum speedup is achievable in a real-world system and is not precluded by any hidden physical laws,\" the researchers wrote. </p> \r\n<p>\r\nQuantum computing is a nascent and somewhat bewildering technology for vastly sped-up information processing. Quantum computers might one day revolutionise tasks that would take existing computers years, including the hunt for new drugs and optimising city and transportation planning. </p> \r\n<p> \r\nThe technique relies on quantum bits, or qubits, which can register data values of zero and one — the language of modern computing — simultaneously. Big tech companies including Google, Microsoft, IBM and Intel are avidly pursuing the technology. </p> \r\n<p> \r\n\"Quantum things can be in multiple places at the same time,\" said <NAME>, a University of Maryland physicist who is also the founder of quantum startup IonQ. \"The rules are very simple, they\'re just confounding.\" </p> \r\n \r\n<strong>What\'s a quantum computer?</strong> \r\n <p>\r\nDescribing the inner workings of a quantum computer isn’t easy, even for top scholars. That’s because the machines process information at the scale of elementary particles such as electrons and photons, where different laws of physics apply. </p> \r\n <p>\r\n“It’s never going to be intuitive,” said <NAME>, a mechanical engineering professor at the Massachusetts Institute of Technology. “At this microscopic level, things are weird. An electron can be here and there at the same time, at two places at once.” </p>\r\n <p>\r\nConventional computers process information as a stream of bits, each of which can be either a zero or a one in the binary language of computing. But quantum bits, known as qubits, can register zero and one simultaneously. </p> \r\n <strong>\r\nWhat can it do? </strong>\r\n <p>\r\nIn theory, the special properties of qubits would allow a quantum computer to perform calculations at far higher speeds than current supercomputers. That makes them good tools for understanding what’s happening in the realms of chemistry, material science or particle physics. </p> \r\n <p>\r\nThat speed could aid in discovering new drugs, optimizing financial portfolios and finding better transportation routes or supply chains. It could also advance another fast-growing field, artificial intelligence, by accelerating a computer’s ability to find patterns in large troves of images and other data.</p>\r\n ', 0, 6, 0, 25000, 2, '2019-10-23 12:30:52', '2019-12-10 12:04:56'),
(31, '5db1401fe6535', 6, 21, 'Diwali 2019: Puja muhurat, date and significance', 'Diwali 2019: Puja muhurat, date and significance', 'diwali.jpeg', 'https://callupon.org/stF', '<p><strong >Deepawali, Deepavali or Diwali</strong>is the festival of lights is one of the most awaited festivals, associated with the Legend of Lord Ram symbolizing the victory of righteousness and the lifting of spiritual darkness. Usually, the celebrations of the festival start with cleaning houses and workplaces and decorating them with lamps and lights, flowers and rangolis. This year Diwali will be celebrated on Sunday, October 27, 2019.</p>\r\n\r\n<p>The five-day-long celebrations will start on<strong>October 25</strong>onwards with Dhanteras. Chhoti Diwali which is also known as <NAME> on<strong>October 26</strong>, followed by Diwali on<strong>October 27</strong>the main festival is celebrated. On<strong>October 28</strong>is the Govardhan Puja and at last, the festival concludes with Bhai Dooj on<strong>October 29</strong>.</p>\r\n', 0, 0, 0, 1200, 3, '2019-10-24 06:09:35', '2020-02-10 12:33:02'),
(71, '5e32bed76732b', 2, 28, 'Does the server you use, protects your business or leads it towards Cyber Crime – DDoS', 'Does the server you use, protects your business or leads it towards Cyber Crime – DDoS on social media', 'anti-attacks.jpg', 'http://petition.sheenz.in/bj', '<strong>Does the server you use, protects your business or leads it towards Cyber Crime – DDoS Servers</strong><br />\r\n<p>It is natural that risk of cyber-attack is associated with each step taken by the world into the era of the digital age. Owing to this, such a risk has also become a bit daunting threat as well. Thus, with the rising risk of the cyber-attacks, (DDoS Protected Dedicated Servers) are receiving superior attention in the past few years abreast with a good reason of existence. Therefore, a DDoS attack is just an attempt in making unavailability of online service by overwhelming it via traffic from multiple sources.</p><br />\r\n<strong> DDoS Protected Dedicated Servers are so concerning? </strong><br />\r\n<p>The fundamental answer to reflecting such a concern is that such servers are relatively easy to implement. So, with the help of such servers, botnets could be easily purchased from the black market for better use of DDoS. </p><br />\r\n<p>Potential outcomes from DDoS attacks are listed below: </p><br />\r\n• Operational Activities Interruption <br/><br />\r\n• Financial impacts because of revenue, productivity and data loss <br/><br />\r\n• Funding decreased ability and reputation damage <br/><br />\r\n<p>Alongside this, there are a large number of the additional fraud activities as well for which most of the cybercriminals make use of the DDoS to have access to the information which they really try to get on their hands. </p><br />\r\n<p>On the contrary, when it comes to the types of business, the attackers of DDoS never discriminate on it. It means that your business is not immune to such kind of activity. Therefore, there are a lot of industries that are receiving such kind of increasing attention with help DDoS attacks. Some of which are mentioned below: </p><br />\r\n• Healthcare <br/><br />\r\n• Hospitality <br/><br />\r\n• Federal Government <br/><br />\r\n• Local Government <br/><br />\r\n• K-12 Education <br/><br />\r\n<strong>Alongside this, a question here arises that: <br/><br />\r\nHow to Protect Your Business from DDoS Attack? </strong><br />\r\n<p>The attackers of DDoS can attack the occupation at any point in time. No matter what industry are you in? You just need to keep below-listed recommendations so as to protect your business from DDoS attacks<br />\r\nKnow your security concerns and create a defensive strategy:<br/><br />\r\nIn order to assure that your business is completely safe and protected from DDoS attacks, you just need to develop the security policy of IT. One such security gets developed, be sure to share it with personnel of all the companies and assure that you have a secure network.<br/> <br />\r\nUp-to-Date Security Safeguards: <br/><br />\r\nTo defend your system from DDoS attack in all the best possible ways, it is mandatory that all your hardware, software, as well as other security safeguards, are up to date. Apart from this, strict password policies are often paramount and mandatory in keeping your systems secure. Thus, below-listed points would help you in developing all forms of business-related passwords such as: </p><br />\r\n• Create a unique password for each account <br/><br />\r\n• Create a password with a blend of letters, numbers, and symbols <br/><br />\r\n• Never use common words and personal information <br/><br />\r\n• Update and change your password on equal time intervals <br/><br />\r\n<strong>Concentrate on Network Security</strong><br />\r\n<p>Concentrating on the concerns of your network security, it’s better to keep in a touch with a network security specialist who consists of the knowledge and years of experience with cybersecurity. This is because his assistance holding such of the specialities would be highly able to give compete for network security at times as per the needs of the people and end-users. <br/><br />\r\nSo, what if a DDoS Attack Happens to Your Business? What to do in such a case? <br/><br />\r\nPrepare yourself to know that defending your business from DDoS attacks will not stop with mitigation and prevention. Therefore, it is very mandatory for your business to include a response plan as a member of its defence strategy. Having such kind of plan would help you rebound faster from the attacks.<br/><br />\r\nIn addition to this, it is also suggested to work with your ISP to see if they offer DDoS protection services so that if an attack occurs in a near-future then, you may let them know and they may reroute the traffic from a site prior to substantial damage is done. </p><br />\r\n<p>So, always assure that, whenever DDoS attacks are found to be on the rise, all such steps must be taken into consideration in order to mitigate the associated risks of these attacks. Also, note that no one in the world is so immune towards the cyber-attack. So, it’s better to always be ready and prepare yourself accordingly for the damaging cyber-attack.</p><br />\r\n ', 0, 0, 0, 4500, 2, '2020-01-30 11:32:39', '2020-02-10 12:35:01'),
(32, '5db141351c798', 1, 21, 'Fact Check: Truth behind viral post of the largest snake killed in Amazon', 'Did Africa’s Royal British commandos kill the world’s largest anaconda which was 134 feet long and weighed more than 2,000 kilos? Did they take 37 days to kill the snake that had devoured over 250 humans and 2,300 animals?', 'snake_cover.jpeg', 'https://callupon.org/stG', '<p>Did Africa’s Royal British commandos kill the world’s largest anaconda which was 134 feet long and weighed more than 2,000 kilos? Did they take 37 days to kill the snake that had devoured over 250 humans and 2,300 animals?</p>\r\n<p>Facebook user <NAME> posted a picture of a humongous snake in a forest and onlookers surrounding it. The viral claim along with the picture says, World’s biggest snake Anaconda found in Africa’s Amazon river. It has killed 257 human beings and 2325 animals. It is 134 feet long and 2067 kgs. Africa’s Royal British commandos took 37 days to get it killed.</p>\r\n<p>India Today Anti Fake News War Room (AFWA) has found the claim to be wrong. Not only is the viral image photoshopped, but the entire information associated with it is cooked up and far from facts.<br/>\r\nThe viral post is being shared on social media for the past few years. Though <NAME> posted the claim in 2015, it is still being shared by many. Till the filing of this story, the post was shared more than 1,24,000 times</p>\r\n<p>The viral image is poorly photoshopped. The fuzzy edge of the creature gives a clear impression that this is a manipulated picture. With the help of reverse image search, the original image of the snake can be found on the internet.</p>\r\n<p>Going by the claim and the image, it is certain that the viral post is an absolutely a cooked-up story passed off on social media over the years.\r\nThere have been several similar videos and images doing the rounds on the Internet over the largest snake in the world. International fact-check organisation Snopes had earlier debunked this claim.</p>', 0, 0, 0, 1212, 3, '2019-10-24 06:14:13', '2020-02-10 13:10:19'),
(68, '5def472ed09d3', 4, 33, '<NAME> : How to sign the petition asking the government to refuse the Republican candidate entry', 'econamic', 'trump-pa.jpg', 'http://callupon.org/bg', '<p><strong>More than 100,000 people have signed </strong>a petition asking the Home Office to prevent presidential hopeful Donald Trump from entering the UK.</p>\r\n<p>As of Wednesday afternoon, more than 200,000 people had signed it, which means the issue will be debated in the House of Commons</p>', 5, 0, 0, 1000, 1, '2019-12-10 07:20:14', '2020-02-07 16:14:59'),
(33, '5db147095c379', 2, 50, 'Delhi Pollution', 'No Crackers On Diwali !', 'images.jpg', 'https://callupon.org/stH', '<p>Delhi has been suffering from a severe air pollution issue from last few years now and air quality is degrading ever then. The capital of India is known as the top most polluted cities in the world. Despite this fact, in one of the main festivals of India, Diwali, crackers add more to this problem. AIQ(Air quality index) has been \'very poor\' since late October 2018 and a life-sucking haze has engulfed the capital.</p>\r\n\r\n<p>To stop this, Supreme Court of India has banned \"harmful\" crackers and replaced them with \"green\" crackers.</p>\r\n\r\n<p><strong>Green crackers are still crackers which will cater to noise and air pollution during this festival season</strong>. General public will somehow exceed the time limit set for the bursting of crackers and history of India\'s polluted festival will repeat itself.</p>\r\n\r\n<p>After effects of crackers after diwali includes these following consequences :</p>\r\n\r\n<ol>\r\n <li>Human health</li>\r\n <li>Animal health</li>\r\n <li>Noise pollution </li>\r\n <li>Air pollution </li>\r\n <li>Accidents during burning crackers</li>\r\n <li>Decrease in visibility due to which, increase in accidents </li>\r\n <li>Burning eyes and what not</li>\r\n</ol>', 0, 4, 0, 5000, 2, '2019-10-24 06:39:05', '2019-12-10 11:55:44'),
(34, '5db14d53e4fdf', 4, 50, 'Un-employment Rate Downfall', 'Economy Awareness', 'download.jpg', 'https://callupon.org/stI', '<p>Unemployment occurs when workers who want to work or are seeking jobs are unable to find jobs, which means lower economic output, while still requiring maintainence. High rates of unemployment are a signal of economic crisis, but extremely low rates of unemployment may signal an overheated economy.</p>\r\n<p>According to official data, India’s unemployment rate stood at 6.1% in FY18, signaling the challenge that confronts the Narendra Modi-led government. The data isn’t comparable with that of last few years, the government contended, in effect seeking to refute previous leaked reports that said they showed the unemployment rate was at a 45-year high.</p>\r\n<p>The Periodic Labour Force Survey (PLFS) of the National Sample Survey Office (NSSO) released 18th Oct, 2019 showed the unemployment rate in the country.</p>', 0, 1, 0, 5000, 2, '2019-10-24 07:05:55', '2020-02-10 12:59:04'),
(70, '5def4ecbacf5e', 5, 33, 'TTIP : Three million people sign petition to scrap controversial trade deal', 'It will be presented to the European Commission in a few days', 'TTIPimage.jpg', 'http://petition.sheenz.in/bi', '<p>A petition demanding an end to the secret Transatlantic Trade and Investment Partnership (TTIP) has reached three million signatures.</p>\r\n<p>The petition is against the controversial EU-US free trade deal and a similar deal between the EU and Canada called CETA. Both deals promise to increase trade by reducing regulatory barriers between trading partners.</p>\r\n<p>But critics point out TTIP’s threat to EU food and environmental safety laws as well as the sovereignty of national governments, which could be sued by corporations in secret tribunals called Investor-State Dispute Settlements (ISDS).</p>\r\n<p>The petition against the deals was launched a year ago by the ‘Stop TTIP’ campaign, a coalition of NGO’s, trade unions and consumer groups. It reached 3,007,065 signatures this morning, over 500,000 of which came from the UK.</p>\r\n<p>The appeal, which will be presented to the European Commission in a few days, states: “We want to prevent lowering of standards concerning employment, social, environmental, privacy and consumers and the deregulation of public services (such as water) and cultural assets from being deregulated in non-transparent negotiations.”</p>\r\n', 0, 0, 0, 500, 1, '2019-12-10 07:52:43', '2019-12-10 13:26:31'),
(43, '5db16baeb50e9', 5, 1, 'Removal of political party system in india', 'The whole people of india', '', 'https://callupon.org/stR', '<p>To remove poverty , unemployment and all the black money political party system should be remove in that place bureucratic type of government should be there in india.</p>', 0, 0, 0, 1, 3, '2019-10-24 09:15:26', '2020-02-10 13:07:27'),
(67, '5def4205842e8', 5, 33, 'Sensitivity Training for Hyderabad City Police to Ensure Citizen Safety #PolicingWithLove', 'Text', 'police.jpg', 'http://petition.sheenz.in/bf', '<p>As an Indian woman who is desperately looking for reassurances from society and our police system that I have nothing to be scared about after what happened to the Hyderabad vet in late November, I’m sorry to say that I feel worse by the day.</p>\r\n<p>\r\nI don’t want to feel this way and nor does any other person. So I’ve started this petition to demand a solution in light of the injustices that the victim’s family experienced when they went to the police for help.</p> \r\n<p> \r\nWhile a minister said that the victim should have called the police instead of her family in her final call, the fact of the matter is that the same police refused to cooperate with her anxious family.</p> \r\n<p> \r\n“I am scared,” were her last words to her sister. As soon as the victim’s sister received this message and found her phone had been turned off, the family rushed to the police. And then 3 unforgivable things happened.</p> \r\n<p> \r\nThe police on duty refused to file an FIR, and told the family to wait, despite knowing that the victim’s last words were of fear. \r\nThey engaged in what can only be called moral policing by jumping to the conclusion that the “girl may have eloped with somebody” \r\nThe police on duty refused to file a complaint saying it didn’t fall under their jurisdiction.</p> \r\n<p> \r\nIf this is the kind of support citizens are going to get from the police, then society is in trouble. And it’s each one left to fend for themselves.</p> \r\n<p> \r\nI’m sure the Hyderabad vet’s family feels betrayed. Police are supposed to be the first responders. As citizens we expect empathy and rapid action from them. Not dilly-dallying, judgmental theories and evasion of duty.</p> \r\n<p> \r\nThe police in question should be asked to public apologise for making the family run from pillar to post during a stressful situation.</p> \r\n<p> \r\nAs we all know, thanks to the film Pink, citizens can file a \'Zero FIR\'. This is a document that can be registered by any police station when a complainant approaches them for a cognizable offence, whether the case is in their jurisdiction or not.</p> \r\n \r\n ', 0, 0, 0, 1500, 1, '2019-12-10 06:58:13', '2019-12-10 12:41:44'),
(50, '5dc11fa3e4ab2', 3, 21, 'Make a 5-state Policy to Tackle Air Pollution in NCR', 'Health', 'air-pollution.jpg', 'https://callupon.org/stY', '<p>It felt like someone had stuffed burning tyres, a hundred unstubbed <strong>cigarettes and the contents of an open drain into </strong>my nose and down my throat. I thought I was going to die.</p> \r\n<p> \r\nIt was early November. <span>I remember waking up gagging like the rest of Delhi and parts of the <strong>National Capital Region</strong></span>. The stench was so foul that I could not only smell but taste it.</p> \r\n<p> \r\nI made the mistake of stepping out onto my balcony to get some fresh air but instead I inhaled <strong> toxic fumes</strong>. Within seconds the incessant coughing began, my eyes watered and a shooting headache gripped me.</p> \r\n<p> \r\nOne didn’t even need to switch on the news to <span>confirm what I instinctively knew: Delhi had turned into a gas chamber - with poisonous gases 70 times the permissible limit! And I was in the heart of it.</span></p> \r\n<p> \r\nWhile the better off amongst us followed doctors’ orders to stay indoors, wear masks and buy <span>expensive indoor air purifiers, millions of others suffered a more miserable fate. I’m referring to the underprivileged, the homeless who can’t afford these luxuries, people who need</spam> to be on the move for work and infants, children and the elderly whose immune systems are weaker. #RightToBreathe</p> \r\n<p> \r\nMasks and purifiers are jugaad (quick-fixes). They don’t solve the problem. They delay doom. What we need are sustainable, long-term solutions. Our government - the people we elected to protect our well-being are the ones who - should be finding a way out. And fast.</p> \r\n<p> \r\nBut instead what we saw playing out in the news was a blame game. One state blaming another. “Stop your farmers from burning rubble”. “No, you people need to curb vehicular pollution.” “Go regulate construction dust first”.</p> \r\n<p> \r\nFrankly, I don’t care who did what and why. Neither do the majority of citizens in North India who are suffering this blanket killer smog year after year.</p> \r\n<p> \r\nThe time for finger-pointing is now long gone. It’s time for the 5 states most affected by toxic air in North India to work together like the 5 fingers on our hands. They are Delhi, Haryana, Punjab, Rajasthan and Uttar Pradesh.</p> \r\n<p>This issue should be topmost for the leadership of all NCR states.</p> \r\n<p> \r\nBecause toxic air harms everyone. It doesn’t distinguish between the lungs of ministers and common citizens, Punjabi farmers or Delhi car owners.</p> \r\n<p> \r\nI’ve started my petition asking the top political parties to “Create a 5-state policy to tackle air pollution in NCR” This, in addition to whatever emergency measures need to be taken to tackle the ongoing situation.</p> \r\n<p>Clean air matters much more to us citizens than votes do to politicians. So I hope the 5 states rise above the petty politics and work in sync.</p> \r\n<p> \r\n<span> \r\nSign and share my petition if you believe you have a right to clean air today. \r\n</span> \r\n</p> ', 0, 0, 0, 1000, 2, '2019-11-05 07:07:15', '2019-12-10 10:43:19'),
(55, '5dc16f03f2006', 6, 1, 'Cashless india online', '10000', 'IMG-20190904-WA0013.jpg', 'https://callupon.org/st3', 'India MART E-COMMERCE PVT LTD \r\n', 0, 0, 0, 10000, 3, '2019-11-05 12:45:56', '2020-02-10 13:06:37'),
(76, '5e40daac8de45', 1, 28, 'Caste a Vote Because it’s a Right to Note: Country to Native Citizens', 'Caste a Vote Because it’s a Right to Note: Country to Native Citizens one vote one value is human rights', 'GettyImages.jpg', 'http://petition.sheenz.in/bo', '<strong>Caste a Vote Because it’s a Right to Note: Country to Native Citizens </strong><br />\r\n<b>One Vote, One Value…</b><br />\r\n<p> India being a democratic country gives its citizens complete liberty to choose the right ruler and representative for their country with no forces and influences. Lucky are the citizens of the country that gets served with such opportunities, timely. Whereas, commonly, it’s a well-known and genuine process of choosing a representative of their choice via Elections. </p><br />\r\n<p>A country which is democratic and values the people’s identity and dignity irrespective of any religion, caste or creed; faces and respects the process of Elections. Ranging from the election of Lok Sabha (General Election), State Assembly (Vidhan Sabha Election), By-election, Rajya Sabha (Upper House Election) each citizen of the nation has a complete right to vote. <br />\r\nAs mentioned above <strong>“One Vote, One Value”</strong> has a major meaning in itself that couldn’t be taken for granted. This majorly means that each candidate can vote once during the time of Elections to their preferred party. This is so because each casted vote gets counted to announce the results. It’s our casted vote that we perform to choose the party to be ruled after the results get announced on the specified date.</p> <br />\r\n<p>Sooner, the National Capital Region i.e. New Delhi is going to have Elections to choose the Chief Minister of the Nation. As of now, the present C.M. of Delhi is Mr <NAME> who belongs to Aam Aadmi Party (AAP) having a symbol of Broom. Fingers Crossed, it all depends on the number of votes that whether again AAP is going to rule, or some other party would overtake AAP.</p> <br />\r\n<strong>Polling Dates</strong><br />\r\n<p>Since the date of Election in Delhi has been announced as 8th February 2020 (Saturday), the Election Commission of India announced its complete schedule prior a month back in order to elect the legislative assembly of Delhi. Alongside this, the result will be announced on 11th February 2020 (Tuesday). </p><br />\r\n<p>In addition to this, as per the Election Commission of India, the vote’s counting would begin from early morning 8 am onwards until 6 pm on Saturday: 11th Feb. Whereas, the entire tenure of the present Delhi Legislative Assembly would come to an end on 22nd February 2020 (Saturday).</p> <br />\r\n<strong>Political Parties are on Race</strong><br />\r\n<p>Also, all the casting voters must also enlighten that the Assembly Election 2020 would occur in a single phase abreast with the voting in all 70 constituencies which have been scheduled for Feb 8. All the political parties are cheering up and boosting themselves to be healthy as well as a successful part of the election. However, as per the political scenarios, there have been 3 concerned contests amid Congress, Bhartiya Janata Party (BJP) and Aam Aadmi Party (AAP). People just could only assume or predict based on their interest and votes that which party would going to rule. However, the final result will be declared on Feb 11. </p><br />\r\n<strong>Vote has a deeper meaning and value </strong><br />\r\n<p>So, cast your vote because your one vote can change the entire scenario, in fact, at the last moment and could lead a nation towards the healthy and developed ones. Thus, on the polling date i.e. on Feb 8, voters can exercise their franchise from morning 8 am onwards. However, it is also suggested, and one should make a note of it that, you should not vote to the candidate getting influenced by your near and dear ones. This is so because, most of the times, people vote to those parties by getting influenced from their friends, family members, relatives or other acquaintances. On the other hand, the people who influence others are also requested not to brainwash or influence others in such a way that their vote seems useless or gets wasted. Doing so results in malpractices for both the people; the one who gets influenced and the one who influences others. </p><br />\r\n<p>Observing all such observations, the Election Commission of India has moved towards the EVMs (Electronic Voting Machine). EVMs have replaced the concept of Ballot Papers because people were encouraging others for forceful voting and were encouraging the candidates towards the victory. Thus, such practices are of no use, if each one would influence others for forceful voting. Basically, such kind of practice had also become a monotony as well wherein, family traditions could be listed on top. This is so because, most of the Family’s HOD say that, we have always been a supporter of this particular party from our generations so, we will be casting our vote to the same without knowing that what are their right and wrongdoings.<br />\r\nSo, open up your mind and be so rational to caste a right vote to the right candidate or a ruling party. </p><br />\r\n ', 0, 0, 0, 6000, 2, '2020-02-10 04:23:08', '2020-02-10 12:35:23'),
(66, '5def40d4194b4', 2, 33, 'Light up Hyderabad - no woman left afraid', 'No women left afraid', 'lightwomen.jpg', 'http://petition.sheenz.in/be', '<p>Hyderabad has a problem of dark spots: places that are not properly lit. These dark spots are a menace to the city and our women. Women are subjected to, or are afraid of harassment, eve- teasing, cat calling, stalking, chain-snatching and sexual assault when they have to cross these dark spots.</p> <br />\r\n<p><br />\r\nI cannot put down in words how scared we are to walk on unlit roads. Roads that have poor lighting are hostile towards women and in Hyderabad itself, media has reported that there are 50-60 dark spots with no lighting at all. An enquiry by the previous commissioner of GHMC also showed that there are 20,000 broken street lights in the city.</p> <br />\r\n<p><br />\r\nSign my petition asking the Greater Hyderabad Municipal Corporation to light up 60 dark spots in the city and repair the broken street lights on a priority basis. What are the authorities waiting for? Another crime? Another outrage?</p><br />\r\n<p><br />\r\nSign my petition so that Hyderabad sets an example for other cities when it comes to women’s safety. We owe it to the memory of the young veterinarian. Her death can’t and won’t go in vain. </p><br />\r\n<p><br />\r\nLet us shout for justice and along with it ensure that no other woman feels unsafe! Let’s take real measures to make the city safer for women. It is already too late, let us not delay further. </p>', 0, 0, 0, 1000, 2, '2019-12-10 06:53:08', '2020-02-07 16:29:26'),
(56, '5dc2afc3b3c34', 8, 467, 'Unfair harassment case handling in corporate offices ', '15000', 'Screenshot_20191106_170156_com.android.chrome.jpg', 'https://callupon.org/st4', '<p>Women who raise voice against harassment at work place have been more victimised at scrutinised and caused further ill treatment. File petition for their job security and fair laws on these. Managers in India get away inspite of these rules because of retaliation on the complaints.</p> ', 0, 0, 0, 25000, 3, '2019-11-06 11:34:27', '2020-02-07 16:44:06'),
(57, '5dc52c1875763', 3, 1, 'Health is health', 'Health', 'IMG_20191106_173646_879.jpg', 'https://callupon.org/st5', '<span style=\"font-size:10px;\">B IU</span>', 0, 0, 0, 23, 3, '2019-11-08 08:49:28', '2020-02-07 16:43:45'),
(59, '5de3907415f18', 8, 21, 'A Doctor who Saves Others Life was Herself Helpless', 'A Doctor who Saves Others Life was Herself Helpless', 'nirbhaya-rape-case_1531152272.jpg', 'https://callupon.org/st7', '<strong>A Doctor who Saves Others Life was Herself Helpless</strong>\r\n\r\n<p><NAME>, a Veterinary Doctor faced a brutal sexual assault, murdered and burnt alive. Today the entire social media is asking for her justice: Justice required for <NAME></p>\r\n\r\n<p>People are so enthusiast with great aggression asking for justice wherein, everyone demanded that punishment like hanging to death is not enough.</p>\r\n\r\n<p>Obviously, “sentenced to death” is not a sufficient pay-off for these brutal actions. But, what about the daily happenings in the society where there are a lot of rape cases and only a few get highlighted.</p>\r\n\r\n<strong>Woman – an idol or an element of SEX</strong>\r\n\r\n<p>In today’s 21st century, where a woman has all the equivalent rights as that of man, can perform all such stuff which a common man does & is still unsafe.</p>\r\n\r\n<p>Why threatening scenarios still exist in the nation where on Navratri an idol of a woman is worshipped and is raped in common days. Just because of a female’s natural body assets, how come a society can decide and address her standard of living and sense of dressing. Why not males can change their mindset?</p>\r\n\r\n<p><strong>Equivalent Rights in a Male Dominant Society</strong></p>\r\n\r\n<p>Yes, women have indeed got all those rights which a man holds but still, unfortunately, women survive in a male dominating society. India, a country rich in technology and agriculture still lacks much behind when it comes to justice.</p>\r\n\r\n<p>Several cases came into existence which got viral for a week and a month and got closed unexpectedly with no petition and solution. We have heard several cases such as Asifa Rape Case, well renowned 2012 Delhi Gang Rape, Aarushi Talwar’s Murder Case and a lot more. If anyone could have got a proper justice then, no other case would have appeared, unlike today. </p>\r\n\r\n<p>Presently, the situation has become so drastic and worst that even minor children have become a victim of rape. Most of the time, people talk about morals and values but what is happening today comprises no hide and seeks. Whenever any such incident happens, people act and behave too aggressively and sooner with time everyone forgets and moves on. No one withstands and fights for their rights and so does the judgmental bodies. Showcasing different victims in a single case alas!!! unfortunately, the case becomes a mystery with no clarification about the accused and the victim.</p>\r\n\r\n<strong>It\'s not about anyone, it\'s about us</strong>\r\n\r\n<p>We need to be strong enough in all the states specifically mentally, physically and emotionally. Luckily because nothing has happened to us doesn’t mean that we can’t support anyone. Any country is with its citizens or a country and a nation exists because of its residents. Thus, take a stand and be strong enough. This is because, if citizens are aware of their rights and can fight for the same then, no enemy or a rapist can threaten you.</p>\r\n\r\n<p>A female who had become a victim is someone’s daughter, sister, wife, and friend and to all the males, the unforgettable activities that you do with someone’s girl could happen to your girls as well.</p>\r\n\r\n<p>This is what Karma says: what goes, comes around.</p>\r\n\r\n\r\n<p>So, a small message to all…</p>\r\n\r\n<p>Be strong, Be Aware… File a Petition and Fly Like a Flair.</p>\r\n', 0, 0, 0, 20000, 2, '2019-12-01 10:05:40', '2019-12-10 10:38:19'),
(72, '5e32c244b7e82', 2, 28, 'Internet & Internet of Things (IoT) a boon or bane for the Users', 'Internet & Internet of Things ', 'Cybercrime.png', 'http://petition.sheenz.in/bk', '<strong>Internet & Internet of Things (IoT) a boon or bane for the Users</strong><br />\r\n<b>Indeed, omnipresent is the world of Cyber…</b><br />\r\n<p>How surprising is that our morning begins with internet and ends with the same. Instead, it’s not only the social media that allure us to Facebook, WhatsApp or other social platforms as the new ways of saying Good Morning but there are numerous ways of getting both affected and effected with the same.<br />\r\nTalking about the new age technologies especially the Internet of Things (IoT), it has transformed each small era of everyone’s life. Ranging from toys which have been also turned into digitized way via remote controls, self-driving cars with AI and there are ‘n’ number of things that surrounds us daily. Undoubtedly, every electronic gadget or other associated appliances have computing and could be connected with the internet. This doesn’t get restricted only till desktop and laptop but majorly it’s the mobile devices that act as a major weapon towards cybercrimes.</p><br />\r\n<strong>Cyber Security in Digitized Banking </strong><br />\r\n<p>Even if today, a person’s sentiment might swerve towards avoiding technology but there are some government policies and procedures as well that strive their best in making India a digital as well as the smart country. This not only uses the technology but has also enabled the people with essential and reasonable security too. Owing to the branding, promotion and marketing of cashless India, technology and internet have positively encouraged the people in their everyday life.</p><br />\r\n<strong>Cyber Crime as a Threat via Social Networking </strong> <br />\r\n<p>Alongside the system of digitized banking, the major alarming concern is social networking sites that must be a major trap under cyber laws. Majorly if it is focussed on relationships that have been carried by social networking sites that have threatened people till a huge extent and have also resulted in the drastic and adverse effects. </p><br />\r\n<strong>Crimes are bound with Revenge’s Feeling </strong><br />\r\n<p>Crimes amongst people are bound with a feeling of revenge especially when a couple breaks up. Herein, MMS and porn have become the popular strategy to mentally torture anyone. Due to this, people upload personal pictures and videos majorly nudes or semi nudes and blackmail the concerned person whose content has been uploaded.</p><br />\r\n<strong>Life is taken for granted</strong> <br />\r\n<p>Additionally, most of the cases of morphing faces have also ruined the victim’s life leading to death or another form of losses in life. The doer of the crimes takes it as a granted and feels some delight out of its outcomes but doesn’t even realize the trauma that a victim suffers from. Such crimes do not cost a single penny but result in the major loss of life. However, the only encouraging common ground for such crimes is the mobile and internet connection.<br/><br />\r\nThese crimes do not cost anything with mobile phones and internet connections being commonplace wherein, both child pornography, as well as pornography, closes the circuit of heinous online crimes.<br/><br />\r\nSo, what to do?<br/><br />\r\nWith such the rising rates, of the life losing and threat causing concerns, sitting like a sitter won’t work. The actions taken only by the government by banning such sites or other associated parameters are not enough. One needs to take his or her own stand being stronger at each suffering phase. Though its true and undenied fact that internet has leveraged all our lives to a much higher extent simultaneously, this fact also could not be denied that there are major drawbacks, threats, losses and causes associated with the same.</p><br />\r\n ', 0, 0, 0, 5000, 2, '2020-01-30 11:47:16', '2020-02-10 12:39:10'),
(60, '5de65306a754f', 2, 497, 'Acid Attack', 'Public Awareness', 'Acid-Attack-From-Pain-To-Purpose.jpg', 'https://callupon.org/st8', '<p>Acid Attack - a Forceful Acceptance or Unwanted Rejection by the Society\r\nVictims of Acid Attack are actually not the victims but the survivors in the society. But, \r\nunfortunately, the people who do so on the bodies and faces of pretty and beautiful \r\nladies require to cover their faces. </p>\r\n<p> \r\nWhat would happen to snatch away the beauty of a beauty? \r\nHere, the beauty of beauty means the beautiful physical appearance of a female which \r\nsome societal monsters take away. </p>\r\n<p>\r\nIndia has seen many cases and faces of acid attacks where the victims reveal both their \r\ninner beauty and strength to accept the harsh reality of their reshaped physical \r\nappearance. Alongside government, you need to take action withstanding strong at this \r\nsocietal threat. </p>\r\n<p> \r\nCases over Cases Revealing Victims \r\nMake culture and society so strong that a woman can fearlessly cross a man outside \r\nher home. There have been many victims such as \r\n<NAME>, who was just 17 years old, lost her vision. The saddest, harsh and \r\nunacceptable reality is that her relatives and their friends collectively were involved in \r\nthrowing acid on her face. </p>\r\n<p>\r\nLaksh<NAME>, who was again a 17 years old girl, became a victim of a brutal acid \r\nattack by her acquaintances. </p>\r\n<p>\r\nDifferent Victims, Different Sufferings \r\nWhereas, both the victims have their sufferings and pains but both of them have \r\ninspired the society with their belief and strength. The mental trauma of losing your \r\nnatural physical appearance haunts the most simultaneously the taunts of the society \r\nand people passing by. </p>\r\n<p> \r\nYes, not everyone rejects the victim of an acid attack but not everyone accepts them. \r\nDeep inside the heart people always keep guilt and fear of untouchably and don’t \r\naccept them. </p> \r\n<p>\r\nUnanswerable Whys… \r\nBut, the alarming question here is, why to throw acid on a face? Why haunt a person to \r\nsuch an extent that without being in any malpractice they have to hide their face and \r\nhave to ask for dignity? Why to forcefully feel pity for such victims where there are no \r\n \r\nflaws? There is ‘n’ number of Why(s) that both the society and governmental bodies \r\nneed to answer.</p>\r\n<p> \r\nSympathy or Empathy? Does inner beauty really matter or is just a matter of \r\nwords? \r\nMost of the time, people say that inner beauty, good heart, and hard work means \r\neverything but deep inside, everyone goes beyond physical beauty and appearance. \r\nThis is just to show the sympathy or a kind of show-off towards the victims of acid \r\nattack. </p>\r\n<p> \r\nThe bitter, as well as the harshest reality, is that society is cruel because when people \r\ntaunt everyone on body shaming focusing on height, weight, health, complexion and \r\nphysique then, acid attack is a big deal to tackle with. \r\nSuch victims are not the culprits to be treated helpless in fact, why to make them a \r\nvictim? When a person who gets targeted for an acid attack without even knowing, is \r\nalso a human being. They haven’t lost the natural beauty of their own or accidentally. \r\nThey face a loss of their face or body because of brutal planning by some societal \r\nmonsters. </p>\r\n<p> \r\nDignity is ALL Above \r\nSuch people have equal rights to live in society as they used to live abreast with \r\ncomplete dignity and respect. Also, instead of hiding your face and feeling ashamed, \r\nyou should step ahead towards the culprits more strongly with gratitude that you are a \r\nbeautiful creation of God and nothing can stop you doing all such stuff that you are fond \r\nof. \r\nDo not feel sorry instead live more of yourself without the guilt of not having beautiful \r\nskin or face. Beauty is from the heart and inner beauty reflects from one\'s face and \r\nthoughts because the face is the mirror of the heart.</p>', 0, 0, 0, 2000, 2, '2019-12-03 12:20:22', '2020-02-10 12:34:33'),
(61, '5de65495dc252', 7, 498, 'LPG', 'Environmental Issue', 'figXdPUQoCtMaVv-800x450-noPad.jpg', 'https://callupon.org/st9', '<p>LPG Replaced Chulhas Still BPL People are Out of its Reach \r\nUjjwala Scheme introduced by the government has benefitted people to an extent \r\nthat simultaneously, it has also left people in the drastic effects. According to the \r\ngovernment’s data, Ujjwala Scheme targeted 5 Cr. Subsidised LPG connections \r\nwherein, a major ratio of BPL families has been a dud on the grounds of this \r\nscheme. It has observed that BPL families have claimed that they are unable to \r\nafford LPG refills. </p>\r\n<p> \r\nScheme Launched: for People Welfare or Votes Bagging? \r\nHowever, the Ujjwala Scheme was launched for bagging of votes during elections \r\nwith a promise that each rural woman of below poverty line household would be \r\nfacilitated with the same but unfortunately, because of the high cost of LPG refills \r\nthey saw a major dud. The strategy of acquiring the bulk votes was quite interesting \r\nas it focussed on BPL household visits while sitting on the muddy floor and eating \r\nthe meal cooked on the earthen stove or Chulhas. </p>\r\n<p> \r\nHowever, to get the LPG cylinder under this scheme the BPL family woman required \r\nto fill a form provided by the respective gas agency while paying the subsidized price \r\nof ? 1750 otherwise without such scheme it would be costing ? 2950. </p>\r\n \r\n<strong>A Curse or A Cause</strong>\r\n<p> \r\nPeople of such families did enjoy the scheme until the time the cylinder doesn’t \r\nrequire the refill. With the passing away of the gas, they again came back to the \r\nChulhas using kerosene oil and other kinds of solid fuels. The emitted smoke from \r\nsuch substances led to hazardous health issues. Moreover, as per the World Health \r\nOrganisation, worldwide, 3.8 million people die because of the smoke exposure from \r\nthe dirty stoves. Also, the stats obtained from WHO quoted that in India, 4,88,200 \r\ndeaths occur every year just because of the chronic obstructive pulmonary disease \r\n(COPD), ischaemic heart disease, due to pneumonia, lung cancer, and stroke. Also, \r\n8 complete years are lost amid 1,000 people majorly because of the indoor air \r\npollution wherein, the most affected people are the children and the woman. </p> \r\n<strong>Saving Wealth or Losing Health</strong> \r\n<p> \r\nBoth the Indian societies as well as the government need to understand that cooking \r\non Chulhas renders a huge number of fumes and smog which adversely affect the \r\nenvironment then, how a human being can remain unaffected from the same? If, \r\nUjjwala Scheme has been properly implemented focusing on the low cost of the gas \r\nrefill then, it could have successfully helped the sufferers which they have been \r\nfacing because of the constant use of Chulhas. </p>\r\n<p> \r\nThe use of Chulhas adversely affects human health that it can cause a loss of vision, \r\nlungs problem, inhaling or other breathing problems and a lot more than one can \r\never imagine. For your safeguard, you need to take any action while not fully relying \r\non government schemes. However, the government must support people with the \r\nproper implementation of such schemes. It must organize the schemes that it may \r\nnot affect the people for a shorter time span, in fact, help them in solving all their \r\ndaily hurdles. </p> \r\n<strong>One Initiative is Essential</strong>\r\n<p> \r\nThe people of such areas are out of the reach of a flourished money, so they feel \r\nthemselves helpless. At least, one can be a light of help for them so that with one’s \r\n \r\ninitiative the entire society can be saved. Also, as per the government concerns, it \r\nshould have set up the reasonable prices of gas refilling that people from Chulhas \r\nmay move towards the LPG. This would surely bring a positive effect on society and \r\nthe economy. </p>\r\n<p> \r\nAgain, the concluded reason states that the unaffordability of LPG cylinders is the \r\ncore concern of using Chulhas with the help of cow dung and coal that are easily \r\naccessible. Else, in the fastest running era of the technology where Gas Stove is \r\nbeing also replaced by the Electronic Induction, who wants to cook food on the \r\nburning wood emitting fumes. The Government needs to reduce the prices of gas \r\nrefilling that no house may remain left with the LPG cylinders. \r\nPeople must also know the worth and importance of their health and time which is \r\nbeing wasted sitting in front of Chulhas.</p>', 0, 0, 0, 2000, 1, '2019-12-03 12:27:01', '2020-02-07 16:35:35'),
(62, '5de7820f8d025', 2, 499, 'Acid Attack', 'Public Awareness', 'Acid-Attack-From-Pain-To-Purpose.jpg', 'https://callupon.org/stba', '<p>Acid Attack - a Forceful Acceptance or Unwanted Rejection by the Society\r\nVictims of Acid Attack are actually not the victims but the survivors in the society. But, \r\nunfortunately, the people who do so on the bodies and faces of pretty and beautiful \r\nladies require to cover their faces. </p>\r\n<p> \r\nWhat would happen to snatch away the beauty of a beauty? \r\nHere, the beauty of beauty means the beautiful physical appearance of a female which \r\nsome societal monsters take away. </p>\r\n<p>\r\nIndia has seen many cases and faces of acid attacks where the victims reveal both their \r\ninner beauty and strength to accept the harsh reality of their reshaped physical \r\nappearance. Alongside government, you need to take action withstanding strong at this \r\nsocietal threat. </p>\r\n<p> \r\nCases over Cases Revealing Victims \r\nMake culture and society so strong that a woman can fearlessly cross a man outside \r\nher home. There have been many victims such as \r\n<NAME>, who was just 17 years old, lost her vision. The saddest, harsh and \r\nunacceptable reality is that her relatives and their friends collectively were involved in \r\nthrowing acid on her face. </p>\r\n<p>\r\n<NAME>, who was again a 17 years old girl, became a victim of a brutal acid \r\nattack by her acquaintances. </p>\r\n<p>\r\nDifferent Victims, Different Sufferings \r\nWhereas, both the victims have their sufferings and pains but both of them have \r\ninspired the society with their belief and strength. The mental trauma of losing your \r\nnatural physical appearance haunts the most simultaneously the taunts of the society \r\nand people passing by. </p>\r\n<p> \r\nYes, not everyone rejects the victim of an acid attack but not everyone accepts them. \r\nDeep inside the heart people always keep guilt and fear of untouchably and don’t \r\naccept them. </p> \r\n<p>\r\nUnanswerable Whys… \r\nBut, the alarming question here is, why to throw acid on a face? Why haunt a person to \r\nsuch an extent that without being in any malpractice they have to hide their face and \r\nhave to ask for dignity? Why to forcefully feel pity for such victims where there are no \r\n \r\nflaws? There is ‘n’ number of Why(s) that both the society and governmental bodies \r\nneed to answer.</p>\r\n<p> \r\nSympathy or Empathy? Does inner beauty really matter or is just a matter of \r\nwords? \r\nMost of the time, people say that inner beauty, good heart, and hard work means \r\neverything but deep inside, everyone goes beyond physical beauty and appearance. \r\nThis is just to show the sympathy or a kind of show-off towards the victims of acid \r\nattack. </p>\r\n<p> \r\nThe bitter, as well as the harshest reality, is that society is cruel because when people \r\ntaunt everyone on body shaming focusing on height, weight, health, complexion and \r\nphysique then, acid attack is a big deal to tackle with. \r\nSuch victims are not the culprits to be treated helpless in fact, why to make them a \r\nvictim? When a person who gets targeted for an acid attack without even knowing, is \r\nalso a human being. They haven’t lost the natural beauty of their own or accidentally. \r\nThey face a loss of their face or body because of brutal planning by some societal \r\nmonsters. </p>\r\n<p> \r\nDignity is ALL Above \r\nSuch people have equal rights to live in society as they used to live abreast with \r\ncomplete dignity and respect. Also, instead of hiding your face and feeling ashamed, \r\nyou should step ahead towards the culprits more strongly with gratitude that you are a \r\nbeautiful creation of God and nothing can stop you doing all such stuff that you are fond \r\nof. \r\nDo not feel sorry instead live more of yourself without the guilt of not having beautiful \r\nskin or face. Beauty is from the heart and inner beauty reflects from one\'s face and \r\nthoughts because the face is the mirror of the heart.</p>', 0, 0, 0, 2000, 1, '2019-12-04 09:53:19', '2020-02-07 16:35:19'),
(63, '5de9e7fe751b5', 6, 500, 'Onion Rates Spike', 'Price inflation', '1235662_Wallpaper2.jpg', 'https://callupon.org/stbb', '<p><strong>Onion’s Chopping Makes Eye Teary but Rising Rates of Onion have Seriously Made Citizens Cry </strong></p>\r\n<p>\r\nIndian people are left with the teary eyes because of the rising prices of the onion wherein, the prices have touched ?120-150 per kilo. Moreover, the prices are expected to soar more by the end of February 2020.</p>\r\n\r\n<p><strong>Triggering of Unseasonable Rainfall led Crop Damage </strong></p>\r\n\r\n<p>The prices of onion have risen drastically in all over the country. The reason behind the rising cost is unseasonal rain as well as the shortage of onion crop. Also, the worst part is that the rising cost has not even benefited a single farmer instead they have complained that none of the onion crops has been fetched because of its poor quality. </p>\r\n\r\n<p><strong>Increasing Consumption led to Decreasing Requirements </strong></p>\r\n\r\n<p>In accordance with some sophisticated sources, in India, the monthly consumption of onions was 15 lakh metric tons which shows a requirement of 50 thousand metric tons. But, with the high cost, the daily supply has become 10-12%, as of now. </p>\r\n\r\n<p><strong>Appeal to Government – a Solution for a Common Man</strong></p>\r\n\r\n<p>Most of the people and other associated welfare bodies have asked the government to create onion’s buffer stock, distribution of the staple at a reasonable cost, a crackdown on the hoarding of onion’s traders, etc just to relief a middle class and a common man. Onion as a staple of each kitchen in every household has affected not only the general public but a huge mass of farmers as well. Indian farmers have emotionally expressed a painful concern because most of them are distributing the old stock of onion because of the damaging of new onions. </p>\r\n\r\n<p>Just because the wholesale market has seen a huge spike in the cost, it has simultaneously affected the resulting market as well. Wherein, this sharper jump is restricting the public to make a hole in their pockets. </p>\r\n\r\n<p>The nationwide surge in the spike of onion price has affected most of the Indian states and cities such as Pune, Maharashtra, Chennai, Mumbai, Odisha, West Bengal, Kolkata, Delhi and a lot more. Therein, it has affected the market chain by affecting both the sellers and consumers in buying an onion. Nevertheless, daily consumers are unfortunately are forced to reduce their purchases and are cooking their delicious food as – onion free. </p>\r\n\r\n<p><strong>Battlefield between State & Central Government </strong></p>\r\n\r\n<p>On the other hand, the worst condition expressed by the farmers is the rotten onion which can neither be used nor purchased and can only get wasted by throwing and dumping it in the dustbins. Most of the citizens have appealed to the Central Government to take impactful immediate actions but, the tussle amid the state and the central government is affecting the common man, alas!!! </p>\r\n\r\n<p><strong>Onion’s Robbery at Dusk’s Early Hours </strong></p>\r\n\r\n<p>Also, the robbery of goods that can benefit you in any ground has been seen and observed in several different cases. But, have you ever heard of Onion’s robbery. Could you ever imagine that onions can also be getting stolen? Sounds funny; but, it’s true, 250kg onions worth ?2500 have been stolen from Gujarat vegetable shop during the early hours of dawn.</p>\r\n\r\n<p><strong>The Government in Jitters & Public in Tears </strong></p>\r\n\r\n<p>Such a looming onion crisis has put the government in jitters as well as the general public in tears. Therein, huge strata focussing on several households, cafes, and restaurants have been affected adversely. In short, this food inflation has made the entire nation cry where people are left with no choice just to maintain a cost-cutting for onion. </p>\r\n\r\n<p>The Indian Government must enlighten the issue and should immediately take the concern into consideration. This is because the continuous spike in the price is neither good for the country and nor for the Indian traders and farmers who are stagnantly witnessing a great fall in the onion demand. </p>\r\n\r\n<p>Onion, with which every food tastes tasteless, is now getting reduced from the daily menus, dishes, and salads. However, to avoid the further disruption of the onion trade in the country, the government has placed orders for 6,090 tonnes of onions from Egypt to prevent India from Onion’s Crisis. This initiative would somewhere support the daily income of Indian farmers. </p>\r\n\r\n<p>Hope so, fresh and quality harvest may sooner hit the Indian market vanishing food inflation at its best.</p>\r\n', 0, 0, 0, 2000, 2, '2019-12-06 05:32:46', '2019-12-10 10:15:27'),
(73, '5e32c5969d147', 2, 28, 'Increasing Robbery, Growing Theft Should Result Accused in a Major Suspect', 'Increasing Robbery, Growing Theft Should Result Accused in a Major Suspect on social media', 'robbery.jpg', 'http://petition.sheenz.in/bl', '<strong>Increasing Robbery, Growing Theft Should Result Accused in a Major Suspect </strong> <br />\r\n<p>Since the past few years in India, Robbery and other associated criminal rates are increasing at a massive pace. Ranging from chain snatching to mobile, cash, electronic gadgets and a lot more gets robbed or snatched away by various unexpected and surprising threatening tricks in just a blink of an eye. Herein, the practice of hypnotism is also encouraging robbers to take away the people’s belongings by their own will and wish. </p>\r\n<strong>Cases over Case, Reports are noted but gets Unnoticed </strong>\r\n<p>Over the past few years, Indians are being in a tap of such crime that people are not safe in their own house ranging from dusk and dawn. This is so because; there is no fixed time of robbers to attack and to rob. Therein, many shocking cases are being increasingly growing majorly in India. Every year, there have been a dozen reports that get noted in the police station for investigation and verification but unfortunately, nothing gets into consideration. Owing to such unethical practices of both the police and robbers, robberies of varied different belongings have become a business amongst illiterate and uneducated youth. </p>\r\n<strong>Robbery begins from one\'s own self </strong>\r\n<p>Moreover, youngsters are heavy in number, majorly of the teenage and the people up to an age of 25 years old. It’s completely an obvious fact that such people are more prone to drug addiction, drinking, smoking, adultery etc. and once they get addicted or attracted towards it, their only source of buying their stuff becomes either robbery or stealing. The unacceptable but the real fact is that it begins from one\'s own house itself such as taking away money from parents wallet without even informing them. This stealing of smaller amount later leads to the major robberies outside from their home. </p>\r\n<p>Such unethical, as well as illegal practices, have now become unsafe for the people to normally walk on the streets and roads majorly in the context of females. On the isolated streets, bikers come in a pair with the very fast speed and snatch away the gold or other materialistic belongings, mobile phones, cash, wallets etc whilst showing a gun or knife. The worst part of their trick is that sometimes they show the artificial or toy gun which seems like an original sample just to threat the people hovering around. Additionally, such incidents sound to happen in the deserted streets but unfortunately, it happens in the crowded areas where just because of the threatening practices people become helpless to help each other and other records the videos of the incident.</p>\r\n<p>Several times, any such sudden and threatening incidents leave the victim in a brutal state of mind, scared and injured that draws the attention of the general public present at the incident’s spot wherein, any one of them who feels essential to inform police, inform them, rest other just remain same in their happening activities. </p>\r\n<p>Also, these robbers are so cunning and smart that while performing robbery or snatching something, they change their clothes that increase their chances of not being caught. Most often these robbers either carry a pair of extra jacket or shirt with them and always apply some lubricated substances on their body so that, if they get cached by someone they could easily slip and can run away. After acquiring the stolen goods, these robbers sell the desired products and earn their desirable profits.</p>\r\n<p>Their smooth escaping practice makes them difficult to trace whereas, surveillance of CCTV sometimes could help to an extent. Owing to this, police have now become familiar with their unethical practices but unfortunately, do nothing until and unless they seem their own profit in helping the victim by any means or by a bribe.</p>\r\n<strong>If such remains continue to happen then, where would our nation go? </strong>\r\n<p>Thus, people are requested especially the females to carry the essential precautionary measures with them such as a pepper spray, a pointed pen, knife or anything that could be beneficial in self-defense. </p>\r\n<strong>Eat, Repeat and Sleep – Robbery </strong>\r\n<p>Moreover, if an accused get caught and punished, their punishment gets restricted till imprisonment of some time. After getting released, they do the same practices again just to eat, repeat and sleep which happens in the jail as well. So, such people don’t get affected while getting caught. </p>\r\n<p>Thus, this won’t work in building a better as well as the developed nation instead; both the purpose and practice of crime highly need to be figured out. If this could be done, the prisoners must be rehabilitated prior to getting bailed or released. Also, they should be gone to some psychiatric therapy sessions so that no individual gets threatened again and feel unsafe on hovering on the isolated streets.<br/>\r\nHence, by identifying the root cause of the problem and solving it accordingly could work better with time, somehow and someday. </p>', 0, 0, 0, 5000, 2, '2020-01-30 12:01:26', '2020-02-10 12:38:24'),
(64, '5deb54cd11bd7', 4, 501, 'Unemployment – A Constant Fear or Threat of Losing Job ', 'Social Reach', 'unemployment.jpeg', 'https://callupon.org/stbc', '<strong>Unemployment – A Constant Fear or Threat of Losing Job </strong>\r\n<p>People learn to earn and run their livelihood where learning doesn’t require any age or stage. Also, the process of learning begins with birth. Well, coming to the major use of learning in the Employment sector, it gets stopped at a certain level or gets restricted because of cost-cutting.\r\nSince, the downfalls in the GDP and other aspects of the Indian Economy, most of the employees have suffered and are still suffering the firing policies. Herein, the targeted employees are either the over-qualified people as per the company’s standards or the employees that are high salaried.</p>\r\n<p>Most of the organizations plan layoffs majorly for cost-cutting or due to the stagnant business strategies. Specifically talking about the private sector, employees always carry a mental trauma and fear or risk of losing their jobs because companies these days try to lay off approx. 5-8% of their entire workforce. </p>\r\n<strong>Why the Brain Drain? </strong> \r\n<p>This worst situation will also drown the country if the skill and talented mindsets would not be paid as per their qualifications, knowledge, and experience. This is also one of the major reasons for Brain Drain wherein, country and employment sectors should not have any authority to oppose and interfere. Just because, people both experienced and fresher do not get their demanded or wanted salary and become a victim of hire and fire hierarchy, seek for better opportunities in foreign countries. </p> \r\n<p>They acquire and gain the knowledge fulfilling the criteria for any job role from India and work for other countries where their talent gets respect and they are paid as per their skills and knowledge. Here, the nation lacks much behind in terms of growth and development majorly focusing on employment. </P> \r\n<p>Also, the ones who even doesn’t afford the good qualification and thus, do not get the jobs, work as vendors, auto-rickshaw or taxi drivers, work in café, tea stalls or restaurants and in fact, there is ‘n’ number of small scale professions. </p> \r\n<strong>Unemployment exists because of Cost-Cutting Strategies </strong> \r\n<p>Streamlining cost has given birth to unemployment at a broader scale. On the other hand, coming to the government jobs, the competition is again too tough and stiff that a single vacancy for any of the designation requires the processing of 6-8 months. Most of the people from the age of 18 and above apply for the government vacancy with a hope that one day they may get a chance of having complete job security. Contradicting to this, again for a smaller number of vacancies, a huge number of people apply nationwide wherein, a few get a chance of selection.<p> \r\n<strong>Employing the Unemployed has become an Occupation</strong> \r\n<p>Also, employing unemployed people has become a business. Most of the people play fraudulent activities with the name of branded organization and promise to unemployed ones providing a job with complete security. When a jobseeker gets influenced by the fraudsters, they ask for money. If a person gives the quoted amount then, these fraudsters run away leaving behind a no clue of their identification. </p>\r\n<p>No one knows where a nation will go if this would be continuing the way it is. Also, in the era of technology as well as digitalization, Information Technology (IT) domain is phasing the rough period of streamlining cost majorly concentrating on the employees of mid to senior level. Undoubtedly, this would further take the nation on the highest toll of unemployment in the next coming quarters. Owing to this, people tend and prefer to work in the UK, the US and other developed countries letting go of the Indian IT Sector and varied other sophisticated domains.</p> \r\n \r\n ', 0, 0, 0, 5000, 3, '2019-12-07 07:29:17', '2020-02-10 13:00:48'),
(65, '5deb58e1e223c', 2, 502, 'Priyanka Reddy’s Soul RIP whilst Accused Shot Dead by Hyderabad Police', 'The communalisation of rape by right-wing handles and outlet on social media', 'image.jpg', 'https://callupon.org/stbd', '<p>On December 6, 2019, Hyderabad Police dead shot all 4 accused rapists and murders who took away the life of 26 years old Priyanka Reddy. The cops arrested all 4 named as <NAME> alias <NAME>, <NAME>, <NAME>, and <NAME>. </p>\r\n\r\n<p>Finally today, the victim of brutal rape and murder got real and complete justice. <strong>According to Police, all 4 accused have been killed in crossfire on Friday especially in the wee hours at the same highway where the burnt body of Priyanka was found. The accused were taken to the same spot and recreated the crime scene. All 4 tried to run and the moment they tried to flee, the IPS Office V.C Sajjanar IPS (Vishwanath Sajjanar) shot them. </strong></p>\r\n\r\n<p>As per the Hyderabad Police, the entire incident took place at 6:30 am. The purpose of encountering the accused in this way was the part of the investigation. Also, the accused forcefully snatched the guns from the police and fired on them and tried to escape from the site immediately. For safeguard and justice purposes, the police fired and shot them in which all 4 accused died. Also, as per the investigation from Hyderabad Police, the accused intentionally punctured the tire of Priyanka’s two-wheeler, offered her help, took her to hidden spot and brutally raped her. All the 4 accused were lorry workers and aged amid 20-25 age group. </p>\r\n\r\n<p><strong>Court’s Justice or Police’s Action</strong></p>\r\n\r\n<p>This time not waiting for the court’s justice, Hyderabad Police took initiate on their own and supported the nation in the justice of Priyanka’s family. Till date, there is no hidden fact, that the accused of Delhi Gang Rape 2012 are still in jail and no punishment has been announced for them. The duration of 7 years is not short. If at that time, the court has taken a fair and immediate action and justice, no Priyanka could become the victim of a brutal rape and murder case again. </p>\r\n\r\n<p><strong>Hiring a Lawyer or helping them in running their livelihood</strong></p>\r\n\r\n<p>People seek justice from the court but the Indian Judicial system just delays the cases giving dates over dates. A common man or a middle-class family affords a lawyer and a judge for the fair justice but, this has become a business to earn a livelihood now. Judicial bodies and systems do not understand the pain points of a common man instead of considering their money as their fees on the longer-term aspects which help them to earn and run their livelihood. </p>\r\n\r\n<p><strong>Rapist Shot, Citizens Shocked</strong></p>\r\n\r\n<p>This time, Hyderabad Police took action wherein, it was unbelievable for the citizens of the nation and simultaneously for the family members of a victim’s family. Was it Priyanka’s destiny or just was a furnished plan of the cops to give an answer to the nation for justice.? </p>\r\n<p>This time, immediate action has been taken while not hoping much from the judicial system. The nation is in the hope that no rape case may take place and no girl crossing on the road becomes a victim. This might also act as a lesson for the judicial system and other police officers as well that citizens seek their help for fair justice and not for the dates over dates on the grounds of court. </p>\r\n', 0, 0, 0, 2000, 2, '2019-12-07 07:46:41', '2019-12-10 12:01:35'),
(74, '5e393ec904ba9', 2, 28, 'Censor Free Content on the Internet is proven to be Engaging or Diverging Audience', 'Censor Free Content on the Internet is proven to be Engaging or Diverging Audience spread on social media', 'China-network.jpg', 'http://petition.sheenz.in/bm', '<strong>Censor Free Content on the Internet is proven to be Engaging or Diverging Audience </strong><br />\r\n<p>In the present scenario, today is the time of technology and advancements in almost all varied entertaining modes and industries. Time has flown when people were supposed to sit in front of a TV on Sundays and were fully dependent on DDs Channel. This 21st century fledges with technical advancements affecting all the aspects of human life. So, if we speak about the (digital TV), probably, you can explore the world and its associated spice within a fraction of seconds.</p><br />\r\n<strong>Censor-Free Content - a fun BELOVED & LOVED by all </strong><br />\r\n<p>No doubt, it is correct saying that all of us require some spice and fun for entertainment where definitely, the path of entertainment and fun may seem variable. This is so because constancy always creates boredom to an extent. Several times, a person prefers different sorts of fun activities wherein, social media and availability of censor-free content on the Internet are preferred the most. Talking about the easy availability of censor-free content, these days, films are being released at no cost on different internet platforms such as Netflix, Alt Balaji, Zee 5 and there are ‘n’ number of such platforms. </p><br />\r\n<p>It has proven both as the boon and bane for the Indian society affecting the socio-cultural implications of the same as well. In today’s era of digitization where theatres and televisions are also turning to be digital, the early aspect for searching the content begins with such online platforms. It has not only influenced the social-cultural ethics of human life instead has also equally impacted life economic life of the people affecting their lifestyle, standard of living, ways of making expenses, gender, language, ethnicity and much more. </p><br />\r\n<strong>A biggest Hit to Online Platforms </strong><br />\r\n<p>Unfortunately or undoubtedly, such availability of censor-free content on internet platform has become a structure of dominance in cultural values affecting morals and encouraging adultery and crimes amid the people. On the other hand, the reflection of such content has also led the society towards innovation and smartness to cope up with the daily happenings and incidents of the society that has also proven to leave the society with the huge impacts. </p><br />\r\n<p>Today’s teenage and younger generation watches a broader spectrum of the romantic, lusty, controversial plots that encourage them to try it practically in their real-life. Such aspects majorly focus on homosexuality, transgender, child labor, poverty, unemployment, prostitution and a lot more till a huge extent. Such topics have brought a world together and united but have also departed people with each other. Where relationships were priorities, people especially vacant their time to meet and see each other has now been replaced by the online platform availing easy accessibility of censor-free content.</p><br />\r\n<strong>Everyone knows NOSTALGIA!!! </strong><br />\r\n<p>However, like a coin have two faces: the heads and the tails similarly, the presence of censor-free content has two factors; the advantages and the drawbacks. Neither all the content provokes people to commit any crime nor encourages the adultery amongst them meanwhile at the same time, it insists or attracts people towards the same and makes them an addict.</p><br />\r\n<p>Nowadays, the recent ongoing trends in the theatres & Bollywood are the daily introduction of new faces in the industry and releases of new movies on frequent time intervals. The same happens with the free availability of content on the Internet. </p><br />\r\n<strong>Contradiction...</strong><br />\r\n<p>It is not said that the movie is the only best option to entertain ones or yourself. Instead, there are varied other forms of the options as well as superior modes of entertainment via which you can laugh, enjoy, entertain and pamper yourself. It seems a little contradictory, but the fact is that... real entertainment is the only one via which you get self-satisfaction and pleasure. It can be anything, any activity etc.<br/><br />\r\nThe concept of censor-free content is deeper in itself which also constitutes major importance. An absence of the same would lead your life towards boredom and dullness. </p><br />\r\n<br />\r\n ', 0, 0, 0, 6500, 2, '2020-02-04 09:52:09', '2020-02-07 16:30:38'),
(75, '5e3a5c4661b5d', 2, 28, 'Corona Virus: An Epidemic, Spreading Globally Tapping People at Large Scale', 'Corona Virus: An Epidemic, Spreading Globally Tapping People at Large Scale', 'Coronavirus.jpg', ' https://callupon.org/stbA', '<strong>Corona Virus: An Epidemic, Spreading Globally Tapping People at Large Scale </strong><br />\r\n<p>When a person deals with an epidemic, he barely holds hope. This is actually so because the word epidemic itself comprises of a huge meaning in its existence. An epidemic could be anything which begins with a small symptom and later turns into a big disease and hence is termed as Epidemic.</p> <br />\r\n<p>These days, the same is happening in the case of Coronavirus. However, people are getting various information and facts regarding the virus and hence, is listed as the infodemic.<br/> <br />\r\nAs the Coronovirus is rapidly increasing in the major countries of the world wherein, China has been hugely tapped by it. The virus has been s threatening and has proven to be life taking amid the people that everyone fears with its name. The major issue is the recognition of the same i.e. how to analyse and diagnose that whether a person is suffering from some illness is either Coronavirus or something else. So, the symptoms and diagnosis of the virus are mentioned below: <br/><br />\r\n· Fever <br/><br />\r\n· Cough <br/><br />\r\n· Shortness of breath <br/><br />\r\n· Runny Nose <br/><br />\r\n· Headache <br/><br />\r\n· Sore Throat <br/><br />\r\nThough such symptoms are found to be very common and can be easily cured but in case of such virus, these symptoms should not be overlooked as it has caused a large number of deaths these days in just the couple of days. Thus, for confirmed, 2019-nCoV infections have reported a severe illness leading death. </p><br />\r\n<p>It is also believed that the symptoms of 2019-nCoV may appear either in 2 days or as long as in 14 days. Also, it is entirely based on the incubation period of the MERS virus. Apart from such noticeable symptoms, it also includes some other symptoms as well such as 229E, NL63, OC43, and HKU1. All such symptoms generally caused some upper-respiratory tract illnesses majorly in the context of common cold, pneumonia or bronchitis. However, such illness is basically found in the people suffering from cardiopulmonary disease and the people with the weaker immune system. </p><br />\r\n<p> In addition to this, one should also enlighten that the other two associated symptoms of Coronavirus i.e. MERS-CoV and SARS-CoV have also become frequently familiar with the people resulting in life-ending happenings. With the sufferings of such virus, approx. 3-4 people out of 10 have been sentenced to death on almost frequent hourly intervals. </p><br />\r\n<strong>What precautions one should take for avoidance and prevention of Coronavirus? </strong><br />\r\n• Frequent hand washing with alcohol-based hand wash or liquid soap as it would help in killing the germs and virus. <br/><br />\r\n• Maintain respiratory hygiene. This would be only performed while covering both face and mouth with tissue paper or handkerchief mainly while coughing and sneezing. Doing so would help in preventing the germs and virus and could contaminate the objects or people you come into contact with. <br/><br />\r\n• Stop touching your mouth, face, nose and eyes because touching such surfaces could result in virus contamination. Touching such parts may result in virus transferring immensely and exceptionally. <br/><br />\r\n• Avoid consuming animal’s products (all forms of non-veg) and stop being into contact with the animals like camel, rats, cats, rodents, birds, bats and dogs as well. <br/><br />\r\n<p>Therefore, the diagnosis of such symptoms has been essentially required to save people from the massively growing epidemic all around the clock. Your doctors and other health care providers should examine you by performing some of the laboratory tests on respiratory specimens all the major blood test (called serum) in order to detect the presence of Coronavirus if any. If you found the test with positive results, then, you must immediately contact your doctor informing him about your recent travelling, non-veg intake and animal’s contact. A large number of MERS-CoV infections has been detected from Arabian Peninsula’s country and so, it becomes highly essential to note and report about your travel diaries and history or animal’s contact. Herein, animal contact fundamentally means with contact with camel or camel diaries and products.</p> <br />\r\n<p>Thus, if you are suffering from fever, cough and cold then, you should immediately pay <br />\r\nattention to the same before it becomes serious or life-taking. </p><br />\r\n ', 0, 0, 0, 10000, 2, '2020-02-05 06:10:14', '2020-02-10 13:05:34'),
(77, '5e40f317423ac', 2, 28, 'Why Justice gets Delay and the Process Remains in Dates over Dates?', 'Why Justice gets Delay and the Process Remains in Dates over Dates on social media', 'main-qimg.jpg', 'http://petition.sheenz.in/bp', '<strong>Why Justice gets Delay and the Process Remains in Dates over Dates? </strong><br />\r\n<strong>Yes!!! You heard right.</strong><br />\r\n<p> Why a girl who got raped on December 16, 2012, is not getting justice since then which should be announced to her criminals instantly during the incident.<br />\r\nRape is not a mistake but is a crime. The raped girl named “Nirbhaya” died because of her brutal and severe injuries in a Singapore hospital but unfortunately, her culprits are still alive till date. Wherein, it was expected that her culprits were expected to be hanged on January 22, 2020, in Delhi’s Tihar Jail, it got postponed for February 1st in the early morning at 6 am and now is continuously getting delay and dates over dates.</p><br />\r\n<p>This unethical behavior of delaying justice is disturbing the nation and most specifically the accused mother. Nirbhaya’s mom is eagerly waiting for the culprit’s punishment. Every time she stands with a hope of some good news for the culprits to be hung but unfortunately and alas!!! Instead of getting punishment, the tenure of their life is getting extended while delaying justice.</p><br />\r\n<p>Nirbhaya means fearless. <NAME> who was 23 years old physiotherapist was gang-raped in a running bus at Munirka in South Delhi. She was so brutally raped, assaulted and thrown out of the bus with her friend (<NAME>). Because of this incident, Jyoti is named as Nirbhaya. Her friend was also assaulted. Both of them were thrown out of the moving bus wherein, the girl was thrown nude. Her boyfriend tried his best to save her life but unfortunately because of the severe internal injuries she was half dead and declared died in Singapore hospital. Doctor’s strived and tried their best to save her but just because of the lust of the 6 culprits, the girl exists no more. </p><br />\r\n<p>Out of the 6 people, 4 were the culprits wherein, <NAME> and a juvenile were named as accused. However, the trial of the 5 adult men initiated in the special fast-track court since March 2013 but as of now, nation can see that since the beginning till date nothing has been changed instead, the culprits need of eating, sleep and repeat is getting extended. </p><br />\r\n<p><NAME> was the primary accused who allegedly committed a suicidal attempt in Tihar Jail by hanging himself after the beginning f the trial by the special fast track court. On the other hand, as per the concerns of the juvenile, who was also said to be the most brutal amongst all of the people, was sent to the Juvenile for 3 years.<br />\r\nAgreed if that Juvenile was eligible to be sent to the Juvenile for 3 years that absolutely doesn’t mean that his punishment was sufficient enough. Since the date of the incident, it has been almost 7-8 years, the juvenile would not remain juvenile. Additionally, the accused mainly named <NAME>, <NAME>, <NAME>, <NAME> have been also grown and definitely could not be of the same age that they were during committing a crime. </p><br />\r\n<p>So, with such delays definitely, the aggression would rise in the nation’s peeps and especially in all the near and dear ones, those who are associated with Jyoti Singh. The nation needs a proper justice and answer to this heinous crime. What went wrong at that time and what is going wrong at present?</p><br />\r\n<p>As per the sources and news, it has been stated that the Supreme Court of India will hear the case on Tuesday wherein, the government of both the Central as well as the State Delhi has requested for a separate hanging for the 4 convicts. Most interestingly, the government had also challenged the verdict of Delhi High Court dismissing its plea against the execution of 4 men stay. This is because, the government had wanted a proper notice to be sent to 4 convicts wherein, a judicial bench headed by <NAME> hadn’t heeded this request and said that, the matter would delay further.</p><br />\r\n<p>Owing to this, the patience of the nations is being tested. Additionally, <NAME> did file a mercy petition in front of President <NAME> wherein, his appeal had turned down to another convict <NAME> filing a mercy plea. Filing mercy petitions have shown that the convicts are trying their level best to be released without being punished and are making each possible effort and loopholes to delay the execution.</p><br />\r\n<p>With seeing all such potential efforts of convicts, the Delhi High Court has given them a week time to finish exploring the legal help and thereafter the trial court will again start the proceedings for the execution of the case to come to an end. </p><br />\r\n<br />\r\n ', 0, 0, 0, 8000, 2, '2020-02-10 06:07:19', '2020-02-10 12:35:57');
-- 2020-02-11 04:28:51
|
<reponame>fossabot/cli-4
CREATE TABLE IF NOT EXISTS post (
id SERIAL NOT NULL,
topic_id INTEGER NOT NULL,
author_alias_id INTEGER NOT NULL,
content TEXT NOT NULL,
created TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
modified TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
CONSTRAINT post_primary_key
PRIMARY KEY (id),
CONSTRAINT post_foreign_key_topic_id
FOREIGN KEY (topic_id)
REFERENCES topic(id),
CONSTRAINT post_foreign_key_author_alias_id
FOREIGN KEY (author_alias_id)
REFERENCES alias(id)
);
CREATE INDEX post_index_topic_id
ON post(topic_id);
CREATE INDEX post_index_author_alias_id
ON post(author_alias_id);
CREATE TRIGGER update_post_modified BEFORE UPDATE ON post
FOR EACH ROW EXECUTE PROCEDURE update_modified_column();
GRANT USAGE, SELECT ON SEQUENCE post_id_seq TO %I;
GRANT SELECT, INSERT, UPDATE, DELETE ON post TO %I;
|
<reponame>israelvainberg/Zooalist<filename>db.sql
-- MySQL dump 10.13 Distrib 5.7.23, for Win64 (x86_64)
--
-- Host: localhost Database: zooalist
-- ------------------------------------------------------
-- Server version 5.7.23
/*!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 `users`
--
DROP TABLE IF EXISTS `users`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `users` (
`user_id` int(11) NOT NULL AUTO_INCREMENT,
`status` enum('pending','active','deleted','banned') NOT NULL DEFAULT 'pending',
`email` varchar(255) NOT NULL,
`password` binary(60) NOT NULL,
`firstname` varchar(100) NOT NULL,
`lastname` varchar(100) NOT NULL,
`role` enum('user','admin') NOT NULL DEFAULT 'user',
`modified` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
`created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`user_id`),
UNIQUE KEY `users_email_idx` (`email`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `users`
--
LOCK TABLES `users` WRITE;
/*!40000 ALTER TABLE `users` DISABLE KEYS */;
INSERT INTO `users` (`user_id`, `status`, `email`, `password`, `firstname`, `lastname`, `role`, `modified`, `created`) VALUES (2,'active','<EMAIL>',_binary '$2y$10$EtmoK34zNgfsyo4QC8Hlxe4BAjzTUvbHL6NiuSPG06mKSVu85JkU6','Israel','Vainberg','user',NULL,'2019-05-09 09:31:39'),(3,'active','<EMAIL>',_binary '$2y$10$Un5QLhaG.5Btijay2iVDCO6XjFnS7Lt8pidZpsyc5FOYXjsESpXea','Pika','Zvik','user',NULL,'2019-05-11 14:37:16'),(4,'active','<EMAIL>',_binary '$2y$10$Hz4YfR63m/96iNvTsY8YtuPYqclNsRm9I3sTo6r7f33rECJucgFVq','Toca','Toca','user',NULL,'2019-05-11 14:37:55'),(5,'active','<EMAIL>',_binary '$2y$10$p9Jj.ChjHGquVUgzc4KSVuEqkjQqiTTSeRxinoXLheolIqR7miu0O','Voo','Vue','user',NULL,'2019-05-12 11:45:48');
/*!40000 ALTER TABLE `users` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
--
-- Table structure for table `friends`
--
DROP TABLE IF EXISTS `friends`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `friends` (
`friends_id` int(11) NOT NULL AUTO_INCREMENT,
`user_id` int(11) NOT NULL,
`friend_id` int(11) NOT NULL,
`status` enum('pending','active','deleted') NOT NULL DEFAULT 'pending',
`modified` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
`created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`friends_id`),
UNIQUE KEY `friends_user_id_friend_id_unique_idx` (`user_id`,`friend_id`),
KEY `friends_user_id_idx` (`user_id`),
KEY `friends_friend_id_idx` (`friend_id`),
CONSTRAINT `friends_friend_id_fk` FOREIGN KEY (`friend_id`) REFERENCES `users` (`user_id`) ON DELETE CASCADE ON UPDATE CASCADE,
CONSTRAINT `friends_user_id_fk` FOREIGN KEY (`user_id`) REFERENCES `users` (`user_id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `friends`
--
LOCK TABLES `friends` WRITE;
/*!40000 ALTER TABLE `friends` DISABLE KEYS */;
INSERT INTO `friends` (`friends_id`, `user_id`, `friend_id`, `status`, `modified`, `created`) VALUES (1,2,3,'active',NULL,'2019-05-11 14:39:53'),(2,4,2,'pending',NULL,'2019-05-11 14:39:53'),(3,3,4,'active',NULL,'2019-05-12 06:59:18'),(4,5,2,'active','2019-05-12 12:28:12','2019-05-12 12:05:39');
/*!40000 ALTER TABLE `friends` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `posts`
--
DROP TABLE IF EXISTS `posts`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `posts` (
`post_id` int(11) NOT NULL AUTO_INCREMENT,
`user_id` int(11) NOT NULL,
`content` text NOT NULL,
`created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`post_id`),
KEY `user_id` (`user_id`),
CONSTRAINT `posts_user_id_fk` FOREIGN KEY (`user_id`) REFERENCES `users` (`user_id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `posts`
--
LOCK TABLES `posts` WRITE;
/*!40000 ALTER TABLE `posts` DISABLE KEYS */;
INSERT INTO `posts` (`post_id`, `user_id`, `content`, `created`) VALUES (1,3,'This is My First post','2019-05-12 08:34:21'),(2,3,'This is my second post. as you can see i dont wait for a long time to write something else','2019-05-12 08:35:01'),(3,2,'My cool reply','2019-05-12 09:06:29'),(4,5,'This is my post friends','2019-05-12 12:06:35'),(5,5,'This is another post','2019-05-12 12:08:24');
/*!40000 ALTER TABLE `posts` ENABLE KEYS */;
UNLOCK TABLES;
/*!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-05-12 16:23:09
|
<reponame>machinelady/save-a-selfie
create database saveaselfie;
create table users
(
name text not null primary key
);
create table photos
(
id serial not null primary key,
-- GPS data
latitude numeric not null,
longitude numeric not null,
image text not null,
thumbnail text not null,
uploadedby text,
comment text,
-- is this an AED, a first aid kit etc
kind text
);
create view photo_count as
select uploadedby as user, count(*) as count from photos
group by uploadedby;
|
<reponame>empiricaldataman/DB2LS<gh_stars>1-10
USE [msdb]
GO
/****** Object: Job [PRD_ALL_C3_01D_LoadStatistics_OLTP] Script Date: 10/11/2017 1:18:52 PM ******/
BEGIN TRANSACTION
DECLARE @ReturnCode INT
SELECT @ReturnCode = 0
/****** Object: JobCategory [[Uncategorized (Local)]] Script Date: 10/11/2017 1:18:52 PM ******/
IF NOT EXISTS (SELECT name FROM msdb.dbo.syscategories WHERE name=N'[Uncategorized (Local)]' AND category_class=1)
BEGIN
EXEC @ReturnCode = msdb.dbo.sp_add_category @class=N'JOB', @type=N'LOCAL', @name=N'[Uncategorized (Local)]'
IF (@@ERROR <> 0 OR @ReturnCode <> 0) GOTO QuitWithRollback
END
DECLARE @jobId BINARY(16)
EXEC @ReturnCode = msdb.dbo.sp_add_job @job_name=N'PRD_ALL_C3_01D_LoadStatistics_OLTP',
@enabled=1,
@notify_level_eventlog=0,
@notify_level_email=2,
@notify_level_netsend=0,
@notify_level_page=0,
@delete_level=0,
@description=N'Collects statistics metadata for SQL instance/database',
@category_name=N'[Uncategorized (Local)]',
@owner_login_name=N'sad',
@notify_email_operator_name=N'DBA', @job_id = @jobId OUTPUT
IF (@@ERROR <> 0 OR @ReturnCode <> 0) GOTO QuitWithRollback
/****** Object: Step [LoadStatistics - RCHPWCCRPSQL01B\ORIGINATIONS] Script Date: 10/11/2017 1:18:52 PM ******/
EXEC @ReturnCode = msdb.dbo.sp_add_jobstep @job_id=@jobId, @step_name=N'LoadStatistics - RCHPWCCRPSQL01B\ORIGINATIONS',
@step_id=1,
@cmdexec_success_code=0,
@on_success_action=3,
@on_success_step_id=0,
@on_fail_action=2,
@on_fail_step_id=0,
@retry_attempts=0,
@retry_interval=0,
@os_run_priority=0, @subsystem=N'CmdExec',
@command=N'powershell.exe -noprofile Set-Location "D:\SQLScripts"; .\SMO_LoadStatisticsMetadata.ps1 -SQLInstanceSource "RCHPWCCRPSQL01B.PROD.CORPINT.NET\ORIGINATIONS"',
@output_file_name=N'D:\SQLJobLogs\PRD_ALL_C3_01D_LoadStatistics_OLTP.out',
@flags=0
IF (@@ERROR <> 0 OR @ReturnCode <> 0) GOTO QuitWithRollback
/****** Object: Step [LoadStatistics - RCHPWCCRPSQL01A\SERVICING] Script Date: 10/11/2017 1:18:52 PM ******/
EXEC @ReturnCode = msdb.dbo.sp_add_jobstep @job_id=@jobId, @step_name=N'LoadStatistics - RCHPWCCRPSQL01A\SERVICING',
@step_id=2,
@cmdexec_success_code=0,
@on_success_action=3,
@on_success_step_id=0,
@on_fail_action=2,
@on_fail_step_id=0,
@retry_attempts=0,
@retry_interval=0,
@os_run_priority=0, @subsystem=N'CmdExec',
@command=N'powershell.exe -noprofile Set-Location "D:\SQLScripts"; .\SMO_LoadStatisticsMetadata.ps1 -SQLInstanceSource "RCHPWCCRPSQL01A.PROD.CORPINT.NET\SERVICING"',
@output_file_name=N'D:\SQLJobLogs\PRD_ALL_C3_01D_LoadStatistics_OLTP.out',
@flags=2
IF (@@ERROR <> 0 OR @ReturnCode <> 0) GOTO QuitWithRollback
/****** Object: Step [LoadStatistics - RCHPWCCRPSQL01C\WEB] Script Date: 10/11/2017 1:18:52 PM ******/
EXEC @ReturnCode = msdb.dbo.sp_add_jobstep @job_id=@jobId, @step_name=N'LoadStatistics - RCHPWCCRPSQL01C\WEB',
@step_id=3,
@cmdexec_success_code=0,
@on_success_action=1,
@on_success_step_id=0,
@on_fail_action=2,
@on_fail_step_id=0,
@retry_attempts=0,
@retry_interval=0,
@os_run_priority=0, @subsystem=N'CmdExec',
@command=N'powershell.exe -noprofile Set-Location "D:\SQLScripts"; .\SMO_LoadStatisticsMetadata.ps1 -SQLInstanceSource "RCHPWCCRPSQL01C.PROD.CORPINT.NET\WEB"',
@output_file_name=N'D:\SQLJobLogs\PRD_ALL_C3_01D_LoadStatistics_OLTP.out',
@flags=2
IF (@@ERROR <> 0 OR @ReturnCode <> 0) GOTO QuitWithRollback
EXEC @ReturnCode = msdb.dbo.sp_update_job @job_id = @jobId, @start_step_id = 1
IF (@@ERROR <> 0 OR @ReturnCode <> 0) GOTO QuitWithRollback
EXEC @ReturnCode = msdb.dbo.sp_add_jobschedule @job_id=@jobId, @name=N'Daily @ 10:00 AM',
@enabled=1,
@freq_type=4,
@freq_interval=1,
@freq_subday_type=1,
@freq_subday_interval=0,
@freq_relative_interval=0,
@freq_recurrence_factor=0,
@active_start_date=20160211,
@active_end_date=99991231,
@active_start_time=100000,
@active_end_time=235959,
@schedule_uid=N'4d517ebe-4876-48b7-8f26-c59d11f84c77'
IF (@@ERROR <> 0 OR @ReturnCode <> 0) GOTO QuitWithRollback
EXEC @ReturnCode = msdb.dbo.sp_add_jobserver @job_id = @jobId, @server_name = N'(local)'
IF (@@ERROR <> 0 OR @ReturnCode <> 0) GOTO QuitWithRollback
COMMIT TRANSACTION
GOTO EndSave
QuitWithRollback:
IF (@@TRANCOUNT > 0) ROLLBACK TRANSACTION
EndSave:
GO
|
<filename>DB_stuff/Fill_DB_data.sql
USE dispositivos;
INSERT INTO parametro(id, umbralUp1, umbralDown1) VALUES (1, 1, 1);
INSERT INTO parametro(id, umbralUp1, umbralDown1) VALUES (2, 2, 2);
INSERT INTO parametro(id, umbralUp1, umbralDown1) VALUES (3, 3, 3);
INSERT INTO parametro(id, umbralUp1, umbralDown1) VALUES (4, 4, 4);
INSERT INTO parametro(id, umbralUp1, umbralDown1) VALUES (5, 5, 5);
INSERT INTO parametro(id, umbralUp1, umbralDown1) VALUES (6, 6, 6);
INSERT INTO parametro(id, umbralUp1, umbralDown1) VALUES (7, 7, 7);
INSERT INTO parametro(id, umbralUp1, umbralDown1) VALUES (8, 8, 8);
INSERT INTO parametro(id, umbralUp1, umbralDown1) VALUES (9, 9, 9);
INSERT INTO sensor(id) VALUES (1);
INSERT INTO sensor(id) VALUES (2);
INSERT INTO sensor(id) VALUES (3);
INSERT INTO sensor(id) VALUES (4);
INSERT INTO sensor(id) VALUES (5);
INSERT INTO sensor(id) VALUES (6);
INSERT INTO sensor(id) VALUES (7);
INSERT INTO sensor(id) VALUES (8);
INSERT INTO sensor(id) VALUES (9);
INSERT INTO capturaValor(id, sensorId, parametroId) VALUES (1, 1, 1);
INSERT INTO capturaValor(id, sensorId, parametroId) VALUES (2, 2, 2);
INSERT INTO capturaValor(id, sensorId, parametroId) VALUES (3, 3, 3);
INSERT INTO capturaValor(id, sensorId, parametroId) VALUES (4, 4, 4);
INSERT INTO capturaValor(id, sensorId, parametroId) VALUES (5, 5, 5);
INSERT INTO capturaValor(id, sensorId, parametroId) VALUES (6, 6, 6);
INSERT INTO capturaValor(id, sensorId, parametroId) VALUES (7, 7, 7);
INSERT INTO capturaValor(id, sensorId, parametroId) VALUES (8, 8, 8);
INSERT INTO capturaValor(id, sensorId, parametroId) VALUES (9, 9, 9);
INSERT INTO alarma(id, sensorId, estado) VALUES (1, 1, true);
INSERT INTO alarma(id, sensorId, estado) VALUES (2, 2, false);
INSERT INTO alarma(id, sensorId, estado) VALUES (3, 3, true);
INSERT INTO alarma(id, sensorId, estado) VALUES (4, 4, false);
INSERT INTO alarma(id, sensorId, estado) VALUES (5, 5, true);
INSERT INTO alarma(id, sensorId, estado) VALUES (6, 6, false);
INSERT INTO alarma(id, sensorId, estado) VALUES (7, 7, true);
INSERT INTO alarma(id, sensorId, estado) VALUES (8, 8, false);
INSERT INTO alarma(id, sensorId, estado) VALUES (9, 9, true);
|
/*-----------------------------------------------------------------------------------------------
NAME: StatisticsLastUpdate.sql
MODIFIED BY: <NAME>
EMAIL: <EMAIL>
DESCRIPTION: Displays the date when the statistics were last updated on a table.
-------------------------------------------------------------------------------------------------
DATE MODIFIED DESCRIPTION
-------------------------------------------------------------------------------------------------
07.05.2012 SYoung Initial creation.
-------------------------------------------------------------------------------------------------
DISCLAIMER: The AUTHOR ASSUMES NO RESPONSIBILITY FOR ANYTHING, including the destruction of
personal property, creating singularities, making deep fried chicken, causing your
toilet to explode, making your animals spin around like mad, causing hair loss,
killing your buzz or ANYTHING else that can be thought up.
-----------------------------------------------------------------------------------------------*/
SET NOCOUNT ON
SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED
SELECT [name] AS index_name
, STATS_DATE(OBJECT_ID, index_id) stats_updated
FROM sys.indexes
WHERE OBJECT_ID = OBJECT_ID('<table_name, sysname, table_name>')
GO
|
<gh_stars>1-10
SELECT [EmployeeID],
[FirstName],
[LastName],
[Salary],
DENSE_RANK() OVER (
PARTITION BY [Salary]
ORDER BY [EmployeeID]) AS [Rank]
FROM [Employees]
WHERE [Salary] >= 10000 AND [Salary] <= 50000
ORDER BY [Salary] DESC
|
-- avtrans.test
--
-- execsql {SELECT md5sum(x,y,z) FROM t2}
SELECT md5sum(x,y,z) FROM t2
|
-- file:plancache.sql ln:110 expect:true
prepare p1 as select f1 from abc
|
-- Last (probably) bunch of fixes for Worgen starting zone.
-- By Nanaki for Arkania.
-- RequestItemsText.
UPDATE `quest_template` SET `RequestItemsText`="It is always good to see you, $Gbrother:sister;." WHERE `entry`=24593;
UPDATE `quest_template` SET `RequestItemsText`="Careful, $N." WHERE `entry`=24592;
UPDATE `quest_template` SET `RequestItemsText`="Have you freed the villagers, $N? I cannot imagine what duress they're enduring under the Forsaken." WHERE `entry`=24575;
UPDATE `quest_template` SET `RequestItemsText`="Did you get what I needed, $N?" WHERE `entry`=24675;
UPDATE `quest_template` SET `RequestItemsText`="Is it done?" WHERE `entry`=24674;
UPDATE `quest_template` SET `RequestItemsText`="You're back, $N." WHERE `entry`=24676;
UPDATE `quest_template` SET `RequestItemsText`="No..." WHERE `entry`=24904;
UPDATE `quest_template` SET `RequestItemsText`="Did you find her, $N?" WHERE `entry`=24902;
UPDATE `quest_template` SET `RequestItemsText`="Is it done, $N?" WHERE `entry`=24920;
UPDATE `quest_template` SET `RequestItemsText`="You're back, $N." WHERE `entry`=24602;
UPDATE `quest_template` SET `RequestItemsText`="Is it done, $N?" WHERE `entry`=24679;
UPDATE `quest_template` SET `RequestItemsText`="You're back!" WHERE `entry`=24681;
UPDATE `quest_template` SET `RequestItemsText`="The only risks worth taking are the ones that lead to victories worth having." WHERE `entry`=26706;
-- OfferRewardText.
UPDATE `quest_template` SET `OfferRewardText`="I knew we could count on you. You've done well, $N." WHERE `entry`=24646;
UPDATE `quest_template` SET `OfferRewardText`="It is done then, $N. You are one of us now." WHERE `entry`=24593;
UPDATE `quest_template` SET `OfferRewardText`="King Greymane gave me a brief rundown of the plan before he set off for the Blackwald. Doesn't make it sound any less crazy." WHERE `entry`=24673;
UPDATE `quest_template` SET `OfferRewardText`="$N!$B$BGenn... they've taken Genn... they've taken... our king!" WHERE `entry`=24672;
UPDATE `quest_template` SET `OfferRewardText`="I wish it could've been avoided, $N. Let us ensure this is resolved without further bloodshed." WHERE `entry`=24592;
UPDATE `quest_template` SET `OfferRewardText`="You've done it again, <name>. The freed villagers are eager to help us against the Forsaken in any way they can." WHERE `entry`=24575;
UPDATE `quest_template` SET `OfferRewardText`="I thank you, $N. Our men and women will have a last good meal before they set off for battle." WHERE `entry`=24675;
UPDATE `quest_template` SET `OfferRewardText`="I thank you, $N. Our people will no longer suffer under that monstrosity's yolk." WHERE `entry`=24674;
UPDATE `quest_template` SET `OfferRewardText`="We have the people of Emberstone on our side now thanks to you." WHERE `entry`=24676;
UPDATE `quest_template` SET `OfferRewardText`="We've driven the Forsaken back. We hold three out of the four districts.$B$BBut at what cost..." WHERE `entry`=24904;
UPDATE `quest_template` SET `OfferRewardText`="The Plague? Something so heinous that not even the orcs condone its use? I'd say this warrants notifying King Greymane." WHERE `entry`=24902;
UPDATE `quest_template` SET `OfferRewardText`="You present me with the most difficult choice of my life, $N." WHERE `entry`=24903;
UPDATE `quest_template` SET `OfferRewardText`="You've done well, $N. Almost everybody managed to make it through." WHERE `entry`=24920;
UPDATE `quest_template` SET `OfferRewardText`="You're here, $N. Most everyone made it through, but now we're stuck here... surrounded by our own... dead!" WHERE `entry`=24678;
UPDATE `quest_template` SET `OfferRewardText`="Thank you, $N. Let us hope this works." WHERE `entry`=24602;
UPDATE `quest_template` SET `OfferRewardText`="It's done, $N. The dead return to their slumber." WHERE `entry`=24679;
UPDATE `quest_template` SET `OfferRewardText`="It's good to see you again, $N." WHERE `entry`=24680;
UPDATE `quest_template` SET `OfferRewardText`="It's almost over, $N. Only one obstacle remains between us and survival." WHERE `entry`=24681;
UPDATE `quest_template` SET `OfferRewardText`="We did it, $N. We've started the evacuation. If we leave soon we'll leave the Forsaken fleet in the dust." WHERE `entry`=26706;
UPDATE `quest_template` SET `OfferRewardText`="Are you ready to set sail, $N? Your people have been granted shelter in the lands of the kaldorei.$B$BDo not worry, $R. Your people will get a chance to fight for Gilneas again. This time, with the full strength of the Alliance." WHERE `entry`=14434;
-- CompletedText.
UPDATE `quest_template` SET `CompletedText`="" WHERE `entry` IN (24593, 24592, 24676, 24920);
-- Details.
UPDATE `quest_template` SET `Details`="Are you ready to set sail, $N? Your people have been granted shelter in the lands of the kaldorei.$B$BDo not worry, $R. Your people will get a chance to fight for Gilneas again. This time, with the full strength of the Alliance." WHERE `entry`=14434;
-- RewSpellCast -> RewSpellHiddenCast.
UPDATE `quest_template` SET `RewSpellCast`=0, `RewSpellHiddenCast`=72829 WHERE `entry`=24593;
UPDATE `quest_template` SET `RewSpellCast`=0, `RewSpellHiddenCast`=81040 WHERE `entry`=24681;
UPDATE `quest_template` SET `RewSpellCast`=0, `RewSpellHiddenCast`=95840 WHERE `entry`=26706;
UPDATE `quest_template` SET `RewSpellCast`=0, `RewSpellHiddenCast`=78107 WHERE `entry`=14434;
-- Teleport players to next quest when turning in The Battle for Gilneas City.
UPDATE quest_template SET CompleteScript=24904 WHERE entry=24904;
INSERT INTO quest_end_scripts VALUES (24904, 2, 6, 654, 0, 0, -1675.20, 1610.68, 20.48, 5.53);
-- Quests needing vehicle/too complex to fix, for the time being set them to autocomplete.
UPDATE `quest_template` SET `ReqCreatureOrGOId1`=0, `ReqCreatureOrGOId2`=0, `ReqCreatureOrGOCount1`=0, `ReqCreatureOrGOCount2`=0 WHERE entry=24920;
UPDATE `quest_template` SET `ReqCreatureOrGOId1`=0, `ReqCreatureOrGOId2`=0, `ReqCreatureOrGOId3`=0, `ReqCreatureOrGOCount1`=0, `ReqCreatureOrGOCount2`=0, `ReqCreatureOrGOCount3`=0 WHERE entry=24681;
-- Too many creatures for quest Push Them Out (a lot of double-spawns).
DELETE FROM creature WHERE guid IN (6677286, 6677283, 6677290, 6654160, 6654159, 6677532, 6654161, 6677531, 6677272, 6677265, 6677285, 6677275);
DELETE FROM waypoint_data WHERE id IN (6677286, 6677283, 6677290, 6677532, 6677531, 6677272, 6677265, 6677285, 6677275);
|
<reponame>dwiharis/Skripsi_WEBGIS<filename>gis_nyamuk.sql
-- phpMyAdmin SQL Dump
-- version 4.9.2
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Aug 14, 2020 at 11:40 AM
-- Server version: 10.4.11-MariaDB
-- PHP Version: 7.4.1
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `gis_nyamuk`
--
-- --------------------------------------------------------
--
-- Table structure for table `admin`
--
CREATE TABLE `admin` (
`nama` varchar(50) NOT NULL,
`password` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `admin`
--
INSERT INTO `admin` (`nama`, `password`) VALUES
('admin', 'admin123');
-- --------------------------------------------------------
--
-- Table structure for table `data_artikel`
--
CREATE TABLE `data_artikel` (
`id_artikel` int(11) NOT NULL,
`judul_artikel` varchar(100) NOT NULL,
`isi_artikel` varchar(10000) NOT NULL,
`tgl_upload` date NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `data_artikel`
--
INSERT INTO `data_artikel` (`id_artikel`, `judul_artikel`, `isi_artikel`, `tgl_upload`) VALUES
(5, '7 Cara Cegah Virus Corona di Tempat Kerja Saat New Normal', 'Berikut ini langkah-langkah mencegah virus corona di tempat kerja 1. Selalu menggunakan masker saat bekerja di kantor Salah satu cara cegah virus corona di tempat kerja yang paling penting adalah dengan selalu menggunakanmasker saat bekerja di kantor. Mulai dari berangkat kerja sampai tiba lagi di rumah. Penggunaan masker dapat melindungi diri Anda dari paparan zat berbahaya, termasuk virus dan bakteri, yang terdapat di udara. Anda dapat membawa masker cadangan selama berada di kantor. Jangan lupa untuk mengganti penggunaan masker setiap beberapa jam sekali. 2. Memastikan area meja kerja dalam kondisi bersih Cara cegah virus corona di tempat kerja berikutnya adalah dengan memastikan area meja kerja Anda dalam kondisi bersih. Anda dapat membersihkan permukaan barang-barang yang berada di atas meja kerja, seperti meja, telepon, keyboard komputer, dan lainnya menggunakan cairan desinfektan secara berkala. Sebab, virus dapat menular melalui cipratan air liur saat batuk atau bersin yang menempel di permukaan benda, kemudian disentuh oleh orang lain. Jika tidak dilakukan pembersihan menggunakan desinfektan secara berkala, maka dapat meningkatkan risiko penularan Covid-19. 3. Menerapkan jaga jarak minimal 1 meter Untuk cegah virus corona di tempat kerja, sebisa mungkin Anda menerapkan jaga jarak tempat kerja Anda dengan rekan kerja lainnya minimal 1 meter. Pasalnya, saat ini orang yang telah terinfeksi virus corona bisa saja tampak sehat atau biasa disebut dengan orang tanpa gejala (OTG) sehingga alangkah baiknya untuk menghindari kontak langsung dengan orang lain, termasuk saat berada di lingkungan tempat kerja. Penerapan jaga jarak ini juga berlaku saat pengecekan suhu tubuh dan di dalam lift kantor. Selain itu, Anda juga perlu menghindari pertemuan sosial di area kantor yang melibatkan banyak orang untuk sementara waktu. 4. Sering mencuci tangan Cara cegah virus corona di tempat kerja yang tak kalah penting adalah sering mencuci tangan. Terutama setelah dari toilet, setelah batuk dan bersin, serta sebelum dan sesudah makan. Anda bisa mencuci tangan menggunakan air mengalir dan sabun. Akan tetapi, jika Anda sulit menemukan akses air mengalir, Anda bisa mencuci tangan dengan cairan pembersih yang mengandung minimal alkohol 60%. Mencuci tangan dengan air mengalir dan sabun ataupun cairan pembersih yang mengandung alkohol dapat membantu menyingkirkan dan membunuh virus yang mungkin terdapat pada permukaan tangan Anda. Pastikan Anda mencuci tangan dengan cara yang tepat selama minimal 20 detik. 5. Hindari menyentuh mata, hidung, dan mulut sampai tangan sudah bersih Cara cegah virus corona di tempat kerja lainnya adalah menghindari sentuh mata, hidung, dan mulut, sampai tangan Anda sudah dalam kondisi bersih. Ini karena selama berada di tempat kerja Anda mungkin menyentuh benda apa pun yang berada di sekitar Anda. Namun, tanpa disadari, benda-benda tersebut dapat berisiko meningkatkan penularan virus di tangan Anda. Nah, saat tangan menyentuh mata, hidung, dan mulut maka virus tersebut dapat masuk ke dalam tubuh sehingga membuat Anda jatuh sakit. 6. Menjaga etika kebersihan saat batuk dan bersin Saat bersin dan batuk pastikan Anda menutup hidung dan mulut dengan tisu atau siku bagian dalam. Cara cegah virus corona di tempat kerja ini dapat melindungi orang lain di sekitar Anda dari berbagai macam virus, seperti flu, pilek, hingga virus corona, yang mungkin keluar melalui percikan cairan dari mulut dan hidung. 7. Jangan pergi ke kantor bila sedang sakit Sebaiknya jangan pergi bekerja ke kantor bila Anda sedang sakit. Hal ini bertujuan untuk menghindari penularan penyakit Anda ke orang lain. Jika Anda mengalami demam, batuk, sulit bernapas, atau gejala yang menunjukkan indikasiCovid-19, segera periksakan diri ke dokter guna mendapatkan penanganan yang tepat. ', '2020-06-20'),
(6, 'Demam B<NAME>ue: Gejala, Cara mencegah dan Pengobatan', 'DBD atau yang lebih dikenal dengan demam berdarah dengue disebabkan oleh virus yang ditularkan melalui gigitan nyamuk. Diperkirakan bahwa ada seratus juta kasus demam berdarah yang terjadi pada tiap tahunnya di seluruh dunia. Sebagian diantaranya mewabah secara tiba-tiba dan menjangkiti ribuan orang dalam waktu singkat. Gejala Demam Berdarah Dengue Masa inkubasi virus dengue bisa berlangsung sekitar empat hingga tujuh hari. Masa inkubasi adalah jarak waktu antara virus pertama masuk ke dalam tubuh sampai gejala pertama muncul. Gejala demam berdarah atau DBD umumnya akan terlihat pada tiga hingga empat belas hari setelah masa inkubasi tersebut dan biasanya diawali dengan demam tinggi yang bisa mencapai suhu 41 derajat celsius. Beberapa gejala DBD yang lainnya adalah: • Tubuh menggigil • Sakit kepala parah • Munculnya bintik-bintik merah pada kulit • Sakit tenggorokan • Hilang nafsu makan • Nyeri pada perut dan mual – mual • Wajah yang berwarna kemerahan • Nyeri hebat pada otot-otot punggung bawah, lengan, hingga kaki • Nyeri hebat pada tulang dan sendi • Rasa sakit bagian belakang mata • Pendarahan yang tidak wajar, seperti gusi berdarah, mimisan, darah pada air seni atau Feses CB Jika segera diobati, gejala tersebut biasanya reda dalam waktu beberapa minggu. Sesudah mereda, biasanya pasien akan butuh waktu beberapa minggu lagi untuk sembuh total. Baca juga: Agar Tak Mudah Sakit: Ini 7 Cara Meningkatkan Imun Tubuh Saatnya memeriksakan diri ke dokter Sebaiknya segera periksakan diri Anda ke dokter jika mengalami gejala seperti flu atau demam selama lebih dari satu minggu. Biasanya dokter akan melakukan pemeriksaan darah untuk mengetahui apakah Anda terjangkit DBD / demam berdarah dengue. Selain untuk mengetahui keberadaan virus dengue dalam tubuh Anda, tes darah juga penting dilakukan agar dokter bisa tahu jika terdapat masalah kesehatan serius lainnya yang bisa menyebabkan gejala tersebut. Pencegahan Dem<NAME> Hingga saat ini belum ada vaksin yang dapat menangkal demam berdarah. Oleh karena itu cara terbaik untuk mencegah DBD adalah dengan menghindari terkena gigitan nyamuk yang membawa virusnya. Berikut ini adalah cara-cara agar kita bisa terhindar dari gigitan nyamuk Aedes aegypti: • Mensterilkan rumah atau lingkungan di sekitar rumah Anda, misalnya dengan penyemprotan pembasmi nyamuk (fogging). • Membersihkan bak mandi dan menaburkan serbuk abate agar jentik-jentik nyamuk mati. • Menutup, membalik, atau jika perlu menyingkirkan media-media kecil penampung air lainnya yang ada di rumah Anda. • Memasang kawat anti nyamuk di seluruh ventilasi rumah Anda. • Memasang kelambu di ranjang tidur Anda. • Memakai losion anti nyamuk, terutama yang mengandung N-diethylmetatoluamide (DEET) yang terbukti efektif. Namun jangan gunakan produk ini pada bayi yang masih berusia di bawah dua tahun. • Mengenakan pakaian yang cukup bisa melindungi Anda dari gigitan nyamuk.Pengobatan <NAME> Hingga kini belum ada vaksinasi atau pun obat khusus untuk mengobati demam berdarah atau DBD. Pengobatan berkisar pada cara untuk meringankan gejalanya, membuat si penderita senyaman mungkin, serta mencegah dan menangani komplikasi – komplikasi yang terjadi. Jika Anda tengah mengalami gejala penyakit DBD, Anda disarankan untuk: • Banyak beristirahat. • Banyak minum air putih untuk mencegah dehidrasi • Konsumsilah parasetamol untuk meringankan gejala demam dan nyeri (Jangan mengonsumsi ibuprofen atau aspirin karena kedua obat tersebut dapat memicu pendarahan dalam pada penderita DBD). • Memeriksakan diri ke dokter jika dalam waktu tiga hingga lima hari, tidak ada tanda-tanda pemulihan pada gejala yang Anda rasakan. Jika menderita DBD berat, Anda mungkin akan membutuhkan: • Perawatan di rumah sakit • Cairan infus • Pemantauan tekanan darah • Transfusi untuk mengganti darah yang hilang Ketika baru pulih dari DBD / demam berdarah dengue, biasanya tubuh Anda akan terasa lelah dan tidak fit, namun hal tersebut wajar. Sebagian besar orang baru bisa pulih dari DBD dalam waktu dua minggu, meski kadang-kadang butuh waktu beberapa minggu lagi untuk benar-benar sehat sepenuhnya.', '2020-06-22'),
(7, 'Manfaat Buah bagi Kesehatan yang Tak Perlu Diragukan Lagi', 'Ada banyak alasan sebenarnya yang membuat kita bisa mengonsumsi dan memvariasikan buah-buahan dengan rutin. Namun, manfaat buah bagi kesehatan tersebut dapat dibagi menjadi tiga berikut ini: 1. Buah mengandung vitamin dan mineral yang diperlukan tubuh Bukan rahasia lagi, buah adalah gudangnya nutrisi mikro yang amat diperlukan tubuh - seperti vitamin dan mineral. Salah satu jenis vitamin yang banyak terkandung dalam beragam jenis buah adalah vitamin C. Vitamin C memainkan multifungsi di berbagai sistem, mulai dari sistem imun, kesehatan jantung, kesehatan mata, kesehatan kulit, hingga penting untuk kehamilan. Buah-buahan juga mengantongi beragam molekul antioksidan yang dapat memerangi radikal bebas berlebih penyebab kerusakan sel dan penyakit kronis. Buah yang bisa dikonsumsi dengan kulitnya cenderung lebih tinggi akan antioksidan dan serat. 2. Makan buah menurunkan risiko penyakit Anda mungkin sudah sering mendengar bahwa manfaat buah bagi kesehatan selalu dikaitkan dengan penurunan risiko beragam penyakit. Dalam sebuah metastudi yang dimuat dalam The Journal of Nutrition, disebutkan bahwa rutin konsumsi konsumsi buah-buahan setiap hari menurunkan risiko penyakit jantung hingga 7%. Studi lain menyebutkan bahwa konsumsi buah dan sayuran dikaitkan dengan penurunan tekanan darah tinggi. Konsumsi buah-buahan juga dilaporkan berpotensi untuk mengendalikan kontrol glikemik pada penderita diabetes. 3. Konsumsi buah membantu menurunkan berat badan Sering diabaikan, makan buah sebenarnya membantu memberikan sensasi rasa kenyang untuk perut. Buah-buahan umumnya mengandung kadar serat dan air yang banyak, sehingga perut akan terasa ‘terisi’ apabila kita menjadikannya camilan yang sehat. Selain itu, aktivitas mengunyah saat makan buah juga berkontribusi terhadap rasa kenyang tersebut. Bahkan, buah-buahan seperti apel dan jeruk dilaporkan lebih mengenyangkan dibandingkan makanan lain seperti daging dan telur. Karena memberikan sensasi kenyang setelah mengonsumsinya, makan buah-buahan dikaitkan dengan penurunan berat badan.', '2020-06-22'),
(8, 'Alkohol 70% Bisa Dipakai untuk Berbagai Keperluan Rumah Tangga', 'Alasan alkohol 70% lebih dipilih dibandingkan alkohol 100% Alkohol 70% merupakan bahan yang sudah sering digunakan sebagai antiseptik maupun disinfektan. Tidak hanya di rumah, produk ini juga digunakan untuk hal yang sama di rumah sakit dan berbagai fasilitas kesehatan lainnya. Lalu, mengapa yang dipilih adalah alkohol 70% dan bukan 100%? Bukankah semakin tinggi kadarnya justru semakin baik? Jawabannya, belum tentu. Sebab, alkohol 70% akan membunuh kuman yang ada di suatu permukaan dengan cara menghancurkan dinding sel kuman tersebut. Sehingga, bakteri maupun virus yang menempel di permukaan benda bisa benar-benar mati dan hancur. Sementara itu, alkohol 100% tidak akan menghancurkan dinding sel kuman. Justru, alkohol dengan kadar setinggi itu akan berikatan dengan lapisan protein yang ada di dinding sel kuman dan membentuk lapisan tambahan. Hal ini membuat saat bakteri ataupun virus tidak akan mati, melainkan hanya berubah memasuki fase dorman atau tertidur. Macam-macam fungsi alkohol 70% Karena sifatnya yang efektif untuk membunuh bakteri maupun virus penyebab penyakit, alkohol 70% seringkali digunakan untuk berbagai keperluan, seperti:1. Sebagai antiseptik Antiseptik adalah bahan yang berfungsi untuk membersihkan permukaan tubuh dari kuman seperti bakteri dan virus. Seperti hand sanitizer, misalnya. Untuk bisa efektif membunuh para penyebab penyakit tersebut, suatu produk antiseptik harus menggunakan kadar alkohol di atas 50%. Gunakanlah antiseptik untuk membersihkan tangan setelah menyentuh segala sesuatu yang kerap digunakan bersama, seperti tombol di lift dan gagang pintu. 2. Sebagai disinfektan Fungsi disinfektan sebenarnya sama dengan antiseptik. Namun desinfektan adalah produk yang lebih banyak digunakan untuk benda mati, seperti permukaan meja, telepon genggam, ataupun pegangan tangga. Anda bisa menggunakan alkohol 70% sebagai disinfektan untuk membersihkan berbagai permukaan benda yang sering disentuh, termasuk gunting, termometer, dan keyboard komputer. 3. Menghilangkan mual Menghirup aroma alkohol 70% terbukti efektif untuk hilangkan rasa mual hingga setengahnya. Saat mual, Anda bisa celupkan kapas yang sudah dibentuk bulatan kecil ke dalam alkohol 70% dan hirup perlahan-lahan kapas tersebut hingga rasa mual sudah terasa berkurang. Ingat, jangan terlalu banyak menghirup alkohol. Sebab, terlalu banyak menghirupnya malah bisa menyebabkan gangguan kesehatan lainnya, seperti keracunan. Jadi, gunakanlah dalam jumlah yang terbatas saja.4. Menghilangkan bau sepatu Sepatu kita bisa menjadi sarang bakteri, terutama jika kaki pemakainya termasuk yang mudah berkeringat. Jika tidak rajin dibersihkan, bau sepatu sudah bukan cerita baru lagi. Kabar baiknya, Anda bisa menggunakan alkohol 70% untuk menghilangkannya. Caranya cukup semprotkan sedikit alkohol tersebut ke dalam sepatu lalu jemur hingga kering di bawah sinar matahari. 5. Sebagai kompres dingin Kompres dingin bisa Anda gunakan untuk berbagai keperluan, seperti mengurangi rasa nyeri sendi atau pembengkakan di area tubuh. Untuk menggunakan alkohol 70% sebagai kompres dingin, berikut ini caranya: Masukkan air dan alkohol 70% dengan perbandingan 2:1 ke kantung plastik atau ziplock bag. Setelah itu, ikat atau tutup plastik dengan rapat. Namun sebelumnya, usahakan untuk mengeluarkan sebagian besar udara yang tersisa di dalam kantung, dikeluarkan. Lalu, masukkan plastik tersebut ke plastik lain dan ulangi dengan menutupnya serapat mungkin dan dengan udara sesedikit mungkin. Bekukan di dalam lemari pendingin selama beberapa jam. 6. Menjadikannya sebagai bahan pewangi ruangan Anda juga bisa menggunakan alkohol 70% sebagai disinfektan sekaligus pengharum ruangan. Caranya, cukup masukkan alkohol tersebut ke dalam botol semprot dan kemudian campurkan beberapa tetes essential oil kesukaan Anda.', '2020-06-23'),
(9, 'Vitamin C, Si Penangkal Demam Berdarah Sa<NAME>', 'Peranan Vitamin C untuk Mencegah Demam Berdarah Tubuh manusia memiliki sistem kekebalan atau sistem imunitas untuk melawan virus, bakteri, jamur, serta parasit penyebab penyakit. Namun, kekuatan sistem kekebalan setiap orang tidaklah sama dan terkadang imunitas tubuh bisa saja melemah. Saat daya tahan tubuh melemah, kemampuan tubuh untuk melawan mikroorganisme penyebab penyakit menjadi berkurang. Akibatnya, kuman penyebab penyakit dapat dengan mudah menyerang dan menyebabkan infeksi, termasuk demam berdarah. Salah satu cara yang bisa Anda lakukan untuk memperkuat sistem imunitas tubuh dan terhindar dari demam berdarah adalah mencukupi kebutuhan vitamin C. Vitamin ini dapat menjaga sistem kekebalan tubuh agar tetap kuat melawan mikroorganisme penyebab penyakit dan mencegah infeksi. Dosis rekomendasi asupan vitamin C harian yang perlu dipenuhi oleh orang dewasa adalah 75-90 mg. Vitamin ini banyak ditemukan pada sayur serta buah-buahan, dan salah satunya adalah jambu biji. Kandungan Nutrisi Jambu Biji Jambu biji atau guava sangat kaya akan vitamin C. Bahkan, kandungan vitamin C dalam jambu biji dua kali lipat lebih banyak daripada kandungan vitamin C dalam jeruk. Dalam satu buah jambu biji, terkandung sekitar 125 mg vitamin C. Jumlah ini setara dengan 140% dari angka kebutuhan vitamin C harian. Tidak hanya vitamin C, buah jambu biji pun kaya akan kandungan antioksidan, folat, vitamin A, dan serat. Nutrisi-nutrisi tersebut dapat memperkuat daya tahan tubuh untuk melawan virus Dengue penyebab demam berdarah. Selain jambu biji dan jeruk, jeruk bali, kiwi, leci, stroberi, dan pepaya juga bisa menjadi pilihan buah sumber vitamin C yang bisa Anda konsumsi. Dan bukan hanya buah-buahan, asupan vitamin C juga dapat diperoleh dari sayuran, misalnya tomat, bayam, kangkung, kentang, brokoli, dan paprika. Cara Lain Mencegah Demam Berdarah Selain menjaga daya tahan tubuh dengan mengonsumsi makanan bergizi seimbang dan memperbanyak asupan vitamin C, Anda juga perlu melakukan langkah-langkah berikut ini untuk mencegah demam berdarah: 1. Bersihkan dan tutup tempat penampung air Kuras dan bersihkan tempat penampung air, seperti bak mandi, tempayan, ember, atau pot bunga, minimal satu minggu sekali untuk mencegah nyamuk Aedes aegypti berkembang biak. Lakukan secara rutin dan jangan lupa tutup rapat tempat penampung air di rumah setiap selesai dipakai. 2. Hindari menumpuk barang bekas Air hujan bisa tertampung dalam sampah plastik, kaleng, atau sterofoam di sekitar rumah. Wadah penampung air ini dapat menjadi lingkungan yang ideal bagi nyamuk untuk berkembang biak, sehingga bisa menularkan penyakit demam berdarah. Oleh sebab itu, hindari menumpuk barang bekas di dalam rumah atau di lingkungan sekitar rumah. Lebih baik buang atau kubur barang yang sudah tidak terpakai. 3. Gunakan kasa dan kelambu Pasanglah kasa pada setiap lubang ventilasi untuk mencegah nyamuk DBD masuk ke dalam rumah. Selain itu, Anda juga bisa memasang kelambu pada tempat tidur supaya terhindar dari gigitan nyamuk. 4. Gunakan obat anti nyamuk Untuk mencegah gigitan nyamuk DBD, Anda bisa menggunakan losion antinyamuk atau menggunakan obat nyamuk dalam bentuk semprot, bakar, dan elektrik. Namun, penggunaan obat nyamuk perlu dilakukan secara berhati-hati, terutama jika ada bayi, anak-anak, atau penderita asma di dalam rumah.', '2020-06-23'),
(10, '5 Makanan Sehat Pencegah DBD', ' Diketahui DBD merupakan salah satu jenis penyakit yang disebabkan oleh virus yang dibawa oleh nyamuk Aiedes aegypti.Ada berbagai faktor yang menyebabkan seseorang bisa terserang penyakit DBD di bulan puasa ini, salah satunya adalah masalah asupan makanan yang tidak terjaga.Karenanya penting sekali bagi kita untuk memperhatikan asupan makanan yang dikonsumsi.Untuk terhindar penyakit DBD, trombosit dan sistem kekebalan tubuh harus terjaga.Diketahui dalam meningkatkan keduanya kita bisa mengonsumsi makanan sehat yang tinggi akan vitamin C dan antioksidan.Melansir dari NDTV Food, berikut makanan sumber vitamin C dan antioksidan yang bisa meminimalisir risiko terkena DBD selama berpuasa;1. Sayur bayam Bayam kaya akan vitamin C yang dapat membantu sistem imun, juga mengandung banyak antioksidan beta karoten.Dengan mengonsumsi sayur bayam kita juga dapat menaikkan level trombosit sehingga membuat tubuh terhindar dari penyakit DBD.Manfaat sayur bayam tida', '2020-06-21'),
(11, '4 Kandungan Susu yang Menyehatkan Tubuh Anda', ' Susu sering disebut sebagai minuman yang menyehatkan karena kandungan kalsium yang terkandung di dalamnya. Sebenarnya kandungan susu yang menyehatkan tidak hanya kalsium saja, masih banyak nutrisi bermanfaat lainnya dalam susu yang jarang diketahui oleh banyak orang.\r\nOleh karena itu, penting untuk mengenal berbagai kandungan susu tersebut supaya kebutuhan nutrisi Anda dapat terpenuhi dengan baik. Berikut adalah informasi seputar kandungan susu yang perlu Anda simak\r\n\r\nKandungan susu yang menyehatkan\r\nDi dalam sekitar satu gelas susu (220 ml), terdapat sekitar 122 kalori, 4,8 gram lemak, 115 mg sodium, 12 gram karbohidrat, 12 gram gula, 8 gram protein, dan 293 kalsium.\r\n\r\nSelain itu, susu juga mengandung beragam vitamin dan mineral lainnya yang baik untuk tubuh. Berikut adalah informasi lengkap seputar kandungan susu.\r\n\r\n1. Vitamin dan mineral\r\nSeperti yang diketahui banyak orang, susu merupakan sumber kalsium yang baik. Tidak hanya itu, susu juga mengandum fosfor, riboflavin, vitami', '2020-06-23');
-- --------------------------------------------------------
--
-- Table structure for table `data_deteksi`
--
CREATE TABLE `data_deteksi` (
`id_deteksi` int(11) NOT NULL,
`id_kecamatan` int(11) NOT NULL,
`id_kelurahan` int(11) NOT NULL,
`jumlah_penderita` varchar(100) NOT NULL,
`curah_hujan` varchar(100) NOT NULL,
`kelembaban_suhu` varchar(100) NOT NULL,
`latitude` varchar(100) NOT NULL,
`longitude` varchar(100) NOT NULL,
`tahun` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `data_deteksi`
--
INSERT INTO `data_deteksi` (`id_deteksi`, `id_kecamatan`, `id_kelurahan`, `jumlah_penderita`, `curah_hujan`, `kelembaban_suhu`, `latitude`, `longitude`, `tahun`) VALUES
(8, 1, 1, '10', '23', '23', '-7.930967', '112.655844', '2019'),
(9, 1, 2, '17', '13', '20', '-7.987890', '112.639449', '2019'),
(10, 1, 3, '5', '12', '28', '-7.952558', '112.648778', '2019'),
(11, 1, 4, '23', '11', '21', '-7.937414', '112.646545', '2019'),
(12, 1, 5, '27', '8', '20', '-7.967114', '112.644837', '2019'),
(13, 2, 6, '23', '10', '22', '-7.997273', ' 112.656561', '2019'),
(14, 2, 7, '9', '22', '27', '-7.992615', '112.639380', '2019'),
(15, 2, 8, '7', '9', '18', '-7.972819', '112.657482', '2019'),
(16, 2, 9, '7', '9', '12', '-8.017217', '112.637822', '2019'),
(17, 2, 10, '11', '3', '14', '-7.984604', '112.668998', '2019'),
(19, 3, 11, '7', '8', '29', '-7.973331', '112.627072', '2019'),
(20, 3, 12, '8', '11', '22', '-7.970631', '112.615296', '2019'),
(21, 3, 13, '8', '16', '29', '-7.963097', '112.631066', '2019'),
(22, 3, 14, '12', '4', '18', '-7.987382', '112.632450', '2019'),
(23, 3, 15, '9', '8', '22', '-7.979814', '112.633890', '2019'),
(24, 4, 16, '8', '22', '24', '-7.956453', '112.631475', '2019'),
(25, 4, 17, '6', '23', '26', '-7.959778', '112.613468', '2019'),
(26, 4, 18, '15', '16', '21', '-7.932564', '112.601863', '2019'),
(27, 4, 19, '17', '12', '18', '-7.943751', ' 112.608288', '2019'),
(28, 4, 20, '11', '8', '15', '-7.929689', '112.632669', '2019'),
(29, 5, 21, '14', '12', '17', '-7.992007', '112.609731', '2019'),
(30, 5, 22, '5', '21', '26', '-8.015957', '112.626963', '2019'),
(31, 5, 23, '9', '5', '12', '-7.981893', '112.604657', '2019'),
(32, 5, 24, '14', '4', '12', '-7.9880862', '112.59491', '2019'),
(33, 5, 25, '14', '13', '14', '-7.958744', '112.602762', '2019');
-- --------------------------------------------------------
--
-- Table structure for table `kecamatan`
--
CREATE TABLE `kecamatan` (
`id_kecamatan` int(11) NOT NULL,
`kecamatan` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `kecamatan`
--
INSERT INTO `kecamatan` (`id_kecamatan`, `kecamatan`) VALUES
(1, 'Belimbing'),
(2, 'Kedungkandang'),
(3, 'Klojen'),
(4, 'Lowokwaru'),
(5, 'Sukun');
-- --------------------------------------------------------
--
-- Table structure for table `kecamatan1`
--
CREATE TABLE `kecamatan1` (
`id_kecamatan` int(11) NOT NULL,
`kecamatan` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `kecamatan1`
--
INSERT INTO `kecamatan1` (`id_kecamatan`, `kecamatan`) VALUES
(1, 'Lowokwaru'),
(2, 'Sukun');
-- --------------------------------------------------------
--
-- Table structure for table `kelurahan`
--
CREATE TABLE `kelurahan` (
`id_kelurahan` int(11) NOT NULL,
`id_kecamatan_fk` int(11) NOT NULL,
`kelurahan` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `kelurahan`
--
INSERT INTO `kelurahan` (`id_kelurahan`, `id_kecamatan_fk`, `kelurahan`) VALUES
(1, 1, 'Arjosari'),
(2, 1, 'Jodipan'),
(3, 1, 'Belimbing'),
(4, 1, 'Purwodadi'),
(5, 1, 'Bunulrejo'),
(6, 2, 'Kedungkandang'),
(7, 2, 'Kotalama'),
(8, 2, 'Sawojajar'),
(9, 2, 'Bumiayu'),
(10, 2, 'Madyopuro'),
(11, 3, 'Klojen'),
(12, 3, 'Gadingsari'),
(13, 3, '<NAME>'),
(14, 3, 'Sukoharjo'),
(15, 3, 'Kiduldalem'),
(16, 4, 'Lowokwaru'),
(17, 4, 'Sumbersari'),
(18, 4, 'Tlogomas'),
(19, 4, 'Dinoyo'),
(20, 4, 'Tanjungsekar'),
(21, 5, 'Sukun'),
(22, 5, 'Gadang'),
(23, 5, 'Bandulan'),
(24, 5, 'Mulyorejo'),
(25, 5, 'Karangbesuki');
-- --------------------------------------------------------
--
-- Table structure for table `kelurahan1`
--
CREATE TABLE `kelurahan1` (
`id_kelurahan` int(11) NOT NULL,
`id_kecamatan_fk` int(11) NOT NULL,
`kelurahan` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `kelurahan1`
--
INSERT INTO `kelurahan1` (`id_kelurahan`, `id_kecamatan_fk`, `kelurahan`) VALUES
(1, 1, 'Lowokwaru'),
(2, 2, 'Sukun');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `data_artikel`
--
ALTER TABLE `data_artikel`
ADD PRIMARY KEY (`id_artikel`);
--
-- Indexes for table `data_deteksi`
--
ALTER TABLE `data_deteksi`
ADD PRIMARY KEY (`id_deteksi`),
ADD KEY `FK_data_deteksi_kecamatan` (`id_kecamatan`),
ADD KEY `FK_data_deteksi_kelurahan` (`id_kelurahan`);
--
-- Indexes for table `kecamatan`
--
ALTER TABLE `kecamatan`
ADD PRIMARY KEY (`id_kecamatan`);
--
-- Indexes for table `kecamatan1`
--
ALTER TABLE `kecamatan1`
ADD PRIMARY KEY (`id_kecamatan`);
--
-- Indexes for table `kelurahan`
--
ALTER TABLE `kelurahan`
ADD PRIMARY KEY (`id_kelurahan`);
--
-- Indexes for table `kelurahan1`
--
ALTER TABLE `kelurahan1`
ADD PRIMARY KEY (`id_kelurahan`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `data_artikel`
--
ALTER TABLE `data_artikel`
MODIFY `id_artikel` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;
--
-- AUTO_INCREMENT for table `data_deteksi`
--
ALTER TABLE `data_deteksi`
MODIFY `id_deteksi` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=34;
--
-- Constraints for dumped tables
--
--
-- Constraints for table `data_deteksi`
--
ALTER TABLE `data_deteksi`
ADD CONSTRAINT `FK_data_deteksi_kecamatan` FOREIGN KEY (`id_kecamatan`) REFERENCES `kecamatan` (`id_kecamatan`),
ADD CONSTRAINT `FK_data_deteksi_kelurahan` FOREIGN KEY (`id_kelurahan`) REFERENCES `kelurahan` (`id_kelurahan`);
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 */;
|
<filename>AuroraAppCode/senior.sql
create database senior
use senior
go
create table cameraInfo (
id int PRIMARY KEY IDENTITY(0,1),
roomNumber varchar(20),
department varchar(255),
ip varchar(20)
);
create table headsInfo(
name varchar(255),
email varchar(255) UNIQUE,
pass varchar(255),
department varchar(255) PRIMARY KEY
);
create table room(
roomNumber varchar(5),
department varchar(50)
);
insert into room values('D2','Physical Biochemistry')
insert into room values('12','Physical Biochemistry')
insert into room values('13','Physical Biochemistry')
insert into room values('404','Physical Biochemistry')
insert into room values('401','Physical Biochemistry')
insert into headsInfo values('<NAME>','<EMAIL>','1234','Applied Mathematics')
insert into cameraInfo values(45,'Applied Mathematics')
|
<reponame>DevAVIJIT7/minerva
DROP TRIGGER IF EXISTS on_update_resources_trigger ON resources;
CREATE OR REPLACE FUNCTION update_resources() RETURNS TRIGGER AS $$
BEGIN
UPDATE resources SET
tsv_text = to_tsvector('english'::regconfig, COALESCE(NEW.name, ''::character varying)::text) || to_tsvector('english'::regconfig, COALESCE(NEW.description, ''::text)) || to_tsvector('english'::regconfig, (SELECT COALESCE(string_agg(name, ' '), ''::text) from subjects where id = ANY(NEW.all_subject_ids))),
tsv_name = to_tsvector('english'::regconfig, COALESCE(NEW.name, ''::character varying)::text),
tsv_description = to_tsvector('english'::regconfig, COALESCE(NEW.description, ''::text)),
tsv_subjects = to_tsvector('english'::regconfig, (SELECT COALESCE(string_agg(name, ' '), ''::text) from subjects where id = ANY(NEW.all_subject_ids)))
WHERE id = NEW.id;
RETURN NEW;
END;
$$ LANGUAGE plpgsql;
/* create or update triggers */
CREATE TRIGGER on_update_resources_trigger AFTER UPDATE OF name, description, all_subject_ids OR INSERT ON resources FOR EACH ROW EXECUTE PROCEDURE update_resources();
|
#standardSQL
# Pages that use Feature-Policy (based on Blink features)
SELECT DISTINCT
client,
feature,
num_urls,
total_urls,
pct_urls AS pct_urls
FROM
`httparchive.blink_features.usage`
WHERE
yyyymmdd = '20210701' AND
feature LIKE '%FeaturePolicy%'
ORDER BY
feature,
client
# relevant Blink features:
# CameraDisabledByFeaturePolicyEstimate
# FeaturePolicyAllowAttribute
# FeaturePolicyAllowAttributeDeprecatedSyntax
# FeaturePolicyCommaSeparatedDeclarations
# FeaturePolicyHeader
# FeaturePolicyJSAPI
# FeaturePolicyJSAPIAllowedFeaturesDocument
# FeaturePolicyJSAPIAllowedFeaturesIFrame
# FeaturePolicyJSAPIAllowsFeatureDocument
# FeaturePolicyJSAPIAllowsFeatureIFrame
# FeaturePolicyJSAPIAllowsFeatureOriginDocument
# FeaturePolicyJSAPIFeaturesDocument
# FeaturePolicyJSAPIFeaturesIFrame
# FeaturePolicyJSAPIGetAllowlistDocument
# FeaturePolicyJSAPIGetAllowlistIFrame
# FeaturePolicyReport
# FeaturePolicyReportOnlyHeader
# FeaturePolicySemicolonSeparatedDeclarations
# GetUserMediaCameraDisallowedByFeaturePolicyInCrossOriginIframe
# GetUserMediaMicDisallowedByFeaturePolicyInCrossOriginIframe
# MicrophoneDisabledByFeaturePolicyEstimate
|
DELETE FROM fledge.statistics WHERE key IN (
'NORTH_READINGS_TO_PI',
'NORTH_STATISTICS_TO_PI',
'NORTH_READINGS_TO_HTTP',
'North Readings to PI',
'North Statistics to PI',
'North Readings to OCS'
) AND value = 0;
|
<reponame>ecktom/steampipe-mod-aws-compliance
select
-- Required Columns
arn as resource,
case
when encrypted then 'ok'
else 'alarm'
end as status,
case
when encrypted then volume_id || ' encrypted.'
else volume_id || ' not encrypted.'
end as reason,
-- Additional Dimensions
region,
account_id
from
aws_ebs_volume
where
state = 'in-use';
|
CREATE TABLE IF NOT EXISTS people
(
id BIGSERIAL PRIMARY KEY,
person JSONB NOT NULL
);
|
-- @testpoint:opengauss关键字select(保留),作为游标名
--前置条件
drop table if exists select_test cascade;
create table select_test(cid int,fid int);
--关键字不带引号-失败
start transaction;
cursor select for select * from select_test order by 1;
close select;
end;
--关键字带双引号-成功
start transaction;
cursor "select" for select * from select_test order by 1;
close "select";
end;
--关键字带单引号-合理报错
start transaction;
cursor 'select' for select * from select_test order by 1;
close 'select';
end;
--关键字带反引号-合理报错
start transaction;
cursor `select` for select * from select_test order by 1;
close `select`;
end;
--清理环境
drop table select_test cascade;
|
SELECT n.original_lead_received_date, n.original_lead_received_month,
n.original_lead_received_day, n.original_lead_received_hour,
n.state, n.is_transactional_optin, n.is_sms_marketing_optin, n.is_originated, n.customer_id,
if(lci.optout_account_email='false' or lci.optout_account_email is NULL,1,0) as is_email_transactional_optin,
if(lci.optout_marketing_email='false' or lci.optout_marketing_email is NULL,1,0) as is_email_marketing_optin,
'1' as count1, n.product, n.loan_sequence
FROM reporting.z_AFR_Normal n
left join jaglms.lms_customer_info_flat lci on lci.customer_id=n.customer_id
where n.state='TX' and n.lms_code='JAG' and n.original_lead_received_date between '2019-09-01' and '2019-11-31' and n.lead_sequence_id>0 and n.loan_sequence=1;
select * from jaglms.lms_customer_notifications where customer_id=392740;
|
<reponame>gossi/trixionary<gh_stars>0
INSERT INTO `kk_trixionary_sport`
(`title`, `slug`, `athlete_label`,
`object_slug`, `object_label`, `object_plural_label`,
`skill_slug`, `skill_label`, `skill_plural_label`, `skill_picture_url`,
`group_slug`, `group_label`, `group_plural_label`,
`transitions_slug`, `transition_label`, `transition_plural_label`,
`position_slug`, `position_label`,
`feature_composition`, `feature_tester`, `is_default`)
VALUES
('Unicycling', 'unicycling', 'Rider',
'unicycle', 'Unicycle', 'Unicycles',
'trick', 'Trick', 'Tricks', 'http://localhost/keeko/_files/managed/gossi/trixionary/unicycling/skill.jpg',
'struct', 'Struct', 'Structs',
'transitions', 'Transition', 'Transitions',
'position', 'Position',
'1', '1', '1');
INSERT INTO `kk_trixionary_object`
(`title`, `slug`, `description`, `sport_id`)
VALUES
('Freestyle', 'freestyle', 'Freestyle Unicycle', '1');
|
CREATE TABLE [CharityData].[aoo_ref]
(
[aootype] [varchar](10) NOT NULL,
[aookey] [int] NOT NULL,
[aooname] [varchar](255) NOT NULL,
[aoosort] [varchar](100) NOT NULL,
[welsh] [varchar](1) NOT NULL,
[master] [int] NULL
)
|
<reponame>ucdavis/AD419
CREATE VIEW [dbo].[AdminClusteredDepartmentsV]
AS
SELECT TOP (100) PERCENT t1.AdminClusterNo, t2.Name AS AdminClusterName, t1.HomeDeptNo, t1.Name, t1.Abbreviation, t1.SchoolCode, t1.MailCode,
t1.HomeOrgUnitCode, t1.LastActionDate
FROM dbo.Departments AS t1 INNER JOIN
dbo.Departments AS t2 ON t1.AdminClusterNo = t2.HomeDeptNo
WHERE (t1.AdminClusterNo IS NOT NULL)
GROUP BY t1.AdminClusterNo, t1.HomeDeptNo, t1.Name, t1.Abbreviation, t1.SchoolCode, t2.Name, t1.MailCode, t1.HomeOrgUnitCode, t1.LastActionDate
ORDER BY AdminClusterName, t1.AdminClusterNo, t1.HomeDeptNo, t1.Name, t1.Abbreviation, t1.SchoolCode, t1.MailCode, t1.HomeOrgUnitCode, t1.LastActionDate
|
<reponame>Bishownath/AirwayBill
-- phpMyAdmin SQL Dump
-- version 5.0.4
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Apr 24, 2021 at 09:03 AM
-- Server version: 10.4.17-MariaDB
-- PHP Version: 7.2.34
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `atlas`
--
-- --------------------------------------------------------
--
-- Table structure for table `awbs`
--
CREATE TABLE `awbs` (
`id` bigint(20) UNSIGNED NOT NULL,
`awb_number` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`status` int(11) NOT NULL DEFAULT 0,
`service_id` 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;
-- --------------------------------------------------------
--
-- Table structure for table `countries`
--
CREATE TABLE `countries` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`slug` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`code` 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;
--
-- Dumping data for table `countries`
--
INSERT INTO `countries` (`id`, `name`, `slug`, `code`, `created_at`, `updated_at`) VALUES
(1, 'Nepal', 'nepal', 'NP', '2021-04-23 03:57:24', '2021-04-23 03:57:24');
-- --------------------------------------------------------
--
-- Table structure for table `customers`
--
CREATE TABLE `customers` (
`id` bigint(20) UNSIGNED NOT NULL,
`address` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`phone` bigint(20) NOT NULL,
`reference_no` bigint(20) NOT NULL,
`user_id` bigint(20) 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 `customers`
--
INSERT INTO `customers` (`id`, `address`, `phone`, `reference_no`, `user_id`, `created_at`, `updated_at`) VALUES
(1, 'new road', 1251442, 10, 2, '2021-04-23 03:34:54', '2021-04-23 03:34:54');
-- --------------------------------------------------------
--
-- Table structure for table `c_m_s_services`
--
CREATE TABLE `c_m_s_services` (
`id` bigint(20) UNSIGNED NOT NULL,
`order` int(11) NOT NULL,
`title` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`image` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`description` text 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;
--
-- Dumping data for table `c_m_s_services`
--
INSERT INTO `c_m_s_services` (`id`, `order`, `title`, `image`, `description`, `created_at`, `updated_at`) VALUES
(3, 61, 'Courier Service', '1619202604dhl.png', 'Courier job description. Couriers are responsible for distributing packages and documents for institutions, businesses, government agencies, and individuals. They pick up documents and packages from customer´s offices or houses and then deliver them to final destinations within the same area.', '2021-04-23 12:36:37', '2021-04-23 12:45:04');
-- --------------------------------------------------------
--
-- Table structure for table `dimensions`
--
CREATE TABLE `dimensions` (
`id` bigint(20) UNSIGNED NOT NULL,
`shipment_id` bigint(20) UNSIGNED NOT NULL,
`length` smallint(6) NOT NULL,
`breadth` smallint(6) NOT NULL,
`height` smallint(6) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `failed_jobs`
--
CREATE TABLE `failed_jobs` (
`id` bigint(20) UNSIGNED NOT NULL,
`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()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `manifests`
--
CREATE TABLE `manifests` (
`id` bigint(20) UNSIGNED NOT NULL,
`flight_no` 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;
-- --------------------------------------------------------
--
-- Table structure for table `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;
--
-- 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, '2019_08_19_000000_create_failed_jobs_table', 1),
(4, '2021_01_31_093111_create_user_roles_table', 1),
(5, '2021_02_17_173749_create_profiles_table', 1),
(6, '2021_02_17_173900_create_settings_table', 1),
(7, '2021_02_17_212558_create_services_table', 1),
(8, '2021_02_18_155423_create_countries_table', 1),
(9, '2021_02_19_163445_create_shipments_table', 1),
(10, '2021_02_19_164324_create_dimensions_table', 1),
(11, '2021_02_19_215404_create_manifests_table', 1),
(12, '2021_02_25_092951_alter_table_dimensions_with_column_change', 1),
(13, '2021_03_10_102732_create_awbs_table', 1),
(14, '2021_03_13_174452_create_customers_table', 1),
(15, '2021_03_24_165542_create_sliders_table', 1),
(16, '2021_03_24_173958_create_welcome_sections_table', 1),
(17, '2021_03_24_181058_create_c_m_s_services_table', 1),
(18, '2021_03_24_183029_create_pages_table', 1);
-- --------------------------------------------------------
--
-- Table structure for table `pages`
--
CREATE TABLE `pages` (
`id` bigint(20) UNSIGNED NOT NULL,
`title` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`slug` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`image` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT 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;
--
-- Dumping data for table `pages`
--
INSERT INTO `pages` (`id`, `title`, `slug`, `image`, `description`, `created_at`, `updated_at`) VALUES
(2, 'Vel nostrud enim nis', 'vel-nostrud-enim-nis', '1619202179bak.jpeg', 'Perspiciatis sit d', '2021-04-23 12:37:59', '2021-04-23 12:37:59');
-- --------------------------------------------------------
--
-- Table structure for table `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;
-- --------------------------------------------------------
--
-- Table structure for table `profiles`
--
CREATE TABLE `profiles` (
`id` bigint(20) UNSIGNED NOT NULL,
`avatar` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`user_id` bigint(20) UNSIGNED NOT NULL,
`about` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`facebook` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`youtube` varchar(191) 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;
--
-- Dumping data for table `profiles`
--
INSERT INTO `profiles` (`id`, `avatar`, `user_id`, `about`, `facebook`, `youtube`, `created_at`, `updated_at`) VALUES
(1, '1619202300bak.jpeg', 1, 'H<NAME>', 'https://facebook.com', 'https://youtube.com', '2021-04-23 03:32:20', '2021-04-23 12:40:00'),
(2, 'uploads/avatars/male.jpg', 2, NULL, NULL, NULL, '2021-04-23 03:34:54', '2021-04-23 03:34:54');
-- --------------------------------------------------------
--
-- Table structure for table `services`
--
CREATE TABLE `services` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`slug` 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;
--
-- Dumping data for table `services`
--
INSERT INTO `services` (`id`, `name`, `slug`, `created_at`, `updated_at`) VALUES
(1, 'Express Document', 'express-document', '2021-04-23 03:32:21', '2021-04-23 03:32:21'),
(2, 'Express Parcel', 'express-parcel', '2021-04-23 03:32:21', '2021-04-23 03:32:21');
-- --------------------------------------------------------
--
-- Table structure for table `settings`
--
CREATE TABLE `settings` (
`id` bigint(20) UNSIGNED NOT NULL,
`favicon` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`company_name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`company_logo` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`company_description` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`company_email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`company_address` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`company_phone` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`company_mobile` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`copyright` text 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;
--
-- Dumping data for table `settings`
--
INSERT INTO `settings` (`id`, `favicon`, `company_name`, `company_logo`, `company_description`, `company_email`, `company_address`, `company_phone`, `company_mobile`, `copyright`, `created_at`, `updated_at`) VALUES
(1, '1619202509cosmio.png', 'Cosmio Infotech', '1619202509cosmio.png', 'cosmio info tech des', '<EMAIL>', 'Cosmio Infotech', '01-5100619', '+977-9843744484', 'Copyright © 2020 Cosmio Infotech. All Rights Reserved.', '2021-04-23 03:32:21', '2021-04-23 12:43:29');
-- --------------------------------------------------------
--
-- Table structure for table `shipments`
--
CREATE TABLE `shipments` (
`id` bigint(20) UNSIGNED NOT NULL,
`account_number` bigint(20) NOT NULL,
`awb_no` bigint(20) NOT NULL DEFAULT 1,
`customer_reference` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pradhan',
`service_id` bigint(20) UNSIGNED NOT NULL,
`shipper_name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'From',
`shipper_contact_person` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`shipper_address` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`shipper_city` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`shipper_state` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'State/Provience',
`shipper_country` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`shipper_phone` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`shipper_postcode` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'Post/Zipcode',
`receiver_name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'To',
`receiver_contact_person` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`receiver_address` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`receiver_city` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`receiver_state` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'State/Provience',
`receiver_country` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`receiver_phone` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`receiver_postcode` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'Post/Zipcode',
`goods_description` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`declared_value_for_custom` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`pieces` smallint(6) NOT NULL,
`kilograms` smallint(6) NOT NULL,
`grams` smallint(6) NOT NULL,
`manifest` tinyint(4) NOT NULL DEFAULT 0 COMMENT '1=created manifest',
`manifest_id` tinyint(4) NOT NULL DEFAULT 0,
`customer_id` int(11) NOT NULL DEFAULT 0,
`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 `shipments`
--
INSERT INTO `shipments` (`id`, `account_number`, `awb_no`, `customer_reference`, `service_id`, `shipper_name`, `shipper_contact_person`, `shipper_address`, `shipper_city`, `shipper_state`, `shipper_country`, `shipper_phone`, `shipper_postcode`, `receiver_name`, `receiver_contact_person`, `receiver_address`, `receiver_city`, `receiver_state`, `receiver_country`, `receiver_phone`, `receiver_postcode`, `goods_description`, `declared_value_for_custom`, `pieces`, `kilograms`, `grams`, `manifest`, `manifest_id`, `customer_id`, `created_at`, `updated_at`) VALUES
(12, 12345, 36, 'Deserunt quaerat Nam', 2, '<NAME>', '<NAME>', 'Iure consectetur inv', 'Dolores aspernatur l', 'Error ullamco maxime', '1', '+1 (386) 677-5595', '36253', '<NAME>', '<NAME>', 'Modi minim sit exce', 'Cum deserunt ratione', 'Suscipit cupidatat p', '1', '+1 (924) 441-2227', '42250', 'Velit non officiis a', '64', 79, 27, 97, 0, 0, 1, '2021-04-23 11:44:33', '2021-04-23 11:44:33'),
(13, 12345, 96, 'Et aliquip eu obcaec', 1, '<NAME>', '<NAME>', 'Dicta fugit ut dolo', 'Qui provident lauda', 'Impedit consequat', '1', '+1 (604) 633-9128', '34067', '<NAME>', '<NAME>', 'Accusantium a ullamc', 'Iusto irure similiqu', 'Ipsum deserunt opti', '1', '+1 (575) 458-9212', '41665', 'Nemo autem nisi quae', '66', 66, 35, 63, 0, 0, 1, '2021-04-23 11:44:44', '2021-04-23 11:44:44');
-- --------------------------------------------------------
--
-- Table structure for table `sliders`
--
CREATE TABLE `sliders` (
`id` bigint(20) UNSIGNED NOT NULL,
`order` int(11) NOT NULL,
`title` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`image` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`description` text 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;
--
-- Dumping data for table `sliders`
--
INSERT INTO `sliders` (`id`, `order`, `title`, `image`, `description`, `created_at`, `updated_at`) VALUES
(1, 23, 'Welcome', '1619201970123.jpg', 'You are welcome here', '2021-04-23 12:12:30', '2021-04-23 12:34:30');
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
CREATE TABLE `users` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`email_verified_at` timestamp NULL DEFAULT NULL,
`password` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`role_id` tinyint(4) NOT 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;
--
-- Dumping data for table `users`
--
INSERT INTO `users` (`id`, `name`, `email`, `email_verified_at`, `password`, `role_id`, `remember_token`, `created_at`, `updated_at`) VALUES
(1, 'Ramey', '<EMAIL>', NULL, '$2y$10$ueZIGzIVEDSjx4plel1YkeiKyaSU.ugczORozdivskDAKw2cCIb4K', 1, NULL, '2021-04-23 03:32:20', '2021-04-23 12:40:00'),
(2, 'sam', '<EMAIL>', NULL, '$2y$10$s1IgD.rgF0al9d3hzphKru.VP.4Ih4G2w7CrHRa/.JWuXAB/5eSlS', 3, NULL, '2021-04-23 03:34:54', '2021-04-23 03:34:54');
-- --------------------------------------------------------
--
-- Table structure for table `user_roles`
--
CREATE TABLE `user_roles` (
`id` bigint(20) UNSIGNED NOT NULL,
`role` 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;
--
-- Dumping data for table `user_roles`
--
INSERT INTO `user_roles` (`id`, `role`, `created_at`, `updated_at`) VALUES
(1, 'admin', '2021-04-23 03:32:21', '2021-04-23 03:32:21'),
(2, 'staff', '2021-04-23 03:32:21', '2021-04-23 03:32:21'),
(3, 'customer', '2021-04-23 03:32:21', '2021-04-23 03:32:21');
-- --------------------------------------------------------
--
-- Table structure for table `welcome_sections`
--
CREATE TABLE `welcome_sections` (
`id` bigint(20) UNSIGNED NOT NULL,
`title` 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;
--
-- Dumping data for table `welcome_sections`
--
INSERT INTO `welcome_sections` (`id`, `title`, `description`, `created_at`, `updated_at`) VALUES
(2, 'Airway Bill- Buddha Air Cargo Pvt Ltd', 'We make you happy !!!', '2021-04-23 12:12:02', '2021-04-23 12:35:30');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `awbs`
--
ALTER TABLE `awbs`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `countries`
--
ALTER TABLE `countries`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `countries_name_unique` (`name`);
--
-- Indexes for table `customers`
--
ALTER TABLE `customers`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `c_m_s_services`
--
ALTER TABLE `c_m_s_services`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `dimensions`
--
ALTER TABLE `dimensions`
ADD PRIMARY KEY (`id`),
ADD KEY `dimensions_shipment_id_foreign` (`shipment_id`);
--
-- Indexes for table `failed_jobs`
--
ALTER TABLE `failed_jobs`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `manifests`
--
ALTER TABLE `manifests`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `migrations`
--
ALTER TABLE `migrations`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `pages`
--
ALTER TABLE `pages`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `password_resets`
--
ALTER TABLE `password_resets`
ADD KEY `password_resets_email_index` (`email`);
--
-- Indexes for table `profiles`
--
ALTER TABLE `profiles`
ADD PRIMARY KEY (`id`),
ADD KEY `profiles_user_id_foreign` (`user_id`);
--
-- Indexes for table `services`
--
ALTER TABLE `services`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `services_name_unique` (`name`);
--
-- Indexes for table `settings`
--
ALTER TABLE `settings`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `shipments`
--
ALTER TABLE `shipments`
ADD PRIMARY KEY (`id`),
ADD KEY `shipments_service_id_foreign` (`service_id`);
--
-- Indexes for table `sliders`
--
ALTER TABLE `sliders`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `users_email_unique` (`email`);
--
-- Indexes for table `user_roles`
--
ALTER TABLE `user_roles`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `welcome_sections`
--
ALTER TABLE `welcome_sections`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `awbs`
--
ALTER TABLE `awbs`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `countries`
--
ALTER TABLE `countries`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `customers`
--
ALTER TABLE `customers`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `c_m_s_services`
--
ALTER TABLE `c_m_s_services`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT for table `dimensions`
--
ALTER TABLE `dimensions`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `failed_jobs`
--
ALTER TABLE `failed_jobs`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `manifests`
--
ALTER TABLE `manifests`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14;
--
-- AUTO_INCREMENT for table `migrations`
--
ALTER TABLE `migrations`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=19;
--
-- AUTO_INCREMENT for table `pages`
--
ALTER TABLE `pages`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `profiles`
--
ALTER TABLE `profiles`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `services`
--
ALTER TABLE `services`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `settings`
--
ALTER TABLE `settings`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `shipments`
--
ALTER TABLE `shipments`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14;
--
-- AUTO_INCREMENT for table `sliders`
--
ALTER TABLE `sliders`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `user_roles`
--
ALTER TABLE `user_roles`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT for table `welcome_sections`
--
ALTER TABLE `welcome_sections`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- Constraints for dumped tables
--
--
-- Constraints for table `dimensions`
--
ALTER TABLE `dimensions`
ADD CONSTRAINT `dimensions_shipment_id_foreign` FOREIGN KEY (`shipment_id`) REFERENCES `shipments` (`id`) ON DELETE CASCADE;
--
-- Constraints for table `profiles`
--
ALTER TABLE `profiles`
ADD CONSTRAINT `profiles_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;
--
-- Constraints for table `shipments`
--
ALTER TABLE `shipments`
ADD CONSTRAINT `shipments_service_id_foreign` FOREIGN KEY (`service_id`) REFERENCES `services` (`id`) ON DELETE CASCADE;
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
CREATE TABLE IF NOT EXISTS users (
id INTEGER PRIMARY KEY ASC,
username TEXT
);
|
USE hr
GO
-- PODPUNKT 1 --
SELECT emp.employee_id, emp.first_name, emp.last_name, emp.hire_date, jo_hi.start_date,
jo_hi.end_date
FROM employees emp, job_history jo_hi
WHERE emp.employee_id = jo_hi.employee_id
-- PODPUNKT 1.1 --
SELECT emp.employee_id, emp.first_name, emp.last_name, jh.end_date
FROM employees emp
LEFT JOIN job_history jh ON emp.employee_id = jh.employee_id
WHERE jh.employee_id IS NULL
-- PODPUNKT 2 --
SELECT emp.last_name, emp.job_id, jb.job_title
FROM employees emp, jobs jb
WHERE emp.job_id = jb.job_id
AND emp.hire_date = (SELECT min(hire_date) FROM employees)
-- PODPUNKT 3 --
DECLARE @kursor CURSOR,
@id_stanowiska VARCHAR(10),
@okreslona_stawka MONEY=5000,
@licznik INT=0
SET @kursor = CURSOR FOR
SELECT DISTINCT job_id
FROM employees
WHERE salary > @okreslona_stawka
OPEN @kursor
FETCH NEXT FROM @kursor INTO @id_stanowiska
WHILE @@fetch_status = 0
BEGIN
SET @licznik = @licznik + 1
PRINT @id_stanowiska
FETCH NEXT FROM @kursor INTO @id_stanowiska
END
IF (@licznik < 1)
PRINT 'Na zadnym stanowisku nie zarabia sie tak duzo'
ELSE
PRINT 'Wiecej zarabia sie na ' + convert(VARCHAR(10), @licznik) + ' stanowiskach'
CLOSE @kursor
DEALLOCATE @kursor
-- PODPUNKT 4 --
IF EXISTS(SELECT 1
FROM sys.objects
WHERE type = 'FN'
AND name = 'procent_pracownikow')
DROP FUNCTION procent_pracownikow
GO
CREATE FUNCTION procent_pracownikow(@id INT) RETURNS DECIMAL(10, 2)
AS
BEGIN
DECLARE @liczba_pracownikow FLOAT, @wybrani FLOAT
SET @liczba_pracownikow = (
SELECT count(employee_id)
FROM employees
)
SET @wybrani = (
SELECT count(employee_id)
FROM employees
WHERE department_id = @id
)
RETURN (@wybrani / @liczba_pracownikow) * 100
END
GO
SELECT DISTINCT department_id, dbo.procent_pracownikow(department_id) AS 'procent'
FROM employees
WHERE department_id IS NOT NULL
-- PODPUNKT 5 --
IF EXISTS(SELECT *
FROM sys.objects
WHERE type = 'TR'
AND name = 'wyzwalacz')
DROP TRIGGER wyzwalacz
CREATE TRIGGER wyzwalacz
ON employees
FOR UPDATE
AS
BEGIN
DECLARE @minimalna INT=(
SELECT min_salary
FROM jobs
WHERE job_id = (SELECT job_id FROM inserted)
)
DECLARE @maxymalna INT=(
SELECT max_salary
FROM jobs
WHERE job_id = (SELECT job_id FROM inserted)
)
DECLARE @nowapensja INT=(
SELECT salary
FROM inserted
)
DECLARE @id_osoby INT=(
SELECT employee_id
FROM inserted
)
DECLARE @stanowisko VARCHAR(10)=(SELECT job_id FROM inserted)
IF (@nowapensja > @maxymalna)
BEGIN
UPDATE employees
SET salary=@maxymalna
WHERE job_id = @stanowisko
PRINT 'Zmodyfikowano wynagrodzenie do wartości maksymalnej dla pracownika '
+ convert(VARCHAR(5), @id_osoby)
END
ELSE
IF (@nowapensja < @minimalna)
BEGIN
UPDATE employees
SET salary=@minimalna
WHERE job_id = @stanowisko
PRINT 'Zmodyfikowano wynagrodzenie do wartości minimalnej dla pracownika'
+ convert(VARCHAR(5), @id_osoby)
END
END
GO
UPDATE employees
SET salary=7000
WHERE employee_id = 120
SELECT emp.last_name, emp.salary, jb.min_salary, jb.max_salary
FROM employees emp, jobs jb
WHERE employee_id = 120
AND emp.job_id = jb.job_id
--------------------------------------------------------------------------
/*
<NAME> - <NAME>
1. Wyswietl pracownikow ktorzy juz nie pracuja
1.1. Wyswietl pracownikow aktualnie zatrudnionych - wszystkich pracownikow
bez tych w tabeli job_history
2. Wyswielt najwczesniej zatrudnionego pracownika
3. TO SAMO CO W EXTRA2.SQL - Utworz blok z zastosowaniem kursora, w ktorym:
a) wypisane zostana stanowiska (job_id) wszystkich pracownikow (tabela employees)
zarabiajacych powyzej okreslonej stawki (podanej w definicji kursora)
b) wypisujacy na koniec komunikat: Wiecej zarabia sie na ..[liczba] stanowiskach
lub na zadnym stanowisku nie zarabia sie tak duzo.
4. Napisz funkcje podajaca dla kazdego oddzialu, ile procent wszystkich pracownikow
znajduja sie w tym oddziale. Wywolaj ja wewnatrz zapytania dajacego wynik w postaci
dwoch kolumn: department_id, nazwa_funkcji
*/
--------------------------------------------------------------------------
|
DELETE FROM Product
INSERT INTO Product (Id ,Name, [Description], Price) VALUES (1, 'Intel i7 3.8Ghz', 'Description for Intel i7 3.8Ghz', 200)
INSERT INTO Product (Id ,Name, [Description], Price) VALUES (2, 'Intel i5 3.2Ghz', 'Description for Intel i5 3.2Ghz', 150)
INSERT INTO Product (Id ,Name, [Description], Price) VALUES (3, 'Intel i3 2.8Ghz', 'Description for Intel i3 2.8Ghz', 100)
INSERT INTO Product (Id ,Name, [Description], Price) VALUES (4, 'AMD Phenom X4 3.4Ghz', 'Description for AMD Phenom X4 3.4Ghz', 120)
INSERT INTO Product (Id ,Name, [Description], Price) VALUES (5, 'AMD Phenom X6 3.6Ghz', 'Description for AMD Phenom X6 3.6Ghz', 160)
INSERT INTO Product (Id ,Name, [Description], Price) VALUES (6, 'AMD Phenom X2 2.8Ghz', 'Description for AMD Phenom X2 2.8Ghz', 80)
INSERT INTO Product (Id ,Name, [Description], Price) VALUES (7, 'AMD Athlon X4 3.2Ghz', 'Description for AMD Athlon X4 3.2Ghz', 100)
INSERT INTO Product (Id ,Name, [Description], Price) VALUES (8, 'AMD Sempron 2.8Ghz', 'Description for AMD Sempron 2.8Ghz', 60)
|
<filename>sql/V2__create_users_and_roles.up.sql
BEGIN;
CREATE TABLE orgs1 (
id SERIAL PRIMARY KEY,
name VARCHAR (200) NOT NULL,
industry VARCHAR (200) NOT NULL,
status VARCHAR (20) NOT NULL,
created_at TIMESTAMP with time zone DEFAULT now() NOT NULL,
updated_at TIMESTAMP with time zone NOT NULL
);
CREATE TABLE roles1 (
id SERIAL PRIMARY KEY,
org_id INTEGER NOT NULL,
description TEXT NOT NULL,
name text NOT NULL,
system_role boolean NOT NULL,
permissions TEXT NOT NULL,
created_at TIMESTAMP with time zone DEFAULT now() NOT NULL,
updated_at TIMESTAMP with time zone NOT NULL
);
COMMIT;
|
<reponame>peterrobert/SQL_SQLZOO
SELECT COUNT(name) FROM world WHERE area > 1000000
|
<reponame>davidnarum/bebras-platform<filename>dbv_data/revisions/428/translations.sql
CREATE TABLE `translations` (
`ID` int(11) NOT NULL AUTO_INCREMENT,
`languageID` int(11) NOT NULL,
`category` varchar(50) CHARACTER SET utf8 NOT NULL,
`key` varchar(50) CHARACTER SET utf8 NOT NULL,
`translation` text CHARACTER SET utf8 NOT NULL,
PRIMARY KEY (`ID`),
UNIQUE KEY `id_in_template` (`category`,`key`),
KEY `languageID` (`languageID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
|
<gh_stars>1-10
DROP USER IF EXISTS 'blogapi'@'localhost';
CREATE USER IF NOT EXISTS 'blogapi'@'localhost'
IDENTIFIED BY 'blogapibytega4321';
GRANT ALL PRIVILEGES ON blogapi.* TO 'blogapi'@'localhost';
FLUSH PRIVILEGES;
|
<filename>049-SQLDedicatedPoolPerf/Coach/Solutions/Dataset - Scripts/1_DimDate.sql
RENAME OBJECT [DIMDATE] TO [DIMDATE_OLD]
CREATE TABLE [DBO].[DIMDATE]
(
[DATEKEY] [INT] NOT NULL,
[FULLDATEALTERNATEKEY] [DATE] NOT NULL,
[DAYNUMBEROFWEEK] [TINYINT] NOT NULL,
[ENGLISHDAYNAMEOFWEEK] [NVARCHAR](10) NOT NULL,
[SPANISHDAYNAMEOFWEEK] [NVARCHAR](10) NOT NULL,
[FRENCHDAYNAMEOFWEEK] [NVARCHAR](10) NOT NULL,
[DAYNUMBEROFMONTH] [TINYINT] NOT NULL,
[DAYNUMBEROFYEAR] [SMALLINT] NOT NULL,
[WEEKNUMBEROFYEAR] [TINYINT] NOT NULL,
[ENGLISHMONTHNAME] [NVARCHAR](10) NOT NULL,
[SPANISHMONTHNAME] [NVARCHAR](10) NOT NULL,
[FRENCHMONTHNAME] [NVARCHAR](10) NOT NULL,
[MONTHNUMBEROFYEAR] [TINYINT] NOT NULL,
[CALENDARQUARTER] [TINYINT] NOT NULL,
[CALENDARYEAR] [SMALLINT] NOT NULL,
[CALENDARSEMESTER] [TINYINT] NOT NULL,
[FISCALQUARTER] [TINYINT] NOT NULL,
[FISCALYEAR] [SMALLINT] NOT NULL,
[FISCALSEMESTER] [TINYINT] NOT NULL
)
WITH
(
DISTRIBUTION = REPLICATE,
CLUSTERED COLUMNSTORE INDEX
)
GO
;WITH
CTE AS (SELECT 1 DAYSNUM UNION ALL SELECT 1)
,CTE4 AS (SELECT A.DAYSNUM FROM CTE A, CTE B)
,CTE16 AS (SELECT A.DAYSNUM FROM CTE4 A, CTE4 B)
,CTE256 AS (SELECT A.DAYSNUM FROM CTE16 A, CTE16 B)
,CTE65536 AS (SELECT A.DAYSNUM FROM CTE256 A, CTE256 B)
,RESULTS AS (SELECT ROW_NUMBER() OVER(ORDER BY DAYSNUM)-1 DAYSNUM FROM CTE65536)
,DATES AS ( SELECT CAST(DATEADD(D,DAYSNUM,'2001-07-01') AS DATE) [DATE] FROM RESULTS WHERE DATEADD(D,DAYSNUM,'2001-07-01')<=GETDATE())
,STEP1 AS ( SELECT DISTINCT CONVERT(VARCHAR(8), DATE,112) DATEKEY
, DATE FULLDATEALTERNATEKEY
, DATEPART(WEEKDAY,DATE) [DAYNUMBEROFWEEK]
, DATENAME(WEEKDAY, DATE) [ENGLISHDAYNAMEOFWEEK]
, DATEPART(YEAR,DATE) [CALENDARYEAR]
, DATEPART(MONTH,DATE) [MONTHNUMBEROFYEAR]
, DATENAME(MONTH, DATE) [ENGLISHMONTHNAME]
, DATEPART(DAY,DATE) [DAYNUMBEROFMONTH]
, DATEPART(DAYOFYEAR,DATE) [DAYNUMBEROFYEAR]
, DATEPART(WEEK,DATE) [WEEKNUMBEROFYEAR]
, DATEPART(QUARTER,DATE) [CALENDARQUARTER]
FROM DATES )
INSERT INTO DIMDATE
SELECT
STEP1.[DATEKEY]
,STEP1.[FULLDATEALTERNATEKEY]
,STEP1.[DAYNUMBEROFWEEK]
,D.[ENGLISHDAYNAMEOFWEEK]
,D.[SPANISHDAYNAMEOFWEEK]
,D.[FRENCHDAYNAMEOFWEEK]
,STEP1.[DAYNUMBEROFMONTH]
,STEP1.[DAYNUMBEROFYEAR]
,STEP1.[WEEKNUMBEROFYEAR]
,STEP1.[ENGLISHMONTHNAME]
,M.[SPANISHMONTHNAME]
,M.[FRENCHMONTHNAME]
,STEP1.[MONTHNUMBEROFYEAR]
,STEP1.[CALENDARQUARTER]
,STEP1.[CALENDARYEAR]
,CASE WHEN STEP1.[CALENDARQUARTER] >= 3 THEN 2 ELSE 1 END AS [CALENDARSEMESTER]
,CASE WHEN STEP1.[CALENDARQUARTER] <= 2 THEN 2 + STEP1.[CALENDARQUARTER] ELSE STEP1.[CALENDARQUARTER]-2 END AS FISCALQUARTER
,CASE WHEN STEP1.[CALENDARQUARTER] >= 3 THEN STEP1.[CALENDARYEAR]+1 ELSE STEP1.[CALENDARYEAR] END AS [FISCALYEAR]
,CASE WHEN STEP1.[CALENDARQUARTER] <= 2 THEN 2 ELSE 1 END AS [FISCALSEMESTER]
FROM STEP1
INNER JOIN (SELECT DISTINCT [ENGLISHDAYNAMEOFWEEK],[SPANISHDAYNAMEOFWEEK],[FRENCHDAYNAMEOFWEEK] FROM [DBO].[DIMDATE_OLD]) D
ON D.[ENGLISHDAYNAMEOFWEEK] = STEP1.[ENGLISHDAYNAMEOFWEEK]
INNER JOIN (SELECT DISTINCT [ENGLISHMONTHNAME],[SPANISHMONTHNAME],[FRENCHMONTHNAME] FROM [DBO].[DIMDATE_OLD]) M
ON M.[ENGLISHMONTHNAME] = STEP1.[ENGLISHMONTHNAME]
|
<reponame>andrewMacmurray/realworld-hasura
CREATE VIEW user_profile AS
SELECT id AS user_id, email, username FROM users;
|
-- 14.04.2016 15:11
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Reference_Value_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAutocomplete,IsCentrallyMaintained,IsEncrypted,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,542960,0,540656,540934,17,540528,'IsRefundableConditions',TO_TIMESTAMP('2016-04-14 15:11:12','YYYY-MM-DD HH24:MI:SS'),100,'de.metas.fresh',0,'Y','N','Y','N','N','N','Gebinde Vertrag',60,TO_TIMESTAMP('2016-04-14 15:11:12','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 14.04.2016 15:11
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=540934 AND NOT EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Process_Para_ID=t.AD_Process_Para_ID)
;
|
CREATE FUNCTION `func_drawdown_update`(fund_code VARCHAR(200),nav_date_ltest Date) RETURNS decimal(8,4)
BEGIN
DECLARE mdd real; # 定义最大回撤
DECLARE high real; # 前期最高点
DECLARE temp_mdd real;
DECLARE nav_curr DOUBLE;
DECLARE date_curr date;
DECLARE existing_mdd real;
-- 定义游标
DECLARE cur CURSOR FOR SELECT nav_acc, nav_date FROM fund_nav WHERE wind_code = fund_code AND nav_date<=nav_date_ltest;
DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET date_curr = NULL;
SET mdd = 0;
OPEN cur;
-- 开始循环
read_loop: LOOP
FETCH cur into nav_curr, date_curr;
IF date_curr is null then
leave read_loop;
end IF;
SELECT MAX(nav_acc) INTO high
FROM fund_nav
WHERE wind_code = fund_code
AND nav_date < date_curr;
IF high is null or high < nav_curr then
ITERATE read_loop;
END IF;
SET temp_mdd = 1- nav_curr / high;
IF mdd < temp_mdd then
SET mdd = temp_mdd;
END IF;
END LOOP;
SELECT nav_acc_mdd INTO existing_mdd
FROM fund_info
WHERE wind_code = fund_code;
IF mdd > existing_mdd THEN
RETURN mdd;
ELSE
RETURN existing_mdd;
END IF;
END
|
-- SPDX-License-Identifier: Apache-2.0
-- Licensed to the Ed-Fi Alliance under one or more agreements.
-- The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0.
-- See the LICENSE and NOTICES files in the project root for more information.
PRINT N'Creating primary key [InterventionStaff_PK] on [edfi].[InterventionStaff]'
GO
ALTER TABLE [edfi].[InterventionStaff] ADD CONSTRAINT [InterventionStaff_PK] PRIMARY KEY CLUSTERED ([EducationOrganizationId], [InterventionIdentificationCode], [StaffUSI])
GO
PRINT N'Creating index [FK_InterventionStaff_Intervention] on [edfi].[InterventionStaff]'
GO
CREATE NONCLUSTERED INDEX [FK_InterventionStaff_Intervention] ON [edfi].[InterventionStaff] ([EducationOrganizationId], [InterventionIdentificationCode])
GO
PRINT N'Creating index [FK_InterventionStaff_Staff] on [edfi].[InterventionStaff]'
GO
CREATE NONCLUSTERED INDEX [FK_InterventionStaff_Staff] ON [edfi].[InterventionStaff] ([StaffUSI])
GO
PRINT N'Adding constraints to [edfi].[InterventionStaff]'
GO
ALTER TABLE [edfi].[InterventionStaff] ADD CONSTRAINT [InterventionStaff_DF_CreateDate] DEFAULT (getdate()) FOR [CreateDate]
GO
|
CREATE TABLE /*TABLE_PREFIX*/t_useronline (
userid VARCHAR(15) NOT NULL,
timestamp TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
PRIMARY KEY (userid)
);
|
CREATE TABLE [dbo].[TStorage]
(
--From MergedXSDs XSD
--From 'genericRailML' Namespace
[TStorageId] SMALLINT NOT NULL,
[MaximumCurrentCharging] DECIMAL(18, 6) NOT NULL,
[MaximumCurrentDischarging] DECIMAL(18, 6) NOT NULL,
[MaximumPowerCharging] DECIMAL(18, 6) NOT NULL,
[MaximumPowerDischarging] DECIMAL(18, 6) NOT NULL,
[MaximumChargingEnergy] DECIMAL(18, 6) NOT NULL,
[ChargingEfficiencyValue] DECIMAL(18, 6) NOT NULL,
[ChargingEfficiencyValueSpecified] BIT NOT NULL,
[DischargingEfficiencyValue] DECIMAL(18, 6) NOT NULL,
[DischargingEfficiencyValueSpecified] BIT NOT NULL,
[MeanStorageEfficiencyValue] DECIMAL(18, 6) NOT NULL,
[MeanStorageEfficiencyValueSpecified] BIT NOT NULL,
CONSTRAINT [PK_TStorageId] PRIMARY KEY CLUSTERED ([TStorageId] ASC)
);
|
<filename>install/spcmf.sql
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
--
-- 数据库: `thinkcmfx`
--
-- --------------------------------------------------------
--
-- 表的结构 `sp_ad`
--
CREATE TABLE `sp_ad` (
`ad_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '广告id',
`ad_name` varchar(255) NOT NULL,
`ad_content` text,
`status` int(2) NOT NULL DEFAULT '1' COMMENT '状态,1显示,0不显示',
PRIMARY KEY (`ad_id`),
KEY `ad_name` (`ad_name`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- --------------------------------------------------------
--
-- 表的结构 `sp_asset`
--
CREATE TABLE `sp_asset` (
`aid` bigint(20) NOT NULL AUTO_INCREMENT,
`key` varchar(50) NOT NULL,
`filename` varchar(50) DEFAULT NULL,
`filesize` int(11) DEFAULT NULL,
`filepath` varchar(200) NOT NULL,
`uploadtime` int(11) NOT NULL,
`status` int(2) NOT NULL DEFAULT '1',
`meta` text,
`suffix` varchar(50) DEFAULT NULL,
`download_times` int(6) NOT NULL,
PRIMARY KEY (`aid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- ----------------------------
-- Table structure for sp_auth_access
-- ----------------------------
CREATE TABLE `sp_auth_access` (
`role_id` mediumint(8) unsigned NOT NULL COMMENT '角色',
`rule_name` varchar(255) NOT NULL COMMENT '规则唯一英文标识,全小写',
`type` varchar(30) DEFAULT NULL COMMENT '权限规则分类,请加应用前缀,如admin_',
KEY `role_id` (`role_id`),
KEY `rule_name` (`rule_name`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for sp_auth_rule
-- ----------------------------
CREATE TABLE `sp_auth_rule` (
`id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT COMMENT '规则id,自增主键',
`module` varchar(20) NOT NULL COMMENT '规则所属module',
`type` varchar(30) NOT NULL DEFAULT '1' COMMENT '权限规则分类,请加应用前缀,如admin_',
`name` varchar(255) NOT NULL DEFAULT '' COMMENT '规则唯一英文标识,全小写',
`param` varchar(255) DEFAULT NULL COMMENT '额外url参数',
`title` varchar(20) NOT NULL DEFAULT '' COMMENT '规则中文描述',
`status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否有效(0:无效,1:有效)',
`condition` varchar(300) NOT NULL DEFAULT '' COMMENT '规则附加条件',
PRIMARY KEY (`id`),
KEY `module` (`module`,`status`,`type`)
) ENGINE=MyISAM AUTO_INCREMENT=156 DEFAULT CHARSET=utf8 COMMENT='权限规则表';
-- --------------------------------------------------------
--
-- 表的结构 `sp_comments`
--
CREATE TABLE `sp_comments` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`post_table` varchar(100) NOT NULL COMMENT '评论内容所在表,不带表前缀',
`post_id` int(11) unsigned NOT NULL DEFAULT '0',
`url` varchar(255) DEFAULT NULL COMMENT '原文地址',
`uid` int(11) NOT NULL DEFAULT '0' COMMENT '发表评论的用户id',
`to_uid` int(11) NOT NULL DEFAULT '0' COMMENT '被评论的用户id',
`full_name` varchar(50) DEFAULT NULL COMMENT '评论者昵称',
`email` varchar(255) DEFAULT NULL COMMENT '评论者邮箱',
`createtime` datetime NOT NULL DEFAULT '2000-01-01 00:00:00',
`content` text NOT NULL COMMENT '评论内容',
`type` smallint(1) NOT NULL DEFAULT '1' COMMENT '评论类型;1实名评论',
`parentid` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '被回复的评论id',
`path` varchar(500) DEFAULT NULL,
`status` smallint(1) NOT NULL DEFAULT '1' COMMENT '状态,1已审核,0未审核',
PRIMARY KEY (`id`),
KEY `comment_post_ID` (`post_id`),
KEY `comment_approved_date_gmt` (`status`),
KEY `comment_parent` (`parentid`),
KEY `table_id_status` (`post_table`,`post_id`,`status`),
KEY `createtime` (`createtime`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
--
-- 表的结构 `sp_common_action_log`
--
CREATE TABLE `sp_common_action_log` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user` bigint(20) DEFAULT '0' COMMENT '用户id',
`object` varchar(100) DEFAULT NULL COMMENT '访问对象的id,格式:不带前缀的表名+id;如posts1表示xx_posts表里id为1的记录',
`action` varchar(50) DEFAULT NULL COMMENT '操作名称;格式规定为:应用名+控制器+操作名;也可自己定义格式只要不发生冲突且惟一;',
`count` int(11) DEFAULT '0' COMMENT '访问次数',
`last_time` int(11) DEFAULT '0' COMMENT '最后访问的时间戳',
`ip` varchar(15) DEFAULT NULL COMMENT '访问者最后访问ip',
PRIMARY KEY (`id`),
KEY `user_object_action` (`user`,`object`,`action`),
KEY `user_object_action_ip` (`user`,`object`,`action`,`ip`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
--
-- 表的结构 `sp_guestbook`
--
CREATE TABLE `sp_guestbook` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`full_name` varchar(50) NOT NULL COMMENT '留言者姓名',
`email` varchar(100) NOT NULL COMMENT '留言者邮箱',
`title` varchar(255) DEFAULT NULL COMMENT '留言标题',
`msg` text NOT NULL COMMENT '留言内容',
`createtime` datetime NOT NULL,
`status` smallint(2) NOT NULL DEFAULT '1',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- 表的结构 `sp_links`
--
CREATE TABLE `sp_links` (
`link_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`link_url` varchar(255) NOT NULL COMMENT '友情链接地址',
`link_name` varchar(255) NOT NULL COMMENT '友情链接名称',
`link_image` varchar(255) DEFAULT NULL COMMENT '友情链接图标',
`link_target` varchar(25) NOT NULL DEFAULT '_blank' COMMENT '友情链接打开方式',
`link_description` text NOT NULL COMMENT '友情链接描述',
`link_status` int(2) NOT NULL DEFAULT '1',
`link_rating` int(11) NOT NULL DEFAULT '0' COMMENT '友情链接评级',
`link_rel` varchar(255) DEFAULT '',
`listorder` int(10) NOT NULL DEFAULT '0' COMMENT '排序',
PRIMARY KEY (`link_id`),
KEY `link_visible` (`link_status`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
-- --------------------------------------------------------
--
-- 表的结构 `sp_menu`
--
CREATE TABLE `sp_menu` (
`id` smallint(6) unsigned NOT NULL AUTO_INCREMENT,
`parentid` smallint(6) unsigned NOT NULL DEFAULT '0',
`app` char(20) NOT NULL COMMENT '应用名称app',
`model` char(20) NOT NULL COMMENT '控制器',
`action` char(20) NOT NULL COMMENT '操作名称',
`data` char(50) NOT NULL COMMENT '额外参数',
`type` tinyint(1) NOT NULL DEFAULT '0' COMMENT '菜单类型 1:权限认证+菜单;0:只作为菜单',
`status` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '状态,1显示,0不显示',
`name` varchar(50) NOT NULL COMMENT '菜单名称',
`icon` varchar(50) DEFAULT NULL COMMENT '菜单图标',
`remark` varchar(255) NOT NULL COMMENT '备注',
`listorder` smallint(6) unsigned NOT NULL DEFAULT '0' COMMENT '排序ID',
PRIMARY KEY (`id`),
KEY `status` (`status`),
KEY `parentid` (`parentid`),
KEY `model` (`model`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=156 ;
--
-- 表的结构 `sp_nav`
--
CREATE TABLE `sp_nav` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`cid` int(11) NOT NULL,
`parentid` int(11) NOT NULL,
`label` varchar(255) NOT NULL,
`target` varchar(50) DEFAULT NULL,
`href` varchar(255) NOT NULL,
`icon` varchar(255) NOT NULL,
`status` int(2) NOT NULL DEFAULT '1',
`listorder` int(6) DEFAULT '0',
`path` varchar(255) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=4 ;
-- --------------------------------------------------------
--
-- 表的结构 `sp_nav_cat`
--
CREATE TABLE `sp_nav_cat` (
`navcid` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL,
`active` int(1) NOT NULL DEFAULT '1',
`remark` text,
PRIMARY KEY (`navcid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
-- --------------------------------------------------------
--
-- 表的结构 `sp_oauth_user`
--
CREATE TABLE `sp_oauth_user` (
`id` int(20) NOT NULL AUTO_INCREMENT,
`from` varchar(20) NOT NULL COMMENT '用户来源key',
`name` varchar(30) NOT NULL COMMENT '第三方昵称',
`head_img` varchar(200) NOT NULL COMMENT '头像',
`uid` int(20) NOT NULL COMMENT '关联的本站用户id',
`create_time` datetime NOT NULL COMMENT '绑定时间',
`last_login_time` datetime NOT NULL COMMENT '最后登录时间',
`last_login_ip` varchar(16) NOT NULL COMMENT '最后登录ip',
`login_times` int(6) NOT NULL COMMENT '登录次数',
`status` tinyint(2) NOT NULL,
`access_token` varchar(60) NOT NULL,
`expires_date` int(12) NOT NULL COMMENT 'access_token过期时间',
`openid` varchar(40) NOT NULL COMMENT '第三方用户id',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
--
-- 表的结构 `sp_options`
--
CREATE TABLE `sp_options` (
`option_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`option_name` varchar(64) NOT NULL DEFAULT '',
`option_value` longtext NOT NULL,
`autoload` int(2) NOT NULL DEFAULT '1',
PRIMARY KEY (`option_id`),
UNIQUE KEY `option_name` (`option_name`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
--
-- 导出表中的数据 `sp_options`
--
INSERT INTO `sp_options` VALUES (1, 'member_email_active', '{"title":"ThinkCMF\\u90ae\\u4ef6\\u6fc0\\u6d3b\\u901a\\u77e5.","template":"<p>\\u672c\\u90ae\\u4ef6\\u6765\\u81ea<a href=\\"http:\\/\\/www.thinkcmf.com\\">ThinkCMF<\\/a><br\\/><br\\/> <strong>---------------<\\/strong><br\\/> <strong>\\u5e10\\u53f7\\u6fc0\\u6d3b\\u8bf4\\u660e<\\/strong><br\\/> <strong>---------------<\\/strong><br\\/><br\\/> \\u5c0a\\u656c\\u7684<span style=\\"FONT-SIZE: 16px; FONT-FAMILY: Arial; COLOR: rgb(51,51,51); LINE-HEIGHT: 18px; BACKGROUND-COLOR: rgb(255,255,255)\\">#username#\\uff0c\\u60a8\\u597d\\u3002<\\/span>\\u5982\\u679c\\u60a8\\u662fThinkCMF\\u7684\\u65b0\\u7528\\u6237\\uff0c\\u6216\\u5728\\u4fee\\u6539\\u60a8\\u7684\\u6ce8\\u518cEmail\\u65f6\\u4f7f\\u7528\\u4e86\\u672c\\u5730\\u5740\\uff0c\\u6211\\u4eec\\u9700\\u8981\\u5bf9\\u60a8\\u7684\\u5730\\u5740\\u6709\\u6548\\u6027\\u8fdb\\u884c\\u9a8c\\u8bc1\\u4ee5\\u907f\\u514d\\u5783\\u573e\\u90ae\\u4ef6\\u6216\\u5730\\u5740\\u88ab\\u6ee5\\u7528\\u3002<br\\/> \\u60a8\\u53ea\\u9700\\u70b9\\u51fb\\u4e0b\\u9762\\u7684\\u94fe\\u63a5\\u5373\\u53ef\\u6fc0\\u6d3b\\u60a8\\u7684\\u5e10\\u53f7\\uff1a<br\\/> <a title=\\"\\" href=\\"http:\\/\\/#link#\\" target=\\"_self\\">http:\\/\\/#link#<\\/a><br\\/> (\\u5982\\u679c\\u4e0a\\u9762\\u4e0d\\u662f\\u94fe\\u63a5\\u5f62\\u5f0f\\uff0c\\u8bf7\\u5c06\\u8be5\\u5730\\u5740\\u624b\\u5de5\\u7c98\\u8d34\\u5230\\u6d4f\\u89c8\\u5668\\u5730\\u5740\\u680f\\u518d\\u8bbf\\u95ee)<br\\/> \\u611f\\u8c22\\u60a8\\u7684\\u8bbf\\u95ee\\uff0c\\u795d\\u60a8\\u4f7f\\u7528\\u6109\\u5feb\\uff01<br\\/><br\\/> \\u6b64\\u81f4<br\\/> ThinkCMF \\u7ba1\\u7406\\u56e2\\u961f.<\\/p>"}', 1);
-- --------------------------------------------------------
CREATE TABLE `sp_plugins` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增id',
`name` varchar(50) NOT NULL COMMENT '插件名,英文',
`title` varchar(50) NOT NULL DEFAULT '' COMMENT '插件名称',
`description` text COMMENT '插件描述',
`type` tinyint(2) DEFAULT '0' COMMENT '插件类型, 1:网站;8;微信',
`status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态;1开启;',
`config` text COMMENT '插件配置',
`hooks` varchar(255) DEFAULT NULL COMMENT '实现的钩子;以“,”分隔',
`has_admin` tinyint(2) DEFAULT '0' COMMENT '插件是否有后台管理界面',
`author` varchar(50) DEFAULT '' COMMENT '插件作者',
`version` varchar(20) DEFAULT '' COMMENT '插件版本号',
`createtime` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '插件安装时间',
`listorder` smallint(6) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COMMENT='插件表';
--
-- 表的结构 `sp_posts`
--
CREATE TABLE `sp_posts` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`post_author` bigint(20) unsigned DEFAULT '0' COMMENT '发表者id',
`post_keywords` varchar(150) NOT NULL COMMENT 'seo keywords',
`post_source` varchar(150) COMMENT '转载文章的来源',
`post_date` datetime DEFAULT '2000-01-01 00:00:00' COMMENT 'post创建日期,永久不变,一般不显示给用户',
`post_content` longtext COMMENT 'post内容',
`post_title` text COMMENT 'post标题',
`post_excerpt` text COMMENT 'post摘要',
`post_status` int(2) DEFAULT '1' COMMENT 'post状态,1已审核,0未审核',
`comment_status` int(2) DEFAULT '1' COMMENT '评论状态,1允许,0不允许',
`post_modified` datetime DEFAULT '2000-01-01 00:00:00' COMMENT 'post更新时间,可在前台修改,显示给用户',
`post_content_filtered` longtext,
`post_parent` bigint(20) unsigned DEFAULT '0' COMMENT 'post的父级post id,表示post层级关系',
`post_type` int(2) DEFAULT NULL,
`post_mime_type` varchar(100) DEFAULT '',
`comment_count` bigint(20) DEFAULT '0',
`smeta` text COMMENT 'post的扩展字段,保存相关扩展属性,如缩略图;格式为json',
`post_hits` int(11) DEFAULT '0' COMMENT 'post点击数,查看数',
`post_like` int(11) DEFAULT '0' COMMENT 'post赞数',
`istop` tinyint(1) NOT NULL DEFAULT '0' COMMENT '置顶 1置顶; 0不置顶',
`recommended` tinyint(1) NOT NULL DEFAULT '0' COMMENT '推荐 1推荐 0不推荐',
PRIMARY KEY (`id`),
KEY `type_status_date` (`post_type`,`post_status`,`post_date`,`id`),
KEY `post_parent` (`post_parent`),
KEY `post_author` (`post_author`),
KEY `post_date` (`post_date`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
--
-- 表的结构 `sp_role`
--
CREATE TABLE `sp_role` (
`id` smallint(6) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(20) NOT NULL DEFAULT '角色名称',
`pid` smallint(6) DEFAULT NULL COMMENT '父角色ID',
`status` tinyint(1) unsigned DEFAULT NULL COMMENT '状态',
`remark` varchar(255) DEFAULT NULL COMMENT '备注',
`create_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '创建时间',
`update_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '更新时间',
`listorder` int(3) NOT NULL DEFAULT '0' COMMENT '排序字段',
PRIMARY KEY (`id`),
KEY `parentId` (`pid`),
KEY `status` (`status`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
--
-- 导出表中的数据 `sp_role`
--
INSERT INTO `sp_role` VALUES (1, '超级管理员', 0, 1, '拥有网站最高管理员权限!', 1329633709, 1329633709, 0);
-- --------------------------------------------------------
--
-- 表的结构 `sp_role_user`
--
CREATE TABLE `sp_role_user` (
`role_id` mediumint(9) unsigned DEFAULT NULL,
`user_id` char(32) DEFAULT NULL,
KEY `group_id` (`role_id`),
KEY `user_id` (`user_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
--
-- 导出表中的数据 `sp_role_user`
--
--
-- 表的结构 `sp_route`
--
CREATE TABLE IF NOT EXISTS `sp_route` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '路由id',
`full_url` varchar(255) DEFAULT NULL COMMENT '完整url, 如:portal/list/index?id=1',
`url` varchar(255) DEFAULT NULL COMMENT '实际显示的url',
`listorder` int(5) DEFAULT '0' COMMENT '排序,优先级,越小优先级越高',
`status` tinyint(1) DEFAULT '1' COMMENT '状态,1:启用 ;0:不启用',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- 表的结构 `sp_slide`
--
CREATE TABLE `sp_slide` (
`slide_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`slide_cid` bigint(20) NOT NULL,
`slide_name` varchar(255) NOT NULL,
`slide_pic` varchar(255) DEFAULT NULL,
`slide_url` varchar(255) DEFAULT NULL,
`slide_des` varchar(255) DEFAULT NULL,
`slide_content` text,
`slide_status` int(2) NOT NULL DEFAULT '1',
`listorder` int(10) DEFAULT '0',
PRIMARY KEY (`slide_id`),
KEY `slide_cid` (`slide_cid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
--
-- 导出表中的数据 `sp_slide`
--
-- --------------------------------------------------------
--
-- 表的结构 `sp_slide_cat`
--
CREATE TABLE `sp_slide_cat` (
`cid` bigint(20) NOT NULL AUTO_INCREMENT,
`cat_name` varchar(255) NOT NULL,
`cat_idname` varchar(255) NOT NULL,
`cat_remark` text,
`cat_status` int(2) NOT NULL DEFAULT '1',
PRIMARY KEY (`cid`),
KEY `cat_idname` (`cat_idname`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
--
-- 导出表中的数据 `sp_slide_cat`
--
-- --------------------------------------------------------
--
-- 表的结构 `sp_terms`
--
CREATE TABLE `sp_terms` (
`term_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '分类id',
`name` varchar(200) DEFAULT NULL COMMENT '分类名称',
`slug` varchar(200) DEFAULT '',
`taxonomy` varchar(32) DEFAULT NULL COMMENT '分类类型',
`description` longtext COMMENT '分类描述',
`parent` bigint(20) unsigned DEFAULT '0' COMMENT '分类父id',
`count` bigint(20) DEFAULT '0' COMMENT '分类文章数',
`path` varchar(500) DEFAULT NULL COMMENT '分类层级关系路径',
`seo_title` varchar(500) DEFAULT NULL,
`seo_keywords` varchar(500) DEFAULT NULL,
`seo_description` varchar(500) DEFAULT NULL,
`list_tpl` varchar(50) DEFAULT NULL COMMENT '分类列表模板',
`one_tpl` varchar(50) DEFAULT NULL COMMENT '分类文章页模板',
`listorder` int(5) NOT NULL DEFAULT '0' COMMENT '排序',
`status` int(2) NOT NULL DEFAULT '1' COMMENT '状态,1发布,0不发布',
PRIMARY KEY (`term_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ;
--
-- 导出表中的数据 `sp_terms`
--
INSERT INTO `sp_terms` VALUES (1, '列表演示', '', 'article', '', 0, 0, '0-1', '', '', '', 'list', 'article', 0, 1);
INSERT INTO `sp_terms` VALUES (2, '瀑布流', '', 'article', '', 0, 0, '0-2', '', '', '', 'list_masonry', 'article', 0, 1);
-- --------------------------------------------------------
--
-- 表的结构 `sp_term_relationships`
--
CREATE TABLE `sp_term_relationships` (
`tid` bigint(20) NOT NULL AUTO_INCREMENT,
`object_id` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'posts表里文章id',
`term_id` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '分类id',
`listorder` int(10) NOT NULL DEFAULT '0' COMMENT '排序',
`status` int(2) NOT NULL DEFAULT '1' COMMENT '状态,1发布,0不发布',
PRIMARY KEY (`tid`),
KEY `term_taxonomy_id` (`term_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;
-- --------------------------------------------------------
--
-- 表的结构 `sp_users`
--
CREATE TABLE `sp_users` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`user_login` varchar(60) NOT NULL DEFAULT '' COMMENT '用户名',
`user_pass` varchar(64) NOT NULL DEFAULT '' COMMENT '登录密码;sp_password加密',
`user_nicename` varchar(50) NOT NULL DEFAULT '' COMMENT '用户美名',
`user_email` varchar(100) NOT NULL DEFAULT '' COMMENT '登录邮箱',
`user_url` varchar(100) NOT NULL DEFAULT '' COMMENT '用户个人网站',
`avatar` varchar(255) DEFAULT NULL COMMENT '用户头像,相对于upload/avatar目录',
`sex` smallint(1) DEFAULT '0' COMMENT '性别;0:保密,1:男;2:女',
`birthday` date DEFAULT NULL COMMENT '生日',
`signature` varchar(255) DEFAULT NULL COMMENT '个性签名',
`last_login_ip` varchar(16) NOT NULL COMMENT '最后登录ip',
`last_login_time` datetime NOT NULL DEFAULT '2000-01-01 00:00:00' COMMENT '最后登录时间',
`create_time` datetime NOT NULL DEFAULT '2000-01-01 00:00:00' COMMENT '注册时间',
`user_activation_key` varchar(60) NOT NULL DEFAULT '' COMMENT '激活码',
`user_status` int(11) NOT NULL DEFAULT '1' COMMENT '用户状态 0:禁用; 1:正常 ;2:未验证',
`score` int(11) NOT NULL DEFAULT '0' COMMENT '用户积分',
`user_type` smallint(1) DEFAULT '1' COMMENT '用户类型,1:admin ;2:会员',
PRIMARY KEY (`id`),
KEY `user_login_key` (`user_login`),
KEY `user_nicename` (`user_nicename`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
--
-- 表的结构 `sp_user_favorites`
--
CREATE TABLE `sp_user_favorites` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uid` bigint(20) DEFAULT NULL,
`title` varchar(255) DEFAULT NULL COMMENT '收藏内容的标题',
`url` varchar(255) DEFAULT NULL COMMENT '收藏内容的原文地址,不带域名',
`description` varchar(500) DEFAULT NULL COMMENT '收藏内容的描述',
`table` varchar(50) DEFAULT NULL COMMENT '收藏实体以前所在表,不带前缀',
`object_id` int(11) DEFAULT NULL COMMENT '收藏内容原来的主键id',
`createtime` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `uid` (`uid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;
-- --------------------------------------------------------
INSERT INTO `sp_auth_rule` VALUES(1, 'Admin', 'admin_url', 'admin/content/default', NULL, '内容管理', 1, '');
INSERT INTO `sp_auth_rule` VALUES(2, 'Api', 'admin_url', 'api/guestbookadmin/index', NULL, '所有留言', 1, '');
INSERT INTO `sp_auth_rule` VALUES(3, 'Api', 'admin_url', 'api/guestbookadmin/delete', NULL, '删除网站留言', 1, '');
INSERT INTO `sp_auth_rule` VALUES(4, 'Comment', 'admin_url', 'comment/commentadmin/index', NULL, '评论管理', 1, '');
INSERT INTO `sp_auth_rule` VALUES(5, 'Comment', 'admin_url', 'comment/commentadmin/delete', NULL, '删除评论', 1, '');
INSERT INTO `sp_auth_rule` VALUES(6, 'Comment', 'admin_url', 'comment/commentadmin/check', NULL, '评论审核', 1, '');
INSERT INTO `sp_auth_rule` VALUES(7, 'Portal', 'admin_url', 'portal/adminpost/index', NULL, '文章管理', 1, '');
INSERT INTO `sp_auth_rule` VALUES(8, 'Portal', 'admin_url', 'portal/adminpost/listorders', NULL, '文章排序', 1, '');
INSERT INTO `sp_auth_rule` VALUES(9, 'Portal', 'admin_url', 'portal/adminpost/top', NULL, '文章置顶', 1, '');
INSERT INTO `sp_auth_rule` VALUES(10, 'Portal', 'admin_url', 'portal/adminpost/recommend', NULL, '文章推荐', 1, '');
INSERT INTO `sp_auth_rule` VALUES(11, 'Portal', 'admin_url', 'portal/adminpost/move', NULL, '批量移动', 1, '');
INSERT INTO `sp_auth_rule` VALUES(12, 'Portal', 'admin_url', 'portal/adminpost/check', NULL, '文章审核', 1, '');
INSERT INTO `sp_auth_rule` VALUES(13, 'Portal', 'admin_url', 'portal/adminpost/delete', NULL, '删除文章', 1, '');
INSERT INTO `sp_auth_rule` VALUES(14, 'Portal', 'admin_url', 'portal/adminpost/edit', NULL, '编辑文章', 1, '');
INSERT INTO `sp_auth_rule` VALUES(15, 'Portal', 'admin_url', 'portal/adminpost/edit_post', NULL, '提交编辑', 1, '');
INSERT INTO `sp_auth_rule` VALUES(16, 'Portal', 'admin_url', 'portal/adminpost/add', NULL, '添加文章', 1, '');
INSERT INTO `sp_auth_rule` VALUES(17, 'Portal', 'admin_url', 'portal/adminpost/add_post', NULL, '提交添加', 1, '');
INSERT INTO `sp_auth_rule` VALUES(18, 'Portal', 'admin_url', 'portal/adminterm/index', NULL, '分类管理', 1, '');
INSERT INTO `sp_auth_rule` VALUES(19, 'Portal', 'admin_url', 'portal/adminterm/listorders', NULL, '文章分类排序', 1, '');
INSERT INTO `sp_auth_rule` VALUES(20, 'Portal', 'admin_url', 'portal/adminterm/delete', NULL, '删除分类', 1, '');
INSERT INTO `sp_auth_rule` VALUES(21, 'Portal', 'admin_url', 'portal/adminterm/edit', NULL, '编辑分类', 1, '');
INSERT INTO `sp_auth_rule` VALUES(22, 'Portal', 'admin_url', 'portal/adminterm/edit_post', NULL, '提交编辑', 1, '');
INSERT INTO `sp_auth_rule` VALUES(23, 'Portal', 'admin_url', 'portal/adminterm/add', NULL, '添加分类', 1, '');
INSERT INTO `sp_auth_rule` VALUES(24, 'Portal', 'admin_url', 'portal/adminterm/add_post', NULL, '提交添加', 1, '');
INSERT INTO `sp_auth_rule` VALUES(25, 'Portal', 'admin_url', 'portal/adminpage/index', NULL, '页面管理', 1, '');
INSERT INTO `sp_auth_rule` VALUES(26, 'Portal', 'admin_url', 'portal/adminpage/listorders', NULL, '页面排序', 1, '');
INSERT INTO `sp_auth_rule` VALUES(27, 'Portal', 'admin_url', 'portal/adminpage/delete', NULL, '删除页面', 1, '');
INSERT INTO `sp_auth_rule` VALUES(28, 'Portal', 'admin_url', 'portal/adminpage/edit', NULL, '编辑页面', 1, '');
INSERT INTO `sp_auth_rule` VALUES(29, 'Portal', 'admin_url', 'portal/adminpage/edit_post', NULL, '提交编辑', 1, '');
INSERT INTO `sp_auth_rule` VALUES(30, 'Portal', 'admin_url', 'portal/adminpage/add', NULL, '添加页面', 1, '');
INSERT INTO `sp_auth_rule` VALUES(31, 'Portal', 'admin_url', 'portal/adminpage/add_post', NULL, '提交添加', 1, '');
INSERT INTO `sp_auth_rule` VALUES(32, 'Admin', 'admin_url', 'admin/recycle/default', NULL, '回收站', 1, '');
INSERT INTO `sp_auth_rule` VALUES(33, 'Portal', 'admin_url', 'portal/adminpost/recyclebin', NULL, '文章回收', 1, '');
INSERT INTO `sp_auth_rule` VALUES(34, 'Portal', 'admin_url', 'portal/adminpost/restore', NULL, '文章还原', 1, '');
INSERT INTO `sp_auth_rule` VALUES(35, 'Portal', 'admin_url', 'portal/adminpost/clean', NULL, '彻底删除', 1, '');
INSERT INTO `sp_auth_rule` VALUES(36, 'Portal', 'admin_url', 'portal/adminpage/recyclebin', NULL, '页面回收', 1, '');
INSERT INTO `sp_auth_rule` VALUES(37, 'Portal', 'admin_url', 'portal/adminpage/clean', NULL, '彻底删除', 1, '');
INSERT INTO `sp_auth_rule` VALUES(38, 'Portal', 'admin_url', 'portal/adminpage/restore', NULL, '页面还原', 1, '');
INSERT INTO `sp_auth_rule` VALUES(39, 'Admin', 'admin_url', 'admin/extension/default', NULL, '扩展工具', 1, '');
INSERT INTO `sp_auth_rule` VALUES(40, 'Admin', 'admin_url', 'admin/backup/default', NULL, '备份管理', 1, '');
INSERT INTO `sp_auth_rule` VALUES(41, 'Admin', 'admin_url', 'admin/backup/restore', NULL, '数据还原', 1, '');
INSERT INTO `sp_auth_rule` VALUES(42, 'Admin', 'admin_url', 'admin/backup/index', NULL, '数据备份', 1, '');
INSERT INTO `sp_auth_rule` VALUES(43, 'Admin', 'admin_url', 'admin/backup/index_post', NULL, '提交数据备份', 1, '');
INSERT INTO `sp_auth_rule` VALUES(44, 'Admin', 'admin_url', 'admin/backup/download', NULL, '下载备份', 1, '');
INSERT INTO `sp_auth_rule` VALUES(45, 'Admin', 'admin_url', 'admin/backup/del_backup', NULL, '删除备份', 1, '');
INSERT INTO `sp_auth_rule` VALUES(46, 'Admin', 'admin_url', 'admin/backup/import', NULL, '数据备份导入', 1, '');
INSERT INTO `sp_auth_rule` VALUES(47, 'Admin', 'admin_url', 'admin/plugin/index', NULL, '插件管理', 1, '');
INSERT INTO `sp_auth_rule` VALUES(48, 'Admin', 'admin_url', 'admin/plugin/toggle', NULL, '插件启用切换', 1, '');
INSERT INTO `sp_auth_rule` VALUES(49, 'Admin', 'admin_url', 'admin/plugin/setting', NULL, '插件设置', 1, '');
INSERT INTO `sp_auth_rule` VALUES(50, 'Admin', 'admin_url', 'admin/plugin/setting_post', NULL, '插件设置提交', 1, '');
INSERT INTO `sp_auth_rule` VALUES(51, 'Admin', 'admin_url', 'admin/plugin/install', NULL, '插件安装', 1, '');
INSERT INTO `sp_auth_rule` VALUES(52, 'Admin', 'admin_url', 'admin/plugin/uninstall', NULL, '插件卸载', 1, '');
INSERT INTO `sp_auth_rule` VALUES(53, 'Admin', 'admin_url', 'admin/slide/default', NULL, '幻灯片', 1, '');
INSERT INTO `sp_auth_rule` VALUES(54, 'Admin', 'admin_url', 'admin/slide/index', NULL, '幻灯片管理', 1, '');
INSERT INTO `sp_auth_rule` VALUES(55, 'Admin', 'admin_url', 'admin/slide/listorders', NULL, '幻灯片排序', 1, '');
INSERT INTO `sp_auth_rule` VALUES(56, 'Admin', 'admin_url', 'admin/slide/toggle', NULL, '幻灯片显示切换', 1, '');
INSERT INTO `sp_auth_rule` VALUES(57, 'Admin', 'admin_url', 'admin/slide/delete', NULL, '删除幻灯片', 1, '');
INSERT INTO `sp_auth_rule` VALUES(58, 'Admin', 'admin_url', 'admin/slide/edit', NULL, '编辑幻灯片', 1, '');
INSERT INTO `sp_auth_rule` VALUES(59, 'Admin', 'admin_url', 'admin/slide/edit_post', NULL, '提交编辑', 1, '');
INSERT INTO `sp_auth_rule` VALUES(60, 'Admin', 'admin_url', 'admin/slide/add', NULL, '添加幻灯片', 1, '');
INSERT INTO `sp_auth_rule` VALUES(61, 'Admin', 'admin_url', 'admin/slide/add_post', NULL, '提交添加', 1, '');
INSERT INTO `sp_auth_rule` VALUES(62, 'Admin', 'admin_url', 'admin/slidecat/index', NULL, '幻灯片分类', 1, '');
INSERT INTO `sp_auth_rule` VALUES(63, 'Admin', 'admin_url', 'admin/slidecat/delete', NULL, '删除分类', 1, '');
INSERT INTO `sp_auth_rule` VALUES(64, 'Admin', 'admin_url', 'admin/slidecat/edit', NULL, '编辑分类', 1, '');
INSERT INTO `sp_auth_rule` VALUES(65, 'Admin', 'admin_url', 'admin/slidecat/edit_post', NULL, '提交编辑', 1, '');
INSERT INTO `sp_auth_rule` VALUES(66, 'Admin', 'admin_url', 'admin/slidecat/add', NULL, '添加分类', 1, '');
INSERT INTO `sp_auth_rule` VALUES(67, 'Admin', 'admin_url', 'admin/slidecat/add_post', NULL, '提交添加', 1, '');
INSERT INTO `sp_auth_rule` VALUES(68, 'Admin', 'admin_url', 'admin/ad/index', NULL, '网站广告', 1, '');
INSERT INTO `sp_auth_rule` VALUES(69, 'Admin', 'admin_url', 'admin/ad/toggle', NULL, '广告显示切换', 1, '');
INSERT INTO `sp_auth_rule` VALUES(70, 'Admin', 'admin_url', 'admin/ad/delete', NULL, '删除广告', 1, '');
INSERT INTO `sp_auth_rule` VALUES(71, 'Admin', 'admin_url', 'admin/ad/edit', NULL, '编辑广告', 1, '');
INSERT INTO `sp_auth_rule` VALUES(72, 'Admin', 'admin_url', 'admin/ad/edit_post', NULL, '提交编辑', 1, '');
INSERT INTO `sp_auth_rule` VALUES(73, 'Admin', 'admin_url', 'admin/ad/add', NULL, '添加广告', 1, '');
INSERT INTO `sp_auth_rule` VALUES(74, 'Admin', 'admin_url', 'admin/ad/add_post', NULL, '提交添加', 1, '');
INSERT INTO `sp_auth_rule` VALUES(75, 'Admin', 'admin_url', 'admin/link/index', NULL, '友情链接', 1, '');
INSERT INTO `sp_auth_rule` VALUES(76, 'Admin', 'admin_url', 'admin/link/listorders', NULL, '友情链接排序', 1, '');
INSERT INTO `sp_auth_rule` VALUES(77, 'Admin', 'admin_url', 'admin/link/toggle', NULL, '友链显示切换', 1, '');
INSERT INTO `sp_auth_rule` VALUES(78, 'Admin', 'admin_url', 'admin/link/delete', NULL, '删除友情链接', 1, '');
INSERT INTO `sp_auth_rule` VALUES(79, 'Admin', 'admin_url', 'admin/link/edit', NULL, '编辑友情链接', 1, '');
INSERT INTO `sp_auth_rule` VALUES(80, 'Admin', 'admin_url', 'admin/link/edit_post', NULL, '提交编辑', 1, '');
INSERT INTO `sp_auth_rule` VALUES(81, 'Admin', 'admin_url', 'admin/link/add', NULL, '添加友情链接', 1, '');
INSERT INTO `sp_auth_rule` VALUES(82, 'Admin', 'admin_url', 'admin/link/add_post', NULL, '提交添加', 1, '');
INSERT INTO `sp_auth_rule` VALUES(83, 'Api', 'admin_url', 'api/oauthadmin/setting', NULL, '第三方登陆', 1, '');
INSERT INTO `sp_auth_rule` VALUES(84, 'Api', 'admin_url', 'api/oauthadmin/setting_post', NULL, '提交设置', 1, '');
INSERT INTO `sp_auth_rule` VALUES(85, 'Admin', 'admin_url', 'admin/menu/default', NULL, '菜单管理', 1, '');
INSERT INTO `sp_auth_rule` VALUES(86, 'Admin', 'admin_url', 'admin/navcat/default1', NULL, '前台菜单', 1, '');
INSERT INTO `sp_auth_rule` VALUES(87, 'Admin', 'admin_url', 'admin/nav/index', NULL, '菜单管理', 1, '');
INSERT INTO `sp_auth_rule` VALUES(88, 'Admin', 'admin_url', 'admin/nav/listorders', NULL, '前台导航排序', 1, '');
INSERT INTO `sp_auth_rule` VALUES(89, 'Admin', 'admin_url', 'admin/nav/delete', NULL, '删除菜单', 1, '');
INSERT INTO `sp_auth_rule` VALUES(90, 'Admin', 'admin_url', 'admin/nav/edit', NULL, '编辑菜单', 1, '');
INSERT INTO `sp_auth_rule` VALUES(91, 'Admin', 'admin_url', 'admin/nav/edit_post', NULL, '提交编辑', 1, '');
INSERT INTO `sp_auth_rule` VALUES(92, 'Admin', 'admin_url', 'admin/nav/add', NULL, '添加菜单', 1, '');
INSERT INTO `sp_auth_rule` VALUES(93, 'Admin', 'admin_url', 'admin/nav/add_post', NULL, '提交添加', 1, '');
INSERT INTO `sp_auth_rule` VALUES(94, 'Admin', 'admin_url', 'admin/navcat/index', NULL, '菜单分类', 1, '');
INSERT INTO `sp_auth_rule` VALUES(95, 'Admin', 'admin_url', 'admin/navcat/delete', NULL, '删除分类', 1, '');
INSERT INTO `sp_auth_rule` VALUES(96, 'Admin', 'admin_url', 'admin/navcat/edit', NULL, '编辑分类', 1, '');
INSERT INTO `sp_auth_rule` VALUES(97, 'Admin', 'admin_url', 'admin/navcat/edit_post', NULL, '提交编辑', 1, '');
INSERT INTO `sp_auth_rule` VALUES(98, 'Admin', 'admin_url', 'admin/navcat/add', NULL, '添加分类', 1, '');
INSERT INTO `sp_auth_rule` VALUES(99, 'Admin', 'admin_url', 'admin/navcat/add_post', NULL, '提交添加', 1, '');
INSERT INTO `sp_auth_rule` VALUES(100, 'Admin', 'admin_url', 'admin/menu/index', NULL, '后台菜单', 1, '');
INSERT INTO `sp_auth_rule` VALUES(101, 'Admin', 'admin_url', 'admin/menu/add', NULL, '添加菜单', 1, '');
INSERT INTO `sp_auth_rule` VALUES(102, 'Admin', 'admin_url', 'admin/menu/add_post', NULL, '提交添加', 1, '');
INSERT INTO `sp_auth_rule` VALUES(103, 'Admin', 'admin_url', 'admin/menu/listorders', NULL, '后台菜单排序', 1, '');
INSERT INTO `sp_auth_rule` VALUES(104, 'Admin', 'admin_url', 'admin/menu/export_menu', NULL, '菜单备份', 1, '');
INSERT INTO `sp_auth_rule` VALUES(105, 'Admin', 'admin_url', 'admin/menu/edit', NULL, '编辑菜单', 1, '');
INSERT INTO `sp_auth_rule` VALUES(106, 'Admin', 'admin_url', 'admin/menu/edit_post', NULL, '提交编辑', 1, '');
INSERT INTO `sp_auth_rule` VALUES(107, 'Admin', 'admin_url', 'admin/menu/delete', NULL, '删除菜单', 1, '');
INSERT INTO `sp_auth_rule` VALUES(108, 'Admin', 'admin_url', 'admin/menu/lists', NULL, '所有菜单', 1, '');
INSERT INTO `sp_auth_rule` VALUES(109, 'Admin', 'admin_url', 'admin/setting/default', NULL, '设置', 1, '');
INSERT INTO `sp_auth_rule` VALUES(110, 'Admin', 'admin_url', 'admin/setting/userdefault', NULL, '个人信息', 1, '');
INSERT INTO `sp_auth_rule` VALUES(111, 'Admin', 'admin_url', 'admin/user/userinfo', NULL, '修改信息', 1, '');
INSERT INTO `sp_auth_rule` VALUES(112, 'Admin', 'admin_url', 'admin/user/userinfo_post', NULL, '修改信息提交', 1, '');
INSERT INTO `sp_auth_rule` VALUES(113, 'Admin', 'admin_url', 'admin/setting/password', NULL, '修改密码', 1, '');
INSERT INTO `sp_auth_rule` VALUES(114, 'Admin', 'admin_url', 'admin/setting/password_post', NULL, '提交修改', 1, '');
INSERT INTO `sp_auth_rule` VALUES(115, 'Admin', 'admin_url', 'admin/setting/site', NULL, '网站信息', 1, '');
INSERT INTO `sp_auth_rule` VALUES(116, 'Admin', 'admin_url', 'admin/setting/site_post', NULL, '提交修改', 1, '');
INSERT INTO `sp_auth_rule` VALUES(117, 'Admin', 'admin_url', 'admin/route/index', NULL, '路由列表', 1, '');
INSERT INTO `sp_auth_rule` VALUES(118, 'Admin', 'admin_url', 'admin/route/add', NULL, '路由添加', 1, '');
INSERT INTO `sp_auth_rule` VALUES(119, 'Admin', 'admin_url', 'admin/route/add_post', NULL, '路由添加提交', 1, '');
INSERT INTO `sp_auth_rule` VALUES(120, 'Admin', 'admin_url', 'admin/route/edit', NULL, '路由编辑', 1, '');
INSERT INTO `sp_auth_rule` VALUES(121, 'Admin', 'admin_url', 'admin/route/edit_post', NULL, '路由编辑提交', 1, '');
INSERT INTO `sp_auth_rule` VALUES(122, 'Admin', 'admin_url', 'admin/route/delete', NULL, '路由删除', 1, '');
INSERT INTO `sp_auth_rule` VALUES(123, 'Admin', 'admin_url', 'admin/route/ban', NULL, '路由禁止', 1, '');
INSERT INTO `sp_auth_rule` VALUES(124, 'Admin', 'admin_url', 'admin/route/open', NULL, '路由启用', 1, '');
INSERT INTO `sp_auth_rule` VALUES(125, 'Admin', 'admin_url', 'admin/route/listorders', NULL, '路由排序', 1, '');
INSERT INTO `sp_auth_rule` VALUES(126, 'Admin', 'admin_url', 'admin/mailer/default', NULL, '邮箱配置', 1, '');
INSERT INTO `sp_auth_rule` VALUES(127, 'Admin', 'admin_url', 'admin/mailer/index', NULL, 'SMTP配置', 1, '');
INSERT INTO `sp_auth_rule` VALUES(128, 'Admin', 'admin_url', 'admin/mailer/index_post', NULL, '提交配置', 1, '');
INSERT INTO `sp_auth_rule` VALUES(129, 'Admin', 'admin_url', 'admin/mailer/active', NULL, '邮件模板', 1, '');
INSERT INTO `sp_auth_rule` VALUES(130, 'Admin', 'admin_url', 'admin/mailer/active_post', NULL, '提交模板', 1, '');
INSERT INTO `sp_auth_rule` VALUES(131, 'Admin', 'admin_url', 'admin/setting/clearcache', NULL, '清除缓存', 1, '');
INSERT INTO `sp_auth_rule` VALUES(132, 'User', 'admin_url', 'user/indexadmin/default', NULL, '用户管理', 1, '');
INSERT INTO `sp_auth_rule` VALUES(133, 'User', 'admin_url', 'user/indexadmin/default1', NULL, '用户组', 1, '');
INSERT INTO `sp_auth_rule` VALUES(134, 'User', 'admin_url', 'user/indexadmin/index', NULL, '本站用户', 1, '');
INSERT INTO `sp_auth_rule` VALUES(135, 'User', 'admin_url', 'user/indexadmin/ban', NULL, '拉黑会员', 1, '');
INSERT INTO `sp_auth_rule` VALUES(136, 'User', 'admin_url', 'user/indexadmin/cancelban', NULL, '启用会员', 1, '');
INSERT INTO `sp_auth_rule` VALUES(137, 'User', 'admin_url', 'user/oauthadmin/index', NULL, '第三方用户', 1, '');
INSERT INTO `sp_auth_rule` VALUES(138, 'User', 'admin_url', 'user/oauthadmin/delete', NULL, '第三方用户解绑', 1, '');
INSERT INTO `sp_auth_rule` VALUES(139, 'User', 'admin_url', 'user/indexadmin/default3', NULL, '管理组', 1, '');
INSERT INTO `sp_auth_rule` VALUES(140, 'Admin', 'admin_url', 'admin/rbac/index', NULL, '角色管理', 1, '');
INSERT INTO `sp_auth_rule` VALUES(141, 'Admin', 'admin_url', 'admin/rbac/member', NULL, '成员管理', 1, '');
INSERT INTO `sp_auth_rule` VALUES(142, 'Admin', 'admin_url', 'admin/rbac/authorize', NULL, '权限设置', 1, '');
INSERT INTO `sp_auth_rule` VALUES(143, 'Admin', 'admin_url', 'admin/rbac/authorize_post', NULL, '提交设置', 1, '');
INSERT INTO `sp_auth_rule` VALUES(144, 'Admin', 'admin_url', 'admin/rbac/roleedit', NULL, '编辑角色', 1, '');
INSERT INTO `sp_auth_rule` VALUES(145, 'Admin', 'admin_url', 'admin/rbac/roleedit_post', NULL, '提交编辑', 1, '');
INSERT INTO `sp_auth_rule` VALUES(146, 'Admin', 'admin_url', 'admin/rbac/roledelete', NULL, '删除角色', 1, '');
INSERT INTO `sp_auth_rule` VALUES(147, 'Admin', 'admin_url', 'admin/rbac/roleadd', NULL, '添加角色', 1, '');
INSERT INTO `sp_auth_rule` VALUES(148, 'Admin', 'admin_url', 'admin/rbac/roleadd_post', NULL, '提交添加', 1, '');
INSERT INTO `sp_auth_rule` VALUES(149, 'Admin', 'admin_url', 'admin/user/index', NULL, '管理员', 1, '');
INSERT INTO `sp_auth_rule` VALUES(150, 'Admin', 'admin_url', 'admin/user/delete', NULL, '删除管理员', 1, '');
INSERT INTO `sp_auth_rule` VALUES(151, 'Admin', 'admin_url', 'admin/user/edit', NULL, '管理员编辑', 1, '');
INSERT INTO `sp_auth_rule` VALUES(152, 'Admin', 'admin_url', 'admin/user/edit_post', NULL, '编辑提交', 1, '');
INSERT INTO `sp_auth_rule` VALUES(153, 'Admin', 'admin_url', 'admin/user/add', NULL, '管理员添加', 1, '');
INSERT INTO `sp_auth_rule` VALUES(154, 'Admin', 'admin_url', 'admin/user/add_post', NULL, '添加提交', 1, '');
INSERT INTO `sp_auth_rule` VALUES(155, 'Admin', 'admin_url', 'admin/plugin/update', NULL, '插件更新', 1, '');
INSERT INTO `sp_auth_rule` VALUES(156, 'Admin', 'admin_url', 'admin/storage/index', NULL, '文件存储', 1, '');
INSERT INTO `sp_auth_rule` VALUES(157, 'Admin', 'admin_url', 'admin/storage/setting_post', NULL, '文件存储设置提交', 1, '');
INSERT INTO `sp_auth_rule` VALUES(158, 'Admin', 'admin_url', 'admin/slide/ban', NULL, '禁用幻灯片', 1, '');
INSERT INTO `sp_auth_rule` VALUES(159, 'Admin', 'admin_url', 'admin/slide/cancelban', NULL, '启用幻灯片', 1, '');
INSERT INTO `sp_auth_rule` VALUES(160, 'Admin', 'admin_url', 'admin/user/ban', NULL, '禁用管理员', 1, '');
INSERT INTO `sp_auth_rule` VALUES(161, 'Admin', 'admin_url', 'admin/user/cancelban', NULL, '启用管理员', 1, '');
--
-- 导出表中的数据 `sp_links`
--
INSERT INTO `sp_links` VALUES (1, 'http://www.thinkcmf.com', 'ThinkCMF', '', '_blank', '', 1, 0, '', 0);
--
-- 导出表中的数据 `sp_menu`
--
INSERT INTO `sp_menu` VALUES(1, 0, 'Admin', 'Content', 'default', '', 0, 1, '内容管理', 'th', '', 30);
INSERT INTO `sp_menu` VALUES(2, 1, 'Api', 'Guestbookadmin', 'index', '', 1, 1, '所有留言', '', '', 0);
INSERT INTO `sp_menu` VALUES(3, 2, 'Api', 'Guestbookadmin', 'delete', '', 1, 0, '删除网站留言', '', '', 0);
INSERT INTO `sp_menu` VALUES(4, 1, 'Comment', 'Commentadmin', 'index', '', 1, 1, '评论管理', '', '', 0);
INSERT INTO `sp_menu` VALUES(5, 4, 'Comment', 'Commentadmin', 'delete', '', 1, 0, '删除评论', '', '', 0);
INSERT INTO `sp_menu` VALUES(6, 4, 'Comment', 'Commentadmin', 'check', '', 1, 0, '评论审核', '', '', 0);
INSERT INTO `sp_menu` VALUES(7, 1, 'Portal', 'AdminPost', 'index', '', 1, 1, '文章管理', '', '', 1);
INSERT INTO `sp_menu` VALUES(8, 7, 'Portal', 'AdminPost', 'listorders', '', 1, 0, '文章排序', '', '', 0);
INSERT INTO `sp_menu` VALUES(9, 7, 'Portal', 'AdminPost', 'top', '', 1, 0, '文章置顶', '', '', 0);
INSERT INTO `sp_menu` VALUES(10, 7, 'Portal', 'AdminPost', 'recommend', '', 1, 0, '文章推荐', '', '', 0);
INSERT INTO `sp_menu` VALUES(11, 7, 'Portal', 'AdminPost', 'move', '', 1, 0, '批量移动', '', '', 1000);
INSERT INTO `sp_menu` VALUES(12, 7, 'Portal', 'AdminPost', 'check', '', 1, 0, '文章审核', '', '', 1000);
INSERT INTO `sp_menu` VALUES(13, 7, 'Portal', 'AdminPost', 'delete', '', 1, 0, '删除文章', '', '', 1000);
INSERT INTO `sp_menu` VALUES(14, 7, 'Portal', 'AdminPost', 'edit', '', 1, 0, '编辑文章', '', '', 1000);
INSERT INTO `sp_menu` VALUES(15, 14, 'Portal', 'AdminPost', 'edit_post', '', 1, 0, '提交编辑', '', '', 0);
INSERT INTO `sp_menu` VALUES(16, 7, 'Portal', 'AdminPost', 'add', '', 1, 0, '添加文章', '', '', 1000);
INSERT INTO `sp_menu` VALUES(17, 16, 'Portal', 'AdminPost', 'add_post', '', 1, 0, '提交添加', '', '', 0);
INSERT INTO `sp_menu` VALUES(18, 1, 'Portal', 'AdminTerm', 'index', '', 0, 1, '分类管理', '', '', 2);
INSERT INTO `sp_menu` VALUES(19, 18, 'Portal', 'AdminTerm', 'listorders', '', 1, 0, '文章分类排序', '', '', 0);
INSERT INTO `sp_menu` VALUES(20, 18, 'Portal', 'AdminTerm', 'delete', '', 1, 0, '删除分类', '', '', 1000);
INSERT INTO `sp_menu` VALUES(21, 18, 'Portal', 'AdminTerm', 'edit', '', 1, 0, '编辑分类', '', '', 1000);
INSERT INTO `sp_menu` VALUES(22, 21, 'Portal', 'AdminTerm', 'edit_post', '', 1, 0, '提交编辑', '', '', 0);
INSERT INTO `sp_menu` VALUES(23, 18, 'Portal', 'AdminTerm', 'add', '', 1, 0, '添加分类', '', '', 1000);
INSERT INTO `sp_menu` VALUES(24, 23, 'Portal', 'AdminTerm', 'add_post', '', 1, 0, '提交添加', '', '', 0);
INSERT INTO `sp_menu` VALUES(25, 1, 'Portal', 'AdminPage', 'index', '', 1, 1, '页面管理', '', '', 3);
INSERT INTO `sp_menu` VALUES(26, 25, 'Portal', 'AdminPage', 'listorders', '', 1, 0, '页面排序', '', '', 0);
INSERT INTO `sp_menu` VALUES(27, 25, 'Portal', 'AdminPage', 'delete', '', 1, 0, '删除页面', '', '', 1000);
INSERT INTO `sp_menu` VALUES(28, 25, 'Portal', 'AdminPage', 'edit', '', 1, 0, '编辑页面', '', '', 1000);
INSERT INTO `sp_menu` VALUES(29, 28, 'Portal', 'AdminPage', 'edit_post', '', 1, 0, '提交编辑', '', '', 0);
INSERT INTO `sp_menu` VALUES(30, 25, 'Portal', 'AdminPage', 'add', '', 1, 0, '添加页面', '', '', 1000);
INSERT INTO `sp_menu` VALUES(31, 30, 'Portal', 'AdminPage', 'add_post', '', 1, 0, '提交添加', '', '', 0);
INSERT INTO `sp_menu` VALUES(32, 1, 'Admin', 'Recycle', 'default', '', 1, 1, '回收站', '', '', 4);
INSERT INTO `sp_menu` VALUES(33, 32, 'Portal', 'AdminPost', 'recyclebin', '', 1, 1, '文章回收', '', '', 0);
INSERT INTO `sp_menu` VALUES(34, 33, 'Portal', 'AdminPost', 'restore', '', 1, 0, '文章还原', '', '', 1000);
INSERT INTO `sp_menu` VALUES(35, 33, 'Portal', 'AdminPost', 'clean', '', 1, 0, '彻底删除', '', '', 1000);
INSERT INTO `sp_menu` VALUES(36, 32, 'Portal', 'AdminPage', 'recyclebin', '', 1, 1, '页面回收', '', '', 1);
INSERT INTO `sp_menu` VALUES(37, 36, 'Portal', 'AdminPage', 'clean', '', 1, 0, '彻底删除', '', '', 1000);
INSERT INTO `sp_menu` VALUES(38, 36, 'Portal', 'AdminPage', 'restore', '', 1, 0, '页面还原', '', '', 1000);
INSERT INTO `sp_menu` VALUES(39, 0, 'Admin', 'Extension', 'default', '', 0, 1, '扩展工具', 'cloud', '', 40);
INSERT INTO `sp_menu` VALUES(40, 39, 'Admin', 'Backup', 'default', '', 1, 1, '备份管理', '', '', 0);
INSERT INTO `sp_menu` VALUES(41, 40, 'Admin', 'Backup', 'restore', '', 1, 1, '数据还原', '', '', 0);
INSERT INTO `sp_menu` VALUES(42, 40, 'Admin', 'Backup', 'index', '', 1, 1, '数据备份', '', '', 0);
INSERT INTO `sp_menu` VALUES(43, 42, 'Admin', 'Backup', 'index_post', '', 1, 0, '提交数据备份', '', '', 0);
INSERT INTO `sp_menu` VALUES(44, 40, 'Admin', 'Backup', 'download', '', 1, 0, '下载备份', '', '', 1000);
INSERT INTO `sp_menu` VALUES(45, 40, 'Admin', 'Backup', 'del_backup', '', 1, 0, '删除备份', '', '', 1000);
INSERT INTO `sp_menu` VALUES(46, 40, 'Admin', 'Backup', 'import', '', 1, 0, '数据备份导入', '', '', 1000);
INSERT INTO `sp_menu` VALUES(47, 39, 'Admin', 'Plugin', 'index', '', 1, 1, '插件管理', '', '', 0);
INSERT INTO `sp_menu` VALUES(48, 47, 'Admin', 'Plugin', 'toggle', '', 1, 0, '插件启用切换', '', '', 0);
INSERT INTO `sp_menu` VALUES(49, 47, 'Admin', 'Plugin', 'setting', '', 1, 0, '插件设置', '', '', 0);
INSERT INTO `sp_menu` VALUES(50, 49, 'Admin', 'Plugin', 'setting_post', '', 1, 0, '插件设置提交', '', '', 0);
INSERT INTO `sp_menu` VALUES(51, 47, 'Admin', 'Plugin', 'install', '', 1, 0, '插件安装', '', '', 0);
INSERT INTO `sp_menu` VALUES(52, 47, 'Admin', 'Plugin', 'uninstall', '', 1, 0, '插件卸载', '', '', 0);
INSERT INTO `sp_menu` VALUES(53, 39, 'Admin', 'Slide', 'default', '', 1, 1, '幻灯片', '', '', 1);
INSERT INTO `sp_menu` VALUES(54, 53, 'Admin', 'Slide', 'index', '', 1, 1, '幻灯片管理', '', '', 0);
INSERT INTO `sp_menu` VALUES(55, 54, 'Admin', 'Slide', 'listorders', '', 1, 0, '幻灯片排序', '', '', 0);
INSERT INTO `sp_menu` VALUES(56, 54, 'Admin', 'Slide', 'toggle', '', 1, 0, '幻灯片显示切换', '', '', 0);
INSERT INTO `sp_menu` VALUES(57, 54, 'Admin', 'Slide', 'delete', '', 1, 0, '删除幻灯片', '', '', 1000);
INSERT INTO `sp_menu` VALUES(58, 54, 'Admin', 'Slide', 'edit', '', 1, 0, '编辑幻灯片', '', '', 1000);
INSERT INTO `sp_menu` VALUES(59, 58, 'Admin', 'Slide', 'edit_post', '', 1, 0, '提交编辑', '', '', 0);
INSERT INTO `sp_menu` VALUES(60, 54, 'Admin', 'Slide', 'add', '', 1, 0, '添加幻灯片', '', '', 1000);
INSERT INTO `sp_menu` VALUES(61, 60, 'Admin', 'Slide', 'add_post', '', 1, 0, '提交添加', '', '', 0);
INSERT INTO `sp_menu` VALUES(62, 53, 'Admin', 'Slidecat', 'index', '', 1, 1, '幻灯片分类', '', '', 0);
INSERT INTO `sp_menu` VALUES(63, 62, 'Admin', 'Slidecat', 'delete', '', 1, 0, '删除分类', '', '', 1000);
INSERT INTO `sp_menu` VALUES(64, 62, 'Admin', 'Slidecat', 'edit', '', 1, 0, '编辑分类', '', '', 1000);
INSERT INTO `sp_menu` VALUES(65, 64, 'Admin', 'Slidecat', 'edit_post', '', 1, 0, '提交编辑', '', '', 0);
INSERT INTO `sp_menu` VALUES(66, 62, 'Admin', 'Slidecat', 'add', '', 1, 0, '添加分类', '', '', 1000);
INSERT INTO `sp_menu` VALUES(67, 66, 'Admin', 'Slidecat', 'add_post', '', 1, 0, '提交添加', '', '', 0);
INSERT INTO `sp_menu` VALUES(68, 39, 'Admin', 'Ad', 'index', '', 1, 1, '网站广告', '', '', 2);
INSERT INTO `sp_menu` VALUES(69, 68, 'Admin', 'Ad', 'toggle', '', 1, 0, '广告显示切换', '', '', 0);
INSERT INTO `sp_menu` VALUES(70, 68, 'Admin', 'Ad', 'delete', '', 1, 0, '删除广告', '', '', 1000);
INSERT INTO `sp_menu` VALUES(71, 68, 'Admin', 'Ad', 'edit', '', 1, 0, '编辑广告', '', '', 1000);
INSERT INTO `sp_menu` VALUES(72, 71, 'Admin', 'Ad', 'edit_post', '', 1, 0, '提交编辑', '', '', 0);
INSERT INTO `sp_menu` VALUES(73, 68, 'Admin', 'Ad', 'add', '', 1, 0, '添加广告', '', '', 1000);
INSERT INTO `sp_menu` VALUES(74, 73, 'Admin', 'Ad', 'add_post', '', 1, 0, '提交添加', '', '', 0);
INSERT INTO `sp_menu` VALUES(75, 39, 'Admin', 'Link', 'index', '', 0, 1, '友情链接', '', '', 3);
INSERT INTO `sp_menu` VALUES(76, 75, 'Admin', 'Link', 'listorders', '', 1, 0, '友情链接排序', '', '', 0);
INSERT INTO `sp_menu` VALUES(77, 75, 'Admin', 'Link', 'toggle', '', 1, 0, '友链显示切换', '', '', 0);
INSERT INTO `sp_menu` VALUES(78, 75, 'Admin', 'Link', 'delete', '', 1, 0, '删除友情链接', '', '', 1000);
INSERT INTO `sp_menu` VALUES(79, 75, 'Admin', 'Link', 'edit', '', 1, 0, '编辑友情链接', '', '', 1000);
INSERT INTO `sp_menu` VALUES(80, 79, 'Admin', 'Link', 'edit_post', '', 1, 0, '提交编辑', '', '', 0);
INSERT INTO `sp_menu` VALUES(81, 75, 'Admin', 'Link', 'add', '', 1, 0, '添加友情链接', '', '', 1000);
INSERT INTO `sp_menu` VALUES(82, 81, 'Admin', 'Link', 'add_post', '', 1, 0, '提交添加', '', '', 0);
INSERT INTO `sp_menu` VALUES(83, 39, 'Api', 'Oauthadmin', 'setting', '', 1, 1, '第三方登陆', 'leaf', '', 4);
INSERT INTO `sp_menu` VALUES(84, 83, 'Api', 'Oauthadmin', 'setting_post', '', 1, 0, '提交设置', '', '', 0);
INSERT INTO `sp_menu` VALUES(85, 0, 'Admin', 'Menu', 'default', '', 1, 1, '菜单管理', 'list', '', 20);
INSERT INTO `sp_menu` VALUES(86, 85, 'Admin', 'Navcat', 'default1', '', 1, 1, '前台菜单', '', '', 0);
INSERT INTO `sp_menu` VALUES(87, 86, 'Admin', 'Nav', 'index', '', 1, 1, '菜单管理', '', '', 0);
INSERT INTO `sp_menu` VALUES(88, 87, 'Admin', 'Nav', 'listorders', '', 1, 0, '前台导航排序', '', '', 0);
INSERT INTO `sp_menu` VALUES(89, 87, 'Admin', 'Nav', 'delete', '', 1, 0, '删除菜单', '', '', 1000);
INSERT INTO `sp_menu` VALUES(90, 87, 'Admin', 'Nav', 'edit', '', 1, 0, '编辑菜单', '', '', 1000);
INSERT INTO `sp_menu` VALUES(91, 90, 'Admin', 'Nav', 'edit_post', '', 1, 0, '提交编辑', '', '', 0);
INSERT INTO `sp_menu` VALUES(92, 87, 'Admin', 'Nav', 'add', '', 1, 0, '添加菜单', '', '', 1000);
INSERT INTO `sp_menu` VALUES(93, 92, 'Admin', 'Nav', 'add_post', '', 1, 0, '提交添加', '', '', 0);
INSERT INTO `sp_menu` VALUES(94, 86, 'Admin', 'Navcat', 'index', '', 1, 1, '菜单分类', '', '', 0);
INSERT INTO `sp_menu` VALUES(95, 94, 'Admin', 'Navcat', 'delete', '', 1, 0, '删除分类', '', '', 1000);
INSERT INTO `sp_menu` VALUES(96, 94, 'Admin', 'Navcat', 'edit', '', 1, 0, '编辑分类', '', '', 1000);
INSERT INTO `sp_menu` VALUES(97, 96, 'Admin', 'Navcat', 'edit_post', '', 1, 0, '提交编辑', '', '', 0);
INSERT INTO `sp_menu` VALUES(98, 94, 'Admin', 'Navcat', 'add', '', 1, 0, '添加分类', '', '', 1000);
INSERT INTO `sp_menu` VALUES(99, 98, 'Admin', 'Navcat', 'add_post', '', 1, 0, '提交添加', '', '', 0);
INSERT INTO `sp_menu` VALUES(100, 85, 'Admin', 'Menu', 'index', '', 1, 1, '后台菜单', '', '', 0);
INSERT INTO `sp_menu` VALUES(101, 100, 'Admin', 'Menu', 'add', '', 1, 0, '添加菜单', '', '', 0);
INSERT INTO `sp_menu` VALUES(102, 101, 'Admin', 'Menu', 'add_post', '', 1, 0, '提交添加', '', '', 0);
INSERT INTO `sp_menu` VALUES(103, 100, 'Admin', 'Menu', 'listorders', '', 1, 0, '后台菜单排序', '', '', 0);
INSERT INTO `sp_menu` VALUES(104, 100, 'Admin', 'Menu', 'export_menu', '', 1, 0, '菜单备份', '', '', 1000);
INSERT INTO `sp_menu` VALUES(105, 100, 'Admin', 'Menu', 'edit', '', 1, 0, '编辑菜单', '', '', 1000);
INSERT INTO `sp_menu` VALUES(106, 105, 'Admin', 'Menu', 'edit_post', '', 1, 0, '提交编辑', '', '', 0);
INSERT INTO `sp_menu` VALUES(107, 100, 'Admin', 'Menu', 'delete', '', 1, 0, '删除菜单', '', '', 1000);
INSERT INTO `sp_menu` VALUES(108, 100, 'Admin', 'Menu', 'lists', '', 1, 0, '所有菜单', '', '', 1000);
INSERT INTO `sp_menu` VALUES(109, 0, 'Admin', 'Setting', 'default', '', 0, 1, '设置', 'cogs', '', 0);
INSERT INTO `sp_menu` VALUES(110, 109, 'Admin', 'Setting', 'userdefault', '', 0, 1, '个人信息', '', '', 0);
INSERT INTO `sp_menu` VALUES(111, 110, 'Admin', 'User', 'userinfo', '', 1, 1, '修改信息', '', '', 0);
INSERT INTO `sp_menu` VALUES(112, 111, 'Admin', 'User', 'userinfo_post', '', 1, 0, '修改信息提交', '', '', 0);
INSERT INTO `sp_menu` VALUES(113, 110, 'Admin', 'Setting', 'password', '', 1, 1, '修改密码', '', '', 0);
INSERT INTO `sp_menu` VALUES(114, 113, 'Admin', 'Setting', 'password_post', '', 1, 0, '提交修改', '', '', 0);
INSERT INTO `sp_menu` VALUES(115, 109, 'Admin', 'Setting', 'site', '', 1, 1, '网站信息', '', '', 0);
INSERT INTO `sp_menu` VALUES(116, 115, 'Admin', 'Setting', 'site_post', '', 1, 0, '提交修改', '', '', 0);
INSERT INTO `sp_menu` VALUES(117, 115, 'Admin', 'Route', 'index', '', 1, 0, '路由列表', '', '', 0);
INSERT INTO `sp_menu` VALUES(118, 115, 'Admin', 'Route', 'add', '', 1, 0, '路由添加', '', '', 0);
INSERT INTO `sp_menu` VALUES(119, 118, 'Admin', 'Route', 'add_post', '', 1, 0, '路由添加提交', '', '', 0);
INSERT INTO `sp_menu` VALUES(120, 115, 'Admin', 'Route', 'edit', '', 1, 0, '路由编辑', '', '', 0);
INSERT INTO `sp_menu` VALUES(121, 120, 'Admin', 'Route', 'edit_post', '', 1, 0, '路由编辑提交', '', '', 0);
INSERT INTO `sp_menu` VALUES(122, 115, 'Admin', 'Route', 'delete', '', 1, 0, '路由删除', '', '', 0);
INSERT INTO `sp_menu` VALUES(123, 115, 'Admin', 'Route', 'ban', '', 1, 0, '路由禁止', '', '', 0);
INSERT INTO `sp_menu` VALUES(124, 115, 'Admin', 'Route', 'open', '', 1, 0, '路由启用', '', '', 0);
INSERT INTO `sp_menu` VALUES(125, 115, 'Admin', 'Route', 'listorders', '', 1, 0, '路由排序', '', '', 0);
INSERT INTO `sp_menu` VALUES(126, 109, 'Admin', 'Mailer', 'default', '', 1, 1, '邮箱配置', '', '', 0);
INSERT INTO `sp_menu` VALUES(127, 126, 'Admin', 'Mailer', 'index', '', 1, 1, 'SMTP配置', '', '', 0);
INSERT INTO `sp_menu` VALUES(128, 127, 'Admin', 'Mailer', 'index_post', '', 1, 0, '提交配置', '', '', 0);
INSERT INTO `sp_menu` VALUES(129, 126, 'Admin', 'Mailer', 'active', '', 1, 1, '邮件模板', '', '', 0);
INSERT INTO `sp_menu` VALUES(130, 129, 'Admin', 'Mailer', 'active_post', '', 1, 0, '提交模板', '', '', 0);
INSERT INTO `sp_menu` VALUES(131, 109, 'Admin', 'Setting', 'clearcache', '', 1, 1, '清除缓存', '', '', 1);
INSERT INTO `sp_menu` VALUES(132, 0, 'User', 'Indexadmin', 'default', '', 1, 1, '用户管理', 'group', '', 10);
INSERT INTO `sp_menu` VALUES(133, 132, 'User', 'Indexadmin', 'default1', '', 1, 1, '用户组', '', '', 0);
INSERT INTO `sp_menu` VALUES(134, 133, 'User', 'Indexadmin', 'index', '', 1, 1, '本站用户', 'leaf', '', 0);
INSERT INTO `sp_menu` VALUES(135, 134, 'User', 'Indexadmin', 'ban', '', 1, 0, '拉黑会员', '', '', 0);
INSERT INTO `sp_menu` VALUES(136, 134, 'User', 'Indexadmin', 'cancelban', '', 1, 0, '启用会员', '', '', 0);
INSERT INTO `sp_menu` VALUES(137, 133, 'User', 'Oauthadmin', 'index', '', 1, 1, '第三方用户', 'leaf', '', 0);
INSERT INTO `sp_menu` VALUES(138, 137, 'User', 'Oauthadmin', 'delete', '', 1, 0, '第三方用户解绑', '', '', 0);
INSERT INTO `sp_menu` VALUES(139, 132, 'User', 'Indexadmin', 'default3', '', 1, 1, '管理组', '', '', 0);
INSERT INTO `sp_menu` VALUES(140, 139, 'Admin', 'Rbac', 'index', '', 1, 1, '角色管理', '', '', 0);
INSERT INTO `sp_menu` VALUES(141, 140, 'Admin', 'Rbac', 'member', '', 1, 0, '成员管理', '', '', 1000);
INSERT INTO `sp_menu` VALUES(142, 140, 'Admin', 'Rbac', 'authorize', '', 1, 0, '权限设置', '', '', 1000);
INSERT INTO `sp_menu` VALUES(143, 142, 'Admin', 'Rbac', 'authorize_post', '', 1, 0, '提交设置', '', '', 0);
INSERT INTO `sp_menu` VALUES(144, 140, 'Admin', 'Rbac', 'roleedit', '', 1, 0, '编辑角色', '', '', 1000);
INSERT INTO `sp_menu` VALUES(145, 144, 'Admin', 'Rbac', 'roleedit_post', '', 1, 0, '提交编辑', '', '', 0);
INSERT INTO `sp_menu` VALUES(146, 140, 'Admin', 'Rbac', 'roledelete', '', 1, 1, '删除角色', '', '', 1000);
INSERT INTO `sp_menu` VALUES(147, 140, 'Admin', 'Rbac', 'roleadd', '', 1, 1, '添加角色', '', '', 1000);
INSERT INTO `sp_menu` VALUES(148, 147, 'Admin', 'Rbac', 'roleadd_post', '', 1, 0, '提交添加', '', '', 0);
INSERT INTO `sp_menu` VALUES(149, 139, 'Admin', 'User', 'index', '', 1, 1, '管理员', '', '', 0);
INSERT INTO `sp_menu` VALUES(150, 149, 'Admin', 'User', 'delete', '', 1, 0, '删除管理员', '', '', 1000);
INSERT INTO `sp_menu` VALUES(151, 149, 'Admin', 'User', 'edit', '', 1, 0, '管理员编辑', '', '', 1000);
INSERT INTO `sp_menu` VALUES(152, 151, 'Admin', 'User', 'edit_post', '', 1, 0, '编辑提交', '', '', 0);
INSERT INTO `sp_menu` VALUES(153, 149, 'Admin', 'User', 'add', '', 1, 0, '管理员添加', '', '', 1000);
INSERT INTO `sp_menu` VALUES(154, 153, 'Admin', 'User', 'add_post', '', 1, 0, '添加提交', '', '', 0);
INSERT INTO `sp_menu` VALUES(155, 47, 'Admin', 'Plugin', 'update', '', 1, 0, '插件更新', '', '', 0);
INSERT INTO `sp_menu` VALUES(156, 39, 'Admin', 'Storage', 'index', '', 1, 1, '文件存储', '', '', 0);
INSERT INTO `sp_menu` VALUES(157, 156, 'Admin', 'Storage', 'setting_post', '', 1, 0, '文件存储设置提交', '', '', 0);
INSERT INTO `sp_menu` VALUES(158, 54, 'Admin', 'Slide', 'ban', '', 1, 0, '禁用幻灯片', '', '', 0);
INSERT INTO `sp_menu` VALUES(159, 54, 'Admin', 'Slide', 'cancelban', '', 1, 0, '启用幻灯片', '', '', 0);
INSERT INTO `sp_menu` VALUES(160, 149, 'Admin', 'User', 'ban', '', 1, 0, '禁用管理员', '', '', 0);
INSERT INTO `sp_menu` VALUES(161, 149, 'Admin', 'User', 'cancelban', '', 1, 0, '启用管理员', '', '', 0);
-- --------------------------------------------------------
--
-- 导出表中的数据 `sp_nav`
--
INSERT INTO `sp_nav` VALUES (1, 1, 0, '首页', '', 'home', '', 1, 0, '0-1');
INSERT INTO `sp_nav` VALUES (2, 1, 0, '列表演示', '', 'a:2:{s:6:"action";s:17:"Portal/List/index";s:5:"param";a:1:{s:2:"id";s:1:"1";}}', '', 1, 0, '0-2');
INSERT INTO `sp_nav` VALUES (3, 1, 0, '瀑布流', '', 'a:2:{s:6:"action";s:17:"Portal/List/index";s:5:"param";a:1:{s:2:"id";s:1:"2";}}', '', 1, 0, '0-3');
--
-- 导出表中的数据 `sp_nav_cat`
--
INSERT INTO `sp_nav_cat` VALUES (1, '主导航', 1, '主导航');
|
select
services.service,
services.addon,
services.addon_name,
apps.app,
apps.name as app_name,
spaces.name as space_name,
organizations.name as org_name,
services.plan,
services.plan_name,
services.price,
services.foreign_key,
services.created,
services.updated,
services.deleted,
service_attachments.service_attachment,
service_attachments.owned,
service_attachments.name,
service_attachments.primary,
count(all_attached.*) attachments
from
services
join service_attachments on service_attachments.service = services.service and services.deleted = false
join apps on service_attachments.app = apps.app and apps.deleted = false
join spaces on apps.space = spaces.space and spaces.deleted = false
join organizations on organizations.org = apps.org and organizations.deleted = false
left join service_attachments all_attached on (all_attached.service = services.service and all_attached.deleted = false)
where
service_attachments.owned = true and
service_attachments.deleted = false
group by
service_attachments.service_attachment,
services.service,
services.addon,
services.addon_name,
apps.app,
apps.name,
spaces.name,
organizations.name,
services.plan,
services.plan_name,
services.price,
services.foreign_key,
services.created,
services.updated,
services.deleted,
service_attachments.name,
service_attachments.owned,
service_attachments.primary
|
<filename>runner/src/main/resources/quartz/paused_trigger_grps.sql
create table qrtz_paused_trigger_grps (
sched_name varchar(120) not null,
trigger_group varchar(200) not null,
primary key (sched_name,trigger_group)
)
|
<filename>frontend/web/athems/paypal-rest/db_tables.sql
CREATE TABLE IF NOT EXISTS `my_orders` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`transaction_id` varchar(60) NOT NULL,
`transaction_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`transaction_currency` varchar(4) NOT NULL,
`transaction_amount` decimal(9,2) NOT NULL,
`transaction_method` varchar(40) NOT NULL,
`transaction_state` varchar(40) NOT NULL,
PRIMARY KEY (`id`)
)AUTO_INCREMENT=1 ;
CREATE TABLE IF NOT EXISTS `my_products` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`product_code` varchar(50) NOT NULL,
`product_name` varchar(50) NOT NULL,
`product_price` decimal(19,2) NOT NULL,
`image_name` varchar(60) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `product_code` (`product_code`)
) AUTO_INCREMENT=4 ;
--
-- Dumping data for table `my_products`
--
INSERT INTO `my_products` (`id`, `product_code`, `product_name`, `product_price`, `image_name`) VALUES
(1, 'ABC100', 'Star mini S5', 150.00, 'cell_phone1.jpg'),
(2, 'XBD200', 'Star mini S6', 160.00, 'cell_phone2.jpg'),
(3, 'DDE120', 'Mpie MP707', 300.00, 'cell_phone3.jpg');
|
-- phpMyAdmin SQL Dump
-- version 4.0.8
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Feb 17, 2015 at 11:00 PM
-- Server version: 5.6.12-log
-- PHP Version: 5.6.4
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
--
-- Database: `banthecan-test`
--
-- --------------------------------------------------------
--
-- Table structure for table `board`
--
CREATE TABLE IF NOT EXISTS `board` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`created_at` int(11) NOT NULL,
`updated_at` int(11) NOT NULL,
`title` tinytext COLLATE utf8_unicode_ci NOT NULL,
`description` text COLLATE utf8_unicode_ci NOT NULL,
`max_lanes` int(11) NOT NULL COMMENT '# of lanes',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Initial Board design' AUTO_INCREMENT=2 ;
-- --------------------------------------------------------
--
-- Table structure for table `board_column`
--
CREATE TABLE IF NOT EXISTS `board_column` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`created_at` int(11) NOT NULL,
`updated_at` int(11) NOT NULL,
`board_id` int(11) NOT NULL,
`title` tinytext COLLATE utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`),
KEY `board_fkey` (`board_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='colums fo a board' AUTO_INCREMENT=7 ;
-- --------------------------------------------------------
--
-- Table structure for table `ticket`
--
CREATE TABLE IF NOT EXISTS `ticket` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`created_at` int(11) NOT NULL,
`updated_at` int(11) NOT NULL,
`user_id` int(11) NOT NULL,
`title` tinytext COLLATE utf8_unicode_ci NOT NULL,
`description` text COLLATE utf8_unicode_ci NOT NULL,
`column_id` int(11) NOT NULL DEFAULT '1',
PRIMARY KEY (`id`),
KEY `column_fkey` (`column_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=346 ;
-- --------------------------------------------------------
--
-- Table structure for table `user`
--
CREATE TABLE IF NOT EXISTS `user` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`username` tinytext COLLATE utf8_unicode_ci NOT NULL,
`password_hash` tinytext COLLATE utf8_unicode_ci NOT NULL COMMENT 'Too small?',
`password_reset_token` tinytext COLLATE utf8_unicode_ci NOT NULL COMMENT 'Too small?',
`email` tinytext COLLATE utf8_unicode_ci NOT NULL,
`auth_key` tinytext COLLATE utf8_unicode_ci NOT NULL COMMENT 'Too small?',
`status` int(11) NOT NULL,
`created_at` int(11) NOT NULL,
`updated_at` int(11) NOT NULL,
`password` tinytext COLLATE utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Test Version - to work with Yii-user-model' AUTO_INCREMENT=10 ;
--
-- Constraints for dumped tables
--
--
-- Constraints for table `board_column`
--
ALTER TABLE `board_column`
ADD CONSTRAINT `board_column_ibfk_1` FOREIGN KEY (`board_id`) REFERENCES `board` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION;
--
-- Constraints for table `ticket`
--
ALTER TABLE `ticket`
ADD CONSTRAINT `Foreign Key to Column` FOREIGN KEY (`column_id`) REFERENCES `board_column` (`id`) ON UPDATE NO ACTION;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
/**
* @author <NAME> - 02.09.2021
*/
SELECT name FROM employee
ORDER BY name ASC
|
<reponame>JerePallaskorpi/doforu
Query for finding all services with name AND with tag name
1.
User search for "ilmanvaihto"
2.
Save "ilmanvaihto" and timestamp to "search -table"
Save "ilmanvaihto" to "search_tag -table" ( if search.name does not exist, create new, if search exists THEN ++amount )
3.
Query for "Service -table", where nimi like %ilmanvaihto%
JOIN "Service_tag -table" where service.id = service_tag.service_id ( get tag_id )
JOIN "tag -table" where tag.id = service_tag.tag_id ( tag.name LIKE %ilmanvaihto% )
4.
Query returns all found service.id
|
<filename>database/scripts/04-documentos.sql
/*
* Copyright 2021 (c) <NAME>
*
* Tabla de documentos
* URL: http://localhost/phpmyadmin/
*/
DELIMITER //
DROP TABLE IF EXISTS Documentos //
CREATE TABLE Documentos (
DocumentoID INTEGER AUTO_INCREMENT,
EmpresaID INTEGER NOT NULL,
TipoDocumento TEXT NOT NULL, -- LETRA / FACTURA / RECIBO
Emisor TEXT NOT NULL,
FechaEmision DATE NOT NULL,
FechaVencimiento DATE NOT NULL,
Moneda TEXT NOT NULL, -- PEN / USD
Monto DECIMAL(19,9) NOT NULL,
EnFinanciamiento DECIMAL(19,9) NOT NULL DEFAULT 0,
PRIMARY KEY (DocumentoID),
FOREIGN KEY (EmpresaID) REFERENCES EMPRESAS (EmpresaID)
) //
DROP PROCEDURE IF EXISTS DOCUMENTOS_CREAR //
CREATE PROCEDURE DOCUMENTOS_CREAR (IN EmpresaID INTEGER, IN TipoDocumento TEXT, IN Emisor TEXT, IN FechaEmision DATE, IN FechaVencimiento DATE, IN Moneda TEXT, IN Monto DECIMAL(19,9))
BEGIN
INSERT INTO Documentos (EmpresaID, TipoDocumento, Emisor, FechaEmision, FechaVencimiento, Moneda, Monto)
VALUES (EmpresaID, TipoDocumento, Emisor, FechaEmision, FechaVencimiento, Moneda, Monto);
SELECT D.*
FROM Documentos AS D
WHERE D.EmpresaID = EmpresaID
AND D.TipoDocumento = TipoDocumento
AND D.Emisor = Emisor
AND D.FechaEmision = FechaEmision
AND D.FechaVencimiento = FechaVencimiento
AND D.Moneda = Moneda
AND D.Monto = Monto;
END //
DROP PROCEDURE IF EXISTS DOCUMENTOS_LEER_EMPRESA //
CREATE PROCEDURE DOCUMENTOS_LEER_EMPRESA (IN EmpresaID INTEGER)
BEGIN
SELECT D.*
FROM Documentos AS D
WHERE D.EmpresaID = EmpresaID
ORDER BY D.FechaEmision;
END //
DROP PROCEDURE IF EXISTS DOCUMENTOS_LEER_ID //
CREATE PROCEDURE DOCUMENTOS_LEER_ID (IN DocumentoID INTEGER)
BEGIN
SELECT D.*
FROM Documentos AS D
WHERE D.DocumentoID = DocumentoID
LIMIT 1;
END //
DROP PROCEDURE IF EXISTS DOCUMENTOS_LEER_EMPRESA_MONEDA //
CREATE PROCEDURE DOCUMENTOS_LEER_EMPRESA_MONEDA (IN EmpresaID INTEGER, IN Moneda TEXT)
BEGIN
SELECT D.*
FROM Documentos AS D
WHERE D.EmpresaID = EmpresaID
AND D.Moneda = Moneda
ORDER BY D.FechaEmision;
END //
DROP PROCEDURE IF EXISTS DOCUMENTOS_LEER_FINANCIAMIENTO_DISPONIBLE //
CREATE PROCEDURE DOCUMENTOS_LEER_FINANCIAMIENTO_DISPONIBLE (IN EmpresaID INTEGER, IN FechaActual DATE)
BEGIN
SELECT D.*
FROM Documentos AS D
WHERE D.EmpresaID = EmpresaID
AND D.EnFinanciamiento < D.Monto
AND D.FechaVencimiento > FechaActual
ORDER BY D.FechaEmision;
END //
DROP PROCEDURE IF EXISTS DOCUMENTOS_LEER_CON_FINANCIAMIENTO //
CREATE PROCEDURE DOCUMENTOS_LEER_CON_FINANCIAMIENTO (IN EmpresaID INTEGER, IN FechaActual DATE)
BEGIN
SELECT D.*
FROM Documentos AS D
WHERE D.EmpresaID = EmpresaID
AND D.EnFinanciamiento > 0
ORDER BY D.FechaEmision;
END //
DROP PROCEDURE IF EXISTS DOCUMENTOS_LEER_EMPRESA_MONEDA_RANGO //
CREATE PROCEDURE DOCUMENTOS_LEER_EMPRESA_MONEDA_RANGO ( IN EmpresaID INTEGER, IN Moneda TEXT, IN Inicio DATE, IN Fin DATE)
BEGIN
SELECT D.*
FROM DOCUMENTOS AS D
WHERE D.EmpresaID = EmpresaID
AND D.Moneda = Moneda
AND D.FechaEmision >= Inicio
AND D.FechaEmision <= Fin;
END //
DROP PROCEDURE IF EXISTS DOCUMENTOS_MODIFICAR_AGREGAR_FINANCIAMIENTO //
CREATE PROCEDURE DOCUMENTOS_MODIFICAR_AGREGAR_FINANCIAMIENTO (IN DocumentoID INTEGER, IN Financiamiento DECIMAL(19,9))
BEGIN
UPDATE Documentos AS D
SET D.EnFinanciamiento = D.EnFinanciamiento + Financiamiento
WHERE D.DocumentoID = DocumentoID;
SELECT D.*
FROM Documentos AS D
WHERE D.DocumentoID = DocumentoID
LIMIT 1;
END //
|
<filename>example/migrations/prologue.sql<gh_stars>0
SET search_path to $schema
|
CREATE DATABASE beta_ringit;
\c beta_ringit
CREATE TABLE account (id SERIAL PRIMARY KEY, name VARCHAR(255), email VARCHAR(255), password_hash VARCHAR(255));
CREATE TABLE phone_plan (id SERIAL PRIMARY KEY, company VARCHAR(255), plan VARCHAR(255), cost DECIMAL);
CREATE TABLE reccomendation (id SERIAL PRIMARY KEY, company VARCHAR(255), plan VARCHAR(255), link VARCHAR(255));
|
<gh_stars>0
-- phpMyAdmin SQL Dump
-- version 4.6.6
-- https://www.phpmyadmin.net/
--
-- Máy chủ: localhost:3306
-- Thời gian đã tạo: Th8 14, 2017 lúc 04:51 PM
-- Phiên bản máy phục vụ: 5.6.35
-- Phiên bản PHP: 5.6.30
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Cơ sở dữ liệu: `sumf6e25_sumowatch`
--
-- --------------------------------------------------------
--
-- Cấu trúc bảng cho bảng `admin_users`
--
CREATE TABLE `admin_users` (
`id` int(10) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`email` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`password` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`level` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`remember_token` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Đang đổ dữ liệu cho bảng `admin_users`
--
INSERT INTO `admin_users` (`id`, `name`, `email`, `password`, `level`, `remember_token`, `created_at`, `updated_at`) VALUES
(1, '<NAME>', '<EMAIL>', <PASSWORD>', '100', '0M9TebxqWF5gVZiL3GEjMMDZSTZPHa8L3MHzLlcf3e7wYcZsSdCoEHZLo06C', '2016-12-05 00:38:38', '2017-07-13 10:06:05');
-- --------------------------------------------------------
--
-- Cấu trúc bảng cho bảng `advs`
--
CREATE TABLE `advs` (
`type` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`id` int(10) UNSIGNED NOT NULL,
`url` text COLLATE utf8_unicode_ci NOT NULL,
`image` text COLLATE utf8_unicode_ci NOT NULL,
`status` int(11) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Đang đổ dữ liệu cho bảng `advs`
--
INSERT INTO `advs` (`type`, `id`, `url`, `image`, `status`, `created_at`, `updated_at`) VALUES
('0', 1, '#', '1499955652_00030291.jpg', 1, '2017-06-06 22:38:14', '2017-07-13 14:20:53'),
('1', 2, '#', '1496813959_banner-web-xwatch-01.png', 0, '2017-06-06 22:39:19', '2017-07-13 13:52:44'),
('1', 3, '#', '1496813969_banner-web-xwatch-02.png', 0, '2017-06-06 22:39:29', '2017-07-13 13:52:51'),
('2', 4, '#', '1497020580_bn3.jpg', 0, '2017-06-09 08:03:00', '2017-07-13 13:52:57'),
('2', 5, '#', '1497020592_bn2.jpg', 0, '2017-06-09 08:03:12', '2017-07-13 13:53:02');
-- --------------------------------------------------------
--
-- Cấu trúc bảng cho bảng `banners`
--
CREATE TABLE `banners` (
`id` int(10) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`url` text COLLATE utf8_unicode_ci NOT NULL,
`url_banner` text COLLATE utf8_unicode_ci NOT NULL,
`pos` int(11) NOT NULL,
`status` int(11) NOT NULL,
`user_id` int(10) UNSIGNED NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
--
-- Cấu trúc bảng cho bảng `branchs`
--
CREATE TABLE `branchs` (
`id` int(10) UNSIGNED NOT NULL,
`address` text COLLATE utf8_unicode_ci NOT NULL,
`phone` text COLLATE utf8_unicode_ci NOT NULL,
`status` int(11) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Đang đổ dữ liệu cho bảng `branchs`
--
INSERT INTO `branchs` (`id`, `address`, `phone`, `status`, `created_at`, `updated_at`) VALUES
(1, 'P12A02, Tháp 1, Toà nhà Times Tower, Lê Văn Lương, Hà Nội', '08.6868.9999', 1, '2017-06-06 07:00:46', '2017-07-12 09:06:22');
-- --------------------------------------------------------
--
-- Cấu trúc bảng cho bảng `category`
--
CREATE TABLE `category` (
`id` int(10) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`slug` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`parent_id` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`banner` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`isHome` int(11) DEFAULT NULL,
`position` varchar(11) COLLATE utf8_unicode_ci DEFAULT NULL,
`type` varchar(5) COLLATE utf8_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Đang đổ dữ liệu cho bảng `category`
--
INSERT INTO `category` (`id`, `name`, `slug`, `parent_id`, `created_at`, `updated_at`, `banner`, `isHome`, `position`, `type`) VALUES
(1, 'Tin tức', 'tin-tuc', '0', '2016-11-24 01:38:46', '2017-06-05 15:57:13', NULL, 0, NULL, ''),
(3, 'Casio', 'casio', '0', '2016-11-23 20:17:01', '2017-07-13 10:39:09', '1496625595_1496134220_banner-casio.png', 0, '3', '1'),
(4, 'Citizen', 'citizen', '0', '2016-11-23 20:17:39', '2017-07-13 10:39:20', '1497052754_banner-citizen.png', 0, '2', '0'),
(15, 'Ogival', 'ogival', '0', '2016-11-24 01:56:05', '2017-07-13 15:59:48', '1497052793_banner-ogival.png', 0, '6', '1'),
(16, '<NAME>', 'olym-pianus', '0', '2016-11-25 02:00:27', '2017-07-13 15:59:36', '1496625743_banner-olympianus.png', 0, '4', '0'),
(17, 'Olympia star', 'olympia-star', '0', '2016-11-25 02:00:41', '2017-07-12 09:31:33', NULL, 0, '5', '1'),
(19, 'Đồng hồ cơ', 'dong-ho-co', '0', '2016-11-26 00:36:11', '2017-06-09 16:20:26', NULL, 0, '', NULL),
(20, 'Đồng hồ đôi', 'dong-ho-doi', '0', '2016-11-26 00:36:27', '2017-06-05 15:57:59', NULL, 0, NULL, NULL),
(21, 'Đồng hồ khác', 'dong-ho-khac', '0', '2016-11-26 00:36:48', '2017-06-05 15:58:13', NULL, 0, NULL, NULL),
(24, 'Orient', 'orient', '0', '2017-05-19 19:25:25', '2017-07-12 09:30:53', '1497052822_banner-orient-1.png', 1, '2', '1'),
(25, 'Seiko', 'seiko', '0', '2017-05-19 19:25:37', '2017-07-12 09:30:38', '1497052833_banner-seiko.png', 1, '1', '0'),
(26, 'Đ<NAME>', 'dong-ho-thuy-si', '0', '2017-05-28 00:25:26', '2017-05-28 00:25:26', NULL, 0, NULL, NULL);
-- --------------------------------------------------------
--
-- Cấu trúc bảng cho bảng `contacts`
--
CREATE TABLE `contacts` (
`id` int(10) UNSIGNED NOT NULL,
`contact_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`contact_email` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`contact_message` text COLLATE utf8_unicode_ci NOT NULL,
`contact_status` tinyint(4) NOT NULL,
`created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
`updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Đang đổ dữ liệu cho bảng `contacts`
--
INSERT INTO `contacts` (`id`, `contact_name`, `contact_email`, `contact_message`, `contact_status`, `created_at`, `updated_at`) VALUES
(2, 'le toan', '09212122121', 'noi dung contact', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(3, 'sfdsf', 'fsf', 'dsfdsfsfs', 1, '2017-05-26 03:17:30', '2017-05-26 03:17:30');
-- --------------------------------------------------------
--
-- Cấu trúc bảng cho bảng `detail_img`
--
CREATE TABLE `detail_img` (
`id` int(10) UNSIGNED NOT NULL,
`images_url` text COLLATE utf8_unicode_ci NOT NULL,
`pro_id` int(10) UNSIGNED NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Đang đổ dữ liệu cho bảng `detail_img`
--
INSERT INTO `detail_img` (`id`, `images_url`, `pro_id`, `created_at`, `updated_at`) VALUES
(22, '1495335365_Avatar_SER0200HW-1.png', 25, '2016-11-24 18:48:46', '2016-11-24 18:48:46'),
(23, '1495342280_avatarfac0000bw0.png', 26, '2016-11-25 23:44:07', '2016-11-25 23:44:07'),
(24, '1495335365_Avatar_SER0200HW-1.png', 27, '2016-11-25 23:44:11', '2016-11-25 23:44:11'),
(32, '1495335365_Avatar_SER0200HW-1.png', 35, '2016-11-25 23:45:08', '2016-11-25 23:45:08'),
(39, '1496657690_1495293279_avatarop990-141ams-d.png', 42, '2016-11-26 02:13:19', '2016-11-26 02:13:19'),
(42, '1496657690_1495293279_avatarop990-141ams-d.png', 45, '2016-11-26 02:13:31', '2016-11-26 02:13:31'),
(44, '1495335365_Avatar_SER0200HW-1.png', 47, '2016-11-26 02:13:53', '2016-11-26 02:13:53'),
(47, '1496657690_1495293279_avatarop990-141ams-d.png', 50, '2016-11-26 02:14:03', '2016-11-26 02:14:03'),
(50, '1495342280_avatarfac0000bw0.png', 53, '2016-11-26 02:18:11', '2016-11-26 02:18:11'),
(61, '1495351631_avatarfac00009w0-369x500.png', 69, '2016-11-28 18:21:42', '2016-11-28 18:21:42'),
(62, '1495351631_Avatar_SER0200HW-1.png', 69, '2016-11-28 18:21:42', '2016-11-28 18:21:42'),
(63, '1495351631_avatarfac00009w0-369x500.png', 69, '2016-11-28 18:21:42', '2016-11-28 18:21:42'),
(64, '1495351631_Avatar_SER0200HW-1.png', 69, '2016-11-28 18:21:42', '2016-11-28 18:21:42'),
(65, '1480650741_oppo-f1s-hero-400x460-400x460.png', 24, '2016-12-01 20:52:21', '2016-12-01 20:52:21'),
(66, '1495351631_avatarfac00009w0-369x500.png', 34, '2017-05-19 20:03:10', '2017-05-19 20:03:10'),
(67, '1495351631_avatarfac00009w0-369x500.png', 34, '2017-05-19 20:03:10', '2017-05-19 20:03:10'),
(68, '1495351631_avatarfac00009w0-369x500.png', 34, '2017-05-19 20:03:10', '2017-05-19 20:03:10'),
(69, '1495335365_avatarfac0000bw0.png', 23, '2017-05-20 19:56:05', '2017-05-20 19:56:05'),
(70, '1495335365_avatarfac00009w0-369x500.png', 23, '2017-05-20 19:56:05', '2017-05-20 19:56:05'),
(71, '1495335365_Avatar_SER0200HW-1.png', 23, '2017-05-20 19:56:05', '2017-05-20 19:56:05'),
(72, '1495335365_avatarfac0000bw0.png', 23, '2017-05-20 19:56:05', '2017-05-20 19:56:05'),
(73, '1495335365_avatarfac00009w0-369x500.png', 23, '2017-05-20 19:56:05', '2017-05-20 19:56:05'),
(74, '1495335365_Avatar_SER0200HW-1.png', 23, '2017-05-20 19:56:05', '2017-05-20 19:56:05'),
(75, '1495342280_avatarfac0000bw0.png', 22, '2017-05-20 21:51:20', '2017-05-20 21:51:20'),
(76, '1495342280_Avatar_SER0200HW-1.png', 22, '2017-05-20 21:51:20', '2017-05-20 21:51:20'),
(77, '1495351631_avatarfac00009w0-369x500.png', 71, '2017-05-21 00:27:11', '2017-05-21 00:27:11'),
(78, '1495351631_Avatar_SER0200HW-1.png', 71, '2017-05-21 00:27:11', '2017-05-21 00:27:11'),
(82, '1495356672_avatarag8351-86e-1.png', 28, '2017-05-21 01:51:12', '2017-05-21 01:51:12'),
(83, '1495356672_Avatar_NY4051-51A-1.png', 28, '2017-05-21 01:51:12', '2017-05-21 01:51:12'),
(84, '1495956440_avatarefv-510l-2avudf.png', 73, '2017-05-28 00:27:20', '2017-05-28 00:27:20'),
(85, '1495956440_avatarny0040-09e-1-1.png', 73, '2017-05-28 00:27:20', '2017-05-28 00:27:20'),
(88, '1496624498_1495293309_AVATAR_OP900-15AMSK-T.png', 101, '2017-06-04 18:01:38', '2017-06-04 18:01:38'),
(89, '1496624499_1495351096_avatarfac0000bw0.png', 101, '2017-06-04 18:01:39', '2017-06-04 18:01:39'),
(90, '1496657690_1495272433_avatarfac0000bw0.png', 99, '2017-06-05 03:14:50', '2017-06-05 03:14:50'),
(91, '1496657690_1495293279_avatarop990-141ams-d.png', 99, '2017-06-05 03:14:50', '2017-06-05 03:14:50'),
(92, '1497059853_avatarefr-539bkg-1avudf-min.jpg', 102, '2017-06-09 18:57:33', '2017-06-09 18:57:33'),
(93, '1497059853_avatarefr-539d-7avudf-min.jpg', 102, '2017-06-09 18:57:33', '2017-06-09 18:57:33'),
(94, '1497059853_avatarefr-543bk-1a2vudf-min.jpg', 102, '2017-06-09 18:57:33', '2017-06-09 18:57:33'),
(95, '1497060114_avatarefr-539d-7avudf-min.jpg', 103, '2017-06-09 19:01:54', '2017-06-09 19:01:54'),
(96, '1497060114_avatarefr-543bk-1a2vudf-min.jpg', 103, '2017-06-09 19:01:54', '2017-06-09 19:01:54'),
(97, '1497060169_avatarefr-539d-7avudf-min.jpg', 104, '2017-06-09 19:02:49', '2017-06-09 19:02:49'),
(98, '1497060169_avatarefr-543bk-1a2vudf-min.jpg', 104, '2017-06-09 19:02:49', '2017-06-09 19:02:49'),
(99, '1497060169_avatarefr-539bkg-1avudf-min.jpg', 104, '2017-06-09 19:02:49', '2017-06-09 19:02:49'),
(100, '1497060261_avatarag8351-86e-1.jpg', 105, '2017-06-09 19:04:21', '2017-06-09 19:04:21'),
(101, '1497060261_avatarny0040-09wb.jpg', 105, '2017-06-09 19:04:21', '2017-06-09 19:04:21'),
(102, '1497060316_avataraw1231-58l.jpg', 106, '2017-06-09 19:05:16', '2017-06-09 19:05:16'),
(103, '1497060316_avatarny0040-09wb.jpg', 106, '2017-06-09 19:05:16', '2017-06-09 19:05:16'),
(104, '1497060316_avatarog385-021gkt-1.png', 106, '2017-06-09 19:05:16', '2017-06-09 19:05:16'),
(105, '1497060375_avatarny0040-09wb.jpg', 107, '2017-06-09 19:06:15', '2017-06-09 19:06:15'),
(106, '1497060375_avatarog385-021gsk-t.jpg', 107, '2017-06-09 19:06:15', '2017-06-09 19:06:15'),
(107, '1497060375_avatarog385-021gkt-1.png', 107, '2017-06-09 19:06:15', '2017-06-09 19:06:15'),
(108, '1497060434_avatarog385-021gkt-1.png', 108, '2017-06-09 19:07:14', '2017-06-09 19:07:14'),
(109, '1497060434_avatarog385-021gsk-t.jpg', 108, '2017-06-09 19:07:14', '2017-06-09 19:07:14'),
(110, '1497060483_avatarog385-021gsk-t.jpg', 109, '2017-06-09 19:08:03', '2017-06-09 19:08:03'),
(111, '1497060541_Avatar_SNDV59P1.png', 110, '2017-06-09 19:09:01', '2017-06-09 19:09:01'),
(112, '1497060541_Avatar_SSC471P1-min-2-1.png', 110, '2017-06-09 19:09:01', '2017-06-09 19:09:01'),
(113, '1497060591_Avatar_SSC471P1-min-2-1.png', 111, '2017-06-09 19:09:51', '2017-06-09 19:09:51'),
(114, '1497060591_avatarska647p1.png', 111, '2017-06-09 19:09:51', '2017-06-09 19:09:51'),
(115, '1497060636_avatarska647p1.png', 112, '2017-06-09 19:10:36', '2017-06-09 19:10:36'),
(116, '1497060687_avatarssa863k1-2-369x500.png', 113, '2017-06-09 19:11:27', '2017-06-09 19:11:27'),
(117, '1497060687_Avatar_SNDV59P1.png', 113, '2017-06-09 19:11:27', '2017-06-09 19:11:27'),
(118, '1497060827_avatarog358.63agr-gl.png', 114, '2017-06-09 19:13:47', '2017-06-09 19:13:47'),
(119, '1497060885_avatarog385-021gkt-1.png', 115, '2017-06-09 19:14:45', '2017-06-09 19:14:45'),
(120, '1497060885_avatarog385-021gsk-t.jpg', 115, '2017-06-09 19:14:45', '2017-06-09 19:14:45'),
(121, '1497060947_avatarog385-021gsk-t.jpg', 116, '2017-06-09 19:15:47', '2017-06-09 19:15:47'),
(122, '1497060947_avatarog385-022lkt-1.png', 116, '2017-06-09 19:15:47', '2017-06-09 19:15:47');
-- --------------------------------------------------------
--
-- Cấu trúc bảng cho bảng `groupnews`
--
CREATE TABLE `groupnews` (
`id` int(10) UNSIGNED NOT NULL,
`name` text COLLATE utf8_unicode_ci NOT NULL,
`status` int(11) DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Đang đổ dữ liệu cho bảng `groupnews`
--
INSERT INTO `groupnews` (`id`, `name`, `status`, `created_at`, `updated_at`) VALUES
(1, 'Thẩm định đồng hồ', 0, '2017-06-08 21:54:55', '2017-07-13 10:32:14'),
(2, 'Kiến thức đồng hồ', 0, '2017-06-08 21:55:03', '2017-07-13 10:32:19'),
(3, 'Kinh nghiệm mua hàng', 0, '2017-06-08 21:55:10', '2017-07-13 10:32:24'),
(4, 'Chính sách bảo hành', 0, '2017-06-08 21:55:16', '2017-07-13 10:32:29'),
(5, 'Giới thiệu SumoWatch', 1, '2017-06-08 21:55:24', '2017-06-08 21:55:24'),
(6, 'Kiến thức chuyên ngành', 0, '2017-06-08 21:55:29', '2017-07-13 10:32:40'),
(7, 'Video SumoWatch', 1, '2017-06-09 18:03:36', '2017-06-09 18:03:36'),
(8, 'Phân biệt đồng hồ thật, giả', 0, '2017-06-09 18:03:45', '2017-07-13 10:32:47'),
(9, 'Dành cho người mới bắt đầu', 0, '2017-06-09 18:03:59', '2017-07-13 10:32:54'),
(10, 'Triết lý k<NAME>anh', 0, '2017-06-09 18:04:25', '2017-07-13 10:33:00'),
(11, 'Về SumoWatch', 1, '2017-06-09 18:04:53', '2017-06-09 18:04:53');
-- --------------------------------------------------------
--
-- Cấu trúc bảng cho bảng `group_watch`
--
CREATE TABLE `group_watch` (
`id` int(10) UNSIGNED NOT NULL,
`name` text COLLATE utf8_unicode_ci NOT NULL,
`link` text COLLATE utf8_unicode_ci NOT NULL,
`image` text COLLATE utf8_unicode_ci NOT NULL,
`status` int(11) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Đang đổ dữ liệu cho bảng `group_watch`
--
INSERT INTO `group_watch` (`id`, `name`, `link`, `image`, `status`, `created_at`, `updated_at`) VALUES
(1, 'Đồng hồ nam', '#', '1496814679_dong-ho-nam-trang-chu.jpg', 0, '2017-06-06 22:51:19', '2017-07-13 14:02:16'),
(2, 'Đồng hồ nữ', '#', '1496814694_banner-dong-ho-nu.jpg', 0, '2017-06-06 22:51:34', '2017-08-11 00:26:02'),
(3, 'Đồng hồ đôi', '#', '1496814715_Dong-ho-doi.jpg', 0, '2017-06-06 22:51:55', '2017-07-13 14:02:51'),
(4, 'Đồng hồ cơ', '#', '1496814731_BST-dong-ho-co.jpg', 0, '2017-06-06 22:52:11', '2017-07-13 14:02:57');
-- --------------------------------------------------------
--
-- Cấu trúc bảng cho bảng `kieuday`
--
CREATE TABLE `kieuday` (
`id` int(10) UNSIGNED NOT NULL,
`name` text COLLATE utf8_unicode_ci NOT NULL,
`status` int(11) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Đang đổ dữ liệu cho bảng `kieuday`
--
INSERT INTO `kieuday` (`id`, `name`, `status`, `created_at`, `updated_at`) VALUES
(1, '<NAME>', 1, '2017-06-05 21:53:01', '2017-06-05 21:54:42'),
(2, 'D<NAME>', 1, '2017-06-05 21:54:14', '2017-06-05 21:54:14'),
(3, '<NAME>', 1, '2017-06-05 21:54:22', '2017-06-05 21:54:22');
-- --------------------------------------------------------
--
-- Cấu trúc bảng cho bảng `kieumay`
--
CREATE TABLE `kieumay` (
`id` int(10) UNSIGNED NOT NULL,
`name` text COLLATE utf8_unicode_ci NOT NULL,
`status` int(11) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Đang đổ dữ liệu cho bảng `kieumay`
--
INSERT INTO `kieumay` (`id`, `name`, `status`, `created_at`, `updated_at`) VALUES
(1, 'Eco - drive', 1, '2017-06-05 21:55:09', '2017-06-05 21:57:41'),
(2, 'Kinetic', 1, '2017-06-05 21:55:15', '2017-06-05 21:55:15'),
(3, 'Máy cơ', 1, '2017-06-05 21:55:22', '2017-06-05 21:55:22'),
(4, 'Máy Quartz', 1, '2017-06-05 21:55:29', '2017-06-05 21:55:29');
-- --------------------------------------------------------
--
-- Cấu trúc bảng cho bảng `migrations`
--
CREATE TABLE `migrations` (
`migration` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`batch` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Đang đổ dữ liệu cho bảng `migrations`
--
INSERT INTO `migrations` (`migration`, `batch`) VALUES
('2014_10_12_000000_create_users_table', 1),
('2014_10_12_100000_create_password_resets_table', 1),
('2016_11_13_131139_create_admin_users_table', 1),
('2016_11_24_011241_create_categor_table', 1),
('2016_11_24_011515_create_products_table', 1),
('2016_11_24_012823_create_pro_details_table', 1),
('2016_11_24_013636_create_detal_img_table', 1),
('2016_11_24_014238_create_news_table', 1),
('2016_11_24_014742_create_banners_table', 1),
('2016_12_01_161126_create_oders_table', 2),
('2016_12_02_015703_create_oders_detail_table', 3),
('2016_12_02_023327_create_oders_table', 4),
('2016_12_02_023343_create_oders_detail_table', 4);
-- --------------------------------------------------------
--
-- Cấu trúc bảng cho bảng `news`
--
CREATE TABLE `news` (
`id` int(10) UNSIGNED NOT NULL,
`title` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`slug` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`author` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`intro` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`full` text COLLATE utf8_unicode_ci NOT NULL,
`images` text COLLATE utf8_unicode_ci NOT NULL,
`tag` text COLLATE utf8_unicode_ci NOT NULL,
`status` int(11) NOT NULL,
`source` text COLLATE utf8_unicode_ci NOT NULL,
`cat_id` int(10) UNSIGNED NOT NULL,
`user_id` int(10) UNSIGNED NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`group` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Đang đổ dữ liệu cho bảng `news`
--
INSERT INTO `news` (`id`, `title`, `slug`, `author`, `intro`, `full`, `images`, `tag`, `status`, `source`, `cat_id`, `user_id`, `created_at`, `updated_at`, `group`) VALUES
(12, 'iPhone SE đổi trả thiết kế thanh lịch, mạnh như iPhone 6s còn dưới 7 triệu đồng', 'iphone-se-doi-tra-thiet-ke-thanh-lich-manh-nhu-iphone-6s-con-duoi-7-trieu-dong', 'admin', '<p>Không chỉ iPhone SE hàng mới mà hàng đổi trả cũng được giảm giá mạnh mẽ. Trước đây mức giá là hơn 7 triệu bây giờ chỉ còn dưới 7 triệu đồng, thậm chí về gần mức 6 triệu đồng</p>\r', '<p>iPhone SE kế thừa từ nhiều mẫu iPhone hiện nay, nó là tổng hòa của vẻ đẹp thanh lịch, gọn gàng của <a href=\"https://www.thegioididong.com/dtdd/iphone-5s-16gb\" target=\"_blank\" title=\" iPhone 5s\" type=\" iPhone 5s\">iPhone 5s</a> với sức mạnh cấu hình của iPhone 6s. Chính vì vậy, iPhone SE vẫn là mong ước của nhiều tín đồ nhà Táo.</p>\r\n\r\n<p><img alt=\"iPhone SE đổi trả thiết kế thanh lịch, mạnh như iPhone 6s còn dưới 7 triệu đồng\" src=\"https://cdn1.tgdd.vn/Files/2016/11/28/919237/iphone-se-2_1204x535.jpg\" title=\"iPhone SE đổi trả thiết kế thanh lịch, mạnh như iPhone 6s còn dưới 7 triệu đồng\" /></p>\r\n\r\n<p>Về giá bán, hiện tại iPhone SE hàng đổi trả chỉ còn dưới 7 triệu, ở mức trung bình là 6.8 triệu đồng, thậm chí có chiếc chỉ 6.3 triệu đồng, tùy thời gian bảo hành. Đây chính là lựa chọn tốt cho nhiều bạn trẻ mong muốn có một iPhone “nhỏ nhưng có võ”, gọn gàng nhưng cực kỳ mạnh mẽ.</p>\r\n\r\n<p>iPhone SE hiện là mẫu smartphone nhỏ gọn có hiệu suất cao nhất hiện nay bởi nó trang bị cấu hình như iPhone 6s, đó là vi xử lý Apple A9, RAM 2 GB, cùng camera 12 MP sắc nét. So với iPhone 5s thì iPhone SE còn sở hữu thỏi pin dung lượng lớn hơn (1.642 mAh so với 1.560 mAh).</p>\r\n', 'im3.jpg', 'iphone 7, iphone 7 plus', 0, 'Vietnam', 1, 1, '2017-07-13 04:50:20', '2017-07-13 04:50:20', '4');
-- --------------------------------------------------------
--
-- Cấu trúc bảng cho bảng `oders`
--
CREATE TABLE `oders` (
`id` int(10) UNSIGNED NOT NULL,
`c_id` int(10) UNSIGNED NOT NULL,
`qty` int(11) NOT NULL,
`sub_total` float NOT NULL,
`total` float NOT NULL,
`status` int(11) NOT NULL,
`type` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
`note` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Đang đổ dữ liệu cho bảng `oders`
--
INSERT INTO `oders` (`id`, `c_id`, `qty`, `sub_total`, `total`, `status`, `type`, `note`, `created_at`, `updated_at`) VALUES
(24, 11, 1, 1000000, 1000000, 0, 'cod', '', '2017-06-08 15:49:59', '2017-06-08 15:49:59'),
(25, 12, 1, 3500000, 3500000, 0, 'cod', '', '2017-06-08 16:24:50', '2017-06-08 16:24:50'),
(26, 13, 1, 5123900, 5123900, 0, 'tructiep', '', '2017-06-08 16:32:18', '2017-06-08 16:32:18'),
(28, 16, 1, 5123900, 5123900, 0, 'cod', '5939dfbece910', '2017-06-08 16:37:34', '2017-06-08 16:37:34'),
(38, 22, 1, 12345, 12345, 0, 'bank', '5939e429b7b16', '2017-06-08 16:56:25', '2017-06-08 16:56:25'),
(39, 24, 1, 1589990, 1589990, 0, 'tructiep', '593b5f3b7f6ac', '2017-06-09 19:53:47', '2017-06-09 19:53:47'),
(40, 25, 2, 10000000, 10000000, 0, 'cod', '593b73f734947', '2017-06-09 21:22:15', '2017-06-09 21:22:15'),
(45, 26, 1, 902000, 902000, 0, 'cod', '593d1bea1f32d', '2017-06-11 10:31:06', '2017-06-11 10:31:06');
-- --------------------------------------------------------
--
-- Cấu trúc bảng cho bảng `oders_detail`
--
CREATE TABLE `oders_detail` (
`id` int(10) UNSIGNED NOT NULL,
`pro_id` int(10) UNSIGNED NOT NULL,
`qty` int(11) NOT NULL,
`o_id` int(10) UNSIGNED NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Đang đổ dữ liệu cho bảng `oders_detail`
--
INSERT INTO `oders_detail` (`id`, `pro_id`, `qty`, `o_id`, `created_at`, `updated_at`) VALUES
(32, 73, 1, 24, '2017-06-08 15:49:59', '2017-06-08 15:49:59'),
(33, 45, 1, 25, '2017-06-08 16:24:50', '2017-06-08 16:24:50'),
(34, 71, 1, 26, '2017-06-08 16:32:18', '2017-06-08 16:32:18'),
(35, 71, 1, 28, '2017-06-08 16:37:34', '2017-06-08 16:37:34'),
(36, 99, 1, 38, '2017-06-08 16:56:25', '2017-06-08 16:56:25'),
(37, 23, 1, 39, '2017-06-09 19:53:47', '2017-06-09 19:53:47'),
(38, 114, 2, 40, '2017-06-09 21:22:15', '2017-06-09 21:22:15'),
(39, 115, 1, 45, '2017-06-11 10:31:06', '2017-06-11 10:31:06');
-- --------------------------------------------------------
--
-- Cấu trúc bảng cho bảng `partners`
--
CREATE TABLE `partners` (
`id` int(10) UNSIGNED NOT NULL,
`name` text COLLATE utf8_unicode_ci NOT NULL,
`image` text COLLATE utf8_unicode_ci NOT NULL,
`link` text COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`isort` int(5) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Đang đổ dữ liệu cho bảng `partners`
--
INSERT INTO `partners` (`id`, `name`, `image`, `link`, `created_at`, `updated_at`, `isort`) VALUES
(1, 'Casio', '1496755652_logo-casio-min.jpg', '#', '2017-06-06 06:22:39', '2017-07-13 10:24:31', 9),
(2, 'Citizen', '1496755498_logo-citizen-min.jpg', '#', '2017-06-06 06:24:58', '2017-07-13 10:24:59', 10),
(3, 'Ogival', '1496755533_logo-ogival.png', '#', '2017-06-06 06:25:33', '2017-07-13 08:10:27', 3),
(4, '<NAME>', '1496755559_logo-olym-pianus-min.jpg', '#', '2017-06-06 06:25:59', '2017-07-13 08:10:32', 4),
(5, '<NAME>', '1496755583_logo-olympia-star-min.jpg', '#', '2017-06-06 06:26:23', '2017-07-13 08:10:38', 5),
(6, 'Orient', '1496755599_logo-orient-min.jpg', '#', '2017-06-06 06:26:39', '2017-07-13 10:25:07', 2),
(7, 'Seiko', '1496755620_logo-seiko-min.png', '#', '2017-06-06 06:27:00', '2017-07-13 10:24:40', 1);
-- --------------------------------------------------------
--
-- Cấu trúc bảng cho bảng `password_resets`
--
CREATE TABLE `password_resets` (
`email` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`token` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Đang đổ dữ liệu cho bảng `password_resets`
--
INSERT INTO `password_resets` (`email`, `token`, `created_at`) VALUES
('<EMAIL>', '<PASSWORD>', '2016-12-06 03:47:29');
-- --------------------------------------------------------
--
-- Cấu trúc bảng cho bảng `products`
--
CREATE TABLE `products` (
`id` int(10) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`slug` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`intro` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`promo1` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`promo2` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`promo3` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`packet` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`images` text COLLATE utf8_unicode_ci NOT NULL,
`r_intro` text COLLATE utf8_unicode_ci,
`review` text COLLATE utf8_unicode_ci NOT NULL,
`tag` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`price` float NOT NULL,
`status` int(11) NOT NULL,
`cat_id` int(10) UNSIGNED NOT NULL,
`user_id` int(10) UNSIGNED NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`isHome` int(1) DEFAULT NULL,
`isGroup` int(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Đang đổ dữ liệu cho bảng `products`
--
INSERT INTO `products` (`id`, `name`, `slug`, `intro`, `promo1`, `promo2`, `promo3`, `packet`, `images`, `r_intro`, `review`, `tag`, `price`, `status`, `cat_id`, `user_id`, `created_at`, `updated_at`, `isHome`, `isGroup`) VALUES
(22, 'SGEH51P12', 'galaxy-s7-edge', NULL, 'Hộp, Sạc, Tai nghe, Sách hướng dẫn, Cáp OTG, Cáp, Cây lấy sim ', 'Hoặc Tặng Vali Lock & Lock ', 'Hoặc Tặng Combo Quà (Bao da S-View + Tai nghe Level Active)', ' Trả góp 10%', '1495272433_avatarfac0000bw0.png', 'https://www.youtube.com/watch?v=QzgqOuaRNZ0', '<p>Chính thức ra mắt tại sự kiện MWC 2016 tổ chức tại Barcelona (Tây Ban Nha), smartphone <a href=\"https://fptshop.com.vn/dien-thoai/samsung-galaxy-s7\" target=\"_blank\"><strong>Samsung Galaxy S7</strong></a> sở hữu nhiều sự thay đổi nổi bật ở cả thiết kế, cấu hình và những tính năng đi kèm. Chiếc điện thoại này hứa hẹn sẽ tạo nên sự bùng nổ trong phân khúc cao cấp và mang lại những thành công tiếp theo cho hãng điện thoại Hàn Quốc.</p>\r\n\r\n<p> </p>\r\n\r\n<p><img alt=\"Samsung Galaxy S7\" src=\"http://fptshop.com.vn/Uploads/images/2015/San-pham/DH/samsung/galaxy-s7/samsung-galaxy-s7-a.jpg\" /></p>\r\n\r\n<p> </p>\r\n\r\n<h3><strong>Ngôn ngữ thiết kế quen thuộc, bổ sung khả năng chống nước hiệu quả</strong></h3>\r\n\r\n<p> </p>\r\n\r\n<h3><img alt=\"Samsung Galaxy S7 chống nước hiệu quả\" longdesc=\"http://fptshop.com.vn/dien-thoai/Samsung%20Galaxy%20S7\" src=\"http://fptshop.com.vn/Uploads/images/2015/San-pham/DH/samsung/galaxy-s7/galaxy-s7-1.jpg\" title=\"Samsung Galaxy S7\" /></h3>\r\n\r\n<p> </p>\r\n\r\n<p>Sở hữu vẻ ngoài mang nhiều nét tiêu biểu của người tiền nhiệm S6 nhưng <a href=\"https://fptshop.com.vn/dien-thoai/samsung-galaxy-s7\" target=\"_blank\"><strong>Galaxy S7</strong></a> cũng có những điểm nhấn mới mẻ của riêng mình, có thể kể đến như mặt lưng được bo cong hơn giúp người dùng cầm giữ dễ dàng hệ thống camera được làm gọn và bớt lồi hơn. Đặc biệt, khả năng chống nước và bụi đạt tiêu chuẩn IP68 sẽ mang đến sự yên tâm khi sử dụng máy trong điều kiện ẩm ướt và giúp người dùng vệ sinh cho máy dễ dàng hơn.</p>\r\n\r\n<p> </p>\r\n\r\n<h3><strong>Màn hình Super AMOLED độ phân giải 2K sắc nét</strong></h3>\r\n\r\n<p> </p>\r\n\r\n<h3><img alt=\"Màn hình Samsung Galaxy S7 Super AMOLED\" longdesc=\"http://fptshop.com.vn/dien-thoai/Samsung%20Galaxy%20S7\" src=\"http://fptshop.com.vn/Uploads/images/2015/San-pham/DH/samsung/galaxy-s7/galaxy-s7-2.jpg\" title=\"Samsung Galaxy S7\" /></h3>\r\n\r\n<p> </p>\r\n\r\n<p>Màn hình của Galaxy S7 sẽ có kích thước 5,1 inch với độ phân giải 2K (2560 x 1440 pixel), cho mật độ điểm ảnh lên đến 576 ppi, giúp tái hiện hình ảnh với độ sắc nét cực cao ngay trước mắt người dùng. Cùng với đó, công nghệ màn hình Super AMOLED sẽ mang đến những khung hình với màu sắc tươi tắn, sống động, cùng khả năng tiết kiệm điện năng ấn tượng. Nhờ đó, Samsung đã thiết kế thêm <a href=\"https://fptshop.com.vn/tin-tuc/tin-moi/chuc-nang-always-on-se-chi-danh-rieng-cho-galaxy-s7-37568\" target=\"_blank\">tính năng Always On cho Galaxy S7</a> giúp người dùng đọc được các thông báo mà không phải qua thao tác mở sáng màn hình.</p>\r\n\r\n<h3> </h3>\r\n\r\n<h3><strong>Vi xử lý mới, sức mạnh mới</strong></h3>\r\n\r\n<p> </p>\r\n\r\n<h3><img alt=\"Vi xử lý Samsung Galaxy S7\" longdesc=\"http://fptshop.com.vn/dien-thoai/Samsung%20Galaxy%20S7\" src=\"http://fptshop.com.vn/Uploads/images/2015/San-pham/DH/samsung/galaxy-s7/galaxy-s7-3.jpg\" title=\"Samsung Galaxy S7\" /></h3>\r\n\r\n<p> </p>\r\n\r\n<p><a href=\"https://fptshop.com.vn/dien-thoai/samsung-galaxy-s7\" target=\"_blank\"><strong>Điện thoại Galaxy S7</strong></a> sẽ có 2 phiên bản sử dụng 2 vi xử lý khác nhau là Qualcomm Snapdragon 820 và Exynos 8890 – cả hai đều là những con chip cao cấp thế hệ mới sở hữu hiệu suất vượt trội, giúp máy xử lý hoàn hảo mọi yêu cầu tác vụ dù “nặng nề” nhất. Thêm nữa, dung lượng RAM được nâng cấp lên mức 4GB sẽ giúp xóa đi nỗi băn khoăn về hiệu quả thực thi đa nhiệm. Một điểm tuyệt vời khác là việc <strong>Galaxy S7</strong> sẽ hỗ trợ thẻ nhớ ngoài để người dùng mở rộng không gian lưu trữ.</p>\r\n\r\n<p> </p>\r\n\r\n<h3><strong>Samsung S7 được trang bị camera chụp hình ấn tượng hơn</strong></h3>\r\n\r\n<p> </p>\r\n\r\n<h3><img alt=\"Camera Samsung Galaxy S7\" longdesc=\"http://fptshop.com.vn/dien-thoai/Samsung%20Galaxy%20S7\" src=\"http://fptshop.com.vn/Uploads/images/2015/San-pham/DH/samsung/galaxy-s7/galaxy-s7-4.jpg\" title=\"Samsung Galaxy S7\" /></h3>\r\n\r\n<p> </p>\r\n\r\n<p>Camera của Galaxy S7 cũng sẽ có những nâng cấp đáng kể. Dù độ phân giải được giảm xuống 12MP (so với 16MP trên Galaxy S6), tuy nhiên camera này sẽ có khẩu độ f/1.7 cho khả năng thu sáng tuyệt vời hơn bao giờ hết. Ngoài ra, tính năng chống rung quang học OIS giúp máy ảnh chụp nhanh hơn, ít nhòe hình hơn trong điều kiện thiếu sáng. Chưa hết, Samsung còn sử dụng một cảm biến ảnh mới tự động lấy nét điểm ảnh kép (Dual Pixel) tương tự cảm biến của các máy DSLR của Canon, do vậy hình ảnh sẽ bớt nhiễu, màu sắc rực rỡ hơn.</p>\r\n\r\n<p> </p>\r\n\r\n<p><strong>Nền tảng điều hành mới cho thời lượng pin tốt hơn</strong></p>\r\n\r\n<p> </p>\r\n\r\n<h3><img alt=\"Dung lượng pin Samsung Galaxy S7\" longdesc=\"http://fptshop.com.vn/dien-thoai/Samsung%20Galaxy%20S7\" src=\"http://fptshop.com.vn/Uploads/images/2015/San-pham/DH/samsung/galaxy-s7/galaxy-s7-5.jpg\" title=\"Samsung Galaxy S7\" /></h3>\r\n\r\n<p> </p>\r\n\r\n<p>Hệ điều hành Android 6.0 Marshmallow mới nhất hiện nay kết hợp với công nghệ màn hình Super AMOLED và vi xử lý tiết kiệm điện năng còn giúp máy có được thời lượng pin lâu hơn, có thể lên đến 2 ngày ở điều kiện sử dụng thông thường. Công nghệ sạc nhanh sẽ giúp rút ngắn đáng kể thời gian chờ đợi của người dùng, ngoài ra Galaxy S7 còn được trang bị tính năng sạc không dây và đặc biệt là tản nhiệt bằng chất lỏng.</p>\r\n', 'Galaxy S7, Galaxy S7,Galaxy S7', 15891000, 0, 24, 1, '2016-11-24 09:39:13', '2017-05-21 00:57:46', 1, 1),
(23, 'Olym P12', 'olym-p12', NULL, 'Trả góp 10%', 'Hoặc Tặng Vali Lock & Lock ', 'Hoặc Tặng Combo Quà (Bao da S-View + Tai nghe Level Active)', ' Hộp, Sạc, Tai nghe, Sách hướng dẫn, Cáp OTG, Cáp, Cây lấy sim ', '1495272458_avatarfac00009w0-369x500.png', 'https://www.youtube.com/watch?v=QzgqOuaRNZ0', '<p>Chính thức ra mắt tại sự kiện MWC 2016 tổ chức tại Barcelona (Tây Ban Nha), smartphone <a href=\"https://fptshop.com.vn/dien-thoai/samsung-galaxy-s7\" target=\"_blank\"><strong>Samsung Galaxy S7</strong></a> sở hữu nhiều sự thay đổi nổi bật ở cả thiết kế, cấu hình và những tính năng đi kèm. Chiếc điện thoại này hứa hẹn sẽ tạo nên sự bùng nổ trong phân khúc cao cấp và mang lại những thành công tiếp theo cho hãng điện thoại Hàn Quốc.</p>\r\n\r\n<p> </p>\r\n\r\n<p><img alt=\"Samsung Galaxy S7\" src=\"http://fptshop.com.vn/Uploads/images/2015/San-pham/DH/samsung/galaxy-s7/samsung-galaxy-s7-a.jpg\" /></p>\r\n\r\n<p> </p>\r\n\r\n<h3><strong>Ngôn ngữ thiết kế quen thuộc, bổ sung khả năng chống nước hiệu quả</strong></h3>\r\n\r\n<p> </p>\r\n\r\n<h3><img alt=\"Samsung Galaxy S7 chống nước hiệu quả\" longdesc=\"http://fptshop.com.vn/dien-thoai/Samsung%20Galaxy%20S7\" src=\"http://fptshop.com.vn/Uploads/images/2015/San-pham/DH/samsung/galaxy-s7/galaxy-s7-1.jpg\" title=\"Samsung Galaxy S7\" /></h3>\r\n\r\n<p> </p>\r\n\r\n<p>Sở hữu vẻ ngoài mang nhiều nét tiêu biểu của người tiền nhiệm S6 nhưng <a href=\"https://fptshop.com.vn/dien-thoai/samsung-galaxy-s7\" target=\"_blank\"><strong>Galaxy S7</strong></a> cũng có những điểm nhấn mới mẻ của riêng mình, có thể kể đến như mặt lưng được bo cong hơn giúp người dùng cầm giữ dễ dàng hệ thống camera được làm gọn và bớt lồi hơn. Đặc biệt, khả năng chống nước và bụi đạt tiêu chuẩn IP68 sẽ mang đến sự yên tâm khi sử dụng máy trong điều kiện ẩm ướt và giúp người dùng vệ sinh cho máy dễ dàng hơn.</p>\r\n\r\n<p> </p>\r\n\r\n<h3><strong>Màn hình Super AMOLED độ phân giải 2K sắc nét</strong></h3>\r\n\r\n<p> </p>\r\n\r\n<h3><img alt=\"Màn hình Samsung Galaxy S7 Super AMOLED\" longdesc=\"http://fptshop.com.vn/dien-thoai/Samsung%20Galaxy%20S7\" src=\"http://fptshop.com.vn/Uploads/images/2015/San-pham/DH/samsung/galaxy-s7/galaxy-s7-2.jpg\" title=\"Samsung Galaxy S7\" /></h3>\r\n\r\n<p> </p>\r\n\r\n<p>Màn hình của Galaxy S7 sẽ có kích thước 5,1 inch với độ phân giải 2K (2560 x 1440 pixel), cho mật độ điểm ảnh lên đến 576 ppi, giúp tái hiện hình ảnh với độ sắc nét cực cao ngay trước mắt người dùng. Cùng với đó, công nghệ màn hình Super AMOLED sẽ mang đến những khung hình với màu sắc tươi tắn, sống động, cùng khả năng tiết kiệm điện năng ấn tượng. Nhờ đó, Samsung đã thiết kế thêm <a href=\"https://fptshop.com.vn/tin-tuc/tin-moi/chuc-nang-always-on-se-chi-danh-rieng-cho-galaxy-s7-37568\" target=\"_blank\">tính năng Always On cho Galaxy S7</a> giúp người dùng đọc được các thông báo mà không phải qua thao tác mở sáng màn hình.</p>\r\n\r\n<h3> </h3>\r\n\r\n<h3><strong>Vi xử lý mới, sức mạnh mới</strong></h3>\r\n\r\n<p> </p>\r\n\r\n<h3><img alt=\"Vi xử lý Samsung Galaxy S7\" longdesc=\"http://fptshop.com.vn/dien-thoai/Samsung%20Galaxy%20S7\" src=\"http://fptshop.com.vn/Uploads/images/2015/San-pham/DH/samsung/galaxy-s7/galaxy-s7-3.jpg\" title=\"Samsung Galaxy S7\" /></h3>\r\n\r\n<p> </p>\r\n\r\n<p><a href=\"https://fptshop.com.vn/dien-thoai/samsung-galaxy-s7\" target=\"_blank\"><strong>Điện thoại Galaxy S7</strong></a> sẽ có 2 phiên bản sử dụng 2 vi xử lý khác nhau là Qualcomm Snapdragon 820 và Exynos 8890 – cả hai đều là những con chip cao cấp thế hệ mới sở hữu hiệu suất vượt trội, giúp máy xử lý hoàn hảo mọi yêu cầu tác vụ dù “nặng nề” nhất. Thêm nữa, dung lượng RAM được nâng cấp lên mức 4GB sẽ giúp xóa đi nỗi băn khoăn về hiệu quả thực thi đa nhiệm. Một điểm tuyệt vời khác là việc <strong>Galaxy S7</strong> sẽ hỗ trợ thẻ nhớ ngoài để người dùng mở rộng không gian lưu trữ.</p>\r\n\r\n<p> </p>\r\n\r\n<h3><strong>Samsung S7 được trang bị camera chụp hình ấn tượng hơn</strong></h3>\r\n\r\n<p> </p>\r\n\r\n<h3><img alt=\"Camera Samsung Galaxy S7\" longdesc=\"http://fptshop.com.vn/dien-thoai/Samsung%20Galaxy%20S7\" src=\"http://fptshop.com.vn/Uploads/images/2015/San-pham/DH/samsung/galaxy-s7/galaxy-s7-4.jpg\" title=\"Samsung Galaxy S7\" /></h3>\r\n\r\n<p> </p>\r\n\r\n<p>Camera của Galaxy S7 cũng sẽ có những nâng cấp đáng kể. Dù độ phân giải được giảm xuống 12MP (so với 16MP trên Galaxy S6), tuy nhiên camera này sẽ có khẩu độ f/1.7 cho khả năng thu sáng tuyệt vời hơn bao giờ hết. Ngoài ra, tính năng chống rung quang học OIS giúp máy ảnh chụp nhanh hơn, ít nhòe hình hơn trong điều kiện thiếu sáng. Chưa hết, Samsung còn sử dụng một cảm biến ảnh mới tự động lấy nét điểm ảnh kép (Dual Pixel) tương tự cảm biến của các máy DSLR của Canon, do vậy hình ảnh sẽ bớt nhiễu, màu sắc rực rỡ hơn.</p>\r\n\r\n<p> </p>\r\n\r\n<p><strong>Nền tảng điều hành mới cho thời lượng pin tốt hơn</strong></p>\r\n\r\n<p> </p>\r\n\r\n<h3><img alt=\"Dung lượng pin Samsung Galaxy S7\" longdesc=\"http://fptshop.com.vn/dien-thoai/Samsung%20Galaxy%20S7\" src=\"http://fptshop.com.vn/Uploads/images/2015/San-pham/DH/samsung/galaxy-s7/galaxy-s7-5.jpg\" title=\"Samsung Galaxy S7\" /></h3>\r\n\r\n<p> </p>\r\n\r\n<p>Hệ điều hành Android 6.0 Marshmallow mới nhất hiện nay kết hợp với công nghệ màn hình Super AMOLED và vi xử lý tiết kiệm điện năng còn giúp máy có được thời lượng pin lâu hơn, có thể lên đến 2 ngày ở điều kiện sử dụng thông thường. Công nghệ sạc nhanh sẽ giúp rút ngắn đáng kể thời gian chờ đợi của người dùng, ngoài ra Galaxy S7 còn được trang bị tính năng sạc không dây và đặc biệt là tản nhiệt bằng chất lỏng.</p>\r\n', 'Olym', 1589990, 1, 16, 1, '2016-11-24 09:39:28', '2017-05-21 01:48:35', 1, 1),
(24, 'OPPO F1S', 'oppo-f1s', 'Apple A10 mới, 2 cammera sau,Ram 3g, 5.5 inch (1920 x 1080 pixels)', 'Đặt Online hoặc Gọi 18006601 ưu tiên khuyến mãi (SL có hạn):', 'Trả góp 0% (Chỉ áp dụng cho thẻ tín dụng) ', 'Tặng Voucher 500.000đ mua Apple Watch', '', '1495294235_avatarop990-141ams-d.png', 'https://www.youtube.com/watch?v=QzgqOuaRNZ0', '<h3><strong>Thiết kế hoàn thiện hơn</strong></h3>\r\n\r\n<p> </p>\r\n\r\n<p><img alt=\"iphone-7-plus-128gb\" longdesc=\"http://fptshop.com.vn/dien-thoai/iphone-7-plus-128gb\" src=\"http://fptshop.com.vn/Uploads/images/2015/San-pham/iphone-7-plus-128gb/iphone-7-plus-128gb/iphone-7-plus-128gb-3.jpg\" title=\"iphone-7-plus-128gb\" /></p>\r\n\r\n<p> </p>\r\n\r\n<p>Về thiết kế, vẫn là nhôm nguyên khối liền lạc nhưng iPhone 7 Plus đã có những nét thay đổi tinh tế khi đưa hai dải ăng-ten lên sát hai cạnh trên dưới, đồng thời bỏ đi jack cắm tai nghe 3.5 mm. Điểm nhấn ấn tượng nhất về ngoại hình của iPhone 7 Plus là việc Apple bỏ đi màu xám không gian từng rất được ưa chuộng trên các model cũ để bổ sung thêm tùy chọn màu đen mờ và đen bóng Jet Black (chỉ có trên iPhone 7 Plus bản 128/256 GB).</p>\r\n\r\n<p> </p>\r\n\r\n<h3><strong>Màn hình rộng 5.5 inch, sáng hơn, nhiều màu sắc hơn</strong></h3>\r\n\r\n<p> </p>\r\n\r\n<p><img alt=\"iphone-7-plus-128gb\" longdesc=\"http://fptshop.com.vn/dien-thoai/iphone-7-plus-128gb\" src=\"http://fptshop.com.vn/Uploads/images/2015/San-pham/iphone-7-plus-128gb/iphone-7-plus-128gb/iphone-7-plus-128gb-9.jpg\" title=\"iphone-7-plus-128gb\" /></p>\r\n\r\n<p>iPhone 7 Plus cũng có màn hình 5.5 inch độ phân giải 1080x1920 pixels tương tự iPhone 6s Plus, như vậy về kích thước tổng thể chúng ta không có gì thay đổi. Tuy nhiên, tấm nền màn hình mới đã được bổ sung thêm 25% độ sáng, đạt mức cao nhất 625 nits cùng khả năng tái tạo màu sắc, gam màu rộng hơn và hỗ trợ 3D Touch.</p>\r\n\r\n<p> </p>\r\n\r\n<h3><strong>Nút Home hoàn toàn mới</strong></h3>\r\n\r\n<p> </p>\r\n\r\n<p><img alt=\"iphone-7-plus-128gb\" longdesc=\"http://fptshop.com.vn/dien-thoai/iphone-7-plus-128gb\" src=\"http://fptshop.com.vn/Uploads/images/2015/San-pham/iphone-7-plus-128gb/iphone-7-plus-128gb/iphone-7-plus-128gb-6.jpg\" title=\"iphone-7-plus-128gb\" /></p>\r\n\r\n<p> </p>\r\n\r\n<p>Với chiếc điện thoại thế hệ mới, Apple đã "xoá sổ" hoàn toàn nút bấm vật lý trên màn hình iPhone. Giờ đây nút Home ở vị trí cũ đã trở thành cảm ứng, khi bạn nhấn xuống nó vẫn cảm nhận được lực nhấn và sẽ rung nhẹ để bạn biết rằng bạn đã tương tác. Apple đã sử dụng Taptic Engine trên Force Touch của Macbook cho chiếc iPhone mới này. Mặc dù vậy phím Home vẫn có cảm biến vân tay Touch ID và tích hợp nhiều tính năng bảo mật.</p>\r\n\r\n<p> </p>\r\n\r\n<h3><strong>Camera chất lượng đột phá như máy ảnh chuyên nghiệp</strong></h3>\r\n\r\n<p> </p>\r\n\r\n<p><img alt=\"iphone-7-plus-128gb\" longdesc=\"http://fptshop.com.vn/dien-thoai/iphone-7-plus-128gb\" src=\"http://fptshop.com.vn/Uploads/images/2015/San-pham/iphone-7-plus-128gb/iphone-7-plus-128gb/iphone-7-plus-128gb-5.jpg\" title=\"iphone-7-plus-128gb\" /></p>\r\n\r\n<p> </p>\r\n\r\n<p>iPhone 7 Plus đi kèm với một camera kép độ phân giải đồng thời 12 MP, trong số đó có một ống kính góc rộng khẩu độ lên đến f/1.8 và một ống kính zoom (tele) lên đến 10x, cùng tính năng ổn định hình ảnh quang học tự động. Nó cũng bao gồm một đèn flash 2 tông màu và đèn flash quad-LED. Camera hỗ trợ quay film 4K 60fps, chụp xóa phông, chụp trước lấy nét sau như một máy ảnh chuyên nghiệp. Camera trước độ phân giải 7 MP, chụp selfie tốt hơn và tự động chống rung. Bên cạnh đó, iOS 10 cũng cho phép người dùng iPhone 7 Plus chỉnh sửa, chọn lựa ảnh từ Live Photos, lưu ảnh ở định dạng RAW.</p>\r\n\r\n<p> </p>\r\n\r\n<h3><strong>Tính năng chống nước tiện lợi</strong></h3>\r\n\r\n<p> </p>\r\n\r\n<p><img alt=\"iphone-7-plus-128gb\" longdesc=\"http://fptshop.com.vn/dien-thoai/iphone-7-plus-128gb\" src=\"http://fptshop.com.vn/Uploads/images/2015/San-pham/iphone-7-plus-128gb/iphone-7-plus-128gb/iphone-7-plus-128gb-8.jpg\" title=\"iphone-7-plus-128gb\" /></p>\r\n\r\n<p> </p>\r\n\r\n<p>Có thể nói tính năng chống nước là điều làm hài lòng nhất các tín đồ nhà Táo. Với tiêu chuẩn chống nước IP67 sẽ giúp iPhone mới có thể sống ở độ sâu 1 mét nước trong 30 phút, vậy là từ nay bạn sẽ quên đi nỗi lo về thấm nước trên iPhone 7 Plus khi đi trong trời mưa hay lỡ tay rớt nước.</p>\r\n\r\n<p> </p>\r\n\r\n<h3><strong>Hiệu năng vượt trội, lưu trữ thoải mái</strong></h3>\r\n\r\n<p> </p>\r\n\r\n<p><img alt=\"iphone-7-plus-128gb\" longdesc=\"http://fptshop.com.vn/dien-thoai/iphone-7-plus-128gb\" src=\"http://fptshop.com.vn/Uploads/images/2015/San-pham/iphone-7-plus-128gb/iphone-7-plus-128gb/iphone-7-plus-128gb-1.jpg\" title=\"iphone-7-plus-128gb\" /></p>\r\n\r\n<p> </p>\r\n\r\n<p>iPhone 7 Plus sử dụng chip A10 Fusion 4 lõi, 64-bit với tốc độ cực nhanh. Apple công bố con chip này có hiệu năng xử lý cao hơn 40% so với chip A9 và gấp 2 lần so với chip A8. Đặc biệt là nó còn cao gấp 120 lần so với iPhone đời đầu. Đi cùng đó là sự nâng cấp về bộ nhớ trong, phiên bản 16 GB trước đây đã bị loại bỏ, thay vào đó chúng ta sẽ có bộ nhớ trong 128 GB ở phiên bản này để thoải mái lưu trữ.</p>\r\n\r\n<p> </p>\r\n\r\n<h3><strong>Âm thanh sống động cùng loa stereo</strong></h3>\r\n\r\n<p> </p>\r\n\r\n<p><img alt=\"iphone-7-plus-128gb\" longdesc=\"http://fptshop.com.vn/dien-thoai/iphone-7-plus-128gb\" src=\"http://fptshop.com.vn/Uploads/images/2015/San-pham/iphone-7-plus-128gb/iphone-7-plus-128gb/iphone-7-plus-128gb-7.jpg\" title=\"iphone-7-plus-128gb\" /></p>\r\n\r\n<p> </p>\r\n\r\n<p>Loa ngoài trên iPhone 7 Plus bất ngờ được nâng cấp khi từ dạng đơn lên loa kép Stereo, với một loa nằm ở cạnh đáy và một nằm ở cạnh trên, cho âm lượng sống động gấp hai lần trên iPhone 6s Plus.</p>\r\n\r\n<p> </p>\r\n\r\n<p><strong>Tăng thời lượng sử dụng pin</strong></p>\r\n\r\n<p> </p>\r\n\r\n<p>Theo công bố từ Apple, iPhone 7 Plus có khả năng sử dụng liên tục trong thời gian hơn 1 ngày, với 60 giờ lướt web không dây và 13 giờ sử dụng mạng LTE. Tăng hơn so với iPhone 6s Plus và đảm bảo sử dụng cho cả ngày dài.</p>\r\n\r\n<p> </p>\r\n\r\n<p><em>Lưu ý: Bài viết và hình ảnh chỉ có tính chất tham khảo vì cấu hình và đặc tính sản phẩm có thể thay đổi theo thị trường và từng phiên bản. Vui lòng gọi tổng đài miễn phí 18006601 hoặc đến cửa hàng FPT Shop để nhận thông tin chính xác nhất về sản phẩm.</em></p>\r\n', 'Ipple', 5990000, 1, 16, 1, '2016-11-24 18:48:39', '2017-05-20 08:30:35', 1, 1),
(25, 'SGEH51P13', 'iphone-7-plus-128gb', 'Apple A10 mới, 2 cammera sau,Ram 3g, 5.5 inch (1920 x 1080 pixels)', 'Đặt Online hoặc Gọi 18006601', 'Trả góp 0% (Chỉ áp dụng cho thẻ tín dụng)', 'Tặng Voucher 500.000đ mua Apple Watch', '', '1495272500_avatarfac00009w0-369x500.png', 'https://www.youtube.com/watch?v=QzgqOuaRNZ0', '<h3><strong>Thiết kế hoàn thiện hơn</strong></h3>\r\n\r\n<p> </p>\r\n\r\n<p><img alt=\"iphone-7-plus-128gb\" longdesc=\"http://fptshop.com.vn/dien-thoai/iphone-7-plus-128gb\" src=\"http://fptshop.com.vn/Uploads/images/2015/San-pham/iphone-7-plus-128gb/iphone-7-plus-128gb/iphone-7-plus-128gb-3.jpg\" title=\"iphone-7-plus-128gb\" /></p>\r\n\r\n<p> </p>\r\n\r\n<p>Về thiết kế, vẫn là nhôm nguyên khối liền lạc nhưng iPhone 7 Plus đã có những nét thay đổi tinh tế khi đưa hai dải ăng-ten lên sát hai cạnh trên dưới, đồng thời bỏ đi jack cắm tai nghe 3.5 mm. Điểm nhấn ấn tượng nhất về ngoại hình của iPhone 7 Plus là việc Apple bỏ đi màu xám không gian từng rất được ưa chuộng trên các model cũ để bổ sung thêm tùy chọn màu đen mờ và đen bóng Jet Black (chỉ có trên iPhone 7 Plus bản 128/256 GB).</p>\r\n\r\n<p> </p>\r\n\r\n<h3><strong>Màn hình rộng 5.5 inch, sáng hơn, nhiều màu sắc hơn</strong></h3>\r\n\r\n<p> </p>\r\n\r\n<p><img alt=\"iphone-7-plus-128gb\" longdesc=\"http://fptshop.com.vn/dien-thoai/iphone-7-plus-128gb\" src=\"http://fptshop.com.vn/Uploads/images/2015/San-pham/iphone-7-plus-128gb/iphone-7-plus-128gb/iphone-7-plus-128gb-9.jpg\" title=\"iphone-7-plus-128gb\" /></p>\r\n\r\n<p>iPhone 7 Plus cũng có màn hình 5.5 inch độ phân giải 1080x1920 pixels tương tự iPhone 6s Plus, như vậy về kích thước tổng thể chúng ta không có gì thay đổi. Tuy nhiên, tấm nền màn hình mới đã được bổ sung thêm 25% độ sáng, đạt mức cao nhất 625 nits cùng khả năng tái tạo màu sắc, gam màu rộng hơn và hỗ trợ 3D Touch.</p>\r\n\r\n<p> </p>\r\n\r\n<h3><strong>Nút Home hoàn toàn mới</strong></h3>\r\n\r\n<p> </p>\r\n\r\n<p><img alt=\"iphone-7-plus-128gb\" longdesc=\"http://fptshop.com.vn/dien-thoai/iphone-7-plus-128gb\" src=\"http://fptshop.com.vn/Uploads/images/2015/San-pham/iphone-7-plus-128gb/iphone-7-plus-128gb/iphone-7-plus-128gb-6.jpg\" title=\"iphone-7-plus-128gb\" /></p>\r\n\r\n<p> </p>\r\n\r\n<p>Với chiếc điện thoại thế hệ mới, Apple đã "xoá sổ" hoàn toàn nút bấm vật lý trên màn hình iPhone. Giờ đây nút Home ở vị trí cũ đã trở thành cảm ứng, khi bạn nhấn xuống nó vẫn cảm nhận được lực nhấn và sẽ rung nhẹ để bạn biết rằng bạn đã tương tác. Apple đã sử dụng Taptic Engine trên Force Touch của Macbook cho chiếc iPhone mới này. Mặc dù vậy phím Home vẫn có cảm biến vân tay Touch ID và tích hợp nhiều tính năng bảo mật.</p>\r\n\r\n<p> </p>\r\n\r\n<h3><strong>Camera chất lượng đột phá như máy ảnh chuyên nghiệp</strong></h3>\r\n\r\n<p> </p>\r\n\r\n<p><img alt=\"iphone-7-plus-128gb\" longdesc=\"http://fptshop.com.vn/dien-thoai/iphone-7-plus-128gb\" src=\"http://fptshop.com.vn/Uploads/images/2015/San-pham/iphone-7-plus-128gb/iphone-7-plus-128gb/iphone-7-plus-128gb-5.jpg\" title=\"iphone-7-plus-128gb\" /></p>\r\n\r\n<p> </p>\r\n\r\n<p>iPhone 7 Plus đi kèm với một camera kép độ phân giải đồng thời 12 MP, trong số đó có một ống kính góc rộng khẩu độ lên đến f/1.8 và một ống kính zoom (tele) lên đến 10x, cùng tính năng ổn định hình ảnh quang học tự động. Nó cũng bao gồm một đèn flash 2 tông màu và đèn flash quad-LED. Camera hỗ trợ quay film 4K 60fps, chụp xóa phông, chụp trước lấy nét sau như một máy ảnh chuyên nghiệp. Camera trước độ phân giải 7 MP, chụp selfie tốt hơn và tự động chống rung. Bên cạnh đó, iOS 10 cũng cho phép người dùng iPhone 7 Plus chỉnh sửa, chọn lựa ảnh từ Live Photos, lưu ảnh ở định dạng RAW.</p>\r\n\r\n<p> </p>\r\n\r\n<h3><strong>Tính năng chống nước tiện lợi</strong></h3>\r\n\r\n<p> </p>\r\n\r\n<p><img alt=\"iphone-7-plus-128gb\" longdesc=\"http://fptshop.com.vn/dien-thoai/iphone-7-plus-128gb\" src=\"http://fptshop.com.vn/Uploads/images/2015/San-pham/iphone-7-plus-128gb/iphone-7-plus-128gb/iphone-7-plus-128gb-8.jpg\" title=\"iphone-7-plus-128gb\" /></p>\r\n\r\n<p> </p>\r\n\r\n<p>Có thể nói tính năng chống nước là điều làm hài lòng nhất các tín đồ nhà Táo. Với tiêu chuẩn chống nước IP67 sẽ giúp iPhone mới có thể sống ở độ sâu 1 mét nước trong 30 phút, vậy là từ nay bạn sẽ quên đi nỗi lo về thấm nước trên iPhone 7 Plus khi đi trong trời mưa hay lỡ tay rớt nước.</p>\r\n\r\n<p> </p>\r\n\r\n<h3><strong>Hiệu năng vượt trội, lưu trữ thoải mái</strong></h3>\r\n\r\n<p> </p>\r\n\r\n<p><img alt=\"iphone-7-plus-128gb\" longdesc=\"http://fptshop.com.vn/dien-thoai/iphone-7-plus-128gb\" src=\"http://fptshop.com.vn/Uploads/images/2015/San-pham/iphone-7-plus-128gb/iphone-7-plus-128gb/iphone-7-plus-128gb-1.jpg\" title=\"iphone-7-plus-128gb\" /></p>\r\n\r\n<p> </p>\r\n\r\n<p>iPhone 7 Plus sử dụng chip A10 Fusion 4 lõi, 64-bit với tốc độ cực nhanh. Apple công bố con chip này có hiệu năng xử lý cao hơn 40% so với chip A9 và gấp 2 lần so với chip A8. Đặc biệt là nó còn cao gấp 120 lần so với iPhone đời đầu. Đi cùng đó là sự nâng cấp về bộ nhớ trong, phiên bản 16 GB trước đây đã bị loại bỏ, thay vào đó chúng ta sẽ có bộ nhớ trong 128 GB ở phiên bản này để thoải mái lưu trữ.</p>\r\n\r\n<p> </p>\r\n\r\n<h3><strong>Âm thanh sống động cùng loa stereo</strong></h3>\r\n\r\n<p> </p>\r\n\r\n<p><img alt=\"iphone-7-plus-128gb\" longdesc=\"http://fptshop.com.vn/dien-thoai/iphone-7-plus-128gb\" src=\"http://fptshop.com.vn/Uploads/images/2015/San-pham/iphone-7-plus-128gb/iphone-7-plus-128gb/iphone-7-plus-128gb-7.jpg\" title=\"iphone-7-plus-128gb\" /></p>\r\n\r\n<p> </p>\r\n\r\n<p>Loa ngoài trên iPhone 7 Plus bất ngờ được nâng cấp khi từ dạng đơn lên loa kép Stereo, với một loa nằm ở cạnh đáy và một nằm ở cạnh trên, cho âm lượng sống động gấp hai lần trên iPhone 6s Plus.</p>\r\n\r\n<p> </p>\r\n\r\n<p><strong>Tăng thời lượng sử dụng pin</strong></p>\r\n\r\n<p> </p>\r\n\r\n<p>Theo công bố từ Apple, iPhone 7 Plus có khả năng sử dụng liên tục trong thời gian hơn 1 ngày, với 60 giờ lướt web không dây và 13 giờ sử dụng mạng LTE. Tăng hơn so với iPhone 6s Plus và đảm bảo sử dụng cho cả ngày dài.</p>\r\n\r\n<p> </p>\r\n\r\n<p><em>Lưu ý: Bài viết và hình ảnh chỉ có tính chất tham khảo vì cấu hình và đặc tính sản phẩm có thể thay đổi theo thị trường và từng phiên bản. Vui lòng gọi tổng đài miễn phí 18006601 hoặc đến cửa hàng FPT Shop để nhận thông tin chính xác nhất về sản phẩm.</em></p>\r\n', 'Ipple', 25190000, 1, 24, 1, '2016-11-24 18:48:45', '2017-05-20 02:28:20', 1, 1),
(26, 'SGEH51P5', 'galaxy-s7-edge', 'sắp ra mắt', 'Đặt Online hoặc Gọi 18006601 ưu tiên khuyến mãi (SL có hạn):', 'Hoặc Tặng Vali Lock & Lock ', 'Tặng Voucher 500.000đ mua Apple Watch', ' Hộp, Sạc, Tai nghe, Sách hướng dẫn, Cáp OTG, Cáp, Cây lấy sim ', '1495272523_avatarfac0000bw0.png', 'https://www.youtube.com/watch?v=QzgqOuaRNZ0', '<p>sản phẩm sắp được ra mắt</p>\r\n', 'Galaxy S8, Galaxy S8,Galaxy S8', 18490000, 1, 24, 1, '2016-11-25 23:44:07', '2017-05-20 02:28:43', 1, 1),
(27, 'SGEH51P7', 'galaxy-s8', 'sắp ra mắt', 'Đặt Online hoặc Gọi 18006601 ưu tiên khuyến mãi (SL có hạn):', 'Hoặc Tặng Vali Lock & Lock ', 'Tặng Voucher 500.000đ mua Apple Watch', ' Hộp, Sạc, Tai nghe, Sách hướng dẫn, Cáp OTG, Cáp, Cây lấy sim ', '1495293254_avatarop995.6agsk-t.png', 'https://www.youtube.com/watch?v=QzgqOuaRNZ0', '<p>sản phẩm sắp được ra mắt</p>\r\n', 'Galaxy S8, Galaxy S8,Galaxy S8', 18490000, 1, 16, 1, '2016-11-25 23:44:11', '2017-05-20 08:14:14', 1, 1),
(28, 'SGEH5232', 'galaxy-s8', NULL, 'Đặt Online hoặc Gọi 18006601 ưu tiên khuyến mãi (SL có hạn):', 'Hoặc Tặng Vali Lock & Lock ', 'Tặng Voucher 500.000đ mua Apple Watch', ' Hộp, Sạc, Tai nghe, Sách hướng dẫn, Cáp OTG, Cáp, Cây lấy sim ', '1495293279_avatarop990-141ams-d.png', 'https://www.youtube.com/watch?v=QzgqOuaRNZ0', '<p>sản phẩm sắp được ra mắt</p>\r\n', 'Galaxy S8, Galaxy S8,Galaxy S8', 18490000, 1, 16, 1, '2016-11-25 23:44:15', '2017-05-21 01:51:12', 1, 1),
(34, 'EFR-526D-7AVUDF', 'efr-526d-7avudf', 'Đồng hồ nam casio đẹp', 'Đặt Online hoặc Gọi 18006601 ưu tiên khuyến mãi (SL có hạn)', 'Hoặc Tặng hộp đựng đẹp', 'Tặng Voucher 500.000đ mua casio ', ' Hộp, Hướng dẫn, Pin ', '1495249390_avatarefr-526d-7avudf.png', 'https://www.youtube.com/watch?v=QzgqOuaRNZ0', '<p>Với Uy tín hàng đầu, tận tâm nhiệt tình phục vụ khách hàng, phân phối những chiếc đồng hồ cực kỳ chất lượng và giá cả phải chăng hơn 10 năm qua, Đồng Hồ 24H đã nhận được sự tin dùng của hầu hết tất cả khách hàng trong nước cũng như phần lớn kiều bào ở nước ngoài về thăm quê khi lần đầu tiên mua sắm tại cửa hàng chúng tôi.</p>\r\n', 'Casio, Đồng hồ nam', 3289000, 1, 3, 1, '2016-11-25 23:45:03', '2017-05-20 02:30:17', 1, 1),
(35, 'SGEH51P1656', 'zenfone-2-laser', 'sắp ra mắt', 'Đặt Online hoặc Gọi 18006601 ưu tiên khuyến mãi (SL có hạn):', 'Hoặc Tặng Vali Lock & Lock ', 'Tặng Voucher 500.000đ mua Apple Watch', ' Hộp, Sạc, Tai nghe, Sách hướng dẫn, Cáp OTG, Cáp, Cây lấy sim ', '1495294235_avatarop990-141ams-d.png', 'https://www.youtube.com/watch?v=QzgqOuaRNZ0', '<p>sản phẩm sắp được ra mắt</p>\r\n', 'Galaxy S8, Galaxy S8,Galaxy S8', 18490000, 1, 16, 1, '2016-11-25 23:45:08', '2017-05-20 08:15:09', 1, 1),
(42, 'SGEH51P1222', 'dell-optiplex-980-sff-case-size-mini', 'Core I3, I5 (Hàng Likenew, thùng hộp) Dell Optiplex 980', 'Giao hàng tận nơi trong nội thành', '', '', 'Thùng máy, day cab kết nối', '1495294235_avatarop990-141ams-d.png', 'https://www.youtube.com/watch?v=QzgqOuaRNZ0', '<p>* Dòng <strong><a href=\"http://cungcapmaytinh.vn/san-pham/325/dell-optiplex-980-case-size-mini.html\">Dell Optiplex 980 SFF</a></strong> <strong>hổ trợ CPU Core I3, I5, I7 Clarkdale</strong>đời đầu. Được thiết kế với vỏ <strong>Case size mini nhỏ gọn</strong>, kiểu dáng sang trọng<strong>.</strong>Thích hợp xài gia đình, văn phòng, HTPC trình chiếu phim HD. <strong>Card đồ họa tích hợp </strong><strong>Intel® HD Graphics</strong><strong> </strong>giúp xem phim HD và Game cho hình ảnh sắc nét, mượt mà.</p>\r\n\r\n<p> </p>\r\n\r\n<p><em>* Ngoài ra Dòng Dell Optiplex 980 SFF có thể gắn thêm Card Wifi, Card VGA. Tích hợp sẵn trên mainboard có cổng COM, Display Port<strong> </strong>(chức năng tương đương HDMI)</em></p>\r\n\r\n<p> </p>\r\n\r\n<p>* Với cấu hình dưới đây, sẽ đáp ứng đầy đủ nhu cầu làm công việc Văn Phòng, Vẽ AUTOCAD, 3D MAX, Game Web, xem Phim HD, nghe Nhạc...</p>\r\n\r\n<p> </p>\r\n\r\n<p><strong><em>Cấu hình có thể thay đổi theo yêu cầu của Quý Khách</em></strong></p>\r\n\r\n<p> </p>\r\n\r\n<p>Cấu hình 01: <strong><a href=\"http://cungcapmaytinh.vn/san-pham-xem/929/dell-optiplex-980-core-i.html\">Dell Optiplex 980 SFF</a> </strong>Case Size Mini</p>\r\n\r\n<p> </p>\r\n\r\n<p><strong>Hàng Likenew, thùng hộp Dell</strong></p>\r\n\r\n<p><strong> <strong>(Giá trên chưa bao gồm Phím + Chuột)</strong> </strong></p>\r\n', '', 3500000, 1, 20, 1, '2016-11-26 02:13:19', '2016-11-26 02:13:19', 1, 1),
(45, 'SGEH51P1AA', 'dell-optiplex-980-sff-case-size-mini', 'Core I3, I5 (Hàng Likenew, thùng hộp) Dell Optiplex 980', 'Giao hàng tận nơi trong nội thành', '', '', 'Thùng máy, day cab kết nối', '1495294235_avatarop990-141ams-d.png', 'https://www.youtube.com/watch?v=QzgqOuaRNZ0', '<p>* Dòng <strong><a href=\"http://cungcapmaytinh.vn/san-pham/325/dell-optiplex-980-case-size-mini.html\">Dell Optiplex 980 SFF</a></strong> <strong>hổ trợ CPU Core I3, I5, I7 Clarkdale</strong>đời đầu. Được thiết kế với vỏ <strong>Case size mini nhỏ gọn</strong>, kiểu dáng sang trọng<strong>.</strong>Thích hợp xài gia đình, văn phòng, HTPC trình chiếu phim HD. <strong>Card đồ họa tích hợp </strong><strong>Intel® HD Graphics</strong><strong> </strong>giúp xem phim HD và Game cho hình ảnh sắc nét, mượt mà.</p>\r\n\r\n<p> </p>\r\n\r\n<p><em>* Ngoài ra Dòng Dell Optiplex 980 SFF có thể gắn thêm Card Wifi, Card VGA. Tích hợp sẵn trên mainboard có cổng COM, Display Port<strong> </strong>(chức năng tương đương HDMI)</em></p>\r\n\r\n<p> </p>\r\n\r\n<p>* Với cấu hình dưới đây, sẽ đáp ứng đầy đủ nhu cầu làm công việc Văn Phòng, Vẽ AUTOCAD, 3D MAX, Game Web, xem Phim HD, nghe Nhạc...</p>\r\n\r\n<p> </p>\r\n\r\n<p><strong><em>Cấu hình có thể thay đổi theo yêu cầu của Quý Khách</em></strong></p>\r\n\r\n<p> </p>\r\n\r\n<p>Cấu hình 01: <strong><a href=\"http://cungcapmaytinh.vn/san-pham-xem/929/dell-optiplex-980-core-i.html\">Dell Optiplex 980 SFF</a> </strong>Case Size Mini</p>\r\n\r\n<p> </p>\r\n\r\n<p><strong>Hàng Likenew, thùng hộp Dell</strong></p>\r\n\r\n<p><strong> <strong>(Giá trên chưa bao gồm Phím + Chuột)</strong> </strong></p>\r\n', '', 3500000, 1, 20, 1, '2016-11-26 02:13:31', '2016-11-26 02:13:31', 1, 1),
(47, 'SGEH51P1AAB', 'asus-gimming-980-sff-case-size-mini', 'Core I3, I5 (Hàng Likenew, thùng hộp) Dell Optiplex 980', 'Giao hàng tận nơi trong nội thành', '', '', 'Thùng máy, day cab kết nối', '1495293254_avatarop995.6agsk-t.png', 'https://www.youtube.com/watch?v=QzgqOuaRNZ0', '<p>* Dòng <strong><a href=\"http://cungcapmaytinh.vn/san-pham/325/dell-optiplex-980-case-size-mini.html\">Dell Optiplex 980 SFF</a></strong> <strong>hổ trợ CPU Core I3, I5, I7 Clarkdale</strong>đời đầu. Được thiết kế với vỏ <strong>Case size mini nhỏ gọn</strong>, kiểu dáng sang trọng<strong>.</strong>Thích hợp xài gia đình, văn phòng, HTPC trình chiếu phim HD. <strong>Card đồ họa tích hợp </strong><strong>Intel® HD Graphics</strong><strong> </strong>giúp xem phim HD và Game cho hình ảnh sắc nét, mượt mà.</p>\r\n\r\n<p> </p>\r\n\r\n<p><em>* Ngoài ra Dòng Dell Optiplex 980 SFF có thể gắn thêm Card Wifi, Card VGA. Tích hợp sẵn trên mainboard có cổng COM, Display Port<strong> </strong>(chức năng tương đương HDMI)</em></p>\r\n\r\n<p> </p>\r\n\r\n<p>* Với cấu hình dưới đây, sẽ đáp ứng đầy đủ nhu cầu làm công việc Văn Phòng, Vẽ AUTOCAD, 3D MAX, Game Web, xem Phim HD, nghe Nhạc...</p>\r\n\r\n<p> </p>\r\n\r\n<p><strong><em>Cấu hình có thể thay đổi theo yêu cầu của Quý Khách</em></strong></p>\r\n\r\n<p> </p>\r\n\r\n<p>Cấu hình 01: <strong><a href=\"http://cungcapmaytinh.vn/san-pham-xem/929/dell-optiplex-980-core-i.html\">Dell Optiplex 980 SFF</a> </strong>Case Size Mini</p>\r\n\r\n<p> </p>\r\n\r\n<p><strong>Hàng Likenew, thùng hộp Dell</strong></p>\r\n\r\n<p><strong> <strong>(Giá trên chưa bao gồm Phím + Chuột)</strong> </strong></p>\r\n', '', 3500000, 1, 21, 1, '2016-11-26 02:13:53', '2016-11-26 02:13:53', 1, 1),
(50, 'SGEH51P1AAC', 'asus-gimming-980-sff-case-size-mini', 'Core I3, I5 (Hàng Likenew, thùng hộp) Dell Optiplex 980', 'Giao hàng tận nơi trong nội thành', '', '', 'Thùng máy, day cab kết nối', '1495293254_avatarop995.6agsk-t.png', 'https://www.youtube.com/watch?v=QzgqOuaRNZ0', '<p>* Dòng <strong><a href=\"http://cungcapmaytinh.vn/san-pham/325/dell-optiplex-980-case-size-mini.html\">Dell Optiplex 980 SFF</a></strong> <strong>hổ trợ CPU Core I3, I5, I7 Clarkdale</strong>đời đầu. Được thiết kế với vỏ <strong>Case size mini nhỏ gọn</strong>, kiểu dáng sang trọng<strong>.</strong>Thích hợp xài gia đình, văn phòng, HTPC trình chiếu phim HD. <strong>Card đồ họa tích hợp </strong><strong>Intel® HD Graphics</strong><strong> </strong>giúp xem phim HD và Game cho hình ảnh sắc nét, mượt mà.</p>\r\n\r\n<p> </p>\r\n\r\n<p><em>* Ngoài ra Dòng Dell Optiplex 980 SFF có thể gắn thêm Card Wifi, Card VGA. Tích hợp sẵn trên mainboard có cổng COM, Display Port<strong> </strong>(chức năng tương đương HDMI)</em></p>\r\n\r\n<p> </p>\r\n\r\n<p>* Với cấu hình dưới đây, sẽ đáp ứng đầy đủ nhu cầu làm công việc Văn Phòng, Vẽ AUTOCAD, 3D MAX, Game Web, xem Phim HD, nghe Nhạc...</p>\r\n\r\n<p> </p>\r\n\r\n<p><strong><em>Cấu hình có thể thay đổi theo yêu cầu của Quý Khách</em></strong></p>\r\n\r\n<p> </p>\r\n\r\n<p>Cấu hình 01: <strong><a href=\"http://cungcapmaytinh.vn/san-pham-xem/929/dell-optiplex-980-core-i.html\">Dell Optiplex 980 SFF</a> </strong>Case Size Mini</p>\r\n\r\n<p> </p>\r\n\r\n<p><strong>Hàng Likenew, thùng hộp Dell</strong></p>\r\n\r\n<p><strong> <strong>(Giá trên chưa bao gồm Phím + Chuột)</strong> </strong></p>\r\n', '', 3500000, 1, 21, 1, '2016-11-26 02:14:03', '2016-11-26 02:14:03', 0, 1),
(53, 'SGEH23', 'asus-rog-gl-552-vx', '', 'Đặt Online hoặc Gọi 18006601 ưu tiên khuyến mãi (SL có hạn):', 'Hoặc Tặng Vali Lock & Lock ', '', 'Pin, Dây nguồn, Sách hướng dẫn, Thùng máy, Adapter sạc ', '1495272500_avatarfac00009w0-369x500.png', 'https://www.youtube.com/watch?v=QzgqOuaRNZ0', '<p>Thông tin sản phẩm:<br />\r\n<strong>ASUS GL552VX-DM070D - i7-6700HQ 2.6GHz, 8GB, 1TB, VGA GTX 950M 4GB GDDR5, 15.6" FHD</strong><br />\r\n<em>• CPU: Intel Core i7 6700HQ 2.6GHz up to 3.5GHz 6Mb<br />\r\n• RAM: 8GB DDR4 2133MHz<br />\r\n• Đĩa cứng: HDD 1TB 7200rpm <br />\r\n• Card đồ họa: NVIDIA GeForce GTX 950M 4GB GDDR5 + Intel HD Graphics 530 <br />\r\n• Màn hình: 15.6 inch Full HD (1920 x 1080 pixels) LED + Anti-Glare WV<br />\r\n• Tích hợp đĩa quang: Super-Multi DVD<br />\r\n• Cổng giao tiếp: USB 2.0 USB 3.0 HDMI LAN <br />\r\n• PIN: 4 Cells<br />\r\n• Trọng lượng: 2.59 kg<br />\r\n• Hệ điều hành: Free Dos</em><br />\r\n<br />\r\nThùng máy chắc sản xuất trước khi có máy nên không có ảnh sản phẩm ở ngoài thùng<br />\r\n<img alt=\"[IMG]\" src=\"http://i.imgur.com/wDr6xJo.jpg\" /><br />\r\n<br />\r\nThông tin sản phẩm có thể được quy đổi thành code game World Of Warship khá giá trị. Nếu bạn nào không đổi dc code game thì cứ liên hệ mình hỗ trợ nhé<br />\r\n<img alt=\"[IMG]\" src=\"http://i.imgur.com/R653ba2.jpg\" /><br />\r\n<br />\r\nTrọn bộ phụ kiện kèm theo sản phẩm:<br />\r\n- Pin<br />\r\n- Dây nguồn và sạc adapter<br />\r\n- Đĩa driver windows 10<br />\r\n- Chuột ASUS Gaming SiCa<br />\r\n- Dây rút sạc & Khăn vệ sinh màn hình<br />\r\n- Sổ bảo hành và giấy tờ khác<br />\r\n<img alt=\"[IMG]\" src=\"http://i.imgur.com/qpBdqsp.jpg\" /><br />\r\n </p>\r\n\r\n<p>Sản phẩm được tặng kèm theo chuột ASUS ROG SICA (giá ~60$). Thiết kế chuột tương đối nhỏ nhắn, vừa tay, phù hợp cho cả người thuận tay phải lẫn tay trái nên không có các nút chuột phụ bên hông. Thiết kế này phù hợp cho đối tượng game thủ RPG, FPS hơn là MOBA/ARTS vì ít nút cho việc sử dụng nhanh skills/items</p>\r\n\r\n<p><img alt=\"\" src=\"http://i.imgur.com/OLpgTZO.jpg\" /></p>\r\n\r\n<p><br />\r\n<br />\r\nVỏ ngoài của máy có thiết kế không thay đổi so với GL552JX. Vỏ bằng nhựa cứng cáp chứ không phải là vỏ nhôm của GL552VW giá tiền cao hơn<br />\r\n<img alt=\"[IMG]\" src=\"http://i.imgur.com/vVjxXPS.jpg\" /><br />\r\n<br />\r\nLogo ASUS phát sáng khi bật nguồn<br />\r\n<img alt=\"[IMG]\" src=\"http://i.imgur.com/Bnn5Sk7.jpg\" /><br />\r\n<br />\r\nMáy đã được lược bỏ cổng VGA (D-sub) thay vào đó là cổng USB 3.1 Type C đời mới<br />\r\nNgoài ra các cổng khác như jack nguồn, khe tản nhiệt, HDMI, LAN, 2 cổng USB 3.0 vẫn được giữ lại đúng vị trí như GL552JX<br />\r\n<img alt=\"[IMG]\" src=\"http://i.imgur.com/V5qcO0m.jpg\" /><br />\r\nKhông có sự thay đổi, vẫn là 2 jack audio/micro được tách riêng biệt, 1 cổng USB 2.0, ổ DVD-RW và khóa kensington<br />\r\n<br />\r\n<img alt=\"[IMG]\" src=\"http://i.imgur.com/V1H6QND.jpg\" /><br />\r\nPhía trước là khe cắm thẻ nhớ SD card<br />\r\n<img alt=\"[IMG]\" src=\"http://i.imgur.com/uerGtNe.jpg\" /><br />\r\n<br />\r\nThiết kế bàn phím không có gì thay đổi. Máy có đèn nền màu đỏ, các phím ASDW được làm nổi bật<br />\r\n<img alt=\"[IMG]\" src=\"http://i.imgur.com/sL81FWt.jpg\" /><br />\r\n<br />\r\n<br />\r\nLogo Core i7 Skylake (lô hàng đầu có nhiều thiếu sót do thiếu sự đồng bộ giữa các nhà sản xuất hoặc các khâu sx của ASUS nên logo NVIDIA đã bị thiếu, máy vẫn có card đồ họa rời GTX 950M 4GB GDDR5)<br />\r\nMáy là sản phẩm chính hãng có hỗ trợ bảo hành từ xa của ASUS<br />\r\n<img alt=\"[IMG]\" src=\"http://i.imgur.com/ix8rdSI.jpg\" /><br />\r\n<br />\r\nLogo ASUS ROG, máy màn hình 15.6" inch nên có kèm bàn phím số<br />\r\n<img alt=\"[IMG]\" src=\"http://i.imgur.com/qYQ2qan.jpg\" /><br />\r\n<br />\r\n<br />\r\nMáy có 2 loa kép, hangchinhhieu.vn sẽ cập nhật chất lượng loa của máy xem có nhiều cải thiện so với sản phẩm tiền nhiệm hay không<br />\r\n<img alt=\"[IMG]\" src=\"http://i.imgur.com/xoHzNtM.jpg\" /><br />\r\n<br />\r\n<br />\r\nThiết kế mặt đáy không có sự thay đổi, máy có thể dễ dàng nâng cấp RAM, SSD bằng tháo cover ra.<br />\r\nASUS đã thêm 1 lưu ý: khe M.2 trên máy chỉ lắp được loại SSD SATA M.2 2280 chứ không lắp được loại SSD chuẩn pcie x4 hoặc ssd có kích thước khác như 2242 chẳng hạn. Có thể do 1 số người dùng gl552jx ngày trước đã phàn nàn họ đã mua sai loại SSD khi gắn vào máy nên ASUS phải note lại thế này</p>\r\n', 'rog, gamming', 19850000, 1, 24, 1, '2016-11-26 02:18:11', '2017-06-02 07:55:42', 0, 1);
INSERT INTO `products` (`id`, `name`, `slug`, `intro`, `promo1`, `promo2`, `promo3`, `packet`, `images`, `r_intro`, `review`, `tag`, `price`, `status`, `cat_id`, `user_id`, `created_at`, `updated_at`, `isHome`, `isGroup`) VALUES
(69, 'OPTIPLEX 3046SFF 70086073', 'optiplex-3046sff-70086073', 'Intel Core i3 6100,8G DDR3, intel HD ', 'Đặt Online hoặc Gọi 18006601 ưu tiên khuyến mãi (SL có hạn):', 'Hoặc Tặng Vali Lock & Lock ', 'Hoặc Tặng Combo Quà (Bao da S-View + Tai nghe Level Active)', 'Dây nguồn, Ốc', '1495351631_avatarfac0000bw0.png', 'https://www.youtube.com/watch?v=QzgqOuaRNZ0', '<h2>CHI TIẾT TÍNH NĂNG</h2>\r\n\r\n<h3>Thiết kế cứng cáp</h3>\r\n\r\n<p>Máy tính bàn Dell Optiplex 3046SFF 70086073 mang trong mình tông màu đen bắt mắt, rất thích hợp với nhiều không gian làm việc. Bên cạnh đó, thiết kế cứng cáp cùng với bộ tản nhiệt được lắp đặt rất hợp lý sẽ tăng độ bền cho máy tính.</p>\r\n\r\n<p><img alt=\"Máy tính bàn Dell Optiplex 3046SFF 70086073 thiết kế cứng cáp, độ bền cao\" src=\"http://static.nguyenkimmall.com/images/companies/_1/Content/tin-hoc/may-tinh-de-ban/dell/may-tinh-de-ban-dell-optiplex-3046sff-70086073-core-i3-2.jpg\" /></p>\r\n\r\n<p>Máy tính bàn Dell Optiplex 3046SFF 70086073 có thiết kế cứng cáp</p>\r\n\r\n<h3>Hiệu năng hoạt động</h3>\r\n\r\n<p>Chip Intel Core-i3 6100 tốc độ cao 3.7GHz được trang bị trên máy tính bàn Dell Optiplex 3046SFF 70086073 có hiệu suất hoạt động rất hiệu quả, máy tính có thể xử lý hiệu năng đa nhiệm nhanh chóng mà không bị xảy ra hiện tượng giật.</p>\r\n\r\n<p><img alt=\"Máy tính bàn Dell Optiplex 3046SFF 70086073 trang bị chip Intel Core-i3 6100\" src=\"http://static.nguyenkimmall.com/images/companies/_1/Content/tin-hoc/may-tinh-de-ban/dell/may-tinh-de-ban-dell-optiplex-3046sff-70086073-core-i3--3.jpg\" /></p>\r\n\r\n<p>Xử lý tác vụ nhanh với Intel Core-i3 6100 trên máy tính bàn Dell Optiplex 3046SFF 70086073</p>\r\n\r\n<h3>Ổ đĩa cứng 500 GB</h3>\r\n\r\n<p><a href=\"http://www.nguyenkim.com/may-tinh-de-ban/\">Máy tính bàn </a>này trang bị ổ đĩa cứng với dung lượng lên đến 500GB, đem đến khả năng lưu trữ dữ liệu lớn, giúp bạn có thể cài đặt ứng dụng, phần mềm mà không phải lo về tình trạng hết bộ nhớ trống.</p>\r\n\r\n<p><img alt=\"Máy tính bàn Dell Optiplex 3046SFF 70086073 trang bị ổ HDD 500 GB\" src=\"http://static.nguyenkimmall.com/images/companies/_1/Content/tin-hoc/may-tinh-de-ban/asus/may-tinh-de-ban-asus-k31ad-vn028d-core-i3-4.jpg\" /></p>\r\n\r\n<p>Máy tính bàn Dell Optiplex 3046SFF 70086073 lưu trữ dữ liệu lớn</p>\r\n\r\n<h3>Ổ đĩa quang DVD</h3>\r\n\r\n<p>Bạn cũng có thể khai thác được sự tiện lợi của đĩa DVD với ổ đĩa quang có khả năng đọc và ghi tích hợp trên máy tính bàn Dell Optiplex 3046SFF 70086073, hỗ trợ bạn rất nhiều trong quá trình sử dụng.</p>\r\n\r\n<p><img alt=\"Máy tính bàn Dell Optiplex 3046SFF 70086073 tích hợp ổ đĩa quang tiện lợi\" src=\"http://static.nguyenkimmall.com/images/companies/_1/Content/tin-hoc/may-tinh-de-ban/dell/may-tinh-de-ban-dell-optiplex-3046sff-70086073-core-i3-5.jpg\" /></p>\r\n\r\n<p>Ổ đĩa quang DVD tích hợp trên máy tính bàn Dell Optiplex 3046SFF 70086073</p>\r\n\r\n<h3>Lý do mua hàng</h3>\r\n\r\n<ul>\r\n <li>\r\n <p>Có thể dễ dàng nâng cấp phần cứng để phù hợp với nhu cầu sử dụng của mình.</p>\r\n </li>\r\n <li>\r\n <p>Chip Intel Core-i3 6100 tốc độ cao cùng RAM 4 GB, giúp xử lý các tác vụ nhanh chóng. </p>\r\n </li>\r\n <li>\r\n <p>Tích hợp ổ đĩa quang DVD cho phép ghi và đọc.</p>\r\n </li>\r\n</ul>\r\n\r\n<h3>Ưu đãi mua hàng</h3>\r\n\r\n<ul>\r\n <li>\r\n <p>Để đặt mua máy tính bàn của Dell, bạn có thể gọi ngay đến tổng đài <em>1900 1267</em> bấm phím số 1.</p>\r\n </li>\r\n <li>\r\n <p>Bạn cũng có thể yêu cầu nhân viên <NAME> gọi lại để tiết kiệm chi phí điện thoại.</p>\r\n </li>\r\n <li>\r\n <p>Dịch vụ giao hàng tận nơi nhanh chóng, tiện lợi.</p>\r\n </li>\r\n</ul>\r\n\r\n<h3>THÔNG SỐ KỸ THUẬT</h3>\r\n\r\n<h2>Thông tin chung</h2>\r\n\r\n<p>Model:</p>\r\n\r\n<p>OPTIPLEX 3046SFF 70086073</p>\r\n\r\n<p>Màu sắc:</p>\r\n\r\n<p>Đen</p>\r\n\r\n<p>Nhà sản xuất:</p>\r\n\r\n<p>Dell</p>\r\n\r\n<p>Xuất xứ:</p>\r\n\r\n<p>Trung Quốc</p>\r\n\r\n<p>Thời gian bảo hành:</p>\r\n\r\n<p>12 tháng</p>\r\n\r\n<p>Địa điểm bảo hành:</p>\r\n\r\n<p>Nguyễn Kim</p>\r\n\r\n<h2>Bộ vi xử lý máy tính để bàn</h2>\r\n\r\n<p>CPU:</p>\r\n\r\n<p>Intel Core-i3</p>\r\n\r\n<p>Loại CPU:</p>\r\n\r\n<p>6100</p>\r\n\r\n<p>Tốc độ CPU:</p>\r\n\r\n<p>3.70 GHz</p>\r\n\r\n<p>Bộ nhớ đệm:</p>\r\n\r\n<p>3 MB Cache</p>\r\n\r\n<p>Tốc độ CPU tối đa:</p>\r\n\r\n<p>Không</p>\r\n\r\n<h2>Bộ nhớ máy tính để bàn</h2>\r\n\r\n<p>Loại RAM:</p>\r\n\r\n<p>SDRAM DDR3</p>\r\n\r\n<p>Dung lượng RAM:</p>\r\n\r\n<p>4 GB</p>\r\n\r\n<p>Tốc độ Bus:</p>\r\n\r\n<p>1600 MHz</p>\r\n\r\n<h2>Đĩa cứng máy tính để bàn</h2>\r\n\r\n<p>Loại ổ đĩa cứng:</p>\r\n\r\n<p>SATA</p>\r\n\r\n<p>Dung lượng đĩa cứng:</p>\r\n\r\n<p>500 GB</p>\r\n\r\n<h2>Đĩa quang máy tính để bàn</h2>\r\n\r\n<p>Tích hợp ổ đĩa quang:</p>\r\n\r\n<p>Có</p>\r\n\r\n<p>Loại đĩa quang:</p>\r\n\r\n<p>SuperMulti DVD</p>\r\n\r\n<h2>Đồ họa máy tính để bàn</h2>\r\n\r\n<p>Bộ xử lý đồ họa:</p>\r\n\r\n<p>Integrated Intel HD Graphics</p>\r\n\r\n<p>Chipset card đồ họa:</p>\r\n\r\n<p>Intel HD</p>\r\n\r\n<p>Dung lượng card đồ họa:</p>\r\n\r\n<p>Share</p>\r\n\r\n<h2>Âm thanh máy tính để bàn</h2>\r\n\r\n<p>Công nghệ âm thanh:</p>\r\n\r\n<p>High Definition</p>\r\n\r\n<p>Chuẩn âm thanh:</p>\r\n\r\n<p>High Definition Audio</p>\r\n\r\n<h2>Kết nối máy tính để bàn</h2>\r\n\r\n<p>Cổng kết nối màn hình:</p>\r\n\r\n<p>VGA</p>\r\n\r\n<p>Chuẩn WiFi:</p>\r\n\r\n<p>Không</p>\r\n\r\n<p>Chuẩn LAN:</p>\r\n\r\n<p>10 / 100 Mbps</p>\r\n\r\n<p>Bluetooth:</p>\r\n\r\n<p>Không</p>\r\n\r\n<p>Cổng USB:</p>\r\n\r\n<p>Có</p>\r\n\r\n<p>Cổng HDMI:</p>\r\n\r\n<p>Đang cập nhật</p>\r\n\r\n<p>Khe đọc thẻ nhớ:</p>\r\n\r\n<p>Đang cập nhật</p>\r\n\r\n<p>Kết nối khác:</p>\r\n\r\n<p>Không</p>\r\n\r\n<h2>Hệ điều hành máy tính để bàn</h2>\r\n\r\n<p>HĐH kèm theo máy:</p>\r\n\r\n<p>Ubuntu</p>\r\n\r\n<h2>Kích thước & Khối lượng thùng</h2>\r\n\r\n<p>Kích thước thùng:</p>\r\n\r\n<p>290x92x292 mm</p>\r\n\r\n<p>Khối lượng thùng (kg):</p>\r\n\r\n<p>6.1 kg</p>\r\n', 'OPTIPLEX 3046SFF 70086073', 21890000, 1, 24, 1, '2016-11-28 18:10:44', '2016-11-28 18:21:42', 0, 1),
(71, 'SGEH51P1', 'sgeh51p1', '', 'Hộp, Sạc, Tai nghe, Sách hướng dẫn, Cáp OTG, Cáp, Cây lấy sim ', '', '', ' Trả góp 0%', '1495351631_avatarfac0000bw0.png', 'https://www.youtube.com/watch?v=QzgqOuaRNZ0', '<p style=\"text-align:center\"><a href=\"https://www.xwatch.vn/blog/bao-hiem-dong-ho-tieu-chuan-thuy-si-p2724.html\" rel=\"noopener noreferrer\" target=\"_blank\"><img alt=\"chính sách bảo hành Xwatch\" class=\"alignnone size-full wp-image-36297\" src=\"//www.cdn.xwatch.vn/wp-content/uploads/2016/12/xw-banner-csbh.png\" style=\"max-width:1177px; width:1200px\" /></a> <img alt=\"chứng nhận đại lý Seiko\" class=\"alignnone size-full wp-image-36358\" src=\"//www.cdn.xwatch.vn/wp-content/uploads/2016/12/xw-banner-giay-chung-nhan-seiko-chinh-hang.jpg\" style=\"max-width:1177px; width:1200px\" /><img alt=\"\" class=\"alignnone size-full wp-image-33822\" src=\"//www.cdn.xwatch.vn/wp-content/uploads/2017/04/xw-doi-ngu-ki-thuat.png\" style=\"max-width:1177px; width:1200px\" /> <a href=\"https://www.xwatch.vn/lien-he\" rel=\"noopener noreferrer\" target=\"_blank\"><img alt=\"hệ thống cửa hàng xwatch\" class=\"alignnone size-full wp-image-34096\" src=\"//www.cdn.xwatch.vn/wp-content/uploads/2017/04/xw-banner-he-thong-cua-hang.png\" style=\"max-width:1177px; width:1200px\" /></a><img alt=\"\" class=\"alignnone size-full wp-image-32678\" src=\"//www.cdn.xwatch.vn/wp-content/uploads/2016/12/phụ-kiện-của-Seiko.jpg\" style=\"max-width:1177px; width:1099px\" /></p>\r\n', '', 5123900, 1, 4, 1, '2017-05-21 00:27:11', '2017-06-05 16:44:51', 1, 1),
(73, 'Đồng hồ TS1', 'dong-ho-ts1', NULL, 'Không có', '', '', 'Không có', '1496392203_1495249390_avatarefr-526d-7avudf.png', 'https://www.youtube.com/watch?v=QzgqOuaRNZ0', '<p>Đồng hồ Thụy Sĩ TS1</p>\r\n', '', 1000000, 1, 26, 1, '2017-05-28 00:27:20', '2017-05-28 00:27:20', 1, 1),
(99, 'San pham 001', 'san-pham-001', 'https://www.youtube.com/watch?v=QzgqOuaRNZ0', '', '', '', '', '1496393446_1495351096_avatarfac0000bw0.png', 'https://www.youtube.com/watch?v=QzgqOuaRNZ0', '', '', 12345, 1, 15, 1, '2017-05-30 03:16:07', '2017-06-05 03:14:50', 1, 1),
(101, '<NAME>', 'dong-ho-nei', 'https://www.youtube.com/watch?v=RK6YUrMsP70', 'Đủ hộp sản phẩm', '', '', 'Không khuyến mãi', '1496624498_1495293254_avatarop995.6agsk-t.png', 'https://www.youtube.com/watch?v=RK6YUrMsP70', '<p>Chi tiet</p>\r\n', '', 6555000, 0, 16, 1, '2017-06-04 18:01:38', '2017-06-05 03:29:40', 1, 1),
(102, 'refr-539bkg-1avudf', 'refr-539bkg-1avudf', '', '', '', '', '', '1497059853_avatarefr-539bkg-1avudf-min.jpg', '', '<p>Sản phẩm refr-539bkg-1avudf</p>\r\n', '', 3422000, 1, 3, 1, '2017-06-09 18:57:33', '2017-06-09 18:57:33', 1, 1),
(103, 'efr-539d-7avudf', 'efr-539d-7avudf', 'https://www.youtube.com/watch?v=RK6YUrMsP70', '', '', '', '', '1497060114_avatarefr-539d-7avudf-min.jpg', 'https://www.youtube.com/watch?v=RK6YUrMsP70', '<p>Casio efr-539d-7avudf</p>\r\n', '', 2500000, 1, 3, 1, '2017-06-09 19:01:54', '2017-06-09 19:01:54', 1, 1),
(104, 'efr-543bk-1a2vudf', 'efr-543bk-1a2vudf', 'https://www.youtube.com/watch?v=QzgqOuaRNZ0', '', '', '', '', '1497060169_avatarefr-543bk-1a2vudf-min.jpg', 'https://www.youtube.com/watch?v=QzgqOuaRNZ0', '<p>Casio efr-543bk-1a2vudf</p>\r\n', '', 1990000, 1, 3, 1, '2017-06-09 19:02:49', '2017-06-09 19:02:49', 1, 1),
(105, 'rag8351-86e', 'rag8351-86e', 'https://www.youtube.com/watch?v=nnOFyt9tI8I', '', '', '', '', '1497060261_avatarag8351-86e-1.jpg', 'https://www.youtube.com/watch?v=nnOFyt9tI8I', '<p>Citizen rag8351-86e</p>\r\n', '', 4500000, 1, 4, 1, '2017-06-09 19:04:21', '2017-06-09 19:04:21', 1, 1),
(106, 'raw1231-58l', 'raw1231-58l', '', '', '', '', '', '1497060316_avataraw1231-58l.jpg', '', '<p>Citizen raw1231-58l</p>\r\n', '', 5900000, 1, 4, 1, '2017-06-09 19:05:16', '2017-06-09 19:05:16', 1, 1),
(107, 'ny0040-09wb', 'ny0040-09wb', '', '', '', '', '', '1497060375_avatarny0040-09wb.jpg', '', '<p>Citizen ny0040-09wb</p>\r\n', '', 20000900, 1, 4, 1, '2017-06-09 19:06:15', '2017-06-09 19:06:15', 1, 1),
(108, 'og385-021gkt', 'og385-021gkt', '', 'Đủ hộp sản phẩm', '', '', 'Không có', '1497060434_avatarog385-021gkt-1.png', '', '<p>Citizen og385-021gkt</p>\r\n', '', 7900000, 1, 4, 1, '2017-06-09 19:07:14', '2017-06-09 19:07:14', NULL, NULL),
(109, 'og385-021gsk', 'og385-021gsk', 'https://www.youtube.com/watch?v=QzgqOuaRNZ0', '', '', '', '', '1497060483_avatarog385-021gsk-t.jpg', 'https://www.youtube.com/watch?v=QzgqOuaRNZ0', '<p>Citizen og385-021gsk</p>\r\n', '', 3450000, 1, 4, 1, '2017-06-09 19:08:03', '2017-06-09 19:08:03', 1, 1),
(110, 'SNDV59P1', 'sndv59p1', 'https://www.youtube.com/watch?v=RK6YUrMsP70', '', '', '', '', '1497060541_Avatar_SNDV59P1.png', 'https://www.youtube.com/watch?v=RK6YUrMsP70', '<p>Seiko SNDV59P1</p>\r\n', '', 3990000, 1, 25, 1, '2017-06-09 19:09:01', '2017-06-09 19:09:01', 1, 1),
(111, 'SSC471P1', 'ssc471p1', '', '', '', '', '', '1497060591_Avatar_SSC471P1-min-2-1.png', '', '<p>Seiko SSC471P1</p>\r\n', '', 6890000, 1, 25, 1, '2017-06-09 19:09:51', '2017-06-09 19:09:51', 1, 1),
(112, 'ska647p1', 'ska647p1', 'https://www.youtube.com/watch?v=nnOFyt9tI', '', '', '', '', '1497060636_avatarska647p1.png', 'https://www.youtube.com/watch?v=nnOFyt9tI', '<p>Seiko ska647p1</p>\r\n', '', 1200000, 1, 25, 1, '2017-06-09 19:10:36', '2017-06-09 19:10:36', 1, 1),
(113, 'ssa863k1', 'ssa863k1', '', '', '', '', '', '1497060687_avatarssa863k1-2-369x500.png', '', '<p>Seiko ssa863k1</p>\r\n', '', 23000000, 1, 25, 1, '2017-06-09 19:11:27', '2017-06-09 19:11:27', 1, 1),
(114, 'og358', 'og358', 'https://www.youtube.com/watch?v=QzgqOuaRNZ0', '', '', '', '', '1497060827_avatarog358.63agr-gl.png', 'https://www.youtube.com/watch?v=QzgqOuaRNZ0', '<p>Ogival og358</p>\r\n', '', 5000000, 1, 15, 1, '2017-06-09 19:13:47', '2017-06-09 19:13:47', 1, 1),
(115, '385-021gkt', '385-021gkt', 'https://www.youtube.com/watch?v=QzgqOuaRNZ0', '', '', '', '', '1497060885_avatarog385-021gkt-1.png', 'https://www.youtube.com/watch?v=QzgqOuaRNZ0', '<p>Ogival 385-021gkt</p>\r\n', '', 902000, 1, 15, 1, '2017-06-09 19:14:45', '2017-06-09 19:14:45', 1, 1),
(116, 'arog385-022lkt', 'arog385-022lkt', '', '', '', '', '', '1497060947_avatarog385-022lkt-1.png', '', '<p>Ogival arog385-022lkt</p>\r\n', '', 16000000, 1, 15, 1, '2017-06-09 19:15:47', '2017-06-09 19:15:47', 1, 1);
-- --------------------------------------------------------
--
-- Cấu trúc bảng cho bảng `pro_details`
--
CREATE TABLE `pro_details` (
`id` int(10) UNSIGNED NOT NULL,
`w_group` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`w_branch` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`w_country` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`w_role` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`w_type` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`w_sex` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
`w_size` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`w_out` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`w_in` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`w_on` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`w_time_base` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`w_time` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`w_water` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`w_other` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`note` text COLLATE utf8_unicode_ci NOT NULL,
`pro_id` int(10) UNSIGNED DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Đang đổ dữ liệu cho bảng `pro_details`
--
INSERT INTO `pro_details` (`id`, `w_group`, `w_branch`, `w_country`, `w_role`, `w_type`, `w_sex`, `w_size`, `w_out`, `w_in`, `w_on`, `w_time_base`, `w_time`, `w_water`, `w_other`, `note`, `pro_id`, `created_at`, `updated_at`) VALUES
(9, 'Đ<NAME>', '15', 'Thụy Sĩ', '11A', '1', '0', '100', 'Kính Khoáng', '1', 'Kính Shaphire', '1', '3', '100 m', 'Không', 'Không có', 22, '2016-11-24 09:39:13', '2017-05-21 00:57:46'),
(10, 'Đồng hồ Casio', '16', 'Japan', '11A', '2', '1', '100', 'Kính Khoáng', '2', 'Kính Shaphire', '2', '4', '100 m', 'Không', 'Không có', 23, '2016-11-24 09:39:28', '2017-05-21 01:48:35'),
(11, 'Đồng hồ', '17', 'Thụy Sĩ', '11A', '3', '0', '100', 'Kính Khoáng', '3', 'Kính Shaphire', '3', '5', '100 m', 'Không', 'Không có', 24, '2016-11-24 18:48:39', '2017-05-20 08:30:35'),
(12, 'Đồng hồ', '19', 'Nhật Bản', '11A', '4', '2', '100', 'Kính Khoáng', '1', 'Kính Shaphire', '4', '3', '100 m', 'Không', 'Không có', 25, '2016-11-24 18:48:46', '2017-05-20 02:28:21'),
(13, 'Đồng hồ', '20', 'Nhật Bản', 'adreno900', '1', '1', '100', 'Kính Khoáng', '2', 'Kính Shaphire', '2', '5', '100 m', 'Không', 'Không có', 26, '2016-11-25 23:44:07', '2017-05-20 02:28:43'),
(14, 'Đồng hồ', '21', 'Thụy Sĩ', '43.8 mm', '2', '0', '100', 'Kính Khoáng', '3', 'Kính Shaphire', '5', '5', '100 m', 'Không', 'Không có', 27, '2016-11-25 23:44:11', '2017-05-20 08:14:14'),
(15, 'Đồng hồ', '21', 'Đài loan', '11A', '1', '1', '100', 'Kính Khoáng', '1', 'Kính Shaphire', '5', '3', '100 m', 'Không', 'Không có', 28, '2016-11-25 23:44:15', '2017-05-21 01:51:12'),
(21, 'Đồng hồ Casio', '24', 'Thụy Sĩ', '43.8 mm', '2', '1', '100', 'Kính Khoáng', '2', 'Kính Shaphire', '5', '5', '100 m', 'Không', 'Không có', 34, '2016-11-25 23:45:03', '2017-05-20 02:30:17'),
(22, 'Đồng hồ', '16', 'Thụy Sĩ', 'adreno900', '3', '2', '100', 'Kính Khoáng', '3', 'Kính Shaphire', '3', '3', '100 m', 'Không', 'Không có', 35, '2016-11-25 23:45:08', '2017-05-20 08:15:09'),
(29, 'Đồng hồ', '25', 'Nhật Bản', '11A', '2', '1', '100', 'Kính Khoáng', '1', 'Kính Shaphire', '4', '3', '100 m', 'Không', 'Không có', 42, '2016-11-26 02:13:19', '2016-11-26 02:13:19'),
(32, 'Đồng hồ', '24', 'Nhật Bản', 'SVC', '3', '0', '100', 'Thép không gỉ 316L', '1', 'Kính Shaphire', '5', '4', '100 m', 'Không', 'Không có', 45, '2016-11-26 02:13:31', '2016-11-26 02:13:31'),
(34, 'Đồng hồ', '15', 'Đài loan', 'SVC', '1', '2', '100', 'Thép không gỉ 316L', '1', 'Kính Shaphire', '3', '3', '100 m', 'Không', 'Không có', 47, '2016-11-26 02:13:53', '2016-11-26 02:13:53'),
(37, 'Đồng hồ', '16', 'Đài loan', 'SVC', '4', '0', '100', 'Thép không gỉ 316L', '2', 'Kính Shaphire', '2', '2', '100 m', 'Không', 'Không có', 50, '2016-11-26 02:14:03', '2016-11-26 02:14:03'),
(40, 'Đồng hồ', '17', 'Đài loan', 'SVC', '3', '0', '100', 'Thép không gỉ 316L', '3', 'Kính Shaphire', '4', '5', '100 m', 'Không', 'Không có', 53, '2016-11-26 02:18:11', '2017-06-02 07:55:42'),
(52, 'Đ<NAME> nam', '16', 'Nhật Bản', '11A', '2', '1', '40 mm', 'Thép không gỉ 316L', '3', 'Kính Shaphire', '4', '2', '100 m', 'Không', 'Không có', 69, '2016-11-28 18:10:45', '2016-11-28 18:21:42'),
(53, 'Đồng hồ Th<NAME>', '4', 'Nhật Bản', '11A', '2', '1', '40 mm', 'Thép không gỉ 316L', '1', 'Kính Shaphire', '4', '2', '100 m', 'Không', 'Không có', 71, '2017-05-21 00:27:11', '2017-06-05 16:44:51'),
(55, 'Đồng hồ Thụy Sĩ', '16', 'Thụy Sĩ', 'SVC', '4', '2', '100', 'Thép không gỉ 316L', '2', '<NAME>', '3', '2', '100 m', 'Không', 'Không có', 73, '2017-05-28 00:27:20', '2017-05-28 00:27:20'),
(81, 'Đồng hồ', '15', 'Thụy Sĩ', 'SVC', '2', '0', '100', 'Thép không gỉ 316L', '3', 'K<NAME>', '5', '2', '100 m', 'Không', 'Không có', 99, '2017-05-30 03:16:07', '2017-06-05 03:14:50'),
(83, 'Đồng hồ khác', '19', 'Đài loan', 'SVC', '1', '0', '100', 'Thép không gỉ 316L', '1', 'Kính cường lực', '5', '1', '100 m', 'Không', 'Không có', 101, '2017-06-04 18:01:38', '2017-06-05 03:29:40'),
(84, 'Đồng hồ đôi', '3', 'Đài loan', 'SVC', '4', '2', '100', 'Inox', '2', 'Kính cường lực', '4', '1', '100 m', 'Không', '', 102, '2017-06-09 18:57:33', '2017-06-09 18:57:33'),
(85, '<NAME>', '3', 'Đ<NAME>', '', '2', '2', '', '', '2', '', '', '', '', '', '', 103, '2017-06-09 19:01:54', '2017-06-09 19:01:54'),
(86, 'Đ<NAME> khác', '3', '', '', '1', '2', '', '', '3', '', '', '', '', '', '', 104, '2017-06-09 19:02:49', '2017-06-09 19:02:49'),
(87, 'Đồng hồ khác', '4', '', '', '1', '2', '', '', '3', '', '', '', '', '', '', 105, '2017-06-09 19:04:21', '2017-06-09 19:04:21'),
(88, '', '4', '', '', '3', '2', '', '', '2', '', '', '', '', '', '', 106, '2017-06-09 19:05:16', '2017-06-09 19:05:16'),
(89, '', '4', '', '', '1', '2', '', '', '3', '', '', '', '', '', '', 107, '2017-06-09 19:06:15', '2017-06-09 19:06:15'),
(90, '', '4', '', '', '3', '1', '', '', '1', '', '', '', '', '', '', 108, '2017-06-09 19:07:14', '2017-06-09 19:07:14'),
(91, '', '4', '', '', '1', '2', '', '', '2', '', '', '', '', '', '', 109, '2017-06-09 19:08:03', '2017-06-09 19:08:03'),
(92, '', '25', '', '', '3', '2', '', '', '3', '', '', '', '', '', '', 110, '2017-06-09 19:09:01', '2017-06-09 19:09:01'),
(93, '', '25', '', '', '4', '2', '', '', '2', '', '', '', '', '', '', 111, '2017-06-09 19:09:51', '2017-06-09 19:09:51'),
(94, '', '25', '', '', '1', '1', '', '', '1', '', '', '', '', '', '', 112, '2017-06-09 19:10:36', '2017-06-09 19:10:36'),
(95, '', '25', '', '', '3', '1', '', '', '1', '<NAME>', '', '', '100 m', '', '', 113, '2017-06-09 19:11:27', '2017-06-09 19:11:27'),
(96, '', '15', '', '', '1', '2', '', '', '1', '', '', '', '', '', '', 114, '2017-06-09 19:13:47', '2017-06-09 19:13:47'),
(97, '', '15', '', '', '4', '2', '', '', '3', '', '', '', '', '', '', 115, '2017-06-09 19:14:45', '2017-06-09 19:14:45'),
(98, '<NAME>', '15', 'Đài loan', '', '3', '1', '', '', '2', 'Kính cường lực', '4', '', '100 m', '', '', 116, '2017-06-09 19:15:47', '2017-06-09 19:15:47');
-- --------------------------------------------------------
--
-- Cấu trúc bảng cho bảng `settings`
--
CREATE TABLE `settings` (
`id` int(10) UNSIGNED NOT NULL,
`name` text COLLATE utf8_unicode_ci NOT NULL,
`content` text COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Đang đổ dữ liệu cho bảng `settings`
--
INSERT INTO `settings` (`id`, `name`, `content`, `created_at`, `updated_at`) VALUES
(1, 'logo', '1499850131_LOGO99999 copy.png', '2017-06-06 03:11:33', '2017-07-12 09:02:11'),
(3, 'diachi', 'Hotline tư vấn bán hàng: 08.6868.9999\r\nHotline kỹ thuật: 016.9999.6666\r\nEmail: <EMAIL>.<EMAIL>\r\nFanpage: https://www.facebook.com/Sumowatch.vn/', '2017-06-06 07:35:56', '2017-07-12 09:30:33'),
(4, 'welcome', 'Chào mừng đến với hệ thống đồng hồ Sumowatch!', '2017-06-06 07:56:01', '2017-07-13 08:35:43'),
(5, 'copyright', 'Công Ty CP 999999999 Việt Nam/ Địa chỉ: P12A02, Tháp 1, Toà nhà Times Tower, Lê Văn Lương, Hà Nội', '2017-06-06 08:00:56', '2017-07-27 04:21:27'),
(6, 'logopay', '1496761857_pay.png', '2017-06-06 08:10:57', '2017-06-06 08:10:57'),
(7, 'social', 'social icon', '2017-06-06 08:19:16', '2017-06-07 03:22:03'),
(8, 'footerLink', '<div class=\"col-xs-12 col-sm-4 col-md-4 col-lg-4\">\r\n<h3>CHÍNH SÁCH</h3>\r\n\r\n<ul>\r\n <li><a href=\"\">Chính sách bảo mật</a></li>\r\n <li><a href=\"\">Điều khoản và điều kiện</a></li>\r\n <li><a href=\"\">Điều khoản và điều kiện</a></li>\r\n <li><a href=\"\">Chính sách đổi trả hàng</a></li>\r\n <li><a href=\"\">Chính sách bảo hành</a></li>\r\n</ul>\r\n</div>\r\n\r\n<div class=\"col-xs-12 col-sm-4 col-md-4 col-lg-4\">\r\n<h3> </h3>\r\n</div>\r\n', '2017-06-06 08:28:40', '2017-07-17 16:10:24'),
(9, 'buyok', '<p>Rất cảm ơn bạn đã mua hàng!</p>\r\n\r\n<p><strong>SUMOWATCH</strong> đã ghi nhận đơn hàng của bạn.<br />\r\nSẽ mất khoảng 1-2 ngày làm việc để chúng tôi kiểm tra và đối soát đơn hàng của bạn, và giao hàng cho bạn trong vòng 1-2 ngày đối với đơn giao nội thành hoặc 3-6 ngày đối với đơn hàng giao liên tỉnh. Không kể chủ nhật hoặc các ngày nghỉ lễ tết khác.</p>\r\n\r\n<p><strong><u>Xin bạn lưu ý</u></strong>: Email xác nhận Đơn hàng đã được gửi đến địa chỉ Email của bạn. Nếu bạn không tìm thấy trong Hộp thư đến (Inbox) vui lòng kiểm tra hộp thư Spam hoặc Junk Folder.</p>\r\n\r\n<p>Nếu bạn có bất kỳ thắc mắc nào, xin vui lòng liên hệ với chúng tôi qua đường dây nóng: 08.6868.9999.</p>\r\n\r\n<p>Trân trọng !<br />\r\n<strong>SUMOWATCH</strong></p>\r\n', '2017-06-08 16:52:20', '2017-07-27 04:21:52'),
(10, 'hotline', '0868689999', '2017-06-09 02:42:11', '2017-07-13 14:27:59'),
(11, 'intro', '', '2017-06-09 18:38:54', '2017-07-12 09:03:12');
-- --------------------------------------------------------
--
-- Cấu trúc bảng cho bảng `slidecate`
--
CREATE TABLE `slidecate` (
`id` int(10) UNSIGNED NOT NULL,
`cateid` text COLLATE utf8_unicode_ci,
`image` text COLLATE utf8_unicode_ci,
`status` int(11) DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Đang đổ dữ liệu cho bảng `slidecate`
--
INSERT INTO `slidecate` (`id`, `cateid`, `image`, `status`, `created_at`, `updated_at`) VALUES
(2, '3', '1499958291_casio banner 1.jpg', 1, '2017-06-09 20:38:03', '2017-07-13 15:10:46'),
(3, '4', '1499958196_citizen banner 1.jpg', 1, '2017-06-09 20:38:16', '2017-07-13 15:10:10'),
(6, '24', '1499957222_orient banner 2.jpg', 1, '2017-06-09 20:39:33', '2017-07-13 15:09:24'),
(7, '24', '1499957067_orient banner 1.jpg', 1, '2017-06-09 20:39:46', '2017-07-13 15:09:10'),
(8, '25', '1499956910_seiko banner 1.jpg', 1, '2017-06-09 20:40:05', '2017-07-13 14:41:57'),
(11, '15', '1499959343_OgivalFish1.jpg', 1, '2017-07-13 15:22:23', '2017-07-13 15:22:23'),
(12, '26', '1499959408_banner 2.jpg', 1, '2017-07-13 15:23:28', '2017-07-13 15:23:28'),
(13, '17', '1499959553_oympia s1.png', 1, '2017-07-13 15:25:53', '2017-07-13 15:25:53');
-- --------------------------------------------------------
--
-- Cấu trúc bảng cho bảng `sliders`
--
CREATE TABLE `sliders` (
`id` int(10) UNSIGNED NOT NULL,
`name` text COLLATE utf8_unicode_ci NOT NULL,
`image` text COLLATE utf8_unicode_ci NOT NULL,
`link` text COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Đang đổ dữ liệu cho bảng `sliders`
--
INSERT INTO `sliders` (`id`, `name`, `image`, `link`, `created_at`, `updated_at`) VALUES
(1, 'Slider 1', '1499955288_CroppedImage960340-ALS-Header-SAXONIA-THIN.jpg', '#', '2017-06-06 06:39:02', '2017-07-13 14:14:48'),
(2, 'Slider 2', '1499955513_slide 2.jpg', '#', '2017-06-06 06:39:55', '2017-07-13 14:18:33'),
(3, 'Slider 3', '1499955625_slide 3.jpg', '#', '2017-06-06 06:40:08', '2017-07-13 14:20:25');
-- --------------------------------------------------------
--
-- Cấu trúc bảng cho bảng `users`
--
CREATE TABLE `users` (
`id` int(10) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`email` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`password` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`phone` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`address` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`status` int(11) NOT NULL,
`remember_token` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Đang đổ dữ liệu cho bảng `users`
--
INSERT INTO `users` (`id`, `name`, `email`, `password`, `phone`, `address`, `status`, `remember_token`, `created_at`, `updated_at`) VALUES
(1, 'Test', '<EMAIL>', <PASSWORD>', '0868896944', 'Ho chi minh', 1, 'jFFpU4F9xl8TLtjS6DPBiI8qWugcLLXQWMtRSWx9UtBoB3TrjGpx66X8xMMh', '2016-11-23 20:44:11', '2017-06-11 09:01:52'),
(3, 'ToanLM', '<EMAIL>', <PASSWORD>', '0912923823', 'ha noi viet nam', 1, NULL, '2017-05-16 21:39:57', '2017-05-16 21:39:57'),
(4, '<NAME>', '<EMAIL>', '$2y$10$u.9J6qckuUgmK.5esizzi.XX9fx5i18XfME/e2fclAGkTnWZIlk8S', '0912121212', 'Ha Tinh', 0, NULL, '2017-05-28 01:34:09', NULL),
(5, 'new customer', '<EMAIL>', '$2y$10$oN9ucO6uBDln25ZqSn3oGOwyE57wZcsTyudCOpqwhqGMASdaAs6Ma', '091211223', 'Ha Noi - VN', 1, NULL, '2017-05-28 01:54:10', '2017-06-05 03:45:42'),
(6, '242', '<EMAIL>', '$2y$10$3BIal4RW0QeZepGuxTurtOXS4vpqnxVS1yKpcCFnqE6b335js1o2W', '2232232', '323232', 0, NULL, '2017-05-28 21:59:36', NULL),
(7, 'toanlm', '<EMAIL>', <PASSWORD>', '121212122', '121212', 1, NULL, '2017-05-28 22:00:15', '2017-05-28 22:00:15'),
(8, 'toan', '<EMAIL>', '$2y$10$GI7P6Nd8x1.lKlgrXu/E3ut1R4VRRkEGD.AdAbTnWlI5w1jAlWanq', 'toan', '1212121', 1, NULL, '2017-05-29 03:42:55', '2017-06-05 03:56:48'),
(9, 'toia', '<EMAIL>', <PASSWORD>', '12121212', '1212123', 0, NULL, '2017-06-02 07:23:14', NULL),
(10, '<NAME>', '<EMAIL>', <PASSWORD>', '12323234', 'hn bn', 1, 'U2uC7LaE425bJ2aTm3icwwXU9Dy9I3etJiNoVcgIpWjrK5lYEc7W8X77iDNr', '2017-06-02 07:24:59', '2017-06-02 07:29:27'),
(11, 'www', '<EMAIL>', <PASSWORD>', 'ww', 'ww', 0, NULL, '2017-06-08 15:49:59', NULL),
(12, '121212', '<EMAIL>', '$2y$10$DS/Zz20telhHURRhhFJHN.3OxfCrpe6vu1jbXV0rIE9JB0rKLZqEi', '12121212', '1212122', 0, NULL, '2017-06-08 16:24:50', NULL),
(13, '11111', '<EMAIL>', '$2y$10$Rh9ooAx0DIby9gA9wTXwUuyK2VKCsnC4eTnCAyxkl3ERft.xiLtXm', '2222', '33333', 0, NULL, '2017-06-08 16:32:18', NULL),
(15, '111112222', '<EMAIL>', '$2y$10$kkENaLYEPcGecXciKUtDteqW51lBqja53BaUmSdHgRVPQ4oKYvDa2', '2222222', '33333', 0, NULL, '2017-06-08 16:32:53', NULL),
(16, '3443344343', '<EMAIL>', '$2y$10$U0e4JRT4ovhakwF5KxhTW.NfiyxR70zJwlbn11ZXT.ee3alhmK48C', '34334', '343434', 0, NULL, '2017-06-08 16:37:34', NULL),
(18, '3443344343wwww', '<EMAIL>', '$2y$10$YvPeRWffXMiE5q2mgSUckunLe2L0YvND.HrDBcJyBkHnHud6vNHaO', '34334ww', '343434', 0, NULL, '2017-06-08 16:37:53', NULL),
(20, '344334', '<EMAIL>', '$2y$10$u/JKVtNzm9DYgFUnpYREI.I3772pKu37RcP5fmB.G3nJVJ8jQQL/6', '34334ww', '343434', 0, NULL, '2017-06-08 16:38:41', NULL),
(21, '3443sss34', '<EMAIL>', '$2y$10$GR8EIC6CEOoHTVG6fZeVGOx0/f0q5X4zKVsYTxWhjw9zLgEzSO546', '34334ww', '343434', 0, NULL, '2017-06-08 16:38:50', NULL),
(22, '222', '<EMAIL>', '$2y$10$9aXF7AKDy68vASA54.N4ruX.1fXhaEVbanTHk3xmcIpRVm8cbz.na', '111', '333', 0, NULL, '2017-06-08 16:56:25', NULL),
(23, 'Toan', '<EMAIL>', <PASSWORD>', '12345678', 'qh', 1, NULL, '2017-06-09 07:52:28', '2017-06-09 07:52:28'),
(24, '3434345656', '<EMAIL>', '$2y$10$nrGUFez0HU6l96XQMNcfoOWryy0O4FGc6ps3Em/9nBuNUxuF4YKi6', '343434', '3434356', 0, NULL, '2017-06-09 19:53:47', NULL),
(25, '232323', '<EMAIL>', '$2y$10$U4ttUmS0RZpQZDXL4PyhJ.FjDFCWIvqHh.299Kpq0Hpx7MXRcg.nW', '3232323', '', 0, NULL, '2017-06-09 21:22:15', NULL),
(26, '<NAME>', '<EMAIL>', '$2y$10$lDBKJ3dEEGhhtSO3WTN/BuduvAQzMJrK4D2Zvgh4os9TPokbh21X6', '01635672888', 'Trieukhuc Street', 0, NULL, '2017-06-11 10:31:06', NULL);
--
-- Chỉ mục cho các bảng đã đổ
--
--
-- Chỉ mục cho bảng `admin_users`
--
ALTER TABLE `admin_users`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `admin_users_email_unique` (`email`);
--
-- Chỉ mục cho bảng `advs`
--
ALTER TABLE `advs`
ADD PRIMARY KEY (`id`);
--
-- Chỉ mục cho bảng `banners`
--
ALTER TABLE `banners`
ADD PRIMARY KEY (`id`),
ADD KEY `banners_user_id_foreign` (`user_id`);
--
-- Chỉ mục cho bảng `branchs`
--
ALTER TABLE `branchs`
ADD PRIMARY KEY (`id`);
--
-- Chỉ mục cho bảng `category`
--
ALTER TABLE `category`
ADD PRIMARY KEY (`id`);
--
-- Chỉ mục cho bảng `contacts`
--
ALTER TABLE `contacts`
ADD PRIMARY KEY (`id`);
--
-- Chỉ mục cho bảng `detail_img`
--
ALTER TABLE `detail_img`
ADD PRIMARY KEY (`id`),
ADD KEY `detail_img_pro_id_foreign` (`pro_id`);
--
-- Chỉ mục cho bảng `groupnews`
--
ALTER TABLE `groupnews`
ADD PRIMARY KEY (`id`);
--
-- Chỉ mục cho bảng `group_watch`
--
ALTER TABLE `group_watch`
ADD PRIMARY KEY (`id`);
--
-- Chỉ mục cho bảng `kieuday`
--
ALTER TABLE `kieuday`
ADD PRIMARY KEY (`id`);
--
-- Chỉ mục cho bảng `kieumay`
--
ALTER TABLE `kieumay`
ADD PRIMARY KEY (`id`);
--
-- Chỉ mục cho bảng `news`
--
ALTER TABLE `news`
ADD PRIMARY KEY (`id`),
ADD KEY `news_cat_id_foreign` (`cat_id`),
ADD KEY `news_user_id_foreign` (`user_id`);
--
-- Chỉ mục cho bảng `oders`
--
ALTER TABLE `oders`
ADD PRIMARY KEY (`id`),
ADD KEY `oders_c_id_foreign` (`c_id`);
--
-- Chỉ mục cho bảng `oders_detail`
--
ALTER TABLE `oders_detail`
ADD PRIMARY KEY (`id`),
ADD KEY `oders_detail_pro_id_foreign` (`pro_id`),
ADD KEY `oders_detail_o_id_foreign` (`o_id`);
--
-- Chỉ mục cho bảng `partners`
--
ALTER TABLE `partners`
ADD PRIMARY KEY (`id`);
--
-- Chỉ mục cho bảng `password_resets`
--
ALTER TABLE `password_resets`
ADD KEY `password_resets_email_index` (`email`),
ADD KEY `password_resets_token_index` (`token`);
--
-- Chỉ mục cho bảng `products`
--
ALTER TABLE `products`
ADD PRIMARY KEY (`id`),
ADD KEY `products_cat_id_foreign` (`cat_id`),
ADD KEY `products_user_id_foreign` (`user_id`);
--
-- Chỉ mục cho bảng `pro_details`
--
ALTER TABLE `pro_details`
ADD PRIMARY KEY (`id`),
ADD KEY `pro_details_pro_id_foreign` (`pro_id`);
--
-- Chỉ mục cho bảng `settings`
--
ALTER TABLE `settings`
ADD PRIMARY KEY (`id`);
--
-- Chỉ mục cho bảng `slidecate`
--
ALTER TABLE `slidecate`
ADD PRIMARY KEY (`id`);
--
-- Chỉ mục cho bảng `sliders`
--
ALTER TABLE `sliders`
ADD PRIMARY KEY (`id`);
--
-- Chỉ mục cho bảng `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `users_email_unique` (`email`);
--
-- AUTO_INCREMENT cho các bảng đã đổ
--
--
-- AUTO_INCREMENT cho bảng `admin_users`
--
ALTER TABLE `admin_users`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT cho bảng `advs`
--
ALTER TABLE `advs`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- AUTO_INCREMENT cho bảng `banners`
--
ALTER TABLE `banners`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT cho bảng `branchs`
--
ALTER TABLE `branchs`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT cho bảng `category`
--
ALTER TABLE `category`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=27;
--
-- AUTO_INCREMENT cho bảng `contacts`
--
ALTER TABLE `contacts`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT cho bảng `detail_img`
--
ALTER TABLE `detail_img`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=123;
--
-- AUTO_INCREMENT cho bảng `groupnews`
--
ALTER TABLE `groupnews`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;
--
-- AUTO_INCREMENT cho bảng `group_watch`
--
ALTER TABLE `group_watch`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT cho bảng `kieuday`
--
ALTER TABLE `kieuday`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT cho bảng `kieumay`
--
ALTER TABLE `kieumay`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT cho bảng `news`
--
ALTER TABLE `news`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;
--
-- AUTO_INCREMENT cho bảng `oders`
--
ALTER TABLE `oders`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=46;
--
-- AUTO_INCREMENT cho bảng `oders_detail`
--
ALTER TABLE `oders_detail`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=40;
--
-- AUTO_INCREMENT cho bảng `partners`
--
ALTER TABLE `partners`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;
--
-- AUTO_INCREMENT cho bảng `products`
--
ALTER TABLE `products`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=117;
--
-- AUTO_INCREMENT cho bảng `pro_details`
--
ALTER TABLE `pro_details`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=99;
--
-- AUTO_INCREMENT cho bảng `settings`
--
ALTER TABLE `settings`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;
--
-- AUTO_INCREMENT cho bảng `slidecate`
--
ALTER TABLE `slidecate`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14;
--
-- AUTO_INCREMENT cho bảng `sliders`
--
ALTER TABLE `sliders`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT cho bảng `users`
--
ALTER TABLE `users`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=27;
--
-- Các ràng buộc cho các bảng đã đổ
--
--
-- Các ràng buộc cho bảng `banners`
--
ALTER TABLE `banners`
ADD CONSTRAINT `banners_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;
--
-- Các ràng buộc cho bảng `detail_img`
--
ALTER TABLE `detail_img`
ADD CONSTRAINT `detail_img_pro_id_foreign` FOREIGN KEY (`pro_id`) REFERENCES `products` (`id`) ON DELETE CASCADE;
--
-- Các ràng buộc cho bảng `news`
--
ALTER TABLE `news`
ADD CONSTRAINT `news_cat_id_foreign` FOREIGN KEY (`cat_id`) REFERENCES `category` (`id`) ON DELETE CASCADE,
ADD CONSTRAINT `news_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;
--
-- Các ràng buộc cho bảng `oders`
--
ALTER TABLE `oders`
ADD CONSTRAINT `oders_c_id_foreign` FOREIGN KEY (`c_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;
--
-- Các ràng buộc cho bảng `oders_detail`
--
ALTER TABLE `oders_detail`
ADD CONSTRAINT `oders_detail_o_id_foreign` FOREIGN KEY (`o_id`) REFERENCES `oders` (`id`) ON DELETE CASCADE,
ADD CONSTRAINT `oders_detail_pro_id_foreign` FOREIGN KEY (`pro_id`) REFERENCES `products` (`id`) ON DELETE CASCADE;
--
-- Các ràng buộc cho bảng `products`
--
ALTER TABLE `products`
ADD CONSTRAINT `products_cat_id_foreign` FOREIGN KEY (`cat_id`) REFERENCES `category` (`id`) ON DELETE CASCADE,
ADD CONSTRAINT `products_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;
--
-- Các ràng buộc cho bảng `pro_details`
--
ALTER TABLE `pro_details`
ADD CONSTRAINT `pro_details_pro_id_foreign` FOREIGN KEY (`pro_id`) REFERENCES `products` (`id`) ON DELETE CASCADE;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
<reponame>georgeMatrix/nuestroNegocio<filename>sql/tlapalerias2.sql
/*
Navicat MySQL Data Transfer
Source Server : localhost2018
Source Server Version : 100136
Source Host : localhost:3306
Source Database : nuestronegocio
Target Server Type : MYSQL
Target Server Version : 100136
File Encoding : 65001
Date: 2019-03-17 23:19:44
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for tlapalerias
-- ----------------------------
DROP TABLE IF EXISTS `tlapalerias`;
CREATE TABLE `tlapalerias` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`nombre` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`telefono` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`direccion` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`imagen` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`imagen2` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`imagen3` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`imagen4` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`maps` varchar(300) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- ----------------------------
-- Records of tlapalerias
-- ----------------------------
INSERT INTO `tlapalerias` VALUES ('1', '<NAME>', '58 78 00 77', 'Av. Francisco I. Madero 265, Melchor Ocampo, 54880 Melchor Ocampo, Méx.', 'negocio/images/donInda.png', 'negocio/images/donInda2.png', 'negocio/images/donInda3.png', 'negocio/images/donInda4.png', 'https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d664.0420753820349!2d-99.14765967494861!3d19.696045922925386!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x85d1f520eeb960db%3A0x620efa125036f716!2sTlapaler%C3%ADa+Don+Inda!5e0!3m2!1ses!2smx!4v1552857147094', '2019-03-18 04:44:16', '2019-03-18 04:44:16');
INSERT INTO `tlapalerias` VALUES ('2', 'Prof. <NAME>', '760.870.5637 x715', '561 June Hollow\nWest Dorianbury, SC 11363-1351', 'Prof. <NAME>', 'Miss <NAME>', 'Dr. <NAME>', 'Mr. <NAME> MD', '<NAME>', '2019-03-18 04:44:16', '2019-03-18 04:44:16');
INSERT INTO `tlapalerias` VALUES ('3', 'Mr. <NAME>', '+1-348-433-5544', '38129 Lemke Branch Apt. 388\nLake Elena, DC 19369-9189', 'Dr. <NAME>', '<NAME> DDS', '<NAME>', 'Prof. <NAME> IV', '<NAME>', '2019-03-18 04:44:16', '2019-03-18 04:44:16');
INSERT INTO `tlapalerias` VALUES ('4', 'Dr. <NAME> Jr.', '(795) 249-6125 x496', '54314 Kassulke Pass\nNew Lloyd, SC 78344-8849', '<NAME>', 'Prof. <NAME>', 'Mr. <NAME> IV', '<NAME>', 'Prof. <NAME>', '2019-03-18 04:44:16', '2019-03-18 04:44:16');
INSERT INTO `tlapalerias` VALUES ('5', '<NAME>', '(812) 315-5680', '5846 Keenan Ridges\nLynnchester, LA 64294', '<NAME>', 'Prof. <NAME>', '<NAME>', '<NAME>', '<NAME> DVM', '2019-03-18 04:44:16', '2019-03-18 04:44:16');
|
<gh_stars>0
-- phpMyAdmin SQL Dump
-- version 4.7.9
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1:3306
-- Generation Time: Jan 01, 2019 at 06:59 AM
-- Server version: 5.7.21
-- PHP Version: 5.6.35
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `vanshavali`
--
-- --------------------------------------------------------
--
-- Table structure for table `family_access_table`
--
DROP TABLE IF EXISTS `family_access_table`;
CREATE TABLE IF NOT EXISTS `family_access_table` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user_id` int(11) NOT NULL,
`family_id` int(11) NOT NULL,
`can_view` int(1) NOT NULL DEFAULT '0',
`can_insert` int(1) NOT NULL DEFAULT '0',
`can_update` int(1) NOT NULL DEFAULT '0',
`can_delete` int(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `user_master_family_access` (`user_id`),
KEY `family_tree_family_access` (`family_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='table for user and family relation . decides user access fam';
-- --------------------------------------------------------
--
-- Table structure for table `family_trees`
--
DROP TABLE IF EXISTS `family_trees`;
CREATE TABLE IF NOT EXISTS `family_trees` (
`family_tree_id` int(11) NOT NULL AUTO_INCREMENT,
`family_tree_name` varchar(255) NOT NULL,
`family_tree_ownerid` int(11) NOT NULL COMMENT 'owner_id who created family',
PRIMARY KEY (`family_tree_id`),
UNIQUE KEY `family_name` (`family_tree_name`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='Family Tree List table';
-- --------------------------------------------------------
--
-- Table structure for table `member_list`
--
DROP TABLE IF EXISTS `member_list`;
CREATE TABLE IF NOT EXISTS `member_list` (
`member_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'users password for login',
`member_parent_id` int(11) DEFAULT NULL COMMENT 'parent user id',
`member_family_tree_id` int(11) NOT NULL COMMENT 'member in which family tree',
`user_id` int(11) NOT NULL COMMENT 'user_id from user_master',
`member_email_id` varchar(255) DEFAULT NULL COMMENT 'member email ',
`member_gender` varchar(10) NOT NULL DEFAULT '1' COMMENT 'MALE=1,FEMALE=2',
`memeber_DOB` date DEFAULT NULL COMMENT 'member DOB , age from DOB',
`member_phone_no` bigint(10) DEFAULT NULL COMMENT 'member_phone_no',
`member_address` text,
`is_allow_login` tinyint(1) NOT NULL COMMENT 'True=ALLOW LOGIN , FALSE = NOT ALLOW LOGIN',
`is_married` tinyint(1) NOT NULL COMMENT 'TRUE=MARRIED,FALSE=UNMARRIED',
`marriage_date` date DEFAULT NULL COMMENT 'IF MARRIED DATE OF MARRIAGE',
`member_spouse_id` int(11) DEFAULT NULL COMMENT 'member_spuouse_id',
`is_dead` tinyint(1) NOT NULL COMMENT 'alive = 0 Dead=1',
`member_DOD` date DEFAULT NULL COMMENT 'If Dead Date Of Death',
`created_at` int(11) DEFAULT NULL,
`updated_at` int(11) DEFAULT NULL,
PRIMARY KEY (`member_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='member_list table';
-- --------------------------------------------------------
--
-- Table structure for table `pending_request`
--
DROP TABLE IF EXISTS `pending_request`;
CREATE TABLE IF NOT EXISTS `pending_request` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`request_from_user_id` int(11) NOT NULL,
`request_to_user_id` int(11) NOT NULL,
`is_viewed` int(11) NOT NULL,
`is_accepted` int(11) NOT NULL,
`created_at` int(11) NOT NULL,
PRIMARY KEY (`id`),
KEY `request_from_user_id` (`request_from_user_id`,`request_to_user_id`),
KEY `request_to_user_master` (`request_to_user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='table maintains user request';
-- --------------------------------------------------------
--
-- Table structure for table `users_master`
--
DROP TABLE IF EXISTS `users_master`;
CREATE TABLE IF NOT EXISTS `users_master` (
`user_id` int(11) NOT NULL AUTO_INCREMENT,
`user_email` varchar(255) NOT NULL,
`user_pass` varchar(255) NOT NULL,
`is_verified` tinyint(1) DEFAULT '0',
`verfication_code` varchar(255) DEFAULT NULL COMMENT 'random code',
`user_type_id` int(11) NOT NULL COMMENT 'user type id from user_type',
PRIMARY KEY (`user_id`),
KEY `users_type_user_master_link` (`user_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='user master table for login';
-- --------------------------------------------------------
--
-- Table structure for table `user_type`
--
DROP TABLE IF EXISTS `user_type`;
CREATE TABLE IF NOT EXISTS `user_type` (
`user_type_id` int(11) NOT NULL AUTO_INCREMENT,
`user_type_name` varchar(255) NOT NULL,
PRIMARY KEY (`user_type_id`),
UNIQUE KEY `user_type_name` (`user_type_name`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=latin1 COMMENT='user type';
--
-- Dumping data for table `user_type`
--
INSERT INTO `user_type` (`user_type_id`, `user_type_name`) VALUES
(3, 'FAMILY_ADMIN'),
(2, 'FAMILY_CREATOR'),
(4, 'SIMPLE_MEMBER'),
(1, 'SUPER_ADMIN');
--
-- Constraints for dumped tables
--
--
-- Constraints for table `family_access_table`
--
ALTER TABLE `family_access_table`
ADD CONSTRAINT `family_tree_family_access` FOREIGN KEY (`family_id`) REFERENCES `family_trees` (`family_tree_id`) ON DELETE CASCADE ON UPDATE CASCADE,
ADD CONSTRAINT `user_master_family_access` FOREIGN KEY (`user_id`) REFERENCES `users_master` (`user_id`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Constraints for table `pending_request`
--
ALTER TABLE `pending_request`
ADD CONSTRAINT `request_to_user_master` FOREIGN KEY (`request_to_user_id`) REFERENCES `users_master` (`user_id`) ON DELETE CASCADE ON UPDATE CASCADE,
ADD CONSTRAINT `reuest_from_user_master` FOREIGN KEY (`request_from_user_id`) REFERENCES `users_master` (`user_id`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Constraints for table `users_master`
--
ALTER TABLE `users_master`
ADD CONSTRAINT `users_type_user_master_link` FOREIGN KEY (`user_type_id`) REFERENCES `user_type` (`user_type_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 */;
|
-- phpMyAdmin SQL Dump
-- version 5.1.0
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Waktu pembuatan: 08 Apr 2021 pada 17.52
-- Versi server: 10.4.18-MariaDB
-- Versi PHP: 7.4.16
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: `res_booking`
--
-- --------------------------------------------------------
--
-- Struktur dari tabel `booking_details`
--
CREATE TABLE `booking_details` (
`id` int(11) NOT NULL,
`booking_id` varchar(200) DEFAULT NULL,
`res_id` int(11) DEFAULT NULL,
`c_id` int(11) DEFAULT NULL,
`make_date` date DEFAULT NULL,
`make_time` varchar(50) DEFAULT NULL,
`name` varchar(50) DEFAULT NULL,
`phone` varchar(100) DEFAULT NULL,
`booking_date` date DEFAULT NULL,
`booking_time` time DEFAULT NULL,
`bill` float DEFAULT NULL,
`transactionid` varchar(100) DEFAULT NULL,
`status` int(11) NOT NULL DEFAULT 0 COMMENT '0- reject, 1-confirmed',
`reject` int(11) DEFAULT 0,
`booked_service` varchar(255) DEFAULT NULL,
`booked_barber_name` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `booking_details`
--
INSERT INTO `booking_details` (`id`, `booking_id`, `res_id`, `c_id`, `make_date`, `make_time`, `name`, `phone`, `booking_date`, `booking_time`, `bill`, `transactionid`, `status`, `reject`, `booked_service`, `booked_barber_name`) VALUES
(18, 'RoIJ8KUJ17', 18, 25, '2021-04-08', '05:05:23pm', 'pepianjing', '98372198378921', '2021-04-09', '14:05:00', 0, 'epfojapidjwa9d33readw', 1, 0, 'Cukur Pompadour + Bilas | Rp. 100000', 'pepi barbershop'),
(19, 'XkK0I7TE7g', 18, 25, '2021-04-08', '05:20:44pm', 'pepianjing', '98372198378921', '2021-04-10', '14:20:00', 0, '', 0, 0, 'Cukur + Bilas + Massage | Rp. 8500', 'pepi barbershop'),
(20, 'jQM6hUIoRt', 18, 25, '2021-04-08', '07:06:41pm', 'pepianjing', '98372198378921', '2021-04-09', '11:07:00', 0, '', 0, 0, 'Cukur + Beard Trim | Rp. 10000', 'pepi barbershop');
-- --------------------------------------------------------
--
-- Struktur dari tabel `booking_menus`
--
CREATE TABLE `booking_menus` (
`id` int(11) NOT NULL,
`booking_id` varchar(200) DEFAULT NULL,
`item_id` int(11) DEFAULT NULL,
`qty` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `booking_menus`
--
INSERT INTO `booking_menus` (`id`, `booking_id`, `item_id`, `qty`) VALUES
(4, '60640226efebb', 10, 1),
(5, '60646be328e92', 10, 1),
(6, '6064871dca31f', 12, 1),
(7, '6064871dca31f', 13, 1),
(8, '60657812c6f9f', 12, 1),
(9, '60657812c6f9f', 13, 1),
(10, '606578b100305', 11, 1),
(11, '606578b100305', 12, 1),
(12, '606578b100305', 13, 1),
(13, 'ol10IpHbWE', 12, 1);
-- --------------------------------------------------------
--
-- Struktur dari tabel `locations`
--
CREATE TABLE `locations` (
`id` int(11) NOT NULL,
`location_name` varchar(100) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `locations`
--
INSERT INTO `locations` (`id`, `location_name`) VALUES
(2, 'Dayeuhkolot'),
(3, 'ciwastra');
-- --------------------------------------------------------
--
-- Struktur dari tabel `menu_item`
--
CREATE TABLE `menu_item` (
`id` int(11) NOT NULL,
`res_id` int(11) DEFAULT NULL,
`item_name` varchar(200) DEFAULT NULL,
`servis_type` varchar(100) NOT NULL,
`price` float DEFAULT NULL,
`image` varchar(500) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `menu_item`
--
INSERT INTO `menu_item` (`id`, `res_id`, `item_name`, `servis_type`, `price`, `image`) VALUES
(10, 18, 'Cukur Biasa', 'Paket', 10000, 'julie-laiymani-F-X05iw4bCQ-unsplash.jpg'),
(11, 18, 'Beard Trim', 'Tambahan', 5000, 'artworks-VLDTtOE6MxLKuy6b-JRJjTQ-t500x500.jpg'),
(12, 18, 'Cukur Pompadour + Bilas', 'Paket', 100000, 'nanikore.jpeg'),
(13, 18, 'Cukur + Bilas + Massage', 'Paket', 8500, '1408676464__400x400__.jpg'),
(14, 18, 'Cukur + Beard Trim', 'Paket', 10000, 'julie-laiymani-F-X05iw4bCQ-unsplash.jpg'),
(15, 33, 'Mohawk + Pomade', 'Rambut', 75000, '5322c2cad533e12e552d0dfdc89b4c25.png');
-- --------------------------------------------------------
--
-- Struktur dari tabel `servis_type_table`
--
CREATE TABLE `servis_type_table` (
`id` int(11) NOT NULL,
`servis_type` varchar(100) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data untuk tabel `servis_type_table`
--
INSERT INTO `servis_type_table` (`id`, `servis_type`) VALUES
(1, 'Paket'),
(2, 'Tambahan');
-- --------------------------------------------------------
--
-- Struktur dari tabel `users_info`
--
CREATE TABLE `users_info` (
`id` int(11) NOT NULL,
`users_name` varchar(255) DEFAULT NULL,
`email` varchar(255) DEFAULT NULL,
`phone` varchar(20) DEFAULT NULL,
`address` varchar(200) DEFAULT NULL,
`location` int(11) NOT NULL,
`logo` varchar(500) DEFAULT NULL,
`password` varchar(200) DEFAULT NULL,
`bkashnumber` varchar(20) DEFAULT NULL,
`approve_status` int(11) NOT NULL DEFAULT 0 COMMENT '0-not approve,1-approve ',
`role` int(20) DEFAULT NULL COMMENT '1 = barbershop, 2 = customer '
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `users_info`
--
INSERT INTO `users_info` (`id`, `users_name`, `email`, `phone`, `address`, `location`, `logo`, `password`, `bkashnumber`, `approve_status`, `role`) VALUES
(17, 'tes', '<EMAIL>', '8211544444', 'lubang buaya', 0, 'Webp.net-resizeimage.jpg', '123', NULL, 0, 2),
(18, 'pepi barbershop', '<EMAIL>', '8554454545', 'dayeuhmuda no21', 2, 'tim-mossholder-imlD5dbcLM4-unsplash.jpg', '$2y$10$lTmhXPi5ypsbcWPtYMEH3..rFPwZK4dHzeolhImNggIqSKItTf.8.', NULL, 0, 1),
(19, 'Meki sanjaya', 'ngetest<EMAIL>', '08132312312', 'Parapatan Rebel', 0, 'Meme_Man_HD.png', '123', NULL, 0, 2),
(20, '<NAME>', '<EMAIL>', '0832312432', 'Kolong jembatan dekat indomaret', 2, 'kisspng-telkom-indonesia-telecommunication-business-telkom-5b29b8975e6352.0557019215294608873866.jpg', '123', NULL, 0, 1),
(21, '<NAME>', '<EMAIL>', '08231212421', 'Supreme Gucci Gang lil pump no23', 0, 'half-life-scientist-stahp-5a9d2f589df81.png', '123', NULL, 0, 2),
(22, '<NAME>', '<EMAIL>', '021323123', 'bruh', 0, 'profile (2).jpg', '123', NULL, 0, 2),
(25, 'pepianjing', '<EMAIL>', '98372198378921', 'cianjur', 0, NULL, '$2y$10$/cYUChGNS2AsUkyRjyI.cuyXupiv6ZvUclSp7gMSPGmeMnJ.Egacy', NULL, 0, 2),
(26, 'reg', '<EMAIL>', '983721987389127312', '97u8ljkndsakjbdkjnas', 0, 'Meme_Man_HD.png', '$2y$10$MLdW.LDVLXACKJEnA8nP8uE4GqNLHB7S1.p66Dk18YcyiIxN7yy.q', NULL, 0, 1),
(27, 'tes2', '<EMAIL>', '3209188321890321', 'kljmndsakjndjksanjkdnasjkndjkasnjkdasnjk', 0, NULL, '$2y$10$lTmhXPi5ypsbcWPtYMEH3..rFPwZK4dHzeolhImNggIqSKItTf.8.', NULL, 0, 2),
(28, 'tes3', '<EMAIL>', '09382109839021', 'lkdmsaklmdsaklmdklsa', 0, NULL, '$2y$10$fR2/WPaVHhqyZ.JTg1oZHek8w8Vz/I7.40LrIAZgJVRV.MvIumP3G', NULL, 0, 2),
(30, 'img2', '<EMAIL>', '0983812890839021', 'kjndsjkandjksanjkdsnajk', 0, NULL, '$2y$10$w0bW04x7IzqHgp.eSaKYKOogiihQt8uDXeQtA0TDnIByO920gwgma', NULL, 0, 2),
(31, 'contoh', '<EMAIL>', '39021809381290', 'jkdnsajkndjksanjkdas', 0, NULL, '$2y$10$duthCkzrylc1ckFAUkB5ze.8CnvulOu0ob8xDy0CwPdAwMiNpuGQe', NULL, 0, 2),
(32, 'conto', '<EMAIL>', '123390218', 'lkdsaklm', 0, NULL, '$2y$10$B.jZCDen743TwtzDmMQcsOFzIGDzf5FqXlKnJKZSNjKIySd7eo9ly', NULL, 0, 2),
(33, 'nuranjign', '<EMAIL>', '30219890381290312', '<PASSWORD>', 2, NULL, '$2y$10$o4NSGKRAL8lLN67I21v5AOw7MofXWqSUA.cSkATU2B4MNn.x4QsaG', NULL, 0, 1);
--
-- Indexes for dumped tables
--
--
-- Indeks untuk tabel `booking_details`
--
ALTER TABLE `booking_details`
ADD PRIMARY KEY (`id`);
--
-- Indeks untuk tabel `booking_menus`
--
ALTER TABLE `booking_menus`
ADD PRIMARY KEY (`id`);
--
-- Indeks untuk tabel `locations`
--
ALTER TABLE `locations`
ADD PRIMARY KEY (`id`);
--
-- Indeks untuk tabel `menu_item`
--
ALTER TABLE `menu_item`
ADD PRIMARY KEY (`id`);
--
-- Indeks untuk tabel `servis_type_table`
--
ALTER TABLE `servis_type_table`
ADD PRIMARY KEY (`id`);
--
-- Indeks untuk tabel `users_info`
--
ALTER TABLE `users_info`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT untuk tabel yang dibuang
--
--
-- AUTO_INCREMENT untuk tabel `booking_details`
--
ALTER TABLE `booking_details`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=21;
--
-- AUTO_INCREMENT untuk tabel `booking_menus`
--
ALTER TABLE `booking_menus`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14;
--
-- AUTO_INCREMENT untuk tabel `locations`
--
ALTER TABLE `locations`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT untuk tabel `menu_item`
--
ALTER TABLE `menu_item`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=16;
--
-- AUTO_INCREMENT untuk tabel `servis_type_table`
--
ALTER TABLE `servis_type_table`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT untuk tabel `users_info`
--
ALTER TABLE `users_info`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=34;
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 */;
|
/*!40101 SET FOREIGN_KEY_CHECKS=0 */;
DROP TABLE IF EXISTS `formations`;
CREATE TABLE IF NOT EXISTS `formations` (
`id` integer NOT NULL /*!40101 AUTO_INCREMENT */,
`intitule` varchar(50) NOT NULL,
`created_at` datetime,
`updated_at` datetime,
PRIMARY KEY (`id`)
) /*!40101 AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 */;
DROP TABLE IF EXISTS `users`;
CREATE TABLE IF NOT EXISTS `users` (
`id` integer NOT NULL /*!40101 AUTO_INCREMENT */,
`nom` varchar(40),
`prenom` varchar(40),
`login` varchar(30) NOT NULL UNIQUE,
`mdp` varchar(60) NOT NULL,
`formation_id` integer,
`type` varchar(10) ,
check (`type` in (NULL, 'etudiant','enseignant','admin')),
FOREIGN KEY(`formation_id`) REFERENCES `formations`(`id`),
PRIMARY KEY (`id`)
) /*!40101 AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 */;
INSERT INTO `users` (`id`, `nom`, `prenom`,`login`, `mdp`, `formation_id`, `type`) VALUES
('1', 'Admin', 'User', 'admin', '$2y$10$OgGilVcpTrARPRsrx8YZf.GRCGW3EAugei7htlwYaGDdbROVRY2pu', NULL, 'admin');
DROP TABLE IF EXISTS `cours`;
CREATE TABLE IF NOT EXISTS `cours` (
`id` integer NOT NULL /*!40101 AUTO_INCREMENT */,
`intitule` varchar(50) NOT NULL,
`user_id` integer NOT NULL,
`formation_id` integer,
`created_at` datetime,
`updated_at` datetime,
FOREIGN KEY(`user_id`) REFERENCES `users`(`id`),
FOREIGN KEY(`formation_id`) REFERENCES `formations`(`id`),
PRIMARY KEY (`id`)
) /*!40101 AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 */;
DROP TABLE IF EXISTS `cours_users`;
CREATE TABLE IF NOT EXISTS `cours_users` (
`cours_id` integer NOT NULL,
`user_id` integer NOT NULL,
FOREIGN KEY(`cours_id`) REFERENCES `cours`(`id`),
FOREIGN KEY(`user_id`) REFERENCES `users`(`id`),
PRIMARY KEY (`cours_id`,`user_id`)
) /*!40101 DEFAULT CHARSET=utf8mb4 */;
DROP TABLE IF EXISTS `plannings`;
CREATE TABLE IF NOT EXISTS `plannings` (
`id` integer NOT NULL /*!40101 AUTO_INCREMENT */,
`cours_id` integer NOT NULL,
`date_debut` datetime,
`date_fin` datetime,
FOREIGN KEY(`cours_id`) REFERENCES `cours`(`id`),
PRIMARY KEY (`id`)
) /*!40101 AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 */;
/*!40101 SET FOREIGN_KEY_CHECKS=1 */;
|
<filename>src/test/resources/fuzz3.test_1.sql
-- fuzz3.test
--
-- execsql { SELECT md5sum(a, b, c) FROM t1 }
SELECT md5sum(a, b, c) FROM t1
|
<filename>examples/schema-migration/user/2-1.sql
/*** Remove user and user_login_history tables ***/
DROP TABLE "user_login_history";
DROP TABLE "user";
|
-- phpMyAdmin SQL Dump
-- version 4.1.14
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: 03 Sie 2015, 10:37
-- Server version: 5.6.17
-- PHP Version: 5.5.12
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
--
-- Create Database: `mariocoski_bootstrap`
--
CREATE DATABASE IF NOT EXISTS `mariocoski_bootstrap`;
USE `mariocoski_bootstrap`;
--
-- Struktura tabeli dla tabeli `mariocoski_calendar`
--
CREATE TABLE IF NOT EXISTS `mariocoski_calendar` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`calendar_id` int(11) NOT NULL,
`company_name` varchar(100) NOT NULL,
`address` varchar(150) NOT NULL,
`postcode` varchar(20) NOT NULL,
`city` varchar(100) NOT NULL,
`country` varchar(100) NOT NULL,
`website` varchar(100) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `calendar_id` (`calendar_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ;
--
-- Zrzut danych tabeli `mariocoski_calendar`
--
INSERT INTO `mariocoski_calendar` (`id`, `calendar_id`, `company_name`, `address`, `postcode`, `city`, `country`, `website`) VALUES
(1, 334455, 'Your Company 1', 'Street Name 1', 'Postcode 1', 'City 1', 'Country', 'www.example.com'),
(2, 667788, 'Your Company 2', 'Street Name 2', 'Postcode 2', 'City 2', 'Country', 'www.example2.com');
-- --------------------------------------------------------
--
-- Struktura tabeli dla tabeli `mariocoski_event`
--
CREATE TABLE IF NOT EXISTS `mariocoski_event` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`calendar_id` int(11) NOT NULL,
`timestamp` timestamp NULL DEFAULT NULL,
`firstname` varchar(100) NOT NULL,
`lastname` varchar(100) NOT NULL,
`email` varchar(255) NOT NULL,
`phone` varchar(20) NOT NULL,
`booked` tinyint(1) NOT NULL DEFAULT '0',
`noticed` tinyint(1) NOT NULL DEFAULT '0',
`deleted` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `calendar_id` (`calendar_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Struktura tabeli dla tabeli `mariocoski_user`
--
CREATE TABLE IF NOT EXISTS `mariocoski_user` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`email` varchar(255) NOT NULL,
`password` varchar(250) NOT NULL,
`salt` varchar(250) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `email` (`email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
--
-- Zrzut danych tabeli `mariocoski_user`
--
INSERT INTO `mariocoski_user` (`id`, `email`, `password`, `salt`) VALUES
(1, '<EMAIL>', 'password', '<PASSWORD>');
-- --------------------------------------------------------
--
-- Struktura tabeli dla tabeli `mariocoski_user_calendar`
--
CREATE TABLE IF NOT EXISTS `mariocoski_user_calendar` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user_id` int(11) NOT NULL,
`calendar_id` int(11) NOT NULL,
PRIMARY KEY (`id`),
KEY `user_id` (`user_id`),
KEY `calendar_id` (`calendar_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ;
--
-- Zrzut danych tabeli `mariocoski_user_calendar`
--
INSERT INTO `mariocoski_user_calendar` (`id`, `user_id`, `calendar_id`) VALUES
(1, 1, 334455),
(2, 1, 667788);
--
-- Ograniczenia dla zrzutów tabel
--
--
-- Ograniczenia dla tabeli `mariocoski_user_calendar`
--
ALTER TABLE `mariocoski_user_calendar`
ADD CONSTRAINT `mariocoski_user_calendar_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `mariocoski_user` (`id`),
ADD CONSTRAINT `mariocoski_user_calendar_ibfk_2` FOREIGN KEY (`calendar_id`) REFERENCES `mariocoski_calendar` (`calendar_id`);
/*!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 */;
|
--
-- ***** BEGIN LICENSE BLOCK *****
-- Zimbra Collaboration Suite Server
-- Copyright (C) 2009, 2010 Zimbra, Inc.
--
-- The contents of this file are subject to the Zimbra Public License
-- Version 1.3 ("License"); you may not use this file except in
-- compliance with the License. You may obtain a copy of the License at
-- http://www.zimbra.com/license.
--
-- Software distributed under the License is distributed on an "AS IS"
-- basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.
-- ***** END LICENSE BLOCK *****
--
.bail ON
.read "@ZIMBRA_INSTALL@db/db.sql"
.read "@ZIMBRA_INSTALL@db/directory.sql"
.read "@ZIMBRA_INSTALL@db/wildfire.sql"
.read "@ZIMBRA_INSTALL@db/versions-init.sql"
.read "@ZIMBRA_INSTALL@db/default-volumes.sql"
INSERT INTO config(name, value, description) VALUES ('offline.db.version', '5', 'offline db schema version');
.exit
|
<reponame>trussworks/mymove
-- update moves that use a bad zip3 (origin/destination) duty stations to use a different duty station
-- Joint Base Pearl Harbor Hickam -> fort bragg
UPDATE service_members SET duty_station_id = 'dca78766-e76b-4c6d-ba82-81b50ca824b9' WHERE duty_station_id = '7f397238-ca68-4417-b17f-61709e019e3b';
UPDATE orders SET new_duty_station_id = 'dca78766-e76b-4c6d-ba82-81b50ca824b9' WHERE new_duty_station_id = '7f397238-ca68-4417-b17f-61709e019e3b';;
-- Kaneohe Marine Air Station -> fort benning
UPDATE service_members SET duty_station_id = '927b9b6e-df0c-4c5b-8163-6c075978baa5' WHERE duty_station_id = 'ba15d369-e284-4edb-a2e2-5cf91022dd4f';
UPDATE orders SET new_duty_station_id = '927b9b6e-df0c-4c5b-8163-6c075978baa5' WHERE new_duty_station_id = 'ba15d369-e284-4edb-a2e2-5cf91022dd4f';
-- US Coast Guard Honolulu -> fort hood
UPDATE service_members SET duty_station_id = 'a60d7431-228c-4dd2-96e9-103e9d5e153b' WHERE duty_station_id = '2b0f8faf-1385-4be1-89dd-478a4837abe9';
UPDATE orders SET new_duty_station_id = 'a60d7431-228c-4dd2-96e9-103e9d5e153b' WHERE new_duty_station_id = '2b0f8faf-1385-4be1-89dd-478a4837abe9';
-- <NAME> -> fort riley
UPDATE service_members SET duty_station_id = '8d3ab983-e341-4136-9f22-5acf74f1523d' WHERE duty_station_id = 'a665fabc-6637-4acf-878c-d0fb3f0b8cd4';
UPDATE orders SET new_duty_station_id = '8d3ab983-e341-4136-9f22-5acf74f1523d' WHERE new_duty_station_id = 'a665fabc-6637-4acf-878c-d0fb3f0b8cd4';
-- Fort Shafter -> fort still
UPDATE service_members SET duty_station_id = 'f0e7a8e0-a51e-4af3-b28f-8d1eea38c7a0' WHERE duty_station_id = 'e18a829e-d1ec-405e-9ac3-77b28965ea2d';
UPDATE orders SET new_duty_station_id = 'f0e7a8e0-a51e-4af3-b28f-8d1eea38c7a0' WHERE new_duty_station_id = 'e18a829e-d1ec-405e-9ac3-77b28965ea2d';
-- Pacific Missle Range Facility -> Fort Hamilton
UPDATE service_members SET duty_station_id = '17538a6d-9c2f-4ea1-9ad5-8d878a675ee6' WHERE duty_station_id = '2bc08117-6533-4aa6-8a46-3447d91c5513';
UPDATE orders SET new_duty_station_id = '17538a6d-9c2f-4ea1-9ad5-8d878a675ee6' WHERE new_duty_station_id = '2bc08117-6533-4aa6-8a46-3447d91c5513';
-- now delete the duty stations(and corrisponding addresses) w/ no valid zip3 data
-- Joint Base Pearl Harbor Hickam
DELETE FROM duty_stations WHERE id = '7f397238-ca68-4417-b17f-61709e019e3b'
AND NOT EXISTS (SELECT id FROM orders WHERE new_duty_station_id = '7f397238-ca68-4417-b17f-61709e019e3b')
AND NOT EXISTS (SELECT id FROM service_members WHERE duty_station_id = '7f397238-ca68-4417-b17f-61709e019e3b');
DELETE FROM addresses WHERE id = '7b844695-eb40-4028-8ddd-8c2f5d6e142e'
AND NOT EXISTS (SELECT id FROM duty_stations WHERE id = '7f397238-ca68-4417-b17f-61709e019e3b');
-- -- Kaneohe Marine Air Station
DELETE FROM duty_stations WHERE id = 'ba15d369-e284-4edb-a2e2-5cf91022dd4f'
AND NOT EXISTS (SELECT id FROM orders WHERE new_duty_station_id = 'ba15d369-e284-4edb-a2e2-5cf91022dd4f')
AND NOT EXISTS (SELECT id FROM service_members WHERE duty_station_id = 'ba15d369-e284-4edb-a2e2-5cf91022dd4f');
DELETE FROM addresses WHERE id = '2887f384-b895-4507-a808-084c2b4e8e28'
AND NOT EXISTS (SELECT id FROM duty_stations WHERE id = 'ba15d369-e284-4edb-a2e2-5cf91022dd4f');
-- -- US Coast Guard Honolulu
DELETE FROM duty_stations WHERE id = '2b0f8faf-1385-4be1-89dd-478a4837abe9'
AND NOT EXISTS (SELECT id FROM orders WHERE new_duty_station_id = '2b0f8faf-1385-4be1-89dd-478a4837abe9')
AND NOT EXISTS (SELECT id FROM service_members WHERE duty_station_id = '2b0f8faf-1385-4be1-89dd-478a4837abe9');
DELETE FROM addresses WHERE id = 'ea9b6e35-1d4e-4744-89c0-371b977b3f0e'
AND NOT EXISTS (SELECT id FROM duty_stations WHERE id = '2b0f8faf-1385-4be1-89dd-478a4837abe9');
-- -- <NAME>
DELETE FROM duty_stations WHERE id = 'a665fabc-6637-4acf-878c-d0fb3f0b8cd4'
AND NOT EXISTS (SELECT id FROM orders WHERE new_duty_station_id = 'a665fabc-6637-4acf-878c-d0fb3f0b8cd4')
AND NOT EXISTS (SELECT id FROM service_members WHERE duty_station_id = 'a665fabc-6637-4acf-878c-d0fb3f0b8cd4');
DELETE FROM addresses WHERE id = '5911bb14-f027-43c3-8b93-b21e4a90dfeb'
AND NOT EXISTS (SELECT id FROM duty_stations WHERE id = 'a665fabc-6637-4acf-878c-d0fb3f0b8cd4');
-- -- Fort Shafter
DELETE FROM duty_stations WHERE id = 'e18a829e-d1ec-405e-9ac3-77b28965ea2d'
AND NOT EXISTS (SELECT id FROM orders WHERE new_duty_station_id = 'e18a829e-d1ec-405e-9ac3-77b28965ea2d')
AND NOT EXISTS (SELECT id FROM service_members WHERE duty_station_id = 'e18a829e-d1ec-405e-9ac3-77b28965ea2d');
DELETE FROM addresses WHERE id = '307bb34e-0690-495b-acc6-2ef45fbc229c'
AND NOT EXISTS (SELECT id FROM duty_stations WHERE id = 'e18a829e-d1ec-405e-9ac3-77b28965ea2d');
-- -- Pacific Missle Range Facility
DELETE FROM duty_stations WHERE id = '2bc08117-6533-4aa6-8a46-3447d91c5513'
AND NOT EXISTS (SELECT id FROM orders WHERE new_duty_station_id = '2bc08117-6533-4aa6-8a46-3447d91c5513')
AND NOT EXISTS (SELECT id FROM service_members WHERE duty_station_id = '2bc08117-6533-4aa6-8a46-3447d91c5513');
DELETE FROM addresses WHERE id = 'db7e96bf-f127-4d12-bf2e-51b3ef6889e5'
AND NOT EXISTS (SELECT id FROM duty_stations WHERE id = '2bc08117-6533-4aa6-8a46-3447d91c5513');
|
/*
SQLyog 企业版 - MySQL GUI v8.14
MySQL - 5.5.12 : Database - compass
*********************************************************************
*/
/*!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*/`compass` /*!40100 DEFAULT CHARACTER SET utf8 */;
USE `compass`;
/*Table structure for table `category` */
DROP TABLE IF EXISTS `category`;
CREATE TABLE `category` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(50) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
/*Data for the table `category` */
insert into `category`(`id`,`name`) values (1,'手机'),(2,'Java'),(3,'maven'),(4,'Oracle'),(5,'Android'),(6,'图书');
/*Table structure for table `product` */
DROP TABLE IF EXISTS `product`;
CREATE TABLE `product` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(50) DEFAULT NULL,
`price` float DEFAULT NULL,
`descption` varchar(20) DEFAULT NULL,
`category_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `FKED8DCCEFC1122627` (`category_id`),
CONSTRAINT `FKED8DCCEFC1122627` FOREIGN KEY (`category_id`) REFERENCES `category` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=29 DEFAULT CHARSET=utf8;
/*Data for the table `product` */
insert into `product`(`id`,`name`,`price`,`descption`,`category_id`) values (1,'maven实战',88,'maven实战',3),(2,'JavaSwing开发指南',88,'JavaSwing开发指南',2),(3,'Oracle10g开发指南',108,'Oracle10g开发指南',4),(5,'Iphone4',1000,'Iphone4',1),(12,'maven权威指南',68,'maven权威指南',3),(13,'Oracle9i',108,'Oracle9i',4),(14,'Android应用揭秘',89,'Android应用揭秘',5),(15,'Oracle专家权威指南',108,'Oracle专家权威指南',4),(17,'摩托罗拉手机',108,'摩托罗拉手机L7',1),(18,'Junit in Action',102,'Junit in Action',2),(19,'平凡是世界',102,'路遥',6),(20,'人生',102,'贾平凹',6),(21,'西游记',102,'吴承恩',6),(22,'书剑恩仇录',102,'金庸',6),(23,'笑傲江湖',108,'金庸',6),(24,'萧十一郎',78,'金庸',6),(26,'射雕英雄传',78,'金庸',6),(27,'云计算',77,'冯靖',2),(28,'Pro git',88,'git',6);
/*!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 */;
|
<reponame>giuscri/retro
DROP TABLE IF EXISTS `access_token_auth_domain`;
CREATE TABLE `access_token_auth_domain` (
`id` SERIAL NOT NULL,
`ref` TEXT NOT NULL,
`token` varchar(255) NOT NULL,
`expires_at` timestamp NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `token_UNIQUE` (`token`)
) DEFAULT CHARSET=latin1;
DROP TABLE IF EXISTS `login_auth_domain`;
CREATE TABLE `login_auth_domain` (
`id` SERIAL NOT NULL,
`ref` TEXT NOT NULL,
`username` varchar(255) NOT NULL,
`password_hash` TEXT NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `username_UNIQUE` (`username`)
) DEFAULT CHARSET=latin1;
|
<gh_stars>1-10
ALTER TABLE manuelloppgave DROP COLUMN tildeltenhetsnr;
|
/*
Navicat MySQL Data Transfer
Source Server : localhost_3306
Source Server Version : 50719
Source Host : localhost:3306
Source Database : blog_v2
Target Server Type : MYSQL
Target Server Version : 50719
File Encoding : 65001
Date: 2019-11-17 20:25:04
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for `t_blog`
-- ----------------------------
DROP TABLE IF EXISTS `t_blog`;
CREATE TABLE `t_blog` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`commentabled` bit(1) NOT NULL,
`content` longtext,
`create_time` datetime DEFAULT NULL,
`summary` varchar(255) DEFAULT NULL,
`cover` varchar(255) DEFAULT NULL,
`published` bit(1) NOT NULL,
`share_statement` bit(1) NOT NULL,
`title` varchar(255) DEFAULT NULL,
`update_time` datetime DEFAULT NULL,
`views` int(11) DEFAULT NULL,
`type_id` bigint(20) DEFAULT NULL,
`istop` bit(1) DEFAULT NULL,
`top_time` datetime DEFAULT NULL,
`lunbo` bit(1) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `FK292449gwg5yf7ocdlmswv9w4j` (`type_id`),
CONSTRAINT `t_blog_ibfk_1` FOREIGN KEY (`type_id`) REFERENCES `t_type` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=23 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of t_blog
-- ----------------------------
INSERT INTO `t_blog` VALUES ('19', '', '\r\n', '2019-11-02 16:04:29', '我玩1', 'http://localhost:8087/upload/2019/11/2/cat.jpeg', '', '', 'SpringBoot配置markdown上传图片返回url', '2019-11-16 15:58:05', '0', '2', '', null, '');
INSERT INTO `t_blog` VALUES ('21', '', '32\r\n', '2019-11-02 19:39:58', '搜索', 'http://localhost:8087/upload/2019/11/2/zhifubao.png', '', '', '23', '2019-11-16 13:08:09', '0', '2', '', null, '');
INSERT INTO `t_blog` VALUES ('22', '', '# 444 嘉禾2', '2019-11-16 14:13:07', '44再加个4', '44', '', '', '444', '2019-11-17 14:36:54', '0', '2', '', null, '');
-- ----------------------------
-- Table structure for `t_blog_tags`
-- ----------------------------
DROP TABLE IF EXISTS `t_blog_tags`;
CREATE TABLE `t_blog_tags` (
`blogs_id` bigint(20) NOT NULL,
`tags_id` bigint(20) NOT NULL,
KEY `FK5feau0gb4lq47fdb03uboswm8` (`tags_id`),
KEY `FKh4pacwjwofrugxa9hpwaxg6mr` (`blogs_id`),
CONSTRAINT `t_blog_tags_ibfk_1` FOREIGN KEY (`tags_id`) REFERENCES `t_tag` (`id`),
CONSTRAINT `t_blog_tags_ibfk_2` FOREIGN KEY (`blogs_id`) REFERENCES `t_blog` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of t_blog_tags
-- ----------------------------
INSERT INTO `t_blog_tags` VALUES ('21', '2');
INSERT INTO `t_blog_tags` VALUES ('21', '3');
INSERT INTO `t_blog_tags` VALUES ('19', '2');
INSERT INTO `t_blog_tags` VALUES ('19', '3');
INSERT INTO `t_blog_tags` VALUES ('22', '3');
-- ----------------------------
-- Table structure for `t_comment`
-- ----------------------------
DROP TABLE IF EXISTS `t_comment`;
CREATE TABLE `t_comment` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`admin_comment` bit(1) NOT NULL,
`avatar` varchar(255) DEFAULT NULL,
`content` varchar(255) DEFAULT NULL,
`create_time` datetime DEFAULT NULL,
`email` varchar(255) DEFAULT NULL,
`nickname` varchar(255) DEFAULT NULL,
`blog_id` bigint(20) DEFAULT NULL,
`parent_comment_id` bigint(20) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `FKke3uogd04j4jx316m1p51e05u` (`blog_id`),
KEY `FK4jj284r3pb7japogvo6h72q95` (`parent_comment_id`),
CONSTRAINT `t_comment_ibfk_1` FOREIGN KEY (`parent_comment_id`) REFERENCES `t_comment` (`id`),
CONSTRAINT `t_comment_ibfk_2` FOREIGN KEY (`blog_id`) REFERENCES `t_blog` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=26 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of t_comment
-- ----------------------------
-- ----------------------------
-- Table structure for `t_link`
-- ----------------------------
DROP TABLE IF EXISTS `t_link`;
CREATE TABLE `t_link` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`isuse` int(11) DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
`orderno` int(11) DEFAULT NULL,
`create_time` datetime DEFAULT NULL,
`url` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of t_link
-- ----------------------------
INSERT INTO `t_link` VALUES ('1', '1', '杨青博客', '2', '2019-07-26 14:01:25', 'https://www.yangqq.com/');
INSERT INTO `t_link` VALUES ('2', '1', '我Github搭建的博客', '1', '2019-07-18 14:03:00', 'https://cuberzhx.cn/');
INSERT INTO `t_link` VALUES ('3', '1', 'SpringBoot博客', '3', '2019-10-18 15:31:15', 'http://www.coderzhx.cn/');
-- ----------------------------
-- Table structure for `t_tag`
-- ----------------------------
DROP TABLE IF EXISTS `t_tag`;
CREATE TABLE `t_tag` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`name` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of t_tag
-- ----------------------------
INSERT INTO `t_tag` VALUES ('1', '数据结构');
INSERT INTO `t_tag` VALUES ('2', '链表');
INSERT INTO `t_tag` VALUES ('3', '二叉树');
-- ----------------------------
-- Table structure for `t_type`
-- ----------------------------
DROP TABLE IF EXISTS `t_type`;
CREATE TABLE `t_type` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of t_type
-- ----------------------------
INSERT INTO `t_type` VALUES ('1', 'java基础');
INSERT INTO `t_type` VALUES ('2', '前端');
INSERT INTO `t_type` VALUES ('3', '测试分类');
-- ----------------------------
-- Table structure for `t_user`
-- ----------------------------
DROP TABLE IF EXISTS `t_user`;
CREATE TABLE `t_user` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`avatar` varchar(255) DEFAULT NULL,
`create_time` datetime DEFAULT NULL,
`email` varchar(255) DEFAULT NULL,
`nickname` varchar(255) DEFAULT NULL,
`password` varchar(255) DEFAULT NULL,
`type` int(11) DEFAULT NULL,
`update_time` datetime DEFAULT NULL,
`username` varchar(255) DEFAULT NULL,
`description` text,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of t_user
-- ----------------------------
INSERT INTO `t_user` VALUES ('1', '/images/zhang.jpeg', null, '<EMAIL>', '张', '025caacda95a8a6874c7f78ca2c78b4a', null, null, 'admin', '# 博客2.0版本\r\n\r\n##### 因为1.0版本[https://coderzhx.cn](https://coderzhx.cn) 过于冗余,冗余点如下\r\n\r\n##### 1.由于**访问的人并不多(丢脸)**,资源分享、导航菜单管理和网站配置信息管理模块完全多此一举!\r\n\r\n##### 2.考虑到我的导航栏菜单和网站基本信息配置似乎几年都不会变.我完全把他在静态页面中写死就好了!\r\n\r\n##### 3.前后台采用一套ui界面足够了,因为这个项目还很小,用Thymeleaf模版即可!1.0版本后台用了layAdmin用于前后端分离用到了**ajax异步获取数据,这点算是优点**,不过对于这个项目来说我没有把他用到淋漓尽致,因为**我不会vue框架**,等我学了,我会把这个版本升级为前后端分离项目3.0版本.用回Layui,因为这个模板框架的界面数据交互都很不错.\r\n\r\n##### 4.\r\n\r\n> 隐藏的bug\r\n>\r\n> 1 全文搜索结果的分页功能可能失控\r\n\r\n\r\n\r\n');
-- ----------------------------
-- Table structure for `t_visitcount`
-- ----------------------------
DROP TABLE IF EXISTS `t_visitcount`;
CREATE TABLE `t_visitcount` (
`ip` varchar(255) NOT NULL,
`ipcount` bigint(20) DEFAULT NULL,
PRIMARY KEY (`ip`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of t_visitcount
-- ----------------------------
INSERT INTO `t_visitcount` VALUES ('172.23.249.145', '1');
-- ----------------------------
-- View structure for `comment_by_blog_id`
-- ----------------------------
DROP VIEW IF EXISTS `comment_by_blog_id`;
CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `comment_by_blog_id` AS select `a`.`id` AS `id`,`a`.`avatar` AS `avatar`,`a`.`nickname` AS `nickname`,`a`.`content` AS `content`,`a`.`parent_comment_id` AS `parent_comment_id` from (`t_comment` `a` join `t_comment` `b` on((`a`.`parent_comment_id` = `b`.`id`))) where (`a`.`blog_id` = 19) ;
|
SELECT premium_users.user_id,
premium_users.purchase_date,
premium_users.cancel_date,
months.months
FROM premium_users
CROSS JOIN months;
|
-- Support for postgresql 9.x
-- @author <NAME> (<EMAIL>)
create or replace function acs_objects_context_id_up_tr () returns trigger as '
declare
pair record;
outer_record record;
inner_record record;
security_context_root integer;
begin
if new.object_id = old.object_id
and ((new.context_id = old.context_id)
or (new.context_id is null and old.context_id is null))
and new.security_inherit_p = old.security_inherit_p then
return new;
end if;
-- Remove my old ancestors from my descendants.
for outer_record in select object_id from acs_object_context_index where
ancestor_id = old.object_id and object_id <> old.object_id loop
for inner_record in select ancestor_id from acs_object_context_index where
object_id = old.object_id and ancestor_id <> old.object_id loop
delete from acs_object_context_index
where object_id = outer_record.object_id
and ancestor_id = inner_record.ancestor_id;
end loop;
end loop;
-- Kill all my old ancestors.
delete from acs_object_context_index
where object_id = old.object_id;
insert into acs_object_context_index
(object_id, ancestor_id, n_generations)
values
(new.object_id, new.object_id, 0);
if new.context_id is not null and new.security_inherit_p = ''t'' then
-- Now insert my new ancestors for my descendants.
for pair in select *
from acs_object_context_index
where ancestor_id = new.object_id
LOOP
insert into acs_object_context_index
(object_id, ancestor_id, n_generations)
select
pair.object_id, ancestor_id,
n_generations + pair.n_generations + 1 as n_generations
from acs_object_context_index
where object_id = new.context_id;
end loop;
else
security_context_root = acs__magic_object_id(''security_context_root'');
if new.object_id != security_context_root then
-- We need to make sure that new.OBJECT_ID and all of its
-- children have security_context_root as an ancestor.
for pair in select *
from acs_object_context_index
where ancestor_id = new.object_id
LOOP
insert into acs_object_context_index
(object_id, ancestor_id, n_generations)
values
(pair.object_id, security_context_root, pair.n_generations + 1);
end loop;
end if;
end if;
return new;
end;' language 'plpgsql';
create or replace function acs_object__get_attribute (integer,varchar)
returns text as '
declare
object_id_in alias for $1;
attribute_name_in alias for $2;
v_table_name varchar(200);
v_column varchar(200);
v_key_sql text;
v_return text;
v_storage text;
v_rec record;
begin
v_storage := acs_object__get_attribute_storage(object_id_in, attribute_name_in);
v_column := acs_object__get_attr_storage_column(v_storage);
v_table_name := acs_object__get_attr_storage_table(v_storage);
v_key_sql := acs_object__get_attr_storage_sql(v_storage);
for v_rec in execute ''select '' || quote_ident(v_column) || ''::text as column_return from '' || quote_ident(v_table_name) || '' where '' || v_key_sql
LOOP
v_return := v_rec.column_return;
exit;
end loop;
if not FOUND then
return null;
end if;
return v_return;
end;' language 'plpgsql' stable;
|
<reponame>LeNgocHai1/bigshop
-- phpMyAdmin SQL Dump
-- version 5.0.2
-- https://www.phpmyadmin.net/
--
-- Máy chủ: 127.0.0.1:3306
-- Thời gian đã tạo: Th6 26, 2021 lúc 12:48 AM
-- Phiên bản máy phục vụ: 5.7.31
-- Phiên bản PHP: 7.3.21
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 */;
--
-- Cơ sở dữ liệu: `nhom14`
--
-- --------------------------------------------------------
--
-- Cấu trúc bảng cho bảng `cart`
--
DROP TABLE IF EXISTS `cart`;
CREATE TABLE IF NOT EXISTS `cart` (
`Cart_ID` int(11) NOT NULL AUTO_INCREMENT,
`User_ID` int(11) NOT NULL,
`Product_ID` int(11) NOT NULL,
`Quanlity` int(11) NOT NULL,
PRIMARY KEY (`Cart_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Cấu trúc bảng cho bảng `comments`
--
DROP TABLE IF EXISTS `comments`;
CREATE TABLE IF NOT EXISTS `comments` (
`id _comment` int(11) NOT NULL AUTO_INCREMENT,
`comment_author` text COLLATE utf8mb4_unicode_ci NOT NULL,
`comment_content` text COLLATE utf8mb4_unicode_ci NOT NULL,
`comment_rating` int(11) NOT NULL,
`product_id` int(11) NOT NULL,
`created_at` datetime NOT NULL,
PRIMARY KEY (`id _comment`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Cấu trúc bảng cho bảng `manufactures`
--
DROP TABLE IF EXISTS `manufactures`;
CREATE TABLE IF NOT EXISTS `manufactures` (
`manu_ID` int(11) NOT NULL AUTO_INCREMENT,
`manu_Name` varchar(100) COLLATE utf8_vietnamese_ci NOT NULL,
`manu_Image` varchar(150) COLLATE utf8_vietnamese_ci NOT NULL,
PRIMARY KEY (`manu_ID`)
) ENGINE=MyISAM AUTO_INCREMENT=10 DEFAULT CHARSET=utf8 COLLATE=utf8_vietnamese_ci;
--
-- Đang đổ dữ liệu cho bảng `manufactures`
--
INSERT INTO `manufactures` (`manu_ID`, `manu_Name`, `manu_Image`) VALUES
(1, 'Apple', 'apple-logo.png'),
(2, 'Oppo', 'OPPO-Logo-Featured.jpg'),
(3, 'Samsung', 'th.jpg'),
(4, 'Asus', 'asus_logo.png'),
(5, 'Sony', 'wp2016639.jpg');
-- --------------------------------------------------------
--
-- Cấu trúc bảng cho bảng `products`
--
DROP TABLE IF EXISTS `products`;
CREATE TABLE IF NOT EXISTS `products` (
`ID` int(11) NOT NULL AUTO_INCREMENT,
`Name` varchar(100) COLLATE utf8_vietnamese_ci NOT NULL,
`Image` varchar(150) COLLATE utf8_vietnamese_ci NOT NULL,
`Description` text COLLATE utf8_vietnamese_ci,
`Price` int(150) NOT NULL,
`manu_ID` int(11) NOT NULL,
`type_ID` int(11) NOT NULL,
`Feature` tinyint(2) NOT NULL,
`creat_at` timestamp NOT NULL,
PRIMARY KEY (`ID`)
) ENGINE=MyISAM AUTO_INCREMENT=162 DEFAULT CHARSET=utf8 COLLATE=utf8_vietnamese_ci;
--
-- Đang đổ dữ liệu cho bảng `products`
--
INSERT INTO `products` (`ID`, `Name`, `Image`, `Description`, `Price`, `manu_ID`, `type_ID`, `Feature`, `creat_at`) VALUES
(33, 'Điện thoại iPhone 6S (16GB, 32GB, 64GB)', 'iphone-6s-pink.jpg', 'Thông tin chung\r\nHệ điều hành: IOS 10 - IOS 11\r\nNgôn ngữ: Đa ngôn ngữ hỗ trợ Tiếng Việt\r\nMàn hình\r\nLoại màn hình: IPS LCD\r\nMàu màn hình: 16 triệu màu\r\nChuẩn màn hình: IPS LCD, 4.7 inch, HD (750 x 1334 pixels), 3D Touch\r\nĐộ phân giải: 750 x 1334 pixels\r\nMàn hình rộng: 4.7 inch\r\nCông nghệ cảm ứng: Cảm ứng đa điểm (10 điểm)\r\nChụp hình & Quay phim\r\nCamera sau: 12MP\r\nCamera trước: 5MP\r\nĐèn Flash: Có\r\nTính năng camera: Tự động lấy nét, nhận diện khuôn mặt, chụp ảnh HDR, Panorama\r\nQuay phim: Quay phim 4K (2160p@30fps)\r\nVideocall: Có\r\nCPU & RAM\r\nTốc độ CPU: Dual-core 1.84 GHz Twister\r\nSố nhân: 2 Nhân\r\nChipset: Apple A9 (14 nm)\r\nRAM: 2GB\r\nChip đồ họa (GPU): PowerVR GT7600\r\nBộ nhớ & Lưu trữ\r\nDanh bạ: Không giới hạn\r\nBộ nhớ trong (ROM): 16GB/32GB/64GB/128GB\r\nThẻ nhớ ngoài: Không hỗ trợ\r\nHỗ trợ thẻ tối đa: Không hỗ trợ\r\nThiết kế & Trọng lượng\r\nKiểu dáng: Cảm ứng\r\nKích thước: 138.3 x 67.1 x 7.1 mm\r\nTrọng lượng (g): 143g\r\nThông tin pin\r\nLoại pin: Li-Ion\r\nDung lượng pin: 1715 mAh\r\nPin có thể tháo rời: Không\r\nKết nối & Cổng giao tiếp\r\n3G: HSDPA 850 / 900 / 1700 / 1900 / 2100\r\n4G: LTE band 1(2100), 3(1800), 5(850), 7(2600), 8(900), 20(800)\r\nLoại Sim: Nano SIM\r\nKhe gắn Sim: 1 SIM\r\nWifi: Wi-Fi 802.11 a/b/g/n/ac, dual-band, hotspot\r\nGPS: A-GPS, GLONASS, GALILEO, QZSS\r\nBluetooth: 4.2, A2DP, LE\r\nGPRS/EDGE: Có\r\nJack tai nghe: có, 3.5mm\r\nNFC: Có\r\nKết nối USB: v2.0\r\nKết nối khác: Airplay\r\nCổng sạc: Lightning\r\nGiải trí & Ứng dụng\r\nXem phim: MP4/DivX/XviD/WMV/H.265\r\nNghe nhạc: MP3/WAV/AAX+/AIFF/Apple Lossless\r\nCổng sạc: Lightning\r\nGhi âm: Có\r\nFM radio: Không\r\nChức năng khác: Trợ lý ảo Siri, Tài khoản iCloud, Tin nhắn iMesasge, Cảm biến vân tay 1 chạm, 3D Touch', 2450000, 1, 1, 0, '2021-06-17 16:13:10'),
(6, 'test', 'mac.jpg', '<p>Thông số kỹ thuật CPU: Intel Core i5 Broadwell, 1.80 GHz RAM: 8 GB, DDR3L(On board), 1600 MHz Ổ cứng: SSD: 128 GB Màn hình: 13.3 inch, WXGA+(1440 x 900) Card màn hình: Card đồ họa tích hợp, Intel HD Graphics 6000 Cổng kết nối: MagSafe 2, 2 x USB 3.0, Thunderbolt 2 Hệ điều hành: Mac OS Thiết kế: Vỏ kim loại nguyên khối, PIN liền Kích thước: Dày 17 mm, 1.35 Kg</p>\r\n', 21990000, 1, 1, 1, '0000-00-00 00:00:00'),
(7, 'Laptop Oppo', 'lapoppo.jpg', 'Thông số kỹ thuật\r\nCPU: Intel Core i5 Coffee Lake, 8250U, 1.60 GHz\r\nRAM: 4 GB, DDR4 (On board +1 khe), 2400 MHz\r\nỔ cứng: HDD: 1 TB, Hỗ trợ khe cắm SSD M.2 PCIe\r\nMàn hình: 14 inch, Full HD (1920 x 1080)\r\nCard màn hình: Card đồ họa tích hợp, Intel® HD Graphics 620\r\nCổng kết nối: HDMI 2.0, 2 x USB 3.1, USB Type-C\r\nHệ điều hành: Windows 10 Home SL\r\nThiết kế: Vỏ nhựa, PIN liền\r\nKích thước: Dày 18.9 mm, 1.67 kg', 12290000, 2, 2, 0, '0000-00-00 00:00:00'),
(8, 'Laptop Samsung NC210\r\n', 'Samsung-NC210-185.jpg', 'hông số kỹ thuật\r\nCPU: N550, 1.50 GHz\r\nRAM: 3 GB, DDR3, 800 MHz\r\nMàn hình: 10.1 inch, WSVGA (1024 x 600)\r\nCard màn hình: \r\nCổng kết nối: 3 x USB 2.0, LAN (RJ45), VGA (D-Sub)', 11000000, 3, 2, 1, '0000-00-00 00:00:00'),
(9, 'Laptop Asus X507MA', 'lapasus.jpg', 'Thông số kỹ thuật\r\nCPU: Intel Celeron, N4000, 1.10 GHz\r\nRAM: 4 GB, DDR4 (1 khe), 2400 MHz\r\nỔ cứng: SSD: 256 GB M2\r\nMàn hình: 15.6 inch, HD (1366 x 768)\r\nCard màn hình: Card đồ họa tích hợp, Intel® UHD Graphics 600\r\nCổng kết nối: 2 x USB 3.0, HDMI, USB 2.0\r\nHệ điều hành: Windows 10 Home SL\r\nThiết kế: Vỏ nhựa, PIN liền\r\nKích thước: Dày 21.9 mm, 1.75 kg', 6490000, 4, 2, 0, '0000-00-00 00:00:00'),
(13, 'Samsung Galaxy Tab S6\r\n', 'samsung-galaxy-tab.png', 'Thông số kỹ thuật\r\nMàn hình Super AMOLED, 10.5\"\r\nHệ điều hành Android 9.0 (Pie)\r\nCPU Qualcomm Snapdragon 855 8 nhân, 1 nhân 2.84 GHz, 3 nhân 2.41 GHz & 4 nhân 1.78 GHz\r\nRAM 6 GB\r\nBộ nhớ trong 128 GB\r\nCamera sau Chính 13 MP & Phụ 5 MP\r\nCamera trước 8 MP\r\nKết nối mạng WiFi, 3G, 4G LTE\r\nHỗ trợ SIM\r\nNano Sim\r\nHOTSIM Mobi Data 5GB (5GB data/tháng). Giá từ 150.000đ\r\nĐàm thoại Có', 18490000, 3, 3, 1, '0000-00-00 00:00:00'),
(14, 'ASUS ZenPad 7.0 (Z370CG)\r\n', 'asus-zenpad-c-70.png', 'Thông số kỹ thuật\r\nMàn hình IPS LCD, 7\"\r\nHệ điều hành Android 5.0\r\nCPU Intel Atom x3-C3230 4 nhân, 1.2 GHz\r\nRAM 2 GB\r\nBộ nhớ trong 16 GB\r\nCamera sau 8 MP\r\nCamera trước 2 MP\r\nKết nối mạng Không hỗ trợ 4G\r\nHỗ trợ SIM\r\nMicro sim\r\nHOTSIM Mobi Data 5GB (5GB data/tháng). Giá từ 150.000đ\r\nĐàm thoại Có', 3400000, 4, 3, 0, '0000-00-00 00:00:00'),
(15, 'Sony Tablet S 16Gb\r\n', 'sony-tablet-s1-L.jpg', 'Thông số kỹ thuật\r\nMàn hình TFT LCD, 9.4\"\r\nHệ điều hành Android 3.1\r\nCPU 1 GHz\r\nRAM 1 GB\r\nBộ nhớ trong 16 GB\r\nCamera sau 5 MP\r\nCamera trước 0.3 MP\r\nKết nối mạng Không hỗ trợ 4G\r\nTrọng lượng 598', 3200000, 5, 3, 1, '0000-00-00 00:00:00'),
(16, 'Earpods Apple MNHF2', 'tai-nghe-earpods.jpg', 'Thông số kỹ thuật\r\nJack cắm: \r\n3.5mm\r\nĐộ dài dây: \r\n1.1 m\r\nPhím điều khiển: \r\nMic thoại\r\nNghe/nhận cuộc gọi\r\nPhát/dừng chơi nhạc\r\nChuyển bài hát\r\nTăng/giảm âm lượng\r\nBộ bán hàng: \r\nTai nghe\r\nXuất xứ \r\nTrung Quốc', 711000, 1, 4, 0, '0000-00-00 00:00:00'),
(18, 'Tai nghe nhét trong Samsung EG920B\r\n', 'tai-nghe-nhet-trong.jpg', 'Thông số kỹ thuật\r\nJack cắm: \r\n3.5 mm\r\nĐộ dài dây: \r\n1.2 m\r\nPhím điều khiển: \r\nMic thoại\r\nNghe/nhận cuộc gọi\r\nPhát/dừng chơi nhạc\r\nTăng/giảm âm lượng\r\nBộ bán hàng: \r\nTai nghe\r\n3 cặp đệm tai nghe\r\n1 móc vành tai\r\nXuất xứ \r\nTrung Quốc', 280000, 3, 4, 0, '0000-00-00 00:00:00'),
(21, 'Sạc dự phòng dung lượng cao - Hỗ trợ sạc nhanh Power Bank Chính Hãng', '1df3120cdb7eab2eb8ae8e06de94dcb6.jpg', 'Kích thước siêu nhỏ 81x81mm, độ mỏng 13mm\r\n\r\nĐược làm từ nhôm cao cấp\r\n\r\nMặt gương cao cấp siêu bóng, chống chầy xước\r\n\r\nCông nghệ đột phá dung lượng lên đến 10.000 mAh\r\n\r\nHiển thị dữ liệu thông minh, thông báo chính xác số pin còn lại\r\n\r\nCông nghệ sạc nhanh thông minh, không nóng máy', 399000, 1, 5, 1, '0000-00-00 00:00:00'),
(22, 'Pin dự phòng OPPO 10000 mAh(PK.133)\r\n', 'pin-du-phong-tekin-10.000-mah-02.png', 'Thông số kỹ thuật\r\nHãng sản xuất Hãng khác\r\nDòng điện ra 2A\r\nCổng/Khe cắm MicroUSB', 500000, 2, 5, 0, '0000-00-00 00:00:00'),
(23, 'Pin dự phòng Samsung EB-P1100 10.000 Mah cổng USB-C', '201904060127355908_EB-p1100-5.jpg', 'Cổng sạc ra 5V-2A (sạc thường)\r\n9V-1.67A (sạc nhanh)\r\nKích thước 5V-2A (sạc thường)\r\n9V-1.67A (sạc nhanh)\r\nSạc nhanh Yes\r\nPin 10000 mAh', 290000, 3, 5, 1, '0000-00-00 00:00:00'),
(24, 'Sạc Dự Phòng Asus ABTU005 ZEN POWER - 10050mAh - Hàng Chính Hãng\r\n', '51_yg4asifl._sl1024_.jpg', 'Thương hiệu Asus\r\nSản xuất tại Trung Quốc\r\nKích thước 90.5 x 59 x 22mm\r\nSKU 5002202809868', 340000, 4, 5, 0, '0000-00-00 00:00:00'),
(25, 'Pin sạc dự phòng Polymer 5.800 mAh Sony CP-E6-BC Đen', 'pin-sac-du-phong-polymer.jpg', 'Thông số kỹ thuật\r\nHiệu suất sạc: \r\n64%\r\nDung lượng pin: \r\n5.800 mAh\r\nThời gian sạc đầy pin: \r\n5 - 6 giờ (dùng Adapter 1A)\r\nNguồn vào: \r\n5V - 1.5A Max\r\nLõi pin: \r\nPin Polymer (Li-Po)\r\nKích thước: \r\nDài 11 cm - ngang 6.46 cm - dày 1.52 cm\r\nSản xuất tại: \r\nTrung Quốc', 350000, 5, 5, 1, '0000-00-00 00:00:00'),
(28, 'Laptop ASUS Rog', 'laptop_asus_rog.jpg', 'Sản phẩm LAPTOP ASUS GAMING ROG STRIX G731GT-H7114T I7-9750H/8GB/512GB PCIE/17.3 IPS 120HZ/VGA 4GB GTX1650/WIN10/ĐEN giá giảm còn 22.850.000 được Tặng chuột chơi game có dây Ausus Cerberus', 22850000, 4, 2, 1, '0000-00-00 00:00:00'),
(26, 'Apple iPhone 2G - 8GB', 'ip2g.jpg', 'Hãng sản xuất: Apple iPhone 2G Kiểu dáng: Kiểu thẳng\r\nKích thước màn hình: 3.5inch Bộ nhớ trong: 8GB\r\nRAM: 128MB Số sim : 1 Sim - -\r\nCamera: 2Megapixel Màu: Đen\r\nThời gian đàm thoại: 8giờ', 1650000, 1, 1, 1, '0000-00-00 00:00:00'),
(27, 'iPhone 3GS 8GB', 'ip3gs.jpg', 'Kết nối Công nghệ GSM / HSPA\r\n2G bands GSM 850 / 900 / 1800 / 1900\r\n3G bands HSDPA 850 / 1900 / 2100\r\nTốc độ HSPA\r\nGPRS Yes\r\nEDGE Yes\r\nRa mắt Announced 2008, June. Released 2008, July\r\nStatus Discontinued\r\nThân máy Kích Thước 115.5 x 62.1 x 12.3 mm (4.55 x 2.44 x 0.48 in)\r\nKhối Lượng 133 g (4.69 oz)\r\nSIM Mini-SIM\r\nMàn hình Công nghệ TFT capacitive touchscreen, 16M colors\r\nKích thước 3.5 inches, 36.5 cm2 (~50.9% screen-to-body ratio)\r\nĐộ phân giải 320 x 480 pixels, 3:2 ratio (~165 ppi density)\r\nCảm ứng đa điểm Yes\r\nKính bảo vệ Corning Gorilla Glass, oleophobic coating\r\nNền tảng OS iOS, upgradable to iOS 4.2.1\r\nCPU 412 MHz ARM 11\r\nGPU PowerVR MBX\r\nBộ nhớ Khe cắm thẻ No\r\nBộ nhớ trong 8/16 GB, 128 MB RAM\r\nCamera chính Single 2 MP\r\nVideo No\r\nCamera phụ No\r\nÂm thanh Alert types Vibration, proprietary ringtones\r\nLoudspeaker Yes\r\n3.5mm jack Yes\r\nCổng kết nối WLAN Wi-Fi 802.11b/g\r\nBluetooth 2.0, A2DP (headset support only)\r\nGPS Yes, with A-GPS\r\nRadio No\r\nUSB 2.0\r\nTính năng Cảm biến Accelerometer, proximity\r\nTin nhắn SMS(threaded view), MMS(threaded view), Email\r\nTrình duyệt HTML (Safari)\r\n– Audio/video player\r\n– TV-out\r\n– Organizer\r\n– Document viewer\r\n– Photo viewer\r\n– Predictive text input\r\nPin Non-removable Li-Ion battery\r\nStand-by Up to 300 h\r\nTalk time Up to 10 h\r\nMusic play Up to 24 h', 2500000, 1, 1, 0, '0000-00-00 00:00:00'),
(29, 'iPhone 4 8GB', 'ip4.jpg', 'Màn hình: LED-backlit IPS LCD, 3.5\", DVGA.\r\nCamera sau: 5 MP.\r\nCamera trước: VGA (0.3 MP)\r\nBộ nhớ trong: 8 GB.\r\nThẻ SIM: 1 Micro SIM.\r\nDung lượng pin: 1420 mAh.\r\n', 5400000, 1, 1, 1, '2021-06-18 16:14:04'),
(30, 'iPhone 5 16GB', 'ip5s 16gb.jpg', 'Công nghệ màn hình:LED-backlit IPS LCD.\r\nĐộ phân giải:qHD (640 x 1136 Pixels)\r\nMàn hình rộng:4\"\r\nMặt kính cảm ứng:Kính cường lực.\r\nCamera sau.\r\nĐộ phân giải:8 MP.\r\nQuay phim:FullHD 1080p@30fps.', 5900000, 1, 1, 1, '0000-00-00 00:00:00'),
(34, 'Điện thoại iPhone XS Max Cũ (64GB, 256GB)', 'iphonexs-max-trang.jpg', 'Hệ điều hành: IOS 12\r\nNgôn ngữ: Đa ngôn ngữ, có hỗ trợ Tiếng Việt\r\nMàn hình\r\nLoại màn hình: OLED\r\nMàu màn hình: 16 triệu màu\r\nChuẩn màn hình: Full HD+\r\nĐộ phân giải: 1242 x 2688 pixels\r\nMàn hình rộng: 6.5\r\nCông nghệ cảm ứng: Cảm ứng điện dung đa điểm\r\nChụp hình & Quay phim\r\nCamera sau: Dual 12 MP + 12 MP\r\nCamera trước: 7 MP\r\nĐèn Flash: Có\r\nTính năng camera: OIS, PDAF, 2x optical zoom, Quad-LED dual-tone flash, HDR (photo/panorama)\r\nQuay phim: 2160p@24/30/60fps, 1080p@30/60/120/240fps, HDR, stereo sound rec.\r\nVideocall: Có\r\nCPU & RAM\r\nTốc độ CPU: Hexa-core (2x Vortex + 4x Tempest)\r\nSố nhân: 6 nhân\r\nChipset: Apple A12 Bionic\r\nRAM: 4 GB\r\nChip đồ họa (GPU): Apple GPU (4-core graphics)\r\nBộ nhớ & Lưu trữ\r\nDanh bạ: Không giới hạn\r\nBộ nhớ trong (ROM): 64/256/512 GB\r\nThẻ nhớ ngoài: \r\nHỗ trợ thẻ tối đa: \r\nThiết kế & Trọng lượng\r\nKiểu dáng: Thanh + Cảm ứng\r\nKích thước: 157.5 x 77.4 x 7.7 mm\r\nTrọng lượng (g): 208\r\nThông tin pin\r\nLoại pin: Li-Ion\r\nDung lượng pin: 3174 mAh\r\nPin có thể tháo rời: Không\r\nKết nối & Cổng giao tiếp\r\n3G: có\r\n4G: Có\r\nLoại Sim: Single SIM (Nano-SIM) or Dual SIM (Nano-SIM, dual stand-by) - for China\r\nKhe gắn Sim: 1 SIM - 2 SIM\r\nWifi: Wi-Fi 802.11 a/b/g/n/ac, dual-band, hotspot\r\nGPS: Yes, with A-GPS, GLONASS, GALILEO, QZSS\r\nBluetooth: 5.0, A2DP, LE\r\nGPRS/EDGE: Có\r\nJack tai nghe: \r\nNFC: Có\r\nKết nối USB: 2.0, proprietary reversible connector\r\nKết nối khác: \r\nCổng sạc: 2.0, proprietary reversible connector\r\nGiải trí & Ứng dụng\r\nXem phim: MP4/H.265 player\r\nNghe nhạc: MP3/WAV/AAX+/AIFF/Apple Lossless player\r\nCổng sạc: 2.0, proprietary reversible connector\r\nGhi âm: Có\r\nFM radio: Có\r\nChức năng khác: - Face ID, accelerometer, gyro, proximity, compass, barometer - Fast battery charging: 50% in 30 min - Qi wireless charging - Siri natural language commands and dictation - iCloud cloud service - Audio/video/photo editor - Document editor', 11650000, 1, 1, 0, '0000-00-00 00:00:00'),
(35, 'Điện thoại iPhone 8 Cũ (64GB, 256GB)', 'iphone8-gold.jpg', 'Thông tin chung\r\nHệ điều hành: iOS 11 - iOS 12\r\nNgôn ngữ: Đa ngôn ngữ hỗ trợ Tiếng Việt\r\nMàn hình\r\nLoại màn hình: IPS LCD\r\nMàu màn hình: 16 triệu màu\r\nChuẩn màn hình: IPS LCD, 4.7 inches, HD (750 x 1334 pixels), 3D Touch display, True-tone\r\nĐộ phân giải: 750 x 1334 pixels\r\nMàn hình rộng: 4.7 inches\r\nCông nghệ cảm ứng: Cảm ứng đa điểm (10 điểm)\r\nChụp hình & Quay phim\r\nCamera sau: 12MP, PDAF, OIS\r\nCamera trước: 7MP\r\nĐèn Flash: Có\r\nTính năng camera: Tự động lấy nét, nhận diện khuôn mặt, chụp ảnh HDR, Panorama\r\nQuay phim: Quay phim 4K (2160p@60fps)\r\nVideocall: Có\r\nCPU & RAM\r\nTốc độ CPU: Hexa-core (2x Monsoon + 4x Mistral)\r\nSố nhân: 6 nhân\r\nChipset: Apple A11 Bionic (10 nm)\r\nRAM: 2GB\r\nChip đồ họa (GPU): Apple GPU (three-core graphics)\r\nBộ nhớ & Lưu trữ\r\nDanh bạ: Không giới hạn\r\nBộ nhớ trong (ROM): 64GB/256GB\r\nThẻ nhớ ngoài: Không hỗ trợ\r\nHỗ trợ thẻ tối đa: Không\r\nThiết kế & Trọng lượng\r\nKiểu dáng: Thanh + Cảm ứng\r\nKích thước: 138.4 x 67.3 x 7.3 mm\r\nTrọng lượng (g): 148g\r\nThông tin pin\r\nLoại pin: Li-Ion\r\nDung lượng pin: 1821 mAh, sạc nhanh 15W, sạc không dây chuẩn Qi\r\nPin có thể tháo rời: Không\r\nKết nối & Cổng giao tiếp\r\n3G: Có hỗ trợ\r\n4G: Có hỗ trợ 4G\r\nLoại Sim: Nano SIM\r\nKhe gắn Sim: 1 SIM\r\nWifi: Wi-Fi 802.11 a/b/g/n/ac, dual-band, hotspot\r\nGPS: có\r\nBluetooth: Có\r\nGPRS/EDGE: Có\r\nJack tai nghe: Không\r\nNFC: Có\r\nKết nối USB: Có\r\nKết nối khác: \r\nCổng sạc: Lightning\r\nGiải trí & Ứng dụng\r\nXem phim: MP4/H.265 player\r\nNghe nhạc: MP3/WAV/AAX+/AIFF/Apple Lossless player\r\nCổng sạc: Lightning\r\nGhi âm: Có\r\nFM radio: Có', 4650000, 1, 1, 1, '2021-06-16 16:13:46'),
(36, 'Điện thoại iPhone 11 Pro Max cũ (64GB-256GB)', 'sliver.jpg', 'Thông tin chung\r\nHệ điều hành: iOS 13\r\nNgôn ngữ: Đa ngôn ngữ, có tiếng việt\r\nMàn hình\r\nLoại màn hình: Super Retina XDR OLED\r\nMàu màn hình: 16 triệu màu\r\nChuẩn màn hình: Super Retina XDR OLED, 6.5 inches, Full HD+ (1242 x 2688 pixels), Dolby Vision, HDR10, 120 Hz touch-sensing\r\nĐộ phân giải: 1242 x 2688 pixels\r\nMàn hình rộng: 6.5 inches\r\nCông nghệ cảm ứng: Cảm ứng điện dung đa điểm\r\nChụp hình & Quay phim\r\nCamera sau: 3 Camera: 12 MP + 12 MP (ultrawide) + 12 MP (telephoto)\r\nCamera trước: 12 MP, TOF 3D camera\r\nĐèn Flash: Có\r\nTính năng camera: Tự động lấy nét, chống rung quang học OIS, zoom 2x, chụp xoá phông, góc siêu rộng\r\nQuay phim: Quay phim 4K (2160p@60fps)\r\nVideocall: Có\r\nCPU & RAM\r\nTốc độ CPU: 2x2.65 GHz Lightning + 4x1.8 GHz Thunder\r\nSố nhân: 6 nhân\r\nChipset: Apple A13 Bionic (7 nm+)\r\nRAM: 4GB\r\nChip đồ họa (GPU): Apple GPU (4-core graphics)\r\nBộ nhớ & Lưu trữ\r\nDanh bạ: Không giới hạn\r\nBộ nhớ trong (ROM): 64GB/256GB/512GB\r\nThẻ nhớ ngoài: Không hỗ trợ\r\nHỗ trợ thẻ tối đa: Không\r\nThiết kế & Trọng lượng\r\nKiểu dáng: Thanh + Cảm ứng\r\nKích thước: 158 x 77.8 x 8.1 mm\r\nTrọng lượng (g): 226 g\r\nThông tin pin\r\nLoại pin: Pin chuẩn Li-Ion\r\nDung lượng pin: 3969 mAh, sạc nhanh 18W, sạc không dây chuẩn Qi\r\nPin có thể tháo rời: Không\r\nKết nối & Cổng giao tiếp\r\n3G: có\r\n4G: Có\r\nLoại Sim: Nano SIM\r\nKhe gắn Sim: 1 SIM hoặc 2 SIM (tuỳ từng phiên bản)\r\nWifi: Wi-Fi 802.11 a/b/g/n/ac/ax, dual-band, hotspot\r\nGPS: A-GPS, GLONASS, GALILEO, QZSS\r\nBluetooth: 5.0, A2DP, LE\r\nGPRS/EDGE: Có\r\nJack tai nghe: Không\r\nNFC: Có\r\nKết nối USB: 2.0\r\nKết nối khác: Có\r\nCổng sạc: Lightning\r\nGiải trí & Ứng dụng\r\nXem phim: MP4/DivX/XviD/WMV/H.265 player\r\nNghe nhạc: MP3/WAV/AAX+/AIFF/Apple Lossless\r\nCổng sạc: Lightning\r\nGhi âm: Có\r\nFM radio: Có\r\nChức năng khác: Chống nước chuẩn IP68, Dolby Atmos, Dolby Digital Plus', 18650000, 1, 1, 0, '0000-00-00 00:00:00'),
(37, 'Điện thoại iPhone 4S 16GB', 'iphone-4S-dienmay.com-b.jpg', 'Thông số kỹ thuật chi tiết iPhone 4S 16GB\r\n\r\nMàn hình\r\nCông nghệ màn hình LED-backlit IPS LCD\r\nĐộ phân giải DVGA (640 x 960 Pixels)\r\nMàn hình rộng 3.5\"\r\nMặt kính cảm ứng Kính cường lực\r\nCamera sau\r\nĐộ phân giải 8 MP\r\nQuay phim FullHD 1080p@30fps\r\nĐèn Flash Có\r\nTính năng Tự động lấy nét (AF)\r\nCamera trước\r\nĐộ phân giải VGA (0.3 MP)\r\nVideocall Có\r\nTính năng Không\r\nHệ điều hành & CPU\r\nChip đồ họa (GPU) IMG PowerVR SGX543MP2\r\nBộ nhớ & Lưu trữ\r\nRAM 512 MB\r\nBộ nhớ trong 16 GB\r\nBộ nhớ còn lại (khả dụng) Đang cập nhật\r\nKết nối\r\nMạng di động Đang cập nhật\r\nSIM 1 Micro SIM\r\nWifi Wi-Fi 802.11 a/b/g/n\r\nGPS Có\r\nBluetooth Có\r\nJack tai nghe 3.5 mm\r\nKết nối khác Không\r\nThiết kế & Trọng lượng\r\nThiết kế Nguyên khối\r\nChất liệu Khung kim loại & Mặt lưng kính cường lực\r\nKích thước Dài 115.2 mm - Ngang 58.6 mm - Dày 9.3 mm\r\nTrọng lượng 140\r\nPin & Sạc\r\nDung lượng pin 1420 mAh\r\nLoại pin Li-Ion\r\nTiện ích\r\nTính năng đặc biệt Không\r\nGhi âm Có\r\nRadio Không\r\nXem phim \r\nH.263\r\nH.264(MPEG4-AVC)\r\nWMV\r\nMP4', 350000, 1, 1, 1, '0000-00-00 00:00:00'),
(38, 'Laptop Apple MacBook Air 2017 i5 1.8GHz/8GB/128GB (MQD32SA/A)', 'apple-macbook-air.jpg', 'Bộ xử lý\r\nCông nghệ CPU Intel Core i5 Broadwell\r\nLoại CPU Hãng không công bố\r\nTốc độ CPU 1.80 GHz\r\nTốc độ tối đa Turbo Boost 2.9 GHz\r\nBộ nhớ RAM, Ổ cứng\r\nRAM 8 GB\r\nLoại RAM DDR3L(On board)\r\nTốc độ Bus RAM 1600 MHz\r\nHỗ trợ RAM tối đa Không hỗ trợ nâng cấp\r\nỔ cứng SSD: 128 GB\r\nMàn hình\r\nKích thước màn hình 13.3 inch\r\nĐộ phân giải WXGA+(1440 x 900)\r\nCông nghệ màn hình LED Backlit\r\nMàn hình cảm ứng Không\r\nĐồ họa và Âm thanh\r\nThiết kế card Card đồ họa tích hợp\r\nCard đồ họa Intel HD Graphics 6000\r\nCông nghệ âm thanh Combo Microphone & Headphone\r\nCổng kết nối & tính năng mở rộng\r\nCổng giao tiếp \r\nMagSafe 2\r\n2 x USB 3.0\r\nThunderbolt 2\r\nKết nối không dây Bluetooth v4.0, Wi-Fi 802.11 a/b/g/n\r\nKhe đọc thẻ nhớ SDXC\r\nWebcam 1 MP , HD webcam\r\nĐèn bàn phím Có\r\nTính năng khác Micro kép\r\nPin & Adapter sạc\r\nLoại PIN PIN liền\r\nThông tin Pin Khoảng 12 giờ\r\nHệ điều hành\r\nHệ điều hành Mac OS\r\nKích thước & trọng lượng\r\nKích thước Dài 325 mm - Ngang 227 mm - Dày 17 mm\r\nTrọng lượng 1.35 Kg\r\nChất liệu Vỏ kim loại nguyên khối\r\nThông tin khác\r\nThời điểm ra mắt 2017', 18990000, 1, 2, 1, '0000-00-00 00:00:00'),
(39, 'Laptop Apple MacBook Pro M1 2020 8GB/256GB (MYD82SA/A)\r\n', 'apple-macbook-pro-2020-m1-myd82saa-600x600.jpg', 'Bộ xử lý\r\nCông nghệ CPU Apple M1\r\nLoại CPU Hãng không công bố\r\nTốc độ CPU Đang cập nhật\r\nTốc độ tối đa Đang cập nhật\r\nBộ nhớ RAM, Ổ cứng\r\nRAM 8 GB\r\nLoại RAM Đang cập nhật\r\nTốc độ Bus RAM Đang cập nhật\r\nHỗ trợ RAM tối đa Không hỗ trợ nâng cấp\r\nỔ cứng SSD: 256 GB\r\nMàn hình\r\nKích thước màn hình 13.3 inch\r\nĐộ phân giải Retina (2560 x 1600)\r\nCông nghệ màn hình \r\nTấm nền IPS\r\n500 nits brightness\r\nLED Backlit\r\nRetina\r\nMàn hình cảm ứng Không\r\nĐồ họa và Âm thanh\r\nThiết kế card Card đồ họa tích hợp\r\nCard đồ họa 8 nhân GPU\r\nCông nghệ âm thanh \r\nDolby Atmos\r\n3 microphones\r\nLoa kép (2 kênh)\r\nCổng kết nối & tính năng mở rộng\r\nCổng giao tiếp 2 x Thunderbolt 3 (USB-C)\r\nKết nối không dây Wi-Fi 6 - 802.11ax, Bluetooth v5.0\r\nKhe đọc thẻ nhớ Không\r\nWebcam HD webcam\r\nTính năng khác Bảo mật vân tay\r\nĐèn bàn phím Có\r\nPin & Adapter sạc\r\nLoại PIN PIN liền\r\nThông tin Pin Khoảng 10 giờ\r\nHệ điều hành\r\nHệ điều hành Mac OS\r\nKích thước & trọng lượng\r\nKích thước Dài 304.1 mm - Rộng 212.4 mm - Dày 15.6 mm\r\nTrọng lượng 1.4 kg\r\nChất liệu Vỏ kim loại nguyên khối\r\nThông tin khác\r\nThời điểm ra mắt 2020', 34990000, 1, 2, 0, '0000-00-00 00:00:00'),
(40, 'Laptop Apple MacBook Air M1 2020 8GB/256GB (MGND3SA/A)\r\n', 'apple-macbook-air-2020-mgnd3saa-600x600.jpg', 'Thông số kỹ thuật\r\nCPU: Apple M1\r\nRAM: 8 GB\r\nỔ cứng: SSD: 256 GB\r\nMàn hình: 13.3 inch, Retina (2560 x 1600)\r\nCard màn hình: Card đồ họa tích hợp, 7 nhân GPU\r\nCổng kết nối: 2 x Thunderbolt 3 (USB-C)\r\nHệ điều hành: Mac OS\r\nThiết kế: Vỏ kim loại nguyên khối, PIN liền\r\nKích thước: Dày 4.1 mm đến 16.1 mm, 1.29 kg\r\nThời điểm ra mắt: 2020', 28990000, 1, 2, 1, '0000-00-00 00:00:00'),
(41, 'Laptop Apple MacBook Air M1 2020 8GB/512GB (MGNA3SA/A)\r\n', 'apple-macbook-air-2020-m1-mgna3saa-1-600x600.jpg', 'Thông số kỹ thuật\r\nCPU: Apple M1\r\nRAM: 8 GB\r\nỔ cứng: SSD 512GB\r\nMàn hình: 13.3 inch, Retina (2560 x 1600)\r\nCard màn hình: Card đồ họa tích hợp, 8 nhân GPU\r\nCổng kết nối: 2 x Thunderbolt 3 (USB-C)\r\nHệ điều hành: Mac OS\r\nThiết kế: Vỏ kim loại nguyên khối, PIN liền\r\nKích thước: Dày 4.1 mm đến 16.1 mm, 1.29 kg\r\nThời điểm ra mắt: 2020', 34990000, 1, 2, 0, '0000-00-00 00:00:00'),
(42, 'Macbook Air 13 128GB 2019 Xám (MVFH2)', 'macbook-air-13-2019-grey-1_2_1.png', 'Thông số kỹ thuật\r\nHãng sản xuất Apple\r\nKích thước Cao 0.41–1.56 cm x Rộng 30.41 cm x Sâu 21.24 cm\r\nTrọng lượng 1.25 kg\r\nLoại màn hình LED-backlit Retina display with IPS and True Tone\r\nKích thước màn hình 13.3 inches\r\nĐộ phân giải màn hình 2560 x 1600 pixels\r\nCPU Intel Core i5 1.6GHz - 3.6GHz\r\nVGA Intel UHD Graphics 617\r\nỔ cứng SSD: 128GB\r\nRAM 8 GB LPDDR3\r\nHệ điều hành MacOS\r\nWLAN 802.11 a/b/g/n/ac\r\nBluetooth 4.2\r\nPin 49.9 W h Li-Poly\r\nKhe cắm thẻ nhớ Không\r\nCổng/Khe cắm USB type C, 3.5 mm', 18000000, 1, 2, 1, '0000-00-00 00:00:00'),
(43, 'Apple Macbook Pro 13 Touch Bar i5 2.0 512GB 2020 Chính hãng VN/A ', 'macbook_pro_13_2020_0000_5_3.jpg', 'Thông số kỹ thuật\r\nHãng sản xuất Apple\r\nKích thước 1.56 x 30.41 x 21.24\r\nTrọng lượng 1.4 kg\r\nLoại màn hình LED-backlit display with IPS technology, độ sáng 500 nits, chuẩn màu Wide color (P3), công nghệ True Tone\r\nKích thước màn hình 13.3 inches\r\nĐộ phân giải màn hình 2560 x 1600 pixels\r\nCPU 2.0GHz quad‑core 10th‑generation Intel Core i5, Turbo Boost up to 3.8GHz, with 6MB shared L3 cache\r\nVGA Intel Iris Plus Graphics\r\nỔ cứng 512GB SSD\r\nRAM 16GB of 3733MHz LPDDR4X onboard memory\r\nHệ điều hành MacOS\r\nPhiên bản hệ điều hành macOS Catalina\r\nWLAN 802.11ac\r\nBluetooth Bluetooth 5.0\r\nPin Built‑in 58.0‑watt‑hour lithium‑polymer battery, 61W USB‑C Power Adapter\r\nCổng/Khe cắm Thunderbolt 3 (USB-C) x 4 support for: Charging DisplayPort Thunderbolt (up to 40Gb/s) USB 3.1 Gen 2 (up to 10Gb/s), 3.5mm headphone jack\r\nTính năng khác 720p FaceTime HD camera, Touch ID sensor, Touch Bar\r\nTin tức về\r\nApple Macbook Pro 13 Touch Bar i5 2.0 512GB 2020 Chính hãng VN/A', 41500000, 1, 2, 0, '0000-00-00 00:00:00'),
(44, 'Máy tính bảng iPad 8 Wifi 32GB (2020)', 'ipad-gen-8-wifi-bac-new-600x600-600x600.jpg', 'Màn hình\r\nCông nghệ màn hình Retina IPS LCD\r\nĐộ phân giải 1620 x 2160 Pixels\r\nKích thước màn hình 10.2\"\r\nHệ điều hành & CPU\r\nHệ điều hành iPadOS 14\r\nChip xử lý (CPU) Apple A12 Bionic 6 nhân\r\nTốc độ CPU 2 nhân 2.5 GHz & 4 nhân 1.6 GHz\r\nChip đồ hoạ (GPU) Apple GPU 4 nhân\r\nCảm biến Gia tốc\r\nBộ nhớ & Lưu trữ\r\nRAM 3 GB\r\nBộ nhớ trong 32 GB\r\nBộ nhớ còn lại (khả dụng) Khoảng 17 GB\r\nThẻ nhớ ngoài Không\r\nChụp ảnh & Quay phim\r\nCamera sau 8 MP\r\nQuay phim FullHD 1080p@30fps\r\nTính năng camera sau HDR, Tự động lấy nét (AF)\r\nCamera trước 1.2 MP\r\nKết nối\r\nMạng di động Không\r\nSIM Không\r\nThực hiện cuộc gọi FaceTime\r\nWifi \r\nWi-Fi hotspot\r\nDual-band\r\nWi-Fi 802.11 a/b/g/n/ac\r\nGPS iBeacon\r\nBluetooth \r\nEDR\r\nLE\r\nv4.2\r\nA2DP\r\nCổng kết nối/sạc Lightning\r\nJack tai nghe 3.5 mm\r\nKết nối khác Không\r\nTiện ích\r\nTính năng đặc biệt Mở khóa bằng vân tay\r\nGhi âm Ghi âm môi trường\r\nRadio Không\r\nThiết kế & Trọng lượng\r\nChất liệu Nhôm nguyên khối\r\nKích thước Dài 250.6 mm - Ngang 174.1 mm - Dày 7.5 mm\r\nTrọng lượng Khoảng 490 g\r\nPin & Sạc\r\nDung lượng pin 32.4 Wh (Khoảng 8600 mAh)\r\nLoại pin Li-Po\r\nCông nghệ pin Sạc pin nhanh\r\nThông tin khác\r\nThời điểm ra mắt 09/2020', 9990000, 1, 3, 1, '0000-00-00 00:00:00'),
(45, 'Máy tính bảng iPad Pro 12.9 inch Wifi Cellular 128GB (2020)\r\n', 'ipad-pro-12-9-inch-wifi-cellular-128gb-2020-xam-600x600-1-600x600.jpg', 'Màn hình\r\nCông nghệ màn hình Liquid Retina\r\nĐộ phân giải 2048 x 2732 Pixels\r\nKích thước màn hình 12.9\"\r\nHệ điều hành & CPU\r\nHệ điều hành iPadOS 14\r\nChip xử lý (CPU) Apple A12Z Bionic\r\nTốc độ CPU 4 nhân 2.5 GHz & 4 nhân 1.6 GHz\r\nChip đồ hoạ (GPU) Apple GPU 8 nhân\r\nCảm biến \r\nKhí áp kế\r\nÁnh sáng\r\nGia tốc\r\nCon quay hồi chuyển 3 chiều\r\nBộ nhớ & Lưu trữ\r\nRAM 6 GB\r\nBộ nhớ trong 128 GB\r\nBộ nhớ còn lại (khả dụng) Khoảng 113 GB\r\nThẻ nhớ ngoài Không\r\nChụp ảnh & Quay phim\r\nCamera sau Chính 12 MP & Phụ 10 MP, TOF 3D LiDAR\r\nQuay phim \r\nFullHD 1080p@30fps\r\n4K 2160p@30fps\r\nHD 720p@30fps\r\n4K 2160p@60fps\r\nFullHD 1080p@240fps\r\nFullHD 1080p@120fps\r\nFullHD 1080p@60fps\r\n4K 2160p@24fps\r\nTính năng camera sau \r\nÁnh sáng yếu (Chụp đêm)\r\nChạm lấy nét\r\nTự động lấy nét (AF)\r\nQuay chậm (Slow Motion)\r\nNhận diện khuôn mặt\r\nHDR\r\nĐèn Flash\r\nGóc rộng\r\nGóc siêu rộng\r\nCamera trước 7 MP\r\nKết nối\r\nMạng di động Hỗ trợ 4G\r\nSIM 1 Nano SIM hoặc 1 eSIM\r\nThực hiện cuộc gọi FaceTime\r\nWifi \r\nDual-band\r\nWi-Fi 802.11 a/b/g/n/ac/ax\r\nMIMO\r\nGPS \r\nGPS\r\nA-GPS\r\nGLONASS\r\nBluetooth v5.0\r\nCổng kết nối/sạc Type-C\r\nJack tai nghe Type C\r\nKết nối khác Không\r\nTiện ích\r\nTính năng đặc biệt \r\nKết nối bàn phím rời\r\nNam châm & sạc cho Apple Pencil\r\nMở khóa bằng khuôn mặt (Face ID)\r\nGhi âm Ghi âm môi trường\r\nRadio Không\r\nThiết kế & Trọng lượng\r\nChất liệu Kim loại nguyên khối\r\nKích thước Dài 247.6 mm - Ngang 178.5 mm - Dày 5.9 mm\r\nTrọng lượng 471 g\r\nPin & Sạc\r\nDung lượng pin 36.71 Wh (Khoảng 9720 mAh)\r\nLoại pin Li-Po\r\nCông nghệ pin Sạc pin nhanh\r\nThông tin khác\r\nThời điểm ra mắt 05/2020', 30990000, 1, 3, 0, '0000-00-00 00:00:00'),
(46, 'Máy tính bảng iPad Air 4 Wifi Cellular 256GB (2020)', 'ipad-4-cellular-hong-new-600x600-600x600.jpg', 'Màn hình\r\nCông nghệ màn hình Liquid Retina\r\nĐộ phân giải 1640 x 2360 Pixels\r\nKích thước màn hình 10.9\"\r\nHệ điều hành & CPU\r\nHệ điều hành iPadOS 14\r\nChip xử lý (CPU) Apple A14 Bionic 6 nhân\r\nTốc độ CPU Đang cập nhật\r\nChip đồ hoạ (GPU) Apple GPU 6 nhân\r\nCảm biến Gia tốc\r\nBộ nhớ & Lưu trữ\r\nRAM 4 GB\r\nBộ nhớ trong 256 GB\r\nBộ nhớ còn lại (khả dụng) Khoảng 241 GB\r\nThẻ nhớ ngoài Không\r\nChụp ảnh & Quay phim\r\nCamera sau 12 MP\r\nQuay phim \r\nFullHD 1080p@120fps\r\nFullHD 1080p@60fps\r\n4K 2160p@60fps\r\n4K 2160p@24fps\r\nFullHD 1080p@240fps\r\nFullHD 1080p@30fps\r\n4K 2160p@30fps\r\nTính năng camera sau \r\nGóc rộng\r\nChống rung EIS\r\nTự động lấy nét (AF)\r\nHDR\r\nCamera trước 7 MP\r\nKết nối\r\nMạng di động Hỗ trợ 4G\r\nSIM 1 Nano SIM hoặc 1 eSIM\r\nThực hiện cuộc gọi FaceTime\r\nWifi \r\nWi-Fi hotspot\r\nDual-band\r\nWi-Fi 802.11 a/b/g/n/ac/ax\r\nGPS GPS, GLONASS\r\nBluetooth \r\nA2DP\r\nv5.0\r\nEDR\r\nCổng kết nối/sạc Type-C\r\nJack tai nghe Type C\r\nKết nối khác OTG\r\nTiện ích\r\nTính năng đặc biệt Mở khóa bằng vân tay\r\nGhi âm Ghi âm môi trường\r\nRadio Không\r\nThiết kế & Trọng lượng\r\nChất liệu Nhôm nguyên khối\r\nKích thước Dài 247.6 mm - Ngang 178.5 mm - Dày 6.1 mm\r\nTrọng lượng 460 g\r\nPin & Sạc\r\nDung lượng pin 28.65 Wh (Khoảng 7600 mAh)\r\nLoại pin Li-Po\r\nCông nghệ pin Sạc pin nhanh\r\nThông tin khác\r\nThời điểm ra mắt 09/2020', 24990000, 1, 3, 1, '0000-00-00 00:00:00'),
(47, 'Máy tính bảng iPad Pro 11 inch Wifi 128GB (2020)\r\n', 'ipad-pro-11-inch-2020-xam-600x600-600x600.jpg', 'Màn hình\r\nCông nghệ màn hình Liquid Retina\r\nĐộ phân giải 1668 x 2388 Pixels\r\nKích thước màn hình 11\"\r\nHệ điều hành & CPU\r\nHệ điều hành iPadOS 14\r\nChip xử lý (CPU) Apple A12Z Bionic\r\nTốc độ CPU 4 nhân 2.5 GHz & 4 nhân 1.6 GHz\r\nChip đồ hoạ (GPU) Apple GPU 8 nhân\r\nCảm biến \r\nKhí áp kế\r\nÁnh sáng\r\nCon quay hồi chuyển 3 chiều\r\nGia tốc\r\nBộ nhớ & Lưu trữ\r\nRAM 6 GB\r\nBộ nhớ trong 128 GB\r\nBộ nhớ còn lại (khả dụng) Khoảng 113 GB\r\nThẻ nhớ ngoài Không\r\nChụp ảnh & Quay phim\r\nCamera sau Chính 12 MP & Phụ 10 MP, TOF 3D LiDAR\r\nQuay phim \r\nFullHD 1080p@30fps\r\n4K 2160p@30fps\r\nHD 720p@30fps\r\n4K 2160p@60fps\r\nFullHD 1080p@240fps\r\nFullHD 1080p@120fps\r\nFullHD 1080p@60fps\r\n4K 2160p@24fps\r\nTính năng camera sau \r\nQuay chậm (Slow Motion)\r\nTự động lấy nét (AF)\r\nÁnh sáng yếu (Chụp đêm)\r\nChạm lấy nét\r\nNhận diện khuôn mặt\r\nHDR\r\nĐèn Flash\r\nGóc rộng\r\nGóc siêu rộng\r\nCamera trước 7 MP\r\nKết nối\r\nMạng di động Không\r\nSIM Không\r\nThực hiện cuộc gọi FaceTime\r\nWifi \r\nDual-band\r\nWi-Fi 802.11 a/b/g/n/ac/ax\r\nMIMO\r\nGPS \r\nGPS\r\nA-GPS\r\nGLONASS\r\nBluetooth v5.0\r\nCổng kết nối/sạc Type-C\r\nJack tai nghe Type C\r\nKết nối khác Không\r\nTiện ích\r\nTính năng đặc biệt \r\nKết nối bàn phím rời\r\nMở khóa bằng khuôn mặt (Face ID)\r\nNam châm & sạc cho Apple Pencil\r\nGhi âm Ghi âm môi trường\r\nRadio Không\r\nThiết kế & Trọng lượng\r\nChất liệu Kim loại nguyên khối\r\nKích thước Dài 247.6 mm - Ngang 178.5 mm - Dày 5.9 mm\r\nTrọng lượng 471 g\r\nPin & Sạc\r\nDung lượng pin 28.65 Wh (Khoảng 7600 mAh)\r\nLoại pin Li-Po\r\nThông tin khác\r\nThời điểm ra mắt 05/2020', 21490000, 1, 3, 0, '0000-00-00 00:00:00'),
(48, 'Máy tính bảng iPad 10.2 inch Wifi Cellular 128GB (2019)', 'ipad-10-2-inch-wifi-cellular-128gb-2019-gray-600x600.jpg', 'Màn hình\r\nCông nghệ màn hình Đang cập nhật\r\nĐộ phân giải 1620 x 2160 Pixels\r\nKích thước màn hình 10.2\"\r\nHệ điều hành & CPU\r\nHệ điều hành iPadOS 14\r\nChip xử lý (CPU) Apple A10 Fusion 4 nhân\r\nTốc độ CPU 2.34 GHz\r\nChip đồ hoạ (GPU) IMG PowerVR Series 7\r\nCảm biến \r\nGia tốc\r\nCon quay hồi chuyển 3 chiều\r\nÁnh sáng\r\nFingerprint Sensor\r\nBộ nhớ & Lưu trữ\r\nRAM 3 GB\r\nBộ nhớ trong 128 GB\r\nBộ nhớ còn lại (khả dụng) Khoảng 115 GB\r\nThẻ nhớ ngoài Không\r\nChụp ảnh & Quay phim\r\nCamera sau 8 MP\r\nQuay phim FullHD 1080p@30fps\r\nTính năng camera sau \r\nQuay chậm (Slow Motion)\r\nTự động lấy nét (AF)\r\nChạm lấy nét\r\nNhận diện khuôn mặt\r\nPanorama\r\nGắn thẻ địa lý\r\nCamera trước 1.2 MP\r\nKết nối\r\nMạng di động Hỗ trợ 4G\r\nSIM 1 Nano SIM hoặc 1 eSIM\r\nThực hiện cuộc gọi FaceTime\r\nWifi \r\nWi-Fi hotspot\r\nDual-band\r\nWi-Fi 802.11 a/b/g/n/ac\r\nGPS A-GPS, GLONASS\r\nBluetooth \r\nv4.2\r\nEDR\r\nLE\r\nA2DP\r\nCổng kết nối/sạc Lightning\r\nJack tai nghe 3.5 mm\r\nKết nối khác Miracast\r\nTiện ích\r\nTính năng đặc biệt Mở khóa bằng vân tay\r\nGhi âm Ghi âm môi trường\r\nRadio Không\r\nThiết kế & Trọng lượng\r\nChất liệu Kim loại\r\nKích thước Dài 250.6 mm - Ngang 174.1 mm - Dày 7.5 mm\r\nTrọng lượng 493 g\r\nPin & Sạc\r\nDung lượng pin 32.4 Wh (Khoảng 8600 mAh)\r\nLoại pin Đang cập nhật', 15990000, 1, 3, 1, '0000-00-00 00:00:00'),
(49, 'Máy tính bảng iPad Pro 11 inch Wifi Cellular 128GB (2020)\r\n', 'ipad-pro-11-inch-wifi-cellular-128gb-2020-xam-600x600-1-600x600.jpg', 'Màn hình\r\nCông nghệ màn hình Liquid Retina\r\nĐộ phân giải 1668 x 2388 Pixels\r\nKích thước màn hình 11\"\r\nHệ điều hành & CPU\r\nHệ điều hành iPadOS 14\r\nChip xử lý (CPU) Apple A12Z Bionic\r\nTốc độ CPU 4 nhân 2.5 GHz & 4 nhân 1.6 GHz\r\nChip đồ hoạ (GPU) Apple GPU 8 nhân\r\nCảm biến \r\nKhí áp kế\r\nÁnh sáng\r\nCon quay hồi chuyển 3 chiều\r\nGia tốc\r\nBộ nhớ & Lưu trữ\r\nRAM 6 GB\r\nBộ nhớ trong 128 GB\r\nBộ nhớ còn lại (khả dụng) Khoảng 113 GB\r\nThẻ nhớ ngoài Không\r\nChụp ảnh & Quay phim\r\nCamera sau Chính 12 MP & Phụ 10 MP, TOF 3D LiDAR\r\nQuay phim \r\nFullHD 1080p@30fps\r\n4K 2160p@30fps\r\nHD 720p@30fps\r\n4K 2160p@60fps\r\nFullHD 1080p@240fps\r\nFullHD 1080p@120fps\r\nFullHD 1080p@60fps\r\n4K 2160p@24fps\r\nTính năng camera sau \r\nQuay chậm (Slow Motion)\r\nTự động lấy nét (AF)\r\nÁnh sáng yếu (Chụp đêm)\r\nChạm lấy nét\r\nNhận diện khuôn mặt\r\nHDR\r\nĐèn Flash\r\nGóc rộng\r\nGóc siêu rộng\r\nCamera trước 7 MP\r\nKết nối\r\nMạng di động Hỗ trợ 4G\r\nSIM 1 Nano SIM hoặc 1 eSIM\r\nThực hiện cuộc gọi FaceTime\r\nWifi \r\nDual-band\r\nWi-Fi 802.11 a/b/g/n/ac/ax\r\nMIMO\r\nGPS \r\nGPS\r\nA-GPS\r\nGLONASS\r\nBluetooth v5.0\r\nCổng kết nối/sạc Type-C\r\nJack tai nghe Type C\r\nKết nối khác Không\r\nTiện ích\r\nTính năng đặc biệt \r\nKết nối bàn phím rời\r\nNam châm & sạc cho Apple Pencil\r\nMở khóa bằng khuôn mặt (Face ID)\r\nGhi âm Ghi âm môi trường\r\nRadio Không\r\nThiết kế & Trọng lượng\r\nChất liệu Kim loại nguyên khối\r\nKích thước Dài 247.6 mm - Ngang 178.5 mm - Dày 5.9 mm\r\nTrọng lượng 471 g\r\nPin & Sạc\r\nDung lượng pin 28.65 Wh (Khoảng 7600 mAh)\r\nLoại pin Li-Po\r\nThông tin khác\r\nThời điểm ra mắt 05/2020', 25490000, 1, 3, 0, '0000-00-00 00:00:00'),
(50, 'Tai nghe AirPods Pro sạc không dây Apple MWP22', 'tai-nghe-bluetooth-airpods-pro-apple-mwp22-ava-600x600.jpg', 'Thông số kỹ thuật\r\nTương thích: MacOS (Macbook, iMac)iOS (iPhone)\r\nCổng sạc: LightningSạc không dây\r\nCông nghệ âm thanh: Active Noise CancellingAdaptive EQ\r\nThời gian sử dụng: 4.5 giờ nghe nhạc, 3.5 giờ đàm thoại (chế độ chống ồn chủ động)20 giờ nghe nhạc, 18 giờ đàm thoại (sử dụng với hộp sạc)\r\nKết nối cùng lúc: 1 thiết bị\r\nHỗ trợ kết nối: Bluetooth\r\nPhím điều khiển: Mic thoạiNghe/nhận cuộc gọiPhát/dừng chơi nhạcChuyển bài hát\r\nTrọng lượng: 5.4g/1 tai nghe, 45.6g/hộp sạc\r\nThương hiệu của: Mỹ\r\nSản xuất tại: Việt Nam / Trung Quốc (tùy lô hàng)', 5990000, 1, 4, 1, '0000-00-00 00:00:00'),
(51, 'Tai nghe nhét trong EarPods Lightning Apple MMTN2', 'tai-nghe-earpods-cong-lightning-apple-mmtn2-1-1-600x600.jpg', 'Thông số kỹ thuật\r\nTương thích: iOS (iPhone)\r\nJack cắm: Lightning\r\nKết nối cùng lúc: 1 thiết bị\r\nPhím điều khiển: Mic thoạiNghe/nhận cuộc gọiPhát/dừng chơi nhạcChuyển bài hátTăng/giảm âm lượng\r\nThương hiệu của: Mỹ\r\nSản xuất tại: Việt Nam / Trung Quốc (tùy lô hàng)', 790000, 1, 4, 0, '0000-00-00 00:00:00'),
(52, 'Tai nghe AirPods 2 Apple MV7N2\r\n', 'tai-nghe-bluetooth-airpods-2-apple-mv7n2-trang-avatar-1-600x600.jpg', 'Thông số kỹ thuật\r\nTương thích: AndroidiOS (iPhone)\r\nThời gian sạc đầy: 15 phút\r\nKết nối cùng lúc: 1 thiết bị\r\nPhím điều khiển: Mic thoạiNghe/nhận cuộc gọiPhát/dừng chơi nhạcChuyển bài hát\r\nTrọng lượng: 4 g\r\nThương hiệu của: Mỹ\r\nSản xuất tại: Việt Nam / Trung Quốc (tùy lô hàng)', 3990000, 1, 4, 1, '0000-00-00 00:00:00'),
(53, 'Tai nghe AirPods 2 sạc không dây Apple MRXJ2\r\n', 'tai-nghe-bluetooth-airpods-2-wireless-charge-mrxj2-avatar-1-600x600.jpg', 'Thông số kỹ thuật\r\nTương thích: AndroidMacOS (Macbook, iMac)iOS (iPhone)\r\nCổng sạc: LightningSạc không dây\r\nThời gian sạc đầy: 15 phút\r\nKết nối cùng lúc: 1 thiết bị\r\nHỗ trợ kết nối: Bluetooth\r\nPhím điều khiển: Mic thoạiNghe/nhận cuộc gọiPhát/dừng chơi nhạcChuyển bài hát\r\nTrọng lượng: 4 g\r\nThương hiệu của: Mỹ\r\nSản xuất tại: Việt Nam / Trung Quốc (tùy lô hàng)', 4990000, 1, 4, 0, '0000-00-00 00:00:00'),
(54, 'Tai nghe Bluetooth AirPods 2 Rep1:1 (Có định vị, sạc không dây)', 'tai-nghe-a1523-airpods.jpg', 'Thông tin cơ bản\r\nTai nghe Airpods 2 Rep 1:1\r\nTự động kết nối, tự ngắt.\r\nCảm ứng trên tai như tai Zin.\r\nSạc không dây, Pin 3 tiếng.', 299000, 1, 4, 1, '0000-00-00 00:00:00'),
(55, 'Điện thoại OPPO Reno5', 'oppo-reno5-trang-600x600-1-600x600.jpg', 'Màn hình\r\nCông nghệ màn hình AMOLED\r\nĐộ phân giải Full HD+ (1080 x 2400 Pixels)\r\nMàn hình rộng 6.43\"\r\nMặt kính cảm ứng Kính cường lực Corning Gorilla Glass 3+\r\nCamera sau\r\nĐộ phân giải Chính 64 MP & Phụ 8 MP, 2 MP, 2 MP\r\nQuay phim \r\nHD 720p@60fps\r\nHD 720p@240fps\r\nFullHD 1080p@120fps\r\nHD 720p@30fps\r\nFullHD 1080p@60fps\r\nFullHD 1080p@30fps\r\n4K 2160p@30fps\r\nĐèn Flash Có\r\nTính năng \r\nLấy nét theo pha (PDAF)\r\nA.I Camera\r\nBan đêm (Night Mode)\r\nTrôi nhanh thời gian (Time Lapse)\r\nQuay chậm (Slow Motion)\r\nXóa phông\r\nChạm lấy nét\r\nToàn cảnh (Panorama)\r\nLàm đẹp (Beautify)\r\nTự động lấy nét (AF)\r\nNhận diện khuôn mặt\r\nHDR\r\nChuyên nghiệp (Pro)\r\nGóc rộng (Wide)\r\nCamera trước\r\nĐộ phân giải 44 MP\r\nVideocall Thông qua ứng dụng thứ 3\r\nTính năng \r\nXóa phông\r\nLàm đẹp A.I\r\nNhãn dán (AR Stickers)\r\nQuay video HD\r\nNhận diện khuôn mặt\r\nQuay video Full HD\r\nTự động lấy nét (AF)\r\nHDR\r\nA.I Camera\r\nHệ điều hành & CPU\r\nHệ điều hành Android 11\r\nChip xử lý (CPU) Snapdragon 720G 8 nhân\r\nTốc độ CPU 2.3 GHz\r\nChip đồ họa (GPU) Adreno 618\r\nBộ nhớ & Lưu trữ\r\nRAM 8 GB\r\nBộ nhớ trong 128 GB\r\nBộ nhớ còn lại (khả dụng) Khoảng 115 GB\r\nThẻ nhớ ngoài MicroSD, hỗ trợ tối đa 256 GB\r\nKết nối\r\nMạng di động Hỗ trợ 4G\r\nSIM 2 Nano SIM\r\nWifi \r\nWi-Fi hotspot\r\nDual-band (2.4 GHz/5 GHz)\r\nWi-Fi Direct\r\nWi-Fi 802.11 a/b/g/n/ac\r\nGPS \r\nBDS\r\nGLONASS\r\nA-GPS\r\nBluetooth \r\nLE\r\nv5.1\r\nA2DP\r\nCổng kết nối/sạc Type-C\r\nJack tai nghe 3.5 mm\r\nKết nối khác OTG\r\nThiết kế & Trọng lượng\r\nThiết kế Nguyên khối\r\nChất liệu Khung nhựa phủ sơn kim loại & Mặt lưng thuỷ tinh hữu cơ\r\nKích thước Dài 159.1 mm - Ngang 73.4 mm - Dày 7.8 mm\r\nTrọng lượng 172 g\r\nPin & Sạc\r\nLoại pin Li-Po\r\nDung lượng pin 4310 mAh\r\nCông nghệ pin Sạc pin nhanh, Tiết kiệm pin\r\nTiện ích\r\nBảo mật nâng cao Mở khoá vân tay dưới màn hình, Mở khoá khuôn mặt\r\nTính năng đặc biệt \r\nChặn tin nhắn\r\nGhi âm cuộc gọi\r\nChặn cuộc gọi\r\nMàn hình luôn hiển thị AOD\r\nNhân bản ứng dụng\r\nKhông gian trẻ em\r\nĐa cửa sổ (chia đôi màn hình)\r\nKhông gian trò chơi\r\nGhi âm Có\r\nRadio Có\r\nXem phim \r\nAVI\r\nWMV\r\nMP4\r\n3GP\r\nNghe nhạc MP3, AAC\r\nThông tin khác\r\nThời điểm ra mắt 12/2020', 8690000, 2, 1, 0, '0000-00-00 00:00:00'),
(56, 'Điện thoại OPPO A93', 'oppo-a93-(2).jpg', 'Màn hình\r\nCông nghệ màn hình AMOLED\r\nĐộ phân giải Full HD+ (1080 x 2400 Pixels)\r\nMàn hình rộng 6.43\"\r\nMặt kính cảm ứng Kính cường lực Corning Gorilla Glass 3+\r\nCamera sau\r\nĐộ phân giải Chính 48 MP & Phụ 8 MP, 2 MP, 2 MP\r\nQuay phim \r\n4K 2160p@30fps\r\nFullHD 1080p@30fps\r\nFullHD 1080p@120fps\r\nĐèn Flash Có\r\nTính năng \r\nA.I Camera\r\nBan đêm (Night Mode)\r\nTrôi nhanh thời gian (Time Lapse)\r\nXóa phông\r\nTự động lấy nét (AF)\r\nNhãn dán (AR Stickers)\r\nLàm đẹp\r\nCamera trước\r\nĐộ phân giải Chính 16 MP & Phụ 2 MP\r\nVideocall Thông qua ứng dụng thứ 3\r\nTính năng \r\nXóa phông\r\nLàm đẹp A.I\r\nNhãn dán (AR Stickers)\r\nTự động lấy nét (AF)\r\nA.I Camera\r\nHệ điều hành & CPU\r\nHệ điều hành Android 10\r\nChip xử lý (CPU) MediaTek Helio P95 8 nhân\r\nTốc độ CPU 2 nhân 2.2 GHz & 6 nhân 2.0 GHz\r\nChip đồ họa (GPU) IMG PowerVR GM9446\r\nBộ nhớ & Lưu trữ\r\nRAM 8 GB\r\nBộ nhớ trong 128 GB\r\nBộ nhớ còn lại (khả dụng) Khoảng 100 GB\r\nThẻ nhớ ngoài MicroSD, hỗ trợ tối đa 256 GB\r\nKết nối\r\nMạng di động Hỗ trợ 4G\r\nSIM 2 Nano SIM\r\nWifi Dual-band (2.4 GHz/5 GHz), Wi-Fi 802.11 a/b/g/n/ac\r\nGPS A-GPS\r\nBluetooth v5.1\r\nCổng kết nối/sạc Type-C\r\nJack tai nghe 3.5 mm\r\nKết nối khác OTG\r\nThiết kế & Trọng lượng\r\nThiết kế Nguyên khối\r\nChất liệu Khung hợp kim phủ nhựa & Mặt lưng thuỷ tinh hữu cơ\r\nKích thước Dài 160.1 mm - Ngang 73.77 mm - Dày 7.48 mm\r\nTrọng lượng 164 g\r\nPin & Sạc\r\nLoại pin Li-Po\r\nDung lượng pin 4000 mAh\r\nCông nghệ pin Sạc pin nhanh\r\nTiện ích\r\nBảo mật nâng cao Mở khoá vân tay dưới màn hình, Mở khoá khuôn mặt\r\nTính năng đặc biệt \r\nKhông gian trò chơi\r\nĐa cửa sổ (chia đôi màn hình)\r\nNhân bản ứng dụng\r\nGhi âm Có\r\nRadio Có\r\nXem phim AVI, MP4\r\nNghe nhạc \r\nMP3\r\nLossless\r\nWAV\r\nThông tin khác\r\nThời điểm ra mắt 09/2020', 7190000, 2, 1, 1, '0000-00-00 00:00:00'),
(57, 'Điện thoại OPPO Find X2', 'oppo-find-x2-blue-600x600-1-600x600.jpg', 'Màn hình\r\nCông nghệ màn hình AMOLED\r\nĐộ phân giải 2K+ (1440 x 3168 Pixels)\r\nMàn hình rộng 6.78\"\r\nMặt kính cảm ứng Kính cường lực Corning Gorilla Glass 6\r\nCamera sau\r\nĐộ phân giải Chính 48 MP & Phụ 13 MP, 12 MP\r\nQuay phim \r\nHD 720p@30fps\r\nFullHD 1080p@60fps\r\nFullHD 1080p@30fps\r\n4K 2160p@30fps\r\n4K 2160p@60fps\r\nHD 720p@60fps\r\nĐèn Flash Đèn LED 2 tông màu\r\nTính năng \r\nA.I Camera\r\nBan đêm (Night Mode)\r\nTrôi nhanh thời gian (Time Lapse)\r\nQuay chậm (Slow Motion)\r\nXóa phông\r\nChạm lấy nét\r\nToàn cảnh (Panorama)\r\nChống rung quang học (OIS)\r\nLàm đẹp (Beautify)\r\nTự động lấy nét (AF)\r\nNhận diện khuôn mặt\r\nHDR\r\nChuyên nghiệp (Pro)\r\nNhãn dán (AR Stickers)\r\nZoom kỹ thuật số\r\nGóc rộng (Wide)\r\nSiêu cận (Macro)\r\nGóc siêu rộng (Ultrawide)\r\nCamera trước\r\nĐộ phân giải 32 MP\r\nVideocall Thông qua ứng dụng thứ 3\r\nTính năng \r\nNhận diện khuôn mặt\r\nQuay video Full HD\r\nTự động lấy nét (AF)\r\nHDR\r\nA.I Camera\r\nXóa phông\r\nLàm đẹp A.I\r\nNhãn dán (AR Stickers)\r\nFlash màn hình\r\nQuay video HD\r\nChụp bằng cử chỉ\r\nHệ điều hành & CPU\r\nHệ điều hành Android 10\r\nChip xử lý (CPU) Snapdragon 865 8 nhân\r\nTốc độ CPU 1 nhân 2.84 GHz, 3 nhân 2.42 GHz & 4 nhân 1.8 GHz\r\nChip đồ họa (GPU) Adreno 650\r\nBộ nhớ & Lưu trữ\r\nRAM 12 GB\r\nBộ nhớ trong 256 GB\r\nBộ nhớ còn lại (khả dụng) Khoảng 231 GB\r\nThẻ nhớ ngoài Không\r\nKết nối\r\nMạng di động Hỗ trợ 5G\r\nSIM 2 Nano SIM\r\nWifi \r\nWi-Fi 802.11 a/b/g/n/ac/ax\r\nWi-Fi hotspot\r\nDual-band (2.4 GHz/5 GHz)\r\nWi-Fi Direct\r\nGPS \r\nGLONASS\r\nBDS\r\nA-GPS\r\nBluetooth \r\nLE\r\nA2DP\r\nv5.1\r\nCổng kết nối/sạc Type-C\r\nJack tai nghe Type-C\r\nKết nối khác OTG, NFC\r\nThiết kế & Trọng lượng\r\nThiết kế Nguyên khối\r\nChất liệu Khung hợp kim nhôm & Mặt lưng sứ (Màu đen) - kính (Màu xanh)\r\nKích thước Dài 164.9 mm - Ngang 74.5 mm - Dày 8 mm\r\nTrọng lượng Màu đen 209 g - Màu xanh 192 g\r\nPin & Sạc\r\nLoại pin Li-Po\r\nDung lượng pin 4200 mAh\r\nCông nghệ pin Sạc siêu nhanh Super VOOC, Tiết kiệm pin\r\nTiện ích\r\nBảo mật nâng cao Mở khoá khuôn mặt, Mở khoá vân tay dưới màn hình\r\nTính năng đặc biệt \r\nKhông gian trò chơi\r\nĐa cửa sổ (chia đôi màn hình)\r\nKhông gian trẻ em\r\nKhoá ứng dụng\r\nNhân bản ứng dụng\r\nChặn tin nhắn\r\nGhi âm cuộc gọi\r\nChặn cuộc gọi\r\nKháng nước, kháng bụi\r\nÂm thanh Dolby Audio\r\nTrợ lý ảo Google Assistant\r\nGhi âm Có (microphone chuyên dụng chống ồn)\r\nRadio Không\r\nXem phim \r\nH.264(MPEG4-AVC)\r\nMP4\r\n3GP\r\nAVI\r\nNghe nhạc \r\nWMA\r\nWAV\r\nMP3\r\nThông tin khác\r\nThời điểm ra mắt 03/2020', 19990000, 2, 1, 0, '0000-00-00 00:00:00'),
(58, 'Điện thoại OPPO Reno3 Pro', 'oppo-reno3-pro-den-new-600x600-600x600.jpg', 'Màn hình\r\nCông nghệ màn hình Sunlight Super AMOLED\r\nĐộ phân giải Full HD+ (1080 x 2400 Pixels)\r\nMàn hình rộng 6.4\"\r\nMặt kính cảm ứng Kính cường lực Corning Gorilla Glass 5\r\nCamera sau\r\nĐộ phân giải Chính 64 MP & Phụ 13 MP, 8 MP, 2 MP\r\nQuay phim \r\n4K 2160p@30fps\r\nFullHD 1080p@30fps\r\nFullHD 1080p@60fps\r\nHD 720p@30fps\r\nĐèn Flash Có\r\nTính năng \r\nA.I Camera\r\nXóa phông\r\nChạm lấy nét\r\nToàn cảnh (Panorama)\r\nTự động lấy nét (AF)\r\nNhận diện khuôn mặt\r\nHDR\r\nChuyên nghiệp (Pro)\r\nLàm đẹp\r\nGóc rộng (Wide)\r\nCamera trước\r\nĐộ phân giải Chính 44 MP & Phụ 2 MP\r\nVideocall Thông qua ứng dụng thứ 3\r\nTính năng \r\nXóa phông\r\nLàm đẹp A.I\r\nFlash màn hình\r\nQuay video HD\r\nNhận diện khuôn mặt\r\nQuay video Full HD\r\nTự động lấy nét (AF)\r\nHDR\r\nHệ điều hành & CPU\r\nHệ điều hành Android 10\r\nChip xử lý (CPU) MediaTek Helio P95 8 nhân\r\nTốc độ CPU 2 nhân 2.2 GHz & 6 nhân 2.0 GHz\r\nChip đồ họa (GPU) IMG PowerVR GM94446\r\nBộ nhớ & Lưu trữ\r\nRAM 8 GB\r\nBộ nhớ trong 256 GB\r\nBộ nhớ còn lại (khả dụng) Khoảng 248 GB\r\nThẻ nhớ ngoài MicroSD, hỗ trợ tối đa 256 GB\r\nKết nối\r\nMạng di động Hỗ trợ 4G\r\nSIM 2 Nano SIM\r\nWifi \r\nWi-Fi hotspot\r\nDual-band (2.4 GHz/5 GHz)\r\nWi-Fi Direct\r\nWi-Fi 802.11 a/b/g/n/ac\r\nGPS \r\nBDS\r\nGLONASS\r\nA-GPS\r\nBluetooth \r\nv5.0\r\nLE\r\nv4.2\r\nCổng kết nối/sạc Type-C\r\nJack tai nghe 3.5 mm\r\nKết nối khác OTG\r\nThiết kế & Trọng lượng\r\nThiết kế Nguyên khối\r\nChất liệu Khung & Mặt lưng thủy tinh hữu cơ\r\nKích thước Dài 158.8 mm - Ngang 73.4 mm - Dày 8.1 mm\r\nTrọng lượng 175 g\r\nPin & Sạc\r\nLoại pin Li-Po\r\nDung lượng pin 4025 mAh\r\nCông nghệ pin \r\nSiêu tiết kiệm pin\r\nSạc nhanh VOOC\r\nTiết kiệm pin\r\nTiện ích\r\nBảo mật nâng cao Mở khoá vân tay dưới màn hình, Mở khoá khuôn mặt\r\nTính năng đặc biệt \r\nGhi âm cuộc gọi\r\nChặn cuộc gọi\r\nChặn tin nhắn\r\nNhân bản ứng dụng\r\nĐa cửa sổ (chia đôi màn hình)\r\nKhông gian trò chơi\r\nGhi âm Có (microphone chuyên dụng chống ồn)\r\nRadio Có\r\nXem phim \r\nH.264(MPEG4-AVC)\r\nH.263\r\nWMV\r\nNghe nhạc \r\nWMA\r\nWAV\r\nMP3\r\nThông tin khác\r\nThời điểm ra mắt 04/2020', 8490000, 2, 1, 0, '0000-00-00 00:00:00'),
(59, 'Điện thoại OPPO Reno4 Pro', 'oppo-reno4-pro-trang-600x600.jpg', 'Màn hình\r\nCông nghệ màn hình AMOLED\r\nĐộ phân giải Full HD+ (1080 x 2400 Pixels)\r\nMàn hình rộng 6.5\"\r\nMặt kính cảm ứng Kính cường lực Corning Gorilla Glass 5\r\nCamera sau\r\nĐộ phân giải Chính 48 MP & Phụ 8 MP, 2 MP, 2 MP\r\nQuay phim \r\nFullHD 1080p@30fps\r\nHD 720p@60fps\r\n4K 2160p@30fps\r\nHD 720p@960fps\r\nHD 720p@30fps\r\nFullHD 1080p@60fps\r\nĐèn Flash Có\r\nTính năng \r\nQuay Siêu chậm (Super Slow Motion)\r\nA.I Camera\r\nBan đêm (Night Mode)\r\nTrôi nhanh thời gian (Time Lapse)\r\nQuay chậm (Slow Motion)\r\nXóa phông\r\nChạm lấy nét\r\nToàn cảnh (Panorama)\r\nTự động lấy nét (AF)\r\nNhận diện khuôn mặt\r\nHDR\r\nChống rung điện tử kỹ thuật số (EIS)\r\nLàm đẹp\r\nGóc rộng (Wide)\r\nCamera trước\r\nĐộ phân giải 32 MP\r\nVideocall Thông qua ứng dụng thứ 3\r\nTính năng \r\nXóa phông\r\nNhãn dán (AR Stickers)\r\nFlash màn hình\r\nQuay video HD\r\nNhận diện khuôn mặt\r\nLàm đẹp\r\nQuay video Full HD\r\nTự động lấy nét (AF)\r\nHệ điều hành & CPU\r\nHệ điều hành Android 10\r\nChip xử lý (CPU) Snapdragon 720G 8 nhân\r\nTốc độ CPU Đang cập nhật\r\nChip đồ họa (GPU) Adreno 618\r\nBộ nhớ & Lưu trữ\r\nRAM 8 GB\r\nBộ nhớ trong 256 GB\r\nBộ nhớ còn lại (khả dụng) Đang cập nhật\r\nThẻ nhớ ngoài MicroSD, hỗ trợ tối đa 256 GB\r\nKết nối\r\nMạng di động Hỗ trợ 4G\r\nSIM 2 Nano SIM\r\nWifi \r\nWi-Fi hotspot\r\nDual-band (2.4 GHz/5 GHz)\r\nWi-Fi Direct\r\nWi-Fi 802.11 a/b/g/n/ac\r\nGPS A-GPS\r\nBluetooth \r\nA2DP\r\nLE\r\nv5.1\r\nCổng kết nối/sạc Type-C\r\nJack tai nghe 3.5 mm\r\nKết nối khác OTG\r\nThiết kế & Trọng lượng\r\nThiết kế Nguyên khối\r\nChất liệu Khung hợp kim phủ nhựa & Mặt lưng thuỷ tinh hữu cơ\r\nKích thước Dài 160.3 mm - Ngang 73.9 mm - Dày 7.7 mm\r\nTrọng lượng 161 g\r\nPin & Sạc\r\nDung lượng pin 4000 mAh\r\nLoại pin Li-Po\r\nCông nghệ pin Tiết kiệm pin, Sạc siêu nhanh Super VOOC\r\nTiện ích\r\nBảo mật nâng cao Mở khoá vân tay dưới màn hình, Mở khoá khuôn mặt\r\nTính năng đặc biệt \r\nKhông gian trò chơi\r\nNhân bản ứng dụng\r\nChặn tin nhắn\r\nChặn cuộc gọi\r\nGhi âm Có\r\nRadio Có\r\nXem phim MP4, 3GP\r\nNghe nhạc AAC, MP3\r\nThông tin khác\r\nThời điểm ra mắt 07/2020', 11490000, 2, 1, 1, '0000-00-00 00:00:00'),
(60, 'Điện thoại OPPO Reno4', 'oppo-reno4-(6).jpg', 'Màn hình\r\nCông nghệ màn hình AMOLED\r\nĐộ phân giải Full HD+ (1080 x 2400 Pixels)\r\nMàn hình rộng 6.4\"\r\nMặt kính cảm ứng Kính cường lực Corning Gorilla Glass 3\r\nCamera sau\r\nĐộ phân giải Chính 48 MP & Phụ 8 MP, 2 MP, 2 MP\r\nQuay phim \r\nFullHD 1080p@30fps\r\nHD 720p@60fps\r\n4K 2160p@30fps\r\nHD 720p@960fps\r\nHD 720p@30fps\r\nFullHD 1080p@60fps\r\nĐèn Flash Có\r\nTính năng \r\nQuay Siêu chậm (Super Slow Motion)\r\nA.I Camera\r\nBan đêm (Night Mode)\r\nTrôi nhanh thời gian (Time Lapse)\r\nQuay chậm (Slow Motion)\r\nXóa phông\r\nChạm lấy nét\r\nToàn cảnh (Panorama)\r\nTự động lấy nét (AF)\r\nNhận diện khuôn mặt\r\nHDR\r\nChống rung điện tử kỹ thuật số (EIS)\r\nLàm đẹp\r\nGóc rộng (Wide)\r\nCamera trước\r\nĐộ phân giải Chính 32 MP & Phụ cảm biến thông minh A.I\r\nVideocall Thông qua ứng dụng thứ 3\r\nTính năng \r\nXóa phông\r\nNhãn dán (AR Stickers)\r\nFlash màn hình\r\nQuay video HD\r\nNhận diện khuôn mặt\r\nLàm đẹp\r\nQuay video Full HD\r\nTự động lấy nét (AF)\r\nHệ điều hành & CPU\r\nHệ điều hành Android 10\r\nChip xử lý (CPU) Snapdragon 720G 8 nhân\r\nTốc độ CPU Đang cập nhật\r\nChip đồ họa (GPU) Adreno 618\r\nBộ nhớ & Lưu trữ\r\nRAM 8 GB\r\nBộ nhớ trong 128 GB\r\nBộ nhớ còn lại (khả dụng) Đang cập nhật\r\nThẻ nhớ ngoài MicroSD, hỗ trợ tối đa 256 GB\r\nKết nối\r\nMạng di động Hỗ trợ 4G\r\nSIM 2 Nano SIM\r\nWifi \r\nWi-Fi hotspot\r\nDual-band (2.4 GHz/5 GHz)\r\nWi-Fi Direct\r\nWi-Fi 802.11 a/b/g/n/ac\r\nGPS A-GPS\r\nBluetooth \r\nA2DP\r\nLE\r\nv5.1\r\nCổng kết nối/sạc Type-C\r\nJack tai nghe 3.5 mm\r\nKết nối khác OTG\r\nThiết kế & Trọng lượng\r\nThiết kế Nguyên khối\r\nChất liệu Khung hợp kim phủ nhựa & Mặt lưng thuỷ tinh hữu cơ\r\nKích thước Dài 160.3 mm - Ngang 73.9 mm - Dày 7.7 mm\r\nTrọng lượng 165 g\r\nPin & Sạc\r\nDung lượng pin 4015 mAh\r\nLoại pin Li-Po\r\nCông nghệ pin Tiết kiệm pin, Sạc nhanh VOOC\r\nTiện ích\r\nBảo mật nâng cao Mở khoá vân tay dưới màn hình, Mở khoá khuôn mặt\r\nTính năng đặc biệt \r\nKhông gian trò chơi\r\nNhân bản ứng dụng\r\nChặn tin nhắn\r\nChặn cuộc gọi\r\nGhi âm Có\r\nRadio Có\r\nXem phim MP4, 3GP\r\nNghe nhạc AAC, MP3\r\nThông tin khác\r\nThời điểm ra mắt 07/2020', 7490000, 2, 1, 0, '0000-00-00 00:00:00');
INSERT INTO `products` (`ID`, `Name`, `Image`, `Description`, `Price`, `manu_ID`, `type_ID`, `Feature`, `creat_at`) VALUES
(61, 'Điện thoại OPPO Reno3', 'oppo-reno3-trang-new-600x600-600x600.jpg', 'Màn hình\r\nCông nghệ màn hình AMOLED\r\nĐộ phân giải Full HD+ (1080 x 2400 Pixels)\r\nMàn hình rộng 6.4\"\r\nMặt kính cảm ứng Kính cường lực Corning Gorilla Glass 5\r\nCamera sau\r\nĐộ phân giải Chính 48 MP & Phụ 13 MP, 8 MP, 2 MP\r\nQuay phim \r\n4K 2160p@30fps\r\nFullHD 1080p@30fps\r\nFullHD 1080p@60fps\r\nHD 720p@30fps\r\nFullHD 1080p@120fps\r\nHD 720p@240fps\r\nĐèn Flash Có\r\nTính năng \r\nA.I Camera\r\nXóa phông\r\nChạm lấy nét\r\nToàn cảnh (Panorama)\r\nTự động lấy nét (AF)\r\nNhận diện khuôn mặt\r\nHDR\r\nChuyên nghiệp (Pro)\r\nLàm đẹp\r\nGóc rộng (Wide)\r\nCamera trước\r\nĐộ phân giải 44 MP\r\nVideocall Thông qua ứng dụng thứ 3\r\nTính năng \r\nXóa phông\r\nLàm đẹp A.I\r\nFlash màn hình\r\nQuay video HD\r\nNhận diện khuôn mặt\r\nQuay video Full HD\r\nTự động lấy nét (AF)\r\nHDR\r\nHệ điều hành & CPU\r\nHệ điều hành Android 10\r\nChip xử lý (CPU) MediaTek Helio P90 8 nhân\r\nTốc độ CPU 2 nhân 2.2 GHz & 6 nhân 2.0 GHz\r\nChip đồ họa (GPU) IMG PowerVR GM94446\r\nBộ nhớ & Lưu trữ\r\nRAM 8 GB\r\nBộ nhớ trong 128 GB\r\nBộ nhớ còn lại (khả dụng) Khoảng 111 GB\r\nThẻ nhớ ngoài MicroSD, hỗ trợ tối đa 256 GB\r\nKết nối\r\nMạng di động Hỗ trợ 4G\r\nSIM 2 Nano SIM\r\nWifi \r\nWi-Fi hotspot\r\nDual-band (2.4 GHz/5 GHz)\r\nWi-Fi Direct\r\nWi-Fi 802.11 a/b/g/n/ac\r\nGPS \r\nBDS\r\nGLONASS\r\nA-GPS\r\nBluetooth A2DP, v5.0\r\nCổng kết nối/sạc Type-C\r\nJack tai nghe 3.5 mm\r\nKết nối khác OTG\r\nThiết kế & Trọng lượng\r\nThiết kế Nguyên khối\r\nChất liệu Khung & Mặt lưng thủy tinh hữu cơ\r\nKích thước Dài 160.2 mm - Ngang 73.3 mm - Dày 7.9 mm\r\nTrọng lượng 170 g\r\nPin & Sạc\r\nLoại pin Li-Po\r\nDung lượng pin 4025 mAh\r\nCông nghệ pin \r\nSiêu tiết kiệm pin\r\nSạc nhanh VOOC\r\nTiết kiệm pin\r\nTiện ích\r\nBảo mật nâng cao Mở khoá vân tay dưới màn hình, Mở khoá khuôn mặt\r\nTính năng đặc biệt \r\nNhân bản ứng dụng\r\nChặn tin nhắn\r\nChặn cuộc gọi\r\nĐa cửa sổ (chia đôi màn hình)\r\nKhông gian trò chơi\r\nGhi âm Có (microphone chuyên dụng chống ồn)\r\nRadio Có\r\nXem phim \r\nH.264(MPEG4-AVC)\r\nH.263\r\nWMV\r\nNghe nhạc \r\nWAV\r\nWMA\r\nMP3\r\nThông tin khác\r\nThời điểm ra mắt 04/2020', 6990000, 2, 1, 1, '0000-00-00 00:00:00'),
(62, 'Điện thoại OPPO A92', 'oppo-a92-(23).jpg', 'Màn hình\r\nCông nghệ màn hình TFT LCD\r\nĐộ phân giải Full HD+ (1080 x 2400 Pixels)\r\nMàn hình rộng 6.5\"\r\nMặt kính cảm ứng Kính cường lực Corning Gorilla Glass 3\r\nCamera sau\r\nĐộ phân giải Chính 48 MP & Phụ 8 MP, 2 MP, 2 MP\r\nQuay phim \r\n4K 2160p@30fps\r\nHD 720p@30fps\r\nFullHD 1080p@30fps\r\nĐèn Flash Có\r\nTính năng \r\nBan đêm (Night Mode)\r\nTrôi nhanh thời gian (Time Lapse)\r\nQuay chậm (Slow Motion)\r\nXóa phông\r\nChạm lấy nét\r\nToàn cảnh (Panorama)\r\nTự động lấy nét (AF)\r\nNhận diện khuôn mặt\r\nHDR\r\nChuyên nghiệp (Pro)\r\nNhãn dán (AR Stickers)\r\nĐơn sắc trắng đen (Black White)\r\nLàm đẹp\r\nGóc rộng (Wide)\r\nGóc siêu rộng (Ultrawide)\r\nCamera trước\r\nĐộ phân giải 16 MP\r\nVideocall Thông qua ứng dụng thứ 3\r\nTính năng \r\nXóa phông\r\nLàm đẹp A.I\r\nNhãn dán (AR Stickers)\r\nFlash màn hình\r\nToàn cảnh (Panorama)\r\nQuay video HD\r\nNhận diện khuôn mặt\r\nQuay video Full HD\r\nTự động lấy nét (AF)\r\nHDR\r\nHệ điều hành & CPU\r\nHệ điều hành Android 10\r\nChip xử lý (CPU) Snapdragon 665 8 nhân\r\nTốc độ CPU 4 nhân 2.0 GHz & 4 nhân 1.8 GHz\r\nChip đồ họa (GPU) Adreno 610\r\nBộ nhớ & Lưu trữ\r\nRAM 8 GB\r\nBộ nhớ trong 128 GB\r\nBộ nhớ còn lại (khả dụng) Khoảng 109 GB\r\nThẻ nhớ ngoài MicroSD, hỗ trợ tối đa 256 GB\r\nKết nối\r\nMạng di động Hỗ trợ 4G\r\nSIM 2 Nano SIM\r\nWifi \r\nWi-Fi hotspot\r\nDual-band (2.4 GHz/5 GHz)\r\nWi-Fi Direct\r\nWi-Fi 802.11 a/b/g/n/ac\r\nGPS \r\nBDS\r\nGLONASS\r\nA-GPS\r\nBluetooth v5.0, LE\r\nCổng kết nối/sạc Type-C\r\nJack tai nghe 3.5 mm\r\nKết nối khác OTG\r\nThiết kế & Trọng lượng\r\nThiết kế Nguyên khối\r\nChất liệu Khung & Mặt lưng nhựa\r\nKích thước Dài 162 mm - Ngang 75.5 mm - Dày 8.9 mm\r\nTrọng lượng 192 g\r\nPin & Sạc\r\nLoại pin Li-Po\r\nDung lượng pin 5000 mAh\r\nCông nghệ pin Sạc pin nhanh, Tiết kiệm pin\r\nTiện ích\r\nBảo mật nâng cao Mở khoá khuôn mặt, Mở khoá vân tay cạnh viền\r\nTính năng đặc biệt \r\nNhân bản ứng dụng\r\nChặn tin nhắn\r\nGhi âm cuộc gọi\r\nChặn cuộc gọi\r\nKhoá ứng dụng\r\nKhông gian trẻ em\r\nĐa cửa sổ (chia đôi màn hình)\r\nKhông gian trò chơi\r\nGhi âm Có\r\nRadio Có\r\nXem phim \r\nWMV\r\nH.264(MPEG4-AVC)\r\nAVI\r\nMP4\r\nNghe nhạc \r\nWAV\r\nAMR\r\neAAC+\r\nMP3\r\nThông tin khác\r\nThời điểm ra mắt 05/2020', 6190000, 2, 1, 1, '0000-00-00 00:00:00'),
(63, 'Điện thoại OPPO A15', 'oppo-a15-black-600x600-2-600x600.jpg', 'Màn hình\r\nCông nghệ màn hình IPS LCD\r\nĐộ phân giải HD+ (720 x 1600 Pixels)\r\nMàn hình rộng 6.52\"\r\nMặt kính cảm ứng Kính cường lực Corning Gorilla Glass 3\r\nCamera sau\r\nĐộ phân giải Chính 13 MP & Phụ 2 MP, 2 MP\r\nQuay phim FullHD 1080p@30fps\r\nĐèn Flash Có\r\nTính năng \r\nChạm lấy nét\r\nTự động lấy nét (AF)\r\nNhận diện khuôn mặt\r\nSiêu cận (Macro)\r\nXóa phông\r\nCamera trước\r\nĐộ phân giải 8 MP\r\nVideocall Thông qua ứng dụng thứ 3\r\nTính năng Quay video Full HD, HDR\r\nHệ điều hành & CPU\r\nHệ điều hành Android 10\r\nChip xử lý (CPU) MediaTek Helio P35 8 nhân\r\nTốc độ CPU 4 nhân 2.3 GHz & 4 nhân 1.8 GHz\r\nChip đồ họa (GPU) IMG PowerVR GE8320\r\nBộ nhớ & Lưu trữ\r\nRAM 3 GB\r\nBộ nhớ trong 32 GB\r\nBộ nhớ còn lại (khả dụng) Khoảng 24 GB\r\nThẻ nhớ ngoài MicroSD, hỗ trợ tối đa 256 GB\r\nKết nối\r\nMạng di động Hỗ trợ 4G\r\nSIM 2 Nano SIM\r\nWifi \r\nWi-Fi hotspot\r\nDual-band (2.4 GHz/5 GHz)\r\nWi-Fi 802.11 a/b/g/n/ac\r\nWi-Fi Direct\r\nGPS \r\nGLONASS\r\nBDS\r\nA-GPS\r\nBluetooth \r\nA2DP\r\nLE\r\nv5.0\r\nCổng kết nối/sạc Micro USB\r\nJack tai nghe 3.5 mm\r\nKết nối khác OTG\r\nThiết kế & Trọng lượng\r\nThiết kế Nguyên khối\r\nChất liệu Khung & Mặt lưng nhựa\r\nKích thước Dài 164 mm - Ngang 75.4 mm - Dày 7.9 mm\r\nTrọng lượng 175 g\r\nPin & Sạc\r\nDung lượng pin 4230 mAh\r\nLoại pin Li-Ion\r\nCông nghệ pin Tiết kiệm pin\r\nTiện ích\r\nBảo mật nâng cao Mở khóa bằng vân tay\r\nTính năng đặc biệt Đang cập nhật\r\nGhi âm Đang cập nhật\r\nRadio Đang cập nhật\r\nXem phim Có\r\nNghe nhạc Có\r\nThông tin khác\r\nThời điểm ra mắt 12/2020', 3390000, 2, 1, 0, '0000-00-00 00:00:00'),
(64, 'Điện thoại OPPO A12 (3GB/32GB)', 'oppo-a12-xanhdam-1-600x600-1-600x600.jpg', 'Màn hình\r\nCông nghệ màn hình IPS LCD\r\nĐộ phân giải HD+ (720 x 1520 Pixels)\r\nMàn hình rộng 6.22\"\r\nMặt kính cảm ứng Kính cường lực Corning Gorilla Glass 3\r\nCamera sau\r\nĐộ phân giải Chính 13 MP & Phụ 2 MP\r\nQuay phim HD 720p@30fps, FullHD 1080p@30fps\r\nĐèn Flash Có\r\nTính năng \r\nA.I Camera\r\nTrôi nhanh thời gian (Time Lapse)\r\nXóa phông\r\nChạm lấy nét\r\nToàn cảnh (Panorama)\r\nTự động lấy nét (AF)\r\nNhận diện khuôn mặt\r\nHDR\r\nChuyên nghiệp (Pro)\r\nNhãn dán (AR Stickers)\r\nLàm đẹp\r\nCamera trước\r\nĐộ phân giải 5 MP\r\nVideocall Thông qua ứng dụng thứ 3\r\nTính năng \r\nXóa phông\r\nFlash màn hình\r\nToàn cảnh (Panorama)\r\nQuay video HD\r\nNhận diện khuôn mặt\r\nQuay video Full HD\r\nTự động lấy nét (AF)\r\nHDR\r\nHệ điều hành & CPU\r\nHệ điều hành Android 9 (Pie)\r\nChip xử lý (CPU) MediaTek Helio P35 8 nhân\r\nTốc độ CPU 4 nhân 2.3 GHz & 4 nhân 1.8 GHz\r\nChip đồ họa (GPU) IMG PowerVR GE8320\r\nBộ nhớ & Lưu trữ\r\nRAM 3 GB\r\nBộ nhớ trong 32 GB\r\nBộ nhớ còn lại (khả dụng) Khoảng 24 GB\r\nThẻ nhớ ngoài MicroSD, hỗ trợ tối đa 256 GB\r\nKết nối\r\nMạng di động Hỗ trợ 4G\r\nSIM 2 Nano SIM\r\nWifi \r\nWi-Fi hotspot\r\nDual-band (2.4 GHz/5 GHz)\r\nDLNA\r\nWi-Fi Direct\r\nWi-Fi 802.11 a/b/g/n/ac\r\nGPS \r\nGLONASS\r\nBDS\r\nA-GPS\r\nBluetooth \r\nv5.0\r\nA2DP\r\nLE\r\nCổng kết nối/sạc Micro USB\r\nJack tai nghe 3.5 mm\r\nKết nối khác OTG\r\nThiết kế & Trọng lượng\r\nThiết kế Nguyên khối\r\nChất liệu Khung & Mặt lưng nhựa\r\nKích thước Dài 155.9 mm - Ngang 75.5 mm - Dày 8.3 mm\r\nTrọng lượng 165 g\r\nPin & Sạc\r\nLoại pin Li-Po\r\nDung lượng pin 4230 mAh\r\nCông nghệ pin Tiết kiệm pin\r\nTiện ích\r\nBảo mật nâng cao Mở khoá khuôn mặt, Mở khóa bằng vân tay\r\nTính năng đặc biệt \r\nTrợ lý ảo Google Assistant\r\nChặn cuộc gọi\r\nGhi âm cuộc gọi\r\nChặn tin nhắn\r\nNhân bản ứng dụng\r\nKhoá ứng dụng\r\nKhông gian trẻ em\r\nKhông gian trò chơi\r\nĐa cửa sổ (chia đôi màn hình)\r\nGhi âm Có\r\nRadio Có\r\nXem phim \r\nH.264(MPEG4-AVC)\r\nWMV\r\nAVI\r\nMP4\r\nNghe nhạc \r\nWAV\r\nAMR\r\neAAC+\r\nMP3\r\nThông tin khác\r\nThời điểm ra mắt 04/2020', 2890000, 2, 1, 1, '0000-00-00 00:00:00'),
(65, 'Surface Pro 7 | New Seal | Core i3 / RAM 4GB / SSD 128GB', 'surface-pro-7-platinum-1.jpg', 'Chung\r\nLoại sản phẩm\r\nMáy tính bảng \r\nHệ điều hành\r\nWindows 10 Home\r\nLần đầu đưa ra thị trường\r\nTháng 10 năm 2019\r\nBộ xử lý\r\nCPU\r\nIntel Core i3 (10th Gen) 1005G1 / 1.2 GHz\r\nTốc độ tối đa\r\n3.4 GHz\r\nSố lõi \r\nLõi kép\r\nBộ nhớ đệm\r\n4 MB\r\n64-bit Computing\r\nYes\r\nBộ nhớ RAM\r\nRAM\r\n4 GB\r\nCông nghệ\r\nLPDDR4X SDRAM\r\nLưu trữ\r\nỔ cứng\r\n128 GB SSD\r\nMàn hình\r\nKích thước màn hình\r\n12.3 inch\r\nMàn hình cảm ứng\r\nCảm ứng đa điểm\r\nĐộ phân giải \r\n2736 x 1824\r\nWidescreen\r\nYes\r\nTỷ lệ màn hình\r\n3:2\r\nFeatures\r\nPixelSense, 267 ppi\r\nAudio & Video\r\nBộ xử lý đồ hoạ\r\nIntel UHD Graphics\r\nCamera\r\nYes - 1080p\r\nĐộ phân giải\r\n8 Megapixel (sau), 5 Megapixel (trước)\r\nCamera Features\r\nAutofocus, Windows Hello\r\nÂm thanh\r\nStereo speakers, 2 microphones\r\nTiêu chuẩn\r\nDolby Audio Premium\r\nPhương thức giao tiếp\r\nWireless\r\nBluetooth 5.0, 802.11a/b/g/n/ac/ax\r\nTiêu chuẩn\r\nIEEE 802.11b, IEEE 802.11a, IEEE 802.11g, Wi-Fi CERTIFIED, IEEE 802.11n, IEEE 802.11ac, Bluetooth 5.0, IEEE 802.11ax\r\nPin\r\nThời lượng pin\r\nTối đa 10.5 giờ\r\nNguồn điện\r\nĐầu ra\r\n65 Watt\r\nKết nối và mở rộng\r\nGiao diện\r\nUSB-C USB 3.0 SurfaceConnect Headphone output Dock\r\nThẻ nhớ\r\nCó (microSDXC)\r\nPhần mềm\r\nSoftware Included\r\nMicrosoft 365 (30 days trial)\r\nMiscellaneous\r\nMàu sắc\r\nPlatinum\r\nIntegrated Options\r\nGia tốc kế, cảm biến ánh sáng, từ kế, cảm biến con quay hồi chuyển\r\nKế nối dock\r\ncó \r\nSecurity\r\nFirmware Trusted Platform Module (TPM) Security Chip\r\nFeatures\r\nchế độ Studio , chế độ máy tính bảng, chế độ máy tính xách tay\r\nPhụ kiện đi kèm\r\nSạc\r\nKích thước & Trọng lượng\r\nKích thước (WxDxH)\r\n292 mm x 201 mm x 8.5 mm\r\nTrọng lượng\r\n0,775 kg\r\nBảo hành\r\nDịch vụ và hỗ trợ\r\nBảo hành 1 năm\r\nSản phẩm\r\nNhãn hiệu\r\nMicrosoft', 16300000, 2, 2, 0, '0000-00-00 00:00:00'),
(66, 'Surface Pro 7 | New Seal | Core i5 / RAM 8GB / SSD 128GB', '8.jpg', 'Chung\r\nLoại sản phẩm\r\nMáy tính bảng \r\nHệ điều hành\r\nWindows 10 Home\r\nLần đầu đưa ra thị trường\r\nTháng 10 năm 2019\r\nBộ xử lý\r\nCPU\r\n Intel® Core™ i5-1035G4\r\nSố lõi \r\n4 nhân 8 luồng\r\n64-bit Computing\r\nYes\r\nBộ nhớ RAM\r\nRAM\r\n8 GB\r\nCông nghệ\r\nLPDDR4X SDRAM\r\nLưu trữ\r\nỔ cứng\r\n128 GB SSD\r\nMàn hình\r\nKích thước màn hình\r\n12.3 inch\r\nMàn hình cảm ứng\r\nCảm ứng đa điểm\r\nĐộ phân giải \r\n2736 x 1824\r\nWidescreen\r\nYes\r\nTỷ lệ màn hình\r\n3:2\r\nĐặc trưng\r\nPixelSense, 267 ppi\r\nAudio & Video\r\nBộ xử lý đồ hoạ\r\nIntel® Iris™ Plus Graphics\r\nCamera\r\nYes - 1080p\r\nĐộ phân giải\r\n8 Megapixel (sau), 5 Megapixel (trước)\r\nĐặc trưng\r\nAutofocus, Windows Hello\r\nÂm thanh\r\nStereo speakers, 2 microphones\r\nTiêu chuẩn\r\nDolby Audio Premium\r\nPhương thức giao tiếp\r\nWireless\r\nBluetooth 5.0, 802.11a/b/g/n/ac/ax\r\nTiêu chuẩn\r\nIEEE 802.11b, IEEE 802.11a, IEEE 802.11g, Wi-Fi CERTIFIED, IEEE 802.11n, IEEE 802.11ac, Bluetooth 5.0, IEEE 802.11ax\r\nPin\r\nThời lượng pin\r\nTối đa 10.5 giờ\r\nNguồn điện\r\nĐầu ra\r\n65 Watt\r\nKết nối và mở rộng\r\nGiao diện\r\nUSB-C USB 3.0 SurfaceConnect Headphone output Dock\r\nThẻ nhớ\r\nCó (microSDXC)\r\nPhần mềm\r\nSoftware Included\r\nMicrosoft 365 (30 days trial)\r\nĐặc điểm khác\r\nMàu sắc\r\nPlatinum\r\nIntegrated Options\r\nGia tốc kế, cảm biến ánh sáng, từ kế, cảm biến con quay hồi chuyển\r\nKế nối dock\r\ncó \r\nSecurity\r\nFirmware Trusted Platform Module (TPM) Security Chip\r\nFeatures\r\nchế độ Studio , chế độ máy tính bảng, chế độ máy tính xách tay\r\nPhụ kiện đi kèm\r\nSạc\r\nKích thước & Trọng lượng\r\nKích thước (WxDxH)\r\n11.5 in x 7.9 in x 0.3 in\r\nTrọng lượng\r\n0,775 kg\r\nBảo hành\r\nDịch vụ và hỗ trợ\r\nBảo hành 1 năm\r\nSản phẩm\r\nNhãn hiệu\r\nMicrosoft', 21900000, 2, 2, 1, '0000-00-00 00:00:00'),
(67, 'Surface Pro 7 | New Seal | Core i5 / RAM 8GB / SSD 256GB', '1.jpg', 'Chung\r\nLoại sản phẩm\r\nMáy tính bảng \r\nHệ điều hành\r\nWindows 10 Home\r\nLần đầu đưa ra thị trường\r\nTháng 10 năm 2019\r\nBộ xử lý\r\nCPU\r\nIntel® Core™ i5-1035G4 \r\nSố lõi \r\n4 nhân 8 luồng\r\n64-bit Computing\r\nYes\r\nBộ nhớ RAM\r\nRAM\r\n8 GB\r\nCông nghệ\r\nLPDDR4X SDRAM\r\nLưu trữ\r\nỔ cứng\r\n256 GB SSD\r\nMàn hình\r\nKích thước màn hình\r\n12.3 inch\r\nMàn hình cảm ứng\r\nCảm ứng đa điểm\r\nĐộ phân giải \r\n2736 x 1824\r\nWidescreen\r\nYes\r\nTỷ lệ màn hình\r\n3:2\r\nĐặc trưng\r\nPixelSense, 267 ppi\r\nAudio & Video\r\nBộ xử lý đồ hoạ\r\nIntel® Iris™ Plus Graphics\r\nCamera\r\nYes - 1080p\r\nĐộ phân giải\r\n8 Megapixel (sau), 5 Megapixel (trước)\r\nĐặc trưng\r\nAutofocus, Windows Hello\r\nÂm thanh\r\nStereo speakers, 2 microphones\r\nTiêu chuẩn\r\nDolby Audio Premium\r\nPhương thức giao tiếp\r\nWireless\r\nBluetooth 5.0, 802.11a/b/g/n/ac/ax\r\nTiêu chuẩn\r\nIEEE 802.11b, IEEE 802.11a, IEEE 802.11g, Wi-Fi CERTIFIED, IEEE 802.11n, IEEE 802.11ac, Bluetooth 5.0, IEEE 802.11ax\r\nPin\r\nThời lượng pin\r\nTối đa 10.5 giờ\r\nNguồn điện\r\nĐầu ra\r\n65 Watt\r\nKết nối và mở rộng\r\nGiao diện\r\nUSB-C USB 3.0 SurfaceConnect Headphone output Dock\r\nThẻ nhớ\r\nCó (microSDXC)\r\nPhần mềm\r\nSoftware Included\r\nMicrosoft 365 (30 days trial)\r\nMiscellaneous\r\nMàu sắc\r\nPlatinum\r\nIntegrated Options\r\nGia tốc kế, cảm biến ánh sáng, từ kế, cảm biến con quay hồi chuyển\r\nKế nối dock\r\ncó \r\nBảo mật\r\nFirmware Trusted Platform Module (TPM) Security Chip\r\nĐặc trưng\r\nchế độ Studio , chế độ máy tính bảng, chế độ máy tính xách tay\r\nPhụ kiện đi kèm\r\nSạc\r\nKích thước & Trọng lượng\r\nKích thước (WxDxH)\r\n11.5 in x 7.9 in x 0.3 in\r\nTrọng lượng\r\n0,775 kg\r\nBảo hành\r\nDịch vụ và hỗ trợ\r\nBảo hành 1 năm\r\nSản phẩm\r\nNhãn hiệu\r\nMicrosoft', 27500000, 2, 2, 0, '0000-00-00 00:00:00'),
(68, 'Surface Laptop 3 13.5 inch Core i5 | RAM 8GB | SSD 256GB', '1 (1).jpg', 'Thông tin chung\r\nNhà sản xuất\r\nMicrosoft\r\nThương hiệu\r\nMicrosoft\r\nDòng sản phẩm\r\nSurface\r\nSản phẩm \r\nLaptop 3\r\nProduct Model\r\nVGY-00001\r\nTên sản phẩm\r\nMicrosoft Surface Laptop 3 13.5\" Intel Core i5 8GB RAM 256GB SSD Platinum with Alcantara\r\nTình trạng\r\n Mới\r\nKiểu sản phẩm\r\nNotebook\r\nBộ xử lý\r\nNhà sản xuất bộ xử lý\r\nIntel\r\nLoại bộ xử lý\r\nCore i5\r\nThế hệ\r\n10th Gen\r\nModel\r\ni5-1035G7\r\nSố lõi\r\n 4 Lõi \r\nTốc độ\r\n1.20 GHz\r\nTốc độ tối đa\r\n3.70 GHz\r\nBộ nhớ Ram\r\nBộ nhớ tiêu chuẩn\r\n8 GB\r\nCông nghệ\r\nLPDDR4X\r\nLưu trữ\r\nỔ cứng\r\n256 GB\r\nHiển thị & Đồ hoạ\r\nKích thước màn hình\r\n13.5\"\r\nLoại màn hình \r\nPixelSense Display\r\nTỷ lệ khung hình\r\n3:2\r\nĐộ phân giải màn hình\r\n2256 x 1504\r\nMật độ điểm ảnh\r\n201 ppi\r\nMàn hình cảm ứng\r\nYes\r\nMàn hình cảm ứng đa điểm\r\nYes\r\nSố điểm chạm\r\n10\r\nNhà sản xuất\r\nIntel\r\nBộ điều khiển đồ hoạ\r\nIris Plus Graphics\r\nKhả năng truy cập bộ nhớ đồ hoạ\r\nTích hợp\r\nMạng\r\nWireless LAN\r\nYes\r\nTiêu chuẩn \r\n802.11ax\r\nBluetooth\r\nYes\r\nTiêu chuẩn\r\nBluetooth 5.0\r\nThiết bị tích hợp\r\nCamera trước\r\nYes\r\nĐộ phân giải\r\n3.4 MP\r\nĐộ phân giải video\r\n720p\r\nMicrophone\r\n Có\r\nSố Microphones\r\n 2\r\nLoại Microphone\r\nDual Far Field Studio\r\nLoa\r\nOmnisonic Speakers with Dolby Audio Premium\r\nSố loa 2 loa\r\nGiao diện / Cổng\r\nTổng số cổng USB\r\n2\r\nUSB Type-C\r\n1\r\nCổng kết nối tai nghe\r\n3.5mm headphone jack\r\nKết nối docking\r\nSurface Connect\r\nPhần mềm\r\nNền tảng\r\nWindows\r\nHệ điều hành\r\nWindows 10 Home\r\nPhần mềm bao gồm\r\nMicrosoft Office 365 30-day trial\r\nThiết bị đầu vào\r\nBàn phím\r\nAlcantara\r\nBàn di chuột\r\nTouchPad\r\nPin\r\nSố lượng pin\r\n1\r\nThời lượng pin sử dụng tối đa\r\n11.50 Hours\r\nĐặc trưng khác\r\nMàu sắc\r\nPlatinum\r\nDày\r\n14mm\r\nRộng\r\n224 mm\r\nDài\r\n307 mm\r\nTrọng lượng\r\n1.28 kg\r\nĐiều khoản khác\r\nPhụ kiện gồm\r\nSurface Laptop 3 13.5\", Sạc, Hướng dẫn nhanh, tài liệu bảo hành\r\nBảo hành\r\nThời gian bảo hành\r\n1 năm\r\nNhận dạng sản phẩm chung\r\nNhãn hiệu\r\nMicrosoft', 30500000, 2, 2, 1, '0000-00-00 00:00:00'),
(69, 'Máy tính bảng Oppo Tab 10 Ultra', 'masstel-tab-10-ultra-vangdong-600x600-600x600.jpg', 'Màn hình\r\nCông nghệ màn hình IPS LCD\r\nĐộ phân giải 800 x 1280 Pixels\r\nKích thước màn hình 10.1\"\r\nHệ điều hành & CPU\r\nHệ điều hành Android 10\r\nChip xử lý (CPU) Spreadtrum SC9863A 8 nhân\r\nTốc độ CPU 1.6 GHz\r\nChip đồ hoạ (GPU) IMG PowerVR GE8322\r\nCảm biến Định vị GPS , Trọng lực\r\nBộ nhớ & Lưu trữ\r\nRAM 3 GB\r\nBộ nhớ trong 32 GB\r\nBộ nhớ còn lại (khả dụng) Khoảng 24 GB\r\nThẻ nhớ ngoài Micro SD, hỗ trợ tối đa 128 GB\r\nChụp ảnh & Quay phim\r\nCamera sau 8 MP\r\nQuay phim HD 720p@30fps\r\nTính năng camera sau Tự động lấy nét (AF), Đèn Flash\r\nCamera trước 2 MP\r\nKết nối\r\nMạng di động Hỗ trợ 4G\r\nSIM 2 Nano SIM (SIM 2 chung khe thẻ nhớ)\r\nThực hiện cuộc gọi Có\r\nWifi Wi-Fi 802.11 a/b/g/n\r\nGPS GPS\r\nBluetooth Có\r\nCổng kết nối/sạc Type-C\r\nJack tai nghe 3.5 mm\r\nKết nối khác OTG\r\nTiện ích\r\nTính năng đặc biệt Không\r\nGhi âm Ghi âm môi trường\r\nRadio Có\r\nThiết kế & Trọng lượng\r\nChất liệu Khung nhựa & Mặt lưng kim loại\r\nKích thước Dài 243.6 mm - Ngang 162.4 mm - Dày 7.9 mm\r\nTrọng lượng 542 g\r\nPin & Sạc\r\nDung lượng pin 6000 mAh\r\nLoại pin Li-Po\r\nCông nghệ pin Không\r\nThông tin khác\r\nThời điểm ra mắt 10/2020', 3190000, 2, 3, 0, '0000-00-00 00:00:00'),
(70, 'Máy tính bảng Oppo Tab 10 Pro', 'masstel-tab10-pro-bac-new-600x600-600x600.jpg', 'Màn hình\r\nCông nghệ màn hình IPS LCD\r\nĐộ phân giải 800 x 1280 Pixels\r\nKích thước màn hình 10.1\"\r\nHệ điều hành & CPU\r\nHệ điều hành Android 9\r\nChip xử lý (CPU) MediaTek MT6580 4 nhân\r\nTốc độ CPU 1.3 GHz\r\nChip đồ hoạ (GPU) Mali-400\r\nCảm biến Tiệm cận\r\nBộ nhớ & Lưu trữ\r\nRAM 2 GB\r\nBộ nhớ trong 16 GB\r\nBộ nhớ còn lại (khả dụng) Khoảng 10 GB\r\nThẻ nhớ ngoài Micro SD, hỗ trợ tối đa 32 GB\r\nChụp ảnh & Quay phim\r\nCamera sau 5 MP\r\nQuay phim Có\r\nTính năng camera sau Đèn Flash, Tự động lấy nét (AF)\r\nCamera trước 2 MP\r\nKết nối\r\nMạng di động Hỗ trợ 3G\r\nSIM 2 SIM thường\r\nThực hiện cuộc gọi Có\r\nWifi Có\r\nGPS GPS\r\nBluetooth Có\r\nCổng kết nối/sạc Micro USB\r\nJack tai nghe 3.5 mm\r\nKết nối khác OTG\r\nTiện ích\r\nTính năng đặc biệt Không\r\nGhi âm Ghi âm môi trường\r\nRadio Có\r\nThiết kế & Trọng lượng\r\nChất liệu Nhựa + Kim loại\r\nKích thước Dài 250 mm - Ngang 160 mm - Dày 9 mm\r\nTrọng lượng 550.5 g\r\nPin & Sạc\r\nDung lượng pin 5000 mAh\r\nLoại pin Li-Po', 24400000, 2, 3, 1, '0000-00-00 00:00:00'),
(71, 'Máy tính bảng Oppo Tab8 Pro', 'mastel-tab8-pro-vang-new-600x600-600x600.jpg', 'Màn hình\r\nCông nghệ màn hình IPS LCD\r\nĐộ phân giải 800 x 1280 Pixels\r\nKích thước màn hình 8\"\r\nHệ điều hành & CPU\r\nHệ điều hành Android 9\r\nChip xử lý (CPU) MediaTek MT8321 4 nhân\r\nTốc độ CPU 1.3 GHz\r\nChip đồ hoạ (GPU) Mali-400\r\nCảm biến Va chạm (G-Sensor)\r\nBộ nhớ & Lưu trữ\r\nRAM 2 GB\r\nBộ nhớ trong 16 GB\r\nBộ nhớ còn lại (khả dụng) Khoảng 10 GB\r\nThẻ nhớ ngoài Micro SD, hỗ trợ tối đa 32 GB\r\nChụp ảnh & Quay phim\r\nCamera sau 5 MP\r\nQuay phim Có\r\nTính năng camera sau Đèn Flash\r\nCamera trước 2 MP\r\nKết nối\r\nMạng di động Hỗ trợ 3G\r\nSIM 2 Micro SIM\r\nThực hiện cuộc gọi Có\r\nWifi Có\r\nGPS A-GPS, GPS\r\nBluetooth Có\r\nCổng kết nối/sạc Micro USB\r\nJack tai nghe 3.5 mm\r\nKết nối khác OTG\r\nTiện ích\r\nTính năng đặc biệt Không\r\nGhi âm Ghi âm môi trường\r\nRadio Có\r\nThiết kế & Trọng lượng\r\nChất liệu Nhôm + Nhựa\r\nKích thước Dài 214.5 mm - Ngang 127.5 mm - Dày 8.9 mm\r\nTrọng lượng 358 g\r\nPin & Sạc\r\nDung lượng pin 4000 mAh\r\nLoại pin Li-Po', 1490000, 2, 3, 0, '0000-00-00 00:00:00'),
(72, 'Máy tính bảng Oppo Tab 8A\r\n', 'mobell-tab-8a-33397-600x600-1-600x600.jpg', 'Màn hình\r\nCông nghệ màn hình IPS LCD\r\nĐộ phân giải 800 x 1280 Pixels\r\nKích thước màn hình 8\"\r\nHệ điều hành & CPU\r\nHệ điều hành Android 8\r\nChip xử lý (CPU) MediaTek MT8321 4 nhân\r\nTốc độ CPU 1.3 GHz\r\nChip đồ hoạ (GPU) Mali-400\r\nCảm biến \r\nTiệm cận\r\nÁnh sáng\r\nRung\r\nBộ nhớ & Lưu trữ\r\nRAM 1 GB\r\nBộ nhớ trong 8 GB\r\nBộ nhớ còn lại (khả dụng) Khoảng 5 GB\r\nThẻ nhớ ngoài Micro SD, hỗ trợ tối đa 32 GB\r\nChụp ảnh & Quay phim\r\nCamera sau 5 MP\r\nQuay phim Có\r\nTính năng camera sau \r\nNhận diện nụ cười\r\nNhận diện khuôn mặt\r\nChạm lấy nét\r\nTự động lấy nét (AF)\r\nLàm đẹp\r\nÁnh sáng yếu (Chụp đêm)\r\nCamera trước 2 MP\r\nKết nối\r\nMạng di động Hỗ trợ 3G\r\nSIM 2 Micro SIM\r\nThực hiện cuộc gọi Có\r\nWifi Có\r\nGPS Không\r\nBluetooth v4.0\r\nCổng kết nối/sạc Micro USB\r\nJack tai nghe 3.5 mm\r\nKết nối khác OTG\r\nTiện ích\r\nTính năng đặc biệt Không\r\nGhi âm Ghi âm môi trường\r\nRadio Không\r\nThiết kế & Trọng lượng\r\nChất liệu Nhựa\r\nKích thước Dài 214 mm - Ngang 127 mm - Dày 8.9 mm\r\nTrọng lượng 235 g\r\nPin & Sạc\r\nDung lượng pin 4000 mAh\r\nLoại pin Li-Ion\r\nCông nghệ pin Không\r\nThông tin khác\r\nThời điểm ra mắt 11/2018', 1590000, 2, 3, 1, '0000-00-00 00:00:00'),
(73, 'Máy tính bảng Oppo Tab 7s', 'mobell-tab-7s-vangdong-600x600-1-600x600.jpg', 'Màn hình\r\nCông nghệ màn hình IPS LCD\r\nĐộ phân giải 600 x 1024 Pixels\r\nKích thước màn hình 7\"\r\nHệ điều hành & CPU\r\nHệ điều hành Android 6.0\r\nChip xử lý (CPU) MediaTek MT8321 4 nhân\r\nTốc độ CPU 1.3 GHz\r\nChip đồ hoạ (GPU) Mali-400\r\nCảm biến Gia tốc, Rung\r\nBộ nhớ & Lưu trữ\r\nRAM 1 GB\r\nBộ nhớ trong 8 GB\r\nBộ nhớ còn lại (khả dụng) 6.2 GB\r\nThẻ nhớ ngoài Micro SD, hỗ trợ tối đa 32 GB\r\nChụp ảnh & Quay phim\r\nCamera sau 2 MP\r\nQuay phim HD 720p@24fps\r\nTính năng camera sau Đèn Flash\r\nCamera trước 0.3 MP\r\nKết nối\r\nMạng di động Hỗ trợ 3G\r\nSIM 1 SIM thường\r\nThực hiện cuộc gọi Có\r\nWifi Wi-Fi hotspot, Wi-Fi 802.11 a/b/g/n\r\nGPS A-GPS\r\nBluetooth Có\r\nCổng kết nối/sạc Micro USB\r\nJack tai nghe 3.5 mm\r\nKết nối khác OTG\r\nTiện ích\r\nTính năng đặc biệt Âm thanh Dolby Audio\r\nGhi âm Ghi âm môi trường\r\nRadio Có\r\nThiết kế & Trọng lượng\r\nChất liệu Nhựa\r\nKích thước Dài 189.5 mm - Ngang 107.2 mm - Dày 8.5 mm\r\nTrọng lượng 236 g\r\nPin & Sạc\r\nDung lượng pin 2800 mAh\r\nLoại pin Li-Ion', 990000, 2, 3, 0, '0000-00-00 00:00:00'),
(74, 'Tai nghe Bluetooth True Wireless Oppo Elite Active 65T Đen Titanum', 'bluetooth-tws-jabra-elite-active-65t-070721-020735-600x600.jpg', 'Thông số kỹ thuật\r\nTương thích: AndroidWindowsiOS (iPhone)\r\nCổng sạc: Micro USB\r\nThời gian sử dụng: 5 giờ\r\nThời gian sạc đầy: 2 giờ\r\nKết nối cùng lúc: 2 thiết bị\r\nHỗ trợ kết nối: 10m (Bluetooth 5.0)\r\nĐiều khiển bằng: Phím nhấn\r\nThương hiệu của: Đan Mạch\r\nSản xuất tại: Trung Quốc', 3790000, 2, 4, 1, '0000-00-00 00:00:00'),
(75, 'Tai nghe Bluetooth True Wireless Oppo Elite 85T Đen Titanum\r\n', 'bluetooth-true-wireless-jabra-elite-85t-d-600x600-1-600x600 (1).jpg', 'Thông số kỹ thuật\r\nTương thích: AndroidWindowsiOS (iPhone)\r\nCổng sạc: Type-C\r\nCông nghệ âm thanh: Active Noise Cancelling\r\nThời gian sử dụng: 7 giờ\r\nThời gian sạc đầy: 2.5 giờ\r\nKết nối cùng lúc: 2 thiết bị\r\nHỗ trợ kết nối: 10m (Bluetooth 5.1)\r\nThương hiệu của: Đan Mạch\r\nSản xuất tại: Trung Quốc', 5990000, 2, 4, 0, '0000-00-00 00:00:00'),
(76, 'Tai nghe Bluetooth Oppo Elite 25e Đen', 'bluetooth-jabra-elite-25e-den-600x600-1-600x600.jpg', 'Thông số kỹ thuật\r\nTương thích: AndroidWindowsiOS (iPhone)\r\nCổng sạc: Micro USB\r\nThời gian sử dụng: 18 giờ\r\nThời gian sạc đầy: 2 giờ\r\nKết nối cùng lúc: 2 thiết bị\r\nHỗ trợ kết nối: Bluetooth 4.1\r\nTrọng lượng: 27 g\r\nThương hiệu của: Đan Mạch\r\nSản xuất tại: Trung Quốc', 1890000, 2, 4, 1, '0000-00-00 00:00:00'),
(77, 'Tai nghe đàm thoại Bluetooth Oppo Talk 5 Đen', 'tai-nghe-bluetooth-jabra-talk-5-den-600x600-1-600x600.jpg', 'Thông số kỹ thuật\r\nTương thích: AndroidWindowsiOS (iPhone)\r\nCổng sạc: Micro USB\r\nThời gian sử dụng: 11 giờ\r\nThời gian sạc đầy: 2 giờ\r\nKết nối cùng lúc: 2 thiết bị\r\nHỗ trợ kết nối: Bluetooth\r\nTrọng lượng: 9.7 g\r\nThương hiệu của: Đan Mạch\r\nSản xuất tại: Trung Quốc', 590000, 2, 4, 0, '0000-00-00 00:00:00'),
(78, 'Pin sạc dự phòng Polymer 10.000mAh Type C Aukey PB-XN10 Đen\r\n', 'sac-du-phong-polymer-10000mah-type-c-aukey-pb-xn10-1-1-600x600.jpg', 'Thông số kỹ thuật\r\nHiệu suất sạc: 65%\r\nDung lượng pin: 10.000 mAh\r\nThời gian sạc đầy pin: 6 - 7 giờ (dùng cổng Micro 5V - 2A)5 giờ (dùng cổng Type C 5V - 3A)\r\nNguồn vào: Micro USB: 5V - 2AType-C: 5V - 3A\r\nNguồn ra: Type-C: 5V - 3AUSB: 5V - 2.4A\r\nLõi pin: Polymer\r\nCông nghệ/Tiện ích: AiPowerĐèn LED báo hiệuEntire Protect\r\nKích thước: Dài 12.5 cm - Rộng 7 cm - 1.5 cm\r\nTrọng lượng: 200.8g\r\nThương hiệu của: Đức\r\nSản xuất tại: Trung Quốc', 343000, 2, 5, 1, '0000-00-00 00:00:00'),
(79, 'Pin sạc dự phòng Polymer 10.000mAh Type C PD QC3.0 Aukey PB-XD12 Đen', 'sac-du-phong-10000mah-type-c-pd-qc30-aukey-pb-xd12-den-1-1-600x600 (1).jpg', 'Thông số kỹ thuật\r\nHiệu suất sạc: 65%\r\nDung lượng pin: 10.000 mAh\r\nThời gian sạc đầy pin: 3 - 4 giờ (dùng Type C Power Delivery)5 - 6 giờ (dùng Adapter 2A)\r\nNguồn vào: Type C: (PD) 5V/2.6A, 9V/2A (Max 18W)Micro USB: 5V - 2A, 9V - 2A\r\nNguồn ra: Type C: 5-6V - 3A, 6-9V - 2A, 9-12V - 1.5AUSB: 5V - 3A, 9V - 2A, 12V - 1.5A\r\nLõi pin: Polymer\r\nCông nghệ/Tiện ích: Đèn LED báo hiệuQuick Charge 3.0Power Delivery\r\nTrọng lượng: 232g\r\nThương hiệu của: Đức\r\nSản xuất tại: Trung Quốc', 790000, 2, 5, 0, '0000-00-00 00:00:00'),
(80, 'Pin sạc dự phòng 10.050 mAh Type-C PD QC3.0 Aukey PB-XD10 Đen', 'pin-du-phong-10050mah-type-c-pd-qc30-aukey-pb-xd10-ava-600x600.jpg', 'Thông số kỹ thuật\r\nHiệu suất sạc: 66%\r\nDung lượng pin: 10.050 mAh\r\nThời gian sạc đầy pin: 10 - 11 giờ (dùng Adapter 1A)5 - 6 giờ (dùng Adapter 2A)\r\nNguồn vào: Type C: 5V - 2.4A, 9V - 2A, 12V - 1.5A\r\nNguồn ra: Type C: 5V - 2.4A, 9V - 2A, 12V - 1.5AUSB: 5-6.5V - 3A, 6.5-9V - 2A, 9-12V - 1.5A\r\nLõi pin: Li-Ion\r\nCông nghệ/Tiện ích: AiPowerQuick Charge 3.0Power Delivery\r\nKích thước: Dài 10.5 cm - Ngang 6.3 cm - Dày 2.2 cm\r\nTrọng lượng: 182g\r\nThương hiệu của: Đức\r\nSản xuất tại: Trung Quốc', 594000, 2, 5, 1, '0000-00-00 00:00:00'),
(81, 'Pin sạc dự phòng Polymer 10.000 mAh Aukey PB-N42\r\n', 'pin-du-phong-polymer-10000mah-aukey-pb-n42-trang-1-600x600.jpg', 'Thông số kỹ thuật\r\nHiệu suất sạc: 65%\r\nDung lượng pin: 10.000 mAh\r\nThời gian sạc đầy pin: 10 - 11 giờ (dùng Adapter 1A)5 - 6 giờ (dùng Adapter 2A)\r\nNguồn vào: Micro USB: 5V - 2.1A\r\nNguồn ra: USB: 5V - 2.1A\r\nLõi pin: Polymer\r\nCông nghệ/Tiện ích: AiPowerĐèn LED báo hiệu\r\nKích thước: Dài 9.1 cm - Ngang 8 cm - Rộng 2.1 cm\r\nTrọng lượng: 226 g\r\nThương hiệu của: Đức\r\nSản xuất tại: Trung Quốc', 590000, 2, 5, 0, '0000-00-00 00:00:00'),
(82, 'Điện thoại Samsung Galaxy A12 (6GB/128GB)', 'samsung-galaxy-a12-trang-600x600-600x600.jpg', 'Màn hình\r\nCông nghệ màn hình PLS TFT LCD\r\nĐộ phân giải HD+ (720 x 1600 Pixels)\r\nMàn hình rộng 6.5\"\r\nMặt kính cảm ứng Đang cập nhật\r\nCamera sau\r\nĐộ phân giải Chính 48 MP & Phụ 5 MP, 2 MP, 2 MP\r\nQuay phim FullHD 1080p@30fps\r\nĐèn Flash Có\r\nTính năng \r\nXóa phông\r\nChạm lấy nét\r\nTự động lấy nét (AF)\r\nNhận diện khuôn mặt\r\nHDR\r\nLàm đẹp\r\nZoom kỹ thuật số\r\nGóc rộng (Wide)\r\nSiêu cận (Macro)\r\nGóc siêu rộng (Ultrawide)\r\nCamera trước\r\nĐộ phân giải 8 MP\r\nVideocall Thông qua ứng dụng thứ 3\r\nTính năng Quay video Full HD\r\nHệ điều hành & CPU\r\nHệ điều hành Android 10\r\nChip xử lý (CPU) MediaTek Helio G35 8 nhân\r\nTốc độ CPU 8 nhân 2.3 GHz\r\nChip đồ họa (GPU) Đang cập nhật\r\nBộ nhớ & Lưu trữ\r\nRAM 6 GB\r\nBộ nhớ trong 128 GB\r\nBộ nhớ còn lại (khả dụng) Khoảng 107 GB\r\nThẻ nhớ ngoài MicroSD, hỗ trợ tối đa 1 TB\r\nKết nối\r\nMạng di động Hỗ trợ 4G\r\nSIM 2 Nano SIM\r\nWifi Wi-Fi hotspot, Wi-Fi 802.11 a/b/g/n\r\nGPS \r\nGLONASS\r\nA-GPS\r\nBDS\r\nGALILEO\r\nBluetooth v5.0\r\nCổng kết nối/sạc Type-C\r\nJack tai nghe 3.5 mm\r\nKết nối khác Không\r\nThiết kế & Trọng lượng\r\nThiết kế Nguyên khối\r\nChất liệu Khung & Mặt lưng nhựa\r\nKích thước Dài 164 mm - Ngang 75.8 mm - Dày 8.9 mm\r\nTrọng lượng 205 g\r\nPin & Sạc\r\nLoại pin Đang cập nhật\r\nDung lượng pin 5000 mAh\r\nCông nghệ pin Sạc pin nhanh\r\nTiện ích\r\nBảo mật nâng cao Mở khoá vân tay cạnh viền\r\nTính năng đặc biệt Đang cập nhật\r\nGhi âm Đang cập nhật\r\nRadio Đang cập nhật\r\nXem phim \r\n3GP\r\nAVI\r\nWMV\r\nMP4\r\nNghe nhạc \r\nWMA\r\n3GPP\r\nMidi\r\nFLAC\r\nAMR\r\nOGG\r\nAAC\r\nWAV\r\nMP3\r\nThông tin khác\r\nThời điểm ra mắt 12/2020', 4590000, 3, 1, 1, '0000-00-00 00:00:00'),
(83, 'Điện thoại Samsung Galaxy M51', 'samsung-galaxy-m51-(4).jpg', 'Màn hình\r\nCông nghệ màn hình Super AMOLED Plus\r\nĐộ phân giải Full HD+ (1080 x 2400 Pixels)\r\nMàn hình rộng 6.7\"\r\nMặt kính cảm ứng Mặt kính cong 2.5D\r\nCamera sau\r\nĐộ phân giải Chính 64 MP & Phụ 12 MP, 5 MP, 5 MP\r\nQuay phim 4K 2160p@30fps, FullHD 1080p@30fps\r\nĐèn Flash Có\r\nTính năng \r\nXóa phông\r\nChạm lấy nét\r\nToàn cảnh (Panorama)\r\nLàm đẹp (Beautify)\r\nTự động lấy nét (AF)\r\nNhận diện khuôn mặt\r\nHDR\r\nGóc rộng (Wide)\r\nSiêu cận (Macro)\r\nGóc siêu rộng (Ultrawide)\r\nCamera trước\r\nĐộ phân giải 32 MP\r\nVideocall Thông qua ứng dụng thứ 3\r\nTính năng \r\nQuay video HD\r\nNhận diện khuôn mặt\r\nLàm đẹp\r\nQuay video Full HD\r\nTự động lấy nét (AF)\r\nHDR\r\nHệ điều hành & CPU\r\nHệ điều hành Android 10\r\nChip xử lý (CPU) Snapdragon 730 8 nhân\r\nTốc độ CPU 2 nhân 2.2 GHz & 6 nhân 1.8 GHz\r\nChip đồ họa (GPU) Adreno 618\r\nBộ nhớ & Lưu trữ\r\nRAM 8 GB\r\nBộ nhớ trong 128 GB\r\nBộ nhớ còn lại (khả dụng) Khoảng 103 GB\r\nThẻ nhớ ngoài MicroSD, hỗ trợ tối đa 512 GB\r\nKết nối\r\nMạng di động Hỗ trợ 4G\r\nSIM 2 Nano SIM\r\nWifi \r\nWi-Fi hotspot\r\nDual-band (2.4 GHz/5 GHz)\r\nWi-Fi Direct\r\nWi-Fi 802.11 a/b/g/n/ac\r\nGPS \r\nGALILEO\r\nA-GPS\r\nGLONASS\r\nBDS\r\nBluetooth \r\nLE\r\nv5.0\r\nA2DP\r\nCổng kết nối/sạc Type-C\r\nJack tai nghe 3.5 mm\r\nKết nối khác OTG\r\nThiết kế & Trọng lượng\r\nThiết kế Nguyên khối\r\nChất liệu Khung & Mặt lưng nhựa\r\nKích thước Dài 163.9 mm - Ngang 76.3 mm - Dày 9.5 mm\r\nTrọng lượng 213 g\r\nPin & Sạc\r\nDung lượng pin 7000 mAh\r\nLoại pin Li-Ion\r\nCông nghệ pin \r\nSạc pin nhanh\r\nSiêu tiết kiệm pin\r\nTiết kiệm pin\r\nTiện ích\r\nBảo mật nâng cao Mở khoá khuôn mặt, Mở khoá vân tay cạnh viền\r\nTính năng đặc biệt Chặn tin nhắn, Chặn cuộc gọi\r\nGhi âm Có\r\nRadio Có\r\nXem phim \r\nWMV\r\nAVI\r\nMP4\r\nNghe nhạc \r\nWMA\r\nWAV\r\nMP3\r\nThông tin khác\r\nThời điểm ra mắt 10/2020', 9390000, 3, 1, 0, '0000-00-00 00:00:00'),
(84, 'Điện thoại Samsung Galaxy Z Fold2 5G Đặc Biệt\r\n', 'samsung-galaxy-z-fold-2-vang-600x600-600x600.jpg', 'Màn hình\r\nCông nghệ màn hình Chính: Dynamic AMOLED, Phụ: Super AMOLED\r\nĐộ phân giải Full HD+ (1768 x 2208 Pixels)\r\nMàn hình rộng Chính 7.59\" & Phụ 6.23\"\r\nMặt kính cảm ứng Kính cường lực Corning Gorilla Glass Victus\r\nCamera sau\r\nĐộ phân giải 3 camera 12 MP\r\nQuay phim \r\nHD 720p@960fps\r\n4K 2160p@60fps\r\nFullHD 1080p@30fps\r\nFullHD 1080p@240fps\r\nĐèn Flash Có\r\nTính năng \r\nQuay Siêu chậm (Super Slow Motion)\r\nA.I Camera\r\nBan đêm (Night Mode)\r\nTrôi nhanh thời gian (Time Lapse)\r\nQuay chậm (Slow Motion)\r\nXóa phông\r\nChạm lấy nét\r\nToàn cảnh (Panorama)\r\nChống rung quang học (OIS)\r\nTự động lấy nét (AF)\r\nNhận diện khuôn mặt\r\nHDR\r\nChuyên nghiệp (Pro)\r\nLàm đẹp\r\nZoom kỹ thuật số\r\nGóc rộng (Wide)\r\nCamera trước\r\nĐộ phân giải 10 MP\r\nVideocall Thông qua ứng dụng thứ 3\r\nTính năng \r\nXóa phông\r\nNhãn dán (AR Stickers)\r\nQuay video HD\r\nNhận diện khuôn mặt\r\nLàm đẹp\r\nQuay video Full HD\r\nTự động lấy nét (AF)\r\nA.I Camera\r\nHệ điều hành & CPU\r\nHệ điều hành Android 10\r\nChip xử lý (CPU) Snapdragon 865+ 8 nhân\r\nTốc độ CPU 1 nhân 3.09 Ghz & 3 nhân 2.4 Ghz & 4 nhân 1.8 Ghz\r\nChip đồ họa (GPU) Adreno 650\r\nBộ nhớ & Lưu trữ\r\nRAM 12 GB\r\nBộ nhớ trong 256 GB\r\nBộ nhớ còn lại (khả dụng) Khoảng 223 GB\r\nThẻ nhớ ngoài Không\r\nKết nối\r\nMạng di động Hỗ trợ 5G\r\nSIM 1 Nano SIM & 1 eSIM\r\nWifi \r\nWi-Fi 802.11 a/b/g/n/ac/ax\r\nWi-Fi MIMO\r\nWi-Fi hotspot\r\nDual-band (2.4 GHz/5 GHz)\r\nWi-Fi Direct\r\nGPS \r\nGLONASS\r\nBDS\r\nA-GPS\r\nBluetooth \r\nLE\r\nv5.0\r\nA2DP\r\napt-X\r\nCổng kết nối/sạc Type-C\r\nJack tai nghe Type-C\r\nKết nối khác NFC, OTG\r\nThiết kế & Trọng lượng\r\nThiết kế Nguyên khối\r\nChất liệu Khung kim loại & Mặt lưng kính cường lực\r\nKích thước Mở: Dài 159.2 mm - Ngang 128.2 mm - Dày 6.9 mm; Gập: Dài 159.2 mm - Ngang 68 mm - Dày 16.8 mm\r\nTrọng lượng 282 g\r\nPin & Sạc\r\nDung lượng pin 4500 mAh\r\nLoại pin Li-Po\r\nCông nghệ pin \r\nSạc pin nhanh\r\nSiêu tiết kiệm pin\r\nTiết kiệm pin\r\nTiện ích\r\nBảo mật nâng cao Mở khoá khuôn mặt, Mở khóa bằng vân tay\r\nTính năng đặc biệt \r\nÂm thanh Dolby Audio\r\nTrợ lý ảo Samsung Bixby\r\nNhân bản ứng dụng\r\nChặn cuộc gọi\r\nChặn tin nhắn\r\nGhi âm Không\r\nRadio Không\r\nXem phim \r\nH.264(MPEG4-AVC)\r\nDivX\r\nH.263\r\nXvid\r\nMP4\r\nWMV\r\nNghe nhạc \r\neAAC+\r\nFLAC\r\nWMA\r\nWAV\r\nMP3\r\nThông tin khác\r\nThời điểm ra mắt 12/2020', 50000000, 3, 1, 1, '0000-00-00 00:00:00'),
(85, 'Điện thoại Samsung Galaxy Z Flip', 'samsung-galaxy-z-flip-600x600-1-600x600.jpg', 'Màn hình\r\nCông nghệ màn hình Chính: Dynamic AMOLED, Phụ: Super AMOLED\r\nĐộ phân giải Full HD+ (1080 x 2636 Pixels)\r\nMàn hình rộng 6.7\"\r\nMặt kính cảm ứng Kính siêu mỏng Ultra Thin Glass (UTG)\r\nCamera sau\r\nĐộ phân giải 2 camera 12 MP\r\nQuay phim \r\nHD 720p@30fps\r\nFullHD 1080p@60fps\r\nFullHD 1080p@30fps\r\n4K 2160p@30fps\r\n4K 2160p@60fps\r\nĐèn Flash Có\r\nTính năng \r\nA.I Camera\r\nBan đêm (Night Mode)\r\nTrôi nhanh thời gian (Time Lapse)\r\nQuay chậm (Slow Motion)\r\nXóa phông\r\nZoom quang học\r\nChụp bằng cử chỉ\r\nChạm lấy nét\r\nToàn cảnh (Panorama)\r\nChống rung quang học (OIS)\r\nLàm đẹp (Beautify)\r\nTự động lấy nét (AF)\r\nNhận diện khuôn mặt\r\nHDR\r\nChuyên nghiệp (Pro)\r\nGóc rộng (Wide)\r\nGóc siêu rộng (Ultrawide)\r\nCamera trước\r\nĐộ phân giải 10 MP\r\nVideocall Thông qua ứng dụng thứ 3\r\nTính năng \r\nLàm đẹp\r\nQuay video Full HD\r\nTự động lấy nét (AF)\r\nHDR\r\nA.I Camera\r\nXóa phông\r\nNhãn dán (AR Stickers)\r\nNhận diện khuôn mặt\r\nHệ điều hành & CPU\r\nHệ điều hành Android 10\r\nChip xử lý (CPU) Snapdragon 855+ 8 nhân\r\nTốc độ CPU 1 nhân 2.96 GHz, 3 nhân 2.42 GHz & 4 nhân 1.8 GHz\r\nChip đồ họa (GPU) Adreno 640 (700 Hz)\r\nBộ nhớ & Lưu trữ\r\nRAM 8 GB\r\nBộ nhớ trong 256 GB\r\nBộ nhớ còn lại (khả dụng) Khoảng 223 GB\r\nThẻ nhớ ngoài Không\r\nKết nối\r\nMạng di động Hỗ trợ 4G\r\nSIM 1 Nano SIM & 1 eSIM\r\nWifi \r\nWi-Fi hotspot\r\nDual-band (2.4 GHz/5 GHz)\r\nWi-Fi Direct\r\nWi-Fi 802.11 a/b/g/n/ac\r\nGPS \r\nA-GPS\r\nBDS\r\nGLONASS\r\nBluetooth \r\nA2DP\r\nv5.0\r\napt-X\r\nCổng kết nối/sạc Type-C\r\nJack tai nghe Type-C\r\nKết nối khác NFC, OTG\r\nThiết kế & Trọng lượng\r\nThiết kế Nguyên khối\r\nChất liệu Khung kim loại & Mặt lưng kính cường lực\r\nKích thước Dài 167.3 mm - Ngang 73.6 mm - Dày 7.2 mm\r\nTrọng lượng 183 g\r\nPin & Sạc\r\nLoại pin Li-Po\r\nDung lượng pin 3300 mAh\r\nCông nghệ pin \r\nSạc pin nhanh\r\nSạc không dây\r\nTiết kiệm pin\r\nSiêu tiết kiệm pin\r\nSạc ngược không dây\r\nTiện ích\r\nBảo mật nâng cao Mở khoá vân tay cạnh viền, Mở khoá khuôn mặt\r\nTính năng đặc biệt \r\nSamsung DeX\r\nĐa cửa sổ (chia đôi màn hình)\r\nSamsung Pay\r\nTrợ lý ảo Samsung Bixby\r\nChặn tin nhắn\r\nGhi âm cuộc gọi\r\nChặn cuộc gọi\r\nÂm thanh Dolby Audio\r\nÂm thanh AKG\r\nGhi âm Có (microphone chuyên dụng chống ồn)\r\nRadio Không\r\nXem phim \r\nMP4\r\nWMV\r\nH.263\r\nH.264(MPEG4-AVC)\r\nDivX\r\nXvid\r\nNghe nhạc \r\nFLAC\r\neAAC+\r\nWMA\r\nWAV\r\nMP3\r\nThông tin khác\r\nThời điểm ra mắt 02/2020', 36000000, 3, 1, 0, '0000-00-00 00:00:00'),
(86, 'Điện thoại Samsung Galaxy Note 20 Ultra 5G Trắng\r\n', 'samsunggalaxynote20ultratrangnew-600x600-600x600.jpg', 'Màn hình\r\nCông nghệ màn hình Dynamic AMOLED 2X\r\nĐộ phân giải 2K+ (1440 x 3088 Pixels)\r\nMàn hình rộng 6.9\"\r\nMặt kính cảm ứng Kính cường lực Corning Gorilla Glass Victus\r\nCamera sau\r\nĐộ phân giải Chính 108 MP & Phụ 12 MP, 12 MP, cảm biến Laser AF\r\nQuay phim 8K 4320p@24fps\r\nĐèn Flash Có\r\nTính năng \r\nQuay Siêu chậm (Super Slow Motion)\r\nA.I Camera\r\nBan đêm (Night Mode)\r\nTrôi nhanh thời gian (Time Lapse)\r\nQuay chậm (Slow Motion)\r\nXóa phông\r\nZoom quang học\r\nChạm lấy nét\r\nToàn cảnh (Panorama)\r\nChống rung quang học (OIS)\r\nTự động lấy nét (AF)\r\nNhận diện khuôn mặt\r\nHDR\r\nChuyên nghiệp (Pro)\r\nNhãn dán (AR Stickers)\r\nLàm đẹp\r\nGóc rộng (Wide)\r\nGóc siêu rộng (Ultrawide)\r\nCamera trước\r\nĐộ phân giải 10 MP\r\nVideocall Thông qua ứng dụng thứ 3\r\nTính năng \r\nHDR\r\nA.I Camera\r\nXóa phông\r\nNhãn dán (AR Stickers)\r\nFlash màn hình\r\nQuay video HD\r\nNhận diện khuôn mặt\r\nLàm đẹp\r\nQuay video Full HD\r\nTự động lấy nét (AF)\r\nHệ điều hành & CPU\r\nHệ điều hành Android 10\r\nChip xử lý (CPU) Exynos 990 8 nhân\r\nTốc độ CPU 2 nhân 2.73 GHz, 2 nhân 2.5 GHz & 4 nhân 2.0 Ghz\r\nChip đồ họa (GPU) Mali-G77 MP11\r\nBộ nhớ & Lưu trữ\r\nRAM 12 GB\r\nBộ nhớ trong 256 GB\r\nBộ nhớ còn lại (khả dụng) Khoảng 223 GB\r\nThẻ nhớ ngoài MicroSD, hỗ trợ tối đa 1 TB\r\nKết nối\r\nMạng di động Hỗ trợ 5G\r\nSIM 2 Nano SIM hoặc 1 Nano SIM + 1 eSIM\r\nWifi \r\nWi-Fi Direct\r\nWi-Fi hotspot\r\nDual-band (2.4 GHz/5 GHz)\r\nGPS \r\nBDS\r\nGLONASS\r\nA-GPS\r\nBluetooth \r\nA2DP\r\nv5.0\r\nLE\r\nCổng kết nối/sạc 2 đầu Type-C\r\nJack tai nghe Type-C\r\nKết nối khác NFC, OTG\r\nThiết kế & Trọng lượng\r\nThiết kế Nguyên khối\r\nChất liệu Khung nhôm & Mặt lưng kính cường lực\r\nKích thước Dài 164.8 mm - Ngang 77.2 mm - Dày 8.1 mm\r\nTrọng lượng 208 g\r\nPin & Sạc\r\nDung lượng pin 4500 mAh\r\nLoại pin Li-Ion\r\nCông nghệ pin \r\nSạc pin nhanh\r\nSạc không dây\r\nTiết kiệm pin\r\nSiêu tiết kiệm pin\r\nSạc ngược không dây\r\nTiện ích\r\nBảo mật nâng cao Mở khoá khuôn mặt, Mở khoá vân tay dưới màn hình\r\nTính năng đặc biệt \r\nÂm thanh AKG\r\nÂm thanh Dolby Audio\r\nKháng nước, kháng bụi\r\nChặn cuộc gọi\r\nChặn tin nhắn\r\nMàn hình luôn hiển thị AOD\r\nTrợ lý ảo Samsung Bixby\r\nSamsung Pay\r\nSamsung DeX\r\nGhi âm Có (microphone chuyên dụng chống ồn)\r\nRadio Không\r\nXem phim \r\n3GP\r\nMP4\r\nAVI\r\nH.263\r\nH.264(MPEG4-AVC)\r\nXvid\r\nDivX\r\nH.265\r\nNghe nhạc \r\nMidi\r\nFLAC\r\nAMR\r\neAAC+\r\nAAC++\r\nWAV\r\nMP3\r\nThông tin khác\r\nThời điểm ra mắt 11/2020', 29990000, 3, 1, 1, '0000-00-00 00:00:00'),
(87, 'Điện thoại Samsung Galaxy S20+', 'samsung-galaxy-s20-plus-xanh-600x600-600x600.jpg', 'Màn hình\r\nCông nghệ màn hình Dynamic AMOLED 2X\r\nĐộ phân giải 2K+ (1440 x 3200 Pixels)\r\nMàn hình rộng 6.7\"\r\nMặt kính cảm ứng Kính cường lực Corning Gorilla Glass 6\r\nCamera sau\r\nĐộ phân giải Chính 12 MP & Phụ 64 MP, 12 MP, TOF 3D\r\nQuay phim \r\nFullHD 1080p@240fps\r\nFullHD 1080p@60fps\r\nFullHD 1080p@30fps\r\n4K 2160p@30fps\r\n4K 2160p@60fps\r\nHD 720p@960fps\r\n8K 4320p@24fps\r\nĐèn Flash Có\r\nTính năng \r\nGóc siêu rộng (Ultrawide)\r\nGóc rộng (Wide)\r\nZoom kỹ thuật số\r\nChuyên nghiệp (Pro)\r\nHDR\r\nNhận diện khuôn mặt\r\nQuay Siêu chậm (Super Slow Motion)\r\nLấy nét theo pha (PDAF)\r\nA.I Camera\r\nBan đêm (Night Mode)\r\nTrôi nhanh thời gian (Time Lapse)\r\nQuay chậm (Slow Motion)\r\nXóa phông\r\nZoom quang học\r\nChạm lấy nét\r\nToàn cảnh (Panorama)\r\nChống rung quang học (OIS)\r\nLàm đẹp (Beautify)\r\nTự động lấy nét (AF)\r\nCamera trước\r\nĐộ phân giải 10 MP\r\nVideocall Thông qua ứng dụng thứ 3\r\nTính năng \r\nA.I Camera\r\nHDR\r\nGóc rộng (Wide)\r\nTự động lấy nét (AF)\r\nQuay video Full HD\r\nLàm đẹp\r\nNhận diện khuôn mặt\r\nQuay video HD\r\nFlash màn hình\r\nNhãn dán (AR Stickers)\r\nXóa phông\r\nQuay phim 4K\r\nHệ điều hành & CPU\r\nHệ điều hành Android 10\r\nChip xử lý (CPU) Exynos 990 8 nhân\r\nTốc độ CPU 2 nhân 2.73 GHz, 2 nhân 2.6 GHz & 4 nhân 2.0 GHz\r\nChip đồ họa (GPU) Mali-G77 MP11\r\nBộ nhớ & Lưu trữ\r\nRAM 8 GB\r\nBộ nhớ trong 128 GB\r\nBộ nhớ còn lại (khả dụng) Khoảng 103 GB\r\nThẻ nhớ ngoài MicroSD, hỗ trợ tối đa 1 TB\r\nKết nối\r\nMạng di động Hỗ trợ 4G\r\nSIM 2 Nano SIM hoặc 1 Nano SIM + 1 eSIM\r\nWifi \r\nWi-Fi 802.11 a/b/g/n/ac/ax\r\nWi-Fi hotspot\r\nDual-band (2.4 GHz/5 GHz)\r\nWi-Fi Direct\r\nGPS \r\nBDS\r\nA-GPS\r\nGLONASS\r\nBluetooth \r\nLE\r\napt-X\r\nv5.0\r\nCổng kết nối/sạc 2 đầu Type-C\r\nJack tai nghe Type-C\r\nKết nối khác NFC, OTG\r\nThiết kế & Trọng lượng\r\nThiết kế Nguyên khối\r\nChất liệu Khung kim loại & Mặt lưng kính cường lực\r\nKích thước Dài 161.9 mm - Ngang 73.7 mm - Dày 7.8 mm\r\nTrọng lượng 188 g\r\nPin & Sạc\r\nLoại pin Li-Ion\r\nDung lượng pin 4500 mAh\r\nCông nghệ pin \r\nSạc pin nhanh\r\nSạc không dây\r\nSạc ngược không dây\r\nTiết kiệm pin\r\nSiêu tiết kiệm pin\r\nTiện ích\r\nBảo mật nâng cao Mở khoá vân tay dưới màn hình, Mở khoá khuôn mặt\r\nTính năng đặc biệt \r\nChạm 2 lần sáng màn hình\r\nKháng nước, kháng bụi\r\nÂm thanh Dolby Audio\r\nÂm thanh AKG\r\nSamsung DeX\r\nKhông gian trẻ em\r\nNhân bản ứng dụng\r\nSamsung Pay\r\nThu nhỏ màn hình sử dụng một tay\r\nTrợ lý ảo Samsung Bixby\r\nMàn hình luôn hiển thị AOD\r\nChặn tin nhắn\r\nGhi âm cuộc gọi\r\nChặn cuộc gọi\r\nGhi âm Có (microphone chuyên dụng chống ồn)\r\nRadio Không\r\nXem phim \r\n3GP\r\nMP4\r\nAVI\r\nWMV\r\nH.264(MPEG4-AVC)\r\nWMV9\r\nXvid\r\nDivX\r\nH.265\r\nNghe nhạc \r\nMidi\r\nAPE\r\nLossless\r\nFLAC\r\nAC3\r\nAMR\r\nOGG\r\neAAC+\r\nAAC++\r\nAAC\r\nWMA\r\nWAV\r\nMP3\r\nThông tin khác\r\nThời điểm ra mắt 02/2020', 23990000, 3, 1, 0, '0000-00-00 00:00:00'),
(88, 'Điện thoại Samsung Galaxy Note 20', 'samsung-galaxy-note-20-062220-122200-fix-600x600.jpg', 'Màn hình\r\nCông nghệ màn hình Super AMOLED Plus\r\nĐộ phân giải Full HD+ (1080 x 2400 Pixels)\r\nMàn hình rộng 6.7\"\r\nMặt kính cảm ứng Kính cường lực Corning Gorilla Glass 5\r\nCamera sau\r\nĐộ phân giải Chính 12 MP & Phụ 64 MP, 12 MP\r\nQuay phim 8K 4320p@24fps\r\nĐèn Flash Có\r\nTính năng \r\nQuay Siêu chậm (Super Slow Motion)\r\nA.I Camera\r\nBan đêm (Night Mode)\r\nTrôi nhanh thời gian (Time Lapse)\r\nQuay chậm (Slow Motion)\r\nXóa phông\r\nZoom quang học\r\nChạm lấy nét\r\nToàn cảnh (Panorama)\r\nChống rung quang học (OIS)\r\nTự động lấy nét (AF)\r\nNhận diện khuôn mặt\r\nHDR\r\nChuyên nghiệp (Pro)\r\nNhãn dán (AR Stickers)\r\nLàm đẹp\r\nGóc rộng (Wide)\r\nGóc siêu rộng (Ultrawide)\r\nCamera trước\r\nĐộ phân giải 10 MP\r\nVideocall Thông qua ứng dụng thứ 3\r\nTính năng \r\nHDR\r\nA.I Camera\r\nXóa phông\r\nNhãn dán (AR Stickers)\r\nFlash màn hình\r\nQuay video HD\r\nNhận diện khuôn mặt\r\nLàm đẹp\r\nQuay video Full HD\r\nTự động lấy nét (AF)\r\nHệ điều hành & CPU\r\nHệ điều hành Android 10\r\nChip xử lý (CPU) Exynos 990 8 nhân\r\nTốc độ CPU 2 nhân 2.73 GHz, 2 nhân 2.5 GHz & 4 nhân 2.0 Ghz\r\nChip đồ họa (GPU) Mali-G77 MP11\r\nBộ nhớ & Lưu trữ\r\nRAM 8 GB\r\nBộ nhớ trong 256 GB\r\nBộ nhớ còn lại (khả dụng) Khoảng 223 GB\r\nThẻ nhớ ngoài Không\r\nKết nối\r\nMạng di động Hỗ trợ 4G\r\nSIM 2 Nano SIM hoặc 1 Nano SIM + 1 eSIM\r\nWifi \r\nWi-Fi Direct\r\nWi-Fi 802.11 a/b/g/n/ac/ax\r\nWi-Fi hotspot\r\nDual-band (2.4 GHz/5 GHz)\r\nGPS \r\nGLONASS\r\nA-GPS\r\nBDS\r\nBluetooth \r\nA2DP\r\nLE\r\nv5.0\r\nCổng kết nối/sạc 2 đầu Type-C\r\nJack tai nghe Type-C\r\nKết nối khác OTG, NFC\r\nThiết kế & Trọng lượng\r\nThiết kế Nguyên khối\r\nChất liệu Khung kim loại & Mặt lưng nhựa\r\nKích thước Dài 161.6 mm - Ngang 72.5 mm - Dày 8.3 mm\r\nTrọng lượng 192 g\r\nPin & Sạc\r\nDung lượng pin 4300 mAh\r\nLoại pin Li-Ion\r\nCông nghệ pin \r\nSạc pin nhanh\r\nSạc không dây\r\nTiết kiệm pin\r\nSiêu tiết kiệm pin\r\nSạc ngược không dây\r\nTiện ích\r\nBảo mật nâng cao Mở khoá khuôn mặt, Mở khoá vân tay dưới màn hình\r\nTính năng đặc biệt \r\nÂm thanh AKG\r\nÂm thanh Dolby Audio\r\nKháng nước, kháng bụi\r\nChặn cuộc gọi\r\nChặn tin nhắn\r\nMàn hình luôn hiển thị AOD\r\nTrợ lý ảo Samsung Bixby\r\nSamsung Pay\r\nSamsung DeX\r\nGhi âm Có (microphone chuyên dụng chống ồn)\r\nRadio Không\r\nXem phim \r\n3GP\r\nMP4\r\nAVI\r\nH.263\r\nH.264(MPEG4-AVC)\r\nXvid\r\nDivX\r\nH.265\r\nNghe nhạc \r\nMidi\r\nFLAC\r\nAMR\r\neAAC+\r\nAAC++\r\nWAV\r\nMP3\r\nThông tin khác\r\nThời điểm ra mắt 08/2020', 20990000, 3, 1, 1, '0000-00-00 00:00:00'),
(89, 'Điện thoại Samsung Galaxy Note 10+', 'samsung-galaxy-note-10-plus-silver-new-600x600.jpg', 'Màn hình\r\nCông nghệ màn hình Dynamic AMOLED\r\nĐộ phân giải 2K+ (1440 x 3040 Pixels)\r\nMàn hình rộng 6.8\"\r\nMặt kính cảm ứng Kính cường lực Corning Gorilla Glass\r\nCamera sau\r\nĐộ phân giải Chính 12 MP & Phụ 12 MP, 16 MP, TOF 3D\r\nQuay phim \r\n4K 2160p@60fps\r\nFullHD 1080p@240fps\r\nSiêu chậm 960 fps\r\nĐèn Flash Có\r\nTính năng \r\nQuay Siêu chậm (Super Slow Motion)\r\nLấy nét theo pha (PDAF)\r\nA.I Camera\r\nTrôi nhanh thời gian (Time Lapse)\r\nQuay chậm (Slow Motion)\r\nXóa phông\r\nZoom quang học\r\nChạm lấy nét\r\nToàn cảnh (Panorama)\r\nChống rung quang học (OIS)\r\nLàm đẹp (Beautify)\r\nTự động lấy nét (AF)\r\nNhận diện khuôn mặt\r\nHDR\r\nChuyên nghiệp (Pro)\r\nLàm đẹp\r\nGóc rộng (Wide)\r\nGóc siêu rộng (Ultrawide)\r\nCamera trước\r\nĐộ phân giải 10 MP\r\nVideocall Thông qua ứng dụng thứ 3\r\nTính năng \r\nNhận diện khuôn mặt\r\nLàm đẹp\r\nQuay video Full HD\r\nTự động lấy nét (AF)\r\nFlash màn hình\r\nQuay video HD\r\nHệ điều hành & CPU\r\nHệ điều hành Android 9 (Pie)\r\nChip xử lý (CPU) Exynos 9825 8 nhân\r\nTốc độ CPU 2 nhân 2.73 GHz, 2 nhân 2.4 GHz & 4 nhân 1.9 GHz\r\nChip đồ họa (GPU) Mali-G76 MP12\r\nBộ nhớ & Lưu trữ\r\nRAM 12 GB\r\nBộ nhớ trong 256 GB\r\nBộ nhớ còn lại (khả dụng) Khoảng 223 GB\r\nThẻ nhớ ngoài MicroSD, hỗ trợ tối đa 1 TB\r\nKết nối\r\nMạng di động Hỗ trợ 4G\r\nSIM 2 Nano SIM (SIM 2 chung khe thẻ nhớ)\r\nWifi \r\nDual-band (2.4 GHz/5 GHz)\r\nWi-Fi 802.11 a/b/g/n/ac/ax\r\nWi-Fi hotspot\r\nWi-Fi Direct\r\nGPS \r\nBDS\r\nGLONASS\r\nA-GPS\r\nBluetooth \r\nA2DP\r\nLE\r\nv5.0\r\napt-X\r\nCổng kết nối/sạc 2 đầu Type-C\r\nJack tai nghe Type-C\r\nKết nối khác NFC, OTG\r\nThiết kế & Trọng lượng\r\nThiết kế Nguyên khối\r\nChất liệu Khung kim loại & Mặt lưng kính cường lực\r\nKích thước Dài 162.3 mm - Ngang 77.2 mm - Dày 7.9 mm\r\nTrọng lượng 196 g\r\nPin & Sạc\r\nLoại pin Li-Ion\r\nDung lượng pin 4300 mAh\r\nCông nghệ pin \r\nSạc pin nhanh\r\nSiêu tiết kiệm pin\r\nTiết kiệm pin\r\nSạc không dây\r\nTiện ích\r\nBảo mật nâng cao Mở khoá vân tay dưới màn hình, Mở khoá khuôn mặt\r\nTính năng đặc biệt \r\nÂm thanh AKG\r\nÂm thanh Dolby Audio\r\nKháng nước, kháng bụi\r\nChặn cuộc gọi\r\nChặn tin nhắn\r\nMàn hình luôn hiển thị AOD\r\nTrợ lý ảo Samsung Bixby\r\nThu nhỏ màn hình sử dụng một tay\r\nSamsung Pay\r\nNhân bản ứng dụng\r\nTản nhiệt nước carbon\r\nĐa cửa sổ (chia đôi màn hình)\r\nSamsung DeX\r\nGhi âm Có (microphone chuyên dụng chống ồn)\r\nRadio Không\r\nXem phim \r\n3GP\r\nMP4\r\nAVI\r\nH.263\r\nH.264(MPEG4-AVC)\r\nXvid\r\nDivX\r\nH.265\r\nNghe nhạc \r\nMidi\r\nFLAC\r\nAMR\r\neAAC+\r\nAAC++\r\nWAV\r\nMP3\r\nThông tin khác\r\nThời điểm ra mắt 08/2019', 16940000, 3, 1, 0, '0000-00-00 00:00:00'),
(90, 'Điện thoại Samsung Galaxy A71', 'samsung-galaxy-a71-bac-inox-new-600x600-600x600.jpg', 'Màn hình\r\nCông nghệ màn hình Super AMOLED\r\nĐộ phân giải Full HD+ (1080 x 2400 Pixels)\r\nMàn hình rộng 6.7\"\r\nMặt kính cảm ứng Kính cường lực\r\nCamera sau\r\nĐộ phân giải Chính 64 MP & Phụ 12 MP, 5 MP, 5 MP\r\nQuay phim \r\n4K 2160p@30fps\r\nFullHD 1080p@30fps\r\nFullHD 1080p@120fps\r\nHD 720p@240fps\r\nĐèn Flash Có\r\nTính năng \r\nA.I Camera\r\nQuay chậm (Slow Motion)\r\nXóa phông\r\nChụp bằng cử chỉ\r\nChạm lấy nét\r\nToàn cảnh (Panorama)\r\nTự động lấy nét (AF)\r\nHDR\r\nChuyên nghiệp (Pro)\r\nLàm đẹp\r\nZoom kỹ thuật số\r\nSiêu cận (Macro)\r\nGóc siêu rộng (Ultrawide)\r\nCamera trước\r\nĐộ phân giải 32 MP\r\nVideocall Thông qua ứng dụng thứ 3\r\nTính năng \r\nNhãn dán (AR Stickers)\r\nQuay video HD\r\nNhận diện khuôn mặt\r\nLàm đẹp\r\nQuay video Full HD\r\nĐèn Flash trợ sáng\r\nHDR\r\nHệ điều hành & CPU\r\nHệ điều hành Android 10\r\nChip xử lý (CPU) Snapdragon 730 8 nhân\r\nTốc độ CPU 2 nhân 2.2 GHz & 6 nhân 1.8 GHz\r\nChip đồ họa (GPU) Adreno 618\r\nBộ nhớ & Lưu trữ\r\nRAM 8 GB\r\nBộ nhớ trong 128 GB\r\nBộ nhớ còn lại (khả dụng) Khoảng 107 GB\r\nThẻ nhớ ngoài MicroSD, hỗ trợ tối đa 512 GB\r\nKết nối\r\nMạng di động Hỗ trợ 4G\r\nSIM 2 Nano SIM\r\nWifi \r\nWi-Fi hotspot\r\nDual-band (2.4 GHz/5 GHz)\r\nWi-Fi Direct\r\nWi-Fi 802.11 a/b/g/n/ac\r\nGPS \r\nBDS\r\nA-GPS\r\nGLONASS\r\nBluetooth A2DP, v5.0\r\nCổng kết nối/sạc 2 đầu Type-C\r\nJack tai nghe 3.5 mm\r\nKết nối khác OTG, NFC\r\nThiết kế & Trọng lượng\r\nThiết kế Nguyên khối\r\nChất liệu Khung & Mặt lưng nhựa\r\nKích thước Dài 163.6 mm - Ngang 76 mm - Dày 7.7 mm\r\nTrọng lượng 179 g\r\nPin & Sạc\r\nDung lượng pin 4500 mAh\r\nLoại pin Li-Ion\r\nCông nghệ pin Sạc pin nhanh, Tiết kiệm pin\r\nTiện ích\r\nBảo mật nâng cao Mở khoá vân tay dưới màn hình, Mở khoá khuôn mặt\r\nTính năng đặc biệt \r\nChặn tin nhắn\r\nMàn hình luôn hiển thị AOD\r\nChặn cuộc gọi\r\nGhi âm Có (microphone chuyên dụng chống ồn)\r\nRadio Có\r\nXem phim \r\nAVI\r\n3GP\r\nWMV\r\nMP4\r\nNghe nhạc \r\nOGG\r\nMidi\r\nFLAC\r\nAMR\r\nAAC\r\nWMA\r\nWAV\r\nMP3\r\nThông tin khác\r\nThời điểm ra mắt 01/2020', 8490000, 3, 1, 1, '0000-00-00 00:00:00');
INSERT INTO `products` (`ID`, `Name`, `Image`, `Description`, `Price`, `manu_ID`, `type_ID`, `Feature`, `creat_at`) VALUES
(91, 'Điện thoại Samsung Galaxy A51 (8GB/128GB)', 'samsung-galaxy-a51-8gb-xanh-600x600.jpg', 'Màn hình\r\nCông nghệ màn hình Super AMOLED\r\nĐộ phân giải Full HD+ (1080 x 2400 Pixels)\r\nMàn hình rộng 6.5\"\r\nMặt kính cảm ứng Kính cường lực Corning Gorilla Glass 3\r\nCamera sau\r\nĐộ phân giải Chính 48 MP & Phụ 12 MP, 5 MP, 5 MP\r\nQuay phim \r\nHD 720p@240fps\r\nHD 720p@30fps\r\nFullHD 1080p@30fps\r\n4K 2160p@30fps\r\nĐèn Flash Có\r\nTính năng \r\nQuay Siêu chậm (Super Slow Motion)\r\nLấy nét theo pha (PDAF)\r\nBan đêm (Night Mode)\r\nTrôi nhanh thời gian (Time Lapse)\r\nQuay chậm (Slow Motion)\r\nXóa phông\r\nChụp bằng cử chỉ\r\nChạm lấy nét\r\nToàn cảnh (Panorama)\r\nLàm đẹp (Beautify)\r\nTự động lấy nét (AF)\r\nNhận diện khuôn mặt\r\nHDR\r\nChuyên nghiệp (Pro)\r\nSiêu cận (Macro)\r\nGóc siêu rộng (Ultrawide)\r\nCamera trước\r\nĐộ phân giải 32 MP\r\nVideocall Thông qua ứng dụng thứ 3\r\nTính năng \r\nNhận diện khuôn mặt\r\nLàm đẹp\r\nQuay video Full HD\r\nTự động lấy nét (AF)\r\nGóc rộng (Wide)\r\nA.I Camera\r\nXóa phông\r\nQuay phim 4K\r\nFlash màn hình\r\nQuay video HD\r\nHệ điều hành & CPU\r\nHệ điều hành Android 10\r\nChip xử lý (CPU) Exynos 9611 8 nhân\r\nTốc độ CPU 4 nhân 2.3 Ghz & 4 nhân 1.7 GHz\r\nChip đồ họa (GPU) Mali-G72\r\nBộ nhớ & Lưu trữ\r\nRAM 8 GB\r\nBộ nhớ trong 128 GB\r\nBộ nhớ còn lại (khả dụng) Khoảng 107 GB\r\nThẻ nhớ ngoài MicroSD, hỗ trợ tối đa 512 GB\r\nKết nối\r\nMạng di động Hỗ trợ 4G\r\nSIM 2 Nano SIM\r\nWifi \r\nWi-Fi Direct\r\nWi-Fi hotspot\r\nDual-band (2.4 GHz/5 GHz)\r\nWi-Fi 802.11 a/b/g/n/ac\r\nGPS \r\nA-GPS\r\nGLONASS\r\nBDS\r\nBluetooth v5.0, A2DP\r\nCổng kết nối/sạc Type-C\r\nJack tai nghe 3.5 mm\r\nKết nối khác NFC, OTG\r\nThiết kế & Trọng lượng\r\nThiết kế Nguyên khối\r\nChất liệu Khung & Mặt lưng nhựa\r\nKích thước Dài 158.4 mm - Ngang 73.7 mm - Dày 7.9 mm\r\nTrọng lượng 172 g\r\nPin & Sạc\r\nLoại pin Li-Po\r\nDung lượng pin 4000 mAh\r\nCông nghệ pin \r\nSạc pin nhanh\r\nSiêu tiết kiệm pin\r\nTiết kiệm pin\r\nTiện ích\r\nBảo mật nâng cao Mở khoá khuôn mặt, Mở khoá vân tay dưới màn hình\r\nTính năng đặc biệt \r\nKhông gian trò chơi\r\nNhân bản ứng dụng\r\nThu nhỏ màn hình sử dụng một tay\r\nTrợ lý ảo Samsung Bixby\r\nMàn hình luôn hiển thị AOD\r\nChặn tin nhắn\r\nGhi âm cuộc gọi\r\nChạm 2 lần sáng màn hình\r\nChặn cuộc gọi\r\nGhi âm Có (microphone chuyên dụng chống ồn)\r\nRadio Có\r\nXem phim \r\nAVI\r\nWMV\r\nMP4\r\n3GP\r\nNghe nhạc \r\nFLAC\r\nAMR\r\nMidi\r\nMP3\r\nWAV\r\nWMA\r\nAAC\r\nOGG\r\nThông tin khác\r\nThời điểm ra mắt 04/2020', 7890000, 3, 1, 1, '0000-00-00 00:00:00'),
(92, 'Samsung Notebook 9 NP900X3T-K02US', '2000.jpg', 'Thông tin chi tiết\r\nStanding screen display size\r\n13.3 Inches\r\nMax Screen Resolution\r\n1920x1080 Pixels\r\nGraphics Coprocessor\r\nIntel UHD Graphics 620\r\nChipset Brand\r\nIntel\r\nCard Description\r\nIntegrated\r\nWireless Type\r\nBluetooth, 802.11ac\r\nNumber of USB 3.0 Ports\r\n2\r\nBrand\r\nSamsung Electronics\r\nSeries\r\nNP940X3N-K01US\r\nItem model number\r\nNP900X3T-K02US\r\nHardware Platform\r\nPC\r\nOperating System\r\nWindows 10 Home\r\nItem Weight\r\n2.19 pounds\r\nProduct Dimensions\r\n12.18 x 0.59 x 8.19 inches\r\nItem Dimensions LxWxH\r\n12.18 x 0.59 x 8.19 inches\r\nColor\r\nLight Titan\r\nProcessor Brand\r\nIntel\r\nProcessor Count\r\n2\r\nComputer Memory Type\r\nDDR4 SDRAM\r\nFlash Memory Size\r\n256\r\nPower Source\r\nBattery Powered\r\nBatteries\r\n1 Lithium Metal batteries required. (included)', 19320000, 3, 2, 1, '0000-00-00 00:00:00'),
(93, 'Samsung Chromebook Plus V2', '0000_.jpg', 'Thông tin chi tiết\r\nStanding screen display size\r\n12.2 Inches\r\nMax Screen Resolution\r\n1900*1200 Pixels\r\nGraphics Coprocessor\r\nIntel HD Graphics 615\r\nCard Description\r\nIntegrated\r\nWireless Type\r\n802.11ac\r\nNumber of USB 2.0 Ports\r\n1\r\nBrand\r\nSAMSUNG\r\nSeries\r\nSamsung Chromebook\r\nHardware Platform\r\nChrome OS\r\nOperating System\r\nChrome OS\r\nItem Weight\r\n2.98 pounds\r\nProduct Dimensions\r\n11.34 x 0.67 x 8.2 inches\r\nItem Dimensions LxWxH\r\n11.34 x 0.67 x 8.2 inches\r\nColor\r\nLight Titan\r\nProcessor Brand\r\nSamsung\r\nProcessor Count\r\n1\r\nFlash Memory Size\r\n32\r\nHard Drive Interface\r\nUnknown\r\nPower Source\r\nBattery Powered', 10490000, 3, 2, 1, '0000-00-00 00:00:00'),
(94, '2020 Samsung Notebook 9 Pro 2-in-1 13.3\" FHD Touchscreen Laptop Computer', '400_.jpg', 'Thông tin chi tiết\r\nStanding screen display size\r\n13.3 Inches\r\nMax Screen Resolution\r\n1920 x 1080 Pixels\r\nGraphics Coprocessor\r\nIntel UHD Graphics 620\r\nCard Description\r\nIntegrated\r\nBrand\r\nSAMSUNG\r\nSeries\r\nNP930MBE-K05US\r\nItem model number\r\nNP930MBE-K05US\r\nHardware Platform\r\nPC\r\nOperating System\r\nWindows 10\r\nItem Weight\r\n2.84 pounds\r\nProduct Dimensions\r\n12.14 x 8.13 x 0.55 inches\r\nItem Dimensions LxWxH\r\n12.14 x 8.13 x 0.55 inches\r\nColor\r\nPlatinum Titan\r\nProcessor Brand\r\nIntel\r\nProcessor Count\r\n4\r\nComputer Memory Type\r\nDDR4 SDRAM\r\nHard Drive Interface\r\nSolid State\r\nPower Source\r\nBattery Powered', 23360000, 3, 2, 0, '0000-00-00 00:00:00'),
(95, 'Samsung Notebook 7 13.3” (8GB RAM/256GB SSD)', '325000_.jpg', 'Thông tin chi tiết\r\nStanding screen display size\r\n13.3 Inches\r\nMax Screen Resolution\r\n1920 x 1080 Pixels\r\nChipset Brand\r\nIntel\r\nCard Description\r\nIntegrated\r\nWireless Type\r\n801.11ac\r\nNumber of USB 3.0 Ports\r\n2\r\nBrand\r\nSamsung Electronics\r\nSeries\r\nNotebook 7\r\nItem model number\r\nNP730XBE-K01US\r\nOperating System\r\nWindows 10\r\nItem Weight\r\n4.14 pounds\r\nProduct Dimensions\r\n12.16 x 8.17 x 0.54 inches\r\nItem Dimensions LxWxH\r\n12.16 x 8.17 x 0.54 inches\r\nColor\r\nPlatinum Titan\r\nProcessor Brand\r\nIntel\r\nProcessor Count\r\n1\r\nComputer Memory Type\r\nDDR3 SDRAM\r\nHard Drive Interface\r\nSolid State\r\nHard Drive Rotational Speed\r\n0.01 RPM\r\nOptical Drive Type\r\nNo Optical Drive\r\nBatteries\r\n1 Lithium ion batteries required. (included)', 24649000, 3, 2, 1, '0000-00-00 00:00:00'),
(96, 'Máy tính bảng Samsung Galaxy Tab A8 8\" T295 (2019)', 'samsung-galaxy-tab-a8-t295-2019-silver-600x600-1-600x600.jpg', 'Màn hình\r\nCông nghệ màn hình TFT LCD\r\nĐộ phân giải 800 x 1280 Pixels\r\nKích thước màn hình 8\"\r\nHệ điều hành & CPU\r\nHệ điều hành Android 10\r\nChip xử lý (CPU) Snapdragon 429 8 nhân\r\nTốc độ CPU 4 nhân 2.0 GHz\r\nChip đồ hoạ (GPU) Adreno 504\r\nCảm biến \r\nRung\r\nGia tốc\r\nTiệm cận\r\nBộ nhớ & Lưu trữ\r\nRAM 2 GB\r\nBộ nhớ trong 32 GB\r\nBộ nhớ còn lại (khả dụng) Khoảng 26 GB\r\nThẻ nhớ ngoài Micro SD, hỗ trợ tối đa 512 GB\r\nChụp ảnh & Quay phim\r\nCamera sau 8 MP\r\nQuay phim FullHD 1080p@30fps\r\nTính năng camera sau Nhận diện khuôn mặt, Tự động lấy nét (AF)\r\nCamera trước 2 MP\r\nKết nối\r\nMạng di động Hỗ trợ 4G\r\nSIM 1 Nano SIM\r\nThực hiện cuộc gọi Có\r\nWifi Wi-Fi 802.11 a/b/g/n\r\nGPS Không\r\nBluetooth v4.2\r\nCổng kết nối/sạc Micro USB\r\nJack tai nghe 3.5 mm\r\nKết nối khác OTG\r\nTiện ích\r\nTính năng đặc biệt Không\r\nGhi âm Không\r\nRadio Không\r\nThiết kế & Trọng lượng\r\nChất liệu Kim loại\r\nKích thước Dài 210 mm - Ngang 124.4 mm - Dày 8 mm\r\nTrọng lượng 347 g\r\nPin & Sạc\r\nDung lượng pin 5100 mAh\r\nLoại pin Li-Ion', 3490000, 3, 3, 0, '0000-00-00 00:00:00'),
(97, 'Máy tính bảng Samsung Galaxy Tab S6 Lite\r\n', 'samsung-galaxy-tab-s6-lite-600x600-2-600x600.jpg', 'Màn hình\r\nCông nghệ màn hình PLS LCD\r\nĐộ phân giải 1200 x 2000 Pixels\r\nKích thước màn hình 10.4\"\r\nHệ điều hành & CPU\r\nHệ điều hành Android 10\r\nChip xử lý (CPU) Exynos 9611 8 nhân\r\nTốc độ CPU 4 nhân 2.3 GHz & 4 nhân 1.7 GHz\r\nChip đồ hoạ (GPU) Đang cập nhật\r\nCảm biến Gia tốc\r\nBộ nhớ & Lưu trữ\r\nRAM 4 GB\r\nBộ nhớ trong 64 GB\r\nBộ nhớ còn lại (khả dụng) Khoảng 49 GB\r\nThẻ nhớ ngoài Micro SD, hỗ trợ tối đa 1 TB\r\nChụp ảnh & Quay phim\r\nCamera sau 8 MP\r\nQuay phim FullHD 1080p@30fps\r\nTính năng camera sau \r\nTự động lấy nét (AF)\r\nChạm lấy nét\r\nNhận diện khuôn mặt\r\nHDR\r\nPanorama\r\nCamera trước 5 MP\r\nKết nối\r\nMạng di động Hỗ trợ 4G\r\nSIM 1 Nano SIM\r\nThực hiện cuộc gọi Có\r\nWifi \r\nDual-band\r\nWi-Fi hotspot\r\nWi-Fi 802.11 a/b/g/n/ac\r\nGPS GPS, GLONASS\r\nBluetooth v5.0, LE\r\nCổng kết nối/sạc Type-C\r\nJack tai nghe 3.5 mm\r\nKết nối khác OTG\r\nTiện ích\r\nTính năng đặc biệt Mở khóa bằng khuôn mặt (Face ID)\r\nGhi âm Ghi âm môi trường\r\nRadio Không\r\nThiết kế & Trọng lượng\r\nChất liệu Kim loại\r\nKích thước Dài 244.5 mm - Ngang 154.3 mm - Dày 7.0 mm\r\nTrọng lượng 467 g\r\nPin & Sạc\r\nDung lượng pin 7040 mAh\r\nLoại pin Li-Ion\r\nCông nghệ pin Sạc pin nhanh\r\nThông tin khác\r\nThời điểm ra mắt 05/2020', 9090000, 3, 3, 1, '0000-00-00 00:00:00'),
(98, 'Máy tính bảng Samsung Galaxy Tab A 10.1 T515 (2019)', 'samsung-galaxy-tab-a-101-t515-2019-gold-600x600-1-600x600.jpg', 'Màn hình\r\nCông nghệ màn hình TFT LCD\r\nĐộ phân giải 1200 x 1920 Pixels\r\nKích thước màn hình 10.1\"\r\nHệ điều hành & CPU\r\nHệ điều hành Android 9\r\nChip xử lý (CPU) Exynos 7904 8 nhân\r\nTốc độ CPU 2 nhân 1.8 GHz & 6 nhân 1.6 GHz\r\nChip đồ hoạ (GPU) Mali-G71 MP2\r\nCảm biến \r\nGia tốc\r\nÁnh sáng\r\nRung\r\nBộ nhớ & Lưu trữ\r\nRAM 3 GB\r\nBộ nhớ trong 32 GB\r\nBộ nhớ còn lại (khả dụng) Khoảng 26 GB\r\nThẻ nhớ ngoài Micro SD, hỗ trợ tối đa 512 GB\r\nChụp ảnh & Quay phim\r\nCamera sau 8 MP\r\nQuay phim FullHD 1080p@30fps\r\nTính năng camera sau \r\nNhận diện khuôn mặt\r\nTự động lấy nét (AF)\r\nChạm lấy nét\r\nCamera trước 5 MP\r\nKết nối\r\nMạng di động Hỗ trợ 4G\r\nSIM 1 Nano SIM\r\nThực hiện cuộc gọi Có\r\nWifi Wi-Fi 802.11 a/b/g/n/ac\r\nGPS A-GPS\r\nBluetooth v5.0\r\nCổng kết nối/sạc Type-C\r\nJack tai nghe 3.5 mm\r\nKết nối khác OTG\r\nTiện ích\r\nTính năng đặc biệt Âm thanh Dolby Atmos\r\nGhi âm Không\r\nRadio Không\r\nThiết kế & Trọng lượng\r\nChất liệu Kim loại\r\nKích thước Dài 245.2 mm - Ngang 149.4 mm - Dày 7.5 mm\r\nTrọng lượng 470 g\r\nPin & Sạc\r\nDung lượng pin 6150 mAh\r\nLoại pin Li-Ion', 7390000, 3, 3, 0, '0000-00-00 00:00:00'),
(99, 'Máy tính bảng Samsung Galaxy Tab with S Pen (P205)', 'samsung-galaxy-tab-a8-plus-p205-black-600x600-1-600x600.jpg', 'Màn hình\r\nCông nghệ màn hình TFT LCD\r\nĐộ phân giải 1200 x 1920 Pixels\r\nKích thước màn hình 8\"\r\nHệ điều hành & CPU\r\nHệ điều hành Android 9\r\nChip xử lý (CPU) Exynos 7904 8 nhân\r\nTốc độ CPU 2 nhân 1.8 GHz & 6 nhân 1.6 GHz\r\nChip đồ hoạ (GPU) Mali-G71 MP2\r\nCảm biến \r\nGia tốc\r\nTiệm cận\r\nRung\r\nBộ nhớ & Lưu trữ\r\nRAM 3 GB\r\nBộ nhớ trong 32 GB\r\nBộ nhớ còn lại (khả dụng) Khoảng 26 GB\r\nThẻ nhớ ngoài Micro SD, hỗ trợ tối đa 400 GB\r\nChụp ảnh & Quay phim\r\nCamera sau 8 MP\r\nQuay phim FullHD 1080p@30fps\r\nTính năng camera sau Nhận diện khuôn mặt, Tự động lấy nét (AF)\r\nCamera trước 5 MP\r\nKết nối\r\nMạng di động Hỗ trợ 4G\r\nSIM 1 Nano SIM\r\nThực hiện cuộc gọi Có\r\nWifi Wi-Fi 802.11 a/b/g/n\r\nGPS GPS\r\nBluetooth v4.2\r\nCổng kết nối/sạc Type-C\r\nJack tai nghe 3.5 mm\r\nKết nối khác OTG\r\nTiện ích\r\nTính năng đặc biệt Kết nối bút S Pen\r\nGhi âm Không\r\nRadio Đang cập nhật\r\nThiết kế & Trọng lượng\r\nChất liệu Nhựa\r\nKích thước Dài 212.1 mm - Ngang 124.1 mm - Dày 8.9 mm\r\nTrọng lượng 380 g\r\nPin & Sạc\r\nDung lượng pin 4200 mAh\r\nLoại pin Li-Ion', 6890000, 3, 3, 1, '0000-00-00 00:00:00'),
(100, 'Tai nghe Bluetooth Samsung MG900E', 'tai-nghe-bluetooth-samsung-mg900e-add-600x600.jpg', 'Tương thích: AndroidWindowsiOS (iPhone)Windows Phone\r\nCổng sạc: Micro USB\r\nThời gian sử dụng: 9 giờ\r\nThời gian sạc đầy: 2 giờ\r\nKết nối cùng lúc: 2 thiết bị\r\nPhím điều khiển: Mic thoạiNghe/nhận cuộc gọiTăng/giảm âm lượng\r\nTrọng lượng: 10.6 g\r\nThương hiệu của: Hàn Quốc\r\nSản xuất tại: Việt Nam', 850000, 3, 4, 0, '0000-00-00 00:00:00'),
(101, 'Tai nghe Bluetooth Samsung Level U Pro BN920C', 'tai-nghe-bluetooth-samsung-level-u-pro-bn920c-add-600x600.jpg', 'Thông số kỹ thuật\r\nTương thích: AndroidWindowsiOS (iPhone)Windows Phone\r\nCổng sạc: Micro USB\r\nThời gian sử dụng: 9 giờ\r\nThời gian sạc đầy: 3 giờ\r\nKết nối cùng lúc: 2 thiết bị\r\nPhím điều khiển: Nghe/nhận cuộc gọiPhát/dừng chơi nhạcTăng/giảm âm lượng\r\nTrọng lượng: 45.7 g\r\nThương hiệu của: Hàn Quốc\r\nSản xuất tại: Việt Nam', 1450000, 3, 4, 1, '0000-00-00 00:00:00'),
(102, 'Tai nghe nhét tai Samsung IG935B', 'tai-nghe-nhet-trong-samsung-ig935b-2-1-600x600.jpg', 'Thông số kỹ thuật\r\nTương thích: AndroidWindowsiOS (iPhone)Windows Phone\r\nJack cắm: 3.5 mm\r\nKết nối cùng lúc: 1 thiết bị\r\nPhím điều khiển: Phát/dừng chơi nhạcTăng/giảm âm lượng\r\nTrọng lượng: 13.2 g\r\nThương hiệu của: Hàn Quốc\r\nSản xuất tại: Việt Nam', 300000, 3, 4, 0, '0000-00-00 00:00:00'),
(103, 'Loa Bluetooth SamSung E8\r\n', 'loa-bluetooth-mozard-e8-600x600-1-600x600.jpg', 'Thông số kỹ thuật\r\nLoại loa: Loa bluetooth\r\nTương thích: AndroidWindowsiOS (iPhone)\r\nTổng công suất: 15 W\r\nThời gian sử dụng: Sạc khoảng 4 tiếngDùng khoảng 5 tiếng\r\nKết nối không dây: Bluetooth 5.0\r\nKết nối khác: Thẻ nhớ Micro SDJack 3.5 mm\r\nPhím điều khiển: Nút nguồnTăng/giảm âm lượngPhát/dừng chơi nhạc\r\nThương hiệu của: Thế Giới Di Động\r\nDòng sản phẩm: 2020', 950000, 3, 4, 1, '0000-00-00 00:00:00'),
(104, 'Pin sạc dự phòng Polymer 10.000mAh Type C PD 25W Samsung EB-P3300 Xám\r\n', 'polymer-10000mah-type-c-25w-samsung-eb-p3300-ava-600x600.jpg', 'Thông số kỹ thuật\r\nHiệu suất sạc: 60%\r\nDung lượng pin: 10.000 mAh\r\nThời gian sạc đầy pin: 10 - 11 giờ (dùng Adapter 1A)6 - 8 giờ (dùng Adapter 2A)\r\nNguồn vào: Type C: 5V - 2A, 9V - 1.67A, 12V - 2.1A (Adaptive Fast Charging)Type C: 5V - 3A, 9V - 2.77A (Power Delivery)\r\nNguồn ra: USB: 5V - 2A, 9V - 1.7A, 12V - 2.1AType C: 5V - 2A, 9V - 2A, 12V - 2.1A\r\nLõi pin: Polymer\r\nCông nghệ/Tiện ích: Power Delivery\r\nTrọng lượng: 240 g\r\nThương hiệu của: Hàn Quốc\r\nSản xuất tại: Trung Quốc', 990000, 3, 5, 0, '0000-00-00 00:00:00'),
(105, 'Pin sạc dự phòng Polymer 20.000mAh Type C PD 25W Samsung EB-P5300 Đen', 'polymer-20000mah-type-c-25w-samsung-eb-p5300-ava-600x600.jpg', 'Thông số kỹ thuật\r\nHiệu suất sạc: 60%\r\nDung lượng pin: 20.000 mAh\r\nThời gian sạc đầy pin: 12 - 14 giờ (dùng Adapter 2A)\r\nNguồn ra: USB: 5V - 2A, 9V - 1.7A, 12V - 2.1AType C: 5V - 2A, 9V - 2A, 12V - 2.1A\r\nLõi pin: Polymer\r\nCông nghệ/Tiện ích: Đèn LED báo hiệuPower Delivery\r\nTrọng lượng: 392 g\r\nThương hiệu của: Hàn Quốc\r\nSản xuất tại: Trung Quốc', 1490000, 3, 5, 1, '0000-00-00 00:00:00'),
(106, 'Pin sạc dự phòng Polymer 10.000mAh Samsung Type C VXN4286GL Trắng\r\n', 'pin-sac-du-phong-10000mah-xiaomi-redmi-type-c-1-600x600.jpg', 'Thông số kỹ thuật\r\nHiệu suất sạc: 55%\r\nDung lượng pin: 10.000 mAh\r\nThời gian sạc đầy pin: 10 - 11 giờ (dùng Adapter 1A)5 - 6 giờ (dùng Adapter 2A)\r\nNguồn vào: Micro USB/ Type-C: 5V - 2.6A\r\nNguồn ra: USB: 5V - 2.4AUSB: Max 5V - 2.6A (cùng lúc 2 cổng)\r\nLõi pin: Polymer\r\nCông nghệ/Tiện ích: Đèn LED báo hiệu\r\nKích thước: Dài 15cm - Rộng 7.5cm - Dày 1.5cm\r\nTrọng lượng: 320g\r\nThương hiệu của: Trung Quốc\r\nSản xuất tại: Trung Quốc', 531000, 3, 5, 0, '0000-00-00 00:00:00'),
(107, 'Pin sạc dự phòng 10.000mAh Samsung PowerCore Select A1223 Đen\r\n', 'sac-du-phong-10000mah-anker-powercore-select-a1223-1-600x600.jpg', 'Thông số kỹ thuật\r\nHiệu suất sạc: 65%\r\nDung lượng pin: 10.000 mAh\r\nThời gian sạc đầy pin: 10 - 11 giờ (dùng Adapter 1A)5 - 6 giờ (dùng Adapter 2A)\r\nNguồn vào: Micro USB: 5V - 2A\r\nNguồn ra: USB: 5V - 2.4A\r\nLõi pin: Li-Ion\r\nCông nghệ/Tiện ích: PowerIQVoltageBoost\r\nKích thước: Dài 10 cm - Rộng 6.3 cm - Dày 2.5 cm\r\nTrọng lượng: 190g\r\nThương hiệu của: Trung Quốc\r\nSản xuất tại: Trung Quốc', 600000, 3, 5, 0, '0000-00-00 00:00:00'),
(108, 'Điện thoại ASUS Zenfone Max Pro M1', 'asus-zenfone-max-pro-m1-blue-silver-400x400-600x600.jpg', 'Màn hình\r\nCông nghệ màn hình IPS LCD\r\nĐộ phân giải Full HD+ (1080 x 2160 Pixels)\r\nMàn hình rộng 6\"\r\nMặt kính cảm ứng Mặt kính cong 2.5D\r\nCamera sau\r\nĐộ phân giải Chính 13 MP & Phụ 5 MP\r\nQuay phim 4K 2160p@30fps, FullHD 1080p@30fps\r\nĐèn Flash Có\r\nTính năng \r\nXóa phông\r\nChạm lấy nét\r\nLàm đẹp (Beautify)\r\nTự động lấy nét (AF)\r\nNhận diện khuôn mặt\r\nHDR\r\nChuyên nghiệp (Pro)\r\nCamera trước\r\nĐộ phân giải 8 MP\r\nVideocall Thông qua ứng dụng thứ 3\r\nTính năng \r\nXóa phông\r\nNhận diện khuôn mặt\r\nLàm đẹp\r\nQuay video Full HD\r\nTự động lấy nét (AF)\r\nĐèn Flash trợ sáng\r\nHDR\r\nHệ điều hành & CPU\r\nChip xử lý (CPU) Snapdragon 636 8 nhân\r\nTốc độ CPU 1.8 GHz\r\nChip đồ họa (GPU) Adreno 509\r\nBộ nhớ & Lưu trữ\r\nRAM 3 GB\r\nBộ nhớ trong 32 GB\r\nBộ nhớ còn lại (khả dụng) Khoảng 21 GB\r\nThẻ nhớ ngoài MicroSD, hỗ trợ tối đa 2 TB\r\nKết nối\r\nMạng di động Hỗ trợ 4G\r\nSIM 2 Nano SIM\r\nWifi \r\nWi-Fi hotspot\r\nWi-Fi Direct\r\nWi-Fi 802.11 a/b/g/n\r\nGPS \r\nGLONASS\r\nA-GPS\r\nBDS\r\nBluetooth \r\nA2DP\r\nLE\r\napt-X\r\nCổng kết nối/sạc Micro USB\r\nJack tai nghe 3.5 mm\r\nKết nối khác OTG\r\nThiết kế & Trọng lượng\r\nThiết kế Nguyên khối\r\nChất liệu Khung & Mặt lưng kim loại\r\nKích thước Dài 159 mm - Ngang 76 mm - Dày 8.5 mm\r\nTrọng lượng 180 g\r\nPin & Sạc\r\nDung lượng pin 5000 mAh\r\nLoại pin Li-Po\r\nCông nghệ pin Sạc pin nhanh, Tiết kiệm pin\r\nTiện ích\r\nBảo mật nâng cao Mở khóa bằng vân tay, Mở khoá khuôn mặt\r\nTính năng đặc biệt \r\nChặn cuộc gọi\r\nChặn tin nhắn\r\nChạm 2 lần tắt/sáng màn hình\r\nGhi âm Có (microphone chuyên dụng chống ồn)\r\nRadio Có\r\nXem phim H.264(MPEG4-AVC), MP4\r\nNghe nhạc \r\neAAC+\r\nWAV\r\nMP3\r\nThông tin khác\r\nThời điểm ra mắt 02/2019', 5990000, 4, 1, 0, '0000-00-00 00:00:00'),
(109, 'Điện thoại ASUS Zenfone Max M2\r\n', 'asus-zenfone-max-m2-black-600x600.jpg', 'Màn hình\r\nCông nghệ màn hình IPS LCD\r\nĐộ phân giải HD+ (720 x 1520 Pixels)\r\nMàn hình rộng 6.26\"\r\nMặt kính cảm ứng Mặt kính cong 2.5D\r\nCamera sau\r\nĐộ phân giải Chính 13 MP & Phụ 2 MP\r\nQuay phim \r\n4K 2160p@30fps\r\nHD 720p@30fps\r\nFullHD 1080p@30fps\r\nĐèn Flash Có\r\nTính năng \r\nBan đêm (Night Mode)\r\nXóa phông\r\nChạm lấy nét\r\nLàm đẹp (Beautify)\r\nTự động lấy nét (AF)\r\nNhận diện khuôn mặt\r\nHDR\r\nChuyên nghiệp (Pro)\r\nCamera trước\r\nĐộ phân giải 8 MP\r\nVideocall Thông qua ứng dụng thứ 3\r\nTính năng \r\nQuay video HD\r\nNhận diện khuôn mặt\r\nLàm đẹp\r\nQuay video Full HD\r\nTự động lấy nét (AF)\r\nĐèn Flash trợ sáng\r\nHệ điều hành & CPU\r\nChip xử lý (CPU) Snapdragon 632 8 nhân\r\nTốc độ CPU 1.8 GHz\r\nChip đồ họa (GPU) Adreno 506\r\nBộ nhớ & Lưu trữ\r\nRAM 4 GB\r\nBộ nhớ trong 32 GB\r\nBộ nhớ còn lại (khả dụng) Khoảng 20 GB\r\nThẻ nhớ ngoài MicroSD, hỗ trợ tối đa 1 TB\r\nKết nối\r\nMạng di động Hỗ trợ 4G\r\nSIM 2 Nano SIM\r\nWifi \r\nWi-Fi hotspot\r\nWi-Fi Direct\r\nWi-Fi 802.11 a/b/g/n\r\nGPS \r\nGLONASS\r\nA-GPS\r\nBDS\r\nBluetooth \r\nA2DP\r\nLE\r\nv4.2\r\nCổng kết nối/sạc Micro USB\r\nJack tai nghe 3.5 mm\r\nKết nối khác OTG\r\nThiết kế & Trọng lượng\r\nThiết kế Nguyên khối\r\nChất liệu Khung & Mặt lưng kim loại\r\nKích thước Dài 158.4 mm - Ngang 76.3 mm - Dày 7.7 mm\r\nTrọng lượng 160 g\r\nPin & Sạc\r\nLoại pin Li-Ion\r\nDung lượng pin 4000 mAh\r\nCông nghệ pin Tiết kiệm pin\r\nTiện ích\r\nBảo mật nâng cao Mở khóa bằng vân tay, Mở khoá khuôn mặt\r\nTính năng đặc biệt \r\nChặn cuộc gọi\r\nChạm 2 lần sáng màn hình\r\nChặn tin nhắn\r\nChạm 2 lần tắt màn hình\r\nGhi âm Có (microphone chuyên dụng chống ồn)\r\nRadio Có\r\nXem phim H.264(MPEG4-AVC), MP4\r\nNghe nhạc \r\neAAC+\r\nWAV\r\nMP3\r\nThông tin khác\r\nThời điểm ra mắt 06/2019', 790000, 4, 1, 0, '0000-00-00 00:00:00'),
(110, 'Điện thoại ASUS ROG Phone 2\r\n', 'asus-rog-phone-2-1-600x600.jpg', 'Màn hình\r\nCông nghệ màn hình AMOLED\r\nĐộ phân giải Full HD+ (1080 x 2340 Pixels)\r\nMàn hình rộng 6.59\"\r\nMặt kính cảm ứng Kính cường lực Corning Gorilla Glass 6\r\nCamera sau\r\nĐộ phân giải Chính 48 MP & Phụ 13 MP\r\nQuay phim \r\nHD 720p@480fps\r\nHD 720p@240fps\r\n4K 2160p@60fps\r\nFullHD 1080p@30fps\r\nFullHD 1080p@60fps\r\nFullHD 1080p@240fps\r\n4K 2160p@30fps\r\nĐèn Flash Đèn LED kép\r\nTính năng \r\nLấy nét theo pha (PDAF)\r\nChạm lấy nét\r\nToàn cảnh (Panorama)\r\nTự động lấy nét (AF)\r\nNhận diện khuôn mặt\r\nHDR\r\nLấy nét bằng laser\r\nGóc rộng (Wide)\r\nGóc siêu rộng (Ultrawide)\r\nCamera trước\r\nĐộ phân giải 24 MP\r\nVideocall Thông qua ứng dụng thứ 3\r\nTính năng \r\nToàn cảnh (Panorama)\r\nQuay video HD\r\nNhận diện khuôn mặt\r\nQuay video Full HD\r\nTự động lấy nét (AF)\r\nHDR\r\nHệ điều hành & CPU\r\nHệ điều hành Android 9 (Pie)\r\nChip xử lý (CPU) Snapdragon 855+ 8 nhân\r\nTốc độ CPU 1 nhân 2.96 GHz, 3 nhân 2.42 GHz & 4 nhân 1.8 GHz\r\nChip đồ họa (GPU) Adreno 640 (700 Hz)\r\nBộ nhớ & Lưu trữ\r\nRAM 12 GB\r\nBộ nhớ trong 256 GB\r\nBộ nhớ còn lại (khả dụng) Đang cập nhật\r\nThẻ nhớ ngoài Không\r\nKết nối\r\nMạng di động Hỗ trợ 4G\r\nSIM 2 Nano SIM\r\nWifi \r\nWi-Fi hotspot\r\nDual-band (2.4 GHz/5 GHz)\r\nWi-Fi Direct\r\nWi-Fi 802.11 a/b/g/n/ac\r\nGPS \r\nBDS\r\nA-GPS\r\nGLONASS\r\nBluetooth \r\napt-X\r\nA2DP\r\nEDR\r\nCổng kết nối/sạc USB Type-C\r\nJack tai nghe 3.5 mm\r\nKết nối khác NFC\r\nThiết kế & Trọng lượng\r\nThiết kế Nguyên khối\r\nChất liệu Khung kim loại & Mặt lưng kính cường lực\r\nKích thước Dài 171 mm - Ngang 77.6 mm - Dày 9.5 mm\r\nTrọng lượng 240 g\r\nPin & Sạc\r\nLoại pin Li-Po\r\nDung lượng pin 6000 mAh\r\nCông nghệ pin Sạc nhanh Quick Charge 4.0, Tiết kiệm pin\r\nTiện ích\r\nBảo mật nâng cao Mở khoá vân tay dưới màn hình, Mở khoá khuôn mặt\r\nTính năng đặc biệt Chặn tin nhắn, Chặn cuộc gọi\r\nGhi âm Có (microphone chuyên dụng chống ồn)\r\nRadio Không\r\nXem phim \r\nWMV\r\nAVI\r\nMP4\r\n3GP\r\nNghe nhạc WAV, MP3\r\nThông tin khác\r\nThời điểm ra mắt Đang cập nhật', 34990000, 4, 1, 0, '0000-00-00 00:00:00'),
(111, 'Điện thoại Asus ROG Phone 3\r\n', 'asus-rog-phone-3-044020-104056-600x600.jpg', 'Màn hình\r\nCông nghệ màn hình AMOLED\r\nĐộ phân giải Full HD+ (1080 x 2340 Pixels)\r\nMàn hình rộng 6.59\"\r\nMặt kính cảm ứng Kính cường lực Corning Gorilla Glass 6\r\nCamera sau\r\nĐộ phân giải Chính 64 MP & Phụ 13 MP, 5 MP\r\nQuay phim \r\nHD 720p@480fps\r\nFullHD 1080p@60fps\r\nFullHD 1080p@30fps\r\nFullHD 1080p@120fps\r\n4K 2160p@60fps\r\n4K 2160p@30fps\r\n4K 2160p@120fps\r\n8K 4320p@30fps\r\nĐèn Flash Có\r\nTính năng \r\nLấy nét theo pha (PDAF)\r\nA.I Camera\r\nChạm lấy nét\r\nToàn cảnh (Panorama)\r\nTự động lấy nét (AF)\r\nHDR\r\nChống rung điện tử kỹ thuật số (EIS)\r\nGóc rộng (Wide)\r\nSiêu cận (Macro)\r\nGóc siêu rộng (Ultrawide)\r\nCamera trước\r\nĐộ phân giải 24 MP\r\nVideocall Thông qua ứng dụng thứ 3\r\nTính năng Làm đẹp, Quay video Full HD\r\nHệ điều hành & CPU\r\nHệ điều hành Android 10\r\nChip xử lý (CPU) Snapdragon 865+ 8 nhân\r\nTốc độ CPU 3 nhân 3.42 GHz, 1 nhân 3.1 GHz, 4 nhân 1.8 Ghz\r\nChip đồ họa (GPU) Adreno 650\r\nBộ nhớ & Lưu trữ\r\nRAM 12 GB\r\nBộ nhớ trong 512 GB\r\nBộ nhớ còn lại (khả dụng) Đang cập nhật\r\nThẻ nhớ ngoài Không\r\nKết nối\r\nMạng di động Hỗ trợ 5G\r\nSIM 2 Nano SIM\r\nWifi \r\nWi-Fi Direct\r\nWi-Fi 802.11 a/b/g/n/ac/ax\r\nWi-Fi hotspot\r\nDual-band (2.4 GHz/5 GHz)\r\nGPS \r\nQZSS\r\nGLONASS\r\nA-GPS\r\nGALILEO\r\nBDS\r\nBluetooth \r\nA2DP\r\nLE\r\napt-X\r\nv5.1\r\nCổng kết nối/sạc USB Type-C\r\nJack tai nghe Type-C\r\nKết nối khác NFC\r\nThiết kế & Trọng lượng\r\nThiết kế Nguyên khối\r\nChất liệu Khung nhôm & Mặt lưng kính cường lực\r\nKích thước Dài 171 mm - Ngang 78 mm - Dày 9.9 mm\r\nTrọng lượng 240 g\r\nPin & Sạc\r\nDung lượng pin 6000 mAh\r\nLoại pin Li-Po\r\nCông nghệ pin \r\nSạc ngược qua cáp\r\nTiết kiệm pin\r\nSạc nhanh Quick Charge 4.0\r\nTiện ích\r\nBảo mật nâng cao Mở khoá vân tay dưới màn hình\r\nTính năng đặc biệt Chặn tin nhắn, Chặn cuộc gọi\r\nGhi âm Có\r\nRadio Không\r\nXem phim Có\r\nNghe nhạc Có\r\nThông tin khác\r\nThời điểm ra mắt 07/2020', 5990000, 4, 1, 1, '0000-00-00 00:00:00'),
(112, 'Điện thoại Asus Zenfone 3 Max', 'asus-zenfone-3-max-8-300x300.jpg', 'Màn hình\r\nCông nghệ màn hình IPS LCD\r\nĐộ phân giải HD (720 x 1280 Pixels)\r\nMàn hình rộng 5.2\"\r\nMặt kính cảm ứng Kính cường lực\r\nCamera sau\r\nĐộ phân giải 13 MP\r\nQuay phim FullHD 1080p@30fps\r\nĐèn Flash Có\r\nTính năng \r\nTự động lấy nét (AF)\r\nPixelMaster\r\nHDR\r\nToàn cảnh (Panorama)\r\nChạm lấy nét\r\nCamera trước\r\nĐộ phân giải 5 MP\r\nVideocall Thông qua ứng dụng thứ 3\r\nTính năng Nhận diện khuôn mặt, Làm đẹp\r\nHệ điều hành & CPU\r\nChip xử lý (CPU) MediaTek MT6735 4 nhân\r\nTốc độ CPU 1.25 GHz\r\nChip đồ họa (GPU) Mali-T720\r\nBộ nhớ & Lưu trữ\r\nRAM 3 GB\r\nBộ nhớ trong 32 GB\r\nBộ nhớ còn lại (khả dụng) Khoảng 24 GB\r\nThẻ nhớ ngoài MicroSD, hỗ trợ tối đa 32 GB\r\nKết nối\r\nSIM 1 Nano SIM & 1 Micro SIM\r\nWifi \r\nWi-Fi hotspot\r\nWi-Fi 802.11 a/b/g/n\r\nWi-Fi Direct\r\nGPS GLONASS, A-GPS\r\nBluetooth \r\nA2DP\r\nv4.0\r\nEDR\r\nCổng kết nối/sạc Micro USB\r\nJack tai nghe 3.5 mm\r\nKết nối khác OTG\r\nThiết kế & Trọng lượng\r\nChất liệu Khung & Mặt lưng kim loại\r\nKích thước Dài 149.5 mm - Ngang 73.7 mm - Dày 8.55 mm\r\nTrọng lượng 148 g\r\nPin & Sạc\r\nDung lượng pin 4100 mAh\r\nLoại pin Li-Ion\r\nCông nghệ pin Tiết kiệm pin, Siêu tiết kiệm pin\r\nTiện ích\r\nBảo mật nâng cao Mở khóa bằng vân tay\r\nTính năng đặc biệt Vẽ lên màn hình để mở nhanh ứng dụng, Chạm 2 lần sáng màn hình\r\nGhi âm Có\r\nRadio Có\r\nXem phim \r\nAVI\r\nH.265\r\nDivX\r\nXvid\r\nWMV9\r\nH.264(MPEG4-AVC)\r\nMP4\r\n3GP\r\nNghe nhạc \r\nAAC\r\nMP3\r\nWAV\r\nAAC++\r\neAAC+\r\nLossless\r\nMidi\r\nThông tin khác\r\nThời điểm ra mắt 7/2016', 1490000, 4, 1, 0, '0000-00-00 00:00:00'),
(113, 'Điện thoại Asus Zenfone 2 Laser 5.5\" ZE550KL\r\n', 'asus-zenfone-2-laser-55-ze550kl-nkk-300x300.jpg', 'Màn hình\r\nCông nghệ màn hình IPS LCD\r\nĐộ phân giải HD (720 x 1280 Pixels)\r\nMàn hình rộng 5.5\"\r\nMặt kính cảm ứng Kính cường lực Corning Gorilla Glass 4\r\nCamera sau\r\nĐộ phân giải 13 MP\r\nQuay phim FullHD 1080p@30fps\r\nĐèn Flash Có\r\nTính năng \r\nNhận diện khuôn mặt\r\nTự động lấy nét (AF)\r\nHDR\r\nToàn cảnh (Panorama)\r\nChạm lấy nét\r\nPixelMaster\r\nCamera trước\r\nĐộ phân giải 5 MP\r\nVideocall Có\r\nTính năng Tự động lấy nét (AF)\r\nHệ điều hành & CPU\r\nChip xử lý (CPU) Snapdragon 410 4 nhân\r\nTốc độ CPU 1.2 GHz\r\nChip đồ họa (GPU) Adreno 306\r\nBộ nhớ & Lưu trữ\r\nRAM 2 GB\r\nBộ nhớ trong 16 GB\r\nBộ nhớ còn lại (khả dụng) Khoảng 10.9 GB\r\nThẻ nhớ ngoài Đang cập nhật\r\nKết nối\r\nSIM 2 Micro SIM\r\nWifi \r\nWi-Fi hotspot\r\nWi-Fi Direct\r\nWi-Fi 802.11 a/b/g/n\r\nGPS A-GPS, GLONASS\r\nBluetooth \r\nEDR\r\nA2DP\r\nCó\r\nCổng kết nối/sạc Micro USB\r\nJack tai nghe 3.5 mm\r\nKết nối khác Miracast, OTG\r\nThiết kế & Trọng lượng\r\nThiết kế Pin rời\r\nChất liệu Khung & Mặt lưng nhựa\r\nKích thước Dài 152.5 mm - Ngang 77.2 mm - Dày 10.8 mm\r\nTrọng lượng 170 g\r\nPin & Sạc\r\nDung lượng pin 3000 mAh\r\nLoại pin Li-Po\r\nTiện ích\r\nTính năng đặc biệt Chạm 2 lần sáng màn hình\r\nGhi âm Có\r\nRadio Có\r\nXem phim H.264(MPEG4-AVC), MP4\r\nNghe nhạc \r\neAAC+\r\nWAV\r\nMP3', 3190000, 4, 1, 1, '0000-00-00 00:00:00'),
(114, 'Điện thoại Asus Zenfone Go ZB450KL\r\n', 'asus-zenfone-go-zb450kl-300x300.jpg', 'Màn hình\r\nCông nghệ màn hình IPS LCD\r\nĐộ phân giải FWVGA (480 x 854 Pixels)\r\nMàn hình rộng 4.5\"\r\nMặt kính cảm ứng Kính thường\r\nCamera sau\r\nĐộ phân giải 8 MP\r\nQuay phim Có quay phim\r\nĐèn Flash Có\r\nTính năng Gắn thẻ địa lý (Geotagging), Tự động lấy nét (AF)\r\nCamera trước\r\nĐộ phân giải 2 MP\r\nVideocall Có\r\nTính năng Không\r\nHệ điều hành & CPU\r\nChip xử lý (CPU) Snapdragon 410 4 nhân\r\nTốc độ CPU 1.2 GHz\r\nChip đồ họa (GPU) Adreno 306\r\nBộ nhớ & Lưu trữ\r\nRAM 1 GB\r\nBộ nhớ trong 8 GB\r\nBộ nhớ còn lại (khả dụng) Đang cập nhật\r\nKết nối\r\nSIM 1 Nano SIM & 1 Micro SIM\r\nWifi \r\nWi-Fi 802.11 a/b/g/n\r\nWi-Fi Direct\r\nWi-Fi hotspot\r\nGPS A-GPS, GLONASS\r\nBluetooth \r\nLE\r\nv4.1\r\nv4.0\r\nCổng kết nối/sạc Micro USB\r\nJack tai nghe 3.5 mm\r\nKết nối khác OTG\r\nThiết kế & Trọng lượng\r\nThiết kế Pin rời\r\nChất liệu Khung & Mặt lưng nhựa\r\nKích thước 136.5 x 66.7 x 11.2 mm\r\nTrọng lượng 135 g\r\nPin & Sạc\r\nDung lượng pin 2070 mAh\r\nLoại pin Li-Ion\r\nTiện ích\r\nTính năng đặc biệt Không\r\nGhi âm Có\r\nRadio Có\r\nXem phim \r\nWMV9\r\nWMV\r\nXvid\r\nH.264(MPEG4-AVC)\r\nH.265\r\n3GP\r\nMP4\r\nAVI\r\nDivX\r\nNghe nhạc \r\nWAV\r\nMP3\r\nLossless\r\nMidi\r\nWMA', 3020000, 4, 1, 0, '0000-00-00 00:00:00'),
(115, 'Điện thoại ASUS Zenfone Max Pro M2', 'asus-zenfone-max-pro-m2-600x600.jpg', 'Màn hình\r\nCông nghệ màn hình IPS LCD\r\nĐộ phân giải Full HD+ (1080 x 2280 Pixels)\r\nMàn hình rộng 6.3\"\r\nMặt kính cảm ứng Kính cường lực Corning Gorilla Glass 6\r\nCamera sau\r\nĐộ phân giải Chính 12 MP & Phụ 5 MP\r\nQuay phim \r\n4K 2160p@30fps\r\nFullHD 1080p@60fps\r\nFullHD 1080p@30fps\r\nĐèn Flash Có\r\nTính năng \r\nXóa phông\r\nChạm lấy nét\r\nTự động lấy nét (AF)\r\nNhận diện khuôn mặt\r\nHDR\r\nCamera trước\r\nĐộ phân giải 13 MP\r\nVideocall Thông qua ứng dụng thứ 3\r\nTính năng \r\nTự động lấy nét (AF)\r\nLàm đẹp\r\nNhận diện khuôn mặt\r\nHệ điều hành & CPU\r\nChip xử lý (CPU) Snapdragon 660 8 nhân\r\nTốc độ CPU 4 nhân 2.2 GHz & 4 nhân 1.8 GHz\r\nChip đồ họa (GPU) Adreno 512\r\nBộ nhớ & Lưu trữ\r\nRAM 4 GB\r\nBộ nhớ trong 64 GB\r\nBộ nhớ còn lại (khả dụng) Khoảng 49 GB\r\nThẻ nhớ ngoài MicroSD, hỗ trợ tối đa 512 GB\r\nKết nối\r\nMạng di động Hỗ trợ 4G\r\nSIM 2 Nano SIM\r\nWifi Wi-Fi hotspot, Wi-Fi 802.11 a/b/g/n\r\nGPS \r\nA-GPS\r\nGLONASS\r\nBDS\r\nBluetooth A2DP, v5.0\r\nCổng kết nối/sạc Micro USB\r\nJack tai nghe 3.5 mm\r\nKết nối khác Không\r\nThiết kế & Trọng lượng\r\nThiết kế Nguyên khối\r\nChất liệu Khung & Mặt lưng nhựa\r\nKích thước Dài 157.9 mm - Ngang 75.5 mm - Dày 8.5 mm\r\nTrọng lượng 170 g\r\nPin & Sạc\r\nDung lượng pin 5000 mAh\r\nLoại pin Li-Po\r\nCông nghệ pin Tiết kiệm pin\r\nTiện ích\r\nBảo mật nâng cao Mở khóa bằng vân tay\r\nTính năng đặc biệt Chặn cuộc gọi, Chặn tin nhắn\r\nGhi âm Có (microphone chuyên dụng chống ồn)\r\nRadio Có\r\nXem phim H.264(MPEG4-AVC), MP4\r\nNghe nhạc \r\neAAC+\r\nMP3\r\nWAV\r\nThông tin khác\r\nThời điểm ra mắt 12/2018', 4720000, 4, 1, 1, '0000-00-00 00:00:00'),
(116, 'Điện thoại Asus Zenfone Zoom\r\n', 'asus-zenfone-zoom-300-300-300x300.jpg', 'Màn hình\r\nCông nghệ màn hình IPS LCD\r\nĐộ phân giải Full HD (1080 x 1920 Pixels)\r\nMàn hình rộng 5.5\"\r\nMặt kính cảm ứng Kính cường lực Corning Gorilla Glass 3\r\nCamera sau\r\nĐộ phân giải 13 MP\r\nQuay phim FullHD 1080p@30fps\r\nĐèn Flash Có\r\nCamera trước\r\nĐộ phân giải 5 MP\r\nVideocall Có\r\nHệ điều hành & CPU\r\nTốc độ CPU 2.3 GHz\r\nChip đồ họa (GPU) IMG PowerVR G6430\r\nBộ nhớ & Lưu trữ\r\nBộ nhớ trong 16 GB\r\nKết nối\r\nSIM 1 Micro SIM\r\nCổng kết nối/sạc Micro USB\r\nJack tai nghe 3.5 mm\r\nThiết kế & Trọng lượng\r\nThiết kế Pin liền\r\nChất liệu Khung & Mặt lưng nhựa\r\nKích thước Ngang 152.5 mm - Dài 77.2 mm - Dày 10.9 mm\r\nTrọng lượng 170 g\r\nPin & Sạc\r\nDung lượng pin 3000 mAh\r\nLoại pin Li-Po\r\nTiện ích\r\nGhi âm Có\r\nRadio Không\r\nXem phim \r\nMP4\r\nH.264(MPEG4-AVC)\r\nH.263\r\nWMV\r\n3GP\r\nNghe nhạc \r\nWMA9\r\nAAC+\r\nAAC\r\nWMA\r\nMP3', 2390000, 4, 1, 0, '0000-00-00 00:00:00'),
(117, 'Điện thoại Asus Zenfone 6 A600\r\n', 'Zenfone6-nowatermark-300x300.jpg', 'Màn hình\r\nCông nghệ màn hình IPS LCD\r\nĐộ phân giải HD (720 x 1280 Pixels)\r\nMàn hình rộng 6.0\"\r\nMặt kính cảm ứng Kính thường\r\nCamera sau\r\nĐộ phân giải 13 MP\r\nQuay phim FullHD 1080p@30fps\r\nĐèn Flash Có\r\nCamera trước\r\nĐộ phân giải 2 MP\r\nVideocall Thông qua ứng dụng thứ 3\r\nHệ điều hành & CPU\r\nTốc độ CPU 2.0 GHz\r\nChip đồ họa (GPU) IMG PowerVR SGX544\r\nBộ nhớ & Lưu trữ\r\nBộ nhớ trong 16 GB\r\nKết nối\r\nSIM 1 Micro SIM\r\nCổng kết nối/sạc Micro USB\r\nJack tai nghe 3.5 mm\r\nKết nối khác Không\r\nThiết kế & Trọng lượng\r\nThiết kế Pin liền\r\nChất liệu Khung & Mặt lưng nhựa\r\nKích thước Dài 166.9 mm - Ngang 84.3 mm - Dày 9.9 mm\r\nTrọng lượng 196\r\nPin & Sạc\r\nLoại pin Li-Po\r\nDung lượng pin 3300 mAh\r\nTiện ích\r\nGhi âm Có\r\nRadio Có\r\nXem phim \r\nH.264(MPEG4-AVC)\r\nH.263\r\nMP4\r\nNghe nhạc \r\neAAC+\r\nWAV\r\nMP3', 1490000, 4, 1, 1, '0000-00-00 00:00:00'),
(118, 'Laptop Asus VivoBook X509JA i3 1005G1/4GB/256GB/Win10 (EJ480T)', 'asus-vivobook-x509ja-i3-ej480t-225608-600x600.jpg', 'Bộ xử lý\r\nCông nghệ CPU Intel Core i3 Ice Lake\r\nLoại CPU 1005G1\r\nTốc độ CPU 1.20 GHz\r\nTốc độ tối đa Turbo Boost 3.4 GHz\r\nBộ nhớ RAM, Ổ cứng\r\nRAM 4 GB\r\nLoại RAM DDR4 (On board +1 khe)\r\nTốc độ Bus RAM 2666 MHz\r\nHỗ trợ RAM tối đa 20 GB\r\nỔ cứng SSD 256GB NVMe PCIe, Hỗ trợ khe cắm HDD SATA\r\nMàn hình\r\nKích thước màn hình 15.6 inch\r\nĐộ phân giải Full HD (1920 x 1080)\r\nCông nghệ màn hình \r\n60Hz\r\nChống chói Anti-Glare\r\nLED Backlit\r\nMàn hình cảm ứng Không\r\nĐồ họa và Âm thanh\r\nThiết kế card Card đồ họa tích hợp\r\nCard đồ họa Intel UHD Graphics\r\nCông nghệ âm thanh SonicMaster audio\r\nCổng kết nối & tính năng mở rộng\r\nCổng giao tiếp \r\n2 x USB 2.0\r\nUSB 3.1\r\nHDMI\r\nUSB Type-C\r\nKết nối không dây Bluetooth 4.2, Wi-Fi 802.11 a/b/g/n/ac\r\nKhe đọc thẻ nhớ Micro SD\r\nWebcam VGA Webcam\r\nTính năng khác Bảo mật vân tay\r\nĐèn bàn phím Không\r\nPin & Adapter sạc\r\nModel Adapter sạc AD2066020\r\nLoại PIN PIN liền\r\nThông tin Pin Li-Ion 2 cell\r\nHệ điều hành\r\nHệ điều hành Windows 10 Home SL\r\nKích thước & trọng lượng\r\nKích thước Dài 360.2 mm - Rộng 234.9 mm - Dày 22.9 mm\r\nTrọng lượng 1.73 kg\r\nChất liệu Vỏ nhựa\r\nThông tin khác\r\nThời điểm ra mắt 2020', 10690000, 4, 2, 1, '0000-00-00 00:00:00'),
(119, 'Laptop Asus VivoBook A415EA i5 1135G7/8GB/512GB/Win10 (EB354T)\r\n', 'asus-vivobook-a415ea-i5-eb354t-600x600.jpg', 'Bộ xử lý\r\nCông nghệ CPU Intel Core i5 Tiger Lake\r\nLoại CPU 1135G7\r\nTốc độ CPU 2.40 GHz\r\nTốc độ tối đa Turbo Boost 4.2 GHz\r\nBộ nhớ RAM, Ổ cứng\r\nRAM 8 GB\r\nLoại RAM DDR4 (On board)\r\nTốc độ Bus RAM 3200 MHz\r\nHỗ trợ RAM tối đa Không hỗ trợ nâng cấp\r\nỔ cứng SSD 512 GB M.2 PCIe, Hỗ trợ khe cắm SSD M.2 PCIe\r\nMàn hình\r\nKích thước màn hình 14 inch\r\nĐộ phân giải Full HD (1920 x 1080)\r\nCông nghệ màn hình \r\nTấm nền IPS\r\nChống chói Anti Glare\r\n60Hz\r\nLED Backlit\r\nMàn hình cảm ứng Không\r\nĐồ họa và Âm thanh\r\nThiết kế card Card đồ họa tích hợp\r\nCard đồ họa Intel® Iris® Xe Graphics\r\nCông nghệ âm thanh Audio by Harman/Kardon\r\nCổng kết nối & tính năng mở rộng\r\nCổng giao tiếp \r\n2 x USB 2.0\r\nUSB 3.1\r\nHDMI\r\nUSB Type-C\r\nKết nối không dây Wi-Fi 6 - 802.11ax, Bluetooth v5.0\r\nKhe đọc thẻ nhớ Micro SD\r\nWebcam HD webcam\r\nTính năng khác Bảo mật vân tay\r\nĐèn bàn phím Không\r\nPin & Adapter sạc\r\nModel Adapter sạc ADP-65DW Z\r\nLoại PIN PIN liền\r\nThông tin Pin 3-cell Li-ion, 42 Wh\r\nHệ điều hành\r\nHệ điều hành Windows 10 Home SL\r\nKích thước & trọng lượng\r\nKích thước Dài 324 mm - Rộng 215 mm - Dày 17.9 mm\r\nTrọng lượng 1.4 kg\r\nChất liệu Vỏ nhựa - nắp lưng bằng kim loại\r\nThông tin khác\r\nThời điểm ra mắt 2020', 16990000, 4, 2, 0, '0000-00-00 00:00:00'),
(120, 'Laptop Asus VivoBook A415EA i5 1135G7/8GB/32GB+512GB/Win10 (EB355T)\r\n\r\n', 'asus-vivobook-a415ea-i5-eb355t-600x600.jpg', 'Bộ xử lý\r\nCông nghệ CPU Intel Core i5 Tiger Lake\r\nLoại CPU 1135G7\r\nTốc độ CPU 2.40 GHz\r\nTốc độ tối đa Turbo Boost 4.2 GHz\r\nBộ nhớ RAM, Ổ cứng\r\nRAM 8 GB\r\nLoại RAM DDR4 (On board)\r\nTốc độ Bus RAM 3200 MHz\r\nHỗ trợ RAM tối đa Không hỗ trợ nâng cấp\r\nỔ cứng \r\nIntel Optane 32GB (H10)\r\nSSD 512 GB M.2 PCIe\r\nHỗ trợ khe cắm SSD M.2 PCIe\r\nMàn hình\r\nKích thước màn hình 14 inch\r\nĐộ phân giải Full HD (1920 x 1080)\r\nCông nghệ màn hình \r\nTấm nền IPS\r\nChống chói Anti Glare\r\n60Hz\r\nLED Backlit\r\nMàn hình cảm ứng Không\r\nĐồ họa và Âm thanh\r\nThiết kế card Card đồ họa tích hợp\r\nCard đồ họa Intel® Iris® Xe Graphics\r\nCông nghệ âm thanh Audio by Harman/Kardon\r\nCổng kết nối & tính năng mở rộng\r\nCổng giao tiếp \r\n2 x USB 2.0\r\nUSB 3.1\r\nHDMI\r\nUSB Type-C\r\nKết nối không dây Wi-Fi 6 - 802.11ax, Bluetooth v5.0\r\nKhe đọc thẻ nhớ Micro SD\r\nWebcam HD webcam\r\nTính năng khác Bảo mật vân tay\r\nĐèn bàn phím Không\r\nPin & Adapter sạc\r\nModel Adapter sạc ADP-65DW Z\r\nLoại PIN PIN liền\r\nThông tin Pin 3-cell Li-ion, 42 Wh\r\nHệ điều hành\r\nHệ điều hành Windows 10 Home SL\r\nKích thước & trọng lượng\r\nKích thước Dài 324 mm - Rộng 215 mm - Dày 17.9 mm\r\nTrọng lượng 1.4 kg\r\nChất liệu Vỏ nhựa - nắp lưng bằng kim loại\r\nThông tin khác\r\nThời điểm ra mắt 2020', 17290000, 4, 2, 0, '0000-00-00 00:00:00'),
(121, 'Máy tính bảng Asus Zenpad 3S 10 Z500KL\r\n', 'asus-zenpad-3s-10-z500kl_m-1-300x300.jpg', 'Màn hình\r\nCông nghệ màn hình IPS LCD\r\nĐộ phân giải 1536 x 2048 Pixels\r\nKích thước màn hình 9.7\"\r\nHệ điều hành & CPU\r\nChip xử lý (CPU) Snapdragon 650 6 nhân\r\nChip đồ hoạ (GPU) Adreno 510\r\nBộ nhớ & Lưu trữ\r\nRAM 4 GB\r\nBộ nhớ trong 32 GB\r\nBộ nhớ còn lại (khả dụng) Đang cập nhật\r\nChụp ảnh & Quay phim\r\nCamera sau 5 MP\r\nQuay phim FullHD 1080p@30fps\r\nTính năng camera sau \r\nNhận diện nụ cười\r\nGắn thẻ địa lý\r\nPanorama\r\nCamera trước 8 MP\r\nKết nối\r\nSIM 1 Nano SIM\r\nThực hiện cuộc gọi Không\r\nWifi Có\r\nGPS GLONASS\r\nBluetooth \r\nv4.1\r\nEDR\r\nLE\r\napt-X\r\nCổng kết nối/sạc Micro USB\r\nJack tai nghe 3.5 mm\r\nTiện ích\r\nGhi âm Đang cập nhật\r\nRadio Đang cập nhật\r\nThiết kế & Trọng lượng\r\nChất liệu Đang cập nhật\r\nKích thước Dài 242 mm - Rộng 164.2 mm - Dày 6.8 mm\r\nTrọng lượng 490 g\r\n', 4650000, 4, 3, 1, '0000-00-00 00:00:00'),
(122, 'Máy tính bảng Asus Padfone\r\n', 'tablet-Asus-Padfone-dienmay.com-L.jpg', 'Màn hình\r\nCông nghệ màn hình TFT LCD\r\nĐộ phân giải 600 x 1024 Pixels\r\nKích thước màn hình 4.3\"\r\nChụp ảnh & Quay phim\r\nCamera sau 5 MP\r\nCamera trước Không\r\nKết nối\r\nCổng kết nối/sạc Micro USB\r\nTiện ích\r\nGhi âm Ghi âm môi trường\r\nThiết kế & Trọng lượng\r\nKích thước Đang cập nhật\r\nTrọng lượng Đang cập nhật', 1490000, 4, 3, 1, '0000-00-00 00:00:00'),
(123, 'Máy tính bảng Asus EeePad Transformer\r\n', 'ASUS-Eee-Pad-Transformer-L.jpg', 'Màn hình\r\nCông nghệ màn hình LED-backlit IPS LCD\r\nĐộ phân giải 800 x 1280 Pixels\r\nKích thước màn hình 10.1\"\r\nHệ điều hành & CPU\r\nTốc độ CPU 1 GHz\r\nCảm biến \r\nÁnh sáng\r\nGia tốc\r\nCon quay hồi chuyển 3 chiều\r\nLa bàn\r\nBộ nhớ & Lưu trữ\r\nRAM 1 GB\r\nBộ nhớ trong 16 GB\r\nChụp ảnh & Quay phim\r\nCamera sau 5 MP\r\nQuay phim HD 720p@24fps\r\nCamera trước 1.2 MP\r\nKết nối\r\nSIM Không\r\nJack tai nghe 3.5 mm\r\nTiện ích\r\nGhi âm Không\r\nRadio Không\r\nThiết kế & Trọng lượng\r\nKích thước 271 x 171 x 12.98 mm\r\nTrọng lượng 680', 2390000, 4, 3, 0, '0000-00-00 00:00:00'),
(124, 'Máy tính bảng Asus Fonepad 7” 3G 8Gb (ME371MG)_Z2460\r\n', 'Asus-fonedpad-Z2460-nowatermark-300x300.jpg', 'Màn hình\r\nCông nghệ màn hình LED-backlit IPS LCD\r\nĐộ phân giải 800 x 1280 Pixels\r\nKích thước màn hình 7\"\r\nHệ điều hành & CPU\r\nTốc độ CPU 1.6 GHz\r\nChip đồ hoạ (GPU) IMG PowerVR SGX540\r\nCảm biến \r\nTiệm cận\r\nCon quay hồi chuyển 3 chiều\r\nÁnh sáng\r\nRung\r\nBộ nhớ & Lưu trữ\r\nRAM 1 GB\r\nBộ nhớ trong 8 GB\r\nChụp ảnh & Quay phim\r\nCamera sau 3.15 MP\r\nQuay phim HD 720p@24fps\r\nCamera trước 1.2 MP\r\nKết nối\r\nCổng kết nối/sạc Micro USB\r\nJack tai nghe 3.5 mm\r\nTiện ích\r\nGhi âm Ghi âm môi trường\r\nRadio Không\r\nThiết kế & Trọng lượng\r\nKích thước 196.4 x 120.1 x 10.4 mm\r\nTrọng lượng 340\r\nPin & Sạc\r\nLoại pin Li-Ion', 1490000, 4, 3, 0, '0000-00-00 00:00:00'),
(125, 'Tai nghe EP Gaming Asus Rog Cetra Core Đen\r\n', 'ep-gaming-asus-rog-cetra-core-den-ava-600x600.jpg', 'Thông số kỹ thuật\r\nTương thích: AndroidWindowsiOS (iPhone)\r\nJack cắm: 3.5 mm\r\nKết nối cùng lúc: 1 thiết bị\r\nPhím điều khiển: Phát/dừng chơi nhạcTăng/giảm âm lượng\r\nĐộ dài dây 130 cm\r\nTrọng lượng: 16 g\r\nThương hiệu của: Đài Loan\r\nSản xuất tại: Trung Quốc', 1190000, 4, 4, 1, '0000-00-00 00:00:00'),
(126, 'Tai nghe chụp tai Gaming Asus TUF H3 Đen Đỏ\r\n', 'tai-nghe-chup-tai-gaming-asus-tuf-h3-den-do-1-600x600.jpg', 'Thông số kỹ thuật\r\nTương thích: AndroidWindows\r\nJack cắm: 3.5 mm\r\nCông nghệ âm thanh: Âm thanh vòm 7.1\r\nKết nối cùng lúc: 1 thiết bị\r\nTrọng lượng: 294g\r\nThương hiệu của: Đài Loan\r\nSản xuất tại: Trung Quốc', 965000, 4, 4, 1, '0000-00-00 00:00:00'),
(127, 'Tai nghe chụp tai Gaming 7.1 Rapoo VH510 Đen', 'tai-nghe-chup-tai-gaming-71-rapoo-vh510-den-1-600x600.jpg', 'Thông số kỹ thuật\r\nTương thích: Windows\r\nJack cắm: USB\r\nCông nghệ âm thanh: Âm thanh vòm 7.1\r\nKết nối cùng lúc: 1 thiết bị\r\nPhím điều khiển: Tăng/giảm âm lượng\r\nTrọng lượng: 520g\r\nThương hiệu của: Trung Quốc\r\nSản xuất tại: Trung Quốc', 799000, 4, 4, 0, '0000-00-00 00:00:00'),
(128, 'Tai nghe Gaming Asus VH500 7.1 Đen\r\n', 'tai-nghe-gaming-rapoo-vh500-71-den-1-2-600x600.jpg', 'Thông số kỹ thuật\r\nTương thích: Windows\r\nJack cắm: USB\r\nCông nghệ âm thanh: Âm thanh vòm 7.1\r\nKết nối cùng lúc: 1 thiết bị\r\nPhím điều khiển: Mic thoạiTăng/giảm âm lượng\r\nTrọng lượng: 520g (kèm hộp)\r\nThương hiệu của: Trung Quốc\r\nSản xuất tại: Trung Quốc', 599000, 4, 4, 0, '0000-00-00 00:00:00'),
(129, 'SẠC DỰ PHÒNG ASUS ZENPOWER 9600', 'asus-zenpower-10050mah-didongviet.jpg', 'Thông số kĩ thuật\r\nThiết kế thời trang nhỏ gọn\r\nDòng điện đầu ra: 2.4A\r\nDung lượng pin: 10050 mAh\r\nKích thước: 90,5 mm x 59 mm, độ dày 2,2 cm.\r\nTrọng lượng: 215 gr', 329000, 4, 5, 1, '0000-00-00 00:00:00'),
(130, 'Pin sạc dự phòng Polymer 10.000 mAh Type C Asus PJ JP106S', 'polymer-10000-mah-type-c-esaver-pj-jp106s-avatar-1-600x600.jpg', 'Thông số kỹ thuật\r\nHiệu suất sạc: 62.5%\r\nDung lượng pin: 10.000 mAh\r\nThời gian sạc đầy pin: 10 - 11 giờ (dùng Adapter 1A)5 - 6 giờ (dùng Adapter 2A)\r\nNguồn ra: Type-C: 5V - 2AUSB: 5V - 2A\r\nLõi pin: Polymer\r\nCông nghệ/Tiện ích: Đèn LED báo hiệu\r\nKích thước: Dài 14 cm - Ngang 7.2 cm - Dày 1.4 cm\r\nTrọng lượng: 254.6 g\r\nSản xuất tại: Trung Quốc', 390000, 4, 5, 1, '0000-00-00 00:00:00'),
(131, 'Pin sạc dự phòng Polymer 10.000 mAh Lightning Asus PJ JP188 Xám', 'pin-sac-du-phong-polymer-10000mah-lightning-esaver-add-1-600x600.jpg', 'Thông số kỹ thuật\r\nHiệu suất sạc: 65%\r\nDung lượng pin: 10.000 mAh\r\nThời gian sạc đầy pin: 10 - 11 giờ (dùng Adapter 1A)5 - 6 giờ (dùng Adapter 2A)\r\nNguồn vào: Micro USB/Lightning: 5V - 2A\r\nNguồn ra: USB: 5V - 2A\r\nLõi pin: Polymer\r\nCông nghệ/Tiện ích: Đèn LED báo hiệu\r\nKích thước: Dài 13.9 cm - Ngang 7.09 cm - Dày 1.6 cm\r\nTrọng lượng: 228 g\r\nSản xuất tại: Trung Quốc', 552000, 4, 5, 0, '0000-00-00 00:00:00'),
(132, 'Pin sạc dự phòng 10.050 mAh Type-C PD QC3.0 Asus PB-XD10 Đen', 'pin-du-phong-10050mah-type-c-pd-qc30-aukey-pb-xd10-ava-600x600 (1).jpg', 'Thông số kỹ thuật\r\nHiệu suất sạc: 66%\r\nDung lượng pin: 10.050 mAh\r\nThời gian sạc đầy pin: 10 - 11 giờ (dùng Adapter 1A)5 - 6 giờ (dùng Adapter 2A)\r\nNguồn vào: Type C: 5V - 2.4A, 9V - 2A, 12V - 1.5A\r\nNguồn ra: Type C: 5V - 2.4A, 9V - 2A, 12V - 1.5AUSB: 5-6.5V - 3A, 6.5-9V - 2A, 9-12V - 1.5A\r\nLõi pin: Li-Ion\r\nCông nghệ/Tiện ích: AiPowerQuick Charge 3.0Power Delivery\r\nKích thước: Dài 10.5 cm - Ngang 6.3 cm - Dày 2.2 cm\r\nTrọng lượng: 182g\r\nThương hiệu của: Đức\r\nSản xuất tại: Trung Quốc', 594000, 4, 5, 0, '0000-00-00 00:00:00'),
(133, 'Điện thoại Sony Xperia 1 III\r\n', 'sony-xperia-1-iii-301620-111616-600x600.jpg', 'Màn hình\r\nCông nghệ màn hình Đang cập nhật\r\nĐộ phân giải Đang cập nhật\r\nMàn hình rộng Đang cập nhật\r\nMặt kính cảm ứng Đang cập nhật\r\nCamera sau\r\nĐộ phân giải Đang cập nhật\r\nQuay phim Đang cập nhật\r\nĐèn Flash Đang cập nhật\r\nTính năng Đang cập nhật\r\nCamera trước\r\nĐộ phân giải Đang cập nhật\r\nVideocall Đang cập nhật\r\nTính năng Đang cập nhật\r\nHệ điều hành & CPU\r\nHệ điều hành Đang cập nhật\r\nChip xử lý (CPU) Đang cập nhật\r\nTốc độ CPU Đang cập nhật\r\nChip đồ họa (GPU) Đang cập nhật\r\nBộ nhớ & Lưu trữ\r\nRAM Đang cập nhật\r\nBộ nhớ trong Đang cập nhật\r\nBộ nhớ còn lại (khả dụng) Đang cập nhật\r\nThẻ nhớ ngoài Đang cập nhật\r\nKết nối\r\nMạng di động Đang cập nhật\r\nSIM Đang cập nhật\r\nWifi Có\r\nGPS Có\r\nBluetooth Có\r\nCổng kết nối/sạc Đang cập nhật\r\nJack tai nghe Đang cập nhật\r\nKết nối khác Đang cập nhật\r\nThiết kế & Trọng lượng\r\nThiết kế Đang cập nhật\r\nChất liệu Đang cập nhật\r\nKích thước Đang cập nhật\r\nTrọng lượng Đang cập nhật\r\nPin & Sạc\r\nDung lượng pin Đang cập nhật\r\nLoại pin Đang cập nhật\r\nCông nghệ pin Đang cập nhật\r\nTiện ích\r\nBảo mật nâng cao Đang cập nhật\r\nTính năng đặc biệt Đang cập nhật\r\nGhi âm Đang cập nhật\r\nRadio Đang cập nhật\r\nXem phim Có\r\nNghe nhạc Có\r\nThông tin khác\r\nThời điểm ra mắt Đang cập nhật', 1490000, 5, 1, 0, '0000-00-00 00:00:00'),
(134, 'Điện thoại Sony Xperia Edge Xtreme\r\n', 'sony-xperia-edge-xtreme-235520-085546-600x600.jpg', 'Màn hình\r\nCông nghệ màn hình AMOLED\r\nĐộ phân giải Đang cập nhật\r\nMàn hình rộng 6.9\"\r\nMặt kính cảm ứng Đang cập nhật\r\nCamera sau\r\nĐộ phân giải Chính 108 MP & Phụ 64 MP, 16 MP, 0.3 MP\r\nQuay phim Có quay phim\r\nĐèn Flash Đèn LED kép\r\nTính năng Đang cập nhật\r\nCamera trước\r\nĐộ phân giải 16 MP\r\nVideocall Thông qua ứng dụng thứ 3\r\nTính năng Đang cập nhật\r\nHệ điều hành & CPU\r\nHệ điều hành Đang cập nhật\r\nChip xử lý (CPU) Snapdragon 865 8 nhân\r\nTốc độ CPU Đang cập nhật\r\nChip đồ họa (GPU) Đang cập nhật\r\nBộ nhớ & Lưu trữ\r\nRAM 12 GB\r\nBộ nhớ trong 512 GB\r\nBộ nhớ còn lại (khả dụng) Đang cập nhật\r\nThẻ nhớ ngoài Đang cập nhật\r\nKết nối\r\nMạng di động Đang cập nhật\r\nSIM Đang cập nhật\r\nWifi Có\r\nGPS Có\r\nBluetooth Có\r\nCổng kết nối/sạc Đang cập nhật\r\nJack tai nghe Đang cập nhật\r\nKết nối khác Đang cập nhật\r\nThiết kế & Trọng lượng\r\nThiết kế Đang cập nhật\r\nChất liệu Khung hợp kim phủ nhựa & Mặt lưng thuỷ tinh hữu cơ\r\nKích thước Đang cập nhật\r\nTrọng lượng Đang cập nhật\r\nPin & Sạc\r\nLoại pin Đang cập nhật\r\nDung lượng pin 5000 mAh\r\nCông nghệ pin Sạc pin nhanh\r\nTiện ích\r\nBảo mật nâng cao Đang cập nhật\r\nTính năng đặc biệt Đang cập nhật\r\nGhi âm Đang cập nhật\r\nRadio Đang cập nhật\r\nXem phim Có\r\nNghe nhạc Có\r\nThông tin khác\r\nThời điểm ra mắt Đang cập nhật\r\n', 790000, 5, 1, 1, '0000-00-00 00:00:00'),
(135, 'Điện thoại Sony Xperia 20\r\n', 'sony-xperia-20-600x600.jpg', 'Màn hình\r\nCông nghệ màn hình IPS LCD\r\nĐộ phân giải Đang cập nhật\r\nMàn hình rộng 6\"\r\nMặt kính cảm ứng Kính cường lực Corning Gorilla Glass 5\r\nCamera sau\r\nĐộ phân giải Đang cập nhật\r\nQuay phim FullHD 1080p@30fps, 4K 2160p@30fps\r\nĐèn Flash Có\r\nTính năng \r\nToàn cảnh (Panorama)\r\nXóa phông\r\nChạm lấy nét\r\nHDR\r\nNhận diện khuôn mặt\r\nTự động lấy nét (AF)\r\nLấy nét theo pha (PDAF)\r\nCamera trước\r\nĐộ phân giải Đang cập nhật\r\nVideocall Thông qua ứng dụng thứ 3\r\nTính năng \r\nTự động chụp khi nhận diện nụ cười\r\nNhận diện khuôn mặt\r\nLàm đẹp\r\nTự động lấy nét (AF)\r\nGóc rộng (Wide)\r\nHệ điều hành & CPU\r\nHệ điều hành Android 9 (Pie)\r\nChip xử lý (CPU) Đang cập nhật\r\nTốc độ CPU Đang cập nhật\r\nChip đồ họa (GPU) Đang cập nhật\r\nBộ nhớ & Lưu trữ\r\nRAM Đang cập nhật\r\nBộ nhớ trong Đang cập nhật\r\nBộ nhớ còn lại (khả dụng) Đang cập nhật\r\nThẻ nhớ ngoài MicroSD, hỗ trợ tối đa 512 GB\r\nKết nối\r\nMạng di động Hỗ trợ 4G\r\nSIM 2 Nano SIM (SIM 2 chung khe thẻ nhớ)\r\nWifi \r\nWi-Fi hotspot\r\nDual-band (2.4 GHz/5 GHz)\r\nWi-Fi Direct\r\nWi-Fi 802.11 a/b/g/n/ac\r\nGPS Có\r\nBluetooth \r\nv5.0\r\nLE\r\napt-X\r\nA2DP\r\nCổng kết nối/sạc USB Type-C\r\nJack tai nghe 3.5 mm\r\nKết nối khác NFC\r\nThiết kế & Trọng lượng\r\nThiết kế Nguyên khối\r\nChất liệu Khung & Mặt lưng kim loại\r\nKích thước Dài 157.8 mm - Ngang 68.9 mm - Dày 8.14 mm\r\nTrọng lượng Đang cập nhật\r\nPin & Sạc\r\nDung lượng pin Đang cập nhật\r\nLoại pin Li-Ion\r\nCông nghệ pin Sạc nhanh Quick Charge 3.0, Tiết kiệm pin\r\nTiện ích\r\nBảo mật nâng cao Mở khóa bằng vân tay\r\nGhi âm Có (microphone chuyên dụng chống ồn)\r\nRadio Có\r\nXem phim \r\nMP4\r\nH.265\r\nDivX\r\nH.264(MPEG4-AVC)\r\nH.263\r\nWMV\r\nAVI\r\n3GP\r\nNghe nhạc \r\nAAC\r\nMP3\r\nWAV\r\nWMA\r\nAAC+\r\nAAC++\r\nLossless\r\nMidi\r\nThông tin khác\r\nThời điểm ra mắt Đang cập nhật\r\n', 5990000, 5, 1, 0, '0000-00-00 00:00:00'),
(136, 'Điện thoại Sony S20A\r\n', 'sony-s20a-600x600-600x600.jpg', 'Màn hình\r\nCông nghệ màn hình Đang cập nhật\r\nĐộ phân giải Đang cập nhật\r\nMàn hình rộng 5.45\"\r\nMặt kính cảm ứng Đang cập nhật\r\nCamera sau\r\nĐộ phân giải Đang cập nhật\r\nQuay phim \r\n4K 2160p@30fps\r\nFullHD 1080p@30fps\r\nFullHD 1080p@60fps\r\nSiêu chậm 960 fps\r\nĐèn Flash Có\r\nTính năng \r\nNhận diện khuôn mặt\r\nQuay Siêu chậm (Super Slow Motion)\r\nChạm lấy nét\r\nHDR\r\nToàn cảnh (Panorama)\r\nTự động lấy nét (AF)\r\nCamera trước\r\nĐộ phân giải Đang cập nhật\r\nVideocall Thông qua ứng dụng thứ 3\r\nTính năng \r\nNhận diện khuôn mặt\r\nLàm đẹp\r\nTự động lấy nét (AF)\r\nHệ điều hành & CPU\r\nHệ điều hành Android 10\r\nChip xử lý (CPU) Đang cập nhật\r\nTốc độ CPU Đang cập nhật\r\nChip đồ họa (GPU) Đang cập nhật\r\nBộ nhớ & Lưu trữ\r\nRAM Đang cập nhật\r\nBộ nhớ trong Đang cập nhật\r\nBộ nhớ còn lại (khả dụng) Đang cập nhật\r\nThẻ nhớ ngoài Đang cập nhật\r\nKết nối\r\nSIM 2 Nano SIM\r\nWifi \r\nWi-Fi hotspot\r\nDLNA\r\nWi-Fi Direct\r\nWi-Fi 802.11 a/b/g/n\r\nGPS A-GPS, GLONASS\r\nBluetooth \r\nA2DP\r\nLE\r\nv5.0\r\nCổng kết nối/sạc USB Type-C\r\nJack tai nghe Không\r\nKết nối khác \r\nNFC\r\nOTG\r\nMiracast\r\nThiết kế & Trọng lượng\r\nThiết kế Nguyên khối\r\nChất liệu Khung nhôm & Mặt lưng nhựa\r\nKích thước Dài 150.8 mm - Ngang 72.8 mm - Dày 12.5 mm\r\nTrọng lượng Đang cập nhật\r\nPin & Sạc\r\nDung lượng pin 4000 mAh\r\nCông nghệ pin Sạc pin nhanh, Tiết kiệm pin\r\nTiện ích\r\nBảo mật nâng cao Mở khóa bằng vân tay\r\nTính năng đặc biệt \r\nChặn cuộc gọi\r\nChặn tin nhắn\r\nKháng nước, kháng bụi\r\nGhi âm Có (microphone chuyên dụng chống ồn)\r\nRadio Không\r\nXem phim \r\n3GP\r\nH.265\r\nXvid\r\nH.264(MPEG4-AVC)\r\nH.263\r\nWMV\r\nAVI\r\nMP4\r\nNghe nhạc \r\nWAV\r\nFLAC\r\neAAC+\r\nMP3\r\nThông tin khác\r\nThời điểm ra mắt Đang cập nhật', 4990000, 5, 1, 1, '0000-00-00 00:00:00');
INSERT INTO `products` (`ID`, `Name`, `Image`, `Description`, `Price`, `manu_ID`, `type_ID`, `Feature`, `creat_at`) VALUES
(137, 'Điện thoại Sony Xepria 1 III Compact\r\n', 'sony-xepria-1-iii-compact-230620-030629-600x600.jpg', 'Màn hình\r\nCông nghệ màn hình Đang cập nhật\r\nĐộ phân giải Đang cập nhật\r\nMàn hình rộng Đang cập nhật\r\nMặt kính cảm ứng Đang cập nhật\r\nCamera sau\r\nĐộ phân giải Đang cập nhật\r\nĐèn Flash Đang cập nhật\r\nCamera trước\r\nĐộ phân giải Đang cập nhật\r\nVideocall Thông qua ứng dụng thứ 3\r\nTính năng Quay video Full HD, HDR\r\nHệ điều hành & CPU\r\nHệ điều hành Android 11\r\nChip xử lý (CPU) Đang cập nhật\r\nTốc độ CPU Đang cập nhật\r\nChip đồ họa (GPU) Đang cập nhật\r\nBộ nhớ & Lưu trữ\r\nRAM Đang cập nhật\r\nBộ nhớ trong Đang cập nhật\r\nBộ nhớ còn lại (khả dụng) Đang cập nhật\r\nThẻ nhớ ngoài Đang cập nhật\r\nKết nối\r\nMạng di động Đang cập nhật\r\nSIM Đang cập nhật\r\nCổng kết nối/sạc Đang cập nhật\r\nJack tai nghe Đang cập nhật\r\nThiết kế & Trọng lượng\r\nThiết kế Nguyên khối\r\nChất liệu Đang cập nhật\r\nKích thước Đang cập nhật\r\nTrọng lượng Đang cập nhật\r\nPin & Sạc\r\nDung lượng pin Đang cập nhật\r\nLoại pin Đang cập nhật\r\nCông nghệ pin Sạc pin nhanh\r\nTiện ích\r\nGhi âm Đang cập nhật\r\nRadio Đang cập nhật\r\nXem phim Có\r\nNghe nhạc Có\r\nThông tin khác\r\nThời điểm ra mắt Đang cập nhật', 4720000, 5, 1, 0, '0000-00-00 00:00:00'),
(138, 'Điện thoại Sony Xperia XZ Compact\r\n', 'sony-xperia-xz-compact-300x300.jpg', 'Màn hình\r\nCông nghệ màn hình IPS LCD\r\nĐộ phân giải HD (720 x 1280 Pixels)\r\nMàn hình rộng 4.6\"\r\nMặt kính cảm ứng Kính chống xước\r\nCamera sau\r\nĐộ phân giải 19 MP\r\nQuay phim 4K 2160p@30fps\r\nĐèn Flash Có\r\nTính năng \r\nToàn cảnh (Panorama)\r\nHDR\r\nNhận diện khuôn mặt\r\nTự động lấy nét (AF)\r\nChạm lấy nét\r\nCamera trước\r\nĐộ phân giải 13 MP\r\nVideocall Có\r\nTính năng \r\nGóc rộng (Wide)\r\nQuay video Full HD\r\nLàm đẹp\r\nHDR\r\nHệ điều hành & CPU\r\nChip xử lý (CPU) Snapdragon 835 8 nhân\r\nTốc độ CPU 4 nhân 2.45 GHz & 4 nhân 1.9\r\nChip đồ họa (GPU) Adreno 540\r\nBộ nhớ & Lưu trữ\r\nRAM 4 GB\r\nBộ nhớ trong 64 GB\r\nBộ nhớ còn lại (khả dụng) Đang cập nhật\r\nKết nối\r\nSIM 1 Nano SIM\r\nWifi \r\nWi-Fi hotspot\r\nDual-band (2.4 GHz/5 GHz)\r\nDLNA\r\nWi-Fi Direct\r\nWi-Fi 802.11 a/b/g/n/ac\r\nGPS A-GPS, GLONASS\r\nBluetooth \r\nv4.2\r\napt-X\r\nLE\r\nv4.0\r\nCổng kết nối/sạc USB Type-C\r\nJack tai nghe 3.5 mm\r\nKết nối khác OTG\r\nThiết kế & Trọng lượng\r\nThiết kế Nguyên khối\r\nChất liệu Khung & Mặt lưng kim loại\r\nKích thước Đang cập nhật\r\nTrọng lượng Đang cập nhật\r\nPin & Sạc\r\nDung lượng pin 2800 mAh\r\nTiện ích\r\nGhi âm Có (microphone chuyên dụng chống ồn)\r\nRadio Không\r\nXem phim \r\nWMV\r\n3GP\r\nMP4\r\nAVI\r\nH.265\r\nH.263\r\nNghe nhạc \r\nMidi\r\nLossless\r\nWMA\r\nWAV\r\nMP3\r\n', 30990000, 5, 1, 1, '0000-00-00 00:00:00'),
(139, 'Điện thoại Sony Xperia 1.1\r\n', 'sony-xperia-11-600x600-600x600.jpg', 'Màn hình\r\nCông nghệ màn hình OLED\r\nĐộ phân giải Full HD+ (1080 x 2520 Pixels)\r\nMàn hình rộng 6.6\"\r\nMặt kính cảm ứng Kính cường lực Corning Gorilla Glass 6\r\nCamera sau\r\nĐộ phân giải Đang cập nhật\r\nQuay phim \r\n4K 2160p@30fps\r\n4K 2160p@24fps\r\nFullHD 1080p@30fps\r\nSiêu chậm 960 fps\r\nFullHD 1080p@60fps\r\nĐèn Flash Có\r\nTính năng \r\nQuay Siêu chậm (Super Slow Motion)\r\nLấy nét theo pha (PDAF)\r\nBan đêm (Night Mode)\r\nTrôi nhanh thời gian (Time Lapse)\r\nQuay chậm (Slow Motion)\r\nXóa phông\r\nZoom quang học\r\nChạm lấy nét\r\nToàn cảnh (Panorama)\r\nChống rung quang học (OIS)\r\nLàm đẹp (Beautify)\r\nTự động lấy nét (AF)\r\nNhận diện khuôn mặt\r\nHDR\r\nChuyên nghiệp (Pro)\r\nChống rung điện tử kỹ thuật số (EIS)\r\nGóc rộng (Wide)\r\nGóc siêu rộng (Ultrawide)\r\nCamera trước\r\nĐộ phân giải Đang cập nhật\r\nVideocall Thông qua ứng dụng thứ 3\r\nTính năng \r\nChống rung điện tử kỹ thuật số (EIS)\r\nQuay video HD\r\nNhận diện khuôn mặt\r\nLàm đẹp\r\nQuay video Full HD\r\nTự động lấy nét (AF)\r\nHDR\r\nHệ điều hành & CPU\r\nHệ điều hành Android 10\r\nChip xử lý (CPU) Đang cập nhật\r\nTốc độ CPU Đang cập nhật\r\nChip đồ họa (GPU) Đang cập nhật\r\nBộ nhớ & Lưu trữ\r\nRAM Đang cập nhật\r\nBộ nhớ trong Đang cập nhật\r\nBộ nhớ còn lại (khả dụng) Đang cập nhật\r\nThẻ nhớ ngoài MicroSD, hỗ trợ tối đa 1 TB\r\nKết nối\r\nMạng di động Hỗ trợ 4G\r\nSIM 2 Nano SIM (SIM 2 chung khe thẻ nhớ)\r\nWifi \r\nWi-Fi hotspot\r\nDual-band (2.4 GHz/5 GHz)\r\nDLNA\r\nWi-Fi Direct\r\nWi-Fi 802.11 a/b/g/n/ac\r\nGPS \r\nBDS\r\nGLONASS\r\nA-GPS\r\nBluetooth \r\nLE\r\nv5.0\r\napt-X\r\nCổng kết nối/sạc USB Type-C\r\nJack tai nghe Không\r\nKết nối khác NFC\r\nThiết kế & Trọng lượng\r\nThiết kế Nguyên khối\r\nChất liệu Khung kim loại & Mặt lưng kính cường lực\r\nKích thước Đang cập nhật\r\nTrọng lượng Đang cập nhật\r\nPin & Sạc\r\nDung lượng pin Đang cập nhật\r\nLoại pin Li-Ion\r\nCông nghệ pin Sạc pin nhanh, Tiết kiệm pin\r\nTiện ích\r\nBảo mật nâng cao Mở khóa bằng vân tay, Mở khoá khuôn mặt\r\nTính năng đặc biệt \r\nChặn cuộc gọi\r\nÂm thanh Dolby Audio\r\nChặn tin nhắn\r\nKháng nước, kháng bụi\r\nGhi âm Có (microphone chuyên dụng chống ồn)\r\nRadio Không\r\nXem phim \r\nAVI\r\nMP4\r\n3GP\r\nH.264(MPEG4-AVC)\r\nH.265\r\nWMV\r\nNghe nhạc \r\nWAV\r\nLossless\r\nAMR\r\neAAC+\r\nAAC\r\nWMA\r\nMP3\r\nThông tin khác\r\nThời điểm ra mắt Đang cập nhật\r\n', 4720000, 5, 1, 1, '0000-00-00 00:00:00'),
(140, 'Điện thoại Sony Xperia 1s\r\n', 'sony-xperia-1s-600x600.jpg', 'Màn hình\r\nCông nghệ màn hình IPS LCD\r\nĐộ phân giải Đang cập nhật\r\nMàn hình rộng Đang cập nhật\r\nMặt kính cảm ứng Đang cập nhật\r\nCamera sau\r\nĐộ phân giải Đang cập nhật\r\nQuay phim \r\nFullHD 1080p@60fps\r\n4K 2160p@24fps\r\n4K 2160p@30fps\r\nSiêu chậm 960 fps\r\nFullHD 1080p@30fps\r\nĐèn Flash Có\r\nTính năng \r\nQuay Siêu chậm (Super Slow Motion)\r\nLấy nét theo pha (PDAF)\r\nBan đêm (Night Mode)\r\nXóa phông\r\nZoom quang học\r\nChạm lấy nét\r\nToàn cảnh (Panorama)\r\nChống rung quang học (OIS)\r\nLàm đẹp (Beautify)\r\nTự động lấy nét (AF)\r\nNhận diện khuôn mặt\r\nHDR\r\nChuyên nghiệp (Pro)\r\nChống rung điện tử kỹ thuật số (EIS)\r\nCamera trước\r\nĐộ phân giải Đang cập nhật\r\nVideocall Thông qua ứng dụng thứ 3\r\nTính năng \r\nQuay video Full HD\r\nTự động lấy nét (AF)\r\nHDR\r\nChống rung điện tử kỹ thuật số (EIS)\r\nNhận diện khuôn mặt\r\nLàm đẹp\r\nHệ điều hành & CPU\r\nHệ điều hành Android 9 (Pie)\r\nChip xử lý (CPU) Snapdragon 855 8 nhân\r\nTốc độ CPU 1 nhân 2.84 GHz, 3 nhân 2.42 GHz & 4 nhân 1.8 GHz\r\nChip đồ họa (GPU) Adreno 640\r\nBộ nhớ & Lưu trữ\r\nRAM Đang cập nhật\r\nBộ nhớ trong Đang cập nhật\r\nBộ nhớ còn lại (khả dụng) Đang cập nhật\r\nThẻ nhớ ngoài MicroSD, hỗ trợ tối đa 512 GB\r\nKết nối\r\nMạng di động Hỗ trợ 4G\r\nSIM 2 Nano SIM (SIM 2 chung khe thẻ nhớ)\r\nWifi \r\nWi-Fi Direct\r\nDLNA\r\nDual-band (2.4 GHz/5 GHz)\r\nWi-Fi hotspot\r\nWi-Fi 802.11 a/b/g/n/ac\r\nGPS \r\nGLONASS\r\nA-GPS\r\nBDS\r\nBluetooth \r\napt-X\r\nv5.0\r\nLE\r\nA2DP\r\nCổng kết nối/sạc USB Type-C\r\nJack tai nghe Không\r\nKết nối khác NFC\r\nThiết kế & Trọng lượng\r\nThiết kế Nguyên khối\r\nChất liệu Đang cập nhật\r\nKích thước Đang cập nhật\r\nTrọng lượng Đang cập nhật\r\nPin & Sạc\r\nDung lượng pin Đang cập nhật\r\nLoại pin Li-Ion\r\nCông nghệ pin Tiết kiệm pin\r\nTiện ích\r\nBảo mật nâng cao Mở khóa bằng vân tay, Mở khoá khuôn mặt\r\nTính năng đặc biệt \r\nÂm thanh Dolby Audio\r\nChặn cuộc gọi\r\nChặn tin nhắn\r\nGhi âm Có (microphone chuyên dụng chống ồn)\r\nRadio Không\r\nXem phim \r\n3GP\r\nH.264(MPEG4-AVC)\r\nAVI\r\nWMV\r\nH.265\r\nMP4\r\nNghe nhạc \r\nAMR\r\nLossless\r\neAAC+\r\nAAC\r\nMP3\r\nWAV\r\nWMA\r\nThông tin khác\r\nThời điểm ra mắt Đang cập nhật\r\n', 1490000, 5, 1, 1, '0000-00-00 00:00:00'),
(141, 'Điện thoại Sony Xperia Pro\r\n', 'sony-xperia-pro-600x600-600x600.jpg', 'Màn hình\r\nCông nghệ màn hình Đang cập nhật\r\nĐộ phân giải Đang cập nhật\r\nMàn hình rộng Đang cập nhật\r\nMặt kính cảm ứng Đang cập nhật\r\nCamera sau\r\nĐộ phân giải Đang cập nhật\r\nQuay phim \r\n4K 2160p@30fps\r\n4K 2160p@24fps\r\nFullHD 1080p@30fps\r\nFullHD 1080p@60fps\r\nSiêu chậm 960 fps\r\nĐèn Flash Có\r\nTính năng \r\nQuay Siêu chậm (Super Slow Motion)\r\nLấy nét theo pha (PDAF)\r\nBan đêm (Night Mode)\r\nXóa phông\r\nZoom quang học\r\nChạm lấy nét\r\nToàn cảnh (Panorama)\r\nChống rung quang học (OIS)\r\nLàm đẹp (Beautify)\r\nTự động lấy nét (AF)\r\nNhận diện khuôn mặt\r\nHDR\r\nChuyên nghiệp (Pro)\r\nChống rung điện tử kỹ thuật số (EIS)\r\nCamera trước\r\nĐộ phân giải Đang cập nhật\r\nVideocall Thông qua ứng dụng thứ 3\r\nTính năng \r\nChống rung điện tử kỹ thuật số (EIS)\r\nNhận diện khuôn mặt\r\nLàm đẹp\r\nQuay video Full HD\r\nTự động lấy nét (AF)\r\nGóc rộng (Wide)\r\nHDR\r\nHệ điều hành & CPU\r\nHệ điều hành Đang cập nhật\r\nChip xử lý (CPU) Đang cập nhật\r\nTốc độ CPU Đang cập nhật\r\nChip đồ họa (GPU) Đang cập nhật\r\nBộ nhớ & Lưu trữ\r\nRAM Đang cập nhật\r\nBộ nhớ trong Đang cập nhật\r\nBộ nhớ còn lại (khả dụng) Đang cập nhật\r\nThẻ nhớ ngoài Đang cập nhật\r\nKết nối\r\nMạng di động Đang cập nhật\r\nSIM 2 Nano SIM (SIM 2 chung khe thẻ nhớ)\r\nWifi \r\nWi-Fi hotspot\r\nDual-band (2.4 GHz/5 GHz)\r\nDLNA\r\nWi-Fi Direct\r\nWi-Fi 802.11 a/b/g/n/ac\r\nGPS \r\nBDS\r\nGLONASS\r\nA-GPS\r\nBluetooth \r\napt-X\r\nA2DP\r\nv5.0\r\nCổng kết nối/sạc USB Type-C\r\nJack tai nghe 3.5 mm\r\nKết nối khác NFC, OTG\r\nThiết kế & Trọng lượng\r\nThiết kế Nguyên khối\r\nChất liệu Khung kim loại & Mặt lưng kính cường lực\r\nKích thước Đang cập nhật\r\nTrọng lượng Đang cập nhật\r\nPin & Sạc\r\nDung lượng pin Đang cập nhật\r\nLoại pin Li-Po\r\nCông nghệ pin Sạc pin nhanh, Tiết kiệm pin\r\nTiện ích\r\nBảo mật nâng cao Mở khóa bằng vân tay, Mở khoá khuôn mặt\r\nTính năng đặc biệt \r\nChặn cuộc gọi\r\nChặn tin nhắn\r\nKháng nước, kháng bụi\r\nÂm thanh Dolby Audio\r\nGhi âm Có (microphone chuyên dụng chống ồn)\r\nRadio Không\r\nXem phim \r\nAVI\r\nMP4\r\n3GP\r\nH.264(MPEG4-AVC)\r\nH.265\r\nWMV\r\nNghe nhạc \r\nWAV\r\nLossless\r\nAMR\r\neAAC+\r\nAAC\r\nWMA\r\nMP3\r\nThông tin khác\r\nThời điểm ra mắt Đang cập nhật\r\n', 6190000, 5, 1, 0, '0000-00-00 00:00:00'),
(142, 'Laptop Sony Vaio Pro SVP11216SG 54204G128W8T\r\n', 'Sony-Vaio-Pro-SVP11216SG-54204G128W8T-black-300-nowatermark-300x300.jpg', 'Bộ xử lý\r\nLoại CPU 4200U\r\nTốc độ CPU 1.60 GHz\r\nTốc độ tối đa Turbo Boost 2.6 GHz\r\nBộ nhớ RAM, Ổ cứng\r\nLoại RAM DDR3L(On board)\r\nTốc độ Bus RAM 1600 MHz\r\nHỗ trợ RAM tối đa 4 GB\r\nMàn hình\r\nKích thước màn hình 11.6 inch\r\nĐộ phân giải Full HD (1920 x 1080)\r\nCông nghệ màn hình 10 fingers Touch FHD (1920 x 1080) , Reality, chế độ (Vivid, Natural, Text)\r\nMàn hình cảm ứng Có\r\nĐồ họa và Âm thanh\r\nThiết kế card Card đồ họa tích hợp\r\nCard đồ họa Intel HD Graphics 4400\r\nCông nghệ âm thanh Stereo, Mini Jack x 1\r\nCổng kết nối & tính năng mở rộng\r\nCổng giao tiếp 2 x USB 3.0, HDMI\r\nKết nối không dây Bluetooth® (4.0 + HS), NFC (Công nghệ giao tiếp tầm ngắn)\r\nKhe đọc thẻ nhớ \r\nSD\r\nSDHC\r\nSDXC\r\nWebcam Camera HD được trang bị \"Exmor for PC\"\r\nTính năng khác \r\nUSB Charge\r\nCông nghệ chống trộm Intel® Anti-Theft\r\nRapid Wake + Eco\r\nPin & Adapter sạc\r\nThông tin Pin Li-Ion 4 cell\r\nKích thước & trọng lượng\r\nKích thước Dài 285 mm - Ngang 197 mm - Dày 17.2 mm\r\nTrọng lượng 0.87', 21900000, 5, 2, 1, '0000-00-00 00:00:00'),
(143, 'Laptop Sony Vaio E EH35EG 2352G32GWHB\r\n', 'Sony-Vaio-EH35EG-2352G32GWHB-l.jpg', 'Bộ xử lý\r\nLoại CPU 2350M\r\nTốc độ CPU 2.30 GHz\r\nTốc độ tối đa Không\r\nBộ nhớ RAM, Ổ cứng\r\nRAM 2 GB\r\nLoại RAM DDR3 (2 khe RAM)\r\nTốc độ Bus RAM 1333 MHz\r\nHỗ trợ RAM tối đa 16 GB (2 thanh)\r\nMàn hình\r\nKích thước màn hình 15.5 inch\r\nĐộ phân giải HD (1366 x 768)\r\nCông nghệ màn hình LED\r\nMàn hình cảm ứng Không\r\nĐồ họa và Âm thanh\r\nThiết kế card Card đồ họa rời\r\nCard đồ họa NVIDIA Geforce 410M\r\nCông nghệ âm thanh Headphones , Microphone\r\nCổng kết nối & tính năng mở rộng\r\nCổng giao tiếp \r\n4 x USB 2.0\r\nHDMI\r\nLAN (RJ45)\r\nVGA (D-Sub)\r\nKết nối không dây Bluetooth\r\nKhe đọc thẻ nhớ \r\nMS\r\nMS Pro\r\nMMC\r\nSD\r\nxD\r\nWebcam Được tích hợp\r\nPin & Adapter sạc\r\nThông tin Pin Li-Ion 6 cell\r\nKích thước & trọng lượng\r\nTrọng lượng 2.4', 329000, 5, 2, 0, '0000-00-00 00:00:00'),
(144, 'Laptop Sony Vaio E SVE14112EG 2372G32WHB\r\n', 'Sony-Vaio-SVE14112EG-2372G32WHB-l.jpg', 'Bộ xử lý\r\nLoại CPU 2370M\r\nTốc độ CPU 2.40 GHz\r\nTốc độ tối đa Không\r\nBộ nhớ RAM, Ổ cứng\r\nRAM 2 GB\r\nLoại RAM DDR3\r\nTốc độ Bus RAM 1600 MHz\r\nHỗ trợ RAM tối đa 16 GB\r\nMàn hình\r\nKích thước màn hình 14 inch\r\nĐộ phân giải HD (1366 x 768)\r\nCông nghệ màn hình LED\r\nMàn hình cảm ứng Không\r\nĐồ họa và Âm thanh\r\nThiết kế card Card đồ họa tích hợp\r\nCard đồ họa Intel HD Graphics 3000\r\nCông nghệ âm thanh Headphones , Microphone\r\nCổng kết nối & tính năng mở rộng\r\nCổng giao tiếp \r\n2 x USB 2.0\r\nHDMI\r\nLAN (RJ45)\r\nUSB 3.0\r\nVGA (D-Sub)\r\nKết nối không dây Bluetooth® (4.0 + HS)\r\nKhe đọc thẻ nhớ \r\nMS\r\nMS Pro\r\nMMC\r\nSD\r\nxD\r\nWebcam Được tích hợp , HD webcam\r\nTính năng khác Multi TouchPad\r\nPin & Adapter sạc\r\nThông tin Pin Li-Ion 6 cell\r\nKích thước & trọng lượng\r\nTrọng lượng 2.4', 17290000, 5, 2, 1, '0000-00-00 00:00:00'),
(145, 'Laptop Sony Vaio SVE14132CV 33122G32W8\r\n', 'Sony-Vaio-SVE14132CV-33122G32W8-l.jpg', 'Bộ xử lý\r\nLoại CPU 3120M\r\nTốc độ CPU 2.50 GHz\r\nTốc độ tối đa Không\r\nBộ nhớ RAM, Ổ cứng\r\nRAM 2 GB\r\nLoại RAM DDR3 (2 khe RAM)\r\nTốc độ Bus RAM 1600 MHz\r\nHỗ trợ RAM tối đa 8 GB\r\nMàn hình\r\nKích thước màn hình 14 inch\r\nĐộ phân giải HD (1366 x 768)\r\nCông nghệ màn hình LED Backlit\r\nMàn hình cảm ứng Không\r\nĐồ họa và Âm thanh\r\nThiết kế card Card đồ họa tích hợp\r\nCard đồ họa Intel® HD Graphics 4000\r\nCông nghệ âm thanh Headphones , Microphone\r\nCổng kết nối & tính năng mở rộng\r\nCổng giao tiếp \r\n3 x USB 2.0\r\nHDMI\r\nLAN (RJ45)\r\nUSB 3.0\r\nVGA (D-Sub)\r\nKết nối không dây Bluetooth® (4.0 + HS)\r\nKhe đọc thẻ nhớ \r\nMS\r\nMSXC\r\nMS Pro Duo\r\nMMC\r\nSD\r\nSD Pro\r\nSDXC\r\nSDHC\r\nWebcam Camera HD được trang bị \"Exmor for PC\"\r\nTính năng khác Multi TouchPad\r\nPin & Adapter sạc\r\nThông tin Pin VGP-BPS26\r\nKích thước & trọng lượng\r\nKích thước Dài 344 mm - Ngang 243.6 mm - Dày 25.4 mm\r\nTrọng lượng 2.4', 1590000, 5, 2, 0, '0000-00-00 00:00:00'),
(146, 'Laptop Sony Vaio VPC F237HG/BI\r\n', 'Sony-Vaio--VPC--F237HG-BI-dienmay.com-185.jpg', 'Bộ xử lý\r\nLoại CPU 2860QM\r\nTốc độ CPU 2.50 GHz\r\nTốc độ tối đa 3.6 GHz\r\nBộ nhớ RAM, Ổ cứng\r\nRAM 8 GB\r\nLoại RAM DDR3\r\nTốc độ Bus RAM 1333 MHz\r\nHỗ trợ RAM tối đa 8 GB\r\nMàn hình\r\nKích thước màn hình 16 inch\r\nĐộ phân giải Full HD (1920 x 1080)\r\nCông nghệ màn hình LED\r\nMàn hình cảm ứng Không\r\nĐồ họa và Âm thanh\r\nThiết kế card Card đồ họa rời\r\nCard đồ họa NVIDIA GeForce GT 540M\r\nCông nghệ âm thanh Headphones , Microphone\r\nCổng kết nối & tính năng mở rộng\r\nCổng giao tiếp \r\n2 x USB 3.0\r\nIEEE 1394 (Firewire)\r\nHDMI\r\nLAN (RJ45)\r\nUSB 2.0\r\nVGA (D-Sub)\r\nKết nối không dây Bluetooth v3.0\r\nKhe đọc thẻ nhớ \r\nMS Duo\r\nMS Pro\r\nSD\r\nSDHC\r\nSDXC\r\nWebcam HD webcam\r\nTính năng khác Không\r\nPin & Adapter sạc\r\nThông tin Pin Lithium- polymer\r\nKích thước & trọng lượng\r\nKích thước Dài 398.5 mm - Ngang 271.5 mm - Dày 45 mm\r\nTrọng lượng 3.2', 9390000, 5, 2, 1, '0000-00-00 00:00:00'),
(147, 'Máy tính bảng Sony Tablet P\r\n', 'Sony-Tablet-P-l.jpg', 'Màn hình\r\nĐộ phân giải 480 x 1024 Pixels\r\nKích thước màn hình 5.5\"\r\nHệ điều hành & CPU\r\nTốc độ CPU 1 GHz\r\nCảm biến \r\nLa bàn\r\nGia tốc\r\nCon quay hồi chuyển 3 chiều\r\nBộ nhớ & Lưu trữ\r\nRAM 1 GB\r\nChụp ảnh & Quay phim\r\nCamera sau 0.3 MP\r\nQuay phim HD 720p@24fps\r\nCamera trước 5 MP\r\nKết nối\r\nCổng kết nối/sạc Micro USB\r\nJack tai nghe Đang cập nhật\r\nTiện ích\r\nGhi âm Không\r\nRadio Không\r\nThiết kế & Trọng lượng\r\nKích thước 180 x 158 x 14 mm (lúc mở), 180 x 79 x 28 mm (lúc gập lại)\r\nTrọng lượng 372\r\nPin & Sạc\r\nLoại pin Li-Ion', 1590000, 5, 3, 0, '0000-00-00 00:00:00'),
(148, 'Máy tính bảng Sony Tablet P 3G\r\n', 'Sony-Tablet-P-3G-l.jpg', 'Màn hình\r\nĐộ phân giải 480 x 1024 Pixels\r\nKích thước màn hình 5.5\"\r\nHệ điều hành & CPU\r\nTốc độ CPU 1 GHz\r\nCảm biến \r\nLa bàn\r\nGia tốc\r\nCon quay hồi chuyển 3 chiều\r\nBộ nhớ & Lưu trữ\r\nRAM 1 GB\r\nChụp ảnh & Quay phim\r\nCamera sau 0.3 MP\r\nQuay phim HD 720p@24fps\r\nCamera trước 5 MP\r\nKết nối\r\nCổng kết nối/sạc Micro USB\r\nJack tai nghe Đang cập nhật\r\nTiện ích\r\nGhi âm Không\r\nRadio Không\r\nThiết kế & Trọng lượng\r\nKích thước 180 x 158 x 14 mm (lúc mở), 180 x 79 x 28 mm (lúc gập lại)\r\nTrọng lượng 372\r\nPin & Sạc\r\nLoại pin Li-Ion', 3000000, 5, 3, 1, '0000-00-00 00:00:00'),
(149, 'Máy tính bảng Sony S2\r\n', 'sony-tablet-s2-L.jpg', 'Màn hình\r\nCông nghệ màn hình TFT LCD\r\nKích thước màn hình 5.5\"\r\nThiết kế & Trọng lượng\r\nKích thước 0\r\nTrọng lượng 0', 2450000, 5, 3, 0, '0000-00-00 00:00:00'),
(150, 'Máy tính bảng Sony Xperia Tablet SGPT132A1\r\n', 'Xperia-Tablet-SGPT132A1-l.jpg', 'Màn hình\r\nCông nghệ màn hình TFT LCD\r\nĐộ phân giải 800 x 1280 Pixels\r\nKích thước màn hình 9.4\"\r\nHệ điều hành & CPU\r\nTốc độ CPU 1.4 GHz\r\nCảm biến \r\nÁnh sáng\r\nGia tốc\r\nLa bàn\r\nBộ nhớ & Lưu trữ\r\nRAM 1 GB\r\nBộ nhớ trong 32 GB\r\nKết nối\r\nCổng kết nối/sạc Micro USB\r\nJack tai nghe 3.5 mm\r\nTiện ích\r\nGhi âm Ghi âm môi trường\r\nRadio Đang cập nhật\r\nThiết kế & Trọng lượng\r\nKích thước 239.8 x 8.8 - 11.85 x 174.4 mm\r\nTrọng lượng 585', 4720000, 5, 3, 1, '0000-00-00 00:00:00'),
(151, 'Máy tính bảng Sony S\r\n', 'Sony-S-l.jpg', 'Màn hình\r\nCông nghệ màn hình PLS LCD\r\nĐộ phân giải 800 x 1280 Pixels\r\nKích thước màn hình 9.4\"\r\nHệ điều hành & CPU\r\nTốc độ CPU 1 GHz\r\nChip đồ hoạ (GPU) Đang cập nhật\r\nCảm biến \r\nCon quay hồi chuyển 3 chiều\r\nLa bàn\r\nTiệm cận\r\nGia tốc\r\nBộ nhớ & Lưu trữ\r\nRAM 1 GB\r\nBộ nhớ trong 16 GB\r\nChụp ảnh & Quay phim\r\nCamera sau 5 MP\r\nQuay phim HD 720p@24fps\r\nCamera trước 0.3 MP\r\nKết nối\r\nSIM Không\r\nJack tai nghe 3.5 mm\r\nTiện ích\r\nGhi âm Không\r\nRadio Không\r\nThiết kế & Trọng lượng\r\nKích thước 95 x 30 x68\r\nTrọng lượng Đang cập nhật\r\nPin & Sạc\r\nLoại pin Li-Ion', 3290000, 5, 3, 0, '0000-00-00 00:00:00'),
(152, 'Tai nghe chụp tai Bluetooth Sony WH-XB900N\r\n', 'tai-nghe-chup-tai-bluetooth-sony-wh-xb900n-ava-600x600.jpg', 'Thông số kỹ thuật\r\nTương thích: AndroidWindowsiOS (iPhone)\r\nCổng sạc: Type-C\r\nCông nghệ âm thanh: Extra Bass\r\nThời gian sử dụng: 30 giờ\r\nThời gian sạc đầy: 7 giờ\r\nKết nối cùng lúc: 1 thiết bị\r\nHỗ trợ kết nối: 10m (Bluetooth 4.2)NFC\r\nPhím điều khiển: Mic thoạiNghe/nhận cuộc gọiPhát/dừng chơi nhạcChuyển bài hátTăng/giảm âm lượng\r\nTrọng lượng: 254 g\r\nThương hiệu của: Nhật Bản\r\nSản xuất tại: Trung Quốc', 5790000, 5, 4, 0, '0000-00-00 00:00:00'),
(153, 'Tai nghe EP Bluetooth Sony WI-1000XM2', 'tai-nghe-ep-bluetooth-sony-wi-1000xm2-ava-600x600.jpg', 'Thông số kỹ thuật\r\nTương thích: AndroidWindowsiOS (iPhone)\r\nCổng sạc: Type-C\r\nThời gian sử dụng: 10 giờ\r\nThời gian sạc đầy: 3.5 giờ\r\nKết nối cùng lúc: 1 thiết bị\r\nHỗ trợ kết nối: 10m (Bluetooth 5.0)\r\nPhím điều khiển: Mic thoạiNghe/nhận cuộc gọiPhát/dừng chơi nhạcTăng/giảm âm lượng\r\nTrọng lượng: 58 g\r\nThương hiệu của: Nhật Bản\r\nSản xuất tại: Malaysia', 6990000, 5, 4, 0, '0000-00-00 00:00:00'),
(154, 'Tai nghe Bluetooth True Wireless Sony WF-SP800N', 'tai-nghe-bluetooth-true-wireless-sony-wf-sp800n-041220-101215-600x600.jpg', 'Thông số kỹ thuật\r\nTương thích: Android, iOS (iPhone, iPad), Windows\r\nCổng sạc: Type-C\r\nCông nghệ âm thanh: Extra Bass\r\nThời gian sử dụng: 9 giờ\r\nThời gian sạc đầy: 2.5 giờ\r\nKết nối cùng lúc: 1 thiết bị\r\nTrọng lượng: 59 g\r\nThương hiệu của: Nhật Bản\r\nSản xuất tại: Malaysia', 4790000, 5, 4, 1, '0000-00-00 00:00:00'),
(155, 'Tai nghe chụp tai Bluetooth Sony WH-CH510/BC Đen', 'tai-nghe-chup-tai-bluetooth-sony-wh-ch510-bc-den-add-600x600-1-600x600.jpg', 'Thông số kỹ thuật\r\nTương thích: AndroidMacOS (Macbook, iMac)WindowsiOS (iPhone)Windows Phone\r\nCổng sạc: Type-C\r\nThời gian sử dụng: 30 giờ\r\nThời gian sạc đầy: 4.5 giờ\r\nKết nối cùng lúc: 1 thiết bị\r\nHỗ trợ kết nối: 10m (Bluetooth 5.0)\r\nPhím điều khiển: Mic thoạiNghe/nhận cuộc gọiPhát/dừng chơi nhạcChuyển bài hátTăng/giảm âm lượngBật/ Tắt Bluetooth\r\nTrọng lượng: 132 g\r\nThương hiệu của: Nhật Bản\r\nSản xuất tại: Trung Quốc', 1190000, 5, 4, 0, '0000-00-00 00:00:00'),
(156, 'Pin sạc dự phòng Polymer 10.000 mAh Sony CP-V10B-WC LA', 'sac-du-phong-polymer-10000mah-sony-cp-v10b-wc-600x600.jpg', 'Thông số kỹ thuật\r\nHiệu suất sạc: 63%\r\nDung lượng pin: 10.000 mAh\r\nThời gian sạc đầy pin: 8 - 9 giờ (dùng Adapter 2A)\r\nNguồn vào: Micro USB: 5V - 1.5A\r\nNguồn ra: USB: 5V - 1.5A\r\nLõi pin: Polymer\r\nCông nghệ/Tiện ích: Đèn LED báo hiệu\r\nKích thước: Dài 13.35 cm - Ngang 7.11 cm - Dày 1.65 cm\r\nTrọng lượng: 233 g\r\nThương hiệu của: Nhật Bản\r\nSản xuất tại: Trung Quốc', 650000, 5, 5, 1, '0000-00-00 00:00:00'),
(157, 'Pin sạc dự phòng Polymer 5.000 mAh Sony CP-V5B\r\n\r\n', 'sac-du-phong-polymer-5000mah-sony-cp-v5b-bc-la-600x600.jpg', 'Thông số kỹ thuật\r\nHiệu suất sạc: 57%\r\nDung lượng pin: 5.000 mAh\r\nThời gian sạc đầy pin: 8 - 9 giờ (dùng Adapter 2A)\r\nNguồn vào: Micro USB: 5V - 1.5A\r\nNguồn ra: USB: 5V - 1.5A\r\nLõi pin: Polymer\r\nCông nghệ/Tiện ích: Đèn LED báo hiệuGel Polymer Battery\r\nKích thước: Dài 12.7 cm - Ngang 6.7 cm - Dày 1.03 cm\r\nTrọng lượng: 133g\r\nThương hiệu của: Nhật Bản\r\nSản xuất tại: Trung Quốc', 799000, 5, 5, 0, '0000-00-00 00:00:00'),
(158, 'Pin sạc dự phòng Polymer 8.700 mAh Sony CP-V9/BC ULA', 'sac-du-phong-polymer-8700mah-sony-cp-v9-bc-ula-ava-600x600-1-600x600.jpg', 'Thông số kỹ thuật\r\nHiệu suất sạc: 63%\r\nDung lượng pin: 8.700 mAh\r\nThời gian sạc đầy pin: 7 - 8 giờ (dùng Adapter 1A)\r\nNguồn vào: Micro USB: 5V - 1.5A\r\nNguồn ra: USB: 5V - 1.5A\r\nLõi pin: Polymer\r\nCông nghệ/Tiện ích: Đèn LED báo hiệuHybrid Gel\r\nKích thước: Dài 11.3 cm - Ngang 6.6 cm - Dày 2.1 cm\r\nTrọng lượng: 201g\r\nThương hiệu của: Nhật Bản\r\nSản xuất tại: Trung Quốc', 712000, 5, 5, 0, '0000-00-00 00:00:00'),
(159, 'Pin sạc dự phòng Sony 5000mAh Polymer CP-S5\r\n', 'pin-sac-du-phong-sony-5000mah-polymer-cp-s5-300-300x300.jpg', 'Pin sạc dự phòng Sony 5000 mAh có thể sạc đầy điện thoại có dung lượng pin 3300 mAh trở xuống\r\n\r\nDễ dàng nạp lại điện cho pin sạc dự phòng\r\n\r\nNgười dùng dễ dàng nạp lại điện cho Pin sạc dự phòng thông qua nguồn từ cổng USB Laptop hay Adapter điện thoại và cáp Micro USB rất nhanh chóng và tiện lợi.', 950000, 5, 5, 0, '0000-00-00 00:00:00'),
(160, 'Pin sạc dự phòng Polymer 15.000 mAh Sony CP-S15-BC ULA Đen', 'sac-du-phong-polymer-15000mah-sony-cp-s15-bc-thumb-600x600.jpg', 'Thông số kỹ thuật\r\nHiệu suất sạc: 63%\r\nThời gian sạc đầy pin: 13 - 14 giờ (dùng Adapter 1A)\r\nNguồn ra: USB: 5V - 2.4AUSB: 5V - 1.5A\r\nCông nghệ/Tiện ích: Đèn LED báo hiệu\r\nKích thước: Dài 13.3 cm - Ngang 7.6 cm - Dày 2.39 cm\r\nTrọng lượng: 390 g\r\nThương hiệu của: Nhật Bản\r\nSản xuất tại: Trung Quốc', 545000, 5, 5, 0, '2021-06-18 16:15:16');
-- --------------------------------------------------------
--
-- Cấu trúc bảng cho bảng `protypes`
--
DROP TABLE IF EXISTS `protypes`;
CREATE TABLE IF NOT EXISTS `protypes` (
`type_ID` int(11) NOT NULL AUTO_INCREMENT,
`type_Name` varchar(100) COLLATE utf8_vietnamese_ci NOT NULL,
`type_Image` varchar(150) COLLATE utf8_vietnamese_ci NOT NULL,
PRIMARY KEY (`type_ID`)
) ENGINE=MyISAM AUTO_INCREMENT=30 DEFAULT CHARSET=utf8 COLLATE=utf8_vietnamese_ci;
--
-- Đang đổ dữ liệu cho bảng `protypes`
--
INSERT INTO `protypes` (`type_ID`, `type_Name`, `type_Image`) VALUES
(1, 'Cellphone', '1.jpg'),
(2, 'Laptop', 'laptop.jpg'),
(3, 'Tablet', 'maytinhbang.jpg'),
(4, 'Speaker', 'tainghe.jpg'),
(5, '<NAME>', 'tainghe.jpg');
-- --------------------------------------------------------
--
-- Cấu trúc bảng cho bảng `user`
--
DROP TABLE IF EXISTS `user`;
CREATE TABLE IF NOT EXISTS `user` (
`User_ID` int(11) NOT NULL AUTO_INCREMENT,
`User_Name` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
`User_Password` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
`Role` int(11) NOT NULL,
PRIMARY KEY (`User_ID`)
) ENGINE=MyISAM AUTO_INCREMENT=48 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Đang đổ dữ liệu cho bảng `user`
--
INSERT INTO `user` (`User_ID`, `User_Name`, `User_Password`, `Role`) VALUES
(1, 'SuperAdmin', '<PASSWORD>', 1),
(2, 'admin', '<PASSWORD>', 1),
(3, 'user1', '<PASSWORD>', 0),
(47, 'admin1', '<PASSWORD>', 0),
(4, 'hai', '<PASSWORD>', 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 */;
|
<filename>create_user_table.sql
CREATE DATABASE IF NOT EXISTS `mpc` DEFAULT CHARSET utf8 COLLATE utf8_general_ci;
USE `mpc`;
DROP TABLE IF EXISTS `User`;
CREATE TABLE IF NOT EXISTS `User` (
`Id` int not null auto_increment,
`Name` varchar(200) not null,
`Amt` float null,
primary key(Id)
) ENGINE=InnoDB
DEFAULT CHARSET=utf8;
INSERT INTO `User` (`Id`, `Name`, `Amt`) VALUES (1, '小明', 9.9);
INSERT INTO `User` (`Id`, `Name`, `Amt`) VALUES (2, 'liujun', 19.9);
INSERT INTO `User` (`Id`, `Name`, `Amt`) VALUES (3, '曹亮', 88.88);
select id,name,amt from User;
select id,name,amt from User where id = "1";
|
--======================================================
--
-- Author: <NAME>
-- Usage: Script creates a procedure join_test. In order to run/test the procedure use the run.sql script that can be found in the same directory of the project.
-- Database system supported/tested: SQL Server 2016
-- URL of the project: https://github.com/RadimBaca/QueryOptimizerBenchmark
-- License: This code is published under a MIT license
-- Change history:
--
--======================================================
DROP PROCEDURE IF EXISTS join_test
go
-- Description:
---------------
-- This test introduce redundant exists predicate in the second query.
-- The EXISTS construct in the second query is covered by the other parts of the query, therefore, it is redundant.
CREATE Procedure join_test as
begin
--1. Basic
PRINT '1. Basic'
select b.id, b.groupby, b.orderby, b.padding
from TestTable a
join TestTable b on b.local_search = a.id
where a.global_search = 1 and b.groupby = 10
option(maxdop 1)
-- 2. Redundant predicate elimination I
PRINT '2. Redundant predicate elimination I'
select b.id, b.groupby, b.orderby, b.padding
from TestTable a
join TestTable b on b.local_search = a.id
where a.global_search = 1 and
b.groupby = 10 and
exists( -- this exists can be eliminated since join and predicate is already part of the outer join
select 1
from TestTable a
where a.global_search = 1 and b.local_search = a.id
)
option(maxdop 1)
end
go
|
INSERT INTO @LineDefinitions([Index], [Code], [Description], [TitleSingular], [TitlePlural], [AllowSelectiveSigning], [ViewDefaultsToForm]) VALUES
(1000, N'ManualLine', N'Making any accounting adjustment', N'Adjustment', N'Adjustments', 0, 0);
INSERT INTO @LineDefinitionEntries([Index], [HeaderIndex],[Direction], [ParentAccountTypeId]) VALUES (0,1000,+1, @StatementOfFinancialPositionAbstract);
INSERT INTO @LineDefinitionColumns([Index], [HeaderIndex],
[ColumnName],[EntryIndex], [Label], [RequiredState],
[ReadOnlyState],
[InheritsFromHeader]) VALUES
(0,1000, N'AccountId', 0, N'Account', 4,4,0), -- together with properties
(1,1000, N'Value', 0, N'Debit', 4,4,0), -- see special case
(2,1000, N'Value', 0, N'Credit', 4,4,0),
(3,1000, N'Memo', 0, N'Memo', 4,4,2);
DONE:
UPDATE @LineDefinitions SET [BarcodeBeepsEnabled] = 0;
UPDATE @LineDefinitionColumns SET [VisibleState] = 0;
INSERT INTO @ValidationErrors
EXEC [api].[LineDefinitions__Save]
@Entities = @LineDefinitions,
@LineDefinitionEntries = @LineDefinitionEntries,
@LineDefinitionEntryAgentDefinitions = @LineDefinitionEntryAgentDefinitions,
@LineDefinitionEntryResourceDefinitions = @LineDefinitionEntryResourceDefinitions,
@LineDefinitionEntryNotedAgentDefinitions = @LineDefinitionEntryNotedAgentDefinitions,
@LineDefinitionColumns = @LineDefinitionColumns,
@LineDefinitionGenerateParameters = @LineDefinitionGenerateParameters,
@LineDefinitionStateReasons = @LineDefinitionStateReasons,
@Workflows = @Workflows,
@WorkflowSignatures = @WorkflowSignatures,
@UserId = @AdminUserId;
IF EXISTS (SELECT [Key] FROM @ValidationErrors)
BEGIN
Print 'LineDefinitions: Error Provisioning'
GOTO Err_Label;
END;
-- Declarations
DECLARE @ManualLineLD INT = (SELECT [Id] FROM dbo.LineDefinitions WHERE [Code] = N'ManualLine');
|
<gh_stars>0
--Test nested insert
create class person2(name varchar(20), age integer , gender char(1));
create class employees(empno integer, deptno integer, attr person2);
insert into employees values(1001, 10, (insert into person2 values ('xxx', 21, 'f')));
insert into employees values(1002, 20, (insert into person2 values ('yyy', 22, 'm')));
insert into employees values(1003, 30, (insert into person2 values ('zzz', 23, 'f')));
insert into employees values(1004, 40, (insert into person2 values ('aaa', 24, 'm')));
select * from employees order by 1;
select * from person2 order by 1;
drop class person2;
drop class employees;
|
create or replace function v5_dashboard.completion_rate(row_count bigint, error_count bigint)
returns int as $$
declare
completion int;
begin
case
when error_count > row_count then
completion := 0;
when row_count = 0 then
completion := 100;
else
completion := floor(((row_count - error_count) / row_count::float) * 100);
end case;
return completion;
end;
$$ language plpgsql;
|
/* Alterando a Estrutura da tabela */
/*ALTER TABLE*/
desc gafanhotos;
/* Adicionar */
alter table pessoas
add column profissao varchar(10);
select * from pessoas;
/* Deletar */
alter table pessoas
drop column profissao;
/* Adiciona depois do nome*/
alter table pessoas
add column profissao varchar(10) after nome;
/* Adiciona em primeiro na coluna*/
alter table pessoas
add column cosigo int FIRST;
/* Alterar o tipo do campo*/
alter table pessoas
modify column profissao varchar(20);
/* Auterar nome da coluna*/
alter table pessoas
change column profissao prof varchar(20);
/* renomear nome da tabela*/
alter table pessoas
rename to gafanhotos;
/* Criando outra tabela*/
create table if not exists cursos (
nome varchar(30) not null unique,
descricao text,
carga int unsigned,
totaulas int unsigned,
ano year default '2020'
) default charset=utf8;
desc cursos;
/*Adicionar chave primaria*/
alter table cursos
add column idcurso int first;
alter table cursos
add primary key (idcurso);
/*Apagando tabela*/
drop table if exists tabela;
|
-- phpMyAdmin SQL Dump
-- version 4.7.0
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Jul 25, 2018 at 04:53 PM
-- Server version: 10.1.26-MariaDB
-- PHP Version: 7.1.8
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: `kel08`
--
-- --------------------------------------------------------
--
-- Table structure for table `jurnal`
--
CREATE TABLE `jurnal` (
`id` int(20) NOT NULL,
`judul` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL,
`penulis` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
`abstract` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`keyword` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL,
`referensi` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL,
`isbn` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
`file` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`kategori` int(11) NOT NULL,
`foto` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `jurnal`
--
INSERT INTO `jurnal` (`id`, `judul`, `penulis`, `abstract`, `keyword`, `referensi`, `isbn`, `file`, `kategori`, `foto`) VALUES
(8, 'Pengembangan Politik Indonesia', '<NAME>', 'JAKARTA, KOMPAS.com — Presiden Joko Widodo mengucapkan terima kasih kepada sejumlah alumni Pergerakan Mahasiswa Islam Indonesia (PMII) yang sudah membantunya di pemerintahan. Hal itu diungkapkan Presiden Jokowi dalam pidatonya di acara Musyawarah Nasional VI Ikatan Alumni PMII di Grand Ballroom Hotel JS Luwansa, Jakarta Selatan, Jumat (20/7/2018). “Saya sebagai Presiden ingin berterima kasih kepada alumni PMII, karena alumni PMII sudah banyak membantu pemerintah,” ujar Jokowi. Nama pertama yang disebutkan Presiden Jokowi adalah <NAME>. Baca juga: Saat Jokowi Sapa Cak Imin hingga Tiga Kali... “Ada <NAME>. Beliau banyak membantu saya. Ada yang kelihatan dan ada yang tidak kelihatan. Terutama dalam kerja politik. Karena sudah banyak mendirikan posko Join,” ujar Jokowi. Pernyataan Jokowi sontak membuat para peserta musyawarah bertepuk tangan dan bersorak riuh. Alumni PMII lainnya yang disebut yakni Menteri Tenaga Kerja Hanif Dakhiri. “Beliau ini menteri yang sangat dekat dengan serikat pekerja sehingga kalau kita lihat selama hampir empat tahun ini demo-demo berkurang,” ujar Jokowi. Baca juga: Jokowi: Nama Cak Imin Sudah di Saku Saya... Terakhir, Presiden Jokowi menyebut nama Menteri Pemuda dan <NAME>. Imam, kata Jokowi, sedang dalam kondisi kurang fit karena kurang tidur. “Sudah enam bulan ini kurang tidur karena sedang mempersiapkan Asian Games,” kata Jokowi. Sebenarnya, Jokowi menyebut seorang alumni PMII lainnya, yakni <NAME>. Namun lantaran Nusron tidak hadir, ia tak melanjutkan ceritanya tentang Nusron. Selain berpidato di depan 1.000-an peserta musyawarah, Presiden Jokowi juga menerima deklarasi antiterorisme dan antiradikalisme oleh Ikatan Alumni PMII. Artikel ini telah tayang di Kompas.com dengan judul ', 'www.kompas.com', 'www.wikipedia.com', '', '', 1, 'logo5.png'),
(9, 'Artis Indonesia Lagi Weekend', '<NAME>', 'JAKARTA, KOMPAS.com — Presiden Joko Widodo mengucapkan terima kasih kepada sejumlah alumni Pergerakan Mahasiswa Islam Indonesia (PMII) yang sudah membantunya di pemerintahan. Hal itu diungkapkan Presiden Jokowi dalam pidatonya di acara Musyawarah Nasional VI Ikatan Alumni PMII di Grand Ballroom Hotel JS Luwansa, Jakarta Selatan, Jumat (20/7/2018). “Saya sebagai Presiden ingin berterima kasih kepada alumni PMII, karena alumni PMII sudah banyak membantu pemerintah,” ujar Jokowi. Nama pertama yang disebutkan Presiden Jokowi adalah <NAME>. Baca juga: Saat Jokowi Sapa Cak Imin hingga Tiga Kali... “Ada Muhaimin Iskandar. Beliau banyak membantu saya. Ada yang kelihatan dan ada yang tidak kelihatan. Terutama dalam kerja politik. Karena sudah banyak mendirikan posko Join,” ujar Jokowi. Pernyataan Jokowi sontak membuat para peserta musyawarah bertepuk tangan dan bersorak riuh. Alumni PMII lainnya yang disebut yakni Menteri Tenaga Kerja Hanif Dakhiri. “Beliau ini menteri yang sangat dekat dengan serikat pekerja sehingga kalau kita lihat selama hampir empat tahun ini demo-demo berkurang,” ujar Jokowi. Baca juga: Jokowi: Nama <NAME> Sudah di Saku Saya... Terakhir, Presiden Jokowi menyebut nama Menteri Pemuda dan Olahraga <NAME>. Imam, kata Jokowi, sedang dalam kondisi kurang fit karena kurang tidur. “Sudah enam bulan ini kurang tidur karena sedang mempersiapkan Asian Games,” kata Jokowi. Sebenarnya, Jokowi menyebut seorang alumni PMII lainnya, yakni <NAME>. Namun lantaran Nusron tidak hadir, ia tak melanjutkan ceritanya tentang Nusron. Selain berpidato di depan 1.000-an peserta musyawarah, Presiden Jokowi juga menerima deklarasi antiterorisme dan antiradikalisme oleh Ikatan Alumni PMII. Artikel ini telah tayang di Kompas.com dengan judul \"Jokowi: Cak Imin Banyak Membantu Saya, Terutama Kerja Politik\", https://nasional.kompas.com/read/2018/07/20/16532211/jokowi-cak-imin-banyak-membantu-saya-terutama-kerja-politik. Penulis : <NAME>arius Kuwado Editor : <NAME>', 'www.kompas.com', 'www.wikipedia.com', '', '', 2, 'images22.png'),
(10, 'sdf', '', 'ert', 'rty', 'fghj', '', '', 1, 'Screenshot_(2).png'),
(11, 'erty', '', 'rtyu', 'rtyu', 'fgh', '', '', 1, 'Screenshot_(2)1.png'),
(12, 'ooooo', '', 'ooo', 'fghj', 'poooo', '', '', 1, 'Screenshot_(22).png'),
(13, 'eesre', 'penulis', 'edrdde', 'dred', 'ff', '', '', 1, 'Screenshot_(1)1.png'),
(14, 'Judulnya Penulis', 'penulis', 'abstrak', 'keyword', 'www.google.com', '', '', 3, 'images110.png'),
(15, 'Judulnya Penulis', 'penulis', 'abstrak', 'keyword', 'www.google.com', '', '', 6, 'images23.png');
-- --------------------------------------------------------
--
-- Table structure for table `kategori`
--
CREATE TABLE `kategori` (
`id` int(11) NOT NULL,
`nama` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `kategori`
--
INSERT INTO `kategori` (`id`, `nama`) VALUES
(1, 'Politik'),
(2, 'Sport'),
(3, 'Biologi'),
(4, 'Sejarah'),
(5, 'Matematika'),
(6, 'Ekonomi'),
(7, 'Fisika'),
(8, 'Kimia'),
(12, 'Sport');
-- --------------------------------------------------------
--
-- Table structure for table `penulis`
--
CREATE TABLE `penulis` (
`id` int(20) NOT NULL,
`nama` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL,
`alamat` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL,
`notelp` int(12) NOT NULL,
`status` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL,
`lulusan` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL,
`gelar` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL,
`foto` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `penulis`
--
INSERT INTO `penulis` (`id`, `nama`, `alamat`, `notelp`, `status`, `lulusan`, `gelar`, `foto`) VALUES
(2, '<NAME>', 'Malang', 61274, 'Single', 'Polinema', 'SKOM', 'images.png');
-- --------------------------------------------------------
--
-- Table structure for table `role`
--
CREATE TABLE `role` (
`id_role` int(10) NOT NULL,
`nama_role` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `role`
--
INSERT INTO `role` (`id_role`, `nama_role`) VALUES
(1, 'admin'),
(2, 'penulis'),
(3, 'member');
-- --------------------------------------------------------
--
-- Table structure for table `user_admin`
--
CREATE TABLE `user_admin` (
`username` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
`password` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
`fk_id_role` int(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `user_admin`
--
INSERT INTO `user_admin` (`username`, `password`, `fk_id_role`) VALUES
('admin', 'admin', 1),
('bagus', 'bagus', 3),
('fadli', '<PASSWORD>', 1),
('penulis', 'penulis', 2),
('penulis2', '<PASSWORD>', 2);
--
-- Indexes for dumped tables
--
--
-- Indexes for table `jurnal`
--
ALTER TABLE `jurnal`
ADD PRIMARY KEY (`id`),
ADD KEY `kategori` (`kategori`);
--
-- Indexes for table `kategori`
--
ALTER TABLE `kategori`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `penulis`
--
ALTER TABLE `penulis`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `role`
--
ALTER TABLE `role`
ADD PRIMARY KEY (`id_role`);
--
-- Indexes for table `user_admin`
--
ALTER TABLE `user_admin`
ADD PRIMARY KEY (`username`),
ADD KEY `fk_id_role` (`fk_id_role`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `jurnal`
--
ALTER TABLE `jurnal`
MODIFY `id` int(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=16;
--
-- AUTO_INCREMENT for table `kategori`
--
ALTER TABLE `kategori`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;
--
-- AUTO_INCREMENT for table `penulis`
--
ALTER TABLE `penulis`
MODIFY `id` int(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- Constraints for dumped tables
--
--
-- Constraints for table `jurnal`
--
ALTER TABLE `jurnal`
ADD CONSTRAINT `jurnal_ibfk_1` FOREIGN KEY (`kategori`) REFERENCES `kategori` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Constraints for table `user_admin`
--
ALTER TABLE `user_admin`
ADD CONSTRAINT `user_admin_ibfk_1` FOREIGN KEY (`fk_id_role`) REFERENCES `role` (`id_role`) ON DELETE CASCADE ON UPDATE CASCADE;
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
insert into states values ('1','AC','Acre'),('2','AL','Alagoas'),('3','AP','Amapá'),('4','AM','Amazonas'),('5','BA','Bahia'),('6','CE','Ceará'),('7','DF','Distrito Federal'),('8','ES','Espírito Santo'),('9','RR','Roraima'),('10','GO','Goiás'),('11','MA','Maranhão'),('12','MT','Mato Grosso'),('13','MS','Mato Grosso do Sul'),('14','MG','Minas Gerais'),('15','PA','Pará'),('16','PB','Paraíba'),('17','PR','Paraná'),('18','PE','Pernambuco'),('19','PI','Piauí'),('20','RJ','Rio de Janeiro'),('21','RN','Rio Grande do Norte'),('22','RS','Rio Grande do Sul'),('23','RO','Rondônia'),('24','TO','Tocantins'),('25','SC','Santa Catarina'),('26','SP','São Paulo'),('27','SE','Sergipe');
|
<filename>satellite-sql-orbital-characteristic-data.sql
CREATE TABLE `satellite_orbital_characteristic_data`
(
`Satellite` varchar(20) NOT NULL,
`Perihelion` varchar(20) DEFAULT NULL,
`PerihelionUnit` varchar(5) DEFAULT NULL,
`Aphelion` varchar(20) DEFAULT NULL,
`AphelionUnit` varchar(5) DEFAULT NULL,
`Eccentricity` varchar(20) DEFAULT NULL,
`EccentricityUnit` varchar(5) DEFAULT NULL,
`SiderealOrbitalPeriod` varchar(20) DEFAULT NULL,
`SiderealOrbitalPeriodUnit` varchar(5) DEFAULT NULL,
`AverageOrbitalSpeed` varchar(20) DEFAULT NULL,
`AverageOrbitalSpeedUnit` varchar(5) DEFAULT NULL,
`Inclination` varchar(20) DEFAULT NULL,
`InclinationUnit` varchar(5) DEFAULT NULL,
`CreatedDateTime` varchar(20) DEFAULT NULL,
`LastModifiedDateTime` varchar(20) DEFAULT NULL,
PRIMARY KEY (`Satellite`),
CONSTRAINT `SatelliteOrbitalCharacteristicData_fk` FOREIGN KEY (`Satellite`) REFERENCES `satellite_general_data` (`Satellite`)
) ENGINE = InnoDB
DEFAULT CHARSET = utf8mb4;
|
-- phpMyAdmin SQL Dump
-- version 5.1.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Jan 28, 2022 at 03:17 PM
-- Server version: 10.4.19-MariaDB
-- PHP Version: 7.3.16
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: `posid`
--
-- --------------------------------------------------------
--
-- Table structure for table `dt_piutang`
--
CREATE TABLE `dt_piutang` (
`id` int(5) NOT NULL,
`nama_upt` varchar(35) DEFAULT NULL,
`bisnis` varchar(35) DEFAULT NULL,
`nama_pel` varchar(35) DEFAULT NULL,
`prod` int(10) NOT NULL,
`bsu` int(10) NOT NULL,
`total_piutang` int(10) NOT NULL,
`pajak` int(10) NOT NULL,
`saldo_akhir` int(10) NOT NULL,
`sebulan` int(10) NOT NULL,
`duabulan` int(10) NOT NULL,
`tigabulan` int(10) NOT NULL,
`statusp` enum('0','1') NOT NULL,
`tgl` datetime(6) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `dt_piutang`
--
INSERT INTO `dt_piutang` (`id`, `nama_upt`, `bisnis`, `nama_pel`, `prod`, `bsu`, `total_piutang`, `pajak`, `saldo_akhir`, `sebulan`, `duabulan`, `tigabulan`, `statusp`, `tgl`) VALUES
(3, 'Prabumulih', 'SURAT', 'Clipan Finance', 20, 147500, 147500, 0, 0, 0, 0, 0, '1', '2020-10-02 23:54:51.000000'),
(5, 'Prabumulih', 'PAKET', 'Clipan Finance', 25, 375000, 375000, 0, 0, 0, 0, 0, '1', '2020-09-24 16:05:10.000000'),
(89, 'Prabumulih', 'SURAT', 'Clipan Finance', 23, 345000, 345000, 0, 0, 0, 0, 0, '1', '2020-10-13 16:24:03.000000'),
(90, 'Prabumulih', 'PAKET', 'Dipo Star Finance', 15, 225000, 225000, 0, 0, 0, 0, 0, '0', '2020-10-21 18:55:29.000000'),
(91, 'Prabumulih', 'PAKET', 'Indomobil', 10, 150000, 150000, 0, 0, 0, 0, 0, '0', '2020-10-20 18:56:00.000000'),
(94, 'Prabumulih', 'PAKET', 'RSUD', 14, 210000, 210000, 0, 0, 0, 0, 0, '0', '2020-12-10 00:09:41.000000');
-- --------------------------------------------------------
--
-- Table structure for table `invoice`
--
CREATE TABLE `invoice` (
`id` int(10) NOT NULL,
`nama_upt` varchar(64) NOT NULL,
`nomor` varchar(35) NOT NULL,
`lampiran` varchar(50) NOT NULL,
`perihal` varchar(50) NOT NULL,
`nama_pel` varchar(65) NOT NULL,
`status` enum('0','1') NOT NULL,
`tgl` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `invoice`
--
INSERT INTO `invoice` (`id`, `nama_upt`, `nomor`, `lampiran`, `perihal`, `nama_pel`, `status`, `tgl`) VALUES
(1, 'Prabumulih', '238/pos', '1 (satu) lampiran', 'invoice (tagihan)', 'Indomobil', '0', '2020-10-15 00:47:27'),
(2, 'Prabumulih', 'pos/239', '1 (satu) lampiran', 'invoice (tagihan)', 'Dipo Star Finance', '0', '2020-10-15 00:50:09'),
(93, 'Prabumulih', '238/pos', '1 (satu) lampiran', 'invoice (tagihan)', 'Clipan Finance', '1', '2020-10-15 21:31:17'),
(99, 'Prabumulih', 'pos/239', '1 (satu) lampiran', 'invoice (tagihan)', 'RSUD', '0', '2020-12-07 21:47:05');
-- --------------------------------------------------------
--
-- Table structure for table `list_upt`
--
CREATE TABLE `list_upt` (
`id` int(10) NOT NULL,
`kode_upt` int(11) NOT NULL,
`nama_upt` varchar(30) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `list_upt`
--
INSERT INTO `list_upt` (`id`, `kode_upt`, `nama_upt`) VALUES
(1, 30000, 'Palembang'),
(2, 31100, 'Prabumulih'),
(3, 31300, 'Mu<NAME>'),
(4, 31400, 'Lahat'),
(5, 31600, 'Lubuk Linggau'),
(6, 32100, 'Baturaja'),
(7, 33100, 'Pangkal Pinang'),
(8, 33400, 'Tanjung Pandan'),
(9, 34100, 'Metro'),
(10, 34500, 'Kota Bumi'),
(11, 35000, 'Bandar Lampung'),
(12, 36000, 'Jambi'),
(13, 37100, 'Sungai Penuh'),
(14, 37200, 'Mu<NAME>'),
(15, 38000, 'Bengkulu'),
(16, 39000, 'Curup');
-- --------------------------------------------------------
--
-- Table structure for table `mitra`
--
CREATE TABLE `mitra` (
`id_mitra` int(11) NOT NULL,
`nama_upt` varchar(50) NOT NULL,
`nama_pel` varchar(50) NOT NULL,
`tgl` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `mitra`
--
INSERT INTO `mitra` (`id_mitra`, `nama_upt`, `nama_pel`, `tgl`) VALUES
(1, 'Prabumulih', 'Clipan Finance', '2020-11-24 14:51:13'),
(2, 'Prabumulih', 'Dipo Star Finance', '2020-11-24 14:51:13'),
(3, 'Prabumulih', 'Indomobil', '2020-11-24 14:51:54'),
(4, 'Prabumulih', 'RSUD', '2020-11-24 14:52:25'),
(5, 'Prabumulih', 'SOF', '2020-12-04 21:06:49');
-- --------------------------------------------------------
--
-- Table structure for table `pelunasan`
--
CREATE TABLE `pelunasan` (
`id_pelunasan` int(10) NOT NULL,
`nama_upt` varchar(64) NOT NULL,
`nomor` varchar(50) NOT NULL,
`nama_pel` varchar(64) NOT NULL,
`kd_referensi` varchar(100) NOT NULL,
`pelunasan` varchar(10) NOT NULL,
`deposit` int(10) NOT NULL,
`tgl_setor` datetime NOT NULL,
`status` enum('0','1') NOT NULL,
`tgl` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `pelunasan`
--
INSERT INTO `pelunasan` (`id_pelunasan`, `nama_upt`, `nomor`, `nama_pel`, `kd_referensi`, `pelunasan`, `deposit`, `tgl_setor`, `status`, `tgl`) VALUES
(1, 'Prabumulih', 'pos/239', 'Dipo Star Finance', '', '0', 0, '0000-00-00 00:00:00', '0', '2020-10-21 23:43:21'),
(3, 'Prabumulih', '238/pos', 'Clipan Finance', 'f071b103d', 'LUNAS', 0, '2020-10-06 20:52:07', '1', '2020-10-22 11:05:10'),
(6, 'Prabumulih', '238/poss', 'Indomobil', 'gh901b473l', '210000', 50000, '2020-11-08 00:00:00', '0', '2020-12-08 15:02:26'),
(10, 'Prabumulih', 'pos/239', 'RSUD', 'a088b493c', '750000', 0, '2020-11-08 00:00:00', '0', '2020-12-08 15:23:22');
-- --------------------------------------------------------
--
-- Table structure for table `periodepiutang`
--
CREATE TABLE `periodepiutang` (
`nomor` varchar(35) DEFAULT NULL,
`nama_pel` varchar(65) DEFAULT NULL,
`tgl` datetime DEFAULT NULL,
`Piutang` int(6) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
-- --------------------------------------------------------
--
-- Table structure for table `tbl_bisnis`
--
CREATE TABLE `tbl_bisnis` (
`id_bisnis` int(11) NOT NULL,
`bisnis` varchar(25) NOT NULL,
`nama_upt` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `tbl_bisnis`
--
INSERT INTO `tbl_bisnis` (`id_bisnis`, `bisnis`, `nama_upt`) VALUES
(1, 'PAKET', 'Prabumulih'),
(2, 'SURAT', 'Prabumulih'),
(3, 'KARGO', 'Prabumulih');
-- --------------------------------------------------------
--
-- Table structure for table `user`
--
CREATE TABLE `user` (
`kd_user` varchar(6) NOT NULL,
`password` varchar(8) NOT NULL,
`level` varchar(255) NOT NULL,
`nama_upt` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `user`
--
INSERT INTO `user` (`kd_user`, `password`, `level`, `nama_upt`) VALUES
('DReg3', '<PASSWORD>', 'Deputi Regional 3', 'Kantor Regional 3'),
('KReg3', '12345667', 'Ka Regional 3', 'Kantor Regional 3'),
('KUPT01', '12346578', 'Ka UPT Pbm', 'Pbm'),
('MReg3', '12345677', 'Manager Regional 3', 'Kantor Regional 3'),
('MUPT01', '12345687', 'Manajer Penjualan UPT Pbm', 'Pbm'),
('OUPT01', '12345678', 'Admin Penjualan UPT Pbm', 'Pbm');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `dt_piutang`
--
ALTER TABLE `dt_piutang`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `invoice`
--
ALTER TABLE `invoice`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `pelunasan`
--
ALTER TABLE `pelunasan`
ADD PRIMARY KEY (`id_pelunasan`);
--
-- Indexes for table `tbl_bisnis`
--
ALTER TABLE `tbl_bisnis`
ADD PRIMARY KEY (`id_bisnis`);
--
-- Indexes for table `user`
--
ALTER TABLE `user`
ADD PRIMARY KEY (`kd_user`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `dt_piutang`
--
ALTER TABLE `dt_piutang`
MODIFY `id` int(5) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=95;
--
-- AUTO_INCREMENT for table `invoice`
--
ALTER TABLE `invoice`
MODIFY `id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=100;
--
-- AUTO_INCREMENT for table `pelunasan`
--
ALTER TABLE `pelunasan`
MODIFY `id_pelunasan` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;
--
-- AUTO_INCREMENT for table `tbl_bisnis`
--
ALTER TABLE `tbl_bisnis`
MODIFY `id_bisnis` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
<gh_stars>0
CREATE DEFINER=`root`@`localhost` PROCEDURE `usp_Role_Build`(var_mydb varchar(100), var_co varchar(1000), var_dept varchar(1000), var_loc varchar(1000), var_lock int, var_exp_role int, var_exp_user int)
BEGIN
/*This proc was modified on 02-Oct-2011 to rectify the queries that create indexes only if extracted tables exist by adding the condition table_schema=var_mydb.
Also, the queries creating tables conflicts_values_a_o, conflicts_values_bl_o etc. are commented as not required.*/
declare var_prof, var_masterprofn varchar(12);
declare usr varchar(12);
declare prof_count int(2);
declare sbprf varchar(12);
declare prof_1016 varchar(12);
declare auth10s, log_stat varchar(12);
declare objct12 varchar(10);
declare auth12 varchar(12);
declare aktps12, var_aktps varchar(1);
declare field12 varchar(10);
declare from12 varchar(40);
declare to12 varchar(40);
declare agrname varchar(50);
DECLARE AGRNAM,var_profn, var_subprof VARCHAR(50);
declare lock_condition,exp_role_status, exp_user_status varchar(100);
declare user_query varchar(1000);
declare var_tstca,var_usobx,var_usobt, var_tblcnt, var_indcnt int(1);
DECLARE n INT DEFAULT 0;
DECLARE i INT DEFAULT 0;
select variable_value into log_stat from information_schema.global_variables where variable_name = 'General_Log';
if log_stat = 'ON' then
set global general_log = 'OFF';
end if;
/* === Line ADDED By <NAME> === */
INSERT INTO `procedure_message` (`id`, `procedure_name`, `message`, `create_datetime`) VALUES (NULL, 'Role Build', 'Removing Temporary Tables..', current_timestamp());
drop table if exists UST04_TEMP;
drop table if exists UST10C_TEMP;
drop table if exists agr_1016_temp;
drop table if exists UST10S_TEMP;
drop table if exists UST12_TEMP;
/* tab_users is a table important in context of analysis */
/* BNAME is UNAME */
/* === Line ADDED By <NAME> === */
INSERT INTO `procedure_message` (`id`, `procedure_name`, `message`, `create_datetime`) VALUES (NULL, 'Role Build', 'Creating Table Indexes..', current_timestamp());
/*Checking if tables exist and then creating indexes*/
select count(*) into var_tblcnt from information_schema.tables where table_schema = var_mydb and table_name = 'tab_user';
select count(*) into var_indcnt FROM INFORMATION_SCHEMA.STATISTICS WHERE table_name = 'tab_user' and index_name = 'idx_tu' and table_schema = var_mydb;
if var_tblcnt=1 and var_indcnt=0 then
create index idx_tu on tab_user(uname);
end if;
select count(*) into var_tblcnt from information_schema.tables where table_schema = var_mydb and table_name = 'adrp';
select count(*) into var_indcnt FROM INFORMATION_SCHEMA.STATISTICS WHERE table_name = 'adrp' and index_name = 'idx_adrp' and table_schema = var_mydb;
if var_tblcnt=1 and var_indcnt=0 then
create index idx_adrp on adrp(persnumber);
end if;
select count(*) into var_tblcnt from information_schema.tables where table_schema = var_mydb and table_name = 'ust04';
select count(*) into var_indcnt FROM INFORMATION_SCHEMA.STATISTICS WHERE table_name = 'ust04' and index_name = 'idx_ust04' and table_schema = var_mydb;
if var_tblcnt=1 and var_indcnt=0 then
create index idx_ust04 on ust04(username,profile);
end if;
select count(*) into var_tblcnt from information_schema.tables where table_schema = var_mydb and table_name = 'ust10c';
select count(*) into var_indcnt FROM INFORMATION_SCHEMA.STATISTICS WHERE table_name = 'ust10c' and index_name = 'idx_ust10c' and table_schema = var_mydb;
if var_tblcnt=1 and var_indcnt=0 then
create index idx_ust10c on ust10c(profn,subprof);
end if;
select count(*) into var_tblcnt from information_schema.tables where table_schema = var_mydb and table_name = 'agr_1016';
select count(*) into var_indcnt FROM INFORMATION_SCHEMA.STATISTICS WHERE table_name = 'agr_1016' and index_name = 'idx_agr_1016' and table_schema = var_mydb;
if var_tblcnt=1 and var_indcnt=0 then
create index idx_agr_1016 on agr_1016(agr_name, profile,counter);
end if;
select count(*) into var_tblcnt from information_schema.tables where table_schema = var_mydb and table_name = 'agr_users';
select count(*) into var_indcnt FROM INFORMATION_SCHEMA.STATISTICS WHERE table_name = 'agr_users' and index_name = 'idx_agr_users' and table_schema = var_mydb;
if var_tblcnt=1 and var_indcnt=0 then
create index idx_agr_users on agr_users(agr_name,uname);
end if;
select count(*) into var_tblcnt from information_schema.tables where table_schema = var_mydb and table_name = 'usr02';
select count(*) into var_indcnt FROM INFORMATION_SCHEMA.STATISTICS WHERE table_name = 'usr02' and index_name = 'idx_usr02' and table_schema = var_mydb;
if var_tblcnt=1 and var_indcnt=0 then
create index idx_usr02 on usr02(uname,valid_from,valid_to,user_type,lockstatus);
end if;
select count(*) into var_tblcnt from information_schema.tables where table_schema = var_mydb and table_name = 'usr21';
select count(*) into var_indcnt FROM INFORMATION_SCHEMA.STATISTICS WHERE table_name = 'usr21' and index_name = 'idx_usr21' and table_schema = var_mydb;
if var_tblcnt=1 and var_indcnt=0 then
create index idx_usr21 on usr21(uname,persnumber);
end if;
select count(*) into var_tblcnt from information_schema.tables where table_schema = var_mydb and table_name = 'ust10s';
select count(*) into var_indcnt FROM INFORMATION_SCHEMA.STATISTICS WHERE table_name = 'ust10s' and index_name = 'idx_ust10s' and table_schema = var_mydb;
if var_tblcnt=1 and var_indcnt=0 then
create index idx_ust10s on ust10s(profn,objct,auth);
end if;
select count(*) into var_tblcnt from information_schema.tables where table_schema = var_mydb and table_name = 'ust12';
select count(*) into var_indcnt FROM INFORMATION_SCHEMA.STATISTICS WHERE table_name = 'ust12' and index_name = 'idx_ust12' and table_schema = var_mydb;
if var_tblcnt=1 and var_indcnt=0 then
create index idx_ust12 on ust12(objct,auth,field);
end if;
select count(*) into var_tblcnt from information_schema.tables where table_schema = var_mydb and table_name = 'tstct';
select count(*) into var_indcnt FROM INFORMATION_SCHEMA.STATISTICS WHERE table_name = 'tstct' and index_name = 'idx_tstct' and table_schema = var_mydb;
if var_tblcnt=1 and var_indcnt=0 then
create index idx_tstct on tstct(tcode);
end if;
select count(*) into var_tblcnt from information_schema.tables where table_schema = var_mydb and table_name = 'usobx_c';
select count(*) into var_indcnt FROM INFORMATION_SCHEMA.STATISTICS WHERE table_name = 'usobx_c' and index_name = 'idx_usobx_c' and table_schema = var_mydb;
if var_tblcnt=1 and var_indcnt=0 then
create index idx_usobx_c on usobx_c(name,object,okflag);
end if;
select count(*) into var_tblcnt from information_schema.tables where table_schema = var_mydb and table_name = 'usobt_c';
select count(*) into var_indcnt FROM INFORMATION_SCHEMA.STATISTICS WHERE table_name = 'usobt_c' and index_name = 'idx_usobt_c' and table_schema = var_mydb;
if var_tblcnt=1 and var_indcnt=0 then
create index idx_usobt_c on usobt_c(name,object,field,low);
end if;
/* === Line ADDED By <NAME> === */
INSERT INTO `procedure_message` (`id`, `procedure_name`, `message`, `create_datetime`) VALUES (NULL, 'Role Build', 'Triming SAP Data...', current_timestamp());
/*Cleaning up data*/
update agr_users set uname=trim(uname), agr_name=trim(agr_name);
update tstct set tcode=trim(tcode);
update agr_1016 set agr_name=trim(agr_name);
update user_details set uname=trim(uname);
update usr02 set uname=trim(uname);
update usr21 set uname=trim(uname), persnumber=trim(persnumber);
update ust04 set username=trim(username), profile=trim(profile);
update ust10c set profn=trim(profn), subprof=trim(subprof);
update ust10s set profn=trim(profn), objct=trim(objct), auth=trim(auth);
update ust12 set objct=trim(objct), auth=trim(auth), field=trim(field);
/* === Line ADDED By <NAME> === */
INSERT INTO `procedure_message` (`id`, `procedure_name`, `message`, `create_datetime`) VALUES (NULL, 'Role Build', 'Update Master Role...', current_timestamp());
/*Create backup of UST04 and UST10C*/
create table if not exists UST04_ORIG select * from UST04;
create table if not exists UST10C_ORIG select * from UST10C;
/*delete from UST04 where profile in (select distinct PROFILE from AGR_1016);*/
drop table if exists ust04_del;
create table ust04_del select distinct u.profile from (select distinct profile from ust04) u inner join agr_1016 a on u.profile=a.profile;
create index idx_ud on ust04_del(profile);
delete u from UST04 u, ust04_del a where u.profile=a.profile;
drop table if exists ust04_del;
delete from UST04 where profile = '............';
/*delete from UST10C where profn in (select distinct PROFILE from AGR_1016);*/
delete u from UST10C u, AGR_1016 a where u.profn=a.profile;
insert into AGR_1016 select distinct concat('PROFILE:',profn),'000001',profn,'','X','' from ust04 u, ust10s s where u.profile = s.profn;
insert into AGR_USERS select distinct concat('PROFILE:',profn),username,'20000101','99991231','','','' from ust04 u, ust10s s where s.profn=u.profile;
delete u from ust04 u, ust10s s where u.profile=s.profn;
drop table if exists ust10c_recur;
create table ust10c_recur select distinct c.profn master_profn, c.profn, c.subprof from ust10c c, ust04 u where c.profn = u.profile;
/* === Line ADDED By <NAME> === */
INSERT INTO `procedure_message` (`id`, `procedure_name`, `message`, `create_datetime`) VALUES (NULL, 'Role Build', 'Attaching Profiles with Subprofiles', current_timestamp());
while exists (select * from ust10c_recur)
do
select master_profn,profn,subprof into var_masterprofn, var_profn, var_subprof from ust10c_recur limit 1;
insert into AGR_1016 select distinct concat('PROFILE:', var_subprof),'000001',var_subprof,'','X','' from ust10s where profn=var_subprof;
insert into AGR_USERS select distinct concat('PROFILE:',var_subprof),u.username,'20000101','99991231','','','' from ust04 u, ust10s s where u.profile = var_masterprofn and s.profn=var_subprof;
insert into ust10c_recur select distinct var_masterprofn, profn, subprof from ust10c where profn=var_subprof;
delete from ust10c_recur where master_profn = var_masterprofn and profn = var_profn and subprof=var_subprof;
end while;
/* === Line ADDED By <NAME> === */
INSERT INTO `procedure_message` (`id`, `procedure_name`, `message`, `create_datetime`) VALUES (NULL, 'Role Build', 'Cleaning Users..', current_timestamp());
drop table if exists ust10c_recur;
DROP TABLE IF EXISTS AGR_1016_CLEANUP;
CREATE TABLE AGR_1016_CLEANUP SELECT DISTINCT * FROM AGR_1016;
TRUNCATE AGR_1016;
INSERT INTO AGR_1016 SELECT * FROM AGR_1016_CLEANUP;
DROP TABLE IF EXISTS AGR_1016_CLEANUP;
DROP TABLE IF EXISTS AGR_USERS_CLEANUP;
CREATE TABLE AGR_USERS_CLEANUP SELECT DISTINCT * FROM AGR_USERS;
TRUNCATE AGR_USERS;
INSERT INTO AGR_USERS SELECT * FROM AGR_USERS_CLEANUP;
DROP TABLE IF EXISTS AGR_USERS_CLEANUP;
/* ==== Modified By Manish (Commented Code Uncommented) ==== */
/* The part below has been commented since it is taken care of by C# code in application. */
/*if var_lock = 1 then
set lock_condition = ' and r.lockstatus in (0,128)';
else
set lock_condition = '';
end if;
if var_exp_role = 1 then
set exp_role_status= 'u.to_dat >= curdate() and ';
else
set exp_role_status = '';
end if;
if var_exp_user = 1 then
set exp_user_status= ' (r.valid_to = \'00000000\' or r.valid_to >= curdate()) and ';
else
set exp_user_status = '';
end if;
if var_co = '\'%\'' then
set var_co = '';
else
set var_co = concat('d.company in (',var_co,')');
end if;
if var_dept = '\'%\'' then
set var_dept = '';
else
set var_dept = concat(' and d.company in (',var_dept,') ');
end if;
if var_loc = '\'%\'' then
set var_loc = '';
else
set var_loc = concat(' and d.location in (',var_loc,') ');
end if;
set @user_query = concat('select distinct u.UNAME from AGR_USERS u, usr02 r, user_details d where ',exp_role_status, 'u.uname=d.uname and ',exp_user_status,' d.enabled = 1 ', var_co, var_dept, var_loc,' and u.uname=r.uname', lock_condition,';');
-- set @user_query = concat('create table tab_user select distinct u.UNAME from AGR_USERS u, usr02 r, user_details d where ',exp_role_status, 'u.uname=d.uname and ',exp_user_status,' d.enabled = 1 ', var_co, var_dept, var_loc,' and u.uname=r.uname', lock_condition,';');
prepare s from @user_query;
execute s;*/
/* ==== End Block - Modified By Manish (Commented Code Uncommented) ==== */
/*Re-creating the rules tables*/
drop table if exists tcode_list;
drop table if exists conflicts_values_a_o;
drop table if exists conflicts_values_bl_o;
drop table if exists cva_cnt_o;
drop table if exists cvb_cnt_o;
drop table if exists conflicts_values_flbl_o;
drop table if exists cvf_cnt_o;
drop table if exists conflicts_values_notcd_o;
/* === Line ADDED By <NAME> === */
INSERT INTO `procedure_message` (`id`, `procedure_name`, `message`, `create_datetime`) VALUES (NULL, 'Role Build', 'Preparing T-Code List..', current_timestamp());
create table tcode_list select distinct q.tcode from (select distinct tcode from actcode union select distinct value tcode from conflicts_c union select distinct tcode from critical_auth where status=1 union select distinct tcode from tstct where tcode like 'Y%' or tcode like 'Z%')q;
select count(*) into var_tstca from information_schema.tables where table_schema = var_mydb and table_name = 'tstca';
select count(*) into var_usobx from information_schema.tables where table_schema = var_mydb and table_name = 'usobx_c';
select count(*) into var_usobt from information_schema.tables where table_schema = var_mydb and table_name = 'usobt_c';
/* === Line ADDED By <NAME> === */
INSERT INTO `procedure_message` (`id`, `procedure_name`, `message`, `create_datetime`) VALUES (NULL, 'Role Build', 'Preparing Conflicts.. ', current_timestamp());
if var_tstca > 0 then
/*create table conflicts_values_a_o select * from conflicts_values_a;
create table conflicts_values_bl_o select * from conflicts_values_bl;
create table cva_cnt_o select * from cva_cnt;
create table cvb_cnt_o select * from cvb_cnt;*/
delete from conflicts_values_a;
delete from conflicts_values_bl;
delete from cva_cnt;
delete from cvb_cnt;
insert into conflicts_values_a select distinct t.tcode,t.objct,t.field,t.value from tstca t, tcode_list c where t.tcode=c.tcode and t.value is not null and t.value <> '';
insert into conflicts_values_bl select distinct t.tcode,t.objct,t.field from tstca t, tcode_list c where t.tcode=c.tcode and (t.value is null or t.value = '');
insert into cva_cnt select tcode, count(*) from conflicts_values_a group by tcode;
insert into cvb_cnt select tcode, count(*) from conflicts_values_bl group by tcode;
end if;
if var_usobx > 0 and var_usobt > 0 then
/*create table conflicts_values_flbl_o select * from conflicts_values_flbl;
create table cvf_cnt_o select * from cvf_cnt;*/
delete from conflicts_values_flbl;
delete from cvf_cnt;
insert into conflicts_values_flbl select distinct x.name tcode, x.object objct from usobx_c x, tcode_list c where x.okflag='y' and x.name=c.tcode;
delete f from conflicts_values_flbl f, (select distinct tcode from conflicts_values_a union select distinct tcode from conflicts_values_bl)q where q.tcode=f.tcode;
insert into cvf_cnt select tcode, count(*) from conflicts_values_flbl group by tcode;
end if;
/* === Line ADDED By <NAME> === */
INSERT INTO `procedure_message` (`id`, `procedure_name`, `message`, `create_datetime`) VALUES (NULL, 'Role Build', 'Preparing Conflict Values', current_timestamp());
if var_tstca > 0 or var_usobx > 0 or var_usobt > 0 then
/*create table conflicts_values_notcd_o select * from conflicts_values_notcd;*/
delete from conflicts_values_notcd;
insert into conflicts_values_notcd select distinct tcode from tcode_list;
delete t from conflicts_values_notcd t, (select distinct tcode from conflicts_values_a union select distinct tcode from conflicts_values_bl union select distinct tcode from conflicts_values_flbl)q where q.tcode=t.tcode;
end if;
drop table if exists tcode_list;
/*Restoring UST04 and UST10C to original state*/
truncate ust04;
insert into ust04 select * from ust04_orig;
drop table if exists ust04_orig;
truncate ust10c;
insert into ust10c select * from ust10c_orig;
drop table if exists ust10c_orig;
drop table if exists build_temp;
drop table if exists role_build;
/* === Below 2 Variable Added By <NAME> === */
/* === Line ADDED By <NAME> === */
INSERT INTO `procedure_message` (`id`, `procedure_name`, `message`, `create_datetime`) VALUES (NULL, 'Role Build', 'Removing Temporary Tables..', current_timestamp());
/* ===== By Manish ====*/
DROP table if exists AGR_1016_ORIG;
DROP table if exists AGR_USERS_ORIG;
DROP table if exists AGR_1016_CLEANUP_INDO;
DROP table if exists AGR_USERS_CLEANUP_INDO;
create table if not exists AGR_1016_ORIG select * from AGR_1016;
create table if not exists AGR_USERS_ORIG select * from AGR_USERS;
DROP table if exists ENABLED_USERS_ROLE_INDO;
CREATE TABLE ENABLED_USERS_ROLE_INDO SELECT DISTINCT au.agr_name FROM USER_DETAILS ud INNER JOIN AGR_USERS au on au.uname = ud.uname and ud.enabled = 1;
Delete a1 from AGR_1016 a1 where a1.agr_name not in ( select a2.agr_name from ENABLED_USERS_ROLE_INDO a2 );
DROP TABLE IF EXISTS role_build;
/* === Added By Manish A NEW Table == */
DROP TABLE IF EXISTS TMP_ROLE_BUILD;
/* ===== By Manish ====*/
/* === Line ADDED By <NAME> === */
INSERT INTO `procedure_message` (`id`, `procedure_name`, `message`, `create_datetime`) VALUES (NULL, 'Role Build', 'Preparing Role Build...', current_timestamp());
CREATE TABLE IF NOT EXISTS role_build (
`AGR_NAME` varchar(50) default NULL,
`OBJCT` varchar(10) default NULL,
`AUTH` varchar(12) default NULL,
`FIELD` varchar(10) default NULL,
`FROM` varchar(45) default NULL,
`TO` varchar(45) default NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/* === Added By Manish A NEW Table == */
CREATE TABLE IF NOT EXISTS TMP_ROLE_BUILD (
`AGR_NAME` varchar(50) default NULL,
`OBJCT` varchar(10) default NULL,
`AUTH` varchar(12) default NULL,
`FIELD` varchar(10) default NULL,
`FROM` varchar(45) default NULL,
`TO` varchar(45) default NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/* THIS HAS BEEN REPLACED BY A MORE EFFICIENT QUERY JUST BELOW THE COMMENTED BLOCK
CREATE TABLE IF NOT EXISTS AGR_TEMP SELECT DISTINCT A.AGR_NAME FROM AGR_USERS A, TAB_USER U WHERE A.AGR_NAME NOT LIKE 'PROFILE:%SAP%ALL%' AND A.AGR_NAME NOT LIKE 'PROFILE:%SAP%NEW%' AND A.UNAME = U.UNAME;
DELETE A FROM AGR_TEMP A INNER JOIN ROLE_BUILD R ON A.AGR_NAME=R.AGR_NAME;
DROP TABLE IF EXISTS BUILD_TEMP;
CREATE TABLE BUILD_TEMP SELECT DISTINCT A.AGR_NAME,S.PROFN,S.AUTH FROM AGR_1016 A, UST10S S WHERE A.COUNTER=1 AND A.PROFILE=S.PROFN LIMIT 0;
CREATE INDEX IDX_BT ON BUILD_TEMP(AGR_NAME,PROFN,AUTH);
WHILE EXISTS (SELECT * FROM AGR_TEMP) DO
SELECT AGR_NAME INTO AGRNAM FROM AGR_TEMP LIMIT 1;
INSERT INTO BUILD_TEMP SELECT DISTINCT A.AGR_NAME,S.PROFN,S.AUTH FROM AGR_1016 A, UST10S S
WHERE A.AGR_NAME=AGRNAM AND A.COUNTER=1 AND S.PROFN=A.PROFILE;
INSERT INTO ROLE_BUILD
SELECT DISTINCT AGRNAM,U.OBJCT,U.AUTH,U.FIELD,U.FROM,U.TO FROM BUILD_TEMP B, UST12 U
WHERE B.AGR_NAME = AGRNAM AND B.AUTH=U.AUTH;
DELETE FROM AGR_TEMP WHERE AGR_NAME=AGRNAM;
TRUNCATE BUILD_TEMP;
END WHILE;
DROP TABLE IF EXISTS BUILD_TEMP;
DROP TABLE IF EXISTS AGR_TEMP;*/
/* Query does not give correct results if UST10S and UST12 are out of sync. Hence replaced with 2 queries below
INSERT INTO ROLE_BUILD SELECT DISTINCT A.AGR_NAME,U.OBJCT,U.AUTH,U.FIELD,U.FROM,U.TO FROM AGR_1016 A inner join UST10S S on S.PROFN=A.PROFILE
INNER JOIN UST12 U ON S.OBJCT=U.OBJCT AND S.AUTH=U.AUTH WHERE A.COUNTER=1 and A.AGR_NAME NOT LIKE 'PROFILE:%SAP%ALL%' AND A.AGR_NAME NOT LIKE 'PROFILE:%SAP%NEW%';*/
CREATE TABLE BUILD_TEMP SELECT DISTINCT A.AGR_NAME,S.AUTH FROM AGR_1016 A inner join UST10S S on S.PROFN=A.PROFILE whERE A.COUNTER=1 and A.AGR_NAME NOT LIKE 'PROFILE:%SAP%ALL%' AND A.AGR_NAME NOT LIKE 'PROFILE:%SAP%NEW%';
CREATE INDEX IDX_BT ON BUILD_TEMP(AUTH);
/* ==== Below Working Code is Commented By <NAME> === */
/* INSERT INTO ROLE_BUILD SELECT DISTINCT B.AGR_NAME,U.OBJCT,U.AUTH,U.FIELD,U.FROM,U.TO FROM BUILD_TEMP B INNER JOIN UST12 U ON B.AUTH=U.AUTH; */
/* ==== Code Snippet is Added By <NAME> == */
INSERT INTO TMP_ROLE_BUILD SELECT DISTINCT B.AGR_NAME,U.OBJCT,U.AUTH,U.FIELD,U.FROM,U.TO FROM BUILD_TEMP B INNER JOIN UST12 U ON B.AUTH=U.AUTH;
SELECT COUNT(*) FROM TMP_ROLE_BUILD INTO n;
SET i = 0;
WHILE i < n DO
INSERT INTO ROLE_BUILD SELECT * FROM TMP_ROLE_BUILD LIMIT i,1000;
SET i = i + 1000;
END WHILE;
/* ============= */
/* === Line ADDED By <NAME> === */
INSERT INTO `procedure_message` (`id`, `procedure_name`, `message`, `create_datetime`) VALUES (NULL, 'Role Build', 'Updating Role Build...', current_timestamp());
DROP TABLE IF EXISTS BUILD_TEMP;
update role_BUILD r set r.to=r.from where r.to='' or r.to is null;
update role_BUILD d set d.from = replace(d.from,'*','%'), d.to = replace(d.to,'*','__%');
create index idx_rB_name_objct_field on role_build(agr_name, auth,objct,field,`from`,`to`);
CREATE INDEX IDX_RB_NAME_FRM_TO ON role_build(agr_name,`from`,`to`);
/* === By Manish === */
DROP TABLE IF EXISTS PROFILES_SAP_ALL;
CREATE TABLE PROFILES_SAP_ALL SELECT DISTINCT A.AGR_NAME,S.AUTH FROM AGR_1016 A inner join UST10S S on S.PROFN=A.PROFILE whERE A.COUNTER=1 and (A.AGR_NAME LIKE 'PROFILE:%SAP%ALL%' OR A.AGR_NAME LIKE 'PROFILE:%SAP%NEW%');
/* === By Manish === */
/* === By Manish ==== */
DROP TABLE IF EXISTS AGR_1016;
CREATE TABLE AGR_1016 SELECT * FROM AGR_1016_ORIG;
DROP TABLE IF EXISTS AGR_1016_ORIG ;
/* === By Manish ==== */
/* === Line ADDED By <NAME> === */
INSERT INTO `procedure_message` (`id`, `procedure_name`, `message`, `create_datetime`) VALUES (NULL, 'Role Build', 'Analysis Preparation Completed...', current_timestamp());
if log_stat = 'ON' then
set global general_log = 'ON';
end if;
END
|
drop database if exists `virus_db`;
create database `virus_db`;
use `virus_db`;
create table `md5_virus_table`(
`virus_id` int not null auto_increment,
`virus_tag` varchar(50) not null unique,
`virus_name` varchar(50) not null default 'Trojan',
primary key(virus_id)
);
insert into `md5_virus_table`(`virus_tag`) values (MD5('1JXahbu230x1Zehim88t'));
select `virus_tag` from `md5_virus_table`;
delete from `md5_virus_table` where `virus_tag` = MD5('1JXahbu230x1Zehim88t');
select `virus_tag` from `md5_virus_table`;
select * from `md5_virus_table`;
|
CREATE TABLE [CharityImport].[extract_charity]
(
[regno] [int] NULL,
[subno] [int] NULL,
[name] [varchar](500) NULL,
[orgtype] [varchar](50) NULL,
[gd] [nvarchar](max) NULL,
[aob] [varchar](max) NULL,
[aob_defined] [int] NULL,
[nhs] [varchar](1) NOT NULL,
[ha_no] [int] NULL,
[corr] [varchar](255) NULL,
[add1] [varchar](35) NULL,
[add2] [varchar](35) NULL,
[add3] [varchar](35) NULL,
[add4] [varchar](35) NULL,
[add5] [varchar](35) NULL,
[postcode] [varchar](8) NULL,
[phone] [varchar](400) NULL,
[fax] [int] NULL
)
|
-- First Solution
SELECT SUM([Result].Diff)
AS [SumDifference]
FROM (
SELECT DepositAmount - (
SELECT DepositAmount
FROM WizzardDeposits
AS w
WHERE w.Id = wd.Id + 1
)
AS Diff
FROM WizzardDeposits
AS wd
)
AS [Result]
-- Second Solution
SELECT SUM([Difference])
AS [SumDifference]
FROM (
SELECT FirstName AS [Host Wizard FirstName],
DepositAmount AS [Host Wizard Deposit Amount],
LEAD(FirstName) OVER (ORDER BY Id) AS [Guest Wizard],
LEAD(DepositAmount) OVER (ORDER BY Id) AS [Guest Wizard Deposit],
DepositAmount - LEAD(DepositAmount) OVER (ORDER BY Id) AS [Difference]
FROM WizzardDeposits
)
AS DiffTable
|
WITH AggrRecord AS (
SELECT
"Api",
"DISTRICT_NO",
"LEASE_NO",
"WELL_NO",
"FIELD_CLASS"
FROM "ProductionAggr"
WHERE "Api"='42-049-32539-00-00'
), LeaseGasData AS (
SELECT
"OgLeaseCycleData"."DISTRICT_NO",
"OgLeaseCycleData"."LEASE_NO",
"OgLeaseCycleData"."OIL_GAS_CODE",
make_date("OgLeaseCycleData"."CYCLE_YEAR", "OgLeaseCycleData"."CYCLE_MONTH", 1) AS "Date",
"OgLeaseCycleData"."LEASE_GAS_PROD_VOL" AS "GAS_VOL",
"OgLeaseCycleData"."LEASE_COND_PROD_VOL" AS "COND_VOL",
"OgLeaseCycleData"."LEASE_OIL_PROD_VOL" AS "OIL_VOL"
FROM "OgLeaseCycleData",AggrRecord
WHERE "OgLeaseCycleData"."OIL_GAS_CODE"='G' AND "OgLeaseCycleData"."DISTRICT_NO"=AggrRecord."DISTRICT_NO" AND "OgLeaseCycleData"."LEASE_NO"=AggrRecord."LEASE_NO"
), LeaseOilData AS (
SELECT
"OgLeaseCycleData"."DISTRICT_NO",
"OgLeaseCycleData"."LEASE_NO",
"OgLeaseCycleData"."OIL_GAS_CODE",
make_date("OgLeaseCycleData"."CYCLE_YEAR", "OgLeaseCycleData"."CYCLE_MONTH", 1) AS "Date",
"OgLeaseCycleData"."LEASE_GAS_PROD_VOL" AS "GAS_VOL",
"OgLeaseCycleData"."LEASE_COND_PROD_VOL" AS "COND_VOL",
"OgLeaseCycleData"."LEASE_OIL_PROD_VOL" AS "OIL_VOL"
FROM "OgLeaseCycleData",AggrRecord
WHERE "OgLeaseCycleData"."OIL_GAS_CODE"='O' AND "OgLeaseCycleData"."DISTRICT_NO"=AggrRecord."DISTRICT_NO" AND "OgLeaseCycleData"."LEASE_NO"=AggrRecord."LEASE_NO"
), LeaseData AS (
SELECT
COALESCE(LeaseGasData."DISTRICT_NO",LeaseOilData."DISTRICT_NO") AS "DISTRICT_NO",
COALESCE(LeaseGasData."LEASE_NO",LeaseOilData."LEASE_NO") AS "LEASE_NO",
COALESCE(LeaseGasData."OIL_GAS_CODE",LeaseOilData."OIL_GAS_CODE") AS "OIL_GAS_CODE",
COALESCE(LeaseGasData."Date",LeaseOilData."Date") AS "Date",
COALESCE(LeaseGasData."GAS_VOL", 0) + COALESCE(LeaseOilData."GAS_VOL", 0) AS "GAS_VOL",
COALESCE(LeaseGasData."COND_VOL", 0) + COALESCE(LeaseOilData."COND_VOL", 0) AS "COND_VOL",
COALESCE(LeaseGasData."OIL_VOL", 0) + COALESCE(LeaseOilData."OIL_VOL", 0) AS "OIL_VOL"
FROM LeaseGasData
LEFT JOIN LeaseOilData
ON LeaseGasData."DISTRICT_NO"=LeaseOilData."DISTRICT_NO" AND LeaseGasData."LEASE_NO"=LeaseOilData."LEASE_NO" AND LeaseGasData."Date"=LeaseOilData."Date"
UNION
SELECT
COALESCE(LeaseOilData."DISTRICT_NO",LeaseGasData."DISTRICT_NO") AS "DISTRICT_NO",
COALESCE(LeaseOilData."LEASE_NO",LeaseGasData."LEASE_NO") AS "LEASE_NO",
COALESCE(LeaseOilData."OIL_GAS_CODE",LeaseGasData."OIL_GAS_CODE") AS "OIL_GAS_CODE",
COALESCE(LeaseOilData."Date",LeaseGasData."Date") AS "Date",
COALESCE(LeaseOilData."GAS_VOL", 0) + COALESCE(LeaseGasData."GAS_VOL", 0) AS "GAS_VOL",
COALESCE(LeaseOilData."COND_VOL", 0) + COALESCE(LeaseGasData."COND_VOL", 0) AS "COND_VOL",
COALESCE(LeaseOilData."OIL_VOL", 0) + COALESCE(LeaseGasData."OIL_VOL", 0) AS "OIL_VOL"
FROM LeaseGasData
RIGHT JOIN LeaseOilData
ON LeaseGasData."DISTRICT_NO"=LeaseOilData."DISTRICT_NO" AND LeaseGasData."LEASE_NO"=LeaseOilData."LEASE_NO" AND LeaseGasData."Date"=LeaseOilData."Date"
), WellProduction AS (
SELECT
AggrRecord."Api",
LeaseData."Date",
LeaseData."GAS_VOL",
LeaseData."COND_VOL",
LeaseData."OIL_VOL"
FROM AggrRecord
RIGHT JOIN LeaseData
ON AggrRecord."DISTRICT_NO"=LeaseData."DISTRICT_NO" AND AggrRecord."LEASE_NO"=LeaseData."LEASE_NO"
WHERE AggrRecord."Api" IS NOT NULL
)
SELECT *
FROM WellProduction;
|
<gh_stars>1-10
-- phpMyAdmin SQL Dump
-- version 4.9.0.1
-- https://www.phpmyadmin.net/
--
-- Servidor: 127.0.0.1
-- Tiempo de generación: 17-07-2019 a las 07:27:39
-- Versión del servidor: 10.3.15-MariaDB
-- Versión de PHP: 7.3.6
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: `tickets`
--
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `gruposoporte`
--
DROP TABLE IF EXISTS `gruposoporte`;
CREATE TABLE `gruposoporte` (
`gsoporte_id` int(11) NOT NULL,
`gsoporte_titulo` varchar(50) DEFAULT NULL,
`gsoporte_descripcion` varchar(50) DEFAULT NULL,
`user_id` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `gruposoporte_historico`
--
DROP TABLE IF EXISTS `gruposoporte_historico`;
CREATE TABLE `gruposoporte_historico` (
`gsoportehist_id` int(11) NOT NULL,
`gsoporte_id` int(11) NOT NULL,
`gsoporte_titulo` varchar(50) DEFAULT NULL,
`gsoporte_descripcion` varchar(50) DEFAULT NULL,
`user_id` int(11) DEFAULT NULL,
`user_id_mod` int(11) DEFAULT NULL,
`fecha_mod` datetime NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `gruposoporte_usuarios`
--
DROP TABLE IF EXISTS `gruposoporte_usuarios`;
CREATE TABLE `gruposoporte_usuarios` (
`gsoporte_usuarios_id` int(11) NOT NULL,
`gsoporte_id` int(11) DEFAULT NULL,
`user_id` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `privilegios`
--
DROP TABLE IF EXISTS `privilegios`;
CREATE TABLE `privilegios` (
`priv_id` int(11) NOT NULL,
`priv_titulo` varchar(50) DEFAULT NULL,
`priv_descripcion` varchar(50) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Truncar tablas antes de insertar `privilegios`
--
TRUNCATE TABLE `privilegios`;
--
-- Volcado de datos para la tabla `privilegios`
--
INSERT INTO `privilegios` (`priv_id`, `priv_titulo`, `priv_descripcion`) VALUES
(1, 'Administrador', 'Dios de la web'),
(2, 'Tecnico', 'Soporte TI'),
(3, 'Usuario', 'Usuario');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `ticket`
--
DROP TABLE IF EXISTS `ticket`;
CREATE TABLE `ticket` (
`ticket_id` int(11) NOT NULL,
`ticket_titulo` varchar(100) DEFAULT NULL,
`user_id` int(11) DEFAULT NULL,
`tecnico_id` int(11) DEFAULT NULL,
`gsoporte_id` int(11) DEFAULT NULL,
`ticket_descripcion` varchar(255) DEFAULT NULL,
`ticket_estado_id` int(1) NOT NULL DEFAULT 1,
`ticket_fecha_creacion` datetime NOT NULL DEFAULT current_timestamp(),
`ticket_fecha_actualizado` datetime NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `ticket_estado`
--
DROP TABLE IF EXISTS `ticket_estado`;
CREATE TABLE `ticket_estado` (
`ticket_estado_id` int(11) NOT NULL,
`ticket_estado_titulo` varchar(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Truncar tablas antes de insertar `ticket_estado`
--
TRUNCATE TABLE `ticket_estado`;
--
-- Volcado de datos para la tabla `ticket_estado`
--
INSERT INTO `ticket_estado` (`ticket_estado_id`, `ticket_estado_titulo`) VALUES
(1, 'Abierto'),
(2, 'Cerrado');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `ticket_historico`
--
DROP TABLE IF EXISTS `ticket_historico`;
CREATE TABLE `ticket_historico` (
`tickethist_id` int(11) NOT NULL,
`ticket_id` int(11) NOT NULL,
`ticket_titulo` varchar(100) DEFAULT NULL,
`user_id` int(11) DEFAULT NULL,
`tecnico_id` int(11) DEFAULT NULL,
`gsoporte_id` int(11) DEFAULT NULL,
`ticket_descripcion` varchar(255) DEFAULT NULL,
`ticket_estado_id` int(1) NOT NULL,
`ticket_fecha_creacion` datetime NOT NULL,
`ticket_fecha_actualizado` datetime NOT NULL,
`user_id_mod` int(11) DEFAULT NULL,
`fecha_mod` datetime NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `usuarios`
--
DROP TABLE IF EXISTS `usuarios`;
CREATE TABLE `usuarios` (
`user_id` int(11) NOT NULL,
`user_nombre` varchar(50) NOT NULL,
`user_correo` varchar(255) NOT NULL,
`user_password` varchar(255) NOT NULL,
`user_empresa` varchar(50) NOT NULL,
`user_direccion` varchar(50) NOT NULL,
`user_telefono` varchar(15) NOT NULL,
`user_web_empresa` varchar(50) NOT NULL,
`user_cargo` varchar(50) NOT NULL,
`user_fecha_creacion` datetime NOT NULL DEFAULT current_timestamp(),
`priv_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Truncar tablas antes de insertar `usuarios`
--
TRUNCATE TABLE `usuarios`;
--
-- Volcado de datos para la tabla `usuarios`
--
INSERT INTO `usuarios` (`user_id`, `user_nombre`, `user_correo`, `user_password`, `user_empresa`, `user_direccion`, `user_telefono`, `user_web_empresa`, `user_cargo`, `user_fecha_creacion`, `priv_id`) VALUES
(1, 'Administrador', '<EMAIL>', <PASSWORD>', 'Eware Consulting', 'Amunategui 20, Santiago', '+56996630457', 'www.eware.com', 'Consultor Informático', '2019-07-07 00:00:00', 1),
(2, 'TecnicoABCD', '<EMAIL>', <PASSWORD>', 'Carcom', 'Quilicura 1234, Santiago', '+56912345678', 'www.carcom.com', 'Soporte Informático', '2019-07-07 00:00:00', 2),
(3, 'UsuarioABCDE', '<EMAIL>', '*6BB4837EB74329105EE4568DDA7DC67ED2CA2AD9', 'Junaeb Consulting', 'Bandera 2331, Santiago', '+56996612547', 'www.junaeb.com', 'Administrador DBA', '2019-07-01 00:00:00', 3);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `usuarios_historico`
--
DROP TABLE IF EXISTS `usuarios_historico`;
CREATE TABLE `usuarios_historico` (
`userhist_id` int(11) NOT NULL,
`user_id` int(11) NOT NULL,
`user_nombre` varchar(50) NOT NULL,
`user_correo` varchar(255) NOT NULL,
`user_password` varchar(255) NOT NULL,
`user_empresa` varchar(50) NOT NULL,
`user_direccion` varchar(50) NOT NULL,
`user_telefono` varchar(15) NOT NULL,
`user_web_empresa` varchar(50) NOT NULL,
`user_cargo` varchar(50) NOT NULL,
`user_fecha_creacion` date NOT NULL,
`priv_id` int(11) NOT NULL,
`user_id_mod` int(11) DEFAULT NULL,
`fecha_mod` datetime NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Índices para tablas volcadas
--
--
-- Indices de la tabla `gruposoporte`
--
ALTER TABLE `gruposoporte`
ADD PRIMARY KEY (`gsoporte_id`);
--
-- Indices de la tabla `gruposoporte_historico`
--
ALTER TABLE `gruposoporte_historico`
ADD PRIMARY KEY (`gsoportehist_id`);
--
-- Indices de la tabla `gruposoporte_usuarios`
--
ALTER TABLE `gruposoporte_usuarios`
ADD PRIMARY KEY (`gsoporte_usuarios_id`),
ADD UNIQUE KEY `idx_gruposoporte_usuarios` (`gsoporte_id`,`user_id`);
--
-- Indices de la tabla `privilegios`
--
ALTER TABLE `privilegios`
ADD PRIMARY KEY (`priv_id`);
--
-- Indices de la tabla `ticket`
--
ALTER TABLE `ticket`
ADD PRIMARY KEY (`ticket_id`);
--
-- Indices de la tabla `ticket_estado`
--
ALTER TABLE `ticket_estado`
ADD PRIMARY KEY (`ticket_estado_id`);
--
-- Indices de la tabla `ticket_historico`
--
ALTER TABLE `ticket_historico`
ADD PRIMARY KEY (`tickethist_id`);
--
-- Indices de la tabla `usuarios`
--
ALTER TABLE `usuarios`
ADD PRIMARY KEY (`user_id`);
--
-- Indices de la tabla `usuarios_historico`
--
ALTER TABLE `usuarios_historico`
ADD PRIMARY KEY (`userhist_id`);
--
-- AUTO_INCREMENT de las tablas volcadas
--
--
-- AUTO_INCREMENT de la tabla `gruposoporte`
--
ALTER TABLE `gruposoporte`
MODIFY `gsoporte_id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT de la tabla `gruposoporte_historico`
--
ALTER TABLE `gruposoporte_historico`
MODIFY `gsoportehist_id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT de la tabla `gruposoporte_usuarios`
--
ALTER TABLE `gruposoporte_usuarios`
MODIFY `gsoporte_usuarios_id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT de la tabla `ticket`
--
ALTER TABLE `ticket`
MODIFY `ticket_id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT de la tabla `ticket_estado`
--
ALTER TABLE `ticket_estado`
MODIFY `ticket_estado_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT de la tabla `ticket_historico`
--
ALTER TABLE `ticket_historico`
MODIFY `tickethist_id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT de la tabla `usuarios`
--
ALTER TABLE `usuarios`
MODIFY `user_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT de la tabla `usuarios_historico`
--
ALTER TABLE `usuarios_historico`
MODIFY `userhist_id` int(11) NOT NULL AUTO_INCREMENT;
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
# --- !Ups
INSERT INTO client
(
client_id,
name,
email,
timestamp_created,
timestamp_edited
)
VALUES
(
'b50dfea4-7910-4e82-9ec0-c835fdbc9f5a',
'Gravity Ltd',
'<EMAIL>',
'2004-10-20 11:30:45',
'2012-11-19 16:27:01'
),
(
'091fe75a-f52b-4bde-9f61-0c46011ea283',
'Relativity GmbH',
'<EMAIL>',
'2014-03-20 09:08:42',
'2016-06-19 17:39:39'
),
(
'd15c9196-0bcf-4771-9fdd-247194609b44',
'Radiation SA',
'<EMAIL>',
'2018-10-21 10:30:46',
'2020-10-20 14:21:10'
);
# --- !Downs
DELETE FROM client
WHERE client_id IN ('b50dfea4-7910-4e82-9ec0-c835fdbc9f5a',
'091fe75a-f52b-4bde-9f61-0c46011ea283',
'd15c9196-0bcf-4771-9fdd-247194609b44');
|
ALTER TABLE `user_roles`
ADD `alumni` BOOLEAN NOT NULL DEFAULT 0 AFTER `id`,
ADD `alumni_game_mode` TINYINT UNSIGNED AFTER `alumni`;
|
<filename>App4 - Course Manager/Setup Script.sql
USE CourseReport;
GO
CREATE PROCEDURE [dbo].[Course_GetList]
AS
SELECT
CourseId,
CourseCode,
[Description]
FROM
[dbo].[Course]
GO
CREATE PROCEDURE [dbo].[Student_GetList]
AS
SELECT
StudentId,
FirstName,
LastName
FROM
[dbo].[Student]
GO
CREATE PROCEDURE [dbo].[Enrollments_GetList]
AS
SELECT
EnrollmentId,
StudentId,
CourseId
FROM
[dbo].[Enrollments]
GO
CREATE TYPE [dbo].[EnrollmentType] AS TABLE
(
[EnrollmentId] INT NOT NULL
,[StudentId] INT NOT NULL
,[CourseId] INT NOT NULL
);
GO
ALTER TABLE [dbo].[Enrollments]
ADD CreateDate DATETIME NOT NULL DEFAULT(GETDATE()),
CreateId VARCHAR(50) NOT NULL DEFAULT('System'),
UpdateDate DATETIME NOT NULL DEFAULT(GETDATE()),
UpdateId VARCHAR(50) NOT NULL DEFAULT('System')
GO
CREATE PROCEDURE [dbo].[Enrollments_Upsert]
@EnrollmentType EnrollmentType READONLY,
@UserId VARCHAR(50)
AS
MERGE INTO Enrollments TARGET
USING
(
SELECT
[EnrollmentId],
[StudentId],
[CourseId],
@UserId [UpdateId],
GETDATE() [UpdateDate],
@UserId [CreateId],
GETDATE() [CreateDate]
FROM
@EnrollmentType
) AS SOURCE
ON
(
TARGET.EnrollmentId = SOURCE.EnrollmentId
)
WHEN MATCHED THEN
UPDATE SET
TARGET.[StudentId] = SOURCE.[StudentId],
TARGET.[CourseId] = SOURCE.[CourseId],
TARGET.[UpdateId] = SOURCE.[UpdateId],
TARGET.[UpdateDate] = SOURCE.[UpdateDate]
WHEN NOT MATCHED BY TARGET THEN
INSERT (
[StudentId],
[CourseId],
[CreateDate],
[CreateId],
[UpdateDate],
[UpdateId])
VALUES (
SOURCE.[StudentId],
SOURCE.[CourseId],
SOURCE.[CreateDate],
SOURCE.[CreateId],
SOURCE.[UpdateDate],
SOURCE.[UpdateId]);
GO
|
<gh_stars>1-10
-- AlterTable
ALTER TABLE "Task" ADD COLUMN "title" TEXT NOT NULL DEFAULT E'';
|
SELECT mov.id, mov.name
FROM movies mov
INNER JOIN prices pri ON mov.id_prices = pri.id
WHERE pri.value < 2;
|
<filename>src/test/resources/walfault.test_39.sql
-- walfault.test
--
-- db eval {
-- PRAGMA locking_mode = exclusive;
-- PRAGMA journal_mode = WAL;
-- INSERT INTO abc VALUES(randomblob(1500));
-- }
PRAGMA locking_mode = exclusive;
PRAGMA journal_mode = WAL;
INSERT INTO abc VALUES(randomblob(1500));
|
<gh_stars>10-100
/********************************************/
-- データキャッシュ状況の情報取得 (DB 毎に取得)
/********************************************/
SELECT
GETDATE() AS DATE,
DB_NAME(database_id) AS Database_name,
OBJECT_NAME(p.object_id) AS object_name,
bd.page_type,
COUNT_BIG(*) AS [Page Count],
COUNT_BIG(*) * 8 / 1024.0 AS [Page Size (MB)]
FROM
sys.dm_os_buffer_descriptors bd WITH (NOLOCK)
LEFT JOIN
sys.allocation_units au WITH (NOLOCK)
ON
bd.allocation_unit_id = au.allocation_unit_id
LEFT JOIN
sys.partitions p WITH (NOLOCK)
ON
p.hobt_id = au.container_id
WHERE
database_id = DB_ID()
AND
OBJECT_SCHEMA_NAME(p.object_id) <> 'sys'
GROUP BY
database_id,
p.object_id,
bd.page_type
OPTION (MAXDOP 1, RECOMPILE)
|
CREATE PROC dbo.JobStep_Get(
@InstanceID INT,
@JobID UNIQUEIDENTIFIER,
@StepID INT
)
AS
SELECT J.name,
JS.step_name,
JS.subsystem,
JS.command,
JS.cmdexec_success_code,
JS.on_success_action,
JS.on_success_step_id,
JS.on_fail_action,
JS.on_fail_step_id,
JS.database_name,
JS.database_user_name,
JS.retry_attempts,
JS.retry_interval,
JS.output_file_name,
JS.proxy_name
FROM dbo.JobSteps JS
JOIN dbo.Jobs J ON J.job_id = JS.job_id AND J.InstanceID = JS.InstanceID
WHERE JS.InstanceID = @InstanceID
AND JS.job_id = @JobID
AND JS.step_id = @StepID
|
CREATE TABLE venues (name text);
ALTER TABLE venues RENAME TO arenas;
CREATE TABLE cities (name text);
RENAME TABLE cities TO locations;
|
/*
Navicat MySQL Data Transfer
Source Server : localhost
Source Server Version : 50553
Source Host : localhost:3306
Source Database : longfu
Target Server Type : MYSQL
Target Server Version : 50553
File Encoding : 65001
Date: 2019-03-16 18:04:45
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for `lf_business`
-- ----------------------------
DROP TABLE IF EXISTS `lf_business`;
CREATE TABLE `lf_business` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`business` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`update_time` int(11) DEFAULT NULL,
`create_time` int(11) DEFAULT NULL,
`delete_time` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- ----------------------------
-- Records of lf_business
-- ----------------------------
INSERT INTO `lf_business` VALUES ('2', 'app制作', '1542007438', '1542007261', '1542007438');
INSERT INTO `lf_business` VALUES ('3', 'fsd ', '1542007493', '1542007387', '1542007493');
INSERT INTO `lf_business` VALUES ('4', 'fs ', '1542007520', '1542007506', '1542007520');
INSERT INTO `lf_business` VALUES ('5', '保健养生', '1550126223', '1542007510', '1550126223');
INSERT INTO `lf_business` VALUES ('6', '智能家居', '1548473435', '1542013806', null);
INSERT INTO `lf_business` VALUES ('7', '制冷设备', '1550630237', '1542242861', null);
INSERT INTO `lf_business` VALUES ('8', '空调批发', '1551256329', '1550126246', null);
INSERT INTO `lf_business` VALUES ('9', '家电清洗', '1551764919', '1551764919', null);
-- ----------------------------
-- Table structure for `lf_dealer`
-- ----------------------------
DROP TABLE IF EXISTS `lf_dealer`;
CREATE TABLE `lf_dealer` (
`id` tinyint(3) unsigned NOT NULL AUTO_INCREMENT,
`address` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL,
`name` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
`content` varchar(500) COLLATE utf8mb4_unicode_ci NOT NULL,
`img` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`create_time` int(11) DEFAULT NULL,
`update_time` int(11) DEFAULT NULL,
`delete_time` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=12 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- ----------------------------
-- Records of lf_dealer
-- ----------------------------
INSERT INTO `lf_dealer` VALUES ('4', '北京市大兴区旧宫镇隆庆路4号院五环国际', '旧宫美的专卖店', '13260332870', './uploads/pics/20190302/85b41ff8a2bdd41bf57f8a9ec2bcf8a7.jpg', '1551248941', '1552350304', null);
INSERT INTO `lf_dealer` VALUES ('3', '北京市大兴区旧宫镇隆庆路4号院五环国际', '旧宫美的旗舰店', '13260332870', './uploads/pics/20190302/c3281d32ae021249720fd6ad1bbab841.jpg', '1551238476', '1552350311', null);
INSERT INTO `lf_dealer` VALUES ('8', '北京市大兴区旧宫镇隆庆路4号院五环国际', '旧宫美的专卖店', '13260332870', './uploads/pics/20190302/35a59d932ca17a06a560b7f5ed943138.jpg', '1551337077', '1552350351', null);
INSERT INTO `lf_dealer` VALUES ('10', '北京市大兴区旧宫镇隆庆路4号院五环国际', '旧宫美的专卖店', '13260332870', './uploads/pics/20190302/add2d584595ce82d05caf5f3b573a2ee.jpg', '1551337301', '1552350357', null);
-- ----------------------------
-- Table structure for `lf_lunbo_first`
-- ----------------------------
DROP TABLE IF EXISTS `lf_lunbo_first`;
CREATE TABLE `lf_lunbo_first` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键id',
`img_path` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`create_time` int(11) NOT NULL,
`update_time` int(11) NOT NULL,
`delete_time` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- ----------------------------
-- Records of lf_lunbo_first
-- ----------------------------
INSERT INTO `lf_lunbo_first` VALUES ('1', './uploads/pics/20190220/2be426a6a76fe3721909b1cbddba2c35.jpg', '0', '1550629840', '0');
INSERT INTO `lf_lunbo_first` VALUES ('2', './uploads/pics/20190306/5cc97d422da0090e2de676f65e30a082.jpg', '1546421170', '1551857839', '0');
INSERT INTO `lf_lunbo_first` VALUES ('3', './uploads/pics/20190220/9496d625a183bba28de42fd6a2de3d06.jpg', '1546421181', '1550630139', '0');
-- ----------------------------
-- Table structure for `lf_lunbo_other`
-- ----------------------------
DROP TABLE IF EXISTS `lf_lunbo_other`;
CREATE TABLE `lf_lunbo_other` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键id',
`img_path` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`create_time` int(11) DEFAULT NULL,
`update_time` int(11) DEFAULT NULL,
`delete_time` int(11) DEFAULT NULL,
`is_use` enum('0','1') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '1' COMMENT '0未启用 1启用',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- ----------------------------
-- Records of lf_lunbo_other
-- ----------------------------
INSERT INTO `lf_lunbo_other` VALUES ('4', './uploads/pics/20181130/04fe935b82062260d7c60a19b9e0a2b2.jpg', '1543542531', '1543542536', '1543542536', '1');
INSERT INTO `lf_lunbo_other` VALUES ('5', './uploads/pics/20181130/77e029920493ea1a11a31a015e18ac82.jpg', '1543542567', '1543567505', '1543567505', '0');
INSERT INTO `lf_lunbo_other` VALUES ('6', './uploads/pics/20181130/ec3177a558cdda8a89c5fe5292f28675.png', '1543542578', '1543567508', '1543567508', '0');
INSERT INTO `lf_lunbo_other` VALUES ('7', './uploads/pics/20181225/a45e1097689642108b6c939acae0572e.jpg', '1543557269', '1545727673', null, '1');
INSERT INTO `lf_lunbo_other` VALUES ('8', './uploads/pics/20181130/5f5f6a1826592428cfe1a9ffe455b376.jpg', '1543559044', '1543559044', null, '1');
-- ----------------------------
-- Table structure for `lf_manager`
-- ----------------------------
DROP TABLE IF EXISTS `lf_manager`;
CREATE TABLE `lf_manager` (
`mg_id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键id',
`mg_name` varchar(32) NOT NULL COMMENT '名称',
`mg_pwd` char(32) NOT NULL COMMENT '密码',
`create_time` int(10) DEFAULT NULL COMMENT '添加时间',
`update_time` int(10) DEFAULT NULL COMMENT '修改时间',
`delete_time` int(10) DEFAULT NULL COMMENT '删除时间',
PRIMARY KEY (`mg_id`)
) ENGINE=MyISAM AUTO_INCREMENT=505 DEFAULT CHARSET=utf8 COMMENT='管理员表';
-- ----------------------------
-- Records of lf_manager
-- ----------------------------
INSERT INTO `lf_manager` VALUES ('1', 'admin', 'md123456', null, null, null);
INSERT INTO `lf_manager` VALUES ('503', '西门', '1234', null, null, null);
INSERT INTO `lf_manager` VALUES ('504', 'dd', '1234', null, null, null);
-- ----------------------------
-- Table structure for `lf_news`
-- ----------------------------
DROP TABLE IF EXISTS `lf_news`;
CREATE TABLE `lf_news` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`category_id` smallint(6) NOT NULL,
`title` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
`author` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
`img` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`content` text COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '内容',
`keywords` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '关键字',
`create_time` int(11) DEFAULT NULL,
`update_time` int(11) DEFAULT NULL,
`delete_time` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=21 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- ----------------------------
-- Records of lf_news
-- ----------------------------
INSERT INTO `lf_news` VALUES ('18', '4', '好评如潮', '周杰伦', './uploads/pics/20181228/740c963c58ceb9ac9363874820dc5a7c.jpg', '<p>老实交代浪费时间的</p>', '隆富盛元成功上市!!!', '1545984928', '1545984928', null);
INSERT INTO `lf_news` VALUES ('16', '5', '腾讯游戏破产', '第三方', './uploads/pics/20181227/2b71f421cfa29ab1bbc1e582a16f0409.gif', '<p>胜多负少的</p>', '腾讯股价大跌!!', '1545892413', '1545984986', null);
INSERT INTO `lf_news` VALUES ('19', '4', '北京隆富盛元收购百度', '王小二', './uploads/pics/20190109/a568e42d4cbebc48889167e7968486bc.jpg', '<p>胜多负少的</p>', '第三方', '1547004220', '1547004220', null);
-- ----------------------------
-- Table structure for `lf_news_category`
-- ----------------------------
DROP TABLE IF EXISTS `lf_news_category`;
CREATE TABLE `lf_news_category` (
`category_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
`category_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`create_time` int(11) DEFAULT NULL,
`update_time` int(11) DEFAULT NULL,
`delete_time` int(11) DEFAULT NULL,
PRIMARY KEY (`category_id`)
) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- ----------------------------
-- Records of lf_news_category
-- ----------------------------
INSERT INTO `lf_news_category` VALUES ('4', '公司要闻', '1545871524', '1545888780', null);
INSERT INTO `lf_news_category` VALUES ('5', '行业动态', '1545873930', '1545888791', null);
INSERT INTO `lf_news_category` VALUES ('6', '线下服务', '1545969400', '1545983503', '1545983503');
INSERT INTO `lf_news_category` VALUES ('7', '线下服务', '1546050293', '1546051772', '1546051772');
-- ----------------------------
-- Table structure for `lf_picture`
-- ----------------------------
DROP TABLE IF EXISTS `lf_picture`;
CREATE TABLE `lf_picture` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`describe` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '图片描述位置',
`img` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`create_time` int(11) DEFAULT NULL,
`update_time` int(11) DEFAULT NULL,
`delete_time` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- ----------------------------
-- Records of lf_picture
-- ----------------------------
INSERT INTO `lf_picture` VALUES ('1', '关于我们 一图 【1920 x 500】', './uploads/pics/20190222/18078498cb0c9b1eaef88281279494fa.jpg', '1546479300', '1550815359', null);
INSERT INTO `lf_picture` VALUES ('2', '关于我们 二图 【650 x 300】 ', './uploads/pics/20190304/87fd866a1e284300af808af2482f84ed.jpg', '1546480360', '1551691214', null);
INSERT INTO `lf_picture` VALUES ('3', '关于我们 三图 【1920 x 560】', './uploads/pics/20190222/021bacab669a1eef8b32ac37ddd35ae9.jpg', '1546480479', '1550815429', null);
INSERT INTO `lf_picture` VALUES ('4', '产品服务 一图 【1920 x 500】', './uploads/pics/20190220/f36f37557f0e061e892669c9b02a7779.jpg', '1546480576', '1550634055', null);
INSERT INTO `lf_picture` VALUES ('5', ' 新闻中心 一图 【1920 x 500】', './uploads/pics/20190109/ab6df1dc2b8fa26eaedf266930b9eeee.jpg', '1546480623', '1547019361', null);
INSERT INTO `lf_picture` VALUES ('6', '公司团队 一图 【1920 x 500】', './uploads/pics/20190118/68c6c0afd664453aac738fb35bdcedfe.jpg', '1546480647', '1547800529', null);
INSERT INTO `lf_picture` VALUES ('7', '联系我们 一图 【1950 x 500】', './uploads/pics/20190304/c36515c99a371944580010ae0d0ff8fd.jpg', '1546480710', '1551691171', null);
INSERT INTO `lf_picture` VALUES ('8', '团队详情 一图 【1920 x 500】', './uploads/pics/20190302/34e8deffbe8896288b9412f43b13919f.jpg', '1546907848', '1551517329', null);
-- ----------------------------
-- Table structure for `lf_product`
-- ----------------------------
DROP TABLE IF EXISTS `lf_product`;
CREATE TABLE `lf_product` (
`product_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`product_price` decimal(8,0) NOT NULL,
`category_id` int(10) unsigned NOT NULL COMMENT '产品对应产品服务分类id',
`product_name` varchar(80) COLLATE utf8mb4_unicode_ci NOT NULL,
`product_link` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '商品链接',
`product_img` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`create_time` int(11) DEFAULT NULL,
`update_time` int(11) DEFAULT NULL,
`delete_time` int(11) DEFAULT NULL,
PRIMARY KEY (`product_id`)
) ENGINE=MyISAM AUTO_INCREMENT=24 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- ----------------------------
-- Records of lf_product
-- ----------------------------
INSERT INTO `lf_product` VALUES ('10', '1500', '7', '磁悬浮枕头', 'www.fdofjsd.com', './uploads/picstmp/20181221/350607025d5e22730a56e9e9b7fcb2ab.jpg', '1545381206', '1545881700', '1545881700');
INSERT INTO `lf_product` VALUES ('11', '1500', '9', '奥特曼', 'www.fdofjsd.com', './uploads/picstmp/20181221/b9f3aa72cf82d46701f437c695c80746.png', '1545381222', '1545881697', '1545881697');
INSERT INTO `lf_product` VALUES ('12', '1999', '8', '家庭影院', 'www.fdofjsd.com', './uploads/picstmp/20181221/4b8aa71de43828fee738650b56f6f42a.jpg', '1545381238', '1545881694', '1545881694');
INSERT INTO `lf_product` VALUES ('13', '2900', '12', '美的(Midea)空调挂机 1.5匹/大1匹变频壁挂式冷暖一级能效节能 冷静星二代 KFR- 26GW/BP3DN8Y-PH200(B1大1匹', 'https://item.jd.com/28522507781.html#crumb-wrap', './uploads/pics/20190109/6e78f8354994448713fb01281fd3d27e.jpg', '1545449000', '1552439293', null);
INSERT INTO `lf_product` VALUES ('14', '0', '8', '递四方速递', '水电费', './uploads/pics/20181227/faf9bf30737b3f8457a4e2e5d18b83d9.jpg', '1545880425', '1545881692', '1545881692');
INSERT INTO `lf_product` VALUES ('15', '7999', '12', '美的(Midea)空调柜机舒适星大2匹/3匹立式圆柱变频冷暖无风感智能WiFi 钛金KFR- 51LW/BP3DN8Y-YB302(B1) 2匹', 'https://item.jd.com/26367685849.html', './uploads/pics/20190109/7cb4c73e2bb2fa970d9639d08bcc9cf3.jpg', '1545880608', '1552439284', null);
INSERT INTO `lf_product` VALUES ('16', '1999', '9', '八戒', 'www.fdofjsd.com', './uploads/pics/20181227/3adb0a15539abd5127aa5ed5b5233dc0.jpg', '1545881659', '1547026046', '1547026046');
INSERT INTO `lf_product` VALUES ('17', '9999', '12', '美的(Midea)空间站空调挂机1.5匹/2匹可落地壁挂式除湿新风净化器加湿空调一体机 KFR-35GW/BP3DN8Y-Air', 'https://item.jd.com/37858548050.html#none', './uploads/pics/20190109/22caf8eef50a9a707e1ed8a897dc39bc.jpg', '1547025569', '1552552288', null);
INSERT INTO `lf_product` VALUES ('18', '6199', '12', '美的(Midea)风语者变频空调挂机 1.5匹一级能效 冷暖壁挂式无风感空调卧室KFR- 35GW/BP3DN8Y-FA100(B1 白色', 'https://item.jd.com/37858548050.html#none', './uploads/pics/20190109/03469065efe7fd9e012465f24bf2a349.jpg', '1547025724', '1552552320', null);
INSERT INTO `lf_product` VALUES ('19', '1500', '7', '磁悬浮枕头', 'fsd', './uploads/pics/20190109/5c31ea8f60c4540d5dc5b613146dedc4.jpg', '1547026076', '1547026090', '1547026090');
INSERT INTO `lf_product` VALUES ('20', '5899', '12', '美的(Midea)变频空调柜机大2匹/3匹立柜式冷暖圆柱智行 KFR-51LW/BP2DN8Y-YA400(B3', 'https://item.jd.com/12385675128.html', './uploads/pics/20190314/9b4cb8db08a7d3e9b7d232caf15a20e0.jpg', '1552523745', '1552523745', null);
INSERT INTO `lf_product` VALUES ('21', '3999', '12', '美的(Midea)大2匹/3匹立柜立式空调柜机 冷静星 2匹KFR-51LW/DY-PA400(D3)', 'https://item.jd.com/13113225156.html', './uploads/pics/20190314/ddccb4ea33fe0f4fac3065a682856b75.jpg', '1552523892', '1552523892', null);
INSERT INTO `lf_product` VALUES ('22', '29999', '12', '美的(Midea)Air空间站空调变频大3匹圆柱柜机 KFR-72LW/BP3DN8Y-Air100 3匹柜机', 'https://item.jd.com/35157705049.html#none', './uploads/pics/20190314/3bb0519c6058b6cb70a5043b68216ca6.jpg', '1552524044', '1552524044', null);
INSERT INTO `lf_product` VALUES ('23', '3399', '12', '美的(Midea)空调挂机 1.5匹/大1匹变频壁挂式冷暖一级能效节能 冷静星二代 KFR- 35GW/BP3DN8Y-PH200 1.5匹', 'https://item.jd.com/26370565951.html#none', './uploads/pics/20190314/ef8d8fb1461c4e89ead51fac635f76d6.jpg', '1552524267', '1552524267', null);
-- ----------------------------
-- Table structure for `lf_product_category`
-- ----------------------------
DROP TABLE IF EXISTS `lf_product_category`;
CREATE TABLE `lf_product_category` (
`category_id` tinyint(3) unsigned NOT NULL AUTO_INCREMENT,
`category_name` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
`create_time` int(11) DEFAULT NULL,
`update_time` int(11) DEFAULT NULL,
`delete_time` int(11) DEFAULT NULL,
PRIMARY KEY (`category_id`)
) ENGINE=MyISAM AUTO_INCREMENT=15 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- ----------------------------
-- Records of lf_product_category
-- ----------------------------
INSERT INTO `lf_product_category` VALUES ('7', '智能家居', '1545381151', '1545381151', null);
INSERT INTO `lf_product_category` VALUES ('8', '养生保健', '1545381172', '1550797537', '1550797537');
INSERT INTO `lf_product_category` VALUES ('9', '学习玩具', '1545381181', '1550797541', '1550797541');
INSERT INTO `lf_product_category` VALUES ('10', '线下服务', '1545381189', '1545381263', '1545381263');
INSERT INTO `lf_product_category` VALUES ('11', '线下服务', '1545382067', '1547869366', '1547869366');
INSERT INTO `lf_product_category` VALUES ('12', '家用空调', '1550903174', '1550903174', null);
INSERT INTO `lf_product_category` VALUES ('13', '中央空调', '1550903186', '1550903186', null);
INSERT INTO `lf_product_category` VALUES ('14', '线下服务', '1550903194', '1551406380', '1551406380');
-- ----------------------------
-- Table structure for `lf_profiles`
-- ----------------------------
DROP TABLE IF EXISTS `lf_profiles`;
CREATE TABLE `lf_profiles` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`about_us` varchar(2000) COLLATE utf8mb4_unicode_ci NOT NULL,
`profiles` varchar(500) COLLATE utf8mb4_unicode_ci NOT NULL,
`create_time` int(11) NOT NULL,
`update_time` int(11) NOT NULL,
`delete_time` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- ----------------------------
-- Records of lf_profiles
-- ----------------------------
INSERT INTO `lf_profiles` VALUES ('1', '<p style=\"white-space: normal;\"> 邓氏制冷是一家以家用空调、中央空调、通风系统、智能家居为核心的暖通空调业务的科技公司,公司提供多元化的产品种类与智慧家居一体化解决方案服务.</p><p> 公司产品及工程案例服务遍布全国,拥有五大事业部:家用空调、中央空调、智能家居、线下服务,新零售。线下有几十家专卖店,线上有京东专卖店和苏宁专卖店。</p><p> 公司业务涵盖制冷行业的各个领域。2011年创销售额亿元以上,成为暖通行业的领军旗帜。公司拥有优秀的经营管理人才和完善的质量管理系统,目前人员规模130人,拥有电气工程、机械工程以及暖通空调工程等方面的高级技术人才,拥有雄厚的技术实力和规范化的管理体系,科学的人力资源管理及有竞争力的薪酬福利保障,公司实现科学化管理体制,集空调批发、家用商用空调工程安装,设计、维修保养于一体的现代化专业制冷公司,凭借先进的管理及施工经验,,多次获得美的、大金等合作商的年度嘉奖。</p>', '', '1542185671', '1551665596', '0');
-- ----------------------------
-- Table structure for `lf_seo`
-- ----------------------------
DROP TABLE IF EXISTS `lf_seo`;
CREATE TABLE `lf_seo` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`keywords` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`content` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- ----------------------------
-- Records of lf_seo
-- ----------------------------
INSERT INTO `lf_seo` VALUES ('1', '北京长顺邓氏制冷设备有限公司', '北京长顺邓氏制冷设备有限公司,北京长顺,长顺邓氏', '北京长顺邓氏制冷设备有限公司早期为北京邓氏制冷安装服务中心,成立于1990年,主要从事家(商)用空调设备销售及安装和冷库制作安装工程,同时提供咨询,工程设计等服务,是北京市制冷协会会员单位');
-- ----------------------------
-- Table structure for `lf_shouye`
-- ----------------------------
DROP TABLE IF EXISTS `lf_shouye`;
CREATE TABLE `lf_shouye` (
`id` int(10) unsigned zerofill NOT NULL AUTO_INCREMENT COMMENT '主键id',
`detail_one` varchar(300) COLLATE utf8mb4_unicode_ci NOT NULL,
`update_time` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- ----------------------------
-- Records of lf_shouye
-- ----------------------------
INSERT INTO `lf_shouye` VALUES ('0000000001', '<p>品牌使命:</p><p>专注智慧生活,慧(惠)及每个家庭</p><p>品牌Slogan: <br/></p><p> 智慧家居生活一体化解决方案服务商 </p><p>品牌定位:<br/></p><p>让家庭低成本享受到高品质智慧生活。</p><p>品牌信仰:<br/></p><p>踏实服务 用户获益 福报传承</p>', '1551661289');
-- ----------------------------
-- Table structure for `lf_team`
-- ----------------------------
DROP TABLE IF EXISTS `lf_team`;
CREATE TABLE `lf_team` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL,
`img_path` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`title` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '职位',
`profile` varchar(250) COLLATE utf8mb4_unicode_ci NOT NULL,
`school` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '毕业院校',
`degree` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL,
`motto` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '座右铭',
`describe` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '个人简介',
`create_time` int(11) DEFAULT NULL,
`update_time` int(11) DEFAULT NULL,
`delete_time` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- ----------------------------
-- Records of lf_team
-- ----------------------------
INSERT INTO `lf_team` VALUES ('1', '马云', './uploads/pics/20190313/a022a6653f21b51c32242218b6f16f38.jpg', '总经理助理', '北京长顺邓氏制冷设备有限公司 总经理助理', '浙江大学', '硕士学位', '人无完人', '<p>2011年毕业于美国耶鲁大学 先后在阿里巴巴 腾讯担任首席技术官</p>', '1544603442', '1552614578', null);
INSERT INTO `lf_team` VALUES ('2', '鲁智伟', './uploads/pics/20190313/2a3faaeddbc2c8a5016af895ae02a137.jpg', '运营总监', '北京长顺邓氏制冷设备有限公司 运营总监', '清华大学', '硕士学位', '厚德载物', '<p>2011年担任阿里巴巴集团ceo</p>', '1544603679', '1552437318', null);
INSERT INTO `lf_team` VALUES ('3', '王英奎', './uploads/pics/20190313/14313b37acbd003fc09475bb82c1b12b.jpg', 'CTO', '北京长顺邓氏制冷设备有限公司 CTO', '', '', '', '', '1544603690', '1552436836', null);
INSERT INTO `lf_team` VALUES ('4', '张盛磊', './uploads/pics/20190314/16166a435ba2e4904cf456182ccf8dfd.jpg', '京东店长', '北京长顺邓氏制冷设备有限公司 京东店长', '', '', '', '', '1544756932', '1552523194', null);
INSERT INTO `lf_team` VALUES ('5', '小十七', './uploads/pics/20190103/ff44397e8f6a1f59f05ea059fe6640ad.jpg', 'cto', '北京隆富盛元科技发展有限公司 CTO', '', '', '', null, '1544757129', '1546850861', '1546850861');
INSERT INTO `lf_team` VALUES ('6', '杜汉', './uploads/pics/20190315/8f9d424cfb8d21b26ee376c3b9ac1af6.jpg', 'UI总监', '北京长顺邓氏制冷设备有限公司 UI总监', '', '', '', '', '1546476877', '1552629961', null);
INSERT INTO `lf_team` VALUES ('7', '丁支林', './uploads/pics/20190313/63adb1aca957af3190ef4ab110982cab.jpg', 'CFO', '北京长顺邓氏制冷设备有限公司 CFO', '水电费', '电饭锅', '水电费感受到', '<p>水电费<br/></p>', '1546848097', '1552462296', null);
-- ----------------------------
-- Table structure for `lf_tel`
-- ----------------------------
DROP TABLE IF EXISTS `lf_tel`;
CREATE TABLE `lf_tel` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '联系地址',
`address` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
`tel` char(11) COLLATE utf8mb4_unicode_ci NOT NULL,
`email` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
`com` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '网址',
`update_time` int(11) NOT NULL COMMENT '时间修改',
`company_name` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
`icp` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`copyrigtht` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`code_img` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- ----------------------------
-- Records of lf_tel
-- ----------------------------
INSERT INTO `lf_tel` VALUES ('1', '北京市大兴区旧宫镇旧桥路25号院12-1-144', '400-080-087', '<EMAIL>', 'www.mideabj.com', '1551150757', '北京长顺邓氏制冷设备有限公司', '京ICP备09042371号-6', 'Copyright©2019', './uploads/pics/20181225/131c06a46093e9b67b95e975f33d8167.jpg');
|
/* Only when the update in 27 succeeded, drop the table that was used as its source. */
DROP TABLE ofPrivate;
/* Update version */
UPDATE ofVersion SET version = 28 WHERE name = 'openfire';
|
<reponame>ning/killbill<gh_stars>1-10
/*! SET storage_engine=INNODB */;
DROP TABLE IF EXISTS payments;
CREATE TABLE payments (
record_id int(11) unsigned NOT NULL AUTO_INCREMENT,
id char(36) NOT NULL,
account_id char(36) NOT NULL,
invoice_id char(36) NOT NULL,
payment_method_id char(36) NOT NULL,
amount numeric(15,9),
currency char(3),
processed_amount numeric(15,9),
processed_currency char(3),
effective_date datetime,
payment_status varchar(50),
created_by varchar(50) NOT NULL,
created_date datetime NOT NULL,
updated_by varchar(50) NOT NULL,
updated_date datetime NOT NULL,
account_record_id int(11) unsigned default null,
tenant_record_id int(11) unsigned default null,
PRIMARY KEY (record_id)
) /*! CHARACTER SET utf8 COLLATE utf8_bin */;
CREATE UNIQUE INDEX payments_id ON payments(id);
CREATE INDEX payments_inv ON payments(invoice_id);
CREATE INDEX payments_accnt ON payments(account_id);
CREATE INDEX payments_tenant_account_record_id ON payments(tenant_record_id, account_record_id);
DROP TABLE IF EXISTS payment_history;
CREATE TABLE payment_history (
record_id int(11) unsigned NOT NULL AUTO_INCREMENT,
id char(36) NOT NULL,
target_record_id int(11) unsigned NOT NULL,
account_id char(36) NOT NULL,
invoice_id char(36) NOT NULL,
payment_method_id char(36) NOT NULL,
amount numeric(15,9),
currency char(3),
processed_amount numeric(15,9),
processed_currency char(3),
effective_date datetime,
payment_status varchar(50),
ext_first_payment_ref_id varchar(128),
ext_second_payment_ref_id varchar(128),
change_type char(6) NOT NULL,
created_by varchar(50) NOT NULL,
created_date datetime NOT NULL,
updated_by varchar(50) NOT NULL,
updated_date datetime NOT NULL,
account_record_id int(11) unsigned default null,
tenant_record_id int(11) unsigned default null,
PRIMARY KEY(record_id)
) /*! CHARACTER SET utf8 COLLATE utf8_bin */;
CREATE INDEX payment_history_target_record_id ON payment_history(target_record_id);
CREATE INDEX payment_history_tenant_account_record_id ON payment_history(tenant_record_id, account_record_id);
DROP TABLE IF EXISTS payment_attempts;
CREATE TABLE payment_attempts (
record_id int(11) unsigned NOT NULL AUTO_INCREMENT,
id char(36) NOT NULL,
payment_id char(36) NOT NULL,
payment_method_id char(36) NOT NULL,
gateway_error_code varchar(32),
gateway_error_msg varchar(256),
processing_status varchar(50),
requested_amount numeric(15,9),
requested_currency char(3),
created_by varchar(50) NOT NULL,
created_date datetime NOT NULL,
updated_by varchar(50) NOT NULL,
updated_date datetime NOT NULL,
account_record_id int(11) unsigned default null,
tenant_record_id int(11) unsigned default null,
PRIMARY KEY (record_id)
) /*! CHARACTER SET utf8 COLLATE utf8_bin */;
CREATE UNIQUE INDEX payment_attempts_id ON payment_attempts(id);
CREATE INDEX payment_attempts_payment ON payment_attempts(payment_id);
CREATE INDEX payment_attempts_tenant_account_record_id ON payment_attempts(tenant_record_id, account_record_id);
DROP TABLE IF EXISTS payment_attempt_history;
CREATE TABLE payment_attempt_history (
record_id int(11) unsigned NOT NULL AUTO_INCREMENT,
id char(36) NOT NULL,
target_record_id int(11) unsigned NOT NULL,
payment_id char(36) NOT NULL,
payment_method_id char(36) NOT NULL,
gateway_error_code varchar(32),
gateway_error_msg varchar(256),
processing_status varchar(50),
requested_amount numeric(15,9),
requested_currency char(3),
change_type char(6) NOT NULL,
created_by varchar(50) NOT NULL,
created_date datetime NOT NULL,
updated_by varchar(50) NOT NULL,
updated_date datetime NOT NULL,
account_record_id int(11) unsigned default null,
tenant_record_id int(11) unsigned default null,
PRIMARY KEY(record_id)
) /*! CHARACTER SET utf8 COLLATE utf8_bin */;
CREATE INDEX payment_attempt_history_target_record_id ON payment_attempt_history(target_record_id);
CREATE INDEX payment_attempt_history_tenant_account_record_id ON payment_attempt_history(tenant_record_id, account_record_id);
DROP TABLE IF EXISTS payment_methods;
CREATE TABLE payment_methods (
record_id int(11) unsigned NOT NULL AUTO_INCREMENT,
id char(36) NOT NULL,
account_id char(36) NOT NULL,
plugin_name varchar(50) DEFAULT NULL,
is_active bool DEFAULT true,
created_by varchar(50) NOT NULL,
created_date datetime NOT NULL,
updated_by varchar(50) NOT NULL,
updated_date datetime NOT NULL,
account_record_id int(11) unsigned default null,
tenant_record_id int(11) unsigned default null,
PRIMARY KEY (record_id)
) /*! CHARACTER SET utf8 COLLATE utf8_bin */;
CREATE UNIQUE INDEX payment_methods_id ON payment_methods(id);
CREATE INDEX payment_methods_active_accnt ON payment_methods(is_active, account_id);
CREATE INDEX payment_methods_tenant_account_record_id ON payment_methods(tenant_record_id, account_record_id);
DROP TABLE IF EXISTS payment_method_history;
CREATE TABLE payment_method_history (
record_id int(11) unsigned NOT NULL AUTO_INCREMENT,
id char(36) NOT NULL,
target_record_id int(11) unsigned NOT NULL,
account_id char(36) NOT NULL,
plugin_name varchar(50) DEFAULT NULL,
is_active bool DEFAULT true,
change_type char(6) NOT NULL,
created_by varchar(50) NOT NULL,
created_date datetime NOT NULL,
updated_by varchar(50) NOT NULL,
updated_date datetime NOT NULL,
account_record_id int(11) unsigned default null,
tenant_record_id int(11) unsigned default null,
PRIMARY KEY(record_id)
) /*! CHARACTER SET utf8 COLLATE utf8_bin */;
CREATE INDEX payment_method_history_target_record_id ON payment_method_history(target_record_id);
CREATE INDEX payment_method_history_tenant_account_record_id ON payment_method_history(tenant_record_id, account_record_id);
DROP TABLE IF EXISTS refunds;
CREATE TABLE refunds (
record_id int(11) unsigned NOT NULL AUTO_INCREMENT,
id char(36) NOT NULL,
account_id char(36) NOT NULL,
payment_id char(36) NOT NULL,
amount numeric(15,9),
currency char(3),
processed_amount numeric(15,9),
processed_currency char(3),
is_adjusted tinyint(1),
refund_status varchar(50),
created_by varchar(50) NOT NULL,
created_date datetime NOT NULL,
updated_by varchar(50) NOT NULL,
updated_date datetime NOT NULL,
account_record_id int(11) unsigned default null,
tenant_record_id int(11) unsigned default null,
PRIMARY KEY (record_id)
) /*! CHARACTER SET utf8 COLLATE utf8_bin */;
CREATE UNIQUE INDEX refunds_id ON refunds(id);
CREATE INDEX refunds_pay ON refunds(payment_id);
CREATE INDEX refunds_accnt ON refunds(account_id);
CREATE INDEX refunds_tenant_account_record_id ON refunds(tenant_record_id, account_record_id);
DROP TABLE IF EXISTS refund_history;
CREATE TABLE refund_history (
record_id int(11) unsigned NOT NULL AUTO_INCREMENT,
id char(36) NOT NULL,
target_record_id int(11) unsigned NOT NULL,
account_id char(36) NOT NULL,
payment_id char(36) NOT NULL,
amount numeric(15,9),
currency char(3),
processed_amount numeric(15,9),
processed_currency char(3),
is_adjusted tinyint(1),
refund_status varchar(50),
change_type char(6) NOT NULL,
created_by varchar(50) NOT NULL,
created_date datetime NOT NULL,
updated_by varchar(50) NOT NULL,
updated_date datetime NOT NULL,
account_record_id int(11) unsigned default null,
tenant_record_id int(11) unsigned default null,
PRIMARY KEY(record_id)
) /*! CHARACTER SET utf8 COLLATE utf8_bin */;
CREATE INDEX refund_history_target_record_id ON refund_history(target_record_id);
CREATE INDEX refund_history_tenant_account_record_id ON refund_history(tenant_record_id, account_record_id);
DROP TABLE IF EXISTS direct_payments;
CREATE TABLE direct_payments (
record_id int(11) unsigned NOT NULL AUTO_INCREMENT,
id char(36) NOT NULL,
account_id char(36) NOT NULL,
payment_method_id char(36) NOT NULL,
external_key varchar(255),
created_by varchar(50) NOT NULL,
created_date datetime NOT NULL,
updated_by varchar(50) NOT NULL,
updated_date datetime NOT NULL,
account_record_id int(11) unsigned default null,
tenant_record_id int(11) unsigned default null,
PRIMARY KEY (record_id)
) /*! CHARACTER SET utf8 COLLATE utf8_bin */;
CREATE UNIQUE INDEX direct_payments_id ON direct_payments(id);
CREATE UNIQUE INDEX direct_payments_key ON direct_payments(external_key);
CREATE INDEX direct_payments_accnt ON direct_payments(account_id);
CREATE INDEX direct_payments_tenant_account_record_id ON direct_payments(tenant_record_id, account_record_id);
DROP TABLE IF EXISTS direct_payment_history;
CREATE TABLE direct_payment_history (
record_id int(11) unsigned NOT NULL AUTO_INCREMENT,
id char(36) NOT NULL,
target_record_id int(11) unsigned NOT NULL,
account_id char(36) NOT NULL,
payment_method_id char(36) NOT NULL,
external_key varchar(255),
change_type char(6) NOT NULL,
created_by varchar(50) NOT NULL,
created_date datetime NOT NULL,
updated_by varchar(50) NOT NULL,
updated_date datetime NOT NULL,
account_record_id int(11) unsigned default null,
tenant_record_id int(11) unsigned default null,
PRIMARY KEY(record_id)
) /*! CHARACTER SET utf8 COLLATE utf8_bin */;
CREATE INDEX direct_payment_history_target_record_id ON direct_payment_history(target_record_id);
CREATE INDEX direct_payment_history_tenant_account_record_id ON direct_payment_history(tenant_record_id, account_record_id);
DROP TABLE IF EXISTS direct_transactions;
CREATE TABLE direct_transactions (
record_id int(11) unsigned NOT NULL AUTO_INCREMENT,
id char(36) NOT NULL,
transaction_type varchar(32) NOT NULL,
effective_date datetime NOT NULL,
payment_status varchar(50),
amount numeric(15,9),
currency char(3),
direct_payment_id char(36) NOT NULL,
gateway_error_code varchar(32),
gateway_error_msg varchar(256),
created_by varchar(50) NOT NULL,
created_date datetime NOT NULL,
updated_by varchar(50) NOT NULL,
updated_date datetime NOT NULL,
account_record_id int(11) unsigned default null,
tenant_record_id int(11) unsigned default null,
PRIMARY KEY (record_id)
) /*! CHARACTER SET utf8 COLLATE utf8_bin */;
CREATE UNIQUE INDEX direct_transactions_id ON direct_transactions(id);
CREATE INDEX direct_transactions_direct_id ON direct_transactions(direct_payment_id);
CREATE INDEX direct_transactions_tenant_account_record_id ON direct_transactions(tenant_record_id, account_record_id);
DROP TABLE IF EXISTS direct_transaction_history;
CREATE TABLE direct_transaction_history (
record_id int(11) unsigned NOT NULL AUTO_INCREMENT,
id char(36) NOT NULL,
target_record_id int(11) unsigned NOT NULL,
transaction_type varchar(32) NOT NULL,
effective_date datetime NOT NULL,
payment_status varchar(50),
amount numeric(15,9),
currency char(3),
direct_payment_id char(36) NOT NULL,
gateway_error_code varchar(32),
gateway_error_msg varchar(256),
change_type char(6) NOT NULL,
created_by varchar(50) NOT NULL,
created_date datetime NOT NULL,
updated_by varchar(50) NOT NULL,
updated_date datetime NOT NULL,
account_record_id int(11) unsigned default null,
tenant_record_id int(11) unsigned default null,
PRIMARY KEY (record_id)
) /*! CHARACTER SET utf8 COLLATE utf8_bin */;
CREATE INDEX direct_transaction_history_target_record_id ON direct_transaction_history(target_record_id);
CREATE INDEX direct_transaction_history_tenant_account_record_id ON direct_transaction_history(tenant_record_id, account_record_id);
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.