text
stringlengths
1
1.05M
# tz zone descriptions (deprecated version) # # This file is in the public domain, so clarified as of # 2009-05-17 by Arthur David Olson. # # From Paul Eggert (2014-07-31): # This file is intended as a backward-compatibility aid for older programs. # New programs should use zone1970.tab. This file is like zone1970.tab (see # zone1970.tab's comments), but with the following additional restrictions: # # 1. This file contains only ASCII characters. # 2. The first data column contains exactly one country code. # # Because of (2), each row stands for an area that is the intersection # of a region identified by a country code and of a zone where civil # clocks have agreed since 1970; this is a narrower definition than # that of zone1970.tab. # # This table is intended as an aid for users, to help them select time # zone data entries appropriate for their practical needs. It is not # intended to take or endorse any position on legal or territorial claims. # #country- #code coordinates TZ comments AD +4230+00131 Europe/Andorra AE +2518+05518 Asia/Dubai AF +3431+06912 Asia/Kabul AG +1703-06148 America/Antigua AI +1812-06304 America/Anguilla AL +4120+01950 Europe/Tirane AM +4011+04430 Asia/Yerevan AO -0848+01314 Africa/Luanda AQ -7750+16636 Antarctica/McMurdo New Zealand time - McMurdo, South Pole AQ -6617+11031 Antarctica/Casey Casey AQ -6835+07758 Antarctica/Davis Davis AQ -6640+14001 Antarctica/DumontDUrville Dumont-d'Urville AQ -6736+06253 Antarctica/Mawson Mawson AQ -6448-06406 Antarctica/Palmer Palmer AQ -6734-06808 Antarctica/Rothera Rothera AQ -690022+0393524 Antarctica/Syowa Syowa AQ -720041+0023206 Antarctica/Troll Troll AQ -7824+10654 Antarctica/Vostok Vostok AR -3436-05827 America/Argentina/Buenos_Aires Buenos Aires (BA, CF) AR -3124-06411 America/Argentina/Cordoba Argentina (most areas: CB, CC, CN, ER, FM, MN, SE, SF) AR -2447-06525 America/Argentina/Salta Salta (SA, LP, NQ, RN) AR -2411-06518 America/Argentina/Jujuy Jujuy (JY) AR -2649-06513 America/Argentina/Tucuman Tucuman (TM) AR -2828-06547 America/Argentina/Catamarca Catamarca (CT); Chubut (CH) AR -2926-06651 America/Argentina/La_Rioja La Rioja (LR) AR -3132-06831 America/Argentina/San_Juan San Juan (SJ) AR -3253-06849 America/Argentina/Mendoza Mendoza (MZ) AR -3319-06621 America/Argentina/San_Luis San Luis (SL) AR -5138-06913 America/Argentina/Rio_Gallegos Santa Cruz (SC) AR -5448-06818 America/Argentina/Ushuaia Tierra del Fuego (TF) AS -1416-17042 Pacific/Pago_Pago AT +4813+01620 Europe/Vienna AU -3133+15905 Australia/Lord_Howe Lord Howe Island AU -5430+15857 Antarctica/Macquarie Macquarie Island AU -4253+14719 Australia/Hobart Tasmania (most areas) AU -3956+14352 Australia/Currie Tasmania (King Island) AU -3749+14458 Australia/Melbourne Victoria AU -3352+15113 Australia/Sydney New South Wales (most areas) AU -3157+14127 Australia/Broken_Hill New South Wales (Yancowinna) AU -2728+15302 Australia/Brisbane Queensland (most areas) AU -2016+14900 Australia/Lindeman Queensland (Whitsunday Islands) AU -3455+13835 Australia/Adelaide South Australia AU -1228+13050 Australia/Darwin Northern Territory AU -3157+11551 Australia/Perth Western Australia (most areas) AU -3143+12852 Australia/Eucla Western Australia (Eucla) AW +1230-06958 America/Aruba AX +6006+01957 Europe/Mariehamn AZ +4023+04951 Asia/Baku BA +4352+01825 Europe/Sarajevo BB +1306-05937 America/Barbados BD +2343+09025 Asia/Dhaka BE +5050+00420 Europe/Brussels BF +1222-00131 Africa/Ouagadougou BG +4241+02319 Europe/Sofia BH +2623+05035 Asia/Bahrain BI -0323+02922 Africa/Bujumbura BJ +0629+00237 Africa/Porto-Novo BL +1753-06251 America/St_Barthelemy BM +3217-06446 Atlantic/Bermuda BN +0456+11455 Asia/Brunei BO -1630-06809 America/La_Paz BQ +120903-0681636 America/Kralendijk BR -0351-03225 America/Noronha Atlantic islands BR -0127-04829 America/Belem Para (east); Amapa BR -0343-03830 America/Fortaleza Brazil (northeast: MA, PI, CE, RN, PB) BR -0803-03454 America/Recife Pernambuco BR -0712-04812 America/Araguaina Tocantins BR -0940-03543 America/Maceio Alagoas, Sergipe BR -1259-03831 America/Bahia Bahia BR -2332-04637 America/Sao_Paulo Brazil (southeast: GO, DF, MG, ES, RJ, SP, PR, SC, RS) BR -2027-05437 America/Campo_Grande Mato Grosso do Sul BR -1535-05605 America/Cuiaba Mato Grosso BR -0226-05452 America/Santarem Para (west) BR -0846-06354 America/Porto_Velho Rondonia BR +0249-06040 America/Boa_Vista Roraima BR -0308-06001 America/Manaus Amazonas (east) BR -0640-06952 America/Eirunepe Amazonas (west) BR -0958-06748 America/Rio_Branco Acre BS +2505-07721 America/Nassau BT +2728+08939 Asia/Thimphu BW -2439+02555 Africa/Gaborone BY +5354+02734 Europe/Minsk BZ +1730-08812 America/Belize CA +4734-05243 America/St_Johns Newfoundland; Labrador (southeast) CA +4439-06336 America/Halifax Atlantic - NS (most areas); PE CA +4612-05957 America/Glace_Bay Atlantic - NS (Cape Breton) CA +4606-06447 America/Moncton Atlantic - New Brunswick CA +5320-06025 America/Goose_Bay Atlantic - Labrador (most areas) CA +5125-05707 America/Blanc-Sablon AST - QC (Lower North Shore) CA +4339-07923 America/Toronto Eastern - ON, QC (most areas) CA +4901-08816 America/Nipigon Eastern - ON, QC (no DST 1967-73) CA +4823-08915 America/Thunder_Bay Eastern - ON (Thunder Bay) CA +6344-06828 America/Iqaluit Eastern - NU (most east areas) CA +6608-06544 America/Pangnirtung Eastern - NU (Pangnirtung) CA +484531-0913718 America/Atikokan EST - ON (Atikokan); NU (Coral H) CA +4953-09709 America/Winnipeg Central - ON (west); Manitoba CA +4843-09434 America/Rainy_River Central - ON (Rainy R, Ft Frances) CA +744144-0944945 America/Resolute Central - NU (Resolute) CA +624900-0920459 America/Rankin_Inlet Central - NU (central) CA +5024-10439 America/Regina CST - SK (most areas) CA +5017-10750 America/Swift_Current CST - SK (midwest) CA +5333-11328 America/Edmonton Mountain - AB; BC (E); SK (W) CA +690650-1050310 America/Cambridge_Bay Mountain - NU (west) CA +6227-11421 America/Yellowknife Mountain - NT (central) CA +682059-1334300 America/Inuvik Mountain - NT (west) CA +4906-11631 America/Creston MST - BC (Creston) CA +5946-12014 America/Dawson_Creek MST - BC (Dawson Cr, Ft St John) CA +5848-12242 America/Fort_Nelson MST - BC (Ft Nelson) CA +4916-12307 America/Vancouver Pacific - BC (most areas) CA +6043-13503 America/Whitehorse Pacific - Yukon (south) CA +6404-13925 America/Dawson Pacific - Yukon (north) CC -1210+09655 Indian/Cocos CD -0418+01518 Africa/Kinshasa Dem. Rep. of Congo (west) CD -1140+02728 Africa/Lubumbashi Dem. Rep. of Congo (east) CF +0422+01835 Africa/Bangui CG -0416+01517 Africa/Brazzaville CH +4723+00832 Europe/Zurich CI +0519-00402 Africa/Abidjan CK -2114-15946 Pacific/Rarotonga CL -3327-07040 America/Santiago Chile (most areas) CL -2709-10926 Pacific/Easter Easter Island CM +0403+00942 Africa/Douala CN +3114+12128 Asia/Shanghai Beijing Time CN +4348+08735 Asia/Urumqi Xinjiang Time CO +0436-07405 America/Bogota CR +0956-08405 America/Costa_Rica CU +2308-08222 America/Havana CV +1455-02331 Atlantic/Cape_Verde CW +1211-06900 America/Curacao CX -1025+10543 Indian/Christmas CY +3510+03322 Asia/Nicosia CZ +5005+01426 Europe/Prague DE +5230+01322 Europe/Berlin Germany (most areas) DE +4742+00841 Europe/Busingen Busingen DJ +1136+04309 Africa/Djibouti DK +5540+01235 Europe/Copenhagen DM +1518-06124 America/Dominica DO +1828-06954 America/Santo_Domingo DZ +3647+00303 Africa/Algiers EC -0210-07950 America/Guayaquil Ecuador (mainland) EC -0054-08936 Pacific/Galapagos Galapagos Islands EE +5925+02445 Europe/Tallinn EG +3003+03115 Africa/Cairo EH +2709-01312 Africa/El_Aaiun ER +1520+03853 Africa/Asmara ES +4024-00341 Europe/Madrid Spain (mainland) ES +3553-00519 Africa/Ceuta Ceuta, Melilla ES +2806-01524 Atlantic/Canary Canary Islands ET +0902+03842 Africa/Addis_Ababa FI +6010+02458 Europe/Helsinki FJ -1808+17825 Pacific/Fiji FK -5142-05751 Atlantic/Stanley FM +0725+15147 Pacific/Chuuk Chuuk/Truk, Yap FM +0658+15813 Pacific/Pohnpei Pohnpei/Ponape FM +0519+16259 Pacific/Kosrae Kosrae FO +6201-00646 Atlantic/Faroe FR +4852+00220 Europe/Paris GA +0023+00927 Africa/Libreville GB +513030-0000731 Europe/London GD +1203-06145 America/Grenada GE +4143+04449 Asia/Tbilisi GF +0456-05220 America/Cayenne GG +4927-00232 Europe/Guernsey GH +0533-00013 Africa/Accra GI +3608-00521 Europe/Gibraltar GL +6411-05144 America/Godthab Greenland (most areas) GL +7646-01840 America/Danmarkshavn National Park (east coast) GL +7029-02158 America/Scoresbysund Scoresbysund/Ittoqqortoormiit GL +7634-06847 America/Thule Thule/Pituffik GM +1328-01639 Africa/Banjul GN +0931-01343 Africa/Conakry GP +1614-06132 America/Guadeloupe GQ +0345+00847 Africa/Malabo GR +3758+02343 Europe/Athens GS -5416-03632 Atlantic/South_Georgia GT +1438-09031 America/Guatemala GU +1328+14445 Pacific/Guam GW +1151-01535 Africa/Bissau GY +0648-05810 America/Guyana HK +2217+11409 Asia/Hong_Kong HN +1406-08713 America/Tegucigalpa HR +4548+01558 Europe/Zagreb HT +1832-07220 America/Port-au-Prince HU +4730+01905 Europe/Budapest ID -0610+10648 Asia/Jakarta Java, Sumatra ID -0002+10920 Asia/Pontianak Borneo (west, central) ID -0507+11924 Asia/Makassar Borneo (east, south); Sulawesi/Celebes, Bali, Nusa Tengarra; Timor (west) ID -0232+14042 Asia/Jayapura New Guinea (West Papua / Irian Jaya); Malukus/Moluccas IE +5320-00615 Europe/Dublin IL +314650+0351326 Asia/Jerusalem IM +5409-00428 Europe/Isle_of_Man IN +2232+08822 Asia/Kolkata IO -0720+07225 Indian/Chagos IQ +3321+04425 Asia/Baghdad IR +3540+05126 Asia/Tehran IS +6409-02151 Atlantic/Reykjavik IT +4154+01229 Europe/Rome JE +4912-00207 Europe/Jersey JM +175805-0764736 America/Jamaica JO +3157+03556 Asia/Amman JP +353916+1394441 Asia/Tokyo KE -0117+03649 Africa/Nairobi KG +4254+07436 Asia/Bishkek KH +1133+10455 Asia/Phnom_Penh KI +0125+17300 Pacific/Tarawa Gilbert Islands KI -0308-17105 Pacific/Enderbury Phoenix Islands KI +0152-15720 Pacific/Kiritimati Line Islands KM -1141+04316 Indian/Comoro KN +1718-06243 America/St_Kitts KP +3901+12545 Asia/Pyongyang KR +3733+12658 Asia/Seoul KW +2920+04759 Asia/Kuwait KY +1918-08123 America/Cayman KZ +4315+07657 Asia/Almaty Kazakhstan (most areas) KZ +4448+06528 Asia/Qyzylorda Qyzylorda/Kyzylorda/Kzyl-Orda KZ +5017+05710 Asia/Aqtobe Aqtobe/Aktobe KZ +4431+05016 Asia/Aqtau Atyrau/Atirau/Gur'yev, Mangghystau/Mankistau KZ +5113+05121 Asia/Oral West Kazakhstan LA +1758+10236 Asia/Vientiane LB +3353+03530 Asia/Beirut LC +1401-06100 America/St_Lucia LI +4709+00931 Europe/Vaduz LK +0656+07951 Asia/Colombo LR +0618-01047 Africa/Monrovia LS -2928+02730 Africa/Maseru LT +5441+02519 Europe/Vilnius LU +4936+00609 Europe/Luxembourg LV +5657+02406 Europe/Riga LY +3254+01311 Africa/Tripoli MA +3339-00735 Africa/Casablanca MC +4342+00723 Europe/Monaco MD +4700+02850 Europe/Chisinau ME +4226+01916 Europe/Podgorica MF +1804-06305 America/Marigot MG -1855+04731 Indian/Antananarivo MH +0709+17112 Pacific/Majuro Marshall Islands (most areas) MH +0905+16720 Pacific/Kwajalein Kwajalein MK +4159+02126 Europe/Skopje ML +1239-00800 Africa/Bamako MM +1647+09610 Asia/Rangoon MN +4755+10653 Asia/Ulaanbaatar Mongolia (most areas) MN +4801+09139 Asia/Hovd Bayan-Olgiy, Govi-Altai, Hovd, Uvs, Zavkhan MN +4804+11430 Asia/Choibalsan Dornod, Sukhbaatar MO +2214+11335 Asia/Macau MP +1512+14545 Pacific/Saipan MQ +1436-06105 America/Martinique MR +1806-01557 Africa/Nouakchott MS +1643-06213 America/Montserrat MT +3554+01431 Europe/Malta MU -2010+05730 Indian/Mauritius MV +0410+07330 Indian/Maldives MW -1547+03500 Africa/Blantyre MX +1924-09909 America/Mexico_City Central Time MX +2105-08646 America/Cancun Eastern Standard Time - Quintana Roo MX +2058-08937 America/Merida Central Time - Campeche, Yucatan MX +2540-10019 America/Monterrey Central Time - Durango; Coahuila, Nuevo Leon, Tamaulipas (most areas) MX +2550-09730 America/Matamoros Central Time US - Coahuila, Nuevo Leon, Tamaulipas (US border) MX +2313-10625 America/Mazatlan Mountain Time - Baja California Sur, Nayarit, Sinaloa MX +2838-10605 America/Chihuahua Mountain Time - Chihuahua (most areas) MX +2934-10425 America/Ojinaga Mountain Time US - Chihuahua (US border) MX +2904-11058 America/Hermosillo Mountain Standard Time - Sonora MX +3232-11701 America/Tijuana Pacific Time US - Baja California MX +2048-10515 America/Bahia_Banderas Central Time - Bahia de Banderas MY +0310+10142 Asia/Kuala_Lumpur Malaysia (peninsula) MY +0133+11020 Asia/Kuching Sabah, Sarawak MZ -2558+03235 Africa/Maputo NA -2234+01706 Africa/Windhoek NC -2216+16627 Pacific/Noumea NE +1331+00207 Africa/Niamey NF -2903+16758 Pacific/Norfolk NG +0627+00324 Africa/Lagos NI +1209-08617 America/Managua NL +5222+00454 Europe/Amsterdam NO +5955+01045 Europe/Oslo NP +2743+08519 Asia/Kathmandu NR -0031+16655 Pacific/Nauru NU -1901-16955 Pacific/Niue NZ -3652+17446 Pacific/Auckland New Zealand (most areas) NZ -4357-17633 Pacific/Chatham Chatham Islands OM +2336+05835 Asia/Muscat PA +0858-07932 America/Panama PE -1203-07703 America/Lima PF -1732-14934 Pacific/Tahiti Society Islands PF -0900-13930 Pacific/Marquesas Marquesas Islands PF -2308-13457 Pacific/Gambier Gambier Islands PG -0930+14710 Pacific/Port_Moresby Papua New Guinea (most areas) PG -0613+15534 Pacific/Bougainville Bougainville PH +1435+12100 Asia/Manila PK +2452+06703 Asia/Karachi PL +5215+02100 Europe/Warsaw PM +4703-05620 America/Miquelon PN -2504-13005 Pacific/Pitcairn PR +182806-0660622 America/Puerto_Rico PS +3130+03428 Asia/Gaza Gaza Strip PS +313200+0350542 Asia/Hebron West Bank PT +3843-00908 Europe/Lisbon Portugal (mainland) PT +3238-01654 Atlantic/Madeira Madeira Islands PT +3744-02540 Atlantic/Azores Azores PW +0720+13429 Pacific/Palau PY -2516-05740 America/Asuncion QA +2517+05132 Asia/Qatar RE -2052+05528 Indian/Reunion RO +4426+02606 Europe/Bucharest RS +4450+02030 Europe/Belgrade RU +5443+02030 Europe/Kaliningrad MSK-01 - Kaliningrad RU +554521+0373704 Europe/Moscow MSK+00 - Moscow area RU +4457+03406 Europe/Simferopol MSK+00 - Crimea RU +4844+04425 Europe/Volgograd MSK+00 - Volgograd, Kirov, Saratov RU +4621+04803 Europe/Astrakhan MSK+01 - Astrakhan RU +5312+05009 Europe/Samara MSK+01 - Samara, Udmurtia RU +5420+04824 Europe/Ulyanovsk MSK+01 - Ulyanovsk RU +5651+06036 Asia/Yekaterinburg MSK+02 - Urals RU +5500+07324 Asia/Omsk MSK+03 - Omsk RU +5502+08255 Asia/Novosibirsk MSK+03 - Novosibirsk, Tomsk RU +5322+08345 Asia/Barnaul MSK+04 - Altai RU +5345+08707 Asia/Novokuznetsk MSK+04 - Kemerovo RU +5601+09250 Asia/Krasnoyarsk MSK+04 - Krasnoyarsk area RU +5216+10420 Asia/Irkutsk MSK+05 - Irkutsk, Buryatia RU +5203+11328 Asia/Chita MSK+05 - Zabaykalsky RU +6200+12940 Asia/Yakutsk MSK+06 - Lena River RU +623923+1353314 Asia/Khandyga MSK+06 - Tomponsky, Ust-Maysky RU +4310+13156 Asia/Vladivostok MSK+07 - Amur River RU +4658+14242 Asia/Sakhalin MSK+07 - Sakhalin Island RU +643337+1431336 Asia/Ust-Nera MSK+07 - Oymyakonsky RU +5934+15048 Asia/Magadan MSK+07 - Magadan RU +6728+15343 Asia/Srednekolymsk MSK+08 - Sakha (E); North Kuril Is RU +5301+15839 Asia/Kamchatka MSK+09 - Kamchatka RU +6445+17729 Asia/Anadyr MSK+09 - Bering Sea RW -0157+03004 Africa/Kigali SA +2438+04643 Asia/Riyadh SB -0932+16012 Pacific/Guadalcanal SC -0440+05528 Indian/Mahe SD +1536+03232 Africa/Khartoum SE +5920+01803 Europe/Stockholm SG +0117+10351 Asia/Singapore SH -1555-00542 Atlantic/St_Helena SI +4603+01431 Europe/Ljubljana SJ +7800+01600 Arctic/Longyearbyen SK +4809+01707 Europe/Bratislava SL +0830-01315 Africa/Freetown SM +4355+01228 Europe/San_Marino SN +1440-01726 Africa/Dakar SO +0204+04522 Africa/Mogadishu SR +0550-05510 America/Paramaribo SS +0451+03136 Africa/Juba ST +0020+00644 Africa/Sao_Tome SV +1342-08912 America/El_Salvador SX +180305-0630250 America/Lower_Princes SY +3330+03618 Asia/Damascus SZ -2618+03106 Africa/Mbabane TC +2128-07108 America/Grand_Turk TD +1207+01503 Africa/Ndjamena TF -492110+0701303 Indian/Kerguelen TG +0608+00113 Africa/Lome TH +1345+10031 Asia/Bangkok TJ +3835+06848 Asia/Dushanbe TK -0922-17114 Pacific/Fakaofo TL -0833+12535 Asia/Dili TM +3757+05823 Asia/Ashgabat TN +3648+01011 Africa/Tunis TO -2110-17510 Pacific/Tongatapu TR +4101+02858 Europe/Istanbul TT +1039-06131 America/Port_of_Spain TV -0831+17913 Pacific/Funafuti TW +2503+12130 Asia/Taipei TZ -0648+03917 Africa/Dar_es_Salaam UA +5026+03031 Europe/Kiev Ukraine (most areas) UA +4837+02218 Europe/Uzhgorod Ruthenia UA +4750+03510 Europe/Zaporozhye Zaporozh'ye/Zaporizhia; Lugansk/Luhansk (east) UG +0019+03225 Africa/Kampala UM +1645-16931 Pacific/Johnston Johnston Atoll UM +2813-17722 Pacific/Midway Midway Islands UM +1917+16637 Pacific/Wake Wake Island US +404251-0740023 America/New_York Eastern (most areas) US +421953-0830245 America/Detroit Eastern - MI (most areas) US +381515-0854534 America/Kentucky/Louisville Eastern - KY (Louisville area) US +364947-0845057 America/Kentucky/Monticello Eastern - KY (Wayne) US +394606-0860929 America/Indiana/Indianapolis Eastern - IN (most areas) US +384038-0873143 America/Indiana/Vincennes Eastern - IN (Da, Du, K, Mn) US +410305-0863611 America/Indiana/Winamac Eastern - IN (Pulaski) US +382232-0862041 America/Indiana/Marengo Eastern - IN (Crawford) US +382931-0871643 America/Indiana/Petersburg Eastern - IN (Pike) US +384452-0850402 America/Indiana/Vevay Eastern - IN (Switzerland) US +415100-0873900 America/Chicago Central (most areas) US +375711-0864541 America/Indiana/Tell_City Central - IN (Perry) US +411745-0863730 America/Indiana/Knox Central - IN (Starke) US +450628-0873651 America/Menominee Central - MI (Wisconsin border) US +470659-1011757 America/North_Dakota/Center Central - ND (Oliver) US +465042-1012439 America/North_Dakota/New_Salem Central - ND (Morton rural) US +471551-1014640 America/North_Dakota/Beulah Central - ND (Mercer) US +394421-1045903 America/Denver Mountain (most areas) US +433649-1161209 America/Boise Mountain - ID (south); OR (east) US +332654-1120424 America/Phoenix MST - Arizona (except Navajo) US +340308-1181434 America/Los_Angeles Pacific US +611305-1495401 America/Anchorage Alaska (most areas) US +581807-1342511 America/Juneau Alaska - Juneau area US +571035-1351807 America/Sitka Alaska - Sitka area US +550737-1313435 America/Metlakatla Alaska - Annette Island US +593249-1394338 America/Yakutat Alaska - Yakutat US +643004-1652423 America/Nome Alaska (west) US +515248-1763929 America/Adak Aleutian Islands US +211825-1575130 Pacific/Honolulu Hawaii UY -3453-05611 America/Montevideo UZ +3940+06648 Asia/Samarkand Uzbekistan (west) UZ +4120+06918 Asia/Tashkent Uzbekistan (east) VA +415408+0122711 Europe/Vatican VC +1309-06114 America/St_Vincent VE +1030-06656 America/Caracas VG +1827-06437 America/Tortola VI +1821-06456 America/St_Thomas VN +1045+10640 Asia/Ho_Chi_Minh VU -1740+16825 Pacific/Efate WF -1318-17610 Pacific/Wallis WS -1350-17144 Pacific/Apia YE +1245+04512 Asia/Aden YT -1247+04514 Indian/Mayotte ZA -2615+02800 Africa/Johannesburg ZM -1525+02817 Africa/Lusaka ZW -1750+03103 Africa/Harare
USE [WideWorldImportersDW] GO ALTER DATABASE CURRENT SET COMPATIBILITY_LEVEL = 140 GO EXEC sp_executesql N'SELECT  [fo].[Order Key], [si].[Lead Time Days], [fo].[Quantity] FROM    [Fact].[Order] AS [fo] INNER JOIN [Dimension].[Stock Item] AS [si]        ON [fo].[Stock Item Key] = [si].[Stock Item Key] WHERE   [fo].[Quantity] =@param1', N'@param1 int', @param1 = 360 GO EXEC sp_executesql N'SELECT  [fo].[Order Key], [si].[Lead Time Days], [fo].[Quantity] FROM    [Fact].[Order] AS [fo] INNER JOIN [Dimension].[Stock Item] AS [si]        ON [fo].[Stock Item Key] = [si].[Stock Item Key] WHERE   [fo].[Quantity] =@param1', N'@param1 int', @param1 = 361 GO
CREATE TABLE IF NOT EXISTS pluginkeyvaluestore ( pluginid VARCHAR(190) NOT NULL, pkey VARCHAR(50) NOT NULL, pvalue bytea, PRIMARY KEY (pluginid, pkey) ); ALTER TABLE pluginkeyvaluestore ADD COLUMN IF NOT EXISTS expireat bigint DEFAULT 0; DO $$BEGIN IF ( SELECT column_default::bigint FROM information_schema.columns WHERE table_schema='public' AND table_name='pluginkeyvaluestore' AND column_name='expireat' ) = 0 THEN ALTER TABLE pluginkeyvaluestore ALTER COLUMN expireat SET DEFAULT NULL; END IF; END$$;
-- phpMyAdmin SQL Dump -- version 4.6.5.2 -- https://www.phpmyadmin.net/ -- -- Servidor: 127.0.0.1 -- Tiempo de generación: 08-11-2017 a las 23:42:52 -- Versión del servidor: 10.1.21-MariaDB -- Versión de 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 */; -- -- Base de datos: `cartilla_educacion` -- -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `Datos personales` -- CREATE TABLE `datos personales` ( `pri_ape` varchar(24) NOT NULL, `seg_ape` varchar(24) NOT NULL, `nom` varchar(35) NOT NULL, `curp` varchar(18) NOT NULL, `grup` varchar(10) NOT NULL, `turno` varchar(15) NOT NULL, `nom_esc` varchar(60) NOT NULL, `cct` varchar(10) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*!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 PROCEDURE [dbo].[spCustomers_GetAll] AS BEGIN SET NOCOUNT ON; SELECT [CustomerId], [FirstName], [LastName], [FullName], [Address], [Phone], [Email], [PayCentreId], [UploadReceipts] FROM [dbo].[Customers] END
-- menu admin UPDATE `sys_menu_admin` SET `name` = 'Custom RSS', `title` = '_crss_ami_custom_rss', `icon` = 'rss' WHERE `name` = 'Custom RSS Moderation'; -- page biulder DELETE FROM `sys_page_compose` WHERE `Page` = 'profile' AND `Desc` = 'Custom RSS block'; SET @PageKey1 = (SELECT MAX(`order`) FROM `sys_page_compose` WHERE `Page` = 'profile' AND `Column`=2); INSERT INTO `sys_page_compose` (`ID`, `Page`, `PageWidth`, `Desc`, `Caption`, `Column`, `Order`, `Func`, `Content`, `DesignBox`, `ColWidth`, `Visible`, `MinWidth`) VALUES (NULL, 'profile', '1140px', 'Custom RSS block', '_crss_Custom_Feeds', 2, @PageKey1+1, 'PHP', 'return BxDolService::call(''custom_rss'', ''gen_custom_rss_block'', array($this->oProfileGen->_iProfileID));', 0, 71.9, 'non,memb', 0); -- site stats DELETE FROM `sys_stat_site` WHERE `Name` = 'crss'; SET @iStatSiteOrder := (SELECT `StatOrder` + 1 FROM `sys_stat_site` WHERE 1 ORDER BY `StatOrder` DESC LIMIT 1); INSERT INTO `sys_stat_site` VALUES(NULL, 'crss', 'crss_ss', '', 'SELECT COUNT(`ID`) FROM `[db_prefix]_main` WHERE `Status`=''active''', 'modules/boonex/custom_rss/post_mod_crss.php', 'SELECT COUNT(`ID`) FROM `[db_prefix]_main` WHERE `Status`=''passive''', 'rss', @iStatSiteOrder); -- update module version UPDATE `sys_modules` SET `version` = '1.1.0' WHERE `uri` = 'custom_rss' AND `version` = '1.0.9';
-- MySQL dump 10.13 Distrib 8.0.23, for Win64 (x86_64) -- -- Host: localhost Database: db_proyecto -- ------------------------------------------------------ -- Server version 5.7.33-log /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!50503 SET NAMES utf8 */; /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; /*!40103 SET TIME_ZONE='+00:00' */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; -- -- Table structure for table `tipo_notificacions` -- DROP TABLE IF EXISTS `tipo_notificacions`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `tipo_notificacions` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `nombre` varchar(50) 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; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `tipo_notificacions` -- LOCK TABLES `tipo_notificacions` WRITE; /*!40000 ALTER TABLE `tipo_notificacions` DISABLE KEYS */; INSERT INTO `tipo_notificacions` VALUES (1,'EVENTO APROBADO',NULL,NULL),(2,'EVENTO DESCARTADO',NULL,NULL),(3,'PERDIDA DOCUMENTO',NULL,NULL),(4,'CAMBIO DOCUMENTO',NULL,NULL),(5,'ACTUALIZACION INFORMACION',NULL,NULL); /*!40000 ALTER TABLE `tipo_notificacions` ENABLE KEYS */; UNLOCK TABLES; /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; -- Dump completed on 2021-04-14 22:55:32
ALTER TABLE "public"."users" ALTER COLUMN "username" DROP NOT NULL;
CREATE OR REPLACE VIEW OSP$BUDGET_JUSTIFICATION ( PROPOSAL_NUMBER, VERSION_NUMBER, BUDGET_JUSTIFICATION, UPDATE_TIMESTAMP, UPDATE_USER ) AS select null,null,null,null,null from dual;
WITH source AS ( SELECT * FROM {{ source('gitlab_dotcom', 'todos') }} QUALIFY ROW_NUMBER() OVER (PARTITION BY id ORDER BY _uploaded_at DESC) = 1 ), renamed AS ( SELECT id::NUMBER AS todo_id, user_id::NUMBER AS user_id, project_id::NUMBER AS project_id, target_id::NUMBER AS target_id, target_type::VARCHAR AS target_type, author_id::NUMBER AS author_id, action::NUMBER AS todo_action_id, state::VARCHAR AS todo_state, created_at::TIMESTAMP AS created_at, updated_at::TIMESTAMP AS updated_at, note_id::NUMBER AS note_id, commit_id::VARCHAR AS commit_id, group_id::NUMBER AS group_id FROM source ) SELECT * FROM renamed
CREATE DATABASE IF NOT EXISTS testdb ; USE testdb; DROP TABLE IF EXISTS sign_product; CREATE TABLE sign_product ( id BIGINT PRIMARY KEY NOT NULL AUTO_INCREMENT, code VARCHAR(32) DEFAULT '' NOT NULL, full_name VARCHAR(128) DEFAULT '' NOT NULL, inventory INT DEFAULT 0 NOT NULL, gmt_create TIMESTAMP DEFAULT current_timestamp, gmt_update TIMESTAMP DEFAULT current_timestamp ON UPDATE current_timestamp ) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4; INSERT INTO sign_product (code, full_name, inventory) VALUES ('893341', '远见产品3号', 12); INSERT INTO sign_product (code, full_name, inventory) VALUES ('213324', '这是测试产品', 543); INSERT INTO sign_product (code, full_name, inventory) VALUES ('123873', '正式环境产品53', 76); INSERT INTO sign_product (code, full_name, inventory) VALUES ('678567', '招商银行限量', 9765);
CREATE TABLE REALESTATE ( ID VARCHAR(32) NOT NULL, POST_CODE VARCHAR(5), SURFACE DOUBLE PRECISION, PRICE DOUBLE PRECISION, PRICE_PER_M2 DOUBLE PRECISION, NUM_ROOMS SMALLINT, NUM_BED_ROOMS SMALLINT, PROPERTY_TYPE_AS_STRING VARCHAR(32), DETAIL_URL VARCHAR(2048), title VARCHAR(256), CONSTRAINT REALESTATE_PKEY PRIMARY KEY (ID) );
/* SQL script to initialize CZIDLO core database for CZIDLO versions 4.4 - 4.6 */ /* Drop Indexes */ DROP INDEX IF EXISTS DIGITALDOCUMENT_ENTITYID; DROP INDEX IF EXISTS DIGITALINSTANCE_DIGDOCID; DROP INDEX IF EXISTS LIBRARY_REGISTRARID; DROP INDEX IF EXISTS IEIDENTIFIER_VALUE; DROP INDEX IF EXISTS URNNBN_REGISTRARCODEDOCUMENTCODE; DROP INDEX IF EXISTS URNNBNRESERVED_REGISTRARCODEDOCUMENTCODE; DROP INDEX IF EXISTS URNNBN_PREDECESSOR; DROP INDEX IF EXISTS URNNBN_SUCCESSOR; DROP INDEX IF EXISTS URNNBN_PREDECESSOR_SUCCESSOR; /* Drop triggers */ /* Drop Tables */ DROP TABLE IF EXISTS DIGITALINSTANCE; DROP TABLE IF EXISTS REGISTRARSCOPEID; DROP TABLE IF EXISTS URNNBN; DROP TABLE IF EXISTS DIGITALDOCUMENT; DROP TABLE IF EXISTS CATALOGUE; DROP TABLE IF EXISTS DIGITALLIBRARY; DROP TABLE IF EXISTS URNNBNGENERATOR; DROP TABLE IF EXISTS URNNBNRESERVED; DROP TABLE IF EXISTS USER_REGISTRAR; DROP TABLE IF EXISTS REGISTRAR; DROP TABLE IF EXISTS ARCHIVER; DROP TABLE IF EXISTS IEIDENTIFIER; DROP TABLE IF EXISTS ORIGINATOR; DROP TABLE IF EXISTS PUBLICATION; DROP TABLE IF EXISTS SOURCEDOCUMENT; DROP TABLE IF EXISTS INTELECTUALENTITY; DROP TABLE IF EXISTS URNNBNSUCCESSORS; DROP TABLE IF EXISTS USERACCOUNT; DROP TABLE IF EXISTS CONTENT; DROP TABLE IF EXISTS URNNBN_RESOLVATION_LOG; /* Drop Sequences */ DROP SEQUENCE IF EXISTS SEQ_ARCHIVER; DROP SEQUENCE IF EXISTS SEQ_CATALOGUE; DROP SEQUENCE IF EXISTS SEQ_DIGITALDOCUMENT; DROP SEQUENCE IF EXISTS SEQ_DIGITALINSTANCE; DROP SEQUENCE IF EXISTS SEQ_DIGITALLIBRARY; DROP SEQUENCE IF EXISTS SEQ_INTELECTUALENTITY; DROP SEQUENCE IF EXISTS SEQ_USERACCOUNT; DROP SEQUENCE IF EXISTS SEQ_CONTENT; /* Create Sequences */ CREATE SEQUENCE SEQ_ARCHIVER; CREATE SEQUENCE SEQ_CATALOGUE; CREATE SEQUENCE SEQ_DIGITALDOCUMENT; CREATE SEQUENCE SEQ_DIGITALINSTANCE; CREATE SEQUENCE SEQ_DIGITALLIBRARY; CREATE SEQUENCE SEQ_INTELECTUALENTITY; CREATE SEQUENCE SEQ_USERACCOUNT; CREATE SEQUENCE SEQ_CONTENT; /* Create Tables */ CREATE TABLE ARCHIVER ( ID NUMERIC NOT NULL, CREATED TIMESTAMP NOT NULL, MODIFIED TIMESTAMP NOT NULL, NAME VARCHAR NOT NULL, DESCRIPTION VARCHAR, HIDDEN BOOLEAN DEFAULT false, PRIMARY KEY (ID) ) WITHOUT OIDS; CREATE TABLE CATALOGUE ( ID NUMERIC NOT NULL, REGISTRARID NUMERIC NOT NULL, CREATED TIMESTAMP NOT NULL, MODIFIED TIMESTAMP NOT NULL, NAME VARCHAR NOT NULL, DESCRIPTION VARCHAR, URLPREFIX VARCHAR NOT NULL, PRIMARY KEY (ID) ) WITHOUT OIDS; CREATE TABLE DIGITALDOCUMENT ( ID NUMERIC NOT NULL, INTELECTUALENTITYID NUMERIC NOT NULL, REGISTRARID NUMERIC NOT NULL, ARCHIVERID NUMERIC NOT NULL, CREATED TIMESTAMP NOT NULL, MODIFIED TIMESTAMP NOT NULL, FINANCEDFROM VARCHAR, CONTRACTNUMBER VARCHAR, FORMAT VARCHAR, FORMATVERSION VARCHAR, EXTENT VARCHAR, RESOLUTIONHORIZONTAL INT, RESOLUTIONVERTICAL INT, COMPRESSION VARCHAR, COMPRESSIONRATIO FLOAT, COLORMODEL VARCHAR, COLORDEPTH INT, ICCPROFILE VARCHAR, PICTUREWIDTH INT, PICTUREHEIGHT INT, PRIMARY KEY (ID) ) WITHOUT OIDS; CREATE TABLE DIGITALINSTANCE ( ID NUMERIC NOT NULL, DIGITALDOCUMENTID NUMERIC NOT NULL, DIGITALLIBRARYID NUMERIC NOT NULL, CREATED TIMESTAMP NOT NULL, DEACTIVATED TIMESTAMP, ACTIVE BOOLEAN NOT NULL, URL VARCHAR NOT NULL, FORMAT VARCHAR, ACCESSIBILITY VARCHAR, ACCESSRESTRICTION NUMERIC NOT NULL, PRIMARY KEY (ID) ) WITHOUT OIDS; CREATE TABLE DIGITALLIBRARY ( ID NUMERIC NOT NULL, REGISTRARID NUMERIC NOT NULL, CREATED TIMESTAMP NOT NULL, MODIFIED TIMESTAMP NOT NULL, NAME VARCHAR NOT NULL, DESCRIPTION VARCHAR, URL VARCHAR, PRIMARY KEY (ID) ) WITHOUT OIDS; CREATE TABLE IEIDENTIFIER ( INTELECTUALENTITYID NUMERIC NOT NULL, TYPE VARCHAR NOT NULL, IDVALUE VARCHAR NOT NULL, PRIMARY KEY (INTELECTUALENTITYID, TYPE) ) WITHOUT OIDS; CREATE TABLE INTELECTUALENTITY ( ID NUMERIC NOT NULL, CREATED TIMESTAMP NOT NULL, MODIFIED TIMESTAMP NOT NULL, ENTITYTYPE VARCHAR NOT NULL, DOCUMENTTYPE VARCHAR, DIGITALBORN BOOLEAN NOT NULL, OTHERORIGINATOR VARCHAR, DEGREEAWARDINGINSTITUTION VARCHAR, PRIMARY KEY (ID) ) WITHOUT OIDS; CREATE TABLE ORIGINATOR ( INTELECTUALENTITYID NUMERIC NOT NULL, ORIGINTYPE VARCHAR NOT NULL, ORIGINVALUE VARCHAR NOT NULL, PRIMARY KEY (INTELECTUALENTITYID) ) WITHOUT OIDS; CREATE TABLE PUBLICATION ( INTELECTUALENTITYID NUMERIC NOT NULL, PYEAR DECIMAL(4), PLACE VARCHAR, PUBLISHER VARCHAR, PRIMARY KEY (INTELECTUALENTITYID) ) WITHOUT OIDS; CREATE TABLE REGISTRAR ( ID NUMERIC NOT NULL, CODE VARCHAR NOT NULL UNIQUE, ALLOWEDREGISTRATIONMODEBYREGISTRAR BOOLEAN NOT NULL, ALLOWEDREGISTRATIONMODEBYRESOLVER BOOLEAN NOT NULL, ALLOWEDREGISTRATIONMODEBYRESERVATION BOOLEAN NOT NULL, PRIMARY KEY (ID) ) WITHOUT OIDS; CREATE TABLE REGISTRARSCOPEID ( REGISTRARID NUMERIC NOT NULL, DIGITALDOCUMENTID NUMERIC NOT NULL, TYPE VARCHAR NOT NULL, CREATED TIMESTAMP NOT NULL, MODIFIED TIMESTAMP NOT NULL, IDVALUE VARCHAR NOT NULL, PRIMARY KEY (REGISTRARID, DIGITALDOCUMENTID, TYPE), CONSTRAINT registrar_idType_idValue UNIQUE (REGISTRARID, TYPE, IDVALUE) ) WITHOUT OIDS; CREATE TABLE SOURCEDOCUMENT ( INTELECTUALENTITYID NUMERIC NOT NULL, TITLE VARCHAR, VOLUMETITLE VARCHAR, ISSUETITLE VARCHAR, CCNB VARCHAR, ISBN VARCHAR, ISSN VARCHAR, OTHERID VARCHAR, PUBLISHER VARCHAR, PUBLICATIONPLACE VARCHAR, PUBLICATIONYEAR NUMERIC(4), PRIMARY KEY (INTELECTUALENTITYID) ) WITHOUT OIDS; CREATE TABLE URNNBN ( DIGITALDOCUMENTID NUMERIC NOT NULL, RESERVED TIMESTAMP, REGISTERED TIMESTAMP NOT NULL, DEACTIVATED TIMESTAMP, REGISTRARCODE VARCHAR NOT NULL, DOCUMENTCODE VARCHAR NOT NULL, ACTIVE BOOLEAN NOT NULL, DEACTIVATIONNOTE VARCHAR, PRIMARY KEY (DIGITALDOCUMENTID), CONSTRAINT registrarCodeDocumentCode UNIQUE (REGISTRARCODE, DOCUMENTCODE) ) WITHOUT OIDS; CREATE TABLE URNNBNGENERATOR ( REGISTRARID NUMERIC NOT NULL, LASTDOCUMENTCODE VARCHAR DEFAULT '000000' NOT NULL, PRIMARY KEY (REGISTRARID) ) WITHOUT OIDS; CREATE TABLE URNNBNRESERVED ( REGISTRARID NUMERIC NOT NULL, DOCUMENTCODE VARCHAR NOT NULL, CREATED TIMESTAMP NOT NULL, REGISTRARCODE VARCHAR NOT NULL, PRIMARY KEY (REGISTRARID, DOCUMENTCODE) ) WITHOUT OIDS; CREATE TABLE URNNBNSUCCESSORS ( PREDECESSORREGCODE VARCHAR NOT NULL, PREDECESSORDOCCODE VARCHAR NOT NULL, SUCCESSORREGCODE VARCHAR NOT NULL, SUCCESSORDOCCODE VARCHAR NOT NULL, NOTE VARCHAR ) WITHOUT OIDS; CREATE TABLE USERACCOUNT ( ID NUMERIC NOT NULL, CREATED TIMESTAMP NOT NULL, MODIFIED TIMESTAMP NOT NULL, LOGIN VARCHAR NOT NULL UNIQUE, PASSHASH VARCHAR NOT NULL, PASSSALT VARCHAR NOT NULL, ISADMIN BOOLEAN DEFAULT 'false' NOT NULL, EMAIL VARCHAR NOT NULL, PRIMARY KEY (ID) ) WITHOUT OIDS; CREATE TABLE USER_REGISTRAR ( REGISTRARID NUMERIC NOT NULL, USERACCOUNTID NUMERIC NOT NULL, PRIMARY KEY (REGISTRARID, USERACCOUNTID) ) WITHOUT OIDS; CREATE TABLE CONTENT ( ID NUMERIC NOT NULL, LANGUAGE VARCHAR NOT NULL, NAME VARCHAR NOT NULL, CONTENT VARCHAR NOT NULL, PRIMARY KEY (ID), CONSTRAINT languageName UNIQUE (LANGUAGE, NAME) ) WITHOUT OIDS; /* Create Foreign Keys */ ALTER TABLE DIGITALDOCUMENT ADD FOREIGN KEY (ARCHIVERID) REFERENCES ARCHIVER (ID) ON UPDATE RESTRICT ON DELETE RESTRICT ; ALTER TABLE REGISTRAR ADD FOREIGN KEY (ID) REFERENCES ARCHIVER (ID) ON UPDATE RESTRICT ON DELETE CASCADE ; ALTER TABLE DIGITALINSTANCE ADD FOREIGN KEY (DIGITALDOCUMENTID) REFERENCES DIGITALDOCUMENT (ID) ON UPDATE RESTRICT ON DELETE CASCADE ; ALTER TABLE REGISTRARSCOPEID ADD FOREIGN KEY (DIGITALDOCUMENTID) REFERENCES DIGITALDOCUMENT (ID) ON UPDATE RESTRICT ON DELETE CASCADE ; ALTER TABLE URNNBN ADD FOREIGN KEY (DIGITALDOCUMENTID) REFERENCES DIGITALDOCUMENT (ID) ON UPDATE RESTRICT ON DELETE SET NULL ; ALTER TABLE DIGITALINSTANCE ADD FOREIGN KEY (DIGITALLIBRARYID) REFERENCES DIGITALLIBRARY (ID) ON UPDATE RESTRICT ON DELETE RESTRICT ; ALTER TABLE DIGITALDOCUMENT ADD FOREIGN KEY (INTELECTUALENTITYID) REFERENCES INTELECTUALENTITY (ID) ON UPDATE RESTRICT ON DELETE CASCADE ; ALTER TABLE IEIDENTIFIER ADD FOREIGN KEY (INTELECTUALENTITYID) REFERENCES INTELECTUALENTITY (ID) ON UPDATE RESTRICT ON DELETE CASCADE ; ALTER TABLE ORIGINATOR ADD FOREIGN KEY (INTELECTUALENTITYID) REFERENCES INTELECTUALENTITY (ID) ON UPDATE RESTRICT ON DELETE CASCADE ; ALTER TABLE PUBLICATION ADD FOREIGN KEY (INTELECTUALENTITYID) REFERENCES INTELECTUALENTITY (ID) ON UPDATE RESTRICT ON DELETE CASCADE ; ALTER TABLE SOURCEDOCUMENT ADD FOREIGN KEY (INTELECTUALENTITYID) REFERENCES INTELECTUALENTITY (ID) ON UPDATE RESTRICT ON DELETE CASCADE ; ALTER TABLE CATALOGUE ADD FOREIGN KEY (REGISTRARID) REFERENCES REGISTRAR (ID) ON UPDATE RESTRICT ON DELETE CASCADE ; ALTER TABLE DIGITALDOCUMENT ADD FOREIGN KEY (REGISTRARID) REFERENCES REGISTRAR (ID) ON UPDATE RESTRICT ON DELETE RESTRICT ; ALTER TABLE DIGITALLIBRARY ADD FOREIGN KEY (REGISTRARID) REFERENCES REGISTRAR (ID) ON UPDATE RESTRICT ON DELETE CASCADE ; ALTER TABLE REGISTRARSCOPEID ADD FOREIGN KEY (REGISTRARID) REFERENCES REGISTRAR (ID) ON UPDATE RESTRICT ON DELETE RESTRICT ; ALTER TABLE URNNBNGENERATOR ADD FOREIGN KEY (REGISTRARID) REFERENCES REGISTRAR (ID) ON UPDATE RESTRICT ON DELETE CASCADE ; ALTER TABLE URNNBNRESERVED ADD FOREIGN KEY (REGISTRARID) REFERENCES REGISTRAR (ID) ON UPDATE RESTRICT ON DELETE CASCADE ; ALTER TABLE USER_REGISTRAR ADD FOREIGN KEY (REGISTRARID) REFERENCES REGISTRAR (ID) ON UPDATE RESTRICT ON DELETE CASCADE ; ALTER TABLE USER_REGISTRAR ADD FOREIGN KEY (USERACCOUNTID) REFERENCES USERACCOUNT (ID) ON UPDATE RESTRICT ON DELETE CASCADE ; /* Create Indexes */ CREATE INDEX DIGITALDOCUMENT_ENTITYID ON DIGITALDOCUMENT (INTELECTUALENTITYID); CREATE INDEX DIGITALINSTANCE_DIGDOCID ON DIGITALINSTANCE (DIGITALDOCUMENTID); CREATE INDEX DIGITALINSTANCE_URL ON DIGITALINSTANCE (URL); CREATE INDEX LIBRARY_REGISTRARID ON DIGITALLIBRARY (REGISTRARID); CREATE INDEX IEIDENTIFIER_VALUE ON IEIDENTIFIER (IDVALUE); CREATE INDEX REGISTRARSCOPEID_REGISTRARID_TYPE_VALUE ON REGISTRARSCOPEID (REGISTRARID, TYPE, IDVALUE); CREATE INDEX URNNBN_REGISTRARCODEDOCUMENTCODE ON URNNBN (REGISTRARCODE, DOCUMENTCODE); CREATE INDEX URNNBNRESERVED_REGISTRARCODEDOCUMENTCODE ON URNNBNRESERVED (REGISTRARCODE, DOCUMENTCODE); CREATE INDEX URNNBN_PREDECESSOR ON URNNBNSUCCESSORS (PREDECESSORREGCODE, PREDECESSORDOCCODE); CREATE INDEX URNNBN_SUCCESSOR ON URNNBNSUCCESSORS (SUCCESSORREGCODE, SUCCESSORDOCCODE); CREATE INDEX URNNBN_PREDECESSOR_SUCCESSOR ON URNNBNSUCCESSORS (PREDECESSORREGCODE, PREDECESSORDOCCODE, SUCCESSORREGCODE, SUCCESSORDOCCODE); /* Create initial administrator account admin:admin */ INSERT INTO USERACCOUNT(ID, CREATED, MODIFIED, LOGIN, PASSHASH, PASSSALT, ISADMIN, EMAIL) VALUES(nextval('SEQ_USERACCOUNT'), LOCALTIMESTAMP, LOCALTIMESTAMP, 'admin', '906c4a1d79fec34d4d7243ff9583fc823147a68ef4d5c9a315a122d060105f27', '[B@75b84c92', true, 'somone@somewhere.com'); /* Initialize content of panels "info" and "rules" for language version "cs", "en" */ INSERT INTO CONTENT(ID, LANGUAGE, NAME, CONTENT) VALUES (nextval('SEQ_CONTENT'), 'cs', 'info', ''); INSERT INTO CONTENT(ID, LANGUAGE, NAME, CONTENT) VALUES (nextval('SEQ_CONTENT'), 'en', 'info', ''); INSERT INTO CONTENT(ID, LANGUAGE, NAME, CONTENT) VALUES (nextval('SEQ_CONTENT'), 'cs', 'rules', ''); INSERT INTO CONTENT(ID, LANGUAGE, NAME, CONTENT) VALUES (nextval('SEQ_CONTENT'), 'en', 'rules', ''); /**************************************/ /* Statistics for URN:NBN assignments */ /**************************************/ /* cleanup */ DROP INDEX IF EXISTS urnnbn_registrar_code_year_month_active_idx; DROP TABLE IF EXISTS urnnbn_assignment_statistics_preprocessed; DROP VIEW IF EXISTS urnnbn_assignment_statistics_view; DROP FUNCTION IF EXISTS update_urnnbn_assignment_tg() CASCADE; DROP FUNCTION IF EXISTS update_urnnbn_assignment() CASCADE; DROP FUNCTION IF EXISTS update_urnnbn_assignment(VARCHAR, TIMESTAMP) CASCADE; DROP FUNCTION IF EXISTS update_urnnbn_assignment(VARCHAR, NUMERIC,NUMERIC, BOOLEAN) CASCADE; /* new functions (needed for immutable function for indecies) */ DROP FUNCTION IF EXISTS to_month(TIMESTAMP) CASCADE; DROP FUNCTION IF EXISTS to_year(TIMESTAMP) CASCADE; CREATE OR REPLACE FUNCTION to_month(TIMESTAMP) RETURNS NUMERIC AS $BODY$ SELECT to_number(to_char($1,'MM'),'99') $BODY$ LANGUAGE sql IMMUTABLE; CREATE OR REPLACE FUNCTION to_year(TIMESTAMP) RETURNS NUMERIC AS $BODY$ SELECT to_number(to_char($1,'YYYY'),'9999') $BODY$ LANGUAGE sql IMMUTABLE; /* create preprocessed table */ CREATE TABLE urnnbn_assignment_statistics_preprocessed ( registrarCode VARCHAR NOT NULL, year NUMERIC NOT NULL, month NUMERIC NOT NULL, active BOOLEAN NOT NULL, sum NUMERIC NOT NULL, PRIMARY KEY (registrarCode, year, month, active) ) WITHOUT OIDS; /* index for efficient view*/ CREATE INDEX urnnbn_registrar_code_year_month_active_idx ON urnnbn(registrarCode, to_year(registered), to_month(registered), active); /* view - source for data for preprocessd table */ CREATE OR REPLACE VIEW urnnbn_assignment_statistics_view AS SELECT registrarCode AS registrarCode, to_year(registered) AS year, to_month(registered) AS month, active AS active, count(*) AS sum FROM UrnNbn GROUP BY registrarCode, year, month, active; /* function to update preprocessed table record by registrarCode, year, month, activity */ CREATE OR REPLACE FUNCTION update_urnnbn_assignment(VARCHAR, NUMERIC, NUMERIC, BOOLEAN) RETURNS void AS $BODY$ BEGIN IF (EXISTS (SELECT sum FROM urnnbn_assignment_statistics_view WHERE registrarCode=$1 AND year=$2 AND month=$3 AND active=$4)) THEN IF (EXISTS (SELECT sum FROM urnnbn_assignment_statistics_preprocessed WHERE registrarCode=$1 AND year=$2 AND month=$3 AND active=$4)) THEN UPDATE urnnbn_assignment_statistics_preprocessed SET sum = (SELECT sum FROM urnnbn_assignment_statistics_view WHERE registrarCode=$1 AND year=$2 AND month=$3 AND active=$4) WHERE registrarCode=$1 AND year=$2 AND month=$3 AND active=$4; ELSE INSERT INTO urnnbn_assignment_statistics_preprocessed (SELECT * FROM urnnbn_assignment_statistics_view WHERE registrarCode=$1 AND year=$2 AND month=$3 AND active=$4); END IF; ELSE DELETE FROM urnnbn_assignment_statistics_preprocessed WHERE registrarCode=$1 AND year=$2 AND month=$3 AND active=$4; END IF; END; $BODY$ LANGUAGE plpgsql; /* function to update preprocessed table record by registrarCode, timestamp */ CREATE OR REPLACE FUNCTION update_urnnbn_assignment(VARCHAR, TIMESTAMP) RETURNS void AS $BODY$ BEGIN EXECUTE update_urnnbn_assignment($1, to_year($2), to_month($2),true); EXECUTE update_urnnbn_assignment($1, to_year($2), to_month($2),false); END; $BODY$ LANGUAGE plpgsql; /* function to update preprocessed table record after registrarScopeId change */ CREATE OR REPLACE FUNCTION update_urnnbn_assignment() RETURNS TRIGGER AS $BODY$ BEGIN IF (TG_OP = 'INSERT' OR TG_OP = 'UPDATE') THEN EXECUTE update_urnnbn_assignment(NEW.registrarCode, to_year(NEW.registered), to_year(NEW.registered),true); EXECUTE update_urnnbn_assignment(NEW.registrarCode, to_year(NEW.registered), to_year(NEW.registered),false); ELSIF (TG_OP = 'DELETE') THEN EXECUTE update_urnnbn_assignment(OLD.registrarCode, to_year(OLD.registered), to_year(OLD.registered),true); EXECUTE update_urnnbn_assignment(OLD.registrarCode, to_year(OLD.registered), to_year(OLD.registered),false); END IF; RETURN NULL; END; $BODY$ LANGUAGE plpgsql; /* triggers to update preprocessed table record after various changes */ CREATE TRIGGER update_urnnbn_assignment_tg AFTER INSERT OR UPDATE ON UrnNbn FOR EACH ROW EXECUTE PROCEDURE update_urnnbn_assignment(); /* initial filling table search_rsi_preprocessed */ INSERT INTO urnnbn_assignment_statistics_preprocessed (SELECT * FROM urnnbn_assignment_statistics_view); /**************************************/ /* Statistics for URN:NBN resolvations */ /**************************************/ /* cleanup */ DROP TABLE IF EXISTS urnnbn_resolvation_statistics; CREATE TABLE urnnbn_resolvation_statistics ( registrarCode VARCHAR NOT NULL, year NUMERIC NOT NULL, month NUMERIC NOT NULL, sum NUMERIC NOT NULL, PRIMARY KEY (registrarCode, year, month) ) WITHOUT OIDS;
DROP DATABASE IF EXISTS employee_DB; CREATE DATABASE employee_DB; USE employee_DB; DROP TABLE IF EXISTS department; DROP TABLE IF EXISTS role; DROP TABLE IF EXISTS employee; CREATE TABLE department ( id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, name VARCHAR(30) NOT NULL ); CREATE TABLE role ( id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, title VARCHAR(30) NOT NULL, salary DECIMAL(10,2) NOT NULL, department_id INT NOT NULL, foreign key(department_id) REFERENCES department(id) ); CREATE TABLE employee ( id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, first_name VARCHAR(30) NOT NULL, last_name VARCHAR(30) NOT NULL, role_id INT NOT NULL, foreign key(role_id) REFERENCES role(id), manager_id INT, foreign key(manager_id) REFERENCES employee(id) );
-- We are declaring the return type to be queue_classic_jobs. -- This is ok since I am assuming that all of the users added queues will -- have identical columns to queue_classic_jobs. -- When QC supports queues with columns other than the default, we will have to change this. CREATE OR REPLACE FUNCTION lock_head(q_name varchar, top_boundary integer) RETURNS SETOF queue_classic_jobs AS $$ DECLARE unlocked bigint; relative_top integer; job_count integer; BEGIN -- The purpose is to release contention for the first spot in the table. -- The select count(*) is going to slow down dequeue performance but allow -- for more workers. Would love to see some optimization here... EXECUTE 'SELECT count(*) FROM ' || '(SELECT * FROM queue_classic_jobs ' || ' WHERE locked_at IS NULL' || ' AND q_name = ' || quote_literal(q_name) || ' LIMIT ' || quote_literal(top_boundary) || ') limited' INTO job_count; SELECT TRUNC(random() * (top_boundary - 1)) INTO relative_top; IF job_count < top_boundary THEN relative_top = 0; END IF; LOOP BEGIN EXECUTE 'SELECT id FROM queue_classic_jobs ' || ' WHERE locked_at IS NULL' || ' AND q_name = ' || quote_literal(q_name) || ' ORDER BY id ASC' || ' LIMIT 1' || ' OFFSET ' || quote_literal(relative_top) || ' FOR UPDATE NOWAIT' INTO unlocked; EXIT; EXCEPTION WHEN lock_not_available THEN -- do nothing. loop again and hope we get a lock END; END LOOP; RETURN QUERY EXECUTE 'UPDATE queue_classic_jobs ' || ' SET locked_at = (CURRENT_TIMESTAMP)' || ' WHERE id = $1' || ' AND locked_at is NULL' || ' RETURNING *' USING unlocked; RETURN; END; $$ LANGUAGE plpgsql; CREATE OR REPLACE FUNCTION lock_head(tname varchar) RETURNS SETOF queue_classic_jobs AS $$ BEGIN RETURN QUERY EXECUTE 'SELECT * FROM lock_head($1,10)' USING tname; END; $$ LANGUAGE plpgsql;
TRUNCATE TABLE public.recommendation_template_translation; -- -- Load public.recommendation_template_translation -- INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('LESS_SHOWER_TIME'), 'en', 'Spend 1 less minute in the shower and save <h1>{integer1}</h1> liters', 'You are spending 50% more time in the shower than others. You could spend just 2 less minutes per shower and save up to <h1>{integer2}</h1> liters a year. Why not use our shower timer?' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('LESS_SHOWER_TIME'), 'es', 'Reduce en un minut tu ducha y ahorra <h1>{integer1}</h1> litros', 'Estás gastando un 50% más de agua en la ducha que otrοs. Reduciendo tu ducha en dos minutos puedes ahorrar <h1>{integer2}</h1> litros en un año. ¿Por qué no usar un contador en la ducha?' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('LOWER_TEMPERATURE'), 'en', 'You could save <h1>{currency1}</h1> if you used a bit less hot water in the shower', 'You are using a bit more hot water in the shower than others. If you reduced your shower temperature by 2 degrees you would save up to <h1>{currency2}</h1> in a year! Do you want us to remind you next time you take a shower?' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('LOWER_TEMPERATURE'), 'es', 'Puedes ahorrar <h1>{currency1}</h1> si usas agua menos caliente en la ducha', 'Estás utilizando agua más caliente que otros. ¡Reduciendo la temperatura de tu ducha en 2 grados ahorrarás <h1>{currency2}</h1> en un año! ¿Quiéres que te lo recordemos la próxima vez que te duches?' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('LOWER_FLOW'), 'en', 'Reduce the water flow in the shower and save <h1>{integer1}</h1> liters', 'You can slightly reduce the flow of water when you take a shower, and save up to <h1>{integer2}</h1> liters in a year!' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('LOWER_FLOW'), 'es', 'Reduce el caudal de agua de tu ducha y ahorra <h1>{integer1}</h1> litros', '¡Puedes reducir un poco el caudal de tu ducha y ahorrar hasta <h1>{integer2}</h1> litros en un año!' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('CHANGE_SHOWERHEAD'), 'en', 'Change your showerhead and save <h1>{integer1}</h1> liters', 'Why not change your shower-head with a more efficient one? It could save you up to <h1>{integer2}</h1> liters a year. The new shower head will provide you with an equally enjoyable shower. Do you want to find out more?' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('CHANGE_SHOWERHEAD'), 'es', 'Renueva el teléfono de la ducha y ahorra <h1>{integer1}</h1> litros', '¿Por qué no renovar el teléfono de la ducha con una más eficiente? Puedes ahorrar hasta <h1>{integer2}</h1> litros al año. Los nuevos modelos proporcionan una sensación de ducha similar pero con un menor consumo.' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('CHANGE_SHAMPOO'), 'en', 'Have you considered changing your shampoo?', 'You are using <h1>{integer1}</h1>% more water than others. You may be using a shampoo or wash that foams excessively and is difficult to rinse. This does not mean it works better than others, but just that it leads to more water use. Perhaps try and use another product, easier to rinse, and more water friendly.' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('CHANGE_SHAMPOO'), 'es', '¿Has considerado cambiar de champú?', 'Estás consumiendo un <h1>{integer1}</h1>% más de agua que. Puede que estés utilizando demasiado champú o gel alargando así tu ducha. Puedes probar a usar otro que sea más sencillo de aclarar.' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('REDUCE_FLOW_WHEN_NOT_NEEDED'), 'en', 'When showering, reduce the water flow when you do not need it', 'Try turning the water off in the shower when you do not actually need it. You could save up to <h1>{integer1}</h1> liters per year this way! You might be surprised to find this quite comfortable, as the bathroom will already be quite warm. Try it once and see how easy it is!' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('REDUCE_FLOW_WHEN_NOT_NEEDED'), 'es', 'Cuando te duches, cierra el grifo si no necesitas agua', 'Intenta cerrar el grifo de la ducha cuando no lo necesitas. Puedes ahorrar <h1>{integer1}</h1> litros cada año! Te sorprenderás al comprobar que aún apagando el grifo, el baño se mantiene caliente y ahorras agua a la vez.' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('INSIGHT_A1_DAYOFWEEK_CONSUMPTION_INCR'), 'en', '{percent_change}% more than your {day_of_week} average', '{consumption}lt vs. the average {average_consumption}lt' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('INSIGHT_A1_DAYOFWEEK_CONSUMPTION_INCR'), 'es', '{percent_change}% more than your {day_of_week} average', '{consumption}lt vs. the average {average_consumption}lt' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('INSIGHT_A1_DAYOFWEEK_CONSUMPTION_DECR'), 'en', '{percent_change}% less than your {day_of_week} average', '{consumption}lt vs. the average {average_consumption}lt' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('INSIGHT_A1_DAYOFWEEK_CONSUMPTION_DECR'), 'es', '{percent_change}% less than your {day_of_week} average', '{consumption}lt vs. the average {average_consumption}lt' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('INSIGHT_A2_DAILY_CONSUMPTION_INCR'), 'en', '{percent_change}% more than your average', '{consumption}lt vs. the average {average_consumption}lt' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('INSIGHT_A2_DAILY_CONSUMPTION_INCR'), 'es', '{percent_change}% more than your average', '{consumption}lt vs. the average {average_consumption}lt' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('INSIGHT_A2_DAILY_CONSUMPTION_DECR'), 'en', '{percent_change}% less than your average', '{consumption}lt vs. the average {average_consumption}lt' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('INSIGHT_A2_DAILY_CONSUMPTION_DECR'), 'es', '{percent_change}% less than your average', '{consumption}lt vs. the average {average_consumption}lt' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('INSIGHT_A3_MORNING_CONSUMPTION_INCR'), 'en', '{percent_change}% increase in morning consumption', '{consumption}lt vs. the average {average_consumption}lt' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('INSIGHT_A3_MORNING_CONSUMPTION_INCR'), 'es', '{percent_change}% increase in morning consumption', '{consumption}lt vs. the average {average_consumption}lt' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('INSIGHT_A3_MORNING_CONSUMPTION_DECR'), 'en', '{percent_change}% decrease in morning consumption', '{consumption}lt vs. the average {average_consumption}lt' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('INSIGHT_A3_MORNING_CONSUMPTION_DECR'), 'es', '{percent_change}% decrease in morning consumption', '{consumption}lt vs. the average {average_consumption}lt' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('INSIGHT_A3_AFTERNOON_CONSUMPTION_INCR'), 'en', '{percent_change}% increase in afternoon consumption', '{consumption}lt vs. the average {average_consumption}lt' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('INSIGHT_A3_AFTERNOON_CONSUMPTION_INCR'), 'es', '{percent_change}% increase in afternoon consumption', '{consumption}lt vs. the average {average_consumption}lt' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('INSIGHT_A3_AFTERNOON_CONSUMPTION_DECR'), 'en', '{percent_change}% decrease in afternoon consumption', '{consumption}lt vs. the average {average_consumption}lt' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('INSIGHT_A3_AFTERNOON_CONSUMPTION_DECR'), 'es', '{percent_change}% decrease in afternoon consumption', '{consumption}lt vs. the average {average_consumption}lt' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('INSIGHT_A3_NIGHT_CONSUMPTION_INCR'), 'en', '{percent_change}% increase in night consumption', '{consumption}lt vs. the average {average_consumption}lt' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('INSIGHT_A3_NIGHT_CONSUMPTION_INCR'), 'es', '{percent_change}% increase in night consumption', '{consumption}lt vs. the average {average_consumption}lt' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('INSIGHT_A3_NIGHT_CONSUMPTION_DECR'), 'en', '{percent_change}% decrease in night consumption', '{consumption}lt vs. the average {average_consumption}lt' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('INSIGHT_A3_NIGHT_CONSUMPTION_DECR'), 'es', '{percent_change}% decrease in night consumption', '{consumption}lt vs. the average {average_consumption}lt' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('INSIGHT_A4_CONSUMPTION_MAINLY_IN_MORNING'), 'en', 'Highest consumption during morning', '<i>morning</i>: {morning_percentage}% - <i>afternoon</i>: {afternoon_percentage}% - <i>night</i>: {night_percentage}%' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('INSIGHT_A4_CONSUMPTION_MAINLY_IN_MORNING'), 'es', 'Highest consumption during morning', '<i>morning</i>: {morning_percentage}% - <i>afternoon</i>: {afternoon_percentage}% - <i>night</i>: {night_percentage}%' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('INSIGHT_A4_CONSUMPTION_MAINLY_IN_AFTERNOON'), 'en', 'Highest consumption during afternoon', '<i>morning</i>: {morning_percentage}% - <i>afternoon</i>: {afternoon_percentage}% - <i>night</i>: {night_percentage}%' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('INSIGHT_A4_CONSUMPTION_MAINLY_IN_AFTERNOON'), 'es', 'Highest consumption during afternoon', '<i>morning</i>: {morning_percentage}% - <i>afternoon</i>: {afternoon_percentage}% - <i>night</i>: {night_percentage}%' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('INSIGHT_A4_CONSUMPTION_MAINLY_IN_NIGHT'), 'en', 'Highest consumption during night', '<i>morning</i>: {morning_percentage}% - <i>afternoon</i>: {afternoon_percentage}% - <i>night</i>: {night_percentage}%' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('INSIGHT_A4_CONSUMPTION_MAINLY_IN_NIGHT'), 'es', 'Highest consumption during night', '<i>morning</i>: {morning_percentage}% - <i>afternoon</i>: {afternoon_percentage}% - <i>night</i>: {night_percentage}%' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('INSIGHT_B1_WEEKLY_CONSUMPTION_INCR'), 'en', '{percent_change}% more than your weekly average', '{consumption}lt vs. the average {average_consumption}lt' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('INSIGHT_B1_WEEKLY_CONSUMPTION_INCR'), 'es', '{percent_change}% more than your weekly average', '{consumption}lt vs. the average {average_consumption}lt' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('INSIGHT_B1_WEEKLY_CONSUMPTION_DECR'), 'en', '{percent_change}% less than your weekly average', '{consumption}lt vs. the average {average_consumption}lt' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('INSIGHT_B1_WEEKLY_CONSUMPTION_DECR'), 'es', '{percent_change}% less than your weekly average', '{consumption}lt vs. the average {average_consumption}lt' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('INSIGHT_B1_MONTHLY_CONSUMPTION_INCR'), 'en', '{percent_change}% more than your monthly average', '{consumption}lt vs. the average {average_consumption}lt' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('INSIGHT_B1_MONTHLY_CONSUMPTION_INCR'), 'es', '{percent_change}% more than your monthly average', '{consumption}lt vs. the average {average_consumption}lt' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('INSIGHT_B1_MONTHLY_CONSUMPTION_DECR'), 'en', '{percent_change}% less than your monthly average', '{consumption}lt vs. the average {average_consumption}lt' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('INSIGHT_B1_MONTHLY_CONSUMPTION_DECR'), 'es', '{percent_change}% less than your monthly average', '{consumption}lt vs. the average {average_consumption}lt' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('INSIGHT_B2_WEEKLY_PREV_CONSUMPTION_INCR'), 'en', '{percent_change}% more than previous week', '{consumption}lt vs. {previous_consumption}lt' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('INSIGHT_B2_WEEKLY_PREV_CONSUMPTION_INCR'), 'es', '{percent_change}% more than previous week', '{consumption}lt vs. {previous_consumption}lt' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('INSIGHT_B2_WEEKLY_PREV_CONSUMPTION_DECR'), 'en', '{percent_change}% less than previous week', '{consumption}lt vs. {previous_consumption}lt' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('INSIGHT_B2_WEEKLY_PREV_CONSUMPTION_DECR'), 'es', '{percent_change}% less than previous week', '{consumption}lt vs. {previous_consumption}lt' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('INSIGHT_B2_MONTHLY_PREV_CONSUMPTION_INCR'), 'en', '{percent_change}% more than previous month', '{consumption}lt vs. {previous_consumption}lt' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('INSIGHT_B2_MONTHLY_PREV_CONSUMPTION_INCR'), 'es', '{percent_change}% more than previous month', '{consumption}lt vs. {previous_consumption}lt' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('INSIGHT_B2_MONTHLY_PREV_CONSUMPTION_DECR'), 'en', '{percent_change}% less than previous month', '{consumption}lt vs. {previous_consumption}lt' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('INSIGHT_B2_MONTHLY_PREV_CONSUMPTION_DECR'), 'es', '{percent_change}% less than previous month', '{consumption}lt vs. {previous_consumption}lt' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('INSIGHT_B3_DAYOFWEEK_CONSUMPTION_PEAK'), 'en', '{day_of_week} is your peak day', '{consumption}lt vs. the average {average_consumption}lt' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('INSIGHT_B3_DAYOFWEEK_CONSUMPTION_PEAK'), 'es', '{day_of_week} is your peak day', '{consumption}lt vs. the average {average_consumption}lt' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('INSIGHT_B3_DAYOFWEEK_CONSUMPTION_LOW'), 'en', '{day_of_week} is your low day', '{consumption}lt vs. the average {average_consumption}lt' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('INSIGHT_B3_DAYOFWEEK_CONSUMPTION_LOW'), 'es', '{day_of_week} is your low day', '{consumption}lt vs. the average {average_consumption}lt' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('INSIGHT_B4_MORE_ON_WEEKEND'), 'en', '{percent_change}% more water on weekends', '{weekend_consumption}lt vs. {weekday_consumption}lt' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('INSIGHT_B4_MORE_ON_WEEKEND'), 'es', '{percent_change}% more water on weekends', '{weekend_consumption}lt vs. {weekday_consumption}lt' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('INSIGHT_B4_LESS_ON_WEEKEND'), 'en', '{percent_change}% less water on weekends', '{weekend_consumption}lt vs. {weekday_consumption}lt' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('INSIGHT_B4_LESS_ON_WEEKEND'), 'es', '{percent_change}% less water on weekends', '{weekend_consumption}lt vs. {weekday_consumption}lt' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('INSIGHT_B5_MONTHLY_CONSUMPTION_INCR'), 'en', '{percent_change}% more than same month last year', '{consumption}lt vs. {previous_consumption}lt' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('INSIGHT_B5_MONTHLY_CONSUMPTION_INCR'), 'es', '{percent_change}% more than same month last year', '{consumption}lt vs. {previous_consumption}lt' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('INSIGHT_B5_MONTHLY_CONSUMPTION_DECR'), 'en', '{percent_change}% less than same month last year', '{consumption}lt vs. {previous_consumption}lt' ); INSERT INTO public.recommendation_template_translation (template, locale, title, description) VALUES ( recommendation_template_from_name('INSIGHT_B5_MONTHLY_CONSUMPTION_DECR'), 'es', '{percent_change}% less than same month last year', '{consumption}lt vs. {previous_consumption}lt' );
SELECT count(*) FROM haggle_credit.item_sell; DELIMITER $$ CREATE PROCEDURE myFunction3() -- ⓐ myFunction이라는 이름의 프로시져 BEGIN DECLARE i INT DEFAULT 1; -- ⓑ i변수 선언, defalt값으로 1설정 WHILE (i <= 6002) DO -- ⓒ for문 작성(i가 1000이 될 때까지 반복) update haggle_credit.item_sell set is_user_no=floor(1+RAND()*4) where is_no = i; -- ⓓ 테이블에 i값 넣어주기 SET i = i + 1; -- ⓔ i값에 1더해주고 WHILE문 처음으로 이동 END WHILE; END$$ DELIMITER ; CALL myFunction3(); -- 프로시저 실행, 테이블에 1~1000까지 숫자 채워주기 SELECT * FROM haggle_credit.item_sell;
-- Find popular movies select * from title_ratings r, title_basics b where r.tconst = b.tconst and b.title_type = 'movie' and b.start_year = 2018 and r.num_votes > 1000 order by r.num_votes DESC;
library ErrorsAndMessaging version '1.0' define TestMessageInfo: Message(1, true, '100', 'Message', 'Test Message') define TestMessageWarn: Message(2, true, '200', 'Warning', 'You have been warned!') define TestMessageTrace: Message({3, 4, 5}, true, '300', 'Trace', 'This is a trace') define TestMessageError: Message(3 + 1, true, '400', 'Error', 'This is an error!') define TestMessageObfuscation: Message(Tuple { a: 1, b: Tuple { c: 2 } }, true, '400', 'Error', 'This source should be redacted')
USE [VipunenTK] GO /****** Object: View [dbo].[v_f_tab_koulutukseen_sijoittuneet_6v_lukio] Script Date: 4.5.2018 15:17:21 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ALTER VIEW [dbo].[v_f_tab_koulutukseen_sijoittuneet_6v_lukio] AS Select [lkm_int2] = lkm ,[tilastovuosi] AS Tilastovuosi ,d17.tarkastelujakso AS Tarkastelujakso ,d17.tarkastelujakso2 AS 'Tarkastelujakso II' ,d16.sukupuoli AS Sukupuoli ,d2.aidinkieli_versio1 AS Äidinkieli ,d5.ika AS Ikä ,d5b.ika5v AS Ikäryhmä ,d5c.ika AS 'Ikäryhmä tutkinnon suoritusvuonna' ,d6.tutkintoryhma AS "Tutkintoryhmä" ,d7.koulutus AS "Pohjakoulutus" ,d8.koulutusaste2002 AS "Koul. sijoittuneen koulutusaste" ,d8.koulutusala2002 AS "Koul. sijoittuneen koulutusala" ,d8.opintoala2002 AS "Koul. sijoittuneen opintoala" ,d8.koulutus AS "Koul. sijoittuneen koulutusnimike" --,d3.kunta AS "Asuinkunta" --,d3.maakunta AS "Asuinmaakunta" --,d3.avi AS "Asuinpaikan AVI" --,d3.ely AS "Asuinpaikan ELY" --,d3.seutukunta AS "Asuinpaikan seutukunta" --,d3.suuralue AS "Asuinpaikan suuralue" --,d3.kuntaryhma AS "Asuinpaikan kuntaryhmä" --,d3.laani AS "Asuinpaikan lääni" --,d3.kielisuhde AS "Asuinpaikan kunnan kielisuhde" ,d4.maakunta AS "Koul. sijoittuneen opiskelumaakunta" --,d4.avi AS "Koul. sijoittuneen opiskelupaikan AVI" --,d4.ely AS "Koul. sijoittuneen opiskelupaikan ELY" --,d4.seutukunta AS "Koul. sijoittuneen opiskelupaikan seutukunta" --,d4.suuralue AS "Koul. sijoittuneen opiskelupaikan suuralue" --,d4.kuntaryhma AS "Koul. sijoittuneen opiskelupaikan kuntaryhmä" --,d4.laani AS "Koul. sijoittuneen opiskelupaikan lääni" ,d4b.maakunta AS "Tutkinnon suoritusmaakunta" --,d4b.avi AS "Tutk. suorituspaikan AVI" --,d4b.ely AS "Tutk. suorituspaikan ELY" --,d4b.seutukunta AS "Tutk. suorituspaikan seutukunta" --,d4b.suuralue AS "Tutk. suorituspaikan suuralue" --,d4b.kuntaryhma AS "Tutk. suorituspaikan kuntaryhmä" --,d4b.laani AS "Tutk. suorituspaikan lääni" ,d13.oppilaitos AS "Oppilaitos" ,d13.oppilaitostyyppi AS "Oppilaitostyyppi" --,d13.oppilaitoksen_omistajatyyppi AS "Oppil. omistajatyyppi" ,d13.opetuskieli AS "Oppil. opetuskieli" ,d13.koulutuksen_jarjestaja AS "Koulutuksen järjestäjä" --,d13.koulutuksen_jarjestajan_omistajatyyppi AS "Koul. järjestäjän omistajatyyppi" --,d13.koulutuksen_jarjestajan_kieli AS "Koul. järjestäjän kieli" --,d13.peruskoulujen_ryhmitys AS "Peruskoulujen ryhmitys" --,d13.peruskoulujen_vuosilks AS "Peruskoulujen vuosiluokat" ,d14.oppilaitos AS "Koul. sijoittuneen oppilaitos" --,d14.oppilaitostyyppi AS "Koul. sijoittuneen oppil.tyyppi" --,d14.oppilaitoksen_omistajatyyppi AS "Koul. sijoittuneen oppil. omistajatyyppi" --,d14.opetuskieli AS "Koul. sijoittuneen oppil. opetuskieli" ,d14.koulutuksen_jarjestaja AS "Koul. sijoittuneen koul. järjestäjä" --,d14.koulutuksen_jarjestajan_omistajatyyppi AS "Koul. sijoittuneen koul. järjestäjän omistajatyyppi" --,d14.koulutuksen_jarjestajan_kieli AS "Koul. sijoittuneen koul. järjestäjän kieli" --,d14.peruskoulujen_ryhmitys AS "Koul. sijoittuneen peruskoulujen ryhmitys" --,d14.peruskoulujen_vuosilks AS "Koul. sijoittuneen peruskoulujen vuosiluokat" ,d15.vuosiselite AS "Tutkinnon suoritusvuosi" ,d18.lukukausiselite AS "Tutkinnon suorituslukukausi" --,d19.vuosiselite AS "Syntymävuosi" --,d20.pohjoismaa AS "Pohjoismaan kansalainen" ,d21.kansalaisuus_versio1 AS "Kansalaisuus" --,d22.opetuskieli AS "Opetuskieli" ,d23.ammatillisen_koulutuksen_koulutuslaji AS "Tutkintotyyppi" ,d24.opetussuunnitelmaperusteinen_koulutus_nayttotutkintoon_valmistava_koulutus AS "Järjestämistapa" ,d25.nuorten_aikuisten_koulutus AS "Nuoret/aikuiset" --,d26.moninkertainen_haku AS "Koul. sijoittuneiden haut" --,d27.paaasiallinen_toiminta AS "Pääasiallinen toiminta" --,d28.ammattiasema AS "Ammattiasema" ,d29.koulutuksen_paattaneiden_toiminta AS "Koul. päättäneiden toiminta" --,d30.eumaa AS "EU-maan kansalainen" --,d31.etamaa AS "ETA-maan kansalainen" --kumulatiiviset kylla/ei ,d32a.kylla_ei as 'Opiskellut lukiokoulutuksessa'--opisk_amm_kyllaei_id ,d32b.kylla_ei as 'Opiskellut ammatillisessa peruskoulutuksessa'--opisk_amm_kyllaei_id ,d32c.kylla_ei as 'Opiskellut ammattitutkintokoulutuksessa'--opisk_amm_kyllaei_id ,d32d.kylla_ei as 'Opiskellut erikoisammattitutkintokoulutuksessa'--opisk_amm_kyllaei_id ,d32e.kylla_ei as 'Opiskellut ammatillisessa koulutuksessa'--opisk_amm_kyllaei_id ,d33.kylla_ei as 'Opiskellut ammattikorkeakoulutuksessa'--opisk_amk_kyllaei_id ,d34.kylla_ei as 'Opiskellut yliopistokoulutuksessa'--opisk_yo_kyllaei_id ,case when d33.kylla_ei_koodi=1 or d34.kylla_ei_koodi=1 then 'Kyllä' else 'Ei' end as 'Opiskellut korkeakoulutuksessa' ,d35.kylla_ei as 'Opiskellut kasvatusalat (amk)'--opisk_amk_koulala1_kyllaei_id ,d36.kylla_ei as 'Opiskellut humanistiset ja taidealat (amk)'--opisk_amk_koulala2_kyllaei_id ,d37.kylla_ei as 'Opiskellut yhteiskunnalliset alat (amk)'--opisk_amk_koulala3_kyllaei_id ,d38.kylla_ei as 'Opiskellut kauppa, hallinto ja oikeustieteet (amk)'--opisk_amk_koulala4_kyllaei_id ,d39.kylla_ei as 'Opiskellut luonnontieteet (amk)'--opisk_amk_koulala5_kyllaei_id ,d40.kylla_ei as 'Opiskellut tietojenkäsittely ja tietoliikenne (ICT) (amk)'--opisk_amk_koulala6_kyllaei_id ,d41.kylla_ei as 'Opiskellut tekniikan alat (amk)'--opisk_amk_koulala7_kyllaei_id ,d42.kylla_ei as 'Opiskellut maa- ja metsätalousalat (amk)'--opisk_amk_koulala8_kyllaei_id ,d43.kylla_ei as 'Opiskellut terveys- ja hyvinvointialat (amk)'--opisk_amk_koulala9_kyllaei_id ,d44.kylla_ei as 'Opiskellut palvelualat (amk)'--opisk_amk_koulala10_kyllaei_id ,d45.kylla_ei as 'Opiskellut kasvatusalat (yo)'--opisk_yo_koulala1_kyllaei_id ,d46.kylla_ei as 'Opiskellut humanistiset ja taidealat (yo)'--opisk_yo_koulala2_kyllaei_id ,d47.kylla_ei as 'Opiskellut yhteiskunnalliset alat (yo)'--opisk_yo_koulala3_kyllaei_id ,d48.kylla_ei as 'Opiskellut kauppa, hallinto ja oikeustieteet (yo)'--opisk_yo_koulala4_kyllaei_id ,d49.kylla_ei as 'Opiskellut luonnontieteet (yo)'--opisk_yo_koulala5_kyllaei_id ,d50.kylla_ei as 'Opiskellut tietojenkäsittely ja tietoliikenne (ICT) (yo)'--opisk_yo_koulala6_kyllaei_id ,d51.kylla_ei as 'Opiskellut tekniikan alat (yo)'--opisk_yo_koulala7_kyllaei_id ,d52.kylla_ei as 'Opiskellut maa- ja metsätalousalat (yo)'--opisk_yo_koulala8_kyllaei_id ,d53.kylla_ei as 'Opiskellut terveys- ja hyvinvointialat (yo)'--opisk_yo_koulala9_kyllaei_id ,d54.kylla_ei as 'Opiskellut palvelualat (yo)'--opisk_yo_koulala10_kyllaei_id ,d55.kylla_ei as 'Opiskellut vähintään kahdella koulutusalalla'--opisk_vah2_koulala_kyllaei_id ,d56.kylla_ei as 'Hakenut ammatilliseen koulutukseen'--haku_amm_kyllaei_id ,d57.kylla_ei as 'Hakenut ammattikorkeakoulutukseen'--haku_amk_kyllaei_id ,d58.kylla_ei as 'Hakenut yliopistokoulutukseen'--haku_yo_kyllaei_id ,case when haku_kk_eiopisk_kk=1 or opisk_kk=1 then 'Kyllä' else 'Ei' end as 'Hakenut korkeakoulutukseen' --kumulatiiviset mittarit ,[eihaku_kk_eiopisk] ,[eihaku_kk_eiopisk_kk_opisk_ta] ,[eihaku_kk_eiopisk_kk_opisk_lu] ,[eihaku_kk_eiopisk_kk_opisk_pk] ,[eihaku_kk_eiopisk_kk_opisk_at] ,[eihaku_kk_eiopisk_kk_opisk_eat] ,[haku_kk_eiopisk_kk] ,[haku_kk_eiopisk_kk_eiopisk_ta] ,[haku_kk_eiopisk_kk_opisk_ta] ,[haku_amk_eiopisk_kk] ,[haku_yo_eiopisk_kk] ,[haku_amkyo_eiopisk_kk] ,[opisk_kk] ,[opisk_kk_eiopisk_ta] ,[opisk_kk_opisk_ta] ,[opisk_vain_amk] ,[opisk_vain_yo] ,[opisk_amkyo] --ruotsi ,[tilastovuosi] AS Statistikår ,d17.tarkastelujakso_SV AS Granskningsperiod ,d16.sukupuoli_SV AS Kön ,d2.aidinkieli_versio1_SV AS Modersmål ,d5.ika_SV AS Ålder ,d5b.ika5v_SV AS Åldersgrupp ,d6.tutkintoryhma_SV AS Examenskategori ,d7.koulutus_SV AS Grundutbildning ,d8.koulutusaste2002_SV AS "Placering i utbildning – utbildningsnivå" ,d8.koulutusala2002_SV AS "Placering i utbildning – utbildningsområde" ,d8.opintoala2002_SV AS "Placering i utbildning – studieområde" ,d8.koulutus_SV AS "Placering i utbildning – utbildningsbenämning" ,d4.maakunta_SV AS "Placering i utbildning – landskapet för studieplatsen" ,d4b.maakunta_SV AS [Landskap där examen avlagts] ,d13.oppilaitos AS "Läroanstalt" ,d13.oppilaitostyyppi_SV AS Läroanstaltstyp ,d13.opetuskieli_SV AS [Läroanstaltens undervisningsspråk] ,d13.koulutuksen_jarjestaja_SV AS Utbildningsanordnare ,d14.oppilaitos_SV AS "Placering i utbildning – läroanstalt" ,d14.koulutuksen_jarjestaja_SV AS "Placering i utbildning – utbildningsanordnare" ,d15.vuosiselite_SV AS [År då utbildningen avlagts] ,d18.lukukausiselite_SV AS [Termin då utbildningen avlagts] ,d21.kansalaisuus_versio1_SV AS Medborgaskap ,d25.nuorten_aikuisten_koulutus_SV AS [Ungdoms-/vuxenutbildning] ,d29.koulutuksen_paattaneiden_toiminta_SV AS [Sysselsättning av utexaminerade] --englanti ,[tilastovuosi] AS [Statistical year] ,d17.tarkastelujakso_EN AS [Reference period] ,d16.sukupuoli_EN AS Gender ,d2.aidinkieli_versio1_EN AS [Mother tongue] ,d5.ika_EN AS Age ,d5b.ika5v_EN AS [Age group] ,d6.tutkintoryhma_EN AS [Degree/Qualification group] ,d7.koulutus_EN AS [Previous education] ,d8.koulutusaste2002_EN AS [Placed in further ed. - level of education] ,d8.koulutusala2002_EN AS [Placed in further ed. - field of education] ,d8.opintoala2002_EN AS [Placed in further ed. - subfield of education] ,d8.koulutus_EN AS [Placed in further ed. - name of education] ,d4.maakunta_EN AS [Placed in further ed. - region] ,d4b.maakunta_EN AS [Region of degree/qualification] ,d13.oppilaitos AS "Educational institution" ,d13.oppilaitostyyppi_EN AS [Type of institution] ,d13.opetuskieli_EN AS [Language of the institution] ,d13.koulutuksen_jarjestaja_EN AS [Education provider] ,d14.oppilaitos_EN AS [Placed in further ed. - ed. institution] ,d14.koulutuksen_jarjestaja_EN AS [Placed in further ed. - education provider] ,d15.vuosiselite_EN AS [Graduation year] ,d18.lukukausiselite_EN AS [Term of graduation] ,d21.kansalaisuus_versio1_EN AS Nationality ,d25.nuorten_aikuisten_koulutus_EN AS [Youth/adult education] ,d29.koulutuksen_paattaneiden_toiminta_EN AS [Completers' activity] --isced ,d8.iscle2011 as "Koul. sijoittuneen koulutusaste, taso 1" ,d8.Koulutusaste_taso2 as "Koul. sijoittuneen koulutusaste, taso 2" ,d8.iscfibroad2013 as "Koul. sijoittuneen koulutusala, taso 1" ,d8.iscfinarrow2013 as "Koul. sijoittuneen koulutusala, taso 2" ,d8.iscfi2013 as "Koul. sijoittuneen koulutusala, taso 3" ,d8.OKM_ohjauksen_ala as "Koul. sijoittuneen OKM ohjauksen ala, korkeak." ,d8.iscle2011_SV as "Placering i utbildning – utb.nivå, nivå 1" ,d8.Koulutusaste_taso2_SV as "Placering i utbildning – utb.nivå, nivå 2" ,d8.iscfibroad2013_SV as "Placering i utbildning – utb.område, nivå 1" ,d8.iscfinarrow2013_SV as "Placering i utbildning – utb.område, nivå 2" ,d8.iscfi2013_SV as "Placering i utbildning – utb.område, nivå 3" ,d8.OKM_ohjauksen_ala_SV as "Placering i utbildning – UKM-styrningsområde, högskolor" ,d8.iscle2011_EN as "Placed in further ed. - level of education, tier 1" ,d8.Koulutusaste_taso2_EN as "Placed in further ed. - level of education, tier 2" ,d8.iscfibroad2013_EN as "Placed in further ed. - field of education, tier 1" ,d8.iscfinarrow2013_EN as "Placed in further ed. - field of education, tier 2" ,d8.iscfi2013_EN as "Placed in further ed. - field of education, tier 3" ,d8.OKM_ohjauksen_ala_EN as "Placed in further ed. - field of ed., HE steering" ,d8.jarjestys_iscle2011 as jarj_isced_koulast1 ,d8.jarjestys_Koulutusaste_taso2 as jarj_isced_koulast2 ,d8.jarjestys_iscfibroad2013 as jarj_isced_koulala1 ,d8.jarjestys_iscfinarrow2013 as jarj_isced_koulala2 ,d8.jarjestys_iscfi2013 as jarj_isced_koulala3 ,d8.jarjestys_OKM_ohjauksen_ala as jarj_isced_okmohjaus1 --koodit ,d8.koulutusala2002_koodi as "Koodit Koulutusala 2002" ,d8.opintoala1995_koodi as "Koodit Koulutusala 1995" ,d8.opintoala2002_koodi as "Koodit Opintoala 2002" ,d8.koulutus_koodi as "Koodit Koulutusnimike" ,d8.koulutusaste2002_koodi as "Koodit Koulutusaste 2002" ,d14.koulutuksen_jarjestajakoodi as "Koodit Koul. sij. koul. järjestäjä" ,d14.oppilaitoskoodi as "Koodit Koul. sij. oppilaitos" ,d13.koulutuksen_jarjestajakoodi as "Koodit Koul. järjestäjä" ,d4b.maakunta_koodi as "Koodit Tutk. suor.maakunta" ,d4.maakunta_koodi as "Koodit Opiskelumaakunta" ,d8.iscle2011_koodi as "Koodit Koulutusaste, taso 1" ,d8.Koulutusaste_taso2_koodi as "Koodit Koulutusaste, taso 2" ,d8.iscfibroad2013_koodi as "Koodit Koulutusala, taso 1" ,d8.iscfinarrow2013_koodi as "Koodit Koulutusala, taso 2" ,d8.iscfi2013_koodi as "Koodit Koulutusala, taso 3" ,d8.OKM_ohjauksen_ala_koodi as "Koodit OKM ohjauksen ala, korkeak." --järjestys ,d17.jarjestys AS tarkastelujakso_jarjestys ,d16.jarjestys AS sukupuoli_jarjestys ,d2.jarjestys AS aidinkieli_jarjestys ,d5.jarjestys_ika ,d5b.jarjestys_ika5v ,d5c.jarjestys_ika as jarjestys_ika5v_suorv ,d6.jarjestys AS tutkintoryhma_jarjestys ,d7.jarjestys AS jarjestys_pohjakoulutus ,d8.jarjestys_koulutusaste2002 AS jarjestys_sij_koulutusaste2002 ,d8.jarjestys_koulutusala2002 AS jarjestys_sij_koulutusala2002 ,d8.jarjestys_opintoala2002 AS jarjestys_sij_opintoala ,d8.jarjestys AS jarjestys_sij_koulutusnimike --,d3.jarjestys AS alueluokitus_jarjestys --,d3.jarjestys_maakunta --,d3.jarjestys_avi --,d3.jarjestys_ely --,d3.jarjestys_seutukunta --,d3.jarjestys_suuralue --,d3.jarjestys_kuntaryhma --,d3.jarjestys_laani --,d3.jarjestys_kielisuhde ,d4.jarjestys_maakunta AS sijoittuneen_al_jarjestys_maakunta --,d4.jarjestys_avi AS sijoittuneen_al_jarjestys_avi --,d4.jarjestys_ely AS sijoittuneen_al_jarjestys_ely --,d4.jarjestys_seutukunta AS sijoittuneen_al_jarjestys_seutukunta --,d4.jarjestys_suuralue AS sijoittuneen_al_jarjestys_suuralue --,d4.jarjestys_kuntaryhma AS sijoittuneen_al_jarjestys_kuntaryhma --,d4.jarjestys_laani AS sijoittuneen_al_jarjestys_laani --,d4.jarjestys_kielisuhde AS sijoittuneen_al_jarjestys_kielisuhde ,d4b.jarjestys_maakunta AS tutksuor_al_jarjestys_maakunta --,d4b.jarjestys_avi AS tutksuor_al_jarjestys_avi --,d4b.jarjestys_ely AS tutksuor_al_jarjestys_ely --,d4b.jarjestys_seutukunta AS tutksuor_al_jarjestys_seutukunta --,d4b.jarjestys_suuralue AS tutksuor_al_jarjestys_suuralue --,d4b.jarjestys_kuntaryhma AS tutksuor_al_jarjestys_kuntaryhma --,d4b.jarjestys_laani AS tutksuor_al_jarjestys_laani --,d4b.jarjestys_kielisuhde AS tutksuor_al_jarjestys_kielisuhde --,d13.jarjestys_oppilaitos ,d13.jarjestys_oppilaitostyyppi --,d13.jarjestys_omistajatyyppi ,d13.jarjestys_opetuskieli --,d13.jarjestys_koulutuksen_jarjestaja --,d13.jarjestys_koulutuksen_jarjestajan_kieli --,d13.jarjestys_peruskoulujen_ryhmitys --,d13.jarjestys_peruskoulujen_vuosilks --,d14.jarjestys_oppilaitos AS sijoittuneen_jarjestys_oppilaitos --,d14.jarjestys_oppilaitostyyppi AS sijoittuneen_jarjestys_oppilaitostyyppi --,d14.jarjestys_omistajatyyppi AS sijoittuneen_jarjestys_omistajatyyppi --,d14.jarjestys_opetuskieli AS sijoittuneen_jarjestys_opetuskieli --,d14.jarjestys_koulutuksen_jarjestaja AS sijoittuneen_jarjestys_koulutuksen_jarjestaja --,d14.jarjestys_koulutuksen_jarjestajan_kieli AS sijoittuneen_jarjestys_koulutuksen_jarjestajan_kieli --,d14.jarjestys_peruskoulujen_ryhmitys AS sijoittuneen_peruskoulujen_ryhmitys --,d14.jarjestys_peruskoulujen_vuosilks AS sijoittuneen_peruskoulujen_vuosilks ,d18.lukukausi AS tutksuor_lukukausi_jarjestys --,d20.jarjestys AS pohjoismaa_jarjestys ,d21.jarjestys AS kansalaisuus_jarjestys --,d22.jarjestys AS opetuskieli_jarjestys ,d23.jarjestys AS tutktyyppi_jarjestys ,d24.jarjestys AS jarjestamistapa_jarjestys ,d25.jarjestys AS nuoraik_jarjestys --,d26.jarjestys AS monihaku_jarjestys --,d27.jarjestys AS paaastoim_jarjestys --,d28.jarjestys AS ammasema_jarjestys ,d29.jarjestys AS koul_paattaneiden_toiminta_jarjestys --,d30.jarjestys_eumaa --,d31.jarjestys_etamaa ,[lukiokoulutuksessa_ja_ammatillisessa_koulutuksessa_ke] AS "Koul. sijoittuneet lukiokoulutuksessa ja ammatillisessa koulutuksessa" ,[lukiokoulutuksessa_ke] AS "Koul. sijoittuneet lukiokoulutuksessa" ,[ammatillisessa_koulutuksessa_ke] AS "Koul. sijoittuneet ammatillisessa koulutuksessa" ,[ammattikorkeakoulutuksessa_ke] AS "Koul. sijoittuneet ammattikorkeakoulutuksessa" ,[yliopistokoulutuksessa_ke] AS "Koul. sijoittuneet yliopistokoulutuksessa" ,[ammattikorkeakoulutuksessa_ja_yliopistokoulutuksessa_ke] AS "Koul. sijoittuneet ammattikorkeakoulutuksessa ja yliopistokoulutuksessa" ,[toisen_asteen_ammatillisessa_koulutuksessa_ja_korkeakoulutuksessa_ke] AS "Koul. sijoittuneet toisen asteen ammatillisessa koulutuksessa ja korkeakoulutuksessa" ,[lukiokoulutuksessa_ja_ammatillisessa_koulutuksessa] ,[lukiokoulutuksessa] ,[ammatillisessa_koulutuksessa] ,[ammattikorkeakoulutuksessa] ,[yliopistokoulutuksessa] ,[ammattikorkeakoulutuksessa_ja_yliopistokoulutuksessa] ,[toisen_asteen_ammatillisessa_koulutuksessa_ja_korkeakoulutuksessa] FROM dbo.f_koulutukseen_sijoittuneet_6v LEFT JOIN d_aidinkieli_versio1 d2 ON d2.id = aidinkieli_versio_1_id LEFT JOIN d_sukupuoli d16 ON d16.id = sukupuoli_id LEFT JOIN d_tarkastelujakso d17 ON d17.id = tarkastelujakso_id LEFT JOIN d_alueluokitus d3 ON d3.id = asuinkunta_id LEFT JOIN d_alueluokitus d4 ON d4.id = koulutukseen_sijoittuneen_maakunta_id LEFT JOIN d_alueluokitus d4b ON d4b.id = pohjakoulutuksen_tutkinnon_suoritusmaakunta_id LEFT JOIN d_ika d5 ON d5.id = ika_1v_id LEFT JOIN d_ika d5b ON d5b.id = ika_5v_id LEFT JOIN d_ika d5c ON d5c.id = ika_1v_suorv_id LEFT JOIN d_tutkintoryhma d6 ON d6.id = tutkintoryhma_id LEFT JOIN d_koulutusluokitus d7 ON d7.id = pohjakoulutus_id LEFT JOIN d_koulutusluokitus d8 ON d8.id = koulutukseen_sijoittuneen_koulutus_id LEFT JOIN d_oppilaitoksen_taustatiedot d13 ON d13.id = pohjakoulutuksen_oppilaitos_id LEFT JOIN d_oppilaitoksen_taustatiedot d14 ON d14.id = koulutukseen_sijoittuneen_oppilaitos_id LEFT JOIN d_kausi d15 on d15.kausi_id = suoritusvuosi_id LEFT JOIN d_kausi d18 on d18.kausi_id = suorituslukukausi_id LEFT JOIN d_kausi d19 on d19.kausi_id = syntymavuosi_id LEFT JOIN d_pohjoismaa d20 on d20.id = pohjoismaa_id LEFT JOIN d_kansalaisuus_versio1 d21 on d21.id = kansalaisuus_id LEFT JOIN d_opetuskieli d22 on d22.id = pohjakoulutuksen_opetuskieli_id LEFT JOIN d_ammatillisen_koulutuksen_koulutuslaji d23 on d23.id = pohjakoulutuksen_koulutuslaji_id LEFT JOIN d_opetussuunnitelmaperusteinen_koulutus_nayttotutkintoon_valmistava_koulutus d24 on d24.id = pohjakoulutuksen_tutktav_id LEFT JOIN d_nuorten_aikuisten_koulutus d25 on d25.id = pohjakoulutuksen_aikoul_id LEFT JOIN d_moninkertainen_haku d26 on d26.id = moninkertainen_haku_id LEFT JOIN d_paaasiallinen_toiminta d27 on d27.id = paaasiallinen_toiminta_id LEFT JOIN d_ammattiasema d28 on d28.id = ammattiasema_id LEFT JOIN d_koulutuksen_paattaneiden_toiminta d29 on d29.id = koulutuksen_paattaneiden_toiminta_id LEFT JOIN d_valtio d30 on d30.id = eumaa_id LEFT JOIN d_valtio d31 on d31.id = etamaa_id LEFT JOIN d_kylla_ei d32a on d32a.id = opisk_lu_kyllaei_id LEFT JOIN d_kylla_ei d32b on d32b.id = opisk_amm_pk_kyllaei_id LEFT JOIN d_kylla_ei d32c on d32c.id = opisk_amm_at_kyllaei_id LEFT JOIN d_kylla_ei d32d on d32d.id = opisk_amm_eat_kyllaei_id LEFT JOIN d_kylla_ei d32e on d32e.id = opisk_amm_kyllaei_id LEFT JOIN d_kylla_ei d33 on d33.id = opisk_amk_kyllaei_id LEFT JOIN d_kylla_ei d34 on d34.id = opisk_yo_kyllaei_id LEFT JOIN d_kylla_ei d35 on d35.id = opisk_amk_koulala1_kyllaei_id LEFT JOIN d_kylla_ei d36 on d36.id = opisk_amk_koulala2_kyllaei_id LEFT JOIN d_kylla_ei d37 on d37.id = opisk_amk_koulala3_kyllaei_id LEFT JOIN d_kylla_ei d38 on d38.id = opisk_amk_koulala4_kyllaei_id LEFT JOIN d_kylla_ei d39 on d39.id = opisk_amk_koulala5_kyllaei_id LEFT JOIN d_kylla_ei d40 on d40.id = opisk_amk_koulala6_kyllaei_id LEFT JOIN d_kylla_ei d41 on d41.id = opisk_amk_koulala7_kyllaei_id LEFT JOIN d_kylla_ei d42 on d42.id = opisk_amk_koulala8_kyllaei_id LEFT JOIN d_kylla_ei d43 on d43.id = opisk_amk_koulala9_kyllaei_id LEFT JOIN d_kylla_ei d44 on d44.id = opisk_amk_koulala10_kyllaei_id LEFT JOIN d_kylla_ei d45 on d45.id = opisk_yo_koulala1_kyllaei_id LEFT JOIN d_kylla_ei d46 on d46.id = opisk_yo_koulala2_kyllaei_id LEFT JOIN d_kylla_ei d47 on d47.id = opisk_yo_koulala3_kyllaei_id LEFT JOIN d_kylla_ei d48 on d48.id = opisk_yo_koulala4_kyllaei_id LEFT JOIN d_kylla_ei d49 on d49.id = opisk_yo_koulala5_kyllaei_id LEFT JOIN d_kylla_ei d50 on d50.id = opisk_yo_koulala6_kyllaei_id LEFT JOIN d_kylla_ei d51 on d51.id = opisk_yo_koulala7_kyllaei_id LEFT JOIN d_kylla_ei d52 on d52.id = opisk_yo_koulala8_kyllaei_id LEFT JOIN d_kylla_ei d53 on d53.id = opisk_yo_koulala9_kyllaei_id LEFT JOIN d_kylla_ei d54 on d54.id = opisk_yo_koulala10_kyllaei_id LEFT JOIN d_kylla_ei d55 on d55.id = opisk_vah2_koulala_kyllaei_id LEFT JOIN d_kylla_ei d56 on d56.id = haku_amm_kyllaei_id LEFT JOIN d_kylla_ei d57 on d57.id = haku_amk_kyllaei_id LEFT JOIN d_kylla_ei d58 on d58.id = haku_yo_kyllaei_id WHERE tutkintoryhma_koodi = 2 AND [Tilastovuosi] <> '2008' GO USE [ANTERO]
SELECT assert(count(*), 35560, 'syntax-numeric_field_not_null-2') FROM so_posts WHERE so_posts ==> 'answer_count!=null';
-- 'удаление ненужных таблиц' SELECT 'удаление ненужных таблиц' AS info; DROP TABLE users_id_seq; DROP TABLE unloading_events_id_seq; DROP TABLE system_settings_id_seq; DROP TABLE soms_settings_id_seq; DROP TABLE settings_id_seq; DROP TABLE service_normatives_id_seq; DROP TABLE report_parameters_id_seq; DROP TABLE register_action_normatives_id_seq; DROP TABLE portal_tickets_id_seq; DROP TABLE offices_id_seq; DROP TABLE office_settings_id_seq; DROP TABLE office_checks_id_seq; DROP TABLE feedback_question_answers_id_seq; DROP TABLE feedback_forms_id_seq; DROP TABLE eq_tickets_id_seq; DROP TABLE documents_id_seq; DROP TABLE dictionaries_id_seq; DROP TABLE counters_id_seq; DROP TABLE conversation_fs_id_seq; DROP TABLE client_infos_id_seq; DROP TABLE classifiers_id_seq; DROP TABLE classifier_versions_id_seq; DROP TABLE changes_id_seq; DROP TABLE board_settings_id_seq; DROP TABLE activities_id_seq; ALTER TABLE offices DROP COLUMN asvz_office_id; ALTER TABLE offices DROP COLUMN code; ALTER TABLE offices DROP COLUMN use_central_playlist; ALTER TABLE board_settings DROP COLUMN hide_slot_and_window_number; ALTER TABLE office_settings DROP COLUMN hide_fio_in_prerecord_mode; ALTER TABLE office_settings DROP COLUMN hide_fio_in_live_mode; ALTER TABLE office_settings DROP COLUMN hide_passport_in_prerecord_mode; ALTER TABLE office_settings DROP COLUMN hide_passport_in_live_mode; ALTER TABLE office_settings DROP COLUMN terminal_inactivity_timeout; ALTER TABLE office_settings DROP COLUMN max_appointments_for_user; ALTER TABLE office_settings DROP COLUMN max_objects_count; ALTER TABLE office_settings DROP COLUMN hide_objects_count_in_talon; ALTER TABLE office_settings DROP COLUMN hide_object_type_in_prerecord_mode; ALTER TABLE office_settings DROP COLUMN hide_object_type_in_live_mode; SELECT 'таблица additional_service_times больше не нужна' AS info; DROP TABLE additional_service_times; SELECT 'таблица applicant_types больше не нужна' AS info; DROP TABLE applicant_types; SELECT 'таблица feedback_questions больше не нужна' AS info; DROP TABLE feedback_questions; SELECT 'таблица instance_types больше не нужна' AS info; DROP TABLE instance_types; SELECT 'таблица mortgage_types больше не нужна' AS info; DROP TABLE mortgage_types; SELECT 'таблица register_actions больше не нужна' AS info; DROP TABLE register_actions; SELECT 'таблица reports больше не нужна' AS info; DROP TABLE reports; SELECT 'таблица resources больше не нужна' AS info; DROP TABLE resources; SELECT 'таблица schema_migrations больше не нужна' AS info; DROP TABLE schema_migrations; SELECT 'таблица security_images больше не нужна' AS info; DROP TABLE security_images; SELECT 'таблица service_frgus больше не нужна' AS info; DROP TABLE service_frgus; SELECT 'таблица services больше не нужна' AS info; DROP TABLE services; SELECT 'таблица sources больше не нужна' AS info; DROP TABLE sources; SELECT 'таблица supplying_methods больше не нужна' AS info; DROP TABLE supplying_methods; -- обновляем все id, которые связаны с офисами SELECT 'обновляем все id, которые связаны с офисами' AS info; UPDATE offices SET id = id + (SELECT * FROM dblink('dbname=mydb', 'select case when max(id) is null then 0 else max(id) end from offices') AS t1(id int)); UPDATE slots SET office_id = office_id + (SELECT * FROM dblink('dbname=mydb', 'select case when max(id) is null then 0 else max(id) end from offices') AS t1(id int)); UPDATE users SET office_id = office_id + (SELECT * FROM dblink('dbname=mydb', 'select case when max(id) is null then 0 else max(id) end from offices') AS t1(id int)); UPDATE board_settings SET office_id = office_id + (SELECT * FROM dblink('dbname=mydb', 'select case when max(id) is null then 0 else max(id) end from offices') AS t1(id int)); UPDATE office_settings SET office_id = office_id + (SELECT * FROM dblink('dbname=mydb', 'select case when max(id) is null then 0 else max(id) end from offices') AS t1(id int)); UPDATE day_schedules SET office_id = office_id + (SELECT * FROM dblink('dbname=mydb', 'select case when max(id) is null then 0 else max(id) end from offices') AS t1(id int)); UPDATE activities SET office_id = office_id + (SELECT * FROM dblink('dbname=mydb', 'select case when max(id) is null then 0 else max(id) end from offices') AS t1(id int)); UPDATE slots_counters SET office_id = office_id + (SELECT * FROM dblink('dbname=mydb', 'select case when max(id) is null then 0 else max(id) end from offices') AS t1(id int)); UPDATE office_checks SET office_id = office_id + (SELECT * FROM dblink('dbname=mydb', 'select case when max(id) is null then 0 else max(id) end from offices') AS t1(id int)); UPDATE counters SET office_id = office_id + (SELECT * FROM dblink('dbname=mydb', 'select case when max(id) is null then 0 else max(id) end from offices') AS t1(id int)); UPDATE settings SET office_id = office_id + (SELECT * FROM dblink('dbname=mydb', 'select case when max(id) is null then 0 else max(id) end from offices') AS t1(id int)); UPDATE offices_resources SET office_id = office_id + (SELECT * FROM dblink('dbname=mydb', 'select case when max(id) is null then 0 else max(id) end from offices') AS t1(id int)); -- обновляем все id, которые связаны с пользователями SELECT 'обновляем все id, которые связаны с users' AS info; UPDATE users SET id = id + (SELECT * FROM dblink('dbname=mydb', 'select case when max(id) is null then 0 else max(id) end from users') AS t1(id int)); UPDATE slots SET user_id = user_id + (SELECT * FROM dblink('dbname=mydb', 'select case when max(id) is null then 0 else max(id) end from users') AS t1(id int)); UPDATE feedback_forms SET user_id = user_id + (SELECT * FROM dblink('dbname=mydb', 'select case when max(id) is null then 0 else max(id) end from users') AS t1(id int)); UPDATE activities SET owner_id = owner_id + (SELECT * FROM dblink('dbname=mydb', 'select case when max(id) is null then 0 else max(id) end from users') AS t1(id int)); UPDATE counters SET logged_in = logged_in + (SELECT * FROM dblink('dbname=mydb', 'select case when max(id) is null then 0 else max(id) end from users') AS t1(id int)) WHERE logged_in IS NOT NULL; UPDATE resources_users SET user_id = user_id + (SELECT * FROM dblink('dbname=mydb', 'select case when max(id) is null then 0 else max(id) end from users') AS t1(id int)); -- обновляем все id, которые связаны со slots SELECT 'обновляем все id, которые связаны со slots' AS info; UPDATE slots SET id = id + (SELECT * FROM dblink('dbname=mydb', 'select case when max(id) is null then 0 else max(id) end from slots') AS t1(id int)); UPDATE feedback_forms SET slot_id = slot_id + (SELECT * FROM dblink('dbname=mydb', 'select case when max(id) is null then 0 else max(id) end from slots') AS t1(id int)); UPDATE slots_counters SET slot_id = slot_id + (SELECT * FROM dblink('dbname=mydb', 'select case when max(id) is null then 0 else max(id) end from slots') AS t1(id int)); -- обновляем все id, которые связаны с conversation_fs SELECT 'обновляем все id, которые связаны с conversation_fs' AS info; UPDATE conversation_fs SET id = id + (SELECT * FROM dblink('dbname=mydb', 'select case when max(id) is null then 0 else max(id) end from conversation_fs') AS t1(id int)); -- обновляем все id, которые связаны с board_settings SELECT 'обновляем все id, которые связаны с board_settings' AS info; UPDATE board_settings SET id = id + (SELECT * FROM dblink('dbname=mydb', 'select case when max(id) is null then 0 else max(id) end from board_settings') AS t1(id int)); UPDATE creeping_line_patterns SET board_setting_id = board_setting_id + (SELECT * FROM dblink('dbname=mydb', 'select case when max(id) is null then 0 else max(id) end from board_settings') AS t1(id int)); -- обновляем все id, которые связаны с creeping_line_patterns SELECT 'обновляем все id, которые связаны с creeping_line_patterns' AS info; UPDATE creeping_line_patterns SET id = id + (SELECT * FROM dblink('dbname=mydb', 'select case when max(id) is null then 0 else max(id) end from creeping_line_patterns') AS t1(id int)); -- обновляем все id, которые связаны с office_settings SELECT 'обновляем все id, которые связаны с office_settings' AS info; UPDATE office_settings SET id = id + (SELECT * FROM dblink('dbname=mydb', 'select case when max(id) is null then 0 else max(id) end from office_settings') AS t1(id int)); -- обновляем все id, которые связаны с portal_tickets SELECT 'обновляем все id, которые связаны с portal_tickets' AS info; UPDATE portal_tickets SET id = id + (SELECT * FROM dblink('dbname=mydb', 'select case when max(id) is null then 0 else max(id) end from portal_tickets') AS t1(id int)); -- обвновляем все id, которые связаны с day_schedules SELECT 'обвновляем все id, которые связаны с day_schedules' AS info; UPDATE day_schedules SET id = id + (SELECT * FROM dblink('dbname=mydb', 'select case when max(id) is null then 0 else max(id) end from day_schedules') AS t1(id int)); UPDATE day_schedule_resources SET day_schedule_id = day_schedule_id + (SELECT * FROM dblink('dbname=mydb', 'select case when max(id) is null then 0 else max(id) end from day_schedules') AS t1(id int)); -- обвновляем все id, которые связаны с activities SELECT 'обвновляем все id, которые связаны с activities' AS info; UPDATE activities SET id = id + (SELECT * FROM dblink('dbname=mydb', 'select case when max(id) is null then 0 else max(id) end from activities') AS t1(id int)); -- обновляем все id, которые связаны с register_action_normatives SELECT 'обновляем все id, которые связаны с register_action_normatives' AS info; UPDATE register_action_normatives SET id = id + (SELECT * FROM dblink('dbname=mydb', 'select case when max(id) is null then 0 else max(id) end from register_action_normatives') AS t1(id int)); -- обвновляем все id, которые связаны с service_normatives SELECT 'обвновляем все id, которые связаны с service_normatives' AS info; UPDATE service_normatives SET id = id + (SELECT * FROM dblink('dbname=mydb', 'select case when max(id) is null then 0 else max(id) end from service_normatives') AS t1(id int)); -- обновляем все id, которые связаны с eq_tickets SELECT 'обновляем все id, которые связаны с eq_tickets' AS info; UPDATE eq_tickets SET id = id + (SELECT * FROM dblink('dbname=mydb', 'select case when max(id) is null then 0 else max(id) end from eq_tickets') AS t1(id int)); -- обновляем все id, которые связаны с unloading_events SELECT 'обновляем все id, которые связаны с unloading_events' AS info; UPDATE unloading_events SET id = id + (SELECT * FROM dblink('dbname=mydb', 'select case when max(id) is null then 0 else max(id) end from unloading_events') AS t1(id int)); -- обновляем все id, которые связаны с classifier_versions SELECT 'обновляем все id, которые связаны с classifier_versions' AS info; UPDATE classifier_versions SET id = id + (SELECT * FROM dblink('dbname=mydb', 'select case when max(id) is null then 0 else max(id) end from classifier_versions') AS t1(id int)); -- обновляем все id, которые связаны с feedback_forms SELECT 'обновляем все id, которые связаны с feedback_forms' AS info; UPDATE feedback_forms SET id = id + (SELECT * FROM dblink('dbname=mydb', 'select case when max(id) is null then 0 else max(id) end from feedback_forms') AS t1(id int)); -- обновляем все id, которые связаны с slots_counters SELECT 'обновляем все id, которые связаны с slots_counters' AS info; UPDATE slots_counters SET id = id + (SELECT * FROM dblink('dbname=mydb', 'select case when max(id) is null then 0 else max(id) end from slots_counters') AS t1(id int)); -- под вопросом -- обновляем все id, которые связаны с classifiers SELECT 'обновляем все id, которые связаны с classifiers' AS info; UPDATE classifiers SET id = id + (SELECT * FROM dblink('dbname=mydb', 'select case when max(id) is null then 0 else max(id) end from classifiers') AS t1(id int)); UPDATE classifier_versions SET classifier_id = classifier_id + (SELECT * FROM dblink('dbname=mydb', 'select case when max(id) is null then 0 else max(id) end from classifiers') AS t1(id int)); -- обновляем все id, которые связаны с feedback_question_answers SELECT 'обновляем все id, которые связаны с feedback_question_answers' AS info; UPDATE feedback_question_answers SET id = id + (SELECT * FROM dblink('dbname=mydb', 'select case when max(id) is null then 0 else max(id) end from feedback_question_answers') AS t1(id int)); -- обновляем все id, которые связаны с changes SELECT 'обновляем все id, которые связаны с changes' AS info; UPDATE changes SET id = id + (SELECT * FROM dblink('dbname=mydb', 'select case when max(id) is null then 0 else max(id) end from changes') AS t1(id int)); -- обновляем все id, которые связаны с client_infos SELECT 'обновляем все id, которые связаны с client_infos' AS info; UPDATE client_infos SET id = id + (SELECT * FROM dblink('dbname=mydb', 'select case when max(id) is null then 0 else max(id) end from client_infos') AS t1(id int)); -- обновляем все id, которые связаны с office_checks SELECT 'обновляем все id, которые связаны с office_checks' AS info; UPDATE office_checks SET id = id + (SELECT * FROM dblink('dbname=mydb', 'select case when max(id) is null then 0 else max(id) end from office_checks') AS t1(id int)); -- обновляем все id, которые связаны с counters SELECT 'обновляем все id, которые связаны с counters' AS info; UPDATE counters SET id = id + (SELECT * FROM dblink('dbname=mydb', 'select case when max(id) is null then 0 else max(id) end from counters') AS t1(id int)); UPDATE slots SET counter_id = counter_id + (SELECT * FROM dblink('dbname=mydb', 'select case when max(id) is null then 0 else max(id) end from counters') AS t1(id int)); UPDATE day_schedules SET schedulable_id = schedulable_id + (SELECT * FROM dblink('dbname=mydb', 'select case when max(id) is null then 0 else max(id) end from counters') AS t1(id int)); -- обновляем все id, которые связаны с report_parameters SELECT 'обновляем все id, которые связаны с report_parameters' AS info; UPDATE report_parameters SET id = id + (SELECT * FROM dblink('dbname=mydb', 'select case when max(id) is null then 0 else max(id) end from report_parameters') AS t1(id int)); -- обновляем все id, которые связаны с soms_settings SELECT 'обновляем все id, которые связаны с soms_settings' AS info; UPDATE soms_settings SET id = id + (SELECT * FROM dblink('dbname=mydb', 'select case when max(id) is null then 0 else max(id) end from soms_settings') AS t1(id int)); -- обновляем все id, которые связаны с system_settings SELECT 'обновляем все id, которые связаны с system_settings' AS info; UPDATE system_settings SET id = id + (SELECT * FROM dblink('dbname=mydb', 'select case when max(id) is null then 0 else max(id) end from system_settings') AS t1(id int)); -- обновляем все id, которые связаны с documents SELECT 'обновляем все id, которые связаны с documents' AS info; UPDATE documents SET id = id + (SELECT * FROM dblink('dbname=mydb', 'select case when max(id) is null then 0 else max(id) end from documents') AS t1(id int)); -- обновляем все id, которые связаны с settings SELECT 'обновляем все id, которые связаны с settings' AS info; UPDATE settings SET id = id + (SELECT * FROM dblink('dbname=mydb', 'select case when max(id) is null then 0 else max(id) end from settings') AS t1(id int)); -- удаление глобальных пользователей SELECT 'удаление глобальных пользователей' AS info; -- UPDATE users SET email=CONCAT('admin', CAST(id AS VARCHAR),'@admin.ru') WHERE email='admin@admin.ru'; UPDATE users SET state='deleted', email=CONCAT(CAST((select properties -> 'code' AS code FROM dictionaries WHERE id=(SELECT dictionary_id FROM offices LIMIT 1)) AS VARCHAR), email) WHERE roles_mask = 4 OR roles_mask = 8 OR roles_mask = 12; -- обновление email-ов пользователям с дублирующимися email-ами SELECT 'обновление email-ов пользователям с дублирующимися email-ами' AS info; UPDATE users SET email=CONCAT('a', CAST(id AS VARCHAR),CAST(email AS VARCHAR)) WHERE email IN (SELECT email FROM dblink('dbname=mydb', 'select email from users') AS t1(email VARCHAR)); -- удаление "плохих" талонов SELECT 'удаление "плохих" талонов' AS info; DELETE FROM slots WHERE created_at >= CURRENT_DATE AND status != 'ready' AND status != 'not_come' AND status != 'denial_service'; -- обновление типов офисов на центральные SELECT 'обновление типов офисов на центральные' AS info; UPDATE offices SET remote_instance=false; -- 'удаление ненужных таблиц' SELECT 'таблица dictionaries больше не нужна' AS info; DROP TABLE dictionaries; SELECT id, name, region FROM offices;
DROP TABLE IF EXISTS `test_104`;
DELIMITER / CREATE TABLE PMC_AWARD ( PMC_AWARD_ID DECIMAL(12,0) NOT NULL, PERSON_MASS_CHANGE_ID DECIMAL(12,0) NOT NULL, INVESTIGATOR CHAR(1) DEFAULT 'N' NOT NULL, KEY_STUDY_PERSON CHAR(1) DEFAULT 'N' NOT NULL, UNIT_CONTACT CHAR(1) DEFAULT 'N' NOT NULL, SPONSOR_CONTACT CHAR(1) DEFAULT 'N' NOT NULL, APPROVED_FOREIGN_TRAVEL CHAR(1) DEFAULT 'N' NOT NULL, UPDATE_USER VARCHAR(60) NOT NULL, UPDATE_TIMESTAMP DATE NOT NULL, OBJ_ID VARCHAR(36) NOT NULL, VER_NBR DECIMAL(8,0) DEFAULT 1 NOT NULL ) ENGINE InnoDB CHARACTER SET utf8 COLLATE utf8_bin / ALTER TABLE PMC_AWARD ADD CONSTRAINT PK_PMC_AWARD PRIMARY KEY (PMC_AWARD_ID) / DELIMITER ;
prompt --application/shared_components/user_interface/templates/list/links_list begin -- Manifest -- REGION TEMPLATE: LINKS_LIST -- Manifest End wwv_flow_api.component_begin ( p_version_yyyy_mm_dd=>'2021.04.15' ,p_release=>'21.1.0' ,p_default_workspace_id=>1830750307483664 ,p_default_application_id=>220 ,p_default_id_offset=>0 ,p_default_owner=>'ANTON' ); wwv_flow_api.create_list_template( p_id=>wwv_flow_api.id(559124881958343439) ,p_list_template_current=>'<li class="t-LinksList-item is-current #A03#"><a href="#LINK#" class="t-LinksList-link" #A02#><span class="t-LinksList-icon"><span class="t-Icon #ICON_CSS_CLASSES#"></span></span><span class="t-LinksList-label">#TEXT#</span><span class="t-LinksList-b' ||'adge">#A01#</span></a></li>' ,p_list_template_noncurrent=>'<li class="t-LinksList-item #A03#"><a href="#LINK#" class="t-LinksList-link" #A02#><span class="t-LinksList-icon"><span class="t-Icon #ICON_CSS_CLASSES#"></span></span><span class="t-LinksList-label">#TEXT#</span><span class="t-LinksList-badge">#A01#' ||'</span></a></li>' ,p_list_template_name=>'Links List' ,p_internal_name=>'LINKS_LIST' ,p_theme_id=>42 ,p_theme_class_id=>18 ,p_list_template_before_rows=>'<ul class="t-LinksList #COMPONENT_CSS_CLASSES#" id="#LIST_ID#">' ,p_list_template_after_rows=>'</ul>' ,p_before_sub_list=>'<ul class="t-LinksList-list">' ,p_after_sub_list=>'</ul>' ,p_sub_list_item_current=>'<li class="t-LinksList-item is-current #A03#"><a href="#LINK#" class="t-LinksList-link" #A02#><span class="t-LinksList-icon"><span class="t-Icon #ICON_CSS_CLASSES#"></span></span><span class="t-LinksList-label">#TEXT#</span><span class="t-LinksList-b' ||'adge">#A01#</span></a></li>' ,p_sub_list_item_noncurrent=>'<li class="t-LinksList-item #A03#"><a href="#LINK#" class="t-LinksList-link" #A02#><span class="t-LinksList-icon"><span class="t-Icon #ICON_CSS_CLASSES#"></span></span><span class="t-LinksList-label">#TEXT#</span><span class="t-LinksList-badge">#A01#' ||'</span></a></li>' ,p_item_templ_curr_w_child=>'<li class="t-LinksList-item is-current is-expanded #A03#"><a href="#LINK#" class="t-LinksList-link" #A02#><span class="t-LinksList-icon"><span class="t-Icon #ICON_CSS_CLASSES#"></span></span><span class="t-LinksList-label">#TEXT#</span><span class="t' ||'-LinksList-badge">#A01#</span></a>#SUB_LISTS#</li>' ,p_item_templ_noncurr_w_child=>'<li class="t-LinksList-item #A03#"><a href="#LINK#" class="t-LinksList-link" #A02#><span class="t-LinksList-icon"><span class="t-Icon #ICON_CSS_CLASSES#"></span></span><span class="t-LinksList-label">#TEXT#</span><span class="t-LinksList-badge">#A01#' ||'</span></a></li>' ,p_a01_label=>'Badge Value' ,p_a02_label=>'Link Attributes' ,p_a03_label=>'List Item CSS Classes' ,p_reference_id=>4070914341144059318 ); wwv_flow_api.component_end; end; /
SELECT ProductId, LEFT(ProductCategory, CHARINDEX(' >', ProductCategory) - 1) AS Category, RIGHT(ProductCategory, LEN(ProductCategory) - CHARINDEX('>', ProductCategory)) AS Subcategory, Title AS Product, ProductImageUrl As [Product Image] FROM Products
LOAD DATA LOCAL INFILE './././download/geonames/countries/FM.txt' INTO TABLE geoname CHARACTER SET 'UTF8' (geonameid, name, asciiname, alternatenames, latitude, longitude, fclass, fcode, country, cc2, admin1, admin2, admin3, admin4, population, elevation, gtopo30, timezone, moddate);
DROP DATABASE IF EXISTS employee_db; CREATE DATABASE employee_db; USE employee_db; CREATE TABLE department ( id INT NOT NULL AUTO_INCREMENT, name VARCHAR(30), PRIMARY KEY (id) ); CREATE TABLE role ( id INT NOT NULL AUTO_INCREMENT, title VARCHAR(30), salary DECIMAL(10,2), department_id INT, PRIMARY KEY (id) ); CREATE TABLE employee ( id INT NOT NULL AUTO_INCREMENT, first_name VARCHAR(30), last_name VARCHAR(30), role_id INT NOT NULL, manager_id INT, PRIMARY KEY (id) );
--CREATE SCHEMA hr; --GO --CREATE TABLE hr.candidates( -- id INT PRIMARY KEY IDENTITY, -- fullname VARCHAR(100) NOT NULL --); --CREATE TABLE hr.employees( -- id INT PRIMARY KEY IDENTITY, -- fullname VARCHAR(100) NOT NULL --); --INSERT INTO -- hr.candidates(fullname) --VALUES -- ('John Doe'), -- ('Lily Bush'), -- ('Peter Drucker'), -- ('Jane Doe'); --INSERT INTO -- hr.employees(fullname) --VALUES -- ('John Doe'), -- ('Jane Doe'), -- ('Michael Scott'), -- ('Jack Sparrow'); --SELECT -- c.id candidate_id, -- c.fullname candidate_name, -- e.id employee_id, -- e.fullname employee_name --FROM -- hr.candidates c -- INNER JOIN hr.employees e -- ON e.fullname = c.fullname; --SELECT -- c.id candidate_id, -- c.fullname candidate_name, -- e.id employee_id, -- e.fullname employee_name --FROM -- hr.candidates c -- LEFT JOIN hr.employees e -- ON e.fullname = c.fullname; --SELECT -- c.id candidate_id, -- c.fullname candidate_name, -- e.id employee_id, -- e.fullname employee_name --FROM -- hr.candidates c -- LEFT JOIN hr.employees e -- ON e.fullname = c.fullname --WHERE --e.id IS NULL; --SELECT -- c.id candidate_id, -- c.fullname candidate_name, -- e.id employee_id, -- e.fullname employee_name --FROM -- hr.candidates c -- RIGHT JOIN hr.employees e -- ON e.fullname = c.fullname; --SELECT -- c.id candidate_id, -- c.fullname candidate_name, -- e.id employee_id, -- e.fullname employee_name --FROM -- hr.candidates c -- RIGHT JOIN hr.employees e -- ON e.fullname = c.fullname --WHERE -- c.id IS NULL; SELECT c.id candidate_id, c.fullname candidate_name, e.id employee_id, e.fullname employee_name FROM hr.candidates c FULL JOIN hr.employees e ON e.fullname = c.fullname;
-- -- Setup database permissions -- GRANT SELECT, INSERT, UPDATE ON `zeprs`.* TO 'zeprs_web_user'@'localhost' IDENTIFIED BY '**password**'; GRANT SELECT ON `admin`.`form` TO 'zeprs_web_user'@'localhost' IDENTIFIED BY '**password**'; GRANT SELECT ON `mail`.`accountuser` TO 'zeprs_web_user'@'localhost' IDENTIFIED BY '**password**'; GRANT DELETE ON `zeprs`.`client_setting` TO 'zeprs_web_user'@'localhost' IDENTIFIED BY '**password**'; GRANT SELECT ON `userdata`.`address` TO 'zeprs_web_user'@'localhost' IDENTIFIED BY '**password**'; GRANT DELETE ON `zeprs`.`encounter` TO 'zeprs_web_user'@'localhost' IDENTIFIED BY '**password**'; GRANT DELETE ON `zeprs`.`encounter_value_archive` TO 'zeprs_web_user'@'localhost' IDENTIFIED BY '**password**'; GRANT DELETE ON `zeprs`.`newborneval` TO 'zeprs_web_user'@'localhost' IDENTIFIED BY '**password**'; GRANT DELETE ON `zeprs`.`rule_definition_param` TO 'zeprs_web_user'@'localhost' IDENTIFIED BY '**password**'; GRANT DELETE ON `zeprs`.`patientregistration` TO 'zeprs_web_user'@'localhost' IDENTIFIED BY '**password**'; GRANT DELETE ON `zeprs`.`patient_status` TO 'zeprs_web_user'@'localhost' IDENTIFIED BY '**password**'; GRANT DELETE ON `zeprs`.`patient` TO 'zeprs_web_user'@'localhost' IDENTIFIED BY '**password**'; GRANT DELETE ON `zeprs`.`ultrasoundfetuseval` TO 'zeprs_web_user'@'localhost' IDENTIFIED BY '**password**'; GRANT ALL ON zeprs.* TO 'zeprsAdmin'@'localhost' IDENTIFIED BY '**password**'; GRANT ALL ON admin.* TO 'zeprsAdmin'@'localhost' IDENTIFIED BY '**password**'; -- -- Setup perms for zeprsdemo db -- GRANT SELECT,INSERT,UPDATE ON zeprsdemo.* TO 'zeprs_demo_user'@'localhost' IDENTIFIED BY '**password**'; GRANT SELECT ON admin.form TO 'zeprs_demo_user'@'localhost' IDENTIFIED BY '**password**'; GRANT SELECT ON mail.accountuser TO 'zeprs_demo_user'@'localhost' IDENTIFIED BY '**password**'; GRANT DELETE ON zeprsdemo.client_setting TO 'zeprs_demo_user'@'localhost' IDENTIFIED BY '**password**'; GRANT SELECT ON userdata.address TO 'zeprs_demo_user'@'localhost' IDENTIFIED BY '**password**'; GRANT DELETE ON zeprsdemo.encounter TO 'zeprs_demo_user'@'localhost' IDENTIFIED BY '**password**'; GRANT DELETE ON zeprsdemo.encounter_value_archive TO 'zeprs_demo_user'@'localhost' IDENTIFIED BY '**password**'; GRANT DELETE ON zeprsdemo.newborneval TO 'zeprs_demo_user'@'localhost' IDENTIFIED BY '**password**'; GRANT DELETE ON zeprsdemo.rule_definition_param TO 'zeprs_demo_user'@'localhost' IDENTIFIED BY '**password**'; GRANT DELETE ON zeprsdemo.patientregistration TO 'zeprs_demo_user'@'localhost' IDENTIFIED BY '**password**'; GRANT DELETE ON zeprsdemo.patient TO 'zeprs_demo_user'@'localhost' IDENTIFIED BY '**password**'; GRANT DELETE ON zeprsdemo.patient_status TO 'zeprs_demo_user'@'localhost' IDENTIFIED BY '**password**'; GRANT DELETE ON zeprsdemo.ultrasoundfetuseval TO 'zeprs_demo_user'@'localhost' IDENTIFIED BY '**password**'; GRANT ALL ON zeprsdemo.* TO 'zeprsAdmin'@'localhost' IDENTIFIED BY '**password**';
GRANT ALL ON *.* TO 'vaultuser'@'%' IDENTIFIED BY 'vaultpass'; GRANT GRANT OPTION ON *.* TO 'vaultuser'@'%'; CREATE DATABASE appdb; USE appdb; CREATE TABLE greetings ( id smallint unsigned not null auto_increment , phrase nvarchar(255) , constraint pk_greetings primary key (id) ); INSERT INTO greetings ( phrase ) VALUES ('Hello MySQL!');
-- -- Test foreign-data wrapper and server management. -- -- Clean up in case a prior regression run failed -- Suppress NOTICE messages when roles don't exist SET client_min_messages TO 'error'; DROP ROLE IF EXISTS foreign_data_user, regress_test_role, regress_test_role2, regress_test_role_super, regress_test_indirect, unpriviled_role; RESET client_min_messages; CREATE ROLE foreign_data_user LOGIN SUPERUSER; SET SESSION AUTHORIZATION 'foreign_data_user'; CREATE ROLE regress_test_role; CREATE ROLE regress_test_role2; CREATE ROLE regress_test_role_super SUPERUSER; CREATE ROLE regress_test_indirect; CREATE ROLE unprivileged_role; CREATE FOREIGN DATA WRAPPER dummy; COMMENT ON FOREIGN DATA WRAPPER dummy IS 'useless'; CREATE FOREIGN DATA WRAPPER postgresql VALIDATOR postgresql_fdw_validator; -- At this point we should have 2 built-in wrappers and no servers. SELECT fdwname, fdwhandler::regproc, fdwvalidator::regproc, fdwoptions FROM pg_foreign_data_wrapper ORDER BY 1, 2, 3; SELECT srvname, srvoptions FROM pg_foreign_server; SELECT * FROM pg_user_mapping; -- CREATE FOREIGN DATA WRAPPER CREATE FOREIGN DATA WRAPPER foo VALIDATOR bar; -- ERROR CREATE FOREIGN DATA WRAPPER foo; \dew CREATE FOREIGN DATA WRAPPER foo; -- duplicate DROP FOREIGN DATA WRAPPER foo; CREATE FOREIGN DATA WRAPPER foo OPTIONS (testing '1'); \dew+ DROP FOREIGN DATA WRAPPER foo; CREATE FOREIGN DATA WRAPPER foo OPTIONS (testing '1', testing '2'); -- ERROR CREATE FOREIGN DATA WRAPPER foo OPTIONS (testing '1', another '2'); \dew+ DROP FOREIGN DATA WRAPPER foo; SET ROLE regress_test_role; CREATE FOREIGN DATA WRAPPER foo; -- ERROR RESET ROLE; CREATE FOREIGN DATA WRAPPER foo VALIDATOR postgresql_fdw_validator; \dew+ -- ALTER FOREIGN DATA WRAPPER ALTER FOREIGN DATA WRAPPER foo; -- ERROR ALTER FOREIGN DATA WRAPPER foo VALIDATOR bar; -- ERROR ALTER FOREIGN DATA WRAPPER foo NO VALIDATOR; \dew+ ALTER FOREIGN DATA WRAPPER foo OPTIONS (a '1', b '2'); ALTER FOREIGN DATA WRAPPER foo OPTIONS (SET c '4'); -- ERROR ALTER FOREIGN DATA WRAPPER foo OPTIONS (DROP c); -- ERROR ALTER FOREIGN DATA WRAPPER foo OPTIONS (ADD x '1', DROP x); \dew+ ALTER FOREIGN DATA WRAPPER foo OPTIONS (DROP a, SET b '3', ADD c '4'); \dew+ ALTER FOREIGN DATA WRAPPER foo OPTIONS (a '2'); ALTER FOREIGN DATA WRAPPER foo OPTIONS (b '4'); -- ERROR \dew+ SET ROLE regress_test_role; ALTER FOREIGN DATA WRAPPER foo OPTIONS (ADD d '5'); -- ERROR SET ROLE regress_test_role_super; ALTER FOREIGN DATA WRAPPER foo OPTIONS (ADD d '5'); \dew+ ALTER FOREIGN DATA WRAPPER foo OWNER TO regress_test_role; -- ERROR ALTER FOREIGN DATA WRAPPER foo OWNER TO regress_test_role_super; ALTER ROLE regress_test_role_super NOSUPERUSER; SET ROLE regress_test_role_super; ALTER FOREIGN DATA WRAPPER foo OPTIONS (ADD e '6'); -- ERROR RESET ROLE; \dew+ ALTER FOREIGN DATA WRAPPER foo RENAME TO foo1; \dew+ ALTER FOREIGN DATA WRAPPER foo1 RENAME TO foo; -- DROP FOREIGN DATA WRAPPER DROP FOREIGN DATA WRAPPER nonexistent; -- ERROR DROP FOREIGN DATA WRAPPER IF EXISTS nonexistent; \dew+ DROP ROLE regress_test_role_super; -- ERROR SET ROLE regress_test_role_super; DROP FOREIGN DATA WRAPPER foo; RESET ROLE; DROP ROLE regress_test_role_super; \dew+ CREATE FOREIGN DATA WRAPPER foo; CREATE SERVER s1 FOREIGN DATA WRAPPER foo; COMMENT ON SERVER s1 IS 'foreign server'; CREATE USER MAPPING FOR current_user SERVER s1; \dew+ \des+ \deu+ DROP FOREIGN DATA WRAPPER foo; -- ERROR SET ROLE regress_test_role; DROP FOREIGN DATA WRAPPER foo CASCADE; -- ERROR RESET ROLE; DROP FOREIGN DATA WRAPPER foo CASCADE; \dew+ \des+ \deu+ -- exercise CREATE SERVER CREATE SERVER s1 FOREIGN DATA WRAPPER foo; -- ERROR CREATE FOREIGN DATA WRAPPER foo OPTIONS ("test wrapper" 'true'); CREATE SERVER s1 FOREIGN DATA WRAPPER foo; CREATE SERVER s1 FOREIGN DATA WRAPPER foo; -- ERROR CREATE SERVER s2 FOREIGN DATA WRAPPER foo OPTIONS (host 'a', dbname 'b'); CREATE SERVER s3 TYPE 'oracle' FOREIGN DATA WRAPPER foo; CREATE SERVER s4 TYPE 'oracle' FOREIGN DATA WRAPPER foo OPTIONS (host 'a', dbname 'b'); CREATE SERVER s5 VERSION '15.0' FOREIGN DATA WRAPPER foo; CREATE SERVER s6 VERSION '16.0' FOREIGN DATA WRAPPER foo OPTIONS (host 'a', dbname 'b'); CREATE SERVER s7 TYPE 'oracle' VERSION '17.0' FOREIGN DATA WRAPPER foo OPTIONS (host 'a', dbname 'b'); CREATE SERVER s8 FOREIGN DATA WRAPPER postgresql OPTIONS (foo '1'); -- ERROR CREATE SERVER s8 FOREIGN DATA WRAPPER postgresql OPTIONS (host 'localhost', dbname 's8db'); \des+ SET ROLE regress_test_role; CREATE SERVER t1 FOREIGN DATA WRAPPER foo; -- ERROR: no usage on FDW RESET ROLE; GRANT USAGE ON FOREIGN DATA WRAPPER foo TO regress_test_role; SET ROLE regress_test_role; CREATE SERVER t1 FOREIGN DATA WRAPPER foo; RESET ROLE; \des+ REVOKE USAGE ON FOREIGN DATA WRAPPER foo FROM regress_test_role; GRANT USAGE ON FOREIGN DATA WRAPPER foo TO regress_test_indirect; SET ROLE regress_test_role; CREATE SERVER t2 FOREIGN DATA WRAPPER foo; -- ERROR RESET ROLE; GRANT regress_test_indirect TO regress_test_role; SET ROLE regress_test_role; CREATE SERVER t2 FOREIGN DATA WRAPPER foo; \des+ RESET ROLE; REVOKE regress_test_indirect FROM regress_test_role; -- ALTER SERVER ALTER SERVER s0; -- ERROR ALTER SERVER s0 OPTIONS (a '1'); -- ERROR ALTER SERVER s1 VERSION '1.0' OPTIONS (servername 's1'); ALTER SERVER s2 VERSION '1.1'; ALTER SERVER s3 OPTIONS ("tns name" 'orcl', port '1521'); GRANT USAGE ON FOREIGN SERVER s1 TO regress_test_role; GRANT USAGE ON FOREIGN SERVER s6 TO regress_test_role2 WITH GRANT OPTION; \des+ SET ROLE regress_test_role; ALTER SERVER s1 VERSION '1.1'; -- ERROR ALTER SERVER s1 OWNER TO regress_test_role; -- ERROR RESET ROLE; ALTER SERVER s1 OWNER TO regress_test_role; GRANT regress_test_role2 TO regress_test_role; SET ROLE regress_test_role; ALTER SERVER s1 VERSION '1.1'; ALTER SERVER s1 OWNER TO regress_test_role2; -- ERROR RESET ROLE; ALTER SERVER s8 OPTIONS (foo '1'); -- ERROR option validation ALTER SERVER s8 OPTIONS (connect_timeout '30', SET dbname 'db1', DROP host); SET ROLE regress_test_role; ALTER SERVER s1 OWNER TO regress_test_indirect; -- ERROR RESET ROLE; GRANT regress_test_indirect TO regress_test_role; SET ROLE regress_test_role; ALTER SERVER s1 OWNER TO regress_test_indirect; RESET ROLE; GRANT USAGE ON FOREIGN DATA WRAPPER foo TO regress_test_indirect; SET ROLE regress_test_role; ALTER SERVER s1 OWNER TO regress_test_indirect; RESET ROLE; DROP ROLE regress_test_indirect; -- ERROR \des+ ALTER SERVER s8 RENAME to s8new; \des+ ALTER SERVER s8new RENAME to s8; -- DROP SERVER DROP SERVER nonexistent; -- ERROR DROP SERVER IF EXISTS nonexistent; \des SET ROLE regress_test_role; DROP SERVER s2; -- ERROR DROP SERVER s1; RESET ROLE; \des ALTER SERVER s2 OWNER TO regress_test_role; SET ROLE regress_test_role; DROP SERVER s2; RESET ROLE; \des CREATE USER MAPPING FOR current_user SERVER s3; \deu DROP SERVER s3; -- ERROR DROP SERVER s3 CASCADE; \des \deu -- CREATE USER MAPPING CREATE USER MAPPING FOR regress_test_missing_role SERVER s1; -- ERROR CREATE USER MAPPING FOR current_user SERVER s1; -- ERROR CREATE USER MAPPING FOR current_user SERVER s4; CREATE USER MAPPING FOR user SERVER s4; -- ERROR duplicate CREATE USER MAPPING FOR public SERVER s4 OPTIONS ("this mapping" 'is public'); CREATE USER MAPPING FOR user SERVER s8 OPTIONS (username 'test', password 'secret'); -- ERROR CREATE USER MAPPING FOR user SERVER s8 OPTIONS (user 'test', password 'secret'); ALTER SERVER s5 OWNER TO regress_test_role; ALTER SERVER s6 OWNER TO regress_test_indirect; SET ROLE regress_test_role; CREATE USER MAPPING FOR current_user SERVER s5; CREATE USER MAPPING FOR current_user SERVER s6 OPTIONS (username 'test'); CREATE USER MAPPING FOR current_user SERVER s7; -- ERROR CREATE USER MAPPING FOR public SERVER s8; -- ERROR RESET ROLE; ALTER SERVER t1 OWNER TO regress_test_indirect; SET ROLE regress_test_role; CREATE USER MAPPING FOR current_user SERVER t1 OPTIONS (username 'bob', password 'boo'); CREATE USER MAPPING FOR public SERVER t1; RESET ROLE; \deu -- ALTER USER MAPPING ALTER USER MAPPING FOR regress_test_missing_role SERVER s4 OPTIONS (gotcha 'true'); -- ERROR ALTER USER MAPPING FOR user SERVER ss4 OPTIONS (gotcha 'true'); -- ERROR ALTER USER MAPPING FOR public SERVER s5 OPTIONS (gotcha 'true'); -- ERROR ALTER USER MAPPING FOR current_user SERVER s8 OPTIONS (username 'test'); -- ERROR ALTER USER MAPPING FOR current_user SERVER s8 OPTIONS (DROP user, SET password 'public'); SET ROLE regress_test_role; ALTER USER MAPPING FOR current_user SERVER s5 OPTIONS (ADD modified '1'); ALTER USER MAPPING FOR public SERVER s4 OPTIONS (ADD modified '1'); -- ERROR ALTER USER MAPPING FOR public SERVER t1 OPTIONS (ADD modified '1'); RESET ROLE; \deu+ -- DROP USER MAPPING DROP USER MAPPING FOR regress_test_missing_role SERVER s4; -- ERROR DROP USER MAPPING FOR user SERVER ss4; DROP USER MAPPING FOR public SERVER s7; -- ERROR DROP USER MAPPING IF EXISTS FOR regress_test_missing_role SERVER s4; DROP USER MAPPING IF EXISTS FOR user SERVER ss4; DROP USER MAPPING IF EXISTS FOR public SERVER s7; CREATE USER MAPPING FOR public SERVER s8; SET ROLE regress_test_role; DROP USER MAPPING FOR public SERVER s8; -- ERROR RESET ROLE; DROP SERVER s7; \deu -- CREATE FOREIGN TABLE CREATE SCHEMA foreign_schema; CREATE SERVER s0 FOREIGN DATA WRAPPER dummy; CREATE FOREIGN TABLE ft1 (); -- ERROR CREATE FOREIGN TABLE ft1 () SERVER no_server; -- ERROR CREATE FOREIGN TABLE ft1 () SERVER s0 WITH OIDS; -- ERROR CREATE FOREIGN TABLE ft1 ( c1 integer OPTIONS ("param 1" 'val1') PRIMARY KEY, c2 text OPTIONS (param2 'val2', param3 'val3'), c3 date ) SERVER s0 OPTIONS (delimiter ',', quote '"', "be quoted" 'value'); -- ERROR CREATE TABLE ref_table (id integer PRIMARY KEY); CREATE FOREIGN TABLE ft1 ( c1 integer OPTIONS ("param 1" 'val1') REFERENCES ref_table (id), c2 text OPTIONS (param2 'val2', param3 'val3'), c3 date ) SERVER s0 OPTIONS (delimiter ',', quote '"', "be quoted" 'value'); -- ERROR DROP TABLE ref_table; CREATE FOREIGN TABLE ft1 ( c1 integer OPTIONS ("param 1" 'val1') NOT NULL, c2 text OPTIONS (param2 'val2', param3 'val3'), c3 date, UNIQUE (c3) ) SERVER s0 OPTIONS (delimiter ',', quote '"', "be quoted" 'value'); -- ERROR CREATE FOREIGN TABLE ft1 ( c1 integer OPTIONS ("param 1" 'val1') NOT NULL, c2 text OPTIONS (param2 'val2', param3 'val3') CHECK (c2 <> ''), c3 date, CHECK (c3 BETWEEN '1994-01-01'::date AND '1994-01-31'::date) ) SERVER s0 OPTIONS (delimiter ',', quote '"', "be quoted" 'value'); COMMENT ON FOREIGN TABLE ft1 IS 'ft1'; COMMENT ON COLUMN ft1.c1 IS 'ft1.c1'; \d+ ft1 \det+ CREATE INDEX id_ft1_c2 ON ft1 (c2); -- ERROR SELECT * FROM ft1; -- ERROR EXPLAIN SELECT * FROM ft1; -- ERROR -- ALTER FOREIGN TABLE COMMENT ON FOREIGN TABLE ft1 IS 'foreign table'; COMMENT ON FOREIGN TABLE ft1 IS NULL; COMMENT ON COLUMN ft1.c1 IS 'foreign column'; COMMENT ON COLUMN ft1.c1 IS NULL; ALTER FOREIGN TABLE ft1 ADD COLUMN c4 integer; ALTER FOREIGN TABLE ft1 ADD COLUMN c5 integer DEFAULT 0; ALTER FOREIGN TABLE ft1 ADD COLUMN c6 integer; ALTER FOREIGN TABLE ft1 ADD COLUMN c7 integer NOT NULL; ALTER FOREIGN TABLE ft1 ADD COLUMN c8 integer; ALTER FOREIGN TABLE ft1 ADD COLUMN c9 integer; ALTER FOREIGN TABLE ft1 ADD COLUMN c10 integer OPTIONS (p1 'v1'); ALTER FOREIGN TABLE ft1 ALTER COLUMN c4 SET DEFAULT 0; ALTER FOREIGN TABLE ft1 ALTER COLUMN c5 DROP DEFAULT; ALTER FOREIGN TABLE ft1 ALTER COLUMN c6 SET NOT NULL; ALTER FOREIGN TABLE ft1 ALTER COLUMN c7 DROP NOT NULL; ALTER FOREIGN TABLE ft1 ALTER COLUMN c8 TYPE char(10) USING '0'; -- ERROR ALTER FOREIGN TABLE ft1 ALTER COLUMN c8 TYPE char(10); ALTER FOREIGN TABLE ft1 ALTER COLUMN c8 SET DATA TYPE text; ALTER FOREIGN TABLE ft1 ALTER COLUMN xmin OPTIONS (ADD p1 'v1'); -- ERROR ALTER FOREIGN TABLE ft1 ALTER COLUMN c7 OPTIONS (ADD p1 'v1', ADD p2 'v2'), ALTER COLUMN c8 OPTIONS (ADD p1 'v1', ADD p2 'v2'); ALTER FOREIGN TABLE ft1 ALTER COLUMN c8 OPTIONS (SET p2 'V2', DROP p1); ALTER FOREIGN TABLE ft1 ALTER COLUMN c1 SET STATISTICS 10000; ALTER FOREIGN TABLE ft1 ALTER COLUMN c1 SET (n_distinct = 100); ALTER FOREIGN TABLE ft1 ALTER COLUMN c8 SET STATISTICS -1; ALTER FOREIGN TABLE ft1 ALTER COLUMN c8 SET STORAGE PLAIN; \d+ ft1 -- can't change the column type if it's used elsewhere CREATE TABLE use_ft1_column_type (x ft1); ALTER FOREIGN TABLE ft1 ALTER COLUMN c8 SET DATA TYPE integer; -- ERROR DROP TABLE use_ft1_column_type; ALTER FOREIGN TABLE ft1 ADD PRIMARY KEY (c7); -- ERROR ALTER FOREIGN TABLE ft1 ADD CONSTRAINT ft1_c9_check CHECK (c9 < 0) NOT VALID; ALTER FOREIGN TABLE ft1 ALTER CONSTRAINT ft1_c9_check DEFERRABLE; -- ERROR ALTER FOREIGN TABLE ft1 DROP CONSTRAINT ft1_c9_check; ALTER FOREIGN TABLE ft1 DROP CONSTRAINT no_const; -- ERROR ALTER FOREIGN TABLE ft1 DROP CONSTRAINT IF EXISTS no_const; ALTER FOREIGN TABLE ft1 SET WITH OIDS; ALTER FOREIGN TABLE ft1 OWNER TO regress_test_role; ALTER FOREIGN TABLE ft1 OPTIONS (DROP delimiter, SET quote '~', ADD escape '@'); ALTER FOREIGN TABLE ft1 DROP COLUMN no_column; -- ERROR ALTER FOREIGN TABLE ft1 DROP COLUMN IF EXISTS no_column; ALTER FOREIGN TABLE ft1 DROP COLUMN c9; ALTER FOREIGN TABLE ft1 SET SCHEMA foreign_schema; ALTER FOREIGN TABLE ft1 SET TABLESPACE ts; -- ERROR ALTER FOREIGN TABLE foreign_schema.ft1 RENAME c1 TO foreign_column_1; ALTER FOREIGN TABLE foreign_schema.ft1 RENAME TO foreign_table_1; \d foreign_schema.foreign_table_1 -- alter noexisting table ALTER FOREIGN TABLE IF EXISTS doesnt_exist_ft1 ADD COLUMN c4 integer; ALTER FOREIGN TABLE IF EXISTS doesnt_exist_ft1 ADD COLUMN c6 integer; ALTER FOREIGN TABLE IF EXISTS doesnt_exist_ft1 ADD COLUMN c7 integer NOT NULL; ALTER FOREIGN TABLE IF EXISTS doesnt_exist_ft1 ADD COLUMN c8 integer; ALTER FOREIGN TABLE IF EXISTS doesnt_exist_ft1 ADD COLUMN c9 integer; ALTER FOREIGN TABLE IF EXISTS doesnt_exist_ft1 ADD COLUMN c10 integer OPTIONS (p1 'v1'); ALTER FOREIGN TABLE IF EXISTS doesnt_exist_ft1 ALTER COLUMN c6 SET NOT NULL; ALTER FOREIGN TABLE IF EXISTS doesnt_exist_ft1 ALTER COLUMN c7 DROP NOT NULL; ALTER FOREIGN TABLE IF EXISTS doesnt_exist_ft1 ALTER COLUMN c8 TYPE char(10); ALTER FOREIGN TABLE IF EXISTS doesnt_exist_ft1 ALTER COLUMN c8 SET DATA TYPE text; ALTER FOREIGN TABLE IF EXISTS doesnt_exist_ft1 ALTER COLUMN c7 OPTIONS (ADD p1 'v1', ADD p2 'v2'), ALTER COLUMN c8 OPTIONS (ADD p1 'v1', ADD p2 'v2'); ALTER FOREIGN TABLE IF EXISTS doesnt_exist_ft1 ALTER COLUMN c8 OPTIONS (SET p2 'V2', DROP p1); ALTER FOREIGN TABLE IF EXISTS doesnt_exist_ft1 DROP CONSTRAINT IF EXISTS no_const; ALTER FOREIGN TABLE IF EXISTS doesnt_exist_ft1 DROP CONSTRAINT ft1_c1_check; ALTER FOREIGN TABLE IF EXISTS doesnt_exist_ft1 OWNER TO regress_test_role; ALTER FOREIGN TABLE IF EXISTS doesnt_exist_ft1 OPTIONS (DROP delimiter, SET quote '~', ADD escape '@'); ALTER FOREIGN TABLE IF EXISTS doesnt_exist_ft1 DROP COLUMN IF EXISTS no_column; ALTER FOREIGN TABLE IF EXISTS doesnt_exist_ft1 DROP COLUMN c9; ALTER FOREIGN TABLE IF EXISTS doesnt_exist_ft1 SET SCHEMA foreign_schema; ALTER FOREIGN TABLE IF EXISTS doesnt_exist_ft1 RENAME c1 TO foreign_column_1; ALTER FOREIGN TABLE IF EXISTS doesnt_exist_ft1 RENAME TO foreign_table_1; -- Information schema SELECT * FROM information_schema.foreign_data_wrappers ORDER BY 1, 2; SELECT * FROM information_schema.foreign_data_wrapper_options ORDER BY 1, 2, 3; SELECT * FROM information_schema.foreign_servers ORDER BY 1, 2; SELECT * FROM information_schema.foreign_server_options ORDER BY 1, 2, 3; SELECT * FROM information_schema.user_mappings ORDER BY lower(authorization_identifier), 2, 3; SELECT * FROM information_schema.user_mapping_options ORDER BY lower(authorization_identifier), 2, 3, 4; SELECT * FROM information_schema.usage_privileges WHERE object_type LIKE 'FOREIGN%' AND object_name IN ('s6', 'foo') ORDER BY 1, 2, 3, 4, 5; SELECT * FROM information_schema.role_usage_grants WHERE object_type LIKE 'FOREIGN%' AND object_name IN ('s6', 'foo') ORDER BY 1, 2, 3, 4, 5; SELECT * FROM information_schema.foreign_tables ORDER BY 1, 2, 3; SELECT * FROM information_schema.foreign_table_options ORDER BY 1, 2, 3, 4; SET ROLE regress_test_role; SELECT * FROM information_schema.user_mapping_options ORDER BY 1, 2, 3, 4; SELECT * FROM information_schema.usage_privileges WHERE object_type LIKE 'FOREIGN%' AND object_name IN ('s6', 'foo') ORDER BY 1, 2, 3, 4, 5; SELECT * FROM information_schema.role_usage_grants WHERE object_type LIKE 'FOREIGN%' AND object_name IN ('s6', 'foo') ORDER BY 1, 2, 3, 4, 5; DROP USER MAPPING FOR current_user SERVER t1; SET ROLE regress_test_role2; SELECT * FROM information_schema.user_mapping_options ORDER BY 1, 2, 3, 4; RESET ROLE; -- has_foreign_data_wrapper_privilege SELECT has_foreign_data_wrapper_privilege('regress_test_role', (SELECT oid FROM pg_foreign_data_wrapper WHERE fdwname='foo'), 'USAGE'); SELECT has_foreign_data_wrapper_privilege('regress_test_role', 'foo', 'USAGE'); SELECT has_foreign_data_wrapper_privilege( (SELECT oid FROM pg_catalog.pg_roles WHERE rolname='regress_test_role'), (SELECT oid FROM pg_foreign_data_wrapper WHERE fdwname='foo'), 'USAGE'); SELECT has_foreign_data_wrapper_privilege( (SELECT oid FROM pg_foreign_data_wrapper WHERE fdwname='foo'), 'USAGE'); SELECT has_foreign_data_wrapper_privilege( (SELECT oid FROM pg_catalog.pg_roles WHERE rolname='regress_test_role'), 'foo', 'USAGE'); SELECT has_foreign_data_wrapper_privilege('foo', 'USAGE'); GRANT USAGE ON FOREIGN DATA WRAPPER foo TO regress_test_role; SELECT has_foreign_data_wrapper_privilege('regress_test_role', 'foo', 'USAGE'); -- has_server_privilege SELECT has_server_privilege('regress_test_role', (SELECT oid FROM pg_foreign_server WHERE srvname='s8'), 'USAGE'); SELECT has_server_privilege('regress_test_role', 's8', 'USAGE'); SELECT has_server_privilege( (SELECT oid FROM pg_catalog.pg_roles WHERE rolname='regress_test_role'), (SELECT oid FROM pg_foreign_server WHERE srvname='s8'), 'USAGE'); SELECT has_server_privilege( (SELECT oid FROM pg_foreign_server WHERE srvname='s8'), 'USAGE'); SELECT has_server_privilege( (SELECT oid FROM pg_catalog.pg_roles WHERE rolname='regress_test_role'), 's8', 'USAGE'); SELECT has_server_privilege('s8', 'USAGE'); GRANT USAGE ON FOREIGN SERVER s8 TO regress_test_role; SELECT has_server_privilege('regress_test_role', 's8', 'USAGE'); REVOKE USAGE ON FOREIGN SERVER s8 FROM regress_test_role; GRANT USAGE ON FOREIGN SERVER s4 TO regress_test_role; DROP USER MAPPING FOR public SERVER s4; ALTER SERVER s6 OPTIONS (DROP host, DROP dbname); ALTER USER MAPPING FOR regress_test_role SERVER s6 OPTIONS (DROP username); ALTER FOREIGN DATA WRAPPER foo VALIDATOR postgresql_fdw_validator; -- Privileges SET ROLE unprivileged_role; CREATE FOREIGN DATA WRAPPER foobar; -- ERROR ALTER FOREIGN DATA WRAPPER foo OPTIONS (gotcha 'true'); -- ERROR ALTER FOREIGN DATA WRAPPER foo OWNER TO unprivileged_role; -- ERROR DROP FOREIGN DATA WRAPPER foo; -- ERROR GRANT USAGE ON FOREIGN DATA WRAPPER foo TO regress_test_role; -- ERROR CREATE SERVER s9 FOREIGN DATA WRAPPER foo; -- ERROR ALTER SERVER s4 VERSION '0.5'; -- ERROR ALTER SERVER s4 OWNER TO unprivileged_role; -- ERROR DROP SERVER s4; -- ERROR GRANT USAGE ON FOREIGN SERVER s4 TO regress_test_role; -- ERROR CREATE USER MAPPING FOR public SERVER s4; -- ERROR ALTER USER MAPPING FOR regress_test_role SERVER s6 OPTIONS (gotcha 'true'); -- ERROR DROP USER MAPPING FOR regress_test_role SERVER s6; -- ERROR RESET ROLE; GRANT USAGE ON FOREIGN DATA WRAPPER postgresql TO unprivileged_role; GRANT USAGE ON FOREIGN DATA WRAPPER foo TO unprivileged_role WITH GRANT OPTION; SET ROLE unprivileged_role; CREATE FOREIGN DATA WRAPPER foobar; -- ERROR ALTER FOREIGN DATA WRAPPER foo OPTIONS (gotcha 'true'); -- ERROR DROP FOREIGN DATA WRAPPER foo; -- ERROR GRANT USAGE ON FOREIGN DATA WRAPPER postgresql TO regress_test_role; -- WARNING GRANT USAGE ON FOREIGN DATA WRAPPER foo TO regress_test_role; CREATE SERVER s9 FOREIGN DATA WRAPPER postgresql; ALTER SERVER s6 VERSION '0.5'; -- ERROR DROP SERVER s6; -- ERROR GRANT USAGE ON FOREIGN SERVER s6 TO regress_test_role; -- ERROR GRANT USAGE ON FOREIGN SERVER s9 TO regress_test_role; CREATE USER MAPPING FOR public SERVER s6; -- ERROR CREATE USER MAPPING FOR public SERVER s9; ALTER USER MAPPING FOR regress_test_role SERVER s6 OPTIONS (gotcha 'true'); -- ERROR DROP USER MAPPING FOR regress_test_role SERVER s6; -- ERROR RESET ROLE; REVOKE USAGE ON FOREIGN DATA WRAPPER foo FROM unprivileged_role; -- ERROR REVOKE USAGE ON FOREIGN DATA WRAPPER foo FROM unprivileged_role CASCADE; SET ROLE unprivileged_role; GRANT USAGE ON FOREIGN DATA WRAPPER foo TO regress_test_role; -- ERROR CREATE SERVER s10 FOREIGN DATA WRAPPER foo; -- ERROR ALTER SERVER s9 VERSION '1.1'; GRANT USAGE ON FOREIGN SERVER s9 TO regress_test_role; CREATE USER MAPPING FOR current_user SERVER s9; DROP SERVER s9 CASCADE; RESET ROLE; CREATE SERVER s9 FOREIGN DATA WRAPPER foo; GRANT USAGE ON FOREIGN SERVER s9 TO unprivileged_role; SET ROLE unprivileged_role; ALTER SERVER s9 VERSION '1.2'; -- ERROR GRANT USAGE ON FOREIGN SERVER s9 TO regress_test_role; -- WARNING CREATE USER MAPPING FOR current_user SERVER s9; DROP SERVER s9 CASCADE; -- ERROR RESET ROLE; -- Triggers CREATE FUNCTION dummy_trigger() RETURNS TRIGGER AS $$ BEGIN RETURN NULL; END $$ language plpgsql; CREATE TRIGGER trigtest_before_stmt BEFORE INSERT OR UPDATE OR DELETE ON foreign_schema.foreign_table_1 FOR EACH STATEMENT EXECUTE PROCEDURE dummy_trigger(); CREATE TRIGGER trigtest_after_stmt AFTER INSERT OR UPDATE OR DELETE ON foreign_schema.foreign_table_1 FOR EACH STATEMENT EXECUTE PROCEDURE dummy_trigger(); CREATE TRIGGER trigtest_before_row BEFORE INSERT OR UPDATE OR DELETE ON foreign_schema.foreign_table_1 FOR EACH ROW EXECUTE PROCEDURE dummy_trigger(); CREATE TRIGGER trigtest_after_row AFTER INSERT OR UPDATE OR DELETE ON foreign_schema.foreign_table_1 FOR EACH ROW EXECUTE PROCEDURE dummy_trigger(); CREATE CONSTRAINT TRIGGER trigtest_constraint AFTER INSERT OR UPDATE OR DELETE ON foreign_schema.foreign_table_1 FOR EACH ROW EXECUTE PROCEDURE dummy_trigger(); ALTER FOREIGN TABLE foreign_schema.foreign_table_1 DISABLE TRIGGER trigtest_before_stmt; ALTER FOREIGN TABLE foreign_schema.foreign_table_1 ENABLE TRIGGER trigtest_before_stmt; DROP TRIGGER trigtest_before_stmt ON foreign_schema.foreign_table_1; DROP TRIGGER trigtest_before_row ON foreign_schema.foreign_table_1; DROP TRIGGER trigtest_after_stmt ON foreign_schema.foreign_table_1; DROP TRIGGER trigtest_after_row ON foreign_schema.foreign_table_1; DROP FUNCTION dummy_trigger(); -- Table inheritance CREATE TABLE pt1 ( c1 integer NOT NULL, c2 text, c3 date ); CREATE FOREIGN TABLE ft2 () INHERITS (pt1) SERVER s0 OPTIONS (delimiter ',', quote '"', "be quoted" 'value'); \d+ pt1 \d+ ft2 DROP FOREIGN TABLE ft2; \d+ pt1 CREATE FOREIGN TABLE ft2 ( c1 integer NOT NULL, c2 text, c3 date ) SERVER s0 OPTIONS (delimiter ',', quote '"', "be quoted" 'value'); \d+ ft2 ALTER FOREIGN TABLE ft2 INHERIT pt1; \d+ pt1 \d+ ft2 CREATE TABLE ct3() INHERITS(ft2); CREATE FOREIGN TABLE ft3 ( c1 integer NOT NULL, c2 text, c3 date ) INHERITS(ft2) SERVER s0; \d+ ft2 \d+ ct3 \d+ ft3 -- add attributes recursively ALTER TABLE pt1 ADD COLUMN c4 integer; ALTER TABLE pt1 ADD COLUMN c5 integer DEFAULT 0; ALTER TABLE pt1 ADD COLUMN c6 integer; ALTER TABLE pt1 ADD COLUMN c7 integer NOT NULL; ALTER TABLE pt1 ADD COLUMN c8 integer; \d+ pt1 \d+ ft2 \d+ ct3 \d+ ft3 -- alter attributes recursively ALTER TABLE pt1 ALTER COLUMN c4 SET DEFAULT 0; ALTER TABLE pt1 ALTER COLUMN c5 DROP DEFAULT; ALTER TABLE pt1 ALTER COLUMN c6 SET NOT NULL; ALTER TABLE pt1 ALTER COLUMN c7 DROP NOT NULL; ALTER TABLE pt1 ALTER COLUMN c8 TYPE char(10) USING '0'; -- ERROR ALTER TABLE pt1 ALTER COLUMN c8 TYPE char(10); ALTER TABLE pt1 ALTER COLUMN c8 SET DATA TYPE text; ALTER TABLE pt1 ALTER COLUMN c1 SET STATISTICS 10000; ALTER TABLE pt1 ALTER COLUMN c1 SET (n_distinct = 100); ALTER TABLE pt1 ALTER COLUMN c8 SET STATISTICS -1; ALTER TABLE pt1 ALTER COLUMN c8 SET STORAGE EXTERNAL; \d+ pt1 \d+ ft2 -- drop attributes recursively ALTER TABLE pt1 DROP COLUMN c4; ALTER TABLE pt1 DROP COLUMN c5; ALTER TABLE pt1 DROP COLUMN c6; ALTER TABLE pt1 DROP COLUMN c7; ALTER TABLE pt1 DROP COLUMN c8; \d+ pt1 \d+ ft2 -- add constraints recursively ALTER TABLE pt1 ADD CONSTRAINT pt1chk1 CHECK (c1 > 0) NO INHERIT; ALTER TABLE pt1 ADD CONSTRAINT pt1chk2 CHECK (c2 <> ''); -- connoinherit should be true for NO INHERIT constraint SELECT relname, conname, contype, conislocal, coninhcount, connoinherit FROM pg_class AS pc JOIN pg_constraint AS pgc ON (conrelid = pc.oid) WHERE pc.relname = 'pt1' ORDER BY 1,2; -- child does not inherit NO INHERIT constraints \d+ pt1 \d+ ft2 DROP FOREIGN TABLE ft2; -- ERROR DROP FOREIGN TABLE ft2 CASCADE; CREATE FOREIGN TABLE ft2 ( c1 integer NOT NULL, c2 text, c3 date ) SERVER s0 OPTIONS (delimiter ',', quote '"', "be quoted" 'value'); -- child must have parent's INHERIT constraints ALTER FOREIGN TABLE ft2 INHERIT pt1; -- ERROR ALTER FOREIGN TABLE ft2 ADD CONSTRAINT pt1chk2 CHECK (c2 <> ''); ALTER FOREIGN TABLE ft2 INHERIT pt1; -- child does not inherit NO INHERIT constraints \d+ pt1 \d+ ft2 -- drop constraints recursively ALTER TABLE pt1 DROP CONSTRAINT pt1chk1 CASCADE; ALTER TABLE pt1 DROP CONSTRAINT pt1chk2 CASCADE; -- NOT VALID case INSERT INTO pt1 VALUES (1, 'pt1'::text, '1994-01-01'::date); ALTER TABLE pt1 ADD CONSTRAINT pt1chk3 CHECK (c2 <> '') NOT VALID; \d+ pt1 \d+ ft2 -- VALIDATE CONSTRAINT need do nothing on foreign tables ALTER TABLE pt1 VALIDATE CONSTRAINT pt1chk3; \d+ pt1 \d+ ft2 -- OID system column ALTER TABLE pt1 SET WITH OIDS; \d+ pt1 \d+ ft2 ALTER TABLE ft2 SET WITHOUT OIDS; -- ERROR ALTER TABLE pt1 SET WITHOUT OIDS; \d+ pt1 \d+ ft2 -- changes name of an attribute recursively ALTER TABLE pt1 RENAME COLUMN c1 TO f1; ALTER TABLE pt1 RENAME COLUMN c2 TO f2; ALTER TABLE pt1 RENAME COLUMN c3 TO f3; -- changes name of a constraint recursively ALTER TABLE pt1 RENAME CONSTRAINT pt1chk3 TO f2_check; \d+ pt1 \d+ ft2 -- TRUNCATE doesn't work on foreign tables, either directly or recursively TRUNCATE ft2; -- ERROR TRUNCATE pt1; -- ERROR DROP TABLE pt1 CASCADE; -- IMPORT FOREIGN SCHEMA IMPORT FOREIGN SCHEMA s1 FROM SERVER s9 INTO public; -- ERROR IMPORT FOREIGN SCHEMA s1 LIMIT TO (t1) FROM SERVER s9 INTO public; --ERROR IMPORT FOREIGN SCHEMA s1 EXCEPT (t1) FROM SERVER s9 INTO public; -- ERROR IMPORT FOREIGN SCHEMA s1 EXCEPT (t1, t2) FROM SERVER s9 INTO public OPTIONS (option1 'value1', option2 'value2'); -- ERROR -- DROP FOREIGN TABLE DROP FOREIGN TABLE no_table; -- ERROR DROP FOREIGN TABLE IF EXISTS no_table; DROP FOREIGN TABLE foreign_schema.foreign_table_1; -- REASSIGN OWNED/DROP OWNED of foreign objects REASSIGN OWNED BY regress_test_role TO regress_test_role2; DROP OWNED BY regress_test_role2; DROP OWNED BY regress_test_role2 CASCADE; -- Cleanup DROP SCHEMA foreign_schema CASCADE; DROP ROLE regress_test_role; -- ERROR DROP SERVER t1 CASCADE; DROP USER MAPPING FOR regress_test_role SERVER s6; -- This test causes some order dependent cascade detail output, -- so switch to terse mode for it. \set VERBOSITY terse DROP FOREIGN DATA WRAPPER foo CASCADE; \set VERBOSITY default DROP SERVER s8 CASCADE; DROP ROLE regress_test_indirect; DROP ROLE regress_test_role; DROP ROLE unprivileged_role; -- ERROR REVOKE ALL ON FOREIGN DATA WRAPPER postgresql FROM unprivileged_role; DROP ROLE unprivileged_role; DROP ROLE regress_test_role2; DROP FOREIGN DATA WRAPPER postgresql CASCADE; DROP FOREIGN DATA WRAPPER dummy CASCADE; \c DROP ROLE foreign_data_user; -- At this point we should have no wrappers, no servers, and no mappings. SELECT fdwname, fdwhandler, fdwvalidator, fdwoptions FROM pg_foreign_data_wrapper; SELECT srvname, srvoptions FROM pg_foreign_server; SELECT * FROM pg_user_mapping;
/********************************************************************************* # Copyright 2014 Observational Health Data Sciences and Informatics # # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. ********************************************************************************/ /************************ ####### # # ####### ###### ##### ###### # # ####### ### # # ## ## # # # # # # # # ## ## # # # # # # ##### ###### # # ###### #### # # # # # # # # # # # # # # # # # # # # # ## # # # # # # # # # # # # # # # ###### # # # # # # # # ###### # # # # # # ##### ## ##### #### # # # # # # # # # # # # # # # # # # # # # # ## # # # # # # # # # # # # # # # # # # # # # ## # # # # # # # # ####### # # ####### # ##### ###### # # ## ##### ### # # ##### ###### # # ###### #### script to create the required indexes within OMOP common data model, version 5.0 for SQL Server database last revised: 12 Oct 2014 author: Patrick Ryan description: These indices are considered a minimal requirement to ensure adequate performance of analyses. *************************/ /************************ Standardized vocabulary ************************/ CREATE UNIQUE CLUSTERED INDEX idx_concept_concept_id ON concept (concept_id ASC); CREATE INDEX idx_concept_code ON concept (concept_code ASC); CREATE INDEX idx_concept_vocabluary_id ON concept (vocabulary_id ASC); CREATE INDEX idx_concept_domain_id ON concept (domain_id ASC); CREATE INDEX idx_concept_class_id ON concept (concept_class_id ASC); CREATE UNIQUE CLUSTERED INDEX idx_vocabulary_vocabulary_id ON vocabulary (vocabulary_id ASC); CREATE UNIQUE CLUSTERED INDEX idx_domain_domain_id ON domain (domain_id ASC); CREATE UNIQUE CLUSTERED INDEX idx_concept_class_class_id ON concept_class (concept_class_id ASC); CREATE INDEX idx_concept_relationship_id_1 ON concept_relationship (concept_id_1 ASC); CREATE INDEX idx_concept_relationship_id_2 ON concept_relationship (concept_id_2 ASC); CREATE INDEX idx_concept_relationship_id_3 ON concept_relationship (relationship_id ASC); CREATE UNIQUE CLUSTERED INDEX idx_relationship_rel_id ON relationship (relationship_id ASC); CREATE CLUSTERED INDEX idx_concept_synonym_id ON concept_synonym (concept_id ASC); CREATE CLUSTERED INDEX idx_concept_ancestor_id_1 ON concept_ancestor (ancestor_concept_id ASC); CREATE INDEX idx_concept_ancestor_id_2 ON concept_ancestor (descendant_concept_id ASC); CREATE CLUSTERED INDEX idx_source_to_concept_map_id_3 ON source_to_concept_map (target_concept_id ASC); CREATE INDEX idx_source_to_concept_map_id_1 ON source_to_concept_map (source_vocabulary_id ASC); CREATE INDEX idx_source_to_concept_map_id_2 ON source_to_concept_map (target_vocabulary_id ASC); CREATE INDEX idx_source_to_concept_map_code ON source_to_concept_map (source_code ASC); CREATE CLUSTERED INDEX idx_drug_strength_id_1 ON drug_strength (drug_concept_id ASC); CREATE INDEX idx_drug_strength_id_2 ON drug_strength (ingredient_concept_id ASC); CREATE CLUSTERED INDEX idx_cohort_definition_id ON cohort_definition (cohort_definition_id ASC); CREATE CLUSTERED INDEX idx_attribute_definition_id ON attribute_definition (attribute_definition_id ASC); /************************** Standardized meta-data ***************************/ /************************ Standardized clinical data ************************/ CREATE UNIQUE CLUSTERED INDEX idx_person_id ON person (person_id ASC); CREATE CLUSTERED INDEX idx_observation_period_id ON observation_period (person_id ASC); CREATE CLUSTERED INDEX idx_specimen_person_id ON specimen (person_id ASC); CREATE INDEX idx_specimen_concept_id ON specimen (specimen_concept_id ASC); CREATE CLUSTERED INDEX idx_death_person_id ON death (person_id ASC); CREATE CLUSTERED INDEX idx_visit_person_id ON visit_occurrence (person_id ASC); CREATE INDEX idx_visit_concept_id ON visit_occurrence (visit_concept_id ASC); CREATE CLUSTERED INDEX idx_procedure_person_id ON procedure_occurrence (person_id ASC); CREATE INDEX idx_procedure_concept_id ON procedure_occurrence (procedure_concept_id ASC); CREATE INDEX idx_procedure_visit_id ON procedure_occurrence (visit_occurrence_id ASC); CREATE CLUSTERED INDEX idx_drug_person_id ON drug_exposure (person_id ASC); CREATE INDEX idx_drug_concept_id ON drug_exposure (drug_concept_id ASC); CREATE INDEX idx_drug_visit_id ON drug_exposure (visit_occurrence_id ASC); CREATE CLUSTERED INDEX idx_device_person_id ON device_exposure (person_id ASC); CREATE INDEX idx_device_concept_id ON device_exposure (device_concept_id ASC); CREATE INDEX idx_device_visit_id ON device_exposure (visit_occurrence_id ASC); CREATE CLUSTERED INDEX idx_condition_person_id ON condition_occurrence (person_id ASC); CREATE INDEX idx_condition_concept_id ON condition_occurrence (condition_concept_id ASC); CREATE INDEX idx_condition_visit_id ON condition_occurrence (visit_occurrence_id ASC); CREATE CLUSTERED INDEX idx_measurement_person_id ON measurement (person_id ASC); CREATE INDEX idx_measurement_concept_id ON measurement (measurement_concept_id ASC); CREATE INDEX idx_measurement_visit_id ON measurement (visit_occurrence_id ASC); CREATE CLUSTERED INDEX idx_note_person_id ON note (person_id ASC); CREATE INDEX idx_note_concept_id ON note (note_type_concept_id ASC); CREATE INDEX idx_note_visit_id ON note (visit_occurrence_id ASC); CREATE CLUSTERED INDEX idx_observation_person_id ON observation (person_id ASC); CREATE INDEX idx_observation_concept_id ON observation (observation_concept_id ASC); CREATE INDEX idx_observation_visit_id ON observation (visit_occurrence_id ASC); CREATE INDEX idx_fact_relationship_id_1 ON fact_relationship (domain_concept_id_1 ASC); CREATE INDEX idx_fact_relationship_id_2 ON fact_relationship (domain_concept_id_2 ASC); CREATE INDEX idx_fact_relationship_id_3 ON fact_relationship (relationship_concept_id ASC); /************************ Standardized health system data ************************/ /************************ Standardized health economics ************************/ CREATE CLUSTERED INDEX idx_period_person_id ON payer_plan_period (person_id ASC); /************************ Standardized derived elements ************************/ CREATE INDEX idx_cohort_subject_id ON cohort (subject_id ASC); CREATE INDEX idx_cohort_c_definition_id ON cohort (cohort_definition_id ASC); CREATE INDEX idx_ca_subject_id ON cohort_attribute (subject_id ASC); CREATE INDEX idx_ca_definition_id ON cohort_attribute (cohort_definition_id ASC); CREATE CLUSTERED INDEX idx_drug_era_person_id ON drug_era (person_id ASC); CREATE INDEX idx_drug_era_concept_id ON drug_era (drug_concept_id ASC); CREATE CLUSTERED INDEX idx_dose_era_person_id ON dose_era (person_id ASC); CREATE INDEX idx_dose_era_concept_id ON dose_era (drug_concept_id ASC); CREATE CLUSTERED INDEX idx_condition_era_person_id ON condition_era (person_id ASC); CREATE INDEX idx_condition_era_concept_id ON condition_era (condition_concept_id ASC);
DROP DATABASE IF EXISTS db_editor; CREATE DATABASE IF NOT EXISTS db_editor; USE db_editor; CREATE TABLE books ( book_isbn CHAR(10) PRIMARY KEY, book_title VARCHAR(128) NOT NULL, book_price SMALLINT UNSIGNED NOT NULL, book_price_currency CHAR(3) NOT NULL DEFAULT 'EUR', book_award_winning VARCHAR(256) ); CREATE TABLE writers ( writer_id INT PRIMARY KEY AUTO_INCREMENT, writer_firstname VARCHAR(64) NOT NULL, writer_lastname VARCHAR(64) NOT NULL, writer_nickname VARCHAR(64) ); CREATE TABLE draft ( book_isbn CHAR(10) NOT NULL, writer_id INT NOT NULL, FOREIGN KEY (book_isbn) REFERENCES books(book_isbn), FOREIGN KEY (writer_id) REFERENCES writers(writer_id) ); CREATE TABLE editions ( edition_id INT PRIMARY KEY AUTO_INCREMENT, edition_number TINYINT UNSIGNED NOT NULL, edition_release_date DATE NOT NULL, edition_stock INT UNSIGNED NOT NULL, edition_total_print INT UNSIGNED NOT NULL, book_isbn CHAR(10) NOT NULL, FOREIGN KEY (book_isbn) REFERENCES books(book_isbn) ); CREATE TABLE bookstores ( bookstore_name VARCHAR(128) PRIMARY KEY, bookstore_address_country VARCHAR(128) NOT NULL DEFAULT 'France', bookstore_address_city VARCHAR(128) NOT NULL, bookstore_address_postal_code CHAR(5) NOT NULL, bookstore_address_street VARCHAR(256) NOT NULL, bookstore_address_complement VARCHAR(256) ); CREATE TABLE commands ( command_id INT PRIMARY KEY, command_date DATETIME NOT NULL, command_quantities INT NOT NULL, bookstore_name VARCHAR(128) NOT NULL, FOREIGN KEY (bookstore_name) REFERENCES bookstores(bookstore_name) ); CREATE TABLE contains ( edition_id INT NOT NULL, command_id INT NOT NULL, FOREIGN KEY (edition_id) REFERENCES editions(edition_id), FOREIGN KEY (command_id) REFERENCES commands(command_id) );
-- phpMyAdmin SQL Dump -- version 4.0.4.1 -- http://www.phpmyadmin.net -- -- Host: 127.0.0.1 -- Generation Time: Dec 25, 2017 at 05:17 PM -- Server version: 5.5.32 -- PHP Version: 5.4.19 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: `andri` -- CREATE DATABASE IF NOT EXISTS `andri` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci; USE `andri`; -- -------------------------------------------------------- -- -- Table structure for table `tb_kendaraan` -- CREATE TABLE IF NOT EXISTS `tb_kendaraan` ( `platnomor` varchar(30) NOT NULL, `id_merk` varchar(5) NOT NULL, `warna` varchar(10) NOT NULL, `tahunterbit` int(5) NOT NULL, `status` enum('bebas','jalan') NOT NULL, PRIMARY KEY (`platnomor`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `tb_kendaraan` -- INSERT INTO `tb_kendaraan` (`platnomor`, `id_merk`, `warna`, `tahunterbit`, `status`) VALUES ('AB2174QI', 'M2', 'putih', 2016, 'bebas'), ('AB3774UU', 'M4', 'kuning', 2015, 'bebas'), ('AB4892FY', 'M3', 'hitam', 2014, 'bebas'), ('AB6607XZ', 'M7', 'silver', 2013, 'bebas'), ('AB6719EZ', 'M5', 'pink', 2013, 'bebas'), ('AB6938HZ', 'M6', 'putih', 2013, 'bebas'); -- -------------------------------------------------------- -- -- Table structure for table `tb_merk` -- CREATE TABLE IF NOT EXISTS `tb_merk` ( `id_merk` varchar(5) NOT NULL, `merk_motor` varchar(15) NOT NULL, PRIMARY KEY (`id_merk`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `tb_merk` -- INSERT INTO `tb_merk` (`id_merk`, `merk_motor`) VALUES ('M1', 'vario cw'), ('M2', 'vario'), ('M3', 'beat'), ('M4', 'mio m3'), ('M5', 'mio j'), ('M6', 'nex'), ('M7', 'lets'); -- -------------------------------------------------------- -- -- Table structure for table `tb_pelanggan` -- CREATE TABLE IF NOT EXISTS `tb_pelanggan` ( `id_pelanggan` int(11) NOT NULL AUTO_INCREMENT, `nama` varchar(50) NOT NULL, `univ` varchar(30) NOT NULL, `fakultas` varchar(12) NOT NULL, `alamat` varchar(50) NOT NULL, `nohp` int(13) NOT NULL, PRIMARY KEY (`id_pelanggan`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=18 ; -- -- Dumping data for table `tb_pelanggan` -- INSERT INTO `tb_pelanggan` (`id_pelanggan`, `nama`, `univ`, `fakultas`, `alamat`, `nohp`) VALUES (13, 'anik', 'UIN Sunan Kalijagaa', 'DAKWAHa', 'Kebumena', 2147483647), (14, 'dani', 'UIN Sunan Kalijaga', 'FISHUM', 'Banjarnegara', 812345789), (15, 'dini', 'UIN Sunan Kalijaga', 'Tarbiyah', 'Banjarnegara', 812345789), (16, 'tami', 'UIN Sunan Kalijaga', 'FISHUM', 'Kebumen', 812345789); -- -------------------------------------------------------- -- -- Table structure for table `tb_tarif` -- CREATE TABLE IF NOT EXISTS `tb_tarif` ( `id_tarif` varchar(5) NOT NULL, `id_merk` varchar(11) NOT NULL, `harga` int(11) NOT NULL, PRIMARY KEY (`id_tarif`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `tb_tarif` -- INSERT INTO `tb_tarif` (`id_tarif`, `id_merk`, `harga`) VALUES ('A04', 'M1', 25000), ('A12', 'M1', 30000), ('A24', 'M1', 50000), ('B04', 'M2', 25000), ('B12', 'M2', 28000), ('B24', 'M2', 55000), ('C04', 'M3', 20000), ('C12', 'M3', 25000), ('C24', 'M3', 45000), ('D04', 'M4', 20000), ('D12', 'M4', 23000), ('D24', 'M4', 40000), ('E04', 'M6', 18000), ('E12', 'M6', 20000), ('E24', 'M6', 35000); -- -------------------------------------------------------- -- -- Table structure for table `tb_transaksi` -- CREATE TABLE IF NOT EXISTS `tb_transaksi` ( `id_transaksi` int(11) NOT NULL AUTO_INCREMENT, `id_kasir` varchar(5) NOT NULL, `id_pelanggan` int(11) NOT NULL, `platnomor` varchar(11) NOT NULL, `tgl_transaksi` date NOT NULL, `jam_rental` time NOT NULL, `tgl_kembali` date NOT NULL, `jam_kembali` time NOT NULL, `id_tarif` varchar(5) NOT NULL, `transaksi_total` int(11) NOT NULL, `transaksi_status` enum('mulai','selesai') NOT NULL, PRIMARY KEY (`id_transaksi`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=15 ; -- -- Dumping data for table `tb_transaksi` -- INSERT INTO `tb_transaksi` (`id_transaksi`, `id_kasir`, `id_pelanggan`, `platnomor`, `tgl_transaksi`, `jam_rental`, `tgl_kembali`, `jam_kembali`, `id_tarif`, `transaksi_total`, `transaksi_status`) VALUES (3, '1', 12, 'AB2174QI', '2017-12-05', '08:00:00', '2017-12-05', '20:00:00', 'B12', 28000, 'mulai'), (4, '2', 14, 'AB3774UU', '2017-11-01', '09:00:00', '2017-11-01', '13:00:00', 'D04', 20000, 'mulai'), (5, '2', 14, 'AB3774UU', '2017-10-01', '09:00:00', '2017-11-01', '13:00:00', 'D04', 20000, 'mulai'), (6, '2', 14, 'AB3774UU', '2017-09-01', '09:00:00', '2017-11-01', '13:00:00', 'D04', 20000, 'mulai'), (7, '2', 14, 'AB3774UU', '2017-08-01', '09:00:00', '2017-11-01', '13:00:00', 'D04', 20000, 'mulai'), (8, '2', 14, 'AB3774UU', '2017-07-01', '09:00:00', '2017-11-01', '13:00:00', 'D04', 20000, 'mulai'), (9, '1', 14, 'AB3774UU', '2017-06-01', '09:00:00', '2017-11-01', '13:00:00', 'D04', 20000, 'mulai'), (10, '1', 14, 'AB3774UU', '2017-05-01', '09:00:00', '2017-11-01', '13:00:00', 'D04', 20000, 'mulai'), (11, '1', 14, 'AB3774UU', '2017-04-01', '09:00:00', '2017-11-01', '13:00:00', 'D04', 20000, 'mulai'), (12, '1', 14, 'AB3774UU', '2017-03-01', '09:00:00', '2017-11-01', '13:00:00', 'D04', 20000, 'mulai'), (13, '1', 14, 'AB3774UU', '2017-02-01', '09:00:00', '2017-11-01', '13:00:00', 'D04', 20000, 'mulai'), (14, '1', 14, 'AB3774UU', '2017-01-01', '09:00:00', '2017-11-01', '13:00:00', 'D04', 20000, 'mulai'); -- -------------------------------------------------------- -- -- Table structure for table `tb_user` -- CREATE TABLE IF NOT EXISTS `tb_user` ( `id_user` varchar(10) NOT NULL, `type` enum('admin','kasir') NOT NULL, `nama_user` varchar(25) NOT NULL, `password` varchar(10) NOT NULL, `status` varchar(4) NOT NULL, PRIMARY KEY (`id_user`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `tb_user` -- INSERT INTO `tb_user` (`id_user`, `type`, `nama_user`, `password`, `status`) VALUES ('2', 'admin', 'maradiyah', 'mar', 'user'), ('4', 'kasir', 'ernawati', 'erna', 'user'), ('a', 'admin', 's', 'user', ''), ('q', 'kasir', 'q', 'q', 'user'), ('w1', 'admin', 'w', 'w', 'user'); /*!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 */;
-- -- This file should undo anything in `up.sql` ----------- DELETE from old_actual_port; DELETE from actual_tic; DELETE from actual_port; ----------- DELETE from goal_tic; DELETE from goal_port; ----------- DELETE from tickers; DELETE from exchanges; ----------- DELETE from users;
CREATE TABLE [dbo].[DDLSnapshots] ( [DatabaseID] INT NOT NULL, [SnapshotDate] DATETIME2 (3) NOT NULL, [ValidatedDate] DATETIME2 (3) NOT NULL, [DDLSnapshotOptionsID] INT NULL, [Created] INT NULL, [Modified] INT NULL, [Dropped] INT NULL, CONSTRAINT [PK_DDLSnapshots] PRIMARY KEY CLUSTERED ([DatabaseID] ASC, [SnapshotDate] ASC), CONSTRAINT [FK_DBSnapshots_Databases] FOREIGN KEY ([DatabaseID]) REFERENCES [dbo].[Databases] ([DatabaseID]), CONSTRAINT [FK_DDLSnapshots_DDLSnapshotOptions] FOREIGN KEY ([DDLSnapshotOptionsID]) REFERENCES [dbo].[DDLSnapshotOptions] ([DDLSnapshotOptionsID]) );
SELECT lcm(15, 10); SELECT lcm(-15, 10); SELECT lcm(15, -10); SELECT lcm(-15, -10); -- Implementation specific result on overflow: SELECT ignore(lcm(256, 9223372036854775807)); SELECT ignore(lcm(256, -9223372036854775807)); SELECT ignore(lcm(-256, 9223372036854775807)); SELECT ignore(lcm(-256, -9223372036854775807));
--/************************************************************************* -- (c) Copyright IBM Corp. 2007 All rights reserved. -- -- The following sample of source code ("Sample") is owned by International -- Business Machines Corporation or one of its subsidiaries ("IBM") and is -- copyrighted and licensed, not sold. You may use, copy, modify, and -- distribute the Sample in any form without payment to IBM, for the purpose of -- assisting you in the development of your applications. -- -- The Sample code is provided to you on an "AS IS" basis, without warranty of -- any kind. IBM HEREBY EXPRESSLY DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR -- IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -- MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Some jurisdictions do -- not allow for the exclusion or limitation of implied warranties, so the above -- limitations or exclusions may not apply to you. IBM shall not be liable for -- any damages you suffer as a result of using, copying, modifying or -- distributing the Sample, even if IBM has been advised of the possibility of -- such damages. -- ************************************************************************* -- -- SAMPLE FILE NAME: recxmldecomp.db2 -- -- PURPOSE: How to register a recursive XML schema to the XSR and -- enable the same for decomposition. -- -- USER SCENARIO: The existing PurchaseOrder schema in the Sample database is -- enhanced to have new Employee tables to process the purchase orders. -- We have Recursive Schema for Employee data management, an employee -- can be a manager and himself reporting to another employee. The XML document -- contains the employee information along with department details which needs -- to be stored in relational tables for easy retrieval of data. -- -- -- PREREQUISITE: -- The instance document and the annotated schema should exist in the same -- directory as the sample. Copy recemp.xml, recemp.xsd from directory -- <install_path>/sqllib/samples/xml/data in UNIX and -- <install_path>\sqllib\samples\xml\data in Windows to the working directory. -- -- EXECUTION: db2 -tvf recxmldecomp.db2 -- -- INPUTS: NONE -- -- OUTPUTS: Decomposition of XML document according to the annotations -- in recursive schema. -- -- OUTPUT FILE: recxmldecomp.out (available in the online documentation) -- -- SQL STATEMENTS USED: -- REGISTER XMLSCHEMA -- COMPLETE XMLSCHEMA -- DECOMPOSE XML DOCUMENT -- CREATE -- SELECT -- DROP -- -- ************************************************************************* -- For more information about the command line processor (CLP) scripts, -- see the README file. -- For information on using SQL statements, see the SQL Reference. -- -- For the latest information on programming, building, and running DB2 -- applications, visit the DB2 application development website: -- http://www.software.ibm.com/data/db2/udb/ad -- ************************************************************************* -- -- SAMPLE DESCRIPTION -- -- ************************************************************************* -- 1. Register the annotated XML schema. -- 2. Decompose the XML document using the registered XML schema. -- 3. Select data from the relational tables to see decomposed data. -- *************************************************************************/ -- /************************************************************************* -- SETUP -- **************************************************************************/ -- connect to the database sample CONNECT TO SAMPLE; -- create the table to store the decomposed data CREATE TABLE xdb.poemployee (empid VARCHAR(20), deptid VARCHAR(20), members XML); -- /************************************************************************* -- 1. Register the annotated XML schema. -- *************************************************************************/ -- register the schema document REGISTER XMLSCHEMA 'http://porder.com/employee.xsd' FROM 'recemp.xsd' AS xdb.employee; -- complete schema registration COMPLETE XMLSCHEMA xdb.employee ENABLE DECOMPOSITION; -- check catalog tables for information regarding registered schema. SELECT status, decomposition, decomposition_version FROM SYSIBM.SYSXSROBJECTS where XSROBJECTNAME = 'EMPLOYEE'; -- /************************************************************************* -- 2. Decompose the XML document using the registered XML schema. -- *************************************************************************/ -- decompose the XML document DECOMPOSE XML DOCUMENT recemp.xml XMLSCHEMA xdb.employee VALIDATE; -- /************************************************************************* -- 3. Select data from the relational tables to see decomposed data. -- *************************************************************************/ -- check Decomposition result SELECT * FROM xdb.poemployee ORDER BY empid; -- /************************************************************************* -- CLEANUP -- **************************************************************************/ -- drop the created objects DROP XSROBJECT xdb.employee; DROP TABLE xdb.poemployee ; -- Reset connection CONNECT RESET;
alter table ACT_RU_EXECUTION add SUSPENSION_STATE_ int; alter table ACT_RE_PROCDEF add SUSPENSION_STATE_ int; alter table ACT_RE_PROCDEF add REV_ int; update ACT_RE_PROCDEF set REV_ = 1; update ACT_RE_PROCDEF set SUSPENSION_STATE_ = 1; update ACT_RU_EXECUTION set SUSPENSION_STATE_ = 1; create table ACT_RU_EVENT_SUBSCR ( ID_ nvarchar(64) not null, REV_ int, EVENT_TYPE_ nvarchar(191) not null, EVENT_NAME_ nvarchar(191), EXECUTION_ID_ nvarchar(64), PROC_INST_ID_ nvarchar(64), ACTIVITY_ID_ nvarchar(64), CONFIGURATION_ nvarchar(191), CREATED_ datetime not null, primary key (ID_) ); create index ACT_IDX_EVENT_SUBSCR_CONFIG_ on ACT_RU_EVENT_SUBSCR(CONFIGURATION_); alter table ACT_RU_EVENT_SUBSCR add constraint ACT_FK_EVENT_EXEC foreign key (EXECUTION_ID_) references ACT_RU_EXECUTION(ID_); alter table ACT_RU_EXECUTION add IS_EVENT_SCOPE_ tinyint; update ACT_RU_EXECUTION set IS_EVENT_SCOPE_ = 0; alter table ACT_HI_PROCINST add DELETE_REASON_ nvarchar(4000); alter table ACT_GE_BYTEARRAY add GENERATED_ tinyint; update ACT_GE_BYTEARRAY set GENERATED_ = 0;
/* Copyright 2014, 2015 OpenMarket Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ CREATE TABLE IF NOT EXISTS event_forward_extremities( event_id TEXT NOT NULL, room_id TEXT NOT NULL, UNIQUE (event_id, room_id) ); CREATE INDEX ev_extrem_room ON event_forward_extremities(room_id); CREATE INDEX ev_extrem_id ON event_forward_extremities(event_id); CREATE TABLE IF NOT EXISTS event_backward_extremities( event_id TEXT NOT NULL, room_id TEXT NOT NULL, UNIQUE (event_id, room_id) ); CREATE INDEX ev_b_extrem_room ON event_backward_extremities(room_id); CREATE INDEX ev_b_extrem_id ON event_backward_extremities(event_id); CREATE TABLE IF NOT EXISTS event_edges( event_id TEXT NOT NULL, prev_event_id TEXT NOT NULL, room_id TEXT NOT NULL, is_state BOOL NOT NULL, UNIQUE (event_id, prev_event_id, room_id, is_state) ); CREATE INDEX ev_edges_id ON event_edges(event_id); CREATE INDEX ev_edges_prev_id ON event_edges(prev_event_id); CREATE TABLE IF NOT EXISTS room_depth( room_id TEXT NOT NULL, min_depth INTEGER NOT NULL, UNIQUE (room_id) ); CREATE INDEX room_depth_room ON room_depth(room_id); create TABLE IF NOT EXISTS event_destinations( event_id TEXT NOT NULL, destination TEXT NOT NULL, delivered_ts BIGINT DEFAULT 0, -- or 0 if not delivered UNIQUE (event_id, destination) ); CREATE INDEX event_destinations_id ON event_destinations(event_id); CREATE TABLE IF NOT EXISTS state_forward_extremities( event_id TEXT NOT NULL, room_id TEXT NOT NULL, type TEXT NOT NULL, state_key TEXT NOT NULL, UNIQUE (event_id, room_id) ); CREATE INDEX st_extrem_keys ON state_forward_extremities( room_id, type, state_key ); CREATE INDEX st_extrem_id ON state_forward_extremities(event_id); CREATE TABLE IF NOT EXISTS event_auth( event_id TEXT NOT NULL, auth_id TEXT NOT NULL, room_id TEXT NOT NULL, UNIQUE (event_id, auth_id, room_id) ); CREATE INDEX evauth_edges_id ON event_auth(event_id); CREATE INDEX evauth_edges_auth_id ON event_auth(auth_id);
# # TABLE STRUCTURE FOR: Pesonal_loan_information # DROP TABLE IF EXISTS `Pesonal_loan_information`; CREATE TABLE `Pesonal_loan_information` ( `person_id` varchar(50) NOT NULL, `person_name` varchar(50) NOT NULL, `person_phone` varchar(30) NOT NULL, `person_address` text NOT NULL, `status` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; INSERT INTO `Pesonal_loan_information` (`person_id`, `person_name`, `person_phone`, `person_address`, `status`) VALUES ('L1PMD8G982', 'Tarek Vai', '0187774634', 'Farmgate,Dhaka', '1'); INSERT INTO `Pesonal_loan_information` (`person_id`, `person_name`, `person_phone`, `person_address`, `status`) VALUES ('1VVO7PVPIQ', 'Tanzil Ahmads', '3453456345634', '76 Newyork, Denmark', '1'); INSERT INTO `Pesonal_loan_information` (`person_id`, `person_name`, `person_phone`, `person_address`, `status`) VALUES ('TIT1QLU8H3', 'johan', '53463456', '98 Green Road,Farmgate', '1'); # # TABLE STRUCTURE FOR: account_2 # DROP TABLE IF EXISTS `account_2`; CREATE TABLE `account_2` ( `account_id` int(11) NOT NULL AUTO_INCREMENT, `account_name` varchar(40) NOT NULL, `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `parent_id` float NOT NULL, PRIMARY KEY (`account_id`) ) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=latin1; INSERT INTO `account_2` (`account_id`, `account_name`, `created_at`, `parent_id`) VALUES ('1', 'Supplier', '2017-10-10 12:09:21', '1'); INSERT INTO `account_2` (`account_id`, `account_name`, `created_at`, `parent_id`) VALUES ('2', 'Customer', '2017-10-10 12:09:35', '2'); INSERT INTO `account_2` (`account_id`, `account_name`, `created_at`, `parent_id`) VALUES ('3', 'Office', '2017-10-10 12:10:14', '3'); INSERT INTO `account_2` (`account_id`, `account_name`, `created_at`, `parent_id`) VALUES ('4', 'Loan', '2017-10-10 12:13:24', '4'); INSERT INTO `account_2` (`account_id`, `account_name`, `created_at`, `parent_id`) VALUES ('5', 'Labor Bill', '2017-10-25 14:37:48', '3'); INSERT INTO `account_2` (`account_id`, `account_name`, `created_at`, `parent_id`) VALUES ('6', 'Office Rent', '2017-10-25 14:38:15', '3'); INSERT INTO `account_2` (`account_id`, `account_name`, `created_at`, `parent_id`) VALUES ('7', 'ddd', '2017-10-31 11:14:42', '1'); # # TABLE STRUCTURE FOR: accounts # DROP TABLE IF EXISTS `accounts`; CREATE TABLE `accounts` ( `account_id` varchar(220) NOT NULL, `account_table_name` varchar(255) NOT NULL, `account_name` varchar(255) NOT NULL, `status` int(5) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; INSERT INTO `accounts` (`account_id`, `account_table_name`, `account_name`, `status`) VALUES ('R4YJJ3MXRC', 'outflow_pt3vxiow9x', 'Customer', '1'); INSERT INTO `accounts` (`account_id`, `account_table_name`, `account_name`, `status`) VALUES ('ZVWPEP1J1W', 'inflow_yh5i8w9oea', 'customar payment', '2'); INSERT INTO `accounts` (`account_id`, `account_table_name`, `account_name`, `status`) VALUES ('RE248GHTEZ', 'outflow_1td1fz8uvv', 'Supplier Payment', '1'); # # TABLE STRUCTURE FOR: bank_add # DROP TABLE IF EXISTS `bank_add`; CREATE TABLE `bank_add` ( `bank_id` varchar(255) NOT NULL, `bank_name` varchar(255) NOT NULL, `ac_name` varchar(250) DEFAULT NULL, `ac_number` varchar(250) DEFAULT NULL, `branch` varchar(250) DEFAULT NULL, `signature_pic` varchar(250) DEFAULT NULL, `status` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; INSERT INTO `bank_add` (`bank_id`, `bank_name`, `ac_name`, `ac_number`, `branch`, `signature_pic`, `status`) VALUES ('DCMHATDNVW', 'Duchbangla Banks', 'fgdfg dfgdfg', 'test12354567', 'Dhanmondi', 'http://farukandbrothers.com/my-assets/image/logo/91846f062bfda8d0d4eb2aee02f39437.jpg', '1'); INSERT INTO `bank_add` (`bank_id`, `bank_name`, `ac_name`, `ac_number`, `branch`, `signature_pic`, `status`) VALUES ('U72XGTBMTE', 'Agrani bank', 'bdtask123', 'bdt1263456', 'Kawran Bazar', 'http://farukandbrothers.com/my-assets/image/logo/340c5b6661391a9efd57aef74fb8933b.jpg', '1'); INSERT INTO `bank_add` (`bank_id`, `bank_name`, `ac_name`, `ac_number`, `branch`, `signature_pic`, `status`) VALUES ('873GO7X38D', 'islami Bnak', 'gddfgd', '43534563456345', 'Dhakas', 'http://farukandbrothers.com/my-assets/image/logo/2b5c4be0d187cede95e3489f0e786db7.png', '1'); INSERT INTO `bank_add` (`bank_id`, `bank_name`, `ac_name`, `ac_number`, `branch`, `signature_pic`, `status`) VALUES ('8XRLB6YVU8', 'uttara', 'dfgdsfg', '34523452345', 'dfgdfgsdas', '', '1'); INSERT INTO `bank_add` (`bank_id`, `bank_name`, `ac_name`, `ac_number`, `branch`, `signature_pic`, `status`) VALUES ('DJTQEQH2WR', 'City Bank', 'bdtask', '4534534634634', 'Dhaka', 'http://farukandbrothers.com/my-assets/image/logo/356121f59e3ce8f91bf5148ec7c1cafe.jpg', '1'); # # TABLE STRUCTURE FOR: bank_summary # DROP TABLE IF EXISTS `bank_summary`; CREATE TABLE `bank_summary` ( `bank_id` varchar(250) DEFAULT NULL, `description` text, `deposite_id` varchar(250) DEFAULT NULL, `date` varchar(250) DEFAULT NULL, `ac_type` varchar(50) DEFAULT NULL, `dr` float DEFAULT NULL, `cr` float DEFAULT NULL, `ammount` float DEFAULT NULL, `status` int(11) NOT NULL DEFAULT '1' ) ENGINE=InnoDB DEFAULT CHARSET=utf8; INSERT INTO `bank_summary` (`bank_id`, `description`, `deposite_id`, `date`, `ac_type`, `dr`, `cr`, `ammount`, `status`) VALUES ('LM3YIYOKQ2', '', '3426565', '23-10-2017', 'Debit(+)', '543', NULL, '543', '1'); INSERT INTO `bank_summary` (`bank_id`, `description`, `deposite_id`, `date`, `ac_type`, `dr`, `cr`, `ammount`, `status`) VALUES ('FRUH5553OV', 'dfg', '121', '23-10-2017', 'Credit(-)', NULL, '4500', '4500', '1'); INSERT INTO `bank_summary` (`bank_id`, `description`, `deposite_id`, `date`, `ac_type`, `dr`, `cr`, `ammount`, `status`) VALUES ('U72XGTBMTE', '', '5345324523', '23-10-2017', 'Debit(+)', '45', NULL, '45', '1'); INSERT INTO `bank_summary` (`bank_id`, `description`, `deposite_id`, `date`, `ac_type`, `dr`, `cr`, `ammount`, `status`) VALUES ('DJTQEQH2WR', '', '45646546', '31-10-2017', 'Debit(+)', '7000', NULL, '7000', '1'); # # TABLE STRUCTURE FOR: cheque_manger # DROP TABLE IF EXISTS `cheque_manger`; CREATE TABLE `cheque_manger` ( `cheque_id` varchar(100) NOT NULL, `transection_id` varchar(100) NOT NULL, `customer_id` varchar(100) NOT NULL, `bank_id` varchar(100) NOT NULL, `cheque_no` varchar(100) NOT NULL, `date` varchar(250) DEFAULT NULL, `transection_type` varchar(100) NOT NULL, `cheque_status` int(10) NOT NULL, `amount` float NOT NULL, `status` int(2) NOT NULL, PRIMARY KEY (`cheque_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; # # TABLE STRUCTURE FOR: company_information # DROP TABLE IF EXISTS `company_information`; CREATE TABLE `company_information` ( `company_id` varchar(250) NOT NULL, `company_name` varchar(50) NOT NULL, `email` varchar(50) NOT NULL, `address` text NOT NULL, `mobile` varchar(15) NOT NULL, `website` varchar(50) NOT NULL, `status` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; INSERT INTO `company_information` (`company_id`, `company_name`, `email`, `address`, `mobile`, `website`, `status`) VALUES ('NOILG8EGCRXXBWUEUQBM', 'BDTASK', 'bdtask@gmail.com', '98,Green Road,Dhaka', '0730164623', 'http://www.bdtask.com', '1'); # # TABLE STRUCTURE FOR: customer_information # DROP TABLE IF EXISTS `customer_information`; CREATE TABLE `customer_information` ( `customer_id` varchar(250) NOT NULL, `customer_name` varchar(255) DEFAULT NULL, `customer_address` varchar(255) NOT NULL, `customer_mobile` varchar(100) NOT NULL, `customer_email` varchar(100) NOT NULL, `status` int(2) NOT NULL COMMENT '1=paid,2=credit', PRIMARY KEY (`customer_id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; INSERT INTO `customer_information` (`customer_id`, `customer_name`, `customer_address`, `customer_mobile`, `customer_email`, `status`) VALUES ('8ZBLA3COJM2NT49', 'Shahidul Islam', 'Mirpur', '01714287187', 'shahidul@gmail.com', '1'); INSERT INTO `customer_information` (`customer_id`, `customer_name`, `customer_address`, `customer_mobile`, `customer_email`, `status`) VALUES ('JMVQJWU1FAEQHI5', 'Universal Electic', '', '', '', '1'); INSERT INTO `customer_information` (`customer_id`, `customer_name`, `customer_address`, `customer_mobile`, `customer_email`, `status`) VALUES ('F34YNOU3TJSAO67', 'S.S Enterprise', 'Sundorban Squre Super Market\r\nFirst Floor ,Shop # A15/16A ', '0235145454', '', '1'); INSERT INTO `customer_information` (`customer_id`, `customer_name`, `customer_address`, `customer_mobile`, `customer_email`, `status`) VALUES ('HS28Q2LCDZHWDS5', 'S.R Enterprise ', 'Sundorban Squre Super Market\r\nFirst Floor ,Shop # A18/19 ', '015646868678', '', '1'); INSERT INTO `customer_information` (`customer_id`, `customer_name`, `customer_address`, `customer_mobile`, `customer_email`, `status`) VALUES ('YWYINLCAIU4Z7YA', 'Hannan Traders', 'Sundorban Squre Super Market First Floor ,Shop # Nai', '', '', '1'); INSERT INTO `customer_information` (`customer_id`, `customer_name`, `customer_address`, `customer_mobile`, `customer_email`, `status`) VALUES ('6UDTC3KDE166G4C', 'Johan Doye', '98 Green Road,Farmgate', '908764566789', 'johan@gmail.com', '2'); # # TABLE STRUCTURE FOR: customer_ledger # DROP TABLE IF EXISTS `customer_ledger`; CREATE TABLE `customer_ledger` ( `transaction_id` varchar(100) NOT NULL, `customer_id` varchar(100) NOT NULL, `invoice_no` varchar(100) DEFAULT NULL, `receipt_no` varchar(50) DEFAULT NULL, `amount` float DEFAULT NULL, `description` varchar(255) NOT NULL, `payment_type` varchar(255) NOT NULL, `cheque_no` varchar(255) NOT NULL, `date` varchar(250) DEFAULT NULL, `status` int(2) NOT NULL, KEY `receipt_no` (`receipt_no`), KEY `receipt_no_2` (`receipt_no`), KEY `receipt_no_3` (`receipt_no`), KEY `receipt_no_4` (`receipt_no`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('KZHL6UU4VO', 'JMVQJWU1FAEQHI5', 'NA', NULL, '50000', 'Previous adjustment with software', 'NA', 'NA', '25-10-2017', '1'); INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('5TJARPM6IN', 'F34YNOU3TJSAO67', 'NA', NULL, '61250', 'Previous adjustment with software', 'NA', 'NA', '25-10-2017', '1'); INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('2ZVLDR3IJ5', 'HS28Q2LCDZHWDS5', 'NA', NULL, '365840', 'Previous adjustment with software', 'NA', 'NA', '25-10-2017', '1'); INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('R1C5ETPYMI', 'YWYINLCAIU4Z7YA', 'NA', NULL, '0', 'Previous adjustment with software', 'NA', 'NA', '25-10-2017', '1'); INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('PNOBOTZCL9OWBP5', 'YWYINLCAIU4Z7YA', '6678792612', NULL, '111600', 'ITP', '1', '', '25-10-2017', '1'); INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('VH112LNS1EJJK75', 'JMVQJWU1FAEQHI5', '123', NULL, '2000', 'Cash', '1', '', '25-10-2017', '1'); INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('L2FOE13IDSYADC3', 'HS28Q2LCDZHWDS5', '123', NULL, '3000', 'no des', '1', '', '25-10-2017', '1'); INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('FSQ9O99EGHTRE9F', 'F34YNOU3TJSAO67', '123', NULL, '1000', '', '1', '', '25-10-2017', '1'); INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('WQVYCRJMN86GI17', 'JMVQJWU1FAEQHI5', '1979956835', NULL, '25800', 'ITP', '1', '', '26-10-2017', '1'); INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('2IXO5N7VJFSJ7W3', 'F34YNOU3TJSAO67', '2191413693', NULL, '45720', 'ITP', '1', '', '26-10-2017', '1'); INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('KTASGDEO2EVT8FP', 'HS28Q2LCDZHWDS5', '6476889255', NULL, '35200', 'ITP', '1', '', '26-10-2017', '1'); INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('FCW4MH999Y3A75X', 'HS28Q2LCDZHWDS5', '1441514161', NULL, '35200', 'ITP', '1', '', '26-10-2017', '1'); INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('C5JJ9CNCRQN6ZQR', 'HS28Q2LCDZHWDS5', '1161734131', NULL, '35200', 'ITP', '1', '', '26-10-2017', '1'); INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('G36CPLKONRDN18L', 'HS28Q2LCDZHWDS5', '4672383343', NULL, '35200', 'ITP', '1', '', '26-10-2017', '1'); INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('T71A2WYSBL1OQFJ', 'F34YNOU3TJSAO67', '9455792915', NULL, '1074140', 'ITP', '1', '', '26-10-2017', '1'); INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('UPV5HNEO3MK8ZOW', 'F34YNOU3TJSAO67', '4981452674', NULL, '1074140', 'ITP', '1', '', '26-10-2017', '1'); INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('GVH6YY7265ISKCI', 'F34YNOU3TJSAO67', '4124575573', NULL, '73080', 'ITP', '1', '', '26-10-2017', '1'); INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('78SO49VW5EWVQLG', 'F34YNOU3TJSAO67', '1824634358', NULL, '73080', 'ITP', '1', '', '26-10-2017', '1'); INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('6WBA2S3PR7B5KOU', 'F34YNOU3TJSAO67', '5866553993', NULL, '58800', 'ITP', '1', '', '26-10-2017', '1'); INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('VNCC412Q9ORNR2F', 'JMVQJWU1FAEQHI5', '2827821423', NULL, '81600', 'ITP', '1', '', '26-10-2017', '1'); INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('8GX996WGH6AH12O', '8ZBLA3COJM2NT49', '5696739753', NULL, '34500', 'ITP', '1', '', '26-10-2017', '1'); INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('CDXCOWXKMR3YAYO', 'JMVQJWU1FAEQHI5', '8771668649', NULL, '71760', 'ITP', '1', '', '26-10-2017', '1'); INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('AGVJG2Y23Q8AHZD', 'JMVQJWU1FAEQHI5', '3276699692', NULL, '71960', 'ITP', '1', '', '27-10-2017', '1'); INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('UED29RCG1321ZZO', 'F34YNOU3TJSAO67', '1612663242', NULL, '71960', 'ITP', '1', '', '27-10-2017', '1'); INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('YF8XXXZX1ACGXY3', 'F34YNOU3TJSAO67', '2838558471', NULL, '119400', 'ITP', '1', '', '27-10-2017', '1'); INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('7ZW9G3F6A3ZBAA8', 'F34YNOU3TJSAO67', '8332727433', NULL, '777777', 'ITP', '1', '', '27-10-2017', '1'); INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('5CUCOA9L3HXZTZ3', 'JMVQJWU1FAEQHI5', '8861346923', NULL, '15200', 'ITP', '1', '', '27-10-2017', '1'); INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('P3YOLNTKI1R13YT', '8ZBLA3COJM2NT49', '1315834339', NULL, '7600', 'ITP', '1', '', '27-10-2017', '1'); INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('BM1RD29M3U7VQ1B', '8ZBLA3COJM2NT49', '6812413211', NULL, '33600', 'ITP', '1', '', '27-10-2017', '1'); INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('4BPPVCALP98XOOY', 'JMVQJWU1FAEQHI5', '2841757611', NULL, '151200', 'ITP', '1', '', '27-10-2017', '1'); INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('37W1572K5SAS3SK', '8ZBLA3COJM2NT49', NULL, '', '450', 'dfgdsgf', '1', '', '31-10-2017', '1'); INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('PDPYVAPZXT3ALZF', '8ZBLA3COJM2NT49', '2955339992', NULL, '48960', 'ITP', '1', '', '01-11-2017', '1'); INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('3FL6WVVYBJ2IXTG', '8ZBLA3COJM2NT49', '7774413469', NULL, '10000', 'ITP', '1', '', '01-11-2017', '1'); INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('KECMDNQWIW9UI7L', '8ZBLA3COJM2NT49', '8829776633', NULL, '8000', 'ITP', '1', '', '01-11-2017', '1'); INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('VAH59FVGOXCI2KV', '8ZBLA3COJM2NT49', NULL, '6R7MP8LNFF', '70000', 'ITP', '1', '', '02-11-2017', '1'); INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('VAH59FVGOXCI2KV', '8ZBLA3COJM2NT49', '9928459451', NULL, '70560', '', '', '', '02-11-2017', '1'); INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('QAO1QIY19Q7RKTH', '', NULL, 'CT2U6E74D8', '46000', 'ITP', '1', '', '02-11-2017', '1'); INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('QAO1QIY19Q7RKTH', '', '4991415829', NULL, '46000', '', '', '', '02-11-2017', '1'); INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('DU843BZYE76XUHX', '', NULL, '828U4QGHEK', '46000', 'ITP', '1', '', '02-11-2017', '1'); INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('DU843BZYE76XUHX', '', '6471686685', NULL, '46000', '', '', '', '02-11-2017', '1'); INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('XA89GZE1P5V51DE', '', NULL, '6NJUFLJTAH', '46000', 'ITP', '1', '', '02-11-2017', '1'); INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('XA89GZE1P5V51DE', '', '7579931679', NULL, '46000', '', '', '', '02-11-2017', '1'); INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('1MZZRFMMRXQ37VJ', '8ZBLA3COJM2NT49', NULL, 'B63HSVBSXM', '63000', 'ITP', '1', '', '04-11-2017', '1'); INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('1MZZRFMMRXQ37VJ', '8ZBLA3COJM2NT49', '8914637431', NULL, '63000', '', '', '', '04-11-2017', '1'); INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('YB2DKLKGZPJ5YF2', 'JMVQJWU1FAEQHI5', NULL, 'BHRAJTKKIT', '120920', 'ITP', '1', '', '04-11-2017', '1'); INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('43DXTMZASI4BTMN', 'JMVQJWU1FAEQHI5', '3245145265', '5PJS9XM31B', '125000', 'ITP', '1', '', '06-11-2017', '1'); INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('OK5UDZV15MSWLLL', 'JMVQJWU1FAEQHI5', NULL, 'G1ETNT5ZWT', '110000', 'ITP', '1', '', '04-11-2017', '1'); INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('43DXTMZASI4BTMN', 'JMVQJWU1FAEQHI5', '3245145265', NULL, '125000', '', '', '', '06-11-2017', '1'); INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('AXLIJM3ZRU', '6UDTC3KDE166G4C', 'NA', NULL, '500', 'Previous adjustment with software', 'NA', 'NA', '06-11-2017', '1'); # # TABLE STRUCTURE FOR: customer_transection_summary # DROP TABLE IF EXISTS `customer_transection_summary`; CREATE ALGORITHM=UNDEFINED DEFINER=`wholesal_musv1`@`localhost` SQL SECURITY DEFINER VIEW `customer_transection_summary` AS select `customer_information`.`customer_name` AS `customer_name`,`customer_ledger`.`customer_id` AS `customer_id`,'credit' AS `type`,sum(-(`customer_ledger`.`amount`)) AS `amount` from (`customer_ledger` join `customer_information` on((`customer_information`.`customer_id` = `customer_ledger`.`customer_id`))) where (isnull(`customer_ledger`.`receipt_no`) and (`customer_ledger`.`status` = 1)) group by `customer_ledger`.`customer_id` union all select `customer_information`.`customer_name` AS `customer_name`,`customer_ledger`.`customer_id` AS `customer_id`,'debit' AS `type`,sum(`customer_ledger`.`amount`) AS `amount` from (`customer_ledger` join `customer_information` on((`customer_information`.`customer_id` = `customer_ledger`.`customer_id`))) where (isnull(`customer_ledger`.`invoice_no`) and (`customer_ledger`.`status` = 1)) group by `customer_ledger`.`customer_id`; latin1_swedish_ci; INSERT INTO `customer_transection_summary` (`customer_name`, `customer_id`, `type`, `amount`) VALUES ('Johan Doye', '6UDTC3KDE166G4C', 'credit', '-500'); INSERT INTO `customer_transection_summary` (`customer_name`, `customer_id`, `type`, `amount`) VALUES ('Shahidul Islam', '8ZBLA3COJM2NT49', 'credit', '-276220'); INSERT INTO `customer_transection_summary` (`customer_name`, `customer_id`, `type`, `amount`) VALUES ('S.S Enterprise', 'F34YNOU3TJSAO67', 'credit', '-3430347'); INSERT INTO `customer_transection_summary` (`customer_name`, `customer_id`, `type`, `amount`) VALUES ('S.R Enterprise ', 'HS28Q2LCDZHWDS5', 'credit', '-509640'); INSERT INTO `customer_transection_summary` (`customer_name`, `customer_id`, `type`, `amount`) VALUES ('Universal Electic', 'JMVQJWU1FAEQHI5', 'credit', '-594520'); INSERT INTO `customer_transection_summary` (`customer_name`, `customer_id`, `type`, `amount`) VALUES ('Hannan Traders', 'YWYINLCAIU4Z7YA', 'credit', '-111600'); INSERT INTO `customer_transection_summary` (`customer_name`, `customer_id`, `type`, `amount`) VALUES ('Shahidul Islam', '8ZBLA3COJM2NT49', 'debit', '133450'); INSERT INTO `customer_transection_summary` (`customer_name`, `customer_id`, `type`, `amount`) VALUES ('Universal Electic', 'JMVQJWU1FAEQHI5', 'debit', '230920'); # # TABLE STRUCTURE FOR: daily_banking_add # DROP TABLE IF EXISTS `daily_banking_add`; CREATE TABLE `daily_banking_add` ( `banking_id` varchar(255) NOT NULL, `date` datetime NOT NULL, `bank_id` varchar(100) NOT NULL, `deposit_type` varchar(255) NOT NULL, `transaction_type` varchar(255) NOT NULL, `description` text NOT NULL, `amount` int(11) NOT NULL, `status` int(2) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; # # TABLE STRUCTURE FOR: daily_closing # DROP TABLE IF EXISTS `daily_closing`; CREATE TABLE `daily_closing` ( `closing_id` varchar(255) NOT NULL, `last_day_closing` float NOT NULL, `cash_in` float NOT NULL, `cash_out` float NOT NULL, `date` varchar(250) NOT NULL, `amount` float NOT NULL, `adjustment` float NOT NULL, `status` int(2) NOT NULL, PRIMARY KEY (`date`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; # # TABLE STRUCTURE FOR: head_office_deposit # DROP TABLE IF EXISTS `head_office_deposit`; CREATE TABLE `head_office_deposit` ( `transection_id` varchar(200) NOT NULL, `tracing_id` varchar(200) NOT NULL, `payment_type` varchar(10) NOT NULL, `date` datetime NOT NULL, `amount` int(10) NOT NULL, `description` varchar(255) NOT NULL, `status` int(5) NOT NULL, PRIMARY KEY (`transection_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; # # TABLE STRUCTURE FOR: inflow_92mizdldrv # DROP TABLE IF EXISTS `inflow_92mizdldrv`; CREATE TABLE `inflow_92mizdldrv` ( `transection_id` varchar(200) NOT NULL, `tracing_id` varchar(200) NOT NULL, `payment_type` varchar(10) NOT NULL, `date` datetime NOT NULL, `amount` int(10) NOT NULL, `description` varchar(255) NOT NULL, `status` int(5) NOT NULL, PRIMARY KEY (`transection_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; INSERT INTO `inflow_92mizdldrv` (`transection_id`, `tracing_id`, `payment_type`, `date`, `amount`, `description`, `status`) VALUES ('1MZZRFMMRXQ37VJ', '8ZBLA3COJM2NT49', '1', '0000-00-00 00:00:00', '63000', 'ITP', '1'); INSERT INTO `inflow_92mizdldrv` (`transection_id`, `tracing_id`, `payment_type`, `date`, `amount`, `description`, `status`) VALUES ('2IXO5N7VJFSJ7W3', 'F34YNOU3TJSAO67', '1', '0000-00-00 00:00:00', '45720', 'ITP', '1'); INSERT INTO `inflow_92mizdldrv` (`transection_id`, `tracing_id`, `payment_type`, `date`, `amount`, `description`, `status`) VALUES ('3FL6WVVYBJ2IXTG', '8ZBLA3COJM2NT49', '1', '0000-00-00 00:00:00', '10000', 'ITP', '1'); INSERT INTO `inflow_92mizdldrv` (`transection_id`, `tracing_id`, `payment_type`, `date`, `amount`, `description`, `status`) VALUES ('43DXTMZASI4BTMN', 'JMVQJWU1FAEQHI5', '1', '0000-00-00 00:00:00', '125000', 'ITP', '1'); INSERT INTO `inflow_92mizdldrv` (`transection_id`, `tracing_id`, `payment_type`, `date`, `amount`, `description`, `status`) VALUES ('4BPPVCALP98XOOY', 'JMVQJWU1FAEQHI5', '1', '0000-00-00 00:00:00', '151200', 'ITP', '1'); INSERT INTO `inflow_92mizdldrv` (`transection_id`, `tracing_id`, `payment_type`, `date`, `amount`, `description`, `status`) VALUES ('5CUCOA9L3HXZTZ3', 'JMVQJWU1FAEQHI5', '1', '0000-00-00 00:00:00', '15200', 'ITP', '1'); INSERT INTO `inflow_92mizdldrv` (`transection_id`, `tracing_id`, `payment_type`, `date`, `amount`, `description`, `status`) VALUES ('6WBA2S3PR7B5KOU', 'F34YNOU3TJSAO67', '1', '0000-00-00 00:00:00', '58800', 'ITP', '1'); INSERT INTO `inflow_92mizdldrv` (`transection_id`, `tracing_id`, `payment_type`, `date`, `amount`, `description`, `status`) VALUES ('78SO49VW5EWVQLG', 'F34YNOU3TJSAO67', '1', '0000-00-00 00:00:00', '73080', 'ITP', '1'); INSERT INTO `inflow_92mizdldrv` (`transection_id`, `tracing_id`, `payment_type`, `date`, `amount`, `description`, `status`) VALUES ('7ZW9G3F6A3ZBAA8', 'F34YNOU3TJSAO67', '1', '0000-00-00 00:00:00', '777777', 'ITP', '1'); INSERT INTO `inflow_92mizdldrv` (`transection_id`, `tracing_id`, `payment_type`, `date`, `amount`, `description`, `status`) VALUES ('8GX996WGH6AH12O', '8ZBLA3COJM2NT49', '1', '0000-00-00 00:00:00', '34500', 'ITP', '1'); INSERT INTO `inflow_92mizdldrv` (`transection_id`, `tracing_id`, `payment_type`, `date`, `amount`, `description`, `status`) VALUES ('AGVJG2Y23Q8AHZD', 'JMVQJWU1FAEQHI5', '1', '0000-00-00 00:00:00', '71960', 'ITP', '1'); INSERT INTO `inflow_92mizdldrv` (`transection_id`, `tracing_id`, `payment_type`, `date`, `amount`, `description`, `status`) VALUES ('BM1RD29M3U7VQ1B', '8ZBLA3COJM2NT49', '1', '0000-00-00 00:00:00', '33600', 'ITP', '1'); INSERT INTO `inflow_92mizdldrv` (`transection_id`, `tracing_id`, `payment_type`, `date`, `amount`, `description`, `status`) VALUES ('C5JJ9CNCRQN6ZQR', 'HS28Q2LCDZHWDS5', '1', '0000-00-00 00:00:00', '35200', 'ITP', '1'); INSERT INTO `inflow_92mizdldrv` (`transection_id`, `tracing_id`, `payment_type`, `date`, `amount`, `description`, `status`) VALUES ('CDXCOWXKMR3YAYO', 'JMVQJWU1FAEQHI5', '1', '0000-00-00 00:00:00', '71760', 'ITP', '1'); INSERT INTO `inflow_92mizdldrv` (`transection_id`, `tracing_id`, `payment_type`, `date`, `amount`, `description`, `status`) VALUES ('DU843BZYE76XUHX', '', '1', '0000-00-00 00:00:00', '46000', 'ITP', '1'); INSERT INTO `inflow_92mizdldrv` (`transection_id`, `tracing_id`, `payment_type`, `date`, `amount`, `description`, `status`) VALUES ('FCW4MH999Y3A75X', 'HS28Q2LCDZHWDS5', '1', '0000-00-00 00:00:00', '35200', 'ITP', '1'); INSERT INTO `inflow_92mizdldrv` (`transection_id`, `tracing_id`, `payment_type`, `date`, `amount`, `description`, `status`) VALUES ('FSQ9O99EGHTRE9F', 'F34YNOU3TJSAO67', '1', '0000-00-00 00:00:00', '1000', 'ITP', '1'); INSERT INTO `inflow_92mizdldrv` (`transection_id`, `tracing_id`, `payment_type`, `date`, `amount`, `description`, `status`) VALUES ('G36CPLKONRDN18L', 'HS28Q2LCDZHWDS5', '1', '0000-00-00 00:00:00', '35200', 'ITP', '1'); INSERT INTO `inflow_92mizdldrv` (`transection_id`, `tracing_id`, `payment_type`, `date`, `amount`, `description`, `status`) VALUES ('GVH6YY7265ISKCI', 'F34YNOU3TJSAO67', '1', '0000-00-00 00:00:00', '73080', 'ITP', '1'); INSERT INTO `inflow_92mizdldrv` (`transection_id`, `tracing_id`, `payment_type`, `date`, `amount`, `description`, `status`) VALUES ('KECMDNQWIW9UI7L', '8ZBLA3COJM2NT49', '1', '0000-00-00 00:00:00', '8000', 'ITP', '1'); INSERT INTO `inflow_92mizdldrv` (`transection_id`, `tracing_id`, `payment_type`, `date`, `amount`, `description`, `status`) VALUES ('KTASGDEO2EVT8FP', 'HS28Q2LCDZHWDS5', '1', '0000-00-00 00:00:00', '35200', 'ITP', '1'); INSERT INTO `inflow_92mizdldrv` (`transection_id`, `tracing_id`, `payment_type`, `date`, `amount`, `description`, `status`) VALUES ('L2FOE13IDSYADC3', 'HS28Q2LCDZHWDS5', '1', '0000-00-00 00:00:00', '3000', 'ITP', '1'); INSERT INTO `inflow_92mizdldrv` (`transection_id`, `tracing_id`, `payment_type`, `date`, `amount`, `description`, `status`) VALUES ('OK5UDZV15MSWLLL', 'JMVQJWU1FAEQHI5', '1', '0000-00-00 00:00:00', '110000', 'ITP', '1'); INSERT INTO `inflow_92mizdldrv` (`transection_id`, `tracing_id`, `payment_type`, `date`, `amount`, `description`, `status`) VALUES ('P3YOLNTKI1R13YT', '8ZBLA3COJM2NT49', '1', '0000-00-00 00:00:00', '7600', 'ITP', '1'); INSERT INTO `inflow_92mizdldrv` (`transection_id`, `tracing_id`, `payment_type`, `date`, `amount`, `description`, `status`) VALUES ('PDPYVAPZXT3ALZF', '8ZBLA3COJM2NT49', '1', '0000-00-00 00:00:00', '48960', 'ITP', '1'); INSERT INTO `inflow_92mizdldrv` (`transection_id`, `tracing_id`, `payment_type`, `date`, `amount`, `description`, `status`) VALUES ('PNOBOTZCL9OWBP5', 'YWYINLCAIU4Z7YA', '1', '0000-00-00 00:00:00', '111600', 'ITP', '1'); INSERT INTO `inflow_92mizdldrv` (`transection_id`, `tracing_id`, `payment_type`, `date`, `amount`, `description`, `status`) VALUES ('QAO1QIY19Q7RKTH', '', '1', '0000-00-00 00:00:00', '46000', 'ITP', '1'); INSERT INTO `inflow_92mizdldrv` (`transection_id`, `tracing_id`, `payment_type`, `date`, `amount`, `description`, `status`) VALUES ('T71A2WYSBL1OQFJ', 'F34YNOU3TJSAO67', '1', '0000-00-00 00:00:00', '1074140', 'ITP', '1'); INSERT INTO `inflow_92mizdldrv` (`transection_id`, `tracing_id`, `payment_type`, `date`, `amount`, `description`, `status`) VALUES ('UED29RCG1321ZZO', 'F34YNOU3TJSAO67', '1', '0000-00-00 00:00:00', '71960', 'ITP', '1'); INSERT INTO `inflow_92mizdldrv` (`transection_id`, `tracing_id`, `payment_type`, `date`, `amount`, `description`, `status`) VALUES ('UPV5HNEO3MK8ZOW', 'F34YNOU3TJSAO67', '1', '0000-00-00 00:00:00', '1074140', 'ITP', '1'); INSERT INTO `inflow_92mizdldrv` (`transection_id`, `tracing_id`, `payment_type`, `date`, `amount`, `description`, `status`) VALUES ('VAH59FVGOXCI2KV', '8ZBLA3COJM2NT49', '1', '0000-00-00 00:00:00', '70000', 'ITP', '1'); INSERT INTO `inflow_92mizdldrv` (`transection_id`, `tracing_id`, `payment_type`, `date`, `amount`, `description`, `status`) VALUES ('VH112LNS1EJJK75', 'JMVQJWU1FAEQHI5', '1', '0000-00-00 00:00:00', '2000', 'ITP', '1'); INSERT INTO `inflow_92mizdldrv` (`transection_id`, `tracing_id`, `payment_type`, `date`, `amount`, `description`, `status`) VALUES ('VNCC412Q9ORNR2F', 'JMVQJWU1FAEQHI5', '1', '0000-00-00 00:00:00', '81600', 'ITP', '1'); INSERT INTO `inflow_92mizdldrv` (`transection_id`, `tracing_id`, `payment_type`, `date`, `amount`, `description`, `status`) VALUES ('WQVYCRJMN86GI17', 'JMVQJWU1FAEQHI5', '1', '0000-00-00 00:00:00', '25800', 'ITP', '1'); INSERT INTO `inflow_92mizdldrv` (`transection_id`, `tracing_id`, `payment_type`, `date`, `amount`, `description`, `status`) VALUES ('XA89GZE1P5V51DE', '', '1', '0000-00-00 00:00:00', '46000', 'ITP', '1'); INSERT INTO `inflow_92mizdldrv` (`transection_id`, `tracing_id`, `payment_type`, `date`, `amount`, `description`, `status`) VALUES ('YB2DKLKGZPJ5YF2', 'JMVQJWU1FAEQHI5', '1', '0000-00-00 00:00:00', '120920', 'ITP', '1'); INSERT INTO `inflow_92mizdldrv` (`transection_id`, `tracing_id`, `payment_type`, `date`, `amount`, `description`, `status`) VALUES ('YF8XXXZX1ACGXY3', 'F34YNOU3TJSAO67', '1', '0000-00-00 00:00:00', '119400', 'ITP', '1'); # # TABLE STRUCTURE FOR: inflow_yh5i8w9oea # DROP TABLE IF EXISTS `inflow_yh5i8w9oea`; CREATE TABLE `inflow_yh5i8w9oea` ( `transection_id` varchar(200) NOT NULL, `tracing_id` varchar(200) NOT NULL, `payment_type` varchar(10) NOT NULL, `date` varchar(255) NOT NULL, `amount` float NOT NULL, `description` varchar(255) NOT NULL, `status` int(5) NOT NULL, PRIMARY KEY (`transection_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; # # TABLE STRUCTURE FOR: invoice # DROP TABLE IF EXISTS `invoice`; CREATE TABLE `invoice` ( `invoice_id` varchar(100) NOT NULL, `customer_id` varchar(100) NOT NULL, `date` varchar(50) DEFAULT NULL, `total_amount` float NOT NULL, `invoice` varchar(255) NOT NULL, `total_discount` float DEFAULT NULL COMMENT 'total invoice discount', `status` int(2) NOT NULL, PRIMARY KEY (`invoice_id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `status`) VALUES ('5352642796', 'JMVQJWU1FAEQHI5', '25-10-2017', '312400', '1000', '0', '1'); INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `status`) VALUES ('2212884554', 'HS28Q2LCDZHWDS5', '25-10-2017', '183860', '1001', '0', '1'); INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `status`) VALUES ('1662246136', 'F34YNOU3TJSAO67', '25-10-2017', '168000', '1002', '3400', '1'); INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `status`) VALUES ('6678792612', 'YWYINLCAIU4Z7YA', '25-10-2017', '111600', '1003', '6000', '1'); INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `status`) VALUES ('1979956835', 'JMVQJWU1FAEQHI5', '26-10-2017', '25800', '1004', '600', '1'); INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `status`) VALUES ('2191413693', 'F34YNOU3TJSAO67', '26-10-2017', '45720', '1005', '3240', '1'); INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `status`) VALUES ('6476889255', 'HS28Q2LCDZHWDS5', '26-10-2017', '35200', '1006', '0', '1'); INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `status`) VALUES ('1441514161', 'HS28Q2LCDZHWDS5', '26-10-2017', '35200', '1007', '0', '1'); INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `status`) VALUES ('1161734131', 'HS28Q2LCDZHWDS5', '26-10-2017', '35200', '1008', '0', '1'); INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `status`) VALUES ('4672383343', 'HS28Q2LCDZHWDS5', '26-10-2017', '35200', '1009', '0', '1'); INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `status`) VALUES ('9455792915', 'F34YNOU3TJSAO67', '26-10-2017', '1074140', '1010', '37840', '1'); INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `status`) VALUES ('4981452674', 'F34YNOU3TJSAO67', '26-10-2017', '1074140', '1011', '37840', '1'); INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `status`) VALUES ('6391267778', '8ZBLA3COJM2NT49', '26-10-2017', '132000', '1012', '0', '1'); INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `status`) VALUES ('5717642987', '8ZBLA3COJM2NT49', '26-10-2017', '132000', '1013', '0', '1'); INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `status`) VALUES ('4124575573', 'F34YNOU3TJSAO67', '26-10-2017', '73080', '1014', '0', '1'); INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `status`) VALUES ('1824634358', 'F34YNOU3TJSAO67', '26-10-2017', '73080', '1015', '0', '1'); INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `status`) VALUES ('5866553993', 'F34YNOU3TJSAO67', '26-10-2017', '58800', '1016', '0', '1'); INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `status`) VALUES ('2827821423', 'JMVQJWU1FAEQHI5', '26-10-2017', '81600', '1017', '0', '1'); INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `status`) VALUES ('1593665589', 'JMVQJWU1FAEQHI5', '26-10-2017', '55440', '1018', '0', '1'); INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `status`) VALUES ('5696739753', '8ZBLA3COJM2NT49', '26-10-2017', '34500', '1019', '0', '1'); INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `status`) VALUES ('5577868966', 'F34YNOU3TJSAO67', '26-10-2017', '202440', '1020', '0', '1'); INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `status`) VALUES ('8771668649', 'JMVQJWU1FAEQHI5', '26-10-2017', '71760', '1021', '0', '1'); INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `status`) VALUES ('3276699692', 'JMVQJWU1FAEQHI5', '27-10-2017', '71960', '1022', '0', '1'); INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `status`) VALUES ('1612663242', 'F34YNOU3TJSAO67', '27-10-2017', '71960', '1023', '0', '1'); INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `status`) VALUES ('2838558471', 'F34YNOU3TJSAO67', '27-10-2017', '119400', '1024', '0', '1'); INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `status`) VALUES ('8332727433', 'F34YNOU3TJSAO67', '27-10-2017', '35280', '1025', '0', '1'); INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `status`) VALUES ('8861346923', 'JMVQJWU1FAEQHI5', '27-10-2017', '15200', '1026', '0', '1'); INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `status`) VALUES ('1315834339', '8ZBLA3COJM2NT49', '27-10-2017', '7600', '1027', '0', '1'); INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `status`) VALUES ('6812413211', '8ZBLA3COJM2NT49', '27-10-2017', '33600', '1028', '0', '1'); INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `status`) VALUES ('2841757611', 'JMVQJWU1FAEQHI5', '27-10-2017', '151200', '1029', '0', '1'); INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `status`) VALUES ('4895264789', '8ZBLA3COJM2NT49', '01-11-2017', '23000', '1030', '0', '1'); INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `status`) VALUES ('6766863919', '8ZBLA3COJM2NT49', '01-11-2017', '23000', '1031', '0', '1'); INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `status`) VALUES ('3524631422', '8ZBLA3COJM2NT49', '01-11-2017', '32640', '1032', '0', '1'); INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `status`) VALUES ('2955339992', '8ZBLA3COJM2NT49', '01-11-2017', '48960', '1033', '0', '1'); INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `status`) VALUES ('7774413469', '8ZBLA3COJM2NT49', '01-11-2017', '48960', '1034', '0', '1'); INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `status`) VALUES ('8829776633', '8ZBLA3COJM2NT49', '01-11-2017', '23000', '1035', '0', '1'); INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `status`) VALUES ('9928459451', '8ZBLA3COJM2NT49', '02-11-2017', '70560', '1036', '0', '1'); INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `status`) VALUES ('7192698317', '8ZBLA3COJM2NT49', '02-11-2017', '46000', '1037', '0', '1'); INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `status`) VALUES ('7336959223', '', '02-11-2017', '46000', '1038', '0', '1'); INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `status`) VALUES ('4991415829', '', '02-11-2017', '46000', '1039', '0', '1'); INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `status`) VALUES ('6471686685', '', '02-11-2017', '46000', '1040', '0', '1'); INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `status`) VALUES ('7579931679', '', '02-11-2017', '46000', '1041', '0', '1'); INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `status`) VALUES ('1732878644', '8ZBLA3COJM2NT49', '02-11-2017', '81600', '1042', '0', '1'); INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `status`) VALUES ('4336416796', 'JMVQJWU1FAEQHI5', '02-11-2017', '34500', '1043', '0', '1'); INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `status`) VALUES ('3517883984', '8ZBLA3COJM2NT49', '02-11-2017', '11500', '1044', '0', '1'); INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `status`) VALUES ('8914637431', '8ZBLA3COJM2NT49', '04-11-2017', '63000', '1045', '0', '1'); INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `status`) VALUES ('3245145265', 'JMVQJWU1FAEQHI5', '06-11-2017', '125000', '1046', '0', '1'); # # TABLE STRUCTURE FOR: invoice_details # DROP TABLE IF EXISTS `invoice_details`; CREATE TABLE `invoice_details` ( `invoice_details_id` varchar(100) NOT NULL, `invoice_id` varchar(100) NOT NULL, `product_id` varchar(100) NOT NULL, `cartoon` float DEFAULT NULL, `quantity` float NOT NULL, `rate` float NOT NULL, `supplier_rate` float DEFAULT NULL, `total_price` float NOT NULL, `discount` float DEFAULT NULL, `tax` float DEFAULT NULL, `paid_amount` float DEFAULT '0', `due_amount` float NOT NULL DEFAULT '0', `status` int(2) NOT NULL, PRIMARY KEY (`invoice_details_id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('322178286179275', '5352642796', '63853613', '3', '120', '220', '210', '26400', '0', '0', '0', '312400', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('461138664737916', '5352642796', '19226752', '2', '120', '210', '200', '25200', '0', '0', '0', '312400', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('538746555262178', '5352642796', '63775648', '3', '180', '210', '200', '37800', '0', '0', '0', '312400', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('515528485757447', '5352642796', '83517747', '5', '120', '680', '670', '81600', '0', '0', '0', '312400', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('191964519925133', '5352642796', '13177442', '10', '500', '230', '220', '115000', '0', '0', '0', '312400', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('974425263638473', '5352642796', '97255764', '2', '80', '190', '180', '15200', '0', '0', '0', '312400', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('172267628511124', '5352642796', '67197783', '2', '40', '280', '260', '11200', '0', '0', '0', '312400', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('341884428717359', '2212884554', '63853613', '1', '40', '220', '210', '8800', '0', '0', '0', '183860', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('828275396474739', '2212884554', '19226752', '1', '60', '210', '200', '12600', '0', '0', '0', '183860', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('253232673444278', '2212884554', '83517747', '2', '48', '680', '670', '32640', '0', '0', '0', '183860', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('151868497135417', '2212884554', '43238874', '2', '240', '98', '90', '23520', '0', '0', '0', '183860', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('323645793137454', '2212884554', '97255764', '2', '80', '190', '180', '15200', '0', '0', '0', '183860', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('359346175888428', '2212884554', '19226752', '3', '60', '280', '200', '16800', '0', '0', '0', '183860', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('259414983286931', '2212884554', '67197783', '3', '60', '280', '260', '16800', '0', '0', '0', '183860', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('355388986574316', '2212884554', '13177442', '5', '250', '230', '220', '57500', '0', '0', '0', '183860', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('958533333455387', '1662246136', '19226752', '10', '600', '210', '200', '126000', '5', '0', '0', '168000', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('149154221344846', '1662246136', '63775648', '3', '180', '210', '200', '37800', '2', '0', '0', '168000', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('531484717942579', '1662246136', '97255764', '1', '40', '190', '180', '7600', '1', '0', '0', '168000', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('636596177883366', '6678792612', '43238874', '10', '1200', '98', '90', '117600', '5', '0', '111600', '0', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('155631728614396', '1979956835', '63853613', '3', '120', '220', '210', '26400', '5', '0', '25800', '0', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('722242451482752', '2191413693', '83517747', '3', '72', '680', '670', '48960', '45', '0', '45720', '0', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('885926554243267', '6476889255', '63853613', '4', '160', '220', '210', '35200', '0', '0', '35200', '0', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('444871815965462', '1441514161', '63853613', '4', '160', '220', '210', '35200', '0', '0', '35200', '0', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('322374389453755', '1161734131', '63853613', '4', '160', '220', '210', '35200', '0', '0', '35200', '0', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('556411868186321', '4672383343', '63853613', '4', '160', '220', '210', '35200', '0', '0', '35200', '0', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('826966992472672', '9455792915', '63853613', '88', '3520', '220', '210', '774400', '10', '0', '1074140', '0', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('994156449435622', '6391267778', '13177442', '1', '50', '230', '220', '11500', '0', '0', '0', '132000', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('966516411331947', '5717642987', '13177442', '1', '50', '230', '220', '11500', '0', '0', '0', '132000', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('338971382639286', '4124575573', '43238874', '3', '360', '98', '90', '35280', '0', '0', '73080', '0', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('855473555817233', '1824634358', '43238874', '3', '360', '98', '90', '35280', '0', '0', '73080', '0', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('854171667212512', '5866553993', '43238874', '3', '360', '98', '90', '35280', '0', '0', '58800', '0', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('861626717588631', '2827821423', '83517747', '2', '48', '680', '670', '32640', '0', '0', '81600', '0', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('773365631369671', '1593665589', '83517747', '2', '48', '680', '670', '32640', '0', '0', '0', '55440', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('273843313886851', '5696739753', '13177442', '3', '150', '230', '220', '34500', '0', '0', '34500', '0', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('795182712765868', '5577868966', '83517747', '3', '72', '680', '670', '48960', '0', '0', '0', '202440', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('478889756713676', '8771668649', '83517747', '3', '72', '680', '670', '48960', '0', '0', '71760', '0', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('693281518267137', '3276699692', '83517747', '3', '72', '680', '670', '48960', '0', '0', '71960', '0', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('238761538477495', '3276699692', '13177442', '2', '100', '230', '220', '23000', '0', '0', '71960', '0', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('927958128274588', '1612663242', '83517747', '3', '72', '680', '670', '48960', '0', '0', '71960', '0', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('649728331918776', '1612663242', '13177442', '2', '100', '230', '220', '23000', '0', '0', '71960', '0', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('149766959794642', '2838558471', '63775648', '3', '180', '210', '200', '37800', '0', '0', '119400', '0', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('713779457157324', '2838558471', '83517747', '5', '120', '680', '670', '81600', '0', '0', '119400', '0', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('454162994166898', '8332727433', '43238874', '3', '360', '98', '90', '35280', '0', '0', '777777', '-742497', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('536964741874475', '8861346923', '97255764', '2', '80', '190', '180', '15200', '0', '0', '15200', '0', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('838522543126448', '1315834339', '97255764', '1', '40', '190', '180', '7600', '0', '0', '7600', '0', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('715781472513723', '6812413211', '67197783', '6', '120', '280', '260', '33600', '0', '0', '33600', '0', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('587342536611462', '2841757611', '63775648', '3', '180', '210', '200', '37800', '0', '0', '151200', '0', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('442888991481135', '2841757611', '63775648', '5', '300', '210', '200', '63000', '0', '0', '151200', '0', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('773417659329356', '2841757611', '63775648', '4', '240', '210', '200', '50400', '0', '0', '151200', '0', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('678866231252864', '4895264789', '13177442', '2', '100', '230', '220', '23000', '0', '0', '0', '23000', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('795166525155278', '6766863919', '13177442', '2', '100', '230', '220', '23000', '0', '0', '0', '23000', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('631275173539193', '3524631422', '83517747', '2', '48', '680', '670', '32640', '0', '0', '0', '32640', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('445173368791781', '2955339992', '83517747', '3', '72', '680', '670', '48960', '0', '0', '48960', '0', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('811287854294549', '7774413469', '83517747', '3', '72', '680', '670', '48960', '0', '0', '10000', '38960', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('476215996973536', '8829776633', '13177442', '2', '100', '230', '220', '23000', '0', '0', '8000', '15000', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('771221723624248', '9928459451', '43238874', '6', '720', '98', '90', '70560', '0', '0', '70000', '560', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('325134538371951', '4991415829', '', '4', '200', '230', NULL, '46000', '0', '0', '46000', '0', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('718484544434195', '6471686685', '', '4', '200', '230', NULL, '46000', '0', '0', '46000', '0', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('533212811838913', '7579931679', '', '4', '200', '230', NULL, '46000', '0', '0', '46000', '0', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('291532368921455', '8914637431', '19226752', '5', '300', '210', '200', '63000', '0', '0', '63000', '0', '1'); INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `cartoon`, `quantity`, `rate`, `supplier_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('427471376619854', '3245145265', '94999792', '5', '250', '500', '480', '125000', '0', NULL, '125000', '0', '1'); # # TABLE STRUCTURE FOR: language # DROP TABLE IF EXISTS `language`; CREATE TABLE `language` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `phrase` text NOT NULL, `english` text, `bangla` text, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=510 DEFAULT CHARSET=utf8; INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('1', 'user_profile', 'User Profile', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('2', 'setting', 'Setting', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('3', 'language', 'Language', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('4', 'manage_users', 'Manage Users', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('5', 'add_user', 'Add User', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('6', 'manage_company', 'Manage Company', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('7', 'web_settings', 'Software Settings', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('8', 'manage_accounts', 'Manage Accounts', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('9', 'create_accounts', 'Create Office Account', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('10', 'manage_bank', 'Manage Bank', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('11', 'add_new_bank', 'Add New Bank', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('12', 'settings', 'Bank', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('13', 'closing_report', 'Closing Report', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('14', 'closing', 'Closing', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('15', 'cheque_manager', 'Cheque Manager', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('16', 'accounts_summary', 'Accounts Summary', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('17', 'expense', 'Expense', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('18', 'income', 'Income', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('19', 'accounts', 'Accounts', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('20', 'stock_report', 'Stock Report', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('21', 'stock', 'Stock', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('22', 'pos_invoice', 'POS Invoice', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('23', 'manage_invoice', 'Manage Invoice ', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('24', 'new_invoice', 'New Invoice', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('25', 'invoice', 'Invoice', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('26', 'manage_purchase', 'Manage Purchase', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('27', 'add_purchase', 'Add Purchase', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('28', 'purchase', 'Purchase', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('29', 'paid_customer', 'Paid Customer', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('30', 'manage_customer', 'Manage Customer', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('31', 'add_customer', 'Add Customer', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('32', 'customer', 'Customer', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('33', 'supplier_payment_actual', 'Supplier Payment Ledger', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('34', 'supplier_sales_summary', 'Supplier Sales Summary', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('35', 'supplier_sales_details', 'Supplier Sales Details', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('36', 'supplier_ledger', 'Supplier Ledger', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('37', 'manage_supplier', 'Manage Supplier', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('38', 'add_supplier', 'Add Supplier', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('39', 'supplier', 'Supplier', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('40', 'product_statement', 'Product Statement', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('41', 'manage_product', 'Manage Product', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('42', 'add_product', 'Add Product', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('43', 'product', 'Product', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('44', 'manage_category', 'Manage Category', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('45', 'add_category', 'Add Category', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('46', 'category', 'Category', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('47', 'sales_report_product_wise', 'Sales Report (Product Wise)', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('48', 'purchase_report', 'Purchase Report', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('49', 'sales_report', 'Sales Report', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('50', 'todays_report', 'Todays Report', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('51', 'report', 'Report', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('52', 'dashboard', 'Dashboard', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('53', 'online', 'Online', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('54', 'logout', 'Logout', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('55', 'change_password', 'Change Password', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('56', 'total_purchase', 'Total Purchase', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('57', 'total_amount', 'Total Amount', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('58', 'supplier_name', 'Supplier Name', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('59', 'invoice_no', 'Invoice No', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('60', 'purchase_date', 'Purchase Date', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('61', 'todays_purchase_report', 'Todays Purchase Report', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('62', 'total_sales', 'Total Sales', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('63', 'customer_name', 'Customer Name', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('64', 'sales_date', 'Sales Date', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('65', 'todays_sales_report', 'Todays Sales Report', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('66', 'home', 'Home', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('67', 'todays_sales_and_purchase_report', 'Todays sales and purchase report', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('68', 'total_ammount', 'Total Amount', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('69', 'rate', 'Rate', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('70', 'product_model', 'Product Model', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('71', 'product_name', 'Product Name', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('72', 'search', 'Search', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('73', 'end_date', 'End Date', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('74', 'start_date', 'Start Date', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('75', 'total_purchase_report', 'Total Purchase Report', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('76', 'total_sales_report', 'Total Sales Report', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('77', 'total_seles', 'Total Sales', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('78', 'all_stock_report', 'All Stock Report', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('79', 'search_by_product', 'Search By Product', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('80', 'date', 'Date', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('81', 'print', 'Print', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('82', 'stock_date', 'Stock Date', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('83', 'print_date', 'Print Date', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('84', 'sales', 'Sales', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('85', 'price', 'Price', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('86', 'sl', 'SL.', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('87', 'add_new_category', 'Add new category', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('88', 'category_name', 'Category Name', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('89', 'save', 'Save', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('90', 'delete', 'Delete', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('91', 'update', 'Update', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('92', 'action', 'Action', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('93', 'manage_your_category', 'Manage your category ', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('94', 'category_edit', 'Category Edit', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('95', 'status', 'Status', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('96', 'active', 'Active', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('97', 'inactive', 'Inactive', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('98', 'save_changes', 'Save Changes', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('99', 'save_and_add_another', 'Save And Add Another', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('100', 'model', 'Model', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('101', 'supplier_price', 'Supplier Price', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('102', 'sell_price', 'Sell Price', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('103', 'image', 'Image', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('104', 'select_one', 'Select One', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('105', 'details', 'Details', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('106', 'new_product', 'New Product', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('107', 'add_new_product', 'Add new product', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('108', 'barcode', 'Barcode', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('109', 'qr_code', 'Qr-Code', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('110', 'product_details', 'Product Details', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('111', 'manage_your_product', 'Manage your product', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('112', 'product_edit', 'Product Edit', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('113', 'edit_your_product', 'Edit your product', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('114', 'cancel', 'Cancel', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('115', 'incl_vat', 'Incl. Vat', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('116', 'money', 'TK', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('117', 'grand_total', 'Grand Total', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('118', 'quantity', 'Quantity', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('119', 'product_report', 'Product Report', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('120', 'product_sales_and_purchase_report', 'Product sales and purchase report', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('121', 'previous_stock', 'Previous Stock', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('122', 'out', 'Out', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('123', 'in', 'In', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('124', 'to', 'To', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('125', 'previous_balance', 'Previous Balance', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('126', 'customer_address', 'Customer Address', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('127', 'customer_mobile', 'Customer Mobile', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('128', 'customer_email', 'Customer Email', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('129', 'add_new_customer', 'Add new customer', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('130', 'balance', 'Balance', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('131', 'mobile', 'Mobile', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('132', 'address', 'Address', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('133', 'manage_your_customer', 'Manage your customer', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('134', 'customer_edit', 'Customer Edit', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('135', 'paid_customer_list', 'Paid Customer List', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('136', 'ammount', 'Amount', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('137', 'customer_ledger', 'Customer Ledger', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('138', 'manage_customer_ledger', 'Manage Customer Ledger', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('139', 'customer_information', 'Customer Information', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('140', 'debit_ammount', 'Debit Amount', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('141', 'credit_ammount', 'Credit Amount', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('142', 'balance_ammount', 'Balance Amount', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('143', 'receipt_no', 'Receipt NO', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('144', 'description', 'Description', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('145', 'debit', 'Debit', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('146', 'credit', 'Credit', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('147', 'item_information', 'Item Information', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('148', 'total', 'Total', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('149', 'please_select_supplier', 'Please Select Supplier', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('150', 'submit', 'Submit', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('151', 'submit_and_add_another', 'Submit And Add Another One', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('152', 'add_new_item', 'Add New Item', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('153', 'manage_your_purchase', 'Manage your purchase', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('154', 'purchase_edit', 'Purchase Edit', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('155', 'purchase_ledger', 'Purchase Ledger', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('156', 'invoice_information', 'Invoice Information', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('157', 'paid_ammount', 'Paid Amount', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('158', 'discount', 'Discount/Pcs.', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('159', 'save_and_paid', 'Save And Paid', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('160', 'payee_name', 'Payee Name', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('161', 'manage_your_invoice', 'Manage your invoice', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('162', 'invoice_edit', 'Invoice Edit', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('163', 'new_pos_invoice', 'New POS invoice', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('164', 'add_new_pos_invoice', 'Add new pos invoice', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('165', 'product_id', 'Product ID', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('166', 'paid_amount', 'Paid Amount', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('167', 'authorised_by', 'Authorised By', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('168', 'checked_by', 'Checked By', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('169', 'received_by', 'Received By', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('170', 'prepared_by', 'Prepared By', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('171', 'memo_no', 'Memo No', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('172', 'website', 'Website', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('173', 'email', 'Email', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('174', 'invoice_details', 'Invoice Details', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('175', 'reset', 'Reset', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('176', 'payment_account', 'Payment Account', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('177', 'bank_name', 'Bank Name', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('178', 'cheque_or_pay_order_no', 'Cheque/Pay Order No', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('179', 'payment_type', 'Payment Type', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('180', 'payment_from', 'Payment From', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('181', 'payment_date', 'Payment Date', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('182', 'add_income', 'Add Income', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('183', 'cash', 'Cash', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('184', 'cheque', 'Cheque', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('185', 'pay_order', 'Pay Order', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('186', 'payment_to', 'Payment To', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('187', 'total_outflow_ammount', 'Total Expense Amount', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('188', 'transections', 'Transections', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('189', 'accounts_name', 'Accounts Name', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('190', 'outflow_report', 'Expense Report', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('191', 'inflow_report', 'Income Report', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('192', 'all', 'All', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('193', 'account', 'Account', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('194', 'from', 'From', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('195', 'account_summary_report', 'Account Summary Report', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('196', 'search_by_date', 'Search By Date', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('197', 'cheque_no', 'Cheque No', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('198', 'name', 'Name', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('199', 'closing_account', 'Closing Account', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('200', 'close_your_account', 'Close your account', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('201', 'last_day_closing', 'Last Day Closing', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('202', 'cash_in', 'Cash In', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('203', 'cash_out', 'Cash Out', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('204', 'cash_in_hand', 'Cash In Hand', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('205', 'add_new_bank', 'Add New Bank', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('206', 'day_closing', 'Day Closing', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('207', 'account_closing_report', 'Account Closing Report', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('208', 'last_day_ammount', 'Last Day Amount', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('209', 'adjustment', 'Adjustment', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('210', 'pay_type', 'Pay Type', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('211', 'customer_or_supplier', 'Customer,Supplier Or Others', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('212', 'transection_id', 'Transections ID', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('213', 'accounts_summary_report', 'Accounts Summary Report', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('214', 'bank_list', 'Bank List', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('215', 'bank_edit', 'Bank Edit', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('216', 'debit_plus', 'Debit (+)', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('217', 'credit_minus', 'Credit (-)', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('218', 'account_name', 'Account Name', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('219', 'account_type', 'Account Type', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('220', 'account_real_name', 'Account Real Name', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('221', 'manage_account', 'Manage Account', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('222', 'company_name', 'Niha International', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('223', 'edit_your_company_information', 'Edit your company information', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('224', 'company_edit', 'Company Edit', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('225', 'admin', 'Admin', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('226', 'user', 'User', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('227', 'password', 'Password', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('228', 'last_name', 'Last Name', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('229', 'first_name', 'First Name', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('230', 'add_new_user_information', 'Add new user information', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('231', 'user_type', 'User Type', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('232', 'user_edit', 'User Edit', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('233', 'rtr', 'RTR', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('234', 'ltr', 'LTR', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('235', 'ltr_or_rtr', 'LTR/RTR', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('236', 'footer_text', 'Footer Text', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('237', 'favicon', 'Favicon', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('238', 'logo', 'Logo', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('239', 'update_setting', 'Update Setting', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('240', 'update_your_web_setting', 'Update your web setting', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('241', 'login', 'Login', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('242', 'your_strong_password', 'Your strong password', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('243', 'your_unique_email', 'Your unique email', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('244', 'please_enter_your_login_information', 'Please enter your login information.', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('245', 'update_profile', 'Update Profile', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('246', 'your_profile', 'Your Profile', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('247', 're_type_password', 'Re-Type Password', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('248', 'new_password', 'New Password', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('249', 'old_password', 'Old Password', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('250', 'new_information', 'New Information', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('251', 'old_information', 'Old Information', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('252', 'change_your_information', 'Change your information', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('253', 'change_your_profile', 'Change your profile', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('254', 'profile', 'Profile', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('255', 'wrong_username_or_password', 'Wrong User Name Or Password !', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('256', 'successfully_updated', 'Successfully Updated.', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('257', 'blank_field_does_not_accept', 'Blank Field Does Not Accept !', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('258', 'successfully_changed_password', 'Successfully changed password.', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('259', 'you_are_not_authorised_person', 'You are not authorised person !', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('260', 'password_and_repassword_does_not_match', 'Passwor and re-password does not match !', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('261', 'new_password_at_least_six_character', 'New Password At Least 6 Character.', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('262', 'you_put_wrong_email_address', 'You put wrong email address !', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('263', 'cheque_ammount_asjusted', 'Cheque amount adjusted.', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('264', 'successfully_payment_paid', 'Successfully Payment Paid.', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('265', 'successfully_added', 'Successfully Added.', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('266', 'successfully_updated_2_closing_ammount_not_changeale', 'Successfully Updated -2. Note: Closing Amount Not Changeable.', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('267', 'successfully_payment_received', 'Successfully Payment Received.', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('268', 'already_inserted', 'Already Inserted !', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('269', 'successfully_delete', 'Successfully Delete.', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('270', 'successfully_created', 'Successfully Created.', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('271', 'logo_not_uploaded', 'Logo not uploaded !', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('272', 'favicon_not_uploaded', 'Favicon not uploaded !', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('273', 'supplier_mobile', 'Supplier Mobile', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('274', 'supplier_address', 'Supplier Address', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('275', 'supplier_details', 'Supplier Details', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('276', 'add_new_supplier', 'Add New Supplier', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('277', 'manage_suppiler', 'Manage Supplier', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('278', 'manage_your_supplier', 'Manage your supplier', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('279', 'manage_supplier_ledger', 'Manage supplier ledger', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('280', 'invoice_id', 'Invoice ID', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('281', 'deposite_id', 'Deposite ID', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('282', 'supplier_actual_ledger', 'Supplier Actual Ledger', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('283', 'supplier_information', 'Supplier Information', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('284', 'event', 'Event', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('285', 'add_new_income', 'Add New Income', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('286', 'add_expese', 'Add Expense', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('287', 'add_new_expense', 'Add New Expense', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('288', 'total_inflow_ammount', 'Total Income Amount', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('289', 'create_new_invoice', 'Create New Invoice', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('290', 'create_pos_invoice', 'Create POS Invoice', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('291', 'total_profit', 'Total Profit', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('292', 'monthly_progress_report', 'Monthly Progress Report', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('293', 'total_invoice', 'Total Invoice', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('294', 'account_summary', 'Account Summary', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('295', 'total_supplier', 'Total Supplier', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('296', 'total_product', 'Total Product', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('297', 'total_customer', 'Total Customer', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('298', 'supplier_edit', 'Supplier Edit', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('299', 'add_new_invoice', 'Add New Invoice', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('300', 'add_new_purchase', 'Add new purchase', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('301', 'currency', 'Currency', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('302', 'currency_position', 'Currency Position', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('303', 'left', 'Left', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('304', 'right', 'Right', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('305', 'add_tax', 'Add Tax', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('306', 'manage_tax', 'Manage Tax', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('307', 'add_new_tax', 'Add new tax', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('308', 'enter_tax', 'Enter Tax', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('309', 'already_exists', 'Already Exists !', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('310', 'successfully_inserted', 'Successfully Inserted.', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('311', 'tax', 'Tax', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('312', 'tax_edit', 'Tax Edit', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('313', 'product_not_added', 'Product not added !', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('314', 'total_tax', 'Total Tax', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('315', 'manage_your_supplier_details', 'Manage your supplier details.', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('316', 'invoice_description', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('317', 'thank_you_for_choosing_us', 'Thank you very much for choosing us.', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('318', 'billing_date', 'Billing Date', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('319', 'billing_to', 'Billing To', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('320', 'billing_from', 'Billing From', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('321', 'you_cant_delete_this_product', 'Sorry !! You can\'t delete this product.This product already used in calculation system!', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('322', 'old_customer', 'Old Customer', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('323', 'new_customer', 'New Customer', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('324', 'new_supplier', 'New Supplier', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('325', 'old_supplier', 'Old Supplier', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('326', 'credit_customer', 'Credit Customer', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('327', 'account_already_exists', 'This Account Already Exists !', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('328', 'edit_income', 'Edit Income', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('329', 'you_are_not_access_this_part', 'You are not authorised person !', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('330', 'account_edit', 'Account Edit', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('331', 'due', 'Due', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('332', 'expense_edit', 'Expense Edit', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('333', 'please_select_customer', 'Please select customer !', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('334', 'profit_report', 'Profit Report (Invoice Wise)', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('335', 'total_profit_report', 'Total profit report', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('336', 'please_enter_valid_captcha', 'Please enter valid captcha.', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('337', 'category_not_selected', 'Category not selected.', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('338', 'supplier_not_selected', 'Supplier not selected.', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('339', 'please_select_product', 'Please select product.', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('340', 'product_model_already_exist', 'Product model already exist !', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('341', 'invoice_logo', 'Invoice Logo', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('342', 'available_ctn', 'Available Ctn.', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('343', 'you_can_not_buy_greater_than_available_cartoon', 'You can not select grater than available cartoon !', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('344', 'customer_details', 'Customer details', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('345', 'manage_customer_details', 'Manage customer details.', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('346', 'site_key', 'Captcha Site Key', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('347', 'secret_key', 'Captcha Secret Key', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('348', 'captcha', 'Captcha', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('349', 'cartoon_quantity', 'Carton Quantity', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('350', 'total_cartoon', 'Total Cartoon', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('351', 'cartoon', 'Carton', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('352', 'item_cartoon', 'Item/Cartoon', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('353', 'product_and_supplier_did_not_match', 'Product and supplier did not match !', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('354', 'if_you_update_purchase_first_select_supplier_then_product_and_then_cartoon', 'If you update purchase,first select supplier then product and then update cartoon.', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('355', 'item', 'Item', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('356', 'manage_your_credit_customer', 'Manage your credit customer', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('357', 'total_quantity', 'Total Quantity', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('358', 'quantity_per_cartoon', 'Quantity per carton', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('359', 'barcode_qrcode_scan_here', 'Barcode or QR-code scan here', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('360', 'synchronizer_setting', 'Synchronizer Setting', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('361', 'data_synchronizer', 'Data Synchronizer', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('362', 'hostname', 'Host name', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('363', 'username', 'User Name', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('364', 'ftp_port', 'FTP Port', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('365', 'ftp_debug', 'FTP Debug', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('366', 'project_root', 'Project Root', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('367', 'please_try_again', 'Please try again', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('368', 'save_successfully', 'Save successfully', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('369', 'synchronize', 'Synchronize', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('370', 'internet_connection', 'Internet Connection', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('371', 'outgoing_file', 'Outgoing File', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('372', 'incoming_file', 'Incoming File', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('373', 'ok', 'Ok', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('374', 'not_available', 'Not Available', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('375', 'available', 'Available', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('376', 'download_data_from_server', 'Download data from server', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('377', 'data_import_to_database', 'Data import to database', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('378', 'data_upload_to_server', 'Data uplod to server', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('379', 'please_wait', 'Please Wait', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('380', 'ooops_something_went_wrong', 'Oooops Something went wrong !', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('381', 'upload_successfully', 'Upload successfully', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('382', 'unable_to_upload_file_please_check_configuration', 'Unable to upload file please check configuration', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('383', 'please_configure_synchronizer_settings', 'Please configure synchronizer settings', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('384', 'download_successfully', 'Download successfully', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('385', 'unable_to_download_file_please_check_configuration', 'Unable to download file please check configuration', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('386', 'data_import_first', 'Data import past', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('387', 'data_import_successfully', 'Data import successfully', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('388', 'unable_to_import_data_please_check_config_or_sql_file', 'Unable to import data please check config or sql file', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('389', 'total_sale_ctn', 'Total Sale Ctn', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('390', 'in_ctn', 'In Ctn.', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('391', 'out_ctn', 'Out Ctn.', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('392', 'stock_report_supplier_wise', 'Stock Report (Supplier Wise)', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('393', 'all_stock_report_supplier_wise', 'Stock Report (Suppler Wise)', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('394', 'select_supplier', 'Select Supplier', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('395', 'stock_report_product_wise', 'Stock Report (Product Wise)', ''); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('396', 'phone', 'Phone', 'ফোন'); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('397', 'select_product', 'Select Product', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('398', 'in_quantity', 'In Qnty.', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('399', 'out_quantity', 'Out Qnty.', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('400', 'in_taka', 'In TK.', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('401', 'out_taka', 'Out TK.', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('402', 'commission', 'Commission', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('403', 'generate_commission', 'Generate Commssion', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('404', 'commission_rate', 'Commission Rate', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('405', 'total_ctn', 'Total Ctn.', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('406', 'per_pcs_commission', 'Per PCS Commission', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('407', 'total_commission', 'Total Commission', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('408', 'enter', 'Enter', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('409', 'please_add_walking_customer_for_default_customer', 'Please add \'Walking Customer\' for default customer.', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('410', 'supplier_ammount', 'Supplier Amount', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('411', 'my_sale_ammount', 'My Sale Amount', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('412', 'signature_pic', 'Signature Picture', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('413', 'branch', 'Branch', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('414', 'ac_no', 'A/C Number', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('415', 'ac_name', 'A/C Name', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('416', 'bank_debit_credit_manage', 'Bank Dr. And Cr. Manage', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('417', 'bank', 'Bank', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('418', 'withdraw_deposite_id', 'Withdraw / Deposite ID', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('419', 'bank_ledger', 'Bank Ledger', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('420', 'note_name', 'Note Name', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('421', 'pcs', 'Pcs.', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('422', '1', '1', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('423', '2', '2', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('424', '5', '5', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('425', '10', '10', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('426', '20', '20', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('427', '50', '50', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('428', '100', '100', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('429', '500', '500', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('430', '1000', '1000', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('431', 'total_discount', 'Total Discount', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('432', 'product_not_found', 'Product not found !', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('433', 'this_is_not_credit_customer', 'This is not credit customer !', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('434', 'personal_loan', 'Office Loan', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('435', 'add_person', 'Add Person', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('436', 'add_loan', 'Add Loan', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('437', 'add_payment', 'Add Payment', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('438', 'manage_person', 'Manage Person', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('439', 'personal_edit', 'Person Edit', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('440', 'person_ledger', 'Person Ledger', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('441', 'backup_restore', 'Backup and restore', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('442', 'database_backup', 'Database backup', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('443', 'file_information', 'File information', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('444', 'filename', 'Filename', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('445', 'size', 'Size', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('446', 'backup_date', 'Backup date', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('447', 'backup_now', 'Backup now', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('448', 'restore_now', 'Restore now', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('449', 'are_you_sure', 'Are you sure ?', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('450', 'download', 'Download', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('451', 'backup_and_restore', 'Backup and restore', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('452', 'backup_successfully', 'Backup successfully', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('453', 'delete_successfully', 'Delete successfully', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('454', 'stock_ctn', 'Stock/Qnt', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('455', 'unit', 'Unit', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('456', 'meter_m', 'Meter (M)', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('457', 'piece_pc', 'Piece (Pc)', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('458', 'kilogram_kg', 'Kilogram (Kg)', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('459', 'stock_cartoon', 'Stock Cartoon', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('460', 'add_product_csv', 'Add Product (CSV)', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('461', 'import_product_csv', 'Import product (CSV)', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('462', 'close', 'Close', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('463', 'download_example_file', 'Download example file.', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('464', 'upload_csv_file', 'Upload CSV File', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('465', 'csv_file_informaion', 'CSV File Information', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('466', 'out_of_stock', 'Out Of Stock', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('467', 'others', 'Others', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('468', 'full_paid', 'Full Paid', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('469', 'successfully_saved', 'Your Data Successfully Saved', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('470', 'manage_loan', 'Manage Loan', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('471', 'receipt', 'Receipt', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('472', 'payment', 'Payment', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('473', 'cashflow', 'Daily Cash Flow', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('474', 'signature', 'Signature', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('475', 'supplier_reports', 'Supplier Reports', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('476', 'generate', 'Generate', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('477', 'save_change', 'Save Change', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('478', 'loan_edit', 'Edit loan', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('479', 'ac_number', 'A/C Number', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('480', 'bank_transection', 'Bank transaction', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('481', 'total_purch_ctn', 'Total P Cartoon', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('482', 'supplier_actual_saleprice', 'Supplier Actual sales', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('483', 'supplier_payment_ledger', 'Supplier Payment', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('484', 'supplier_actual_ledger_sale', 'Supplier Actual Ledger(sale)', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('485', 'supplier_actual_ledger_sup', 'Supplier Actual Ledger(supplier)', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('486', 'supplier_payment', 'Supplier Payment', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('487', 'supplier_summary', 'Supplier Summary', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('488', 'create_account', 'Create Account', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('489', 'manage_transaction', 'Manage transaction', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('490', 'daily_summary', 'Daily Summary', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('491', 'daily_cashflow', 'Daily Cashflow', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('492', 'custom_report', 'Cutom report', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('493', 'transaction', 'Transaction', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('494', 'add_new_payment', 'Add new payment', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('495', 'add_receipt', 'Add receipt', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('496', 'add_new_receipt', 'Add new receipt', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('497', 'receipt_amount', 'Receipt amount', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('498', 'transaction_details', 'Transaction details', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('499', 'choose_transaction', 'Choose transaction', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('500', 'transaction_categry', 'Transaction Category', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('501', 'select_account', 'Select Account', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('502', 'transaction_mood', 'Transaction Mood', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('503', 'payment_amount', 'Payment Amount', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('504', 'personal_loan1', 'Personal Loan', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('505', 'company_name_label', 'Company name', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('506', 'root_account', 'Root Account', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('507', 'cash_receipt', 'Cash Receipt', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('508', 'customer_copy', 'Customer Copy', NULL); INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('509', 'office_copy', 'Office Copy', NULL); # # TABLE STRUCTURE FOR: notes # DROP TABLE IF EXISTS `notes`; CREATE TABLE `notes` ( `note_id` int(11) NOT NULL AUTO_INCREMENT, `cash_date` varchar(20) NOT NULL, `1000n` varchar(11) NOT NULL, `500n` varchar(11) NOT NULL, `100n` varchar(11) NOT NULL, `50n` varchar(11) NOT NULL, `20n` varchar(11) NOT NULL, `10n` varchar(11) NOT NULL, `5n` varchar(11) NOT NULL, `2n` varchar(11) NOT NULL, `1n` varchar(30) NOT NULL, `grandtotal` varchar(30) NOT NULL, PRIMARY KEY (`note_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; # # TABLE STRUCTURE FOR: outflow_1td1fz8uvv # DROP TABLE IF EXISTS `outflow_1td1fz8uvv`; CREATE TABLE `outflow_1td1fz8uvv` ( `transection_id` varchar(200) NOT NULL, `tracing_id` varchar(200) NOT NULL, `payment_type` varchar(10) NOT NULL, `date` varchar(255) NOT NULL, `amount` float NOT NULL, `description` varchar(255) NOT NULL, `status` int(5) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; # # TABLE STRUCTURE FOR: outflow_pt3vxiow9x # DROP TABLE IF EXISTS `outflow_pt3vxiow9x`; CREATE TABLE `outflow_pt3vxiow9x` ( `transection_id` varchar(200) NOT NULL, `tracing_id` varchar(200) NOT NULL, `payment_type` varchar(10) NOT NULL, `date` varchar(255) NOT NULL, `amount` float NOT NULL, `description` varchar(255) NOT NULL, `status` int(5) NOT NULL, PRIMARY KEY (`transection_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; # # TABLE STRUCTURE FOR: person_information # DROP TABLE IF EXISTS `person_information`; CREATE TABLE `person_information` ( `person_id` varchar(50) NOT NULL, `person_name` varchar(50) NOT NULL, `person_phone` varchar(50) NOT NULL, `person_address` text NOT NULL, `status` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; INSERT INTO `person_information` (`person_id`, `person_name`, `person_phone`, `person_address`, `status`) VALUES ('ZS9HP78AKG', 'Hannan', '0546546546', 'Sundorban Squre Super Market\r\nFirst Floor ,Shop # A15/16A ', '1'); INSERT INTO `person_information` (`person_id`, `person_name`, `person_phone`, `person_address`, `status`) VALUES ('JGC4153QPL', 'Faruk', '0184646516', 'Sundorban Squre Super Market\r\n', '1'); INSERT INTO `person_information` (`person_id`, `person_name`, `person_phone`, `person_address`, `status`) VALUES ('X396ZOTDXS', 'Test', '8768767657', '', '1'); INSERT INTO `person_information` (`person_id`, `person_name`, `person_phone`, `person_address`, `status`) VALUES ('KU4VAMILU6', 'ahmads', '43535345345', 'dfgdfgd', '1'); # # TABLE STRUCTURE FOR: person_ledger # DROP TABLE IF EXISTS `person_ledger`; CREATE TABLE `person_ledger` ( `transaction_id` varchar(50) NOT NULL, `person_id` varchar(50) NOT NULL, `date` varchar(50) NOT NULL, `debit` float NOT NULL, `credit` float NOT NULL, `details` text NOT NULL, `status` int(11) NOT NULL COMMENT '1=no paid,2=paid' ) ENGINE=InnoDB DEFAULT CHARSET=utf8; INSERT INTO `person_ledger` (`transaction_id`, `person_id`, `date`, `debit`, `credit`, `details`, `status`) VALUES ('B41QDCC3A2TY5JM', 'JGC4153QPL', '26-10-2017', '0', '12000', '', '2'); # # TABLE STRUCTURE FOR: personal_loan # DROP TABLE IF EXISTS `personal_loan`; CREATE TABLE `personal_loan` ( `per_loan_id` int(11) NOT NULL AUTO_INCREMENT, `transaction_id` varchar(30) NOT NULL, `person_id` varchar(30) NOT NULL, `debit` float NOT NULL, `credit` float NOT NULL, `date` varchar(30) NOT NULL, `details` varchar(100) NOT NULL, `status` int(11) NOT NULL COMMENT '1=no paid,2=paid', PRIMARY KEY (`per_loan_id`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; INSERT INTO `personal_loan` (`per_loan_id`, `transaction_id`, `person_id`, `debit`, `credit`, `date`, `details`, `status`) VALUES ('1', 'GNQS3SFKNQ', 'L1PMD8G982', '10000', '0', '25-10-2017', 'Cash', '1'); # # TABLE STRUCTURE FOR: product_category # DROP TABLE IF EXISTS `product_category`; CREATE TABLE `product_category` ( `category_id` varchar(255) DEFAULT NULL, `category_name` varchar(255) DEFAULT NULL, `status` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; INSERT INTO `product_category` (`category_id`, `category_name`, `status`) VALUES ('B7DFWBPPJM8X3OG', 'Electronics', '1'); INSERT INTO `product_category` (`category_id`, `category_name`, `status`) VALUES ('NIIYM6HERG6F57O', 'Food', '1'); INSERT INTO `product_category` (`category_id`, `category_name`, `status`) VALUES ('HOTLTE7GVXUDAB9', 'Cloths', '1'); INSERT INTO `product_category` (`category_id`, `category_name`, `status`) VALUES ('JWVIQBI1CIRUWJC', 'Mobile', '1'); # # TABLE STRUCTURE FOR: product_information # DROP TABLE IF EXISTS `product_information`; CREATE TABLE `product_information` ( `product_id` varchar(100) NOT NULL, `supplier_id` varchar(255) NOT NULL, `category_id` varchar(255) DEFAULT NULL, `product_name` varchar(255) NOT NULL, `price` float NOT NULL, `supplier_price` float DEFAULT NULL, `unit` varchar(50) DEFAULT NULL, `cartoon_quantity` int(11) DEFAULT NULL, `tax` float DEFAULT NULL, `product_model` varchar(100) NOT NULL, `product_details` varchar(255) NOT NULL, `image` varchar(255) DEFAULT NULL, `status` int(2) NOT NULL, PRIMARY KEY (`product_id`), UNIQUE KEY `product_model` (`product_model`), UNIQUE KEY `product_model_2` (`product_model`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; INSERT INTO `product_information` (`product_id`, `supplier_id`, `category_id`, `product_name`, `price`, `supplier_price`, `unit`, `cartoon_quantity`, `tax`, `product_model`, `product_details`, `image`, `status`) VALUES ('63853613', 'E674MTLPNV55PK67QHT4', '', 'Sunmoon', '220', '210', NULL, '40', '0', 'SM-771', '30 LED', 'http://www.farukandbrothers.com/my-assets/image/product.png', '1'); INSERT INTO `product_information` (`product_id`, `supplier_id`, `category_id`, `product_name`, `price`, `supplier_price`, `unit`, `cartoon_quantity`, `tax`, `product_model`, `product_details`, `image`, `status`) VALUES ('83517747', 'E674MTLPNV55PK67QHT4', '', 'Sunmoon', '680', '670', NULL, '24', '0', 'SM-781', '63 LED', 'http://www.farukandbrothers.com/my-assets/image/product.png', '1'); INSERT INTO `product_information` (`product_id`, `supplier_id`, `category_id`, `product_name`, `price`, `supplier_price`, `unit`, `cartoon_quantity`, `tax`, `product_model`, `product_details`, `image`, `status`) VALUES ('43238874', 'E674MTLPNV55PK67QHT4', '', 'Sunmoon', '98', '90', NULL, '120', '0', 'SM-8607', 'Torch', 'http://www.farukandbrothers.com/my-assets/image/product.png', '1'); INSERT INTO `product_information` (`product_id`, `supplier_id`, `category_id`, `product_name`, `price`, `supplier_price`, `unit`, `cartoon_quantity`, `tax`, `product_model`, `product_details`, `image`, `status`) VALUES ('13177442', 'E674MTLPNV55PK67QHT4', '', 'Sunmoon', '230', '220', NULL, '50', '0', 'SM-378A', 'BAT ', 'http://www.farukandbrothers.com/my-assets/image/product.png', '1'); INSERT INTO `product_information` (`product_id`, `supplier_id`, `category_id`, `product_name`, `price`, `supplier_price`, `unit`, `cartoon_quantity`, `tax`, `product_model`, `product_details`, `image`, `status`) VALUES ('19226752', '5I6N5LC8ZXDREA9CC3ZW', '', 'FOCUS', '210', '200', NULL, '60', '0', 'SF-6901', '48 LED ', 'http://www.farukandbrothers.com/my-assets/image/product.png', '1'); INSERT INTO `product_information` (`product_id`, `supplier_id`, `category_id`, `product_name`, `price`, `supplier_price`, `unit`, `cartoon_quantity`, `tax`, `product_model`, `product_details`, `image`, `status`) VALUES ('63775648', '5I6N5LC8ZXDREA9CC3ZW', '', 'FOCUS', '210', '200', NULL, '60', '0', 'SF-7602T', '48 LED', 'http://www.farukandbrothers.com/my-assets/image/product.png', '1'); INSERT INTO `product_information` (`product_id`, `supplier_id`, `category_id`, `product_name`, `price`, `supplier_price`, `unit`, `cartoon_quantity`, `tax`, `product_model`, `product_details`, `image`, `status`) VALUES ('97255764', '5I6N5LC8ZXDREA9CC3ZW', '', 'FOCUS', '190', '180', NULL, '40', '0', 'SF-6904', '30 LED', 'http://www.farukandbrothers.com/my-assets/image/product.png', '1'); INSERT INTO `product_information` (`product_id`, `supplier_id`, `category_id`, `product_name`, `price`, `supplier_price`, `unit`, `cartoon_quantity`, `tax`, `product_model`, `product_details`, `image`, `status`) VALUES ('67197783', '5I6N5LC8ZXDREA9CC3ZW', '', 'FOCUS', '280', '260', NULL, '20', '0', 'SF-6905', '70 LED', 'http://www.farukandbrothers.com/my-assets/image/product.png', '1'); INSERT INTO `product_information` (`product_id`, `supplier_id`, `category_id`, `product_name`, `price`, `supplier_price`, `unit`, `cartoon_quantity`, `tax`, `product_model`, `product_details`, `image`, `status`) VALUES ('94999792', 'V2GZ82OM42GWVKKCMIHN', 'NIIYM6HERG6F57O', 'Apple', '500', '480', NULL, '50', '0', 'DE453', '', 'http://wholesalenew.bdtask.com/my-assets/image/product/600fddeea44a61d533367704e7c66091.jpg', '1'); INSERT INTO `product_information` (`product_id`, `supplier_id`, `category_id`, `product_name`, `price`, `supplier_price`, `unit`, `cartoon_quantity`, `tax`, `product_model`, `product_details`, `image`, `status`) VALUES ('86815584', 'PQXZV8ZUXUZPN3N4S2WC', 'B7DFWBPPJM8X3OG', 'light', '500', '460', NULL, '60', '0', 'SED675', '', 'http://wholesalenew.bdtask.com/my-assets/image/product/b776823e01ebcac8d7b945620f6fca4d.jpeg', '1'); INSERT INTO `product_information` (`product_id`, `supplier_id`, `category_id`, `product_name`, `price`, `supplier_price`, `unit`, `cartoon_quantity`, `tax`, `product_model`, `product_details`, `image`, `status`) VALUES ('84662895', 'IOYDTFVIFMD8JQ7Z38OO', 'JWVIQBI1CIRUWJC', 'Mobile', '6000', '5600', NULL, '60', '0', 'GTY543', '', 'http://wholesalenew.bdtask.com/my-assets/image/product/b13be8233444ebf4d63f13475192136c.png', '1'); INSERT INTO `product_information` (`product_id`, `supplier_id`, `category_id`, `product_name`, `price`, `supplier_price`, `unit`, `cartoon_quantity`, `tax`, `product_model`, `product_details`, `image`, `status`) VALUES ('67988258', 'E674MTLPNV55PK67QHT4', 'B7DFWBPPJM8X3OG', 'Laptop', '7000', '6000', NULL, '30', '0', 'VFR453', '', 'http://wholesalenew.bdtask.com/my-assets/image/product/34620917a7a18bbbd62ea0a59aba06dd.jpg', '1'); # # TABLE STRUCTURE FOR: product_purchase # DROP TABLE IF EXISTS `product_purchase`; CREATE TABLE `product_purchase` ( `purchase_id` varchar(100) NOT NULL, `chalan_no` varchar(100) NOT NULL, `supplier_id` varchar(100) NOT NULL, `grand_total_amount` float NOT NULL, `purchase_date` varchar(50) NOT NULL, `purchase_details` text NOT NULL, `status` int(2) NOT NULL, PRIMARY KEY (`purchase_id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; INSERT INTO `product_purchase` (`purchase_id`, `chalan_no`, `supplier_id`, `grand_total_amount`, `purchase_date`, `purchase_details`, `status`) VALUES ('20171025135016', '1213', 'E674MTLPNV55PK67QHT4', '8322000', '25-10-2017', 'Dimond Transport', '1'); INSERT INTO `product_purchase` (`purchase_id`, `chalan_no`, `supplier_id`, `grand_total_amount`, `purchase_date`, `purchase_details`, `status`) VALUES ('20171025135107', '10212', '5I6N5LC8ZXDREA9CC3ZW', '1560000', '25-10-2017', 'Moon light Transport', '1'); INSERT INTO `product_purchase` (`purchase_id`, `chalan_no`, `supplier_id`, `grand_total_amount`, `purchase_date`, `purchase_details`, `status`) VALUES ('20171025135549', '10213', '5I6N5LC8ZXDREA9CC3ZW', '3021200', '25-10-2017', 'moon Light Tranort', '1'); INSERT INTO `product_purchase` (`purchase_id`, `chalan_no`, `supplier_id`, `grand_total_amount`, `purchase_date`, `purchase_details`, `status`) VALUES ('20171026123424', '46567', 'E674MTLPNV55PK67QHT4', '108000', '26-10-2017', 'No des', '1'); INSERT INTO `product_purchase` (`purchase_id`, `chalan_no`, `supplier_id`, `grand_total_amount`, `purchase_date`, `purchase_details`, `status`) VALUES ('20171106140319', '56756', 'E674MTLPNV55PK67QHT4', '50400000', '06-11-2017', '', '1'); INSERT INTO `product_purchase` (`purchase_id`, `chalan_no`, `supplier_id`, `grand_total_amount`, `purchase_date`, `purchase_details`, `status`) VALUES ('20171106141024', '6457', 'V2GZ82OM42GWVKKCMIHN', '12000000', '06-11-2017', '', '1'); INSERT INTO `product_purchase` (`purchase_id`, `chalan_no`, `supplier_id`, `grand_total_amount`, `purchase_date`, `purchase_details`, `status`) VALUES ('20171106141503', '6578', 'E674MTLPNV55PK67QHT4', '54000', '06-11-2017', '', '1'); INSERT INTO `product_purchase` (`purchase_id`, `chalan_no`, `supplier_id`, `grand_total_amount`, `purchase_date`, `purchase_details`, `status`) VALUES ('20171106141537', '7563', 'PQXZV8ZUXUZPN3N4S2WC', '1932000', '06-11-2017', '', '1'); INSERT INTO `product_purchase` (`purchase_id`, `chalan_no`, `supplier_id`, `grand_total_amount`, `purchase_date`, `purchase_details`, `status`) VALUES ('20171106141736', '6756', 'IOYDTFVIFMD8JQ7Z38OO', '235200000', '06-11-2017', '', '1'); INSERT INTO `product_purchase` (`purchase_id`, `chalan_no`, `supplier_id`, `grand_total_amount`, `purchase_date`, `purchase_details`, `status`) VALUES ('20180403033926', '20002', '5I6N5LC8ZXDREA9CC3ZW', '128000', '03-04-2018', '', '1'); # # TABLE STRUCTURE FOR: product_purchase_details # DROP TABLE IF EXISTS `product_purchase_details`; CREATE TABLE `product_purchase_details` ( `purchase_detail_id` varchar(100) NOT NULL, `purchase_id` varchar(100) NOT NULL, `product_id` varchar(100) NOT NULL, `quantity` int(11) NOT NULL, `rate` float NOT NULL, `total_amount` float NOT NULL, `status` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8; INSERT INTO `product_purchase_details` (`purchase_detail_id`, `purchase_id`, `product_id`, `quantity`, `rate`, `total_amount`, `status`) VALUES ('BT9MiKFBw9efW6l', '20171025135016', '63853613', '4440', '210', '932400', '1'); INSERT INTO `product_purchase_details` (`purchase_detail_id`, `purchase_id`, `product_id`, `quantity`, `rate`, `total_amount`, `status`) VALUES ('EctpylCsUdsHjvb', '20171025135016', '83517747', '2880', '670', '1929600', '1'); INSERT INTO `product_purchase_details` (`purchase_detail_id`, `purchase_id`, `product_id`, `quantity`, `rate`, `total_amount`, `status`) VALUES ('rxxqBT1GXnF2Jcw', '20171025135016', '43238874', '24000', '90', '2160000', '1'); INSERT INTO `product_purchase_details` (`purchase_detail_id`, `purchase_id`, `product_id`, `quantity`, `rate`, `total_amount`, `status`) VALUES ('ugPeLDFOvZrehQQ', '20171025135016', '13177442', '15000', '220', '3300000', '1'); INSERT INTO `product_purchase_details` (`purchase_detail_id`, `purchase_id`, `product_id`, `quantity`, `rate`, `total_amount`, `status`) VALUES ('tzqQ0xSYfuzHta7', '20171025135107', '19226752', '7800', '200', '1560000', '1'); INSERT INTO `product_purchase_details` (`purchase_detail_id`, `purchase_id`, `product_id`, `quantity`, `rate`, `total_amount`, `status`) VALUES ('WheTkojPqigoex6', '20171025135549', '63775648', '9000', '200', '1800000', '1'); INSERT INTO `product_purchase_details` (`purchase_detail_id`, `purchase_id`, `product_id`, `quantity`, `rate`, `total_amount`, `status`) VALUES ('UxN7M3FofIS42fh', '20171025135549', '97255764', '400', '180', '72000', '1'); INSERT INTO `product_purchase_details` (`purchase_detail_id`, `purchase_id`, `product_id`, `quantity`, `rate`, `total_amount`, `status`) VALUES ('N2FqNpTv6CVbqyP', '20171025135549', '67197783', '4420', '260', '1149200', '1'); INSERT INTO `product_purchase_details` (`purchase_detail_id`, `purchase_id`, `product_id`, `quantity`, `rate`, `total_amount`, `status`) VALUES ('t1QtO6j65NZO09R', '20171026123424', '43238874', '1200', '90', '108000', '1'); INSERT INTO `product_purchase_details` (`purchase_detail_id`, `purchase_id`, `product_id`, `quantity`, `rate`, `total_amount`, `status`) VALUES ('bG7pIeDWHY3zeFu', '20171106140319', '63853613', '240000', '210', '50400000', '1'); INSERT INTO `product_purchase_details` (`purchase_detail_id`, `purchase_id`, `product_id`, `quantity`, `rate`, `total_amount`, `status`) VALUES ('8tMJPpR7FH7VcrF', '20171106141024', '94999792', '25000', '480', '12000000', '1'); INSERT INTO `product_purchase_details` (`purchase_detail_id`, `purchase_id`, `product_id`, `quantity`, `rate`, `total_amount`, `status`) VALUES ('1cZYAghmI5GJfRa', '20171106141503', '43238874', '600', '90', '54000', '1'); INSERT INTO `product_purchase_details` (`purchase_detail_id`, `purchase_id`, `product_id`, `quantity`, `rate`, `total_amount`, `status`) VALUES ('quqnJgDIlyaJoCB', '20171106141537', '86815584', '4200', '460', '1932000', '1'); INSERT INTO `product_purchase_details` (`purchase_detail_id`, `purchase_id`, `product_id`, `quantity`, `rate`, `total_amount`, `status`) VALUES ('chIdDo51AO2WA0S', '20171106141736', '84662895', '42000', '5600', '235200000', '1'); INSERT INTO `product_purchase_details` (`purchase_detail_id`, `purchase_id`, `product_id`, `quantity`, `rate`, `total_amount`, `status`) VALUES ('hZbwRP9CazU8AkV', '20180403033926', '97255764', '40', '200', '8000', '1'); INSERT INTO `product_purchase_details` (`purchase_detail_id`, `purchase_id`, `product_id`, `quantity`, `rate`, `total_amount`, `status`) VALUES ('bbFQjdobvB15KUP', '20180403033926', '63775648', '60', '100', '120000', '1'); # # TABLE STRUCTURE FOR: product_report # DROP TABLE IF EXISTS `product_report`; CREATE ALGORITHM=UNDEFINED DEFINER=`wholesal_musv1`@`localhost` SQL SECURITY DEFINER VIEW `product_report` AS select `purchase_report`.`purchase_date` AS `date`,`purchase_report`.`product_id` AS `product_id`,`purchase_report`.`quantity` AS `quantity`,`purchase_report`.`rate` AS `rate`,`purchase_report`.`total_amount` AS `total_amount`,'a' AS `account` from `purchase_report` union all select `sales_report`.`date` AS `date`,`sales_report`.`product_id` AS `product_id`,-(`sales_report`.`quantity`) AS `-quantity`,`sales_report`.`supplier_rate` AS `rate`,(`sales_report`.`quantity` * `sales_report`.`supplier_rate`) AS `total_amount`,'b' AS `account` from `sales_report`; latin1_swedish_ci; INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('25-10-2017', '63853613', '4440', '210', '932400', 'a'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('25-10-2017', '83517747', '2880', '670', '1929600', 'a'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('25-10-2017', '43238874', '24000', '90', '2160000', 'a'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('25-10-2017', '13177442', '15000', '220', '3300000', 'a'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('25-10-2017', '19226752', '7800', '200', '1560000', 'a'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('25-10-2017', '63775648', '9000', '200', '1800000', 'a'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('25-10-2017', '97255764', '400', '180', '72000', 'a'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('25-10-2017', '67197783', '4420', '260', '1149200', 'a'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('26-10-2017', '43238874', '1200', '90', '108000', 'a'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('06-11-2017', '63853613', '240000', '210', '50400000', 'a'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('06-11-2017', '94999792', '25000', '480', '12000000', 'a'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('06-11-2017', '43238874', '600', '90', '54000', 'a'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('06-11-2017', '86815584', '4200', '460', '1932000', 'a'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('06-11-2017', '84662895', '42000', '5600', '235200000', 'a'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('03-04-2018', '97255764', '40', '200', '8000', 'a'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('03-04-2018', '63775648', '60', '100', '120000', 'a'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('25-10-2017', '63853613', '-120', '210', '25200', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('25-10-2017', '19226752', '-120', '200', '24000', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('25-10-2017', '63775648', '-180', '200', '36000', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('25-10-2017', '83517747', '-120', '670', '80400', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('25-10-2017', '13177442', '-500', '220', '110000', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('25-10-2017', '97255764', '-80', '180', '14400', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('25-10-2017', '67197783', '-40', '260', '10400', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('25-10-2017', '63853613', '-40', '210', '8400', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('25-10-2017', '19226752', '-60', '200', '12000', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('25-10-2017', '83517747', '-48', '670', '32160', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('25-10-2017', '43238874', '-240', '90', '21600', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('25-10-2017', '97255764', '-80', '180', '14400', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('25-10-2017', '19226752', '-60', '200', '12000', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('25-10-2017', '67197783', '-60', '260', '15600', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('25-10-2017', '13177442', '-250', '220', '55000', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('25-10-2017', '19226752', '-600', '200', '120000', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('25-10-2017', '63775648', '-180', '200', '36000', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('25-10-2017', '97255764', '-40', '180', '7200', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('25-10-2017', '43238874', '-1200', '90', '108000', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('26-10-2017', '63853613', '-120', '210', '25200', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('26-10-2017', '83517747', '-72', '670', '48240', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('26-10-2017', '63853613', '-160', '210', '33600', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('26-10-2017', '63853613', '-160', '210', '33600', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('26-10-2017', '63853613', '-160', '210', '33600', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('26-10-2017', '63853613', '-160', '210', '33600', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('26-10-2017', '63853613', '-3520', '210', '739200', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('26-10-2017', '13177442', '-50', '220', '11000', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('26-10-2017', '13177442', '-50', '220', '11000', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('26-10-2017', '43238874', '-360', '90', '32400', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('26-10-2017', '43238874', '-360', '90', '32400', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('26-10-2017', '43238874', '-360', '90', '32400', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('26-10-2017', '83517747', '-48', '670', '32160', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('26-10-2017', '83517747', '-48', '670', '32160', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('26-10-2017', '13177442', '-150', '220', '33000', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('26-10-2017', '83517747', '-72', '670', '48240', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('26-10-2017', '83517747', '-72', '670', '48240', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('27-10-2017', '83517747', '-72', '670', '48240', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('27-10-2017', '13177442', '-100', '220', '22000', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('27-10-2017', '83517747', '-72', '670', '48240', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('27-10-2017', '13177442', '-100', '220', '22000', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('27-10-2017', '63775648', '-180', '200', '36000', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('27-10-2017', '83517747', '-120', '670', '80400', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('27-10-2017', '43238874', '-360', '90', '32400', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('27-10-2017', '97255764', '-80', '180', '14400', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('27-10-2017', '97255764', '-40', '180', '7200', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('27-10-2017', '67197783', '-120', '260', '31200', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('27-10-2017', '63775648', '-180', '200', '36000', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('27-10-2017', '63775648', '-300', '200', '60000', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('27-10-2017', '63775648', '-240', '200', '48000', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('01-11-2017', '13177442', '-100', '220', '22000', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('01-11-2017', '13177442', '-100', '220', '22000', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('01-11-2017', '83517747', '-48', '670', '32160', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('01-11-2017', '83517747', '-72', '670', '48240', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('01-11-2017', '83517747', '-72', '670', '48240', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('01-11-2017', '13177442', '-100', '220', '22000', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('02-11-2017', '43238874', '-720', '90', '64800', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('04-11-2017', '19226752', '-300', '200', '60000', 'b'); INSERT INTO `product_report` (`date`, `product_id`, `quantity`, `rate`, `total_amount`, `account`) VALUES ('06-11-2017', '94999792', '-250', '480', '120000', 'b'); # # TABLE STRUCTURE FOR: product_supplier # DROP TABLE IF EXISTS `product_supplier`; CREATE ALGORITHM=UNDEFINED DEFINER=`wholesal_musv1`@`localhost` SQL SECURITY DEFINER VIEW `product_supplier` AS select `b`.`product_id` AS `product_id`,`c`.`product_name` AS `product_name`,`c`.`product_model` AS `product_model`,`a`.`supplier_id` AS `supplier_id` from ((`product_purchase` `a` join `product_purchase_details` `b`) join `product_information` `c`) where ((`a`.`purchase_id` = `b`.`purchase_id`) and (`c`.`product_id` = `b`.`product_id`)) group by `b`.`product_id`; latin1_swedish_ci; INSERT INTO `product_supplier` (`product_id`, `product_name`, `product_model`, `supplier_id`) VALUES ('13177442', 'Sunmoon', 'SM-378A', 'E674MTLPNV55PK67QHT4'); INSERT INTO `product_supplier` (`product_id`, `product_name`, `product_model`, `supplier_id`) VALUES ('19226752', 'FOCUS', 'SF-6901', '5I6N5LC8ZXDREA9CC3ZW'); INSERT INTO `product_supplier` (`product_id`, `product_name`, `product_model`, `supplier_id`) VALUES ('43238874', 'Sunmoon', 'SM-8607', 'E674MTLPNV55PK67QHT4'); INSERT INTO `product_supplier` (`product_id`, `product_name`, `product_model`, `supplier_id`) VALUES ('63775648', 'FOCUS', 'SF-7602T', '5I6N5LC8ZXDREA9CC3ZW'); INSERT INTO `product_supplier` (`product_id`, `product_name`, `product_model`, `supplier_id`) VALUES ('63853613', 'Sunmoon', 'SM-771', 'E674MTLPNV55PK67QHT4'); INSERT INTO `product_supplier` (`product_id`, `product_name`, `product_model`, `supplier_id`) VALUES ('67197783', 'FOCUS', 'SF-6905', '5I6N5LC8ZXDREA9CC3ZW'); INSERT INTO `product_supplier` (`product_id`, `product_name`, `product_model`, `supplier_id`) VALUES ('83517747', 'Sunmoon', 'SM-781', 'E674MTLPNV55PK67QHT4'); INSERT INTO `product_supplier` (`product_id`, `product_name`, `product_model`, `supplier_id`) VALUES ('84662895', 'Mobile', 'GTY543', 'IOYDTFVIFMD8JQ7Z38OO'); INSERT INTO `product_supplier` (`product_id`, `product_name`, `product_model`, `supplier_id`) VALUES ('86815584', 'light', 'SED675', 'PQXZV8ZUXUZPN3N4S2WC'); INSERT INTO `product_supplier` (`product_id`, `product_name`, `product_model`, `supplier_id`) VALUES ('94999792', 'Apple', 'DE453', 'V2GZ82OM42GWVKKCMIHN'); INSERT INTO `product_supplier` (`product_id`, `product_name`, `product_model`, `supplier_id`) VALUES ('97255764', 'FOCUS', 'SF-6904', '5I6N5LC8ZXDREA9CC3ZW'); # # TABLE STRUCTURE FOR: purchase_report # DROP TABLE IF EXISTS `purchase_report`; CREATE ALGORITHM=UNDEFINED DEFINER=`wholesal_musv1`@`localhost` SQL SECURITY DEFINER VIEW `purchase_report` AS select `product_purchase`.`purchase_date` AS `purchase_date`,`product_purchase`.`chalan_no` AS `chalan_no`,`product_purchase`.`supplier_id` AS `supplier_id`,`product_purchase_details`.`purchase_detail_id` AS `purchase_detail_id`,`product_purchase_details`.`purchase_id` AS `purchase_id`,`product_purchase_details`.`product_id` AS `product_id`,`product_purchase_details`.`quantity` AS `quantity`,`product_purchase_details`.`rate` AS `rate`,`product_purchase_details`.`total_amount` AS `total_amount`,`product_purchase_details`.`status` AS `status` from (`product_purchase_details` left join `product_purchase` on((`product_purchase_details`.`purchase_id` = `product_purchase`.`purchase_id`))); latin1_swedish_ci; INSERT INTO `purchase_report` (`purchase_date`, `chalan_no`, `supplier_id`, `purchase_detail_id`, `purchase_id`, `product_id`, `quantity`, `rate`, `total_amount`, `status`) VALUES ('25-10-2017', '1213', 'E674MTLPNV55PK67QHT4', 'BT9MiKFBw9efW6l', '20171025135016', '63853613', '4440', '210', '932400', '1'); INSERT INTO `purchase_report` (`purchase_date`, `chalan_no`, `supplier_id`, `purchase_detail_id`, `purchase_id`, `product_id`, `quantity`, `rate`, `total_amount`, `status`) VALUES ('25-10-2017', '1213', 'E674MTLPNV55PK67QHT4', 'EctpylCsUdsHjvb', '20171025135016', '83517747', '2880', '670', '1929600', '1'); INSERT INTO `purchase_report` (`purchase_date`, `chalan_no`, `supplier_id`, `purchase_detail_id`, `purchase_id`, `product_id`, `quantity`, `rate`, `total_amount`, `status`) VALUES ('25-10-2017', '1213', 'E674MTLPNV55PK67QHT4', 'rxxqBT1GXnF2Jcw', '20171025135016', '43238874', '24000', '90', '2160000', '1'); INSERT INTO `purchase_report` (`purchase_date`, `chalan_no`, `supplier_id`, `purchase_detail_id`, `purchase_id`, `product_id`, `quantity`, `rate`, `total_amount`, `status`) VALUES ('25-10-2017', '1213', 'E674MTLPNV55PK67QHT4', 'ugPeLDFOvZrehQQ', '20171025135016', '13177442', '15000', '220', '3300000', '1'); INSERT INTO `purchase_report` (`purchase_date`, `chalan_no`, `supplier_id`, `purchase_detail_id`, `purchase_id`, `product_id`, `quantity`, `rate`, `total_amount`, `status`) VALUES ('25-10-2017', '10212', '5I6N5LC8ZXDREA9CC3ZW', 'tzqQ0xSYfuzHta7', '20171025135107', '19226752', '7800', '200', '1560000', '1'); INSERT INTO `purchase_report` (`purchase_date`, `chalan_no`, `supplier_id`, `purchase_detail_id`, `purchase_id`, `product_id`, `quantity`, `rate`, `total_amount`, `status`) VALUES ('25-10-2017', '10213', '5I6N5LC8ZXDREA9CC3ZW', 'WheTkojPqigoex6', '20171025135549', '63775648', '9000', '200', '1800000', '1'); INSERT INTO `purchase_report` (`purchase_date`, `chalan_no`, `supplier_id`, `purchase_detail_id`, `purchase_id`, `product_id`, `quantity`, `rate`, `total_amount`, `status`) VALUES ('25-10-2017', '10213', '5I6N5LC8ZXDREA9CC3ZW', 'UxN7M3FofIS42fh', '20171025135549', '97255764', '400', '180', '72000', '1'); INSERT INTO `purchase_report` (`purchase_date`, `chalan_no`, `supplier_id`, `purchase_detail_id`, `purchase_id`, `product_id`, `quantity`, `rate`, `total_amount`, `status`) VALUES ('25-10-2017', '10213', '5I6N5LC8ZXDREA9CC3ZW', 'N2FqNpTv6CVbqyP', '20171025135549', '67197783', '4420', '260', '1149200', '1'); INSERT INTO `purchase_report` (`purchase_date`, `chalan_no`, `supplier_id`, `purchase_detail_id`, `purchase_id`, `product_id`, `quantity`, `rate`, `total_amount`, `status`) VALUES ('26-10-2017', '46567', 'E674MTLPNV55PK67QHT4', 't1QtO6j65NZO09R', '20171026123424', '43238874', '1200', '90', '108000', '1'); INSERT INTO `purchase_report` (`purchase_date`, `chalan_no`, `supplier_id`, `purchase_detail_id`, `purchase_id`, `product_id`, `quantity`, `rate`, `total_amount`, `status`) VALUES ('06-11-2017', '56756', 'E674MTLPNV55PK67QHT4', 'bG7pIeDWHY3zeFu', '20171106140319', '63853613', '240000', '210', '50400000', '1'); INSERT INTO `purchase_report` (`purchase_date`, `chalan_no`, `supplier_id`, `purchase_detail_id`, `purchase_id`, `product_id`, `quantity`, `rate`, `total_amount`, `status`) VALUES ('06-11-2017', '6457', 'V2GZ82OM42GWVKKCMIHN', '8tMJPpR7FH7VcrF', '20171106141024', '94999792', '25000', '480', '12000000', '1'); INSERT INTO `purchase_report` (`purchase_date`, `chalan_no`, `supplier_id`, `purchase_detail_id`, `purchase_id`, `product_id`, `quantity`, `rate`, `total_amount`, `status`) VALUES ('06-11-2017', '6578', 'E674MTLPNV55PK67QHT4', '1cZYAghmI5GJfRa', '20171106141503', '43238874', '600', '90', '54000', '1'); INSERT INTO `purchase_report` (`purchase_date`, `chalan_no`, `supplier_id`, `purchase_detail_id`, `purchase_id`, `product_id`, `quantity`, `rate`, `total_amount`, `status`) VALUES ('06-11-2017', '7563', 'PQXZV8ZUXUZPN3N4S2WC', 'quqnJgDIlyaJoCB', '20171106141537', '86815584', '4200', '460', '1932000', '1'); INSERT INTO `purchase_report` (`purchase_date`, `chalan_no`, `supplier_id`, `purchase_detail_id`, `purchase_id`, `product_id`, `quantity`, `rate`, `total_amount`, `status`) VALUES ('06-11-2017', '6756', 'IOYDTFVIFMD8JQ7Z38OO', 'chIdDo51AO2WA0S', '20171106141736', '84662895', '42000', '5600', '235200000', '1'); INSERT INTO `purchase_report` (`purchase_date`, `chalan_no`, `supplier_id`, `purchase_detail_id`, `purchase_id`, `product_id`, `quantity`, `rate`, `total_amount`, `status`) VALUES ('03-04-2018', '20002', '5I6N5LC8ZXDREA9CC3ZW', 'hZbwRP9CazU8AkV', '20180403033926', '97255764', '40', '200', '8000', '1'); INSERT INTO `purchase_report` (`purchase_date`, `chalan_no`, `supplier_id`, `purchase_detail_id`, `purchase_id`, `product_id`, `quantity`, `rate`, `total_amount`, `status`) VALUES ('03-04-2018', '20002', '5I6N5LC8ZXDREA9CC3ZW', 'bbFQjdobvB15KUP', '20180403033926', '63775648', '60', '100', '120000', '1'); # # TABLE STRUCTURE FOR: sales_actual # DROP TABLE IF EXISTS `sales_actual`; CREATE ALGORITHM=UNDEFINED DEFINER=`wholesal_musv1`@`localhost` SQL SECURITY DEFINER VIEW `sales_actual` AS select `sales_report`.`date` AS `DATE`,`sales_report`.`supplier_id` AS `supplier_id`,sum((`sales_report`.`quantity` * -(`sales_report`.`supplier_rate`))) AS `sub_total`,sum(`sales_report`.`cartoon`) AS `no_transection` from `sales_report` group by `sales_report`.`date`,`sales_report`.`supplier_id` union all select `supplier_ledger`.`date` AS `date`,`supplier_ledger`.`supplier_id` AS `supplier_id`,`supplier_ledger`.`amount` AS `sub_total`,`supplier_ledger`.`description` AS `no_transection` from `supplier_ledger` where isnull(`supplier_ledger`.`chalan_no`) group by `supplier_ledger`.`date`,`supplier_ledger`.`description`,`supplier_ledger`.`supplier_id`; latin1_swedish_ci; INSERT INTO `sales_actual` (`DATE`, `supplier_id`, `sub_total`, `no_transection`) VALUES ('01-11-2017', 'E674MTLPNV55PK67QHT4', '-194640', '14'); INSERT INTO `sales_actual` (`DATE`, `supplier_id`, `sub_total`, `no_transection`) VALUES ('02-11-2017', 'E674MTLPNV55PK67QHT4', '-64800', '6'); INSERT INTO `sales_actual` (`DATE`, `supplier_id`, `sub_total`, `no_transection`) VALUES ('04-11-2017', '5I6N5LC8ZXDREA9CC3ZW', '-60000', '5'); INSERT INTO `sales_actual` (`DATE`, `supplier_id`, `sub_total`, `no_transection`) VALUES ('06-11-2017', 'V2GZ82OM42GWVKKCMIHN', '-120000', '5'); INSERT INTO `sales_actual` (`DATE`, `supplier_id`, `sub_total`, `no_transection`) VALUES ('25-10-2017', '5I6N5LC8ZXDREA9CC3ZW', '-302000', '32'); INSERT INTO `sales_actual` (`DATE`, `supplier_id`, `sub_total`, `no_transection`) VALUES ('25-10-2017', 'E674MTLPNV55PK67QHT4', '-440760', '38'); INSERT INTO `sales_actual` (`DATE`, `supplier_id`, `sub_total`, `no_transection`) VALUES ('26-10-2017', 'E674MTLPNV55PK67QHT4', '-1260040', '134'); INSERT INTO `sales_actual` (`DATE`, `supplier_id`, `sub_total`, `no_transection`) VALUES ('27-10-2017', '5I6N5LC8ZXDREA9CC3ZW', '-232800', '24'); INSERT INTO `sales_actual` (`DATE`, `supplier_id`, `sub_total`, `no_transection`) VALUES ('27-10-2017', 'E674MTLPNV55PK67QHT4', '-253280', '18'); INSERT INTO `sales_actual` (`DATE`, `supplier_id`, `sub_total`, `no_transection`) VALUES ('25-10-2017', '5I6N5LC8ZXDREA9CC3ZW', '200', ''); INSERT INTO `sales_actual` (`DATE`, `supplier_id`, `sub_total`, `no_transection`) VALUES ('25-10-2017', 'E674MTLPNV55PK67QHT4', '500', ''); INSERT INTO `sales_actual` (`DATE`, `supplier_id`, `sub_total`, `no_transection`) VALUES ('27-10-2017', '5I6N5LC8ZXDREA9CC3ZW', '2017', ''); INSERT INTO `sales_actual` (`DATE`, `supplier_id`, `sub_total`, `no_transection`) VALUES ('30-10-2017', 'E674MTLPNV55PK67QHT4', '300', 'This is supplier payment test'); # # TABLE STRUCTURE FOR: sales_report # DROP TABLE IF EXISTS `sales_report`; CREATE ALGORITHM=UNDEFINED DEFINER=`wholesal_musv1`@`localhost` SQL SECURITY DEFINER VIEW `sales_report` AS select `b`.`date` AS `date`,`b`.`invoice_id` AS `invoice_id`,`a`.`invoice_details_id` AS `invoice_details_id`,`b`.`customer_id` AS `customer_id`,`c`.`supplier_id` AS `supplier_id`,`a`.`product_id` AS `product_id`,`c`.`product_model` AS `product_model`,`c`.`product_name` AS `product_name`,`a`.`cartoon` AS `cartoon`,`a`.`quantity` AS `quantity`,`a`.`rate` AS `sell_rate`,`a`.`supplier_rate` AS `supplier_rate` from ((`invoice_details` `a` join `invoice` `b`) join `product_supplier` `c`) where ((`a`.`invoice_id` = `b`.`invoice_id`) and (`a`.`product_id` = `c`.`product_id`)); latin1_swedish_ci; INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('25-10-2017', '5352642796', '322178286179275', 'JMVQJWU1FAEQHI5', 'E674MTLPNV55PK67QHT4', '63853613', 'SM-771', 'Sunmoon', '3', '120', '220', '210'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('25-10-2017', '5352642796', '461138664737916', 'JMVQJWU1FAEQHI5', '5I6N5LC8ZXDREA9CC3ZW', '19226752', 'SF-6901', 'FOCUS', '2', '120', '210', '200'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('25-10-2017', '5352642796', '538746555262178', 'JMVQJWU1FAEQHI5', '5I6N5LC8ZXDREA9CC3ZW', '63775648', 'SF-7602T', 'FOCUS', '3', '180', '210', '200'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('25-10-2017', '5352642796', '515528485757447', 'JMVQJWU1FAEQHI5', 'E674MTLPNV55PK67QHT4', '83517747', 'SM-781', 'Sunmoon', '5', '120', '680', '670'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('25-10-2017', '5352642796', '191964519925133', 'JMVQJWU1FAEQHI5', 'E674MTLPNV55PK67QHT4', '13177442', 'SM-378A', 'Sunmoon', '10', '500', '230', '220'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('25-10-2017', '5352642796', '974425263638473', 'JMVQJWU1FAEQHI5', '5I6N5LC8ZXDREA9CC3ZW', '97255764', 'SF-6904', 'FOCUS', '2', '80', '190', '180'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('25-10-2017', '5352642796', '172267628511124', 'JMVQJWU1FAEQHI5', '5I6N5LC8ZXDREA9CC3ZW', '67197783', 'SF-6905', 'FOCUS', '2', '40', '280', '260'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('25-10-2017', '2212884554', '341884428717359', 'HS28Q2LCDZHWDS5', 'E674MTLPNV55PK67QHT4', '63853613', 'SM-771', 'Sunmoon', '1', '40', '220', '210'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('25-10-2017', '2212884554', '828275396474739', 'HS28Q2LCDZHWDS5', '5I6N5LC8ZXDREA9CC3ZW', '19226752', 'SF-6901', 'FOCUS', '1', '60', '210', '200'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('25-10-2017', '2212884554', '253232673444278', 'HS28Q2LCDZHWDS5', 'E674MTLPNV55PK67QHT4', '83517747', 'SM-781', 'Sunmoon', '2', '48', '680', '670'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('25-10-2017', '2212884554', '151868497135417', 'HS28Q2LCDZHWDS5', 'E674MTLPNV55PK67QHT4', '43238874', 'SM-8607', 'Sunmoon', '2', '240', '98', '90'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('25-10-2017', '2212884554', '323645793137454', 'HS28Q2LCDZHWDS5', '5I6N5LC8ZXDREA9CC3ZW', '97255764', 'SF-6904', 'FOCUS', '2', '80', '190', '180'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('25-10-2017', '2212884554', '359346175888428', 'HS28Q2LCDZHWDS5', '5I6N5LC8ZXDREA9CC3ZW', '19226752', 'SF-6901', 'FOCUS', '3', '60', '280', '200'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('25-10-2017', '2212884554', '259414983286931', 'HS28Q2LCDZHWDS5', '5I6N5LC8ZXDREA9CC3ZW', '67197783', 'SF-6905', 'FOCUS', '3', '60', '280', '260'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('25-10-2017', '2212884554', '355388986574316', 'HS28Q2LCDZHWDS5', 'E674MTLPNV55PK67QHT4', '13177442', 'SM-378A', 'Sunmoon', '5', '250', '230', '220'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('25-10-2017', '1662246136', '958533333455387', 'F34YNOU3TJSAO67', '5I6N5LC8ZXDREA9CC3ZW', '19226752', 'SF-6901', 'FOCUS', '10', '600', '210', '200'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('25-10-2017', '1662246136', '149154221344846', 'F34YNOU3TJSAO67', '5I6N5LC8ZXDREA9CC3ZW', '63775648', 'SF-7602T', 'FOCUS', '3', '180', '210', '200'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('25-10-2017', '1662246136', '531484717942579', 'F34YNOU3TJSAO67', '5I6N5LC8ZXDREA9CC3ZW', '97255764', 'SF-6904', 'FOCUS', '1', '40', '190', '180'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('25-10-2017', '6678792612', '636596177883366', 'YWYINLCAIU4Z7YA', 'E674MTLPNV55PK67QHT4', '43238874', 'SM-8607', 'Sunmoon', '10', '1200', '98', '90'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('26-10-2017', '1979956835', '155631728614396', 'JMVQJWU1FAEQHI5', 'E674MTLPNV55PK67QHT4', '63853613', 'SM-771', 'Sunmoon', '3', '120', '220', '210'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('26-10-2017', '2191413693', '722242451482752', 'F34YNOU3TJSAO67', 'E674MTLPNV55PK67QHT4', '83517747', 'SM-781', 'Sunmoon', '3', '72', '680', '670'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('26-10-2017', '6476889255', '885926554243267', 'HS28Q2LCDZHWDS5', 'E674MTLPNV55PK67QHT4', '63853613', 'SM-771', 'Sunmoon', '4', '160', '220', '210'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('26-10-2017', '1441514161', '444871815965462', 'HS28Q2LCDZHWDS5', 'E674MTLPNV55PK67QHT4', '63853613', 'SM-771', 'Sunmoon', '4', '160', '220', '210'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('26-10-2017', '1161734131', '322374389453755', 'HS28Q2LCDZHWDS5', 'E674MTLPNV55PK67QHT4', '63853613', 'SM-771', 'Sunmoon', '4', '160', '220', '210'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('26-10-2017', '4672383343', '556411868186321', 'HS28Q2LCDZHWDS5', 'E674MTLPNV55PK67QHT4', '63853613', 'SM-771', 'Sunmoon', '4', '160', '220', '210'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('26-10-2017', '9455792915', '826966992472672', 'F34YNOU3TJSAO67', 'E674MTLPNV55PK67QHT4', '63853613', 'SM-771', 'Sunmoon', '88', '3520', '220', '210'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('26-10-2017', '6391267778', '994156449435622', '8ZBLA3COJM2NT49', 'E674MTLPNV55PK67QHT4', '13177442', 'SM-378A', 'Sunmoon', '1', '50', '230', '220'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('26-10-2017', '5717642987', '966516411331947', '8ZBLA3COJM2NT49', 'E674MTLPNV55PK67QHT4', '13177442', 'SM-378A', 'Sunmoon', '1', '50', '230', '220'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('26-10-2017', '4124575573', '338971382639286', 'F34YNOU3TJSAO67', 'E674MTLPNV55PK67QHT4', '43238874', 'SM-8607', 'Sunmoon', '3', '360', '98', '90'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('26-10-2017', '1824634358', '855473555817233', 'F34YNOU3TJSAO67', 'E674MTLPNV55PK67QHT4', '43238874', 'SM-8607', 'Sunmoon', '3', '360', '98', '90'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('26-10-2017', '5866553993', '854171667212512', 'F34YNOU3TJSAO67', 'E674MTLPNV55PK67QHT4', '43238874', 'SM-8607', 'Sunmoon', '3', '360', '98', '90'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('26-10-2017', '2827821423', '861626717588631', 'JMVQJWU1FAEQHI5', 'E674MTLPNV55PK67QHT4', '83517747', 'SM-781', 'Sunmoon', '2', '48', '680', '670'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('26-10-2017', '1593665589', '773365631369671', 'JMVQJWU1FAEQHI5', 'E674MTLPNV55PK67QHT4', '83517747', 'SM-781', 'Sunmoon', '2', '48', '680', '670'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('26-10-2017', '5696739753', '273843313886851', '8ZBLA3COJM2NT49', 'E674MTLPNV55PK67QHT4', '13177442', 'SM-378A', 'Sunmoon', '3', '150', '230', '220'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('26-10-2017', '5577868966', '795182712765868', 'F34YNOU3TJSAO67', 'E674MTLPNV55PK67QHT4', '83517747', 'SM-781', 'Sunmoon', '3', '72', '680', '670'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('26-10-2017', '8771668649', '478889756713676', 'JMVQJWU1FAEQHI5', 'E674MTLPNV55PK67QHT4', '83517747', 'SM-781', 'Sunmoon', '3', '72', '680', '670'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('27-10-2017', '3276699692', '693281518267137', 'JMVQJWU1FAEQHI5', 'E674MTLPNV55PK67QHT4', '83517747', 'SM-781', 'Sunmoon', '3', '72', '680', '670'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('27-10-2017', '3276699692', '238761538477495', 'JMVQJWU1FAEQHI5', 'E674MTLPNV55PK67QHT4', '13177442', 'SM-378A', 'Sunmoon', '2', '100', '230', '220'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('27-10-2017', '1612663242', '927958128274588', 'F34YNOU3TJSAO67', 'E674MTLPNV55PK67QHT4', '83517747', 'SM-781', 'Sunmoon', '3', '72', '680', '670'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('27-10-2017', '1612663242', '649728331918776', 'F34YNOU3TJSAO67', 'E674MTLPNV55PK67QHT4', '13177442', 'SM-378A', 'Sunmoon', '2', '100', '230', '220'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('27-10-2017', '2838558471', '149766959794642', 'F34YNOU3TJSAO67', '5I6N5LC8ZXDREA9CC3ZW', '63775648', 'SF-7602T', 'FOCUS', '3', '180', '210', '200'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('27-10-2017', '2838558471', '713779457157324', 'F34YNOU3TJSAO67', 'E674MTLPNV55PK67QHT4', '83517747', 'SM-781', 'Sunmoon', '5', '120', '680', '670'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('27-10-2017', '8332727433', '454162994166898', 'F34YNOU3TJSAO67', 'E674MTLPNV55PK67QHT4', '43238874', 'SM-8607', 'Sunmoon', '3', '360', '98', '90'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('27-10-2017', '8861346923', '536964741874475', 'JMVQJWU1FAEQHI5', '5I6N5LC8ZXDREA9CC3ZW', '97255764', 'SF-6904', 'FOCUS', '2', '80', '190', '180'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('27-10-2017', '1315834339', '838522543126448', '8ZBLA3COJM2NT49', '5I6N5LC8ZXDREA9CC3ZW', '97255764', 'SF-6904', 'FOCUS', '1', '40', '190', '180'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('27-10-2017', '6812413211', '715781472513723', '8ZBLA3COJM2NT49', '5I6N5LC8ZXDREA9CC3ZW', '67197783', 'SF-6905', 'FOCUS', '6', '120', '280', '260'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('27-10-2017', '2841757611', '587342536611462', 'JMVQJWU1FAEQHI5', '5I6N5LC8ZXDREA9CC3ZW', '63775648', 'SF-7602T', 'FOCUS', '3', '180', '210', '200'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('27-10-2017', '2841757611', '442888991481135', 'JMVQJWU1FAEQHI5', '5I6N5LC8ZXDREA9CC3ZW', '63775648', 'SF-7602T', 'FOCUS', '5', '300', '210', '200'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('27-10-2017', '2841757611', '773417659329356', 'JMVQJWU1FAEQHI5', '5I6N5LC8ZXDREA9CC3ZW', '63775648', 'SF-7602T', 'FOCUS', '4', '240', '210', '200'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('01-11-2017', '4895264789', '678866231252864', '8ZBLA3COJM2NT49', 'E674MTLPNV55PK67QHT4', '13177442', 'SM-378A', 'Sunmoon', '2', '100', '230', '220'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('01-11-2017', '6766863919', '795166525155278', '8ZBLA3COJM2NT49', 'E674MTLPNV55PK67QHT4', '13177442', 'SM-378A', 'Sunmoon', '2', '100', '230', '220'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('01-11-2017', '3524631422', '631275173539193', '8ZBLA3COJM2NT49', 'E674MTLPNV55PK67QHT4', '83517747', 'SM-781', 'Sunmoon', '2', '48', '680', '670'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('01-11-2017', '2955339992', '445173368791781', '8ZBLA3COJM2NT49', 'E674MTLPNV55PK67QHT4', '83517747', 'SM-781', 'Sunmoon', '3', '72', '680', '670'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('01-11-2017', '7774413469', '811287854294549', '8ZBLA3COJM2NT49', 'E674MTLPNV55PK67QHT4', '83517747', 'SM-781', 'Sunmoon', '3', '72', '680', '670'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('01-11-2017', '8829776633', '476215996973536', '8ZBLA3COJM2NT49', 'E674MTLPNV55PK67QHT4', '13177442', 'SM-378A', 'Sunmoon', '2', '100', '230', '220'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('02-11-2017', '9928459451', '771221723624248', '8ZBLA3COJM2NT49', 'E674MTLPNV55PK67QHT4', '43238874', 'SM-8607', 'Sunmoon', '6', '720', '98', '90'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('04-11-2017', '8914637431', '291532368921455', '8ZBLA3COJM2NT49', '5I6N5LC8ZXDREA9CC3ZW', '19226752', 'SF-6901', 'FOCUS', '5', '300', '210', '200'); INSERT INTO `sales_report` (`date`, `invoice_id`, `invoice_details_id`, `customer_id`, `supplier_id`, `product_id`, `product_model`, `product_name`, `cartoon`, `quantity`, `sell_rate`, `supplier_rate`) VALUES ('06-11-2017', '3245145265', '427471376619854', 'JMVQJWU1FAEQHI5', 'V2GZ82OM42GWVKKCMIHN', '94999792', 'DE453', 'Apple', '5', '250', '500', '480'); # # TABLE STRUCTURE FOR: stock_history # DROP TABLE IF EXISTS `stock_history`; CREATE ALGORITHM=UNDEFINED DEFINER=`wholesal_musv1`@`localhost` SQL SECURITY DEFINER VIEW `stock_history` AS select `invoice`.`date` AS `vdate`,`invoice_details`.`product_id` AS `product_id`,sum(`invoice_details`.`quantity`) AS `sell`,0 AS `Purchase` from (`invoice_details` join `invoice` on((`invoice_details`.`invoice_id` = `invoice`.`invoice_id`))) group by `invoice_details`.`product_id`,`invoice`.`date` union select `product_purchase`.`purchase_date` AS `purchase_date`,`product_purchase_details`.`product_id` AS `product_id`,0 AS `0`,sum(`product_purchase_details`.`quantity`) AS `purchase` from (`product_purchase_details` join `product_purchase` on((`product_purchase_details`.`purchase_id` = `product_purchase`.`purchase_id`))) group by `product_purchase_details`.`product_id`,`product_purchase`.`purchase_date`; latin1_swedish_ci; INSERT INTO `stock_history` (`vdate`, `product_id`, `sell`, `Purchase`) VALUES ('02-11-2017', '', '600', '0'); INSERT INTO `stock_history` (`vdate`, `product_id`, `sell`, `Purchase`) VALUES ('01-11-2017', '13177442', '300', '0'); INSERT INTO `stock_history` (`vdate`, `product_id`, `sell`, `Purchase`) VALUES ('25-10-2017', '13177442', '750', '0'); INSERT INTO `stock_history` (`vdate`, `product_id`, `sell`, `Purchase`) VALUES ('26-10-2017', '13177442', '250', '0'); INSERT INTO `stock_history` (`vdate`, `product_id`, `sell`, `Purchase`) VALUES ('27-10-2017', '13177442', '200', '0'); INSERT INTO `stock_history` (`vdate`, `product_id`, `sell`, `Purchase`) VALUES ('04-11-2017', '19226752', '300', '0'); INSERT INTO `stock_history` (`vdate`, `product_id`, `sell`, `Purchase`) VALUES ('25-10-2017', '19226752', '840', '0'); INSERT INTO `stock_history` (`vdate`, `product_id`, `sell`, `Purchase`) VALUES ('02-11-2017', '43238874', '720', '0'); INSERT INTO `stock_history` (`vdate`, `product_id`, `sell`, `Purchase`) VALUES ('25-10-2017', '43238874', '1440', '0'); INSERT INTO `stock_history` (`vdate`, `product_id`, `sell`, `Purchase`) VALUES ('26-10-2017', '43238874', '1080', '0'); INSERT INTO `stock_history` (`vdate`, `product_id`, `sell`, `Purchase`) VALUES ('27-10-2017', '43238874', '360', '0'); INSERT INTO `stock_history` (`vdate`, `product_id`, `sell`, `Purchase`) VALUES ('25-10-2017', '63775648', '360', '0'); INSERT INTO `stock_history` (`vdate`, `product_id`, `sell`, `Purchase`) VALUES ('27-10-2017', '63775648', '900', '0'); INSERT INTO `stock_history` (`vdate`, `product_id`, `sell`, `Purchase`) VALUES ('25-10-2017', '63853613', '160', '0'); INSERT INTO `stock_history` (`vdate`, `product_id`, `sell`, `Purchase`) VALUES ('26-10-2017', '63853613', '4280', '0'); INSERT INTO `stock_history` (`vdate`, `product_id`, `sell`, `Purchase`) VALUES ('25-10-2017', '67197783', '100', '0'); INSERT INTO `stock_history` (`vdate`, `product_id`, `sell`, `Purchase`) VALUES ('27-10-2017', '67197783', '120', '0'); INSERT INTO `stock_history` (`vdate`, `product_id`, `sell`, `Purchase`) VALUES ('01-11-2017', '83517747', '192', '0'); INSERT INTO `stock_history` (`vdate`, `product_id`, `sell`, `Purchase`) VALUES ('25-10-2017', '83517747', '168', '0'); INSERT INTO `stock_history` (`vdate`, `product_id`, `sell`, `Purchase`) VALUES ('26-10-2017', '83517747', '312', '0'); INSERT INTO `stock_history` (`vdate`, `product_id`, `sell`, `Purchase`) VALUES ('27-10-2017', '83517747', '264', '0'); INSERT INTO `stock_history` (`vdate`, `product_id`, `sell`, `Purchase`) VALUES ('06-11-2017', '94999792', '250', '0'); INSERT INTO `stock_history` (`vdate`, `product_id`, `sell`, `Purchase`) VALUES ('25-10-2017', '97255764', '200', '0'); INSERT INTO `stock_history` (`vdate`, `product_id`, `sell`, `Purchase`) VALUES ('27-10-2017', '97255764', '120', '0'); INSERT INTO `stock_history` (`vdate`, `product_id`, `sell`, `Purchase`) VALUES ('25-10-2017', '13177442', '0', '15000'); INSERT INTO `stock_history` (`vdate`, `product_id`, `sell`, `Purchase`) VALUES ('25-10-2017', '19226752', '0', '7800'); INSERT INTO `stock_history` (`vdate`, `product_id`, `sell`, `Purchase`) VALUES ('06-11-2017', '43238874', '0', '600'); INSERT INTO `stock_history` (`vdate`, `product_id`, `sell`, `Purchase`) VALUES ('25-10-2017', '43238874', '0', '24000'); INSERT INTO `stock_history` (`vdate`, `product_id`, `sell`, `Purchase`) VALUES ('26-10-2017', '43238874', '0', '1200'); INSERT INTO `stock_history` (`vdate`, `product_id`, `sell`, `Purchase`) VALUES ('03-04-2018', '63775648', '0', '60'); INSERT INTO `stock_history` (`vdate`, `product_id`, `sell`, `Purchase`) VALUES ('25-10-2017', '63775648', '0', '9000'); INSERT INTO `stock_history` (`vdate`, `product_id`, `sell`, `Purchase`) VALUES ('06-11-2017', '63853613', '0', '240000'); INSERT INTO `stock_history` (`vdate`, `product_id`, `sell`, `Purchase`) VALUES ('25-10-2017', '63853613', '0', '4440'); INSERT INTO `stock_history` (`vdate`, `product_id`, `sell`, `Purchase`) VALUES ('25-10-2017', '67197783', '0', '4420'); INSERT INTO `stock_history` (`vdate`, `product_id`, `sell`, `Purchase`) VALUES ('25-10-2017', '83517747', '0', '2880'); INSERT INTO `stock_history` (`vdate`, `product_id`, `sell`, `Purchase`) VALUES ('06-11-2017', '84662895', '0', '42000'); INSERT INTO `stock_history` (`vdate`, `product_id`, `sell`, `Purchase`) VALUES ('06-11-2017', '86815584', '0', '4200'); INSERT INTO `stock_history` (`vdate`, `product_id`, `sell`, `Purchase`) VALUES ('06-11-2017', '94999792', '0', '25000'); INSERT INTO `stock_history` (`vdate`, `product_id`, `sell`, `Purchase`) VALUES ('03-04-2018', '97255764', '0', '40'); INSERT INTO `stock_history` (`vdate`, `product_id`, `sell`, `Purchase`) VALUES ('25-10-2017', '97255764', '0', '400'); # # TABLE STRUCTURE FOR: supplier_information # DROP TABLE IF EXISTS `supplier_information`; CREATE TABLE `supplier_information` ( `supplier_id` varchar(100) NOT NULL, `supplier_name` varchar(255) NOT NULL, `address` varchar(255) NOT NULL, `mobile` varchar(100) NOT NULL, `details` varchar(255) NOT NULL, `status` int(2) NOT NULL, KEY `supplier_id` (`supplier_id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; INSERT INTO `supplier_information` (`supplier_id`, `supplier_name`, `address`, `mobile`, `details`, `status`) VALUES ('5I6N5LC8ZXDREA9CC3ZW', 'Easy Global Trading Ltd.', 'Uttara,Dhaka\r\nBangladesh', '05114645651', 'Focus', '1'); INSERT INTO `supplier_information` (`supplier_id`, `supplier_name`, `address`, `mobile`, `details`, `status`) VALUES ('E674MTLPNV55PK67QHT4', 'Al Faisal International', 'Chittagong ', '1352412454', 'Sunmoon', '1'); INSERT INTO `supplier_information` (`supplier_id`, `supplier_name`, `address`, `mobile`, `details`, `status`) VALUES ('PQXZV8ZUXUZPN3N4S2WC', 'Moral Kemi', '76 Newyork, Denmark', '187654345767', '', '1'); INSERT INTO `supplier_information` (`supplier_id`, `supplier_name`, `address`, `mobile`, `details`, `status`) VALUES ('IOYDTFVIFMD8JQ7Z38OO', 'Johan Doye', '98 Green Road,Farmgate', '569856784357', '', '1'); INSERT INTO `supplier_information` (`supplier_id`, `supplier_name`, `address`, `mobile`, `details`, `status`) VALUES ('V2GZ82OM42GWVKKCMIHN', 'ibram Kholi', '78 Green Road, Dhaka', '880178965423', '', '1'); # # TABLE STRUCTURE FOR: supplier_ledger # DROP TABLE IF EXISTS `supplier_ledger`; CREATE TABLE `supplier_ledger` ( `transaction_id` varchar(100) NOT NULL, `supplier_id` varchar(100) NOT NULL, `chalan_no` varchar(100) DEFAULT NULL, `deposit_no` varchar(50) DEFAULT NULL, `amount` float NOT NULL, `description` varchar(255) NOT NULL, `payment_type` varchar(255) NOT NULL, `cheque_no` varchar(255) NOT NULL, `date` varchar(50) NOT NULL, `status` int(2) NOT NULL, KEY `receipt_no` (`deposit_no`), KEY `receipt_no_2` (`deposit_no`), KEY `receipt_no_3` (`deposit_no`), KEY `receipt_no_4` (`deposit_no`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; INSERT INTO `supplier_ledger` (`transaction_id`, `supplier_id`, `chalan_no`, `deposit_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('20171025135016', 'E674MTLPNV55PK67QHT4', '1213', NULL, '8322000', 'Dimond Transport', '', '', '25-10-2017', '1'); INSERT INTO `supplier_ledger` (`transaction_id`, `supplier_id`, `chalan_no`, `deposit_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('20171025135107', '5I6N5LC8ZXDREA9CC3ZW', '10212', NULL, '0', 'Moon light Transport', '', '', '25-10-2017', '1'); INSERT INTO `supplier_ledger` (`transaction_id`, `supplier_id`, `chalan_no`, `deposit_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('20171025135549', '5I6N5LC8ZXDREA9CC3ZW', '10213', NULL, '1872000', 'moon Light Tranort', '', '', '25-10-2017', '1'); INSERT INTO `supplier_ledger` (`transaction_id`, `supplier_id`, `chalan_no`, `deposit_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('4LZA5EQOJKEMMS4', 'E674MTLPNV55PK67QHT4', NULL, 'C7LLC9GMYH', '500', '', '1', '', '25-10-2017', '1'); INSERT INTO `supplier_ledger` (`transaction_id`, `supplier_id`, `chalan_no`, `deposit_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('PJP3UHZDMOFPK66', '5I6N5LC8ZXDREA9CC3ZW', NULL, 'VPQCLLSV2L', '200', '', '1', '', '25-10-2017', '1'); INSERT INTO `supplier_ledger` (`transaction_id`, `supplier_id`, `chalan_no`, `deposit_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('20171026123424', 'E674MTLPNV55PK67QHT4', '46567', NULL, '108000', 'No des', '', '', '26-10-2017', '1'); INSERT INTO `supplier_ledger` (`transaction_id`, `supplier_id`, `chalan_no`, `deposit_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('D4PDQL36WENO5YE', '5I6N5LC8ZXDREA9CC3ZW', NULL, 'RQUHUDKOSM', '2017', '', '1', '', '27-10-2017', '1'); INSERT INTO `supplier_ledger` (`transaction_id`, `supplier_id`, `chalan_no`, `deposit_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('VHLV1CJWVRVNR2J', 'E674MTLPNV55PK67QHT4', NULL, 'B4UPMTBV8T', '300', 'This is supplier payment test', '1', '', '30-10-2017', '1'); INSERT INTO `supplier_ledger` (`transaction_id`, `supplier_id`, `chalan_no`, `deposit_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('20171106140319', 'E674MTLPNV55PK67QHT4', '56756', NULL, '50400000', '', '', '', '06-11-2017', '1'); INSERT INTO `supplier_ledger` (`transaction_id`, `supplier_id`, `chalan_no`, `deposit_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('20171106141024', 'V2GZ82OM42GWVKKCMIHN', '6457', NULL, '12000000', '', '', '', '06-11-2017', '1'); INSERT INTO `supplier_ledger` (`transaction_id`, `supplier_id`, `chalan_no`, `deposit_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('20171106141503', 'E674MTLPNV55PK67QHT4', '6578', NULL, '54000', '', '', '', '06-11-2017', '1'); INSERT INTO `supplier_ledger` (`transaction_id`, `supplier_id`, `chalan_no`, `deposit_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('20171106141537', 'PQXZV8ZUXUZPN3N4S2WC', '7563', NULL, '1932000', '', '', '', '06-11-2017', '1'); INSERT INTO `supplier_ledger` (`transaction_id`, `supplier_id`, `chalan_no`, `deposit_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('20171106141736', 'IOYDTFVIFMD8JQ7Z38OO', '6756', NULL, '235200000', '', '', '', '06-11-2017', '1'); INSERT INTO `supplier_ledger` (`transaction_id`, `supplier_id`, `chalan_no`, `deposit_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES ('20180403033926', '5I6N5LC8ZXDREA9CC3ZW', '20002', NULL, '128000', '', '', '', '03-04-2018', '1'); # # TABLE STRUCTURE FOR: synchronizer_setting # DROP TABLE IF EXISTS `synchronizer_setting`; CREATE TABLE `synchronizer_setting` ( `id` int(11) NOT NULL AUTO_INCREMENT, `hostname` varchar(100) NOT NULL, `username` varchar(100) NOT NULL, `password` varchar(100) NOT NULL, `port` varchar(10) NOT NULL, `debug` varchar(10) NOT NULL, `project_root` varchar(100) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8; INSERT INTO `synchronizer_setting` (`id`, `hostname`, `username`, `password`, `port`, `debug`, `project_root`) VALUES ('8', '70.35.198.244', 'softest3bdtask', 'Ux5O~MBJ#odK', '21', 'true', './public_html/niha/'); # # TABLE STRUCTURE FOR: tax_information # DROP TABLE IF EXISTS `tax_information`; CREATE TABLE `tax_information` ( `tax_id` varchar(15) NOT NULL, `tax` float DEFAULT NULL, `status` int(11) DEFAULT NULL, PRIMARY KEY (`tax_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; # # TABLE STRUCTURE FOR: transection # DROP TABLE IF EXISTS `transection`; CREATE TABLE `transection` ( `transaction_id` varchar(30) NOT NULL, `date_of_transection` varchar(30) NOT NULL, `transection_type` varchar(30) NOT NULL, `transection_category` varchar(30) NOT NULL, `transection_mood` varchar(25) NOT NULL, `amount` varchar(20) NOT NULL, `pay_amount` int(30) DEFAULT NULL, `description` varchar(255) NOT NULL, `relation_id` varchar(30) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; INSERT INTO `transection` (`transaction_id`, `date_of_transection`, `transection_type`, `transection_category`, `transection_mood`, `amount`, `pay_amount`, `description`, `relation_id`) VALUES ('PNOBOTZCL9OWBP5', '25-10-2017', '2', '2', '1', '111600', NULL, 'ITP', 'YWYINLCAIU4Z7YA'); INSERT INTO `transection` (`transaction_id`, `date_of_transection`, `transection_type`, `transection_category`, `transection_mood`, `amount`, `pay_amount`, `description`, `relation_id`) VALUES ('VH112LNS1EJJK75', '25-10-2017', '2', '2', '1', '2000', '0', 'Cash', 'JMVQJWU1FAEQHI5'); INSERT INTO `transection` (`transaction_id`, `date_of_transection`, `transection_type`, `transection_category`, `transection_mood`, `amount`, `pay_amount`, `description`, `relation_id`) VALUES ('L2FOE13IDSYADC3', '25-10-2017', '2', '2', '1', '3000', '0', 'no des', 'HS28Q2LCDZHWDS5'); INSERT INTO `transection` (`transaction_id`, `date_of_transection`, `transection_type`, `transection_category`, `transection_mood`, `amount`, `pay_amount`, `description`, `relation_id`) VALUES ('4LZA5EQOJKEMMS4', '25-10-2017', '1', '1', '1', '', '500', '', 'E674MTLPNV55PK67QHT4'); INSERT INTO `transection` (`transaction_id`, `date_of_transection`, `transection_type`, `transection_category`, `transection_mood`, `amount`, `pay_amount`, `description`, `relation_id`) VALUES ('PJP3UHZDMOFPK66', '25-10-2017', '1', '1', '1', '', '200', '', '5I6N5LC8ZXDREA9CC3ZW'); INSERT INTO `transection` (`transaction_id`, `date_of_transection`, `transection_type`, `transection_category`, `transection_mood`, `amount`, `pay_amount`, `description`, `relation_id`) VALUES ('FSQ9O99EGHTRE9F', '25-10-2017', '2', '2', '1', '1000', '0', '', 'F34YNOU3TJSAO67'); INSERT INTO `transection` (`transaction_id`, `date_of_transection`, `transection_type`, `transection_category`, `transection_mood`, `amount`, `pay_amount`, `description`, `relation_id`) VALUES ('9IFRDZW8DBQ262A', '25-10-2017', '1', '3', '1', '', '10', '', 'Office Rent'); INSERT INTO `transection` (`transaction_id`, `date_of_transection`, `transection_type`, `transection_category`, `transection_mood`, `amount`, `pay_amount`, `description`, `relation_id`) VALUES ('TT176B5VPH76HLF', '25-10-2017', '1', '3', '1', '', '5', '', 'Office Rent'); INSERT INTO `transection` (`transaction_id`, `date_of_transection`, `transection_type`, `transection_category`, `transection_mood`, `amount`, `pay_amount`, `description`, `relation_id`) VALUES ('WQVYCRJMN86GI17', '26-10-2017', '2', '2', '1', '25800', NULL, 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `transection` (`transaction_id`, `date_of_transection`, `transection_type`, `transection_category`, `transection_mood`, `amount`, `pay_amount`, `description`, `relation_id`) VALUES ('2IXO5N7VJFSJ7W3', '26-10-2017', '2', '2', '1', '45720', NULL, 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `transection` (`transaction_id`, `date_of_transection`, `transection_type`, `transection_category`, `transection_mood`, `amount`, `pay_amount`, `description`, `relation_id`) VALUES ('KTASGDEO2EVT8FP', '26-10-2017', '2', '2', '1', '35200', NULL, 'ITP', 'HS28Q2LCDZHWDS5'); INSERT INTO `transection` (`transaction_id`, `date_of_transection`, `transection_type`, `transection_category`, `transection_mood`, `amount`, `pay_amount`, `description`, `relation_id`) VALUES ('FCW4MH999Y3A75X', '26-10-2017', '2', '2', '1', '35200', NULL, 'ITP', 'HS28Q2LCDZHWDS5'); INSERT INTO `transection` (`transaction_id`, `date_of_transection`, `transection_type`, `transection_category`, `transection_mood`, `amount`, `pay_amount`, `description`, `relation_id`) VALUES ('C5JJ9CNCRQN6ZQR', '26-10-2017', '2', '2', '1', '35200', NULL, 'ITP', 'HS28Q2LCDZHWDS5'); INSERT INTO `transection` (`transaction_id`, `date_of_transection`, `transection_type`, `transection_category`, `transection_mood`, `amount`, `pay_amount`, `description`, `relation_id`) VALUES ('G36CPLKONRDN18L', '26-10-2017', '2', '2', '1', '35200', NULL, 'ITP', 'HS28Q2LCDZHWDS5'); INSERT INTO `transection` (`transaction_id`, `date_of_transection`, `transection_type`, `transection_category`, `transection_mood`, `amount`, `pay_amount`, `description`, `relation_id`) VALUES ('T71A2WYSBL1OQFJ', '26-10-2017', '2', '2', '1', '1074140', NULL, 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `transection` (`transaction_id`, `date_of_transection`, `transection_type`, `transection_category`, `transection_mood`, `amount`, `pay_amount`, `description`, `relation_id`) VALUES ('UPV5HNEO3MK8ZOW', '26-10-2017', '2', '2', '1', '1074140', NULL, 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `transection` (`transaction_id`, `date_of_transection`, `transection_type`, `transection_category`, `transection_mood`, `amount`, `pay_amount`, `description`, `relation_id`) VALUES ('GVH6YY7265ISKCI', '26-10-2017', '2', '2', '1', '73080', NULL, 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `transection` (`transaction_id`, `date_of_transection`, `transection_type`, `transection_category`, `transection_mood`, `amount`, `pay_amount`, `description`, `relation_id`) VALUES ('78SO49VW5EWVQLG', '26-10-2017', '2', '2', '1', '73080', NULL, 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `transection` (`transaction_id`, `date_of_transection`, `transection_type`, `transection_category`, `transection_mood`, `amount`, `pay_amount`, `description`, `relation_id`) VALUES ('6WBA2S3PR7B5KOU', '26-10-2017', '2', '2', '1', '58800', NULL, 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `transection` (`transaction_id`, `date_of_transection`, `transection_type`, `transection_category`, `transection_mood`, `amount`, `pay_amount`, `description`, `relation_id`) VALUES ('VNCC412Q9ORNR2F', '26-10-2017', '2', '2', '1', '81600', NULL, 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `transection` (`transaction_id`, `date_of_transection`, `transection_type`, `transection_category`, `transection_mood`, `amount`, `pay_amount`, `description`, `relation_id`) VALUES ('8GX996WGH6AH12O', '26-10-2017', '2', '2', '1', '34500', NULL, 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `transection` (`transaction_id`, `date_of_transection`, `transection_type`, `transection_category`, `transection_mood`, `amount`, `pay_amount`, `description`, `relation_id`) VALUES ('B41QDCC3A2TY5JM', '26-10-2017', '1', '4', '1', '', '12000', '', 'JGC4153QPL'); INSERT INTO `transection` (`transaction_id`, `date_of_transection`, `transection_type`, `transection_category`, `transection_mood`, `amount`, `pay_amount`, `description`, `relation_id`) VALUES ('CDXCOWXKMR3YAYO', '26-10-2017', '2', '2', '1', '71760', NULL, 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `transection` (`transaction_id`, `date_of_transection`, `transection_type`, `transection_category`, `transection_mood`, `amount`, `pay_amount`, `description`, `relation_id`) VALUES ('AGVJG2Y23Q8AHZD', '27-10-2017', '2', '2', '1', '71960', NULL, 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `transection` (`transaction_id`, `date_of_transection`, `transection_type`, `transection_category`, `transection_mood`, `amount`, `pay_amount`, `description`, `relation_id`) VALUES ('UED29RCG1321ZZO', '27-10-2017', '2', '2', '1', '71960', NULL, 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `transection` (`transaction_id`, `date_of_transection`, `transection_type`, `transection_category`, `transection_mood`, `amount`, `pay_amount`, `description`, `relation_id`) VALUES ('YF8XXXZX1ACGXY3', '27-10-2017', '2', '2', '1', '119400', NULL, 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `transection` (`transaction_id`, `date_of_transection`, `transection_type`, `transection_category`, `transection_mood`, `amount`, `pay_amount`, `description`, `relation_id`) VALUES ('7ZW9G3F6A3ZBAA8', '27-10-2017', '2', '2', '1', '777777', NULL, 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `transection` (`transaction_id`, `date_of_transection`, `transection_type`, `transection_category`, `transection_mood`, `amount`, `pay_amount`, `description`, `relation_id`) VALUES ('5CUCOA9L3HXZTZ3', '27-10-2017', '2', '2', '1', '15200', NULL, 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `transection` (`transaction_id`, `date_of_transection`, `transection_type`, `transection_category`, `transection_mood`, `amount`, `pay_amount`, `description`, `relation_id`) VALUES ('P3YOLNTKI1R13YT', '27-10-2017', '2', '2', '1', '7600', NULL, 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `transection` (`transaction_id`, `date_of_transection`, `transection_type`, `transection_category`, `transection_mood`, `amount`, `pay_amount`, `description`, `relation_id`) VALUES ('D4PDQL36WENO5YE', '27-10-2017', '2', '1', '1', '2017', '0', '', '5I6N5LC8ZXDREA9CC3ZW'); INSERT INTO `transection` (`transaction_id`, `date_of_transection`, `transection_type`, `transection_category`, `transection_mood`, `amount`, `pay_amount`, `description`, `relation_id`) VALUES ('BM1RD29M3U7VQ1B', '27-10-2017', '2', '2', '1', '33600', NULL, 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `transection` (`transaction_id`, `date_of_transection`, `transection_type`, `transection_category`, `transection_mood`, `amount`, `pay_amount`, `description`, `relation_id`) VALUES ('4BPPVCALP98XOOY', '27-10-2017', '2', '2', '1', '151200', NULL, 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `transection` (`transaction_id`, `date_of_transection`, `transection_type`, `transection_category`, `transection_mood`, `amount`, `pay_amount`, `description`, `relation_id`) VALUES ('VHLV1CJWVRVNR2J', '30-10-2017', '1', '1', '1', '', '300', 'This is supplier payment test', 'E674MTLPNV55PK67QHT4'); INSERT INTO `transection` (`transaction_id`, `date_of_transection`, `transection_type`, `transection_category`, `transection_mood`, `amount`, `pay_amount`, `description`, `relation_id`) VALUES ('37W1572K5SAS3SK', '31-10-2017', '1', '2', '1', '', '450', 'dfgdsgf', '8ZBLA3COJM2NT49'); INSERT INTO `transection` (`transaction_id`, `date_of_transection`, `transection_type`, `transection_category`, `transection_mood`, `amount`, `pay_amount`, `description`, `relation_id`) VALUES ('PDPYVAPZXT3ALZF', '01-11-2017', '2', '2', '1', '48960', NULL, 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `transection` (`transaction_id`, `date_of_transection`, `transection_type`, `transection_category`, `transection_mood`, `amount`, `pay_amount`, `description`, `relation_id`) VALUES ('3FL6WVVYBJ2IXTG', '01-11-2017', '2', '2', '1', '10000', NULL, 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `transection` (`transaction_id`, `date_of_transection`, `transection_type`, `transection_category`, `transection_mood`, `amount`, `pay_amount`, `description`, `relation_id`) VALUES ('KECMDNQWIW9UI7L', '01-11-2017', '2', '2', '1', '8000', NULL, 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `transection` (`transaction_id`, `date_of_transection`, `transection_type`, `transection_category`, `transection_mood`, `amount`, `pay_amount`, `description`, `relation_id`) VALUES ('VAH59FVGOXCI2KV', '02-11-2017', '2', '2', '1', '70000', NULL, 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `transection` (`transaction_id`, `date_of_transection`, `transection_type`, `transection_category`, `transection_mood`, `amount`, `pay_amount`, `description`, `relation_id`) VALUES ('QAO1QIY19Q7RKTH', '02-11-2017', '2', '2', '1', '46000', NULL, 'ITP', ''); INSERT INTO `transection` (`transaction_id`, `date_of_transection`, `transection_type`, `transection_category`, `transection_mood`, `amount`, `pay_amount`, `description`, `relation_id`) VALUES ('DU843BZYE76XUHX', '02-11-2017', '2', '2', '1', '46000', NULL, 'ITP', ''); INSERT INTO `transection` (`transaction_id`, `date_of_transection`, `transection_type`, `transection_category`, `transection_mood`, `amount`, `pay_amount`, `description`, `relation_id`) VALUES ('XA89GZE1P5V51DE', '02-11-2017', '2', '2', '1', '46000', NULL, 'ITP', ''); INSERT INTO `transection` (`transaction_id`, `date_of_transection`, `transection_type`, `transection_category`, `transection_mood`, `amount`, `pay_amount`, `description`, `relation_id`) VALUES ('1MZZRFMMRXQ37VJ', '04-11-2017', '2', '2', '1', '63000', NULL, 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `transection` (`transaction_id`, `date_of_transection`, `transection_type`, `transection_category`, `transection_mood`, `amount`, `pay_amount`, `description`, `relation_id`) VALUES ('YB2DKLKGZPJ5YF2', '04-11-2017', '2', '2', '1', '120920', NULL, 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `transection` (`transaction_id`, `date_of_transection`, `transection_type`, `transection_category`, `transection_mood`, `amount`, `pay_amount`, `description`, `relation_id`) VALUES ('OK5UDZV15MSWLLL', '04-11-2017', '2', '2', '1', '110000', NULL, 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `transection` (`transaction_id`, `date_of_transection`, `transection_type`, `transection_category`, `transection_mood`, `amount`, `pay_amount`, `description`, `relation_id`) VALUES ('43DXTMZASI4BTMN', '06-11-2017', '2', '2', '1', '125000', NULL, 'ITP', 'JMVQJWU1FAEQHI5'); # # TABLE STRUCTURE FOR: user_login # DROP TABLE IF EXISTS `user_login`; CREATE TABLE `user_login` ( `user_id` varchar(15) NOT NULL, `username` varchar(255) NOT NULL, `password` varchar(255) NOT NULL, `user_type` int(2) NOT NULL, `security_code` varchar(255) NOT NULL, `status` int(2) NOT NULL, PRIMARY KEY (`user_id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; INSERT INTO `user_login` (`user_id`, `username`, `password`, `user_type`, `security_code`, `status`) VALUES ('1', 'tanzil4091@gmail.com', '41d99b369894eb1ec3f461135132d8bb', '2', '', '1'); INSERT INTO `user_login` (`user_id`, `username`, `password`, `user_type`, `security_code`, `status`) VALUES ('oZTpXAmq4itvJmY', 'test@test.com', '41d99b369894eb1ec3f461135132d8bb', '1', '', '1'); INSERT INTO `user_login` (`user_id`, `username`, `password`, `user_type`, `security_code`, `status`) VALUES ('gOzfNyrd023iRRX', 'joys@gmail.com', '82c1ab9f315f15ff53d5bba77c9a1884', '2', '', '1'); # # TABLE STRUCTURE FOR: users # DROP TABLE IF EXISTS `users`; CREATE TABLE `users` ( `user_id` varchar(15) NOT NULL, `last_name` varchar(255) NOT NULL, `first_name` varchar(255) NOT NULL, `gender` int(2) NOT NULL, `date_of_birth` varchar(255) NOT NULL, `logo` varchar(250) DEFAULT NULL, `status` int(2) NOT NULL, PRIMARY KEY (`user_id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; INSERT INTO `users` (`user_id`, `last_name`, `first_name`, `gender`, `date_of_birth`, `logo`, `status`) VALUES ('1', 'doey', 'johan', '1', '', 'http://localhost/inventory_demo/product_sales_erp/demo/assets/dist/img/profile_picture/af89a04654f174d07216b8cacb536483.jpg', '1'); INSERT INTO `users` (`user_id`, `last_name`, `first_name`, `gender`, `date_of_birth`, `logo`, `status`) VALUES ('oZTpXAmq4itvJmY', 'Doye', 'Johan', '0', '', 'http://wholesalenew.bdtask.com/assets/dist/img/profile_picture/517e33d1a803137bbb1d99e2446959b7.jpg', '1'); INSERT INTO `users` (`user_id`, `last_name`, `first_name`, `gender`, `date_of_birth`, `logo`, `status`) VALUES ('gOzfNyrd023iRRX', 'fok', 'joy', '0', '', NULL, '1'); # # TABLE STRUCTURE FOR: view_customer_transection # DROP TABLE IF EXISTS `view_customer_transection`; CREATE ALGORITHM=UNDEFINED DEFINER=`wholesal_musv1`@`localhost` SQL SECURITY DEFINER VIEW `view_customer_transection` AS (select `i`.`transaction_id` AS `transaction_id`,`j`.`customer_name` AS `customer_name`,`q`.`invoice_no` AS `invoice_no`,`q`.`receipt_no` AS `receipt_no` from ((`transection` `i` left join `customer_information` `j` on((convert(`i`.`relation_id` using utf8) = `j`.`customer_id`))) left join `customer_ledger` `q` on((convert(`i`.`transaction_id` using utf8) = `q`.`transaction_id`)))); latin1_swedish_ci; INSERT INTO `view_customer_transection` (`transaction_id`, `customer_name`, `invoice_no`, `receipt_no`) VALUES ('PNOBOTZCL9OWBP5', 'Hannan Traders', '6678792612', NULL); INSERT INTO `view_customer_transection` (`transaction_id`, `customer_name`, `invoice_no`, `receipt_no`) VALUES ('VH112LNS1EJJK75', 'Universal Electic', '123', NULL); INSERT INTO `view_customer_transection` (`transaction_id`, `customer_name`, `invoice_no`, `receipt_no`) VALUES ('L2FOE13IDSYADC3', 'S.R Enterprise ', '123', NULL); INSERT INTO `view_customer_transection` (`transaction_id`, `customer_name`, `invoice_no`, `receipt_no`) VALUES ('FSQ9O99EGHTRE9F', 'S.S Enterprise', '123', NULL); INSERT INTO `view_customer_transection` (`transaction_id`, `customer_name`, `invoice_no`, `receipt_no`) VALUES ('WQVYCRJMN86GI17', 'Universal Electic', '1979956835', NULL); INSERT INTO `view_customer_transection` (`transaction_id`, `customer_name`, `invoice_no`, `receipt_no`) VALUES ('2IXO5N7VJFSJ7W3', 'S.S Enterprise', '2191413693', NULL); INSERT INTO `view_customer_transection` (`transaction_id`, `customer_name`, `invoice_no`, `receipt_no`) VALUES ('KTASGDEO2EVT8FP', 'S.R Enterprise ', '6476889255', NULL); INSERT INTO `view_customer_transection` (`transaction_id`, `customer_name`, `invoice_no`, `receipt_no`) VALUES ('FCW4MH999Y3A75X', 'S.R Enterprise ', '1441514161', NULL); INSERT INTO `view_customer_transection` (`transaction_id`, `customer_name`, `invoice_no`, `receipt_no`) VALUES ('C5JJ9CNCRQN6ZQR', 'S.R Enterprise ', '1161734131', NULL); INSERT INTO `view_customer_transection` (`transaction_id`, `customer_name`, `invoice_no`, `receipt_no`) VALUES ('G36CPLKONRDN18L', 'S.R Enterprise ', '4672383343', NULL); INSERT INTO `view_customer_transection` (`transaction_id`, `customer_name`, `invoice_no`, `receipt_no`) VALUES ('T71A2WYSBL1OQFJ', 'S.S Enterprise', '9455792915', NULL); INSERT INTO `view_customer_transection` (`transaction_id`, `customer_name`, `invoice_no`, `receipt_no`) VALUES ('UPV5HNEO3MK8ZOW', 'S.S Enterprise', '4981452674', NULL); INSERT INTO `view_customer_transection` (`transaction_id`, `customer_name`, `invoice_no`, `receipt_no`) VALUES ('GVH6YY7265ISKCI', 'S.S Enterprise', '4124575573', NULL); INSERT INTO `view_customer_transection` (`transaction_id`, `customer_name`, `invoice_no`, `receipt_no`) VALUES ('78SO49VW5EWVQLG', 'S.S Enterprise', '1824634358', NULL); INSERT INTO `view_customer_transection` (`transaction_id`, `customer_name`, `invoice_no`, `receipt_no`) VALUES ('6WBA2S3PR7B5KOU', 'S.S Enterprise', '5866553993', NULL); INSERT INTO `view_customer_transection` (`transaction_id`, `customer_name`, `invoice_no`, `receipt_no`) VALUES ('VNCC412Q9ORNR2F', 'Universal Electic', '2827821423', NULL); INSERT INTO `view_customer_transection` (`transaction_id`, `customer_name`, `invoice_no`, `receipt_no`) VALUES ('8GX996WGH6AH12O', 'Shahidul Islam', '5696739753', NULL); INSERT INTO `view_customer_transection` (`transaction_id`, `customer_name`, `invoice_no`, `receipt_no`) VALUES ('CDXCOWXKMR3YAYO', 'Universal Electic', '8771668649', NULL); INSERT INTO `view_customer_transection` (`transaction_id`, `customer_name`, `invoice_no`, `receipt_no`) VALUES ('AGVJG2Y23Q8AHZD', 'Universal Electic', '3276699692', NULL); INSERT INTO `view_customer_transection` (`transaction_id`, `customer_name`, `invoice_no`, `receipt_no`) VALUES ('UED29RCG1321ZZO', 'S.S Enterprise', '1612663242', NULL); INSERT INTO `view_customer_transection` (`transaction_id`, `customer_name`, `invoice_no`, `receipt_no`) VALUES ('YF8XXXZX1ACGXY3', 'S.S Enterprise', '2838558471', NULL); INSERT INTO `view_customer_transection` (`transaction_id`, `customer_name`, `invoice_no`, `receipt_no`) VALUES ('7ZW9G3F6A3ZBAA8', 'S.S Enterprise', '8332727433', NULL); INSERT INTO `view_customer_transection` (`transaction_id`, `customer_name`, `invoice_no`, `receipt_no`) VALUES ('5CUCOA9L3HXZTZ3', 'Universal Electic', '8861346923', NULL); INSERT INTO `view_customer_transection` (`transaction_id`, `customer_name`, `invoice_no`, `receipt_no`) VALUES ('P3YOLNTKI1R13YT', 'Shahidul Islam', '1315834339', NULL); INSERT INTO `view_customer_transection` (`transaction_id`, `customer_name`, `invoice_no`, `receipt_no`) VALUES ('BM1RD29M3U7VQ1B', 'Shahidul Islam', '6812413211', NULL); INSERT INTO `view_customer_transection` (`transaction_id`, `customer_name`, `invoice_no`, `receipt_no`) VALUES ('4BPPVCALP98XOOY', 'Universal Electic', '2841757611', NULL); INSERT INTO `view_customer_transection` (`transaction_id`, `customer_name`, `invoice_no`, `receipt_no`) VALUES ('37W1572K5SAS3SK', 'Shahidul Islam', NULL, ''); INSERT INTO `view_customer_transection` (`transaction_id`, `customer_name`, `invoice_no`, `receipt_no`) VALUES ('PDPYVAPZXT3ALZF', 'Shahidul Islam', '2955339992', NULL); INSERT INTO `view_customer_transection` (`transaction_id`, `customer_name`, `invoice_no`, `receipt_no`) VALUES ('3FL6WVVYBJ2IXTG', 'Shahidul Islam', '7774413469', NULL); INSERT INTO `view_customer_transection` (`transaction_id`, `customer_name`, `invoice_no`, `receipt_no`) VALUES ('KECMDNQWIW9UI7L', 'Shahidul Islam', '8829776633', NULL); INSERT INTO `view_customer_transection` (`transaction_id`, `customer_name`, `invoice_no`, `receipt_no`) VALUES ('VAH59FVGOXCI2KV', 'Shahidul Islam', NULL, '6R7MP8LNFF'); INSERT INTO `view_customer_transection` (`transaction_id`, `customer_name`, `invoice_no`, `receipt_no`) VALUES ('VAH59FVGOXCI2KV', 'Shahidul Islam', '9928459451', NULL); INSERT INTO `view_customer_transection` (`transaction_id`, `customer_name`, `invoice_no`, `receipt_no`) VALUES ('1MZZRFMMRXQ37VJ', 'Shahidul Islam', NULL, 'B63HSVBSXM'); INSERT INTO `view_customer_transection` (`transaction_id`, `customer_name`, `invoice_no`, `receipt_no`) VALUES ('1MZZRFMMRXQ37VJ', 'Shahidul Islam', '8914637431', NULL); INSERT INTO `view_customer_transection` (`transaction_id`, `customer_name`, `invoice_no`, `receipt_no`) VALUES ('YB2DKLKGZPJ5YF2', 'Universal Electic', NULL, 'BHRAJTKKIT'); INSERT INTO `view_customer_transection` (`transaction_id`, `customer_name`, `invoice_no`, `receipt_no`) VALUES ('43DXTMZASI4BTMN', 'Universal Electic', '3245145265', '5PJS9XM31B'); INSERT INTO `view_customer_transection` (`transaction_id`, `customer_name`, `invoice_no`, `receipt_no`) VALUES ('OK5UDZV15MSWLLL', 'Universal Electic', NULL, 'G1ETNT5ZWT'); INSERT INTO `view_customer_transection` (`transaction_id`, `customer_name`, `invoice_no`, `receipt_no`) VALUES ('43DXTMZASI4BTMN', 'Universal Electic', '3245145265', NULL); INSERT INTO `view_customer_transection` (`transaction_id`, `customer_name`, `invoice_no`, `receipt_no`) VALUES ('QAO1QIY19Q7RKTH', NULL, NULL, 'CT2U6E74D8'); INSERT INTO `view_customer_transection` (`transaction_id`, `customer_name`, `invoice_no`, `receipt_no`) VALUES ('QAO1QIY19Q7RKTH', NULL, '4991415829', NULL); INSERT INTO `view_customer_transection` (`transaction_id`, `customer_name`, `invoice_no`, `receipt_no`) VALUES ('DU843BZYE76XUHX', NULL, NULL, '828U4QGHEK'); INSERT INTO `view_customer_transection` (`transaction_id`, `customer_name`, `invoice_no`, `receipt_no`) VALUES ('DU843BZYE76XUHX', NULL, '6471686685', NULL); INSERT INTO `view_customer_transection` (`transaction_id`, `customer_name`, `invoice_no`, `receipt_no`) VALUES ('XA89GZE1P5V51DE', NULL, NULL, '6NJUFLJTAH'); INSERT INTO `view_customer_transection` (`transaction_id`, `customer_name`, `invoice_no`, `receipt_no`) VALUES ('XA89GZE1P5V51DE', NULL, '7579931679', NULL); INSERT INTO `view_customer_transection` (`transaction_id`, `customer_name`, `invoice_no`, `receipt_no`) VALUES ('4LZA5EQOJKEMMS4', NULL, NULL, NULL); INSERT INTO `view_customer_transection` (`transaction_id`, `customer_name`, `invoice_no`, `receipt_no`) VALUES ('PJP3UHZDMOFPK66', NULL, NULL, NULL); INSERT INTO `view_customer_transection` (`transaction_id`, `customer_name`, `invoice_no`, `receipt_no`) VALUES ('9IFRDZW8DBQ262A', NULL, NULL, NULL); INSERT INTO `view_customer_transection` (`transaction_id`, `customer_name`, `invoice_no`, `receipt_no`) VALUES ('TT176B5VPH76HLF', NULL, NULL, NULL); INSERT INTO `view_customer_transection` (`transaction_id`, `customer_name`, `invoice_no`, `receipt_no`) VALUES ('B41QDCC3A2TY5JM', NULL, NULL, NULL); INSERT INTO `view_customer_transection` (`transaction_id`, `customer_name`, `invoice_no`, `receipt_no`) VALUES ('D4PDQL36WENO5YE', NULL, NULL, NULL); INSERT INTO `view_customer_transection` (`transaction_id`, `customer_name`, `invoice_no`, `receipt_no`) VALUES ('VHLV1CJWVRVNR2J', NULL, NULL, NULL); # # TABLE STRUCTURE FOR: view_person_transection # DROP TABLE IF EXISTS `view_person_transection`; CREATE ALGORITHM=UNDEFINED DEFINER=`wholesal_musv1`@`localhost` SQL SECURITY DEFINER VIEW `view_person_transection` AS (select `i`.`transaction_id` AS `transaction_id`,`j`.`person_name` AS `person_name` from (`transection` `i` left join `person_information` `j` on((convert(`i`.`relation_id` using utf8) = `j`.`person_id`)))); latin1_swedish_ci; INSERT INTO `view_person_transection` (`transaction_id`, `person_name`) VALUES ('B41QDCC3A2TY5JM', 'Faruk'); INSERT INTO `view_person_transection` (`transaction_id`, `person_name`) VALUES ('PNOBOTZCL9OWBP5', NULL); INSERT INTO `view_person_transection` (`transaction_id`, `person_name`) VALUES ('VH112LNS1EJJK75', NULL); INSERT INTO `view_person_transection` (`transaction_id`, `person_name`) VALUES ('L2FOE13IDSYADC3', NULL); INSERT INTO `view_person_transection` (`transaction_id`, `person_name`) VALUES ('4LZA5EQOJKEMMS4', NULL); INSERT INTO `view_person_transection` (`transaction_id`, `person_name`) VALUES ('PJP3UHZDMOFPK66', NULL); INSERT INTO `view_person_transection` (`transaction_id`, `person_name`) VALUES ('FSQ9O99EGHTRE9F', NULL); INSERT INTO `view_person_transection` (`transaction_id`, `person_name`) VALUES ('9IFRDZW8DBQ262A', NULL); INSERT INTO `view_person_transection` (`transaction_id`, `person_name`) VALUES ('TT176B5VPH76HLF', NULL); INSERT INTO `view_person_transection` (`transaction_id`, `person_name`) VALUES ('WQVYCRJMN86GI17', NULL); INSERT INTO `view_person_transection` (`transaction_id`, `person_name`) VALUES ('2IXO5N7VJFSJ7W3', NULL); INSERT INTO `view_person_transection` (`transaction_id`, `person_name`) VALUES ('KTASGDEO2EVT8FP', NULL); INSERT INTO `view_person_transection` (`transaction_id`, `person_name`) VALUES ('FCW4MH999Y3A75X', NULL); INSERT INTO `view_person_transection` (`transaction_id`, `person_name`) VALUES ('C5JJ9CNCRQN6ZQR', NULL); INSERT INTO `view_person_transection` (`transaction_id`, `person_name`) VALUES ('G36CPLKONRDN18L', NULL); INSERT INTO `view_person_transection` (`transaction_id`, `person_name`) VALUES ('T71A2WYSBL1OQFJ', NULL); INSERT INTO `view_person_transection` (`transaction_id`, `person_name`) VALUES ('UPV5HNEO3MK8ZOW', NULL); INSERT INTO `view_person_transection` (`transaction_id`, `person_name`) VALUES ('GVH6YY7265ISKCI', NULL); INSERT INTO `view_person_transection` (`transaction_id`, `person_name`) VALUES ('78SO49VW5EWVQLG', NULL); INSERT INTO `view_person_transection` (`transaction_id`, `person_name`) VALUES ('6WBA2S3PR7B5KOU', NULL); INSERT INTO `view_person_transection` (`transaction_id`, `person_name`) VALUES ('VNCC412Q9ORNR2F', NULL); INSERT INTO `view_person_transection` (`transaction_id`, `person_name`) VALUES ('8GX996WGH6AH12O', NULL); INSERT INTO `view_person_transection` (`transaction_id`, `person_name`) VALUES ('CDXCOWXKMR3YAYO', NULL); INSERT INTO `view_person_transection` (`transaction_id`, `person_name`) VALUES ('AGVJG2Y23Q8AHZD', NULL); INSERT INTO `view_person_transection` (`transaction_id`, `person_name`) VALUES ('UED29RCG1321ZZO', NULL); INSERT INTO `view_person_transection` (`transaction_id`, `person_name`) VALUES ('YF8XXXZX1ACGXY3', NULL); INSERT INTO `view_person_transection` (`transaction_id`, `person_name`) VALUES ('7ZW9G3F6A3ZBAA8', NULL); INSERT INTO `view_person_transection` (`transaction_id`, `person_name`) VALUES ('5CUCOA9L3HXZTZ3', NULL); INSERT INTO `view_person_transection` (`transaction_id`, `person_name`) VALUES ('P3YOLNTKI1R13YT', NULL); INSERT INTO `view_person_transection` (`transaction_id`, `person_name`) VALUES ('D4PDQL36WENO5YE', NULL); INSERT INTO `view_person_transection` (`transaction_id`, `person_name`) VALUES ('BM1RD29M3U7VQ1B', NULL); INSERT INTO `view_person_transection` (`transaction_id`, `person_name`) VALUES ('4BPPVCALP98XOOY', NULL); INSERT INTO `view_person_transection` (`transaction_id`, `person_name`) VALUES ('VHLV1CJWVRVNR2J', NULL); INSERT INTO `view_person_transection` (`transaction_id`, `person_name`) VALUES ('37W1572K5SAS3SK', NULL); INSERT INTO `view_person_transection` (`transaction_id`, `person_name`) VALUES ('PDPYVAPZXT3ALZF', NULL); INSERT INTO `view_person_transection` (`transaction_id`, `person_name`) VALUES ('3FL6WVVYBJ2IXTG', NULL); INSERT INTO `view_person_transection` (`transaction_id`, `person_name`) VALUES ('KECMDNQWIW9UI7L', NULL); INSERT INTO `view_person_transection` (`transaction_id`, `person_name`) VALUES ('VAH59FVGOXCI2KV', NULL); INSERT INTO `view_person_transection` (`transaction_id`, `person_name`) VALUES ('QAO1QIY19Q7RKTH', NULL); INSERT INTO `view_person_transection` (`transaction_id`, `person_name`) VALUES ('DU843BZYE76XUHX', NULL); INSERT INTO `view_person_transection` (`transaction_id`, `person_name`) VALUES ('XA89GZE1P5V51DE', NULL); INSERT INTO `view_person_transection` (`transaction_id`, `person_name`) VALUES ('1MZZRFMMRXQ37VJ', NULL); INSERT INTO `view_person_transection` (`transaction_id`, `person_name`) VALUES ('YB2DKLKGZPJ5YF2', NULL); INSERT INTO `view_person_transection` (`transaction_id`, `person_name`) VALUES ('OK5UDZV15MSWLLL', NULL); INSERT INTO `view_person_transection` (`transaction_id`, `person_name`) VALUES ('43DXTMZASI4BTMN', NULL); # # TABLE STRUCTURE FOR: view_supplier_transection # DROP TABLE IF EXISTS `view_supplier_transection`; CREATE ALGORITHM=UNDEFINED DEFINER=`wholesal_musv1`@`localhost` SQL SECURITY DEFINER VIEW `view_supplier_transection` AS (select `i`.`transaction_id` AS `transaction_id`,`j`.`supplier_name` AS `supplier_name` from (`transection` `i` left join `supplier_information` `j` on((convert(`i`.`relation_id` using utf8) = `j`.`supplier_id`)))); latin1_swedish_ci; INSERT INTO `view_supplier_transection` (`transaction_id`, `supplier_name`) VALUES ('PJP3UHZDMOFPK66', 'Easy Global Trading Ltd.'); INSERT INTO `view_supplier_transection` (`transaction_id`, `supplier_name`) VALUES ('D4PDQL36WENO5YE', 'Easy Global Trading Ltd.'); INSERT INTO `view_supplier_transection` (`transaction_id`, `supplier_name`) VALUES ('4LZA5EQOJKEMMS4', 'Al Faisal International'); INSERT INTO `view_supplier_transection` (`transaction_id`, `supplier_name`) VALUES ('VHLV1CJWVRVNR2J', 'Al Faisal International'); INSERT INTO `view_supplier_transection` (`transaction_id`, `supplier_name`) VALUES ('PNOBOTZCL9OWBP5', NULL); INSERT INTO `view_supplier_transection` (`transaction_id`, `supplier_name`) VALUES ('VH112LNS1EJJK75', NULL); INSERT INTO `view_supplier_transection` (`transaction_id`, `supplier_name`) VALUES ('L2FOE13IDSYADC3', NULL); INSERT INTO `view_supplier_transection` (`transaction_id`, `supplier_name`) VALUES ('FSQ9O99EGHTRE9F', NULL); INSERT INTO `view_supplier_transection` (`transaction_id`, `supplier_name`) VALUES ('9IFRDZW8DBQ262A', NULL); INSERT INTO `view_supplier_transection` (`transaction_id`, `supplier_name`) VALUES ('TT176B5VPH76HLF', NULL); INSERT INTO `view_supplier_transection` (`transaction_id`, `supplier_name`) VALUES ('WQVYCRJMN86GI17', NULL); INSERT INTO `view_supplier_transection` (`transaction_id`, `supplier_name`) VALUES ('2IXO5N7VJFSJ7W3', NULL); INSERT INTO `view_supplier_transection` (`transaction_id`, `supplier_name`) VALUES ('KTASGDEO2EVT8FP', NULL); INSERT INTO `view_supplier_transection` (`transaction_id`, `supplier_name`) VALUES ('FCW4MH999Y3A75X', NULL); INSERT INTO `view_supplier_transection` (`transaction_id`, `supplier_name`) VALUES ('C5JJ9CNCRQN6ZQR', NULL); INSERT INTO `view_supplier_transection` (`transaction_id`, `supplier_name`) VALUES ('G36CPLKONRDN18L', NULL); INSERT INTO `view_supplier_transection` (`transaction_id`, `supplier_name`) VALUES ('T71A2WYSBL1OQFJ', NULL); INSERT INTO `view_supplier_transection` (`transaction_id`, `supplier_name`) VALUES ('UPV5HNEO3MK8ZOW', NULL); INSERT INTO `view_supplier_transection` (`transaction_id`, `supplier_name`) VALUES ('GVH6YY7265ISKCI', NULL); INSERT INTO `view_supplier_transection` (`transaction_id`, `supplier_name`) VALUES ('78SO49VW5EWVQLG', NULL); INSERT INTO `view_supplier_transection` (`transaction_id`, `supplier_name`) VALUES ('6WBA2S3PR7B5KOU', NULL); INSERT INTO `view_supplier_transection` (`transaction_id`, `supplier_name`) VALUES ('VNCC412Q9ORNR2F', NULL); INSERT INTO `view_supplier_transection` (`transaction_id`, `supplier_name`) VALUES ('8GX996WGH6AH12O', NULL); INSERT INTO `view_supplier_transection` (`transaction_id`, `supplier_name`) VALUES ('B41QDCC3A2TY5JM', NULL); INSERT INTO `view_supplier_transection` (`transaction_id`, `supplier_name`) VALUES ('CDXCOWXKMR3YAYO', NULL); INSERT INTO `view_supplier_transection` (`transaction_id`, `supplier_name`) VALUES ('AGVJG2Y23Q8AHZD', NULL); INSERT INTO `view_supplier_transection` (`transaction_id`, `supplier_name`) VALUES ('UED29RCG1321ZZO', NULL); INSERT INTO `view_supplier_transection` (`transaction_id`, `supplier_name`) VALUES ('YF8XXXZX1ACGXY3', NULL); INSERT INTO `view_supplier_transection` (`transaction_id`, `supplier_name`) VALUES ('7ZW9G3F6A3ZBAA8', NULL); INSERT INTO `view_supplier_transection` (`transaction_id`, `supplier_name`) VALUES ('5CUCOA9L3HXZTZ3', NULL); INSERT INTO `view_supplier_transection` (`transaction_id`, `supplier_name`) VALUES ('P3YOLNTKI1R13YT', NULL); INSERT INTO `view_supplier_transection` (`transaction_id`, `supplier_name`) VALUES ('BM1RD29M3U7VQ1B', NULL); INSERT INTO `view_supplier_transection` (`transaction_id`, `supplier_name`) VALUES ('4BPPVCALP98XOOY', NULL); INSERT INTO `view_supplier_transection` (`transaction_id`, `supplier_name`) VALUES ('37W1572K5SAS3SK', NULL); INSERT INTO `view_supplier_transection` (`transaction_id`, `supplier_name`) VALUES ('PDPYVAPZXT3ALZF', NULL); INSERT INTO `view_supplier_transection` (`transaction_id`, `supplier_name`) VALUES ('3FL6WVVYBJ2IXTG', NULL); INSERT INTO `view_supplier_transection` (`transaction_id`, `supplier_name`) VALUES ('KECMDNQWIW9UI7L', NULL); INSERT INTO `view_supplier_transection` (`transaction_id`, `supplier_name`) VALUES ('VAH59FVGOXCI2KV', NULL); INSERT INTO `view_supplier_transection` (`transaction_id`, `supplier_name`) VALUES ('QAO1QIY19Q7RKTH', NULL); INSERT INTO `view_supplier_transection` (`transaction_id`, `supplier_name`) VALUES ('DU843BZYE76XUHX', NULL); INSERT INTO `view_supplier_transection` (`transaction_id`, `supplier_name`) VALUES ('XA89GZE1P5V51DE', NULL); INSERT INTO `view_supplier_transection` (`transaction_id`, `supplier_name`) VALUES ('1MZZRFMMRXQ37VJ', NULL); INSERT INTO `view_supplier_transection` (`transaction_id`, `supplier_name`) VALUES ('YB2DKLKGZPJ5YF2', NULL); INSERT INTO `view_supplier_transection` (`transaction_id`, `supplier_name`) VALUES ('OK5UDZV15MSWLLL', NULL); INSERT INTO `view_supplier_transection` (`transaction_id`, `supplier_name`) VALUES ('43DXTMZASI4BTMN', NULL); # # TABLE STRUCTURE FOR: view_transection # DROP TABLE IF EXISTS `view_transection`; CREATE ALGORITHM=UNDEFINED DEFINER=`wholesal_musv1`@`localhost` SQL SECURITY DEFINER VIEW `view_transection` AS (select `i`.`transaction_id` AS `transaction_id`,`i`.`date_of_transection` AS `date_of_transection`,`i`.`amount` AS `amount`,`i`.`pay_amount` AS `pay_amount`,`f`.`invoice_no` AS `invoice_no`,`g`.`customer_name` AS `customer_name`,`h`.`supplier_name` AS `supplier_name`,`j`.`person_name` AS `person_name`,`i`.`transection_category` AS `transection_category`,`i`.`transection_type` AS `transection_type`,`i`.`transection_mood` AS `transection_mood`,`i`.`description` AS `description`,`i`.`relation_id` AS `relation_id` from ((((`transection` `i` left join `customer_ledger` `f` on((convert(`i`.`transaction_id` using utf8) = `f`.`transaction_id`))) left join `customer_information` `g` on((convert(`i`.`relation_id` using utf8) = `f`.`customer_id`))) left join `supplier_information` `h` on((convert(`i`.`relation_id` using utf8) = `h`.`supplier_id`))) left join `person_information` `j` on((convert(`i`.`relation_id` using utf8) = `j`.`person_id`)))); latin1_swedish_ci; INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('PNOBOTZCL9OWBP5', '25-10-2017', '111600', NULL, '6678792612', 'Shahidul Islam', NULL, NULL, '2', '2', '1', 'ITP', 'YWYINLCAIU4Z7YA'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('VH112LNS1EJJK75', '25-10-2017', '2000', '0', '123', 'Shahidul Islam', NULL, NULL, '2', '2', '1', 'Cash', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('L2FOE13IDSYADC3', '25-10-2017', '3000', '0', '123', 'Shahidul Islam', NULL, NULL, '2', '2', '1', 'no des', 'HS28Q2LCDZHWDS5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('FSQ9O99EGHTRE9F', '25-10-2017', '1000', '0', '123', 'Shahidul Islam', NULL, NULL, '2', '2', '1', '', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('WQVYCRJMN86GI17', '26-10-2017', '25800', NULL, '1979956835', 'Shahidul Islam', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('2IXO5N7VJFSJ7W3', '26-10-2017', '45720', NULL, '2191413693', 'Shahidul Islam', NULL, NULL, '2', '2', '1', 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('KTASGDEO2EVT8FP', '26-10-2017', '35200', NULL, '6476889255', 'Shahidul Islam', NULL, NULL, '2', '2', '1', 'ITP', 'HS28Q2LCDZHWDS5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('FCW4MH999Y3A75X', '26-10-2017', '35200', NULL, '1441514161', 'Shahidul Islam', NULL, NULL, '2', '2', '1', 'ITP', 'HS28Q2LCDZHWDS5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('C5JJ9CNCRQN6ZQR', '26-10-2017', '35200', NULL, '1161734131', 'Shahidul Islam', NULL, NULL, '2', '2', '1', 'ITP', 'HS28Q2LCDZHWDS5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('G36CPLKONRDN18L', '26-10-2017', '35200', NULL, '4672383343', 'Shahidul Islam', NULL, NULL, '2', '2', '1', 'ITP', 'HS28Q2LCDZHWDS5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('T71A2WYSBL1OQFJ', '26-10-2017', '1074140', NULL, '9455792915', 'Shahidul Islam', NULL, NULL, '2', '2', '1', 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('UPV5HNEO3MK8ZOW', '26-10-2017', '1074140', NULL, '4981452674', 'Shahidul Islam', NULL, NULL, '2', '2', '1', 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('GVH6YY7265ISKCI', '26-10-2017', '73080', NULL, '4124575573', 'Shahidul Islam', NULL, NULL, '2', '2', '1', 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('78SO49VW5EWVQLG', '26-10-2017', '73080', NULL, '1824634358', 'Shahidul Islam', NULL, NULL, '2', '2', '1', 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('6WBA2S3PR7B5KOU', '26-10-2017', '58800', NULL, '5866553993', 'Shahidul Islam', NULL, NULL, '2', '2', '1', 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('VNCC412Q9ORNR2F', '26-10-2017', '81600', NULL, '2827821423', 'Shahidul Islam', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('8GX996WGH6AH12O', '26-10-2017', '34500', NULL, '5696739753', 'Shahidul Islam', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('CDXCOWXKMR3YAYO', '26-10-2017', '71760', NULL, '8771668649', 'Shahidul Islam', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('AGVJG2Y23Q8AHZD', '27-10-2017', '71960', NULL, '3276699692', 'Shahidul Islam', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('UED29RCG1321ZZO', '27-10-2017', '71960', NULL, '1612663242', 'Shahidul Islam', NULL, NULL, '2', '2', '1', 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('YF8XXXZX1ACGXY3', '27-10-2017', '119400', NULL, '2838558471', 'Shahidul Islam', NULL, NULL, '2', '2', '1', 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('7ZW9G3F6A3ZBAA8', '27-10-2017', '777777', NULL, '8332727433', 'Shahidul Islam', NULL, NULL, '2', '2', '1', 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('5CUCOA9L3HXZTZ3', '27-10-2017', '15200', NULL, '8861346923', 'Shahidul Islam', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('P3YOLNTKI1R13YT', '27-10-2017', '7600', NULL, '1315834339', 'Shahidul Islam', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('BM1RD29M3U7VQ1B', '27-10-2017', '33600', NULL, '6812413211', 'Shahidul Islam', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('4BPPVCALP98XOOY', '27-10-2017', '151200', NULL, '2841757611', 'Shahidul Islam', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('37W1572K5SAS3SK', '31-10-2017', '', '450', NULL, 'Shahidul Islam', NULL, NULL, '2', '1', '1', 'dfgdsgf', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('PDPYVAPZXT3ALZF', '01-11-2017', '48960', NULL, '2955339992', 'Shahidul Islam', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('3FL6WVVYBJ2IXTG', '01-11-2017', '10000', NULL, '7774413469', 'Shahidul Islam', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('KECMDNQWIW9UI7L', '01-11-2017', '8000', NULL, '8829776633', 'Shahidul Islam', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('VAH59FVGOXCI2KV', '02-11-2017', '70000', NULL, NULL, 'Shahidul Islam', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('VAH59FVGOXCI2KV', '02-11-2017', '70000', NULL, '9928459451', 'Shahidul Islam', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('QAO1QIY19Q7RKTH', '02-11-2017', '46000', NULL, NULL, 'Shahidul Islam', NULL, NULL, '2', '2', '1', 'ITP', ''); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('QAO1QIY19Q7RKTH', '02-11-2017', '46000', NULL, '4991415829', 'Shahidul Islam', NULL, NULL, '2', '2', '1', 'ITP', ''); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('DU843BZYE76XUHX', '02-11-2017', '46000', NULL, NULL, 'Shahidul Islam', NULL, NULL, '2', '2', '1', 'ITP', ''); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('DU843BZYE76XUHX', '02-11-2017', '46000', NULL, '6471686685', 'Shahidul Islam', NULL, NULL, '2', '2', '1', 'ITP', ''); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('XA89GZE1P5V51DE', '02-11-2017', '46000', NULL, NULL, 'Shahidul Islam', NULL, NULL, '2', '2', '1', 'ITP', ''); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('XA89GZE1P5V51DE', '02-11-2017', '46000', NULL, '7579931679', 'Shahidul Islam', NULL, NULL, '2', '2', '1', 'ITP', ''); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('1MZZRFMMRXQ37VJ', '04-11-2017', '63000', NULL, NULL, 'Shahidul Islam', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('1MZZRFMMRXQ37VJ', '04-11-2017', '63000', NULL, '8914637431', 'Shahidul Islam', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('YB2DKLKGZPJ5YF2', '04-11-2017', '120920', NULL, NULL, 'Shahidul Islam', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('43DXTMZASI4BTMN', '06-11-2017', '125000', NULL, '3245145265', 'Shahidul Islam', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('OK5UDZV15MSWLLL', '04-11-2017', '110000', NULL, NULL, 'Shahidul Islam', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('43DXTMZASI4BTMN', '06-11-2017', '125000', NULL, '3245145265', 'Shahidul Islam', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('PNOBOTZCL9OWBP5', '25-10-2017', '111600', NULL, '6678792612', 'Universal Electic', NULL, NULL, '2', '2', '1', 'ITP', 'YWYINLCAIU4Z7YA'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('VH112LNS1EJJK75', '25-10-2017', '2000', '0', '123', 'Universal Electic', NULL, NULL, '2', '2', '1', 'Cash', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('L2FOE13IDSYADC3', '25-10-2017', '3000', '0', '123', 'Universal Electic', NULL, NULL, '2', '2', '1', 'no des', 'HS28Q2LCDZHWDS5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('FSQ9O99EGHTRE9F', '25-10-2017', '1000', '0', '123', 'Universal Electic', NULL, NULL, '2', '2', '1', '', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('WQVYCRJMN86GI17', '26-10-2017', '25800', NULL, '1979956835', 'Universal Electic', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('2IXO5N7VJFSJ7W3', '26-10-2017', '45720', NULL, '2191413693', 'Universal Electic', NULL, NULL, '2', '2', '1', 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('KTASGDEO2EVT8FP', '26-10-2017', '35200', NULL, '6476889255', 'Universal Electic', NULL, NULL, '2', '2', '1', 'ITP', 'HS28Q2LCDZHWDS5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('FCW4MH999Y3A75X', '26-10-2017', '35200', NULL, '1441514161', 'Universal Electic', NULL, NULL, '2', '2', '1', 'ITP', 'HS28Q2LCDZHWDS5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('C5JJ9CNCRQN6ZQR', '26-10-2017', '35200', NULL, '1161734131', 'Universal Electic', NULL, NULL, '2', '2', '1', 'ITP', 'HS28Q2LCDZHWDS5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('G36CPLKONRDN18L', '26-10-2017', '35200', NULL, '4672383343', 'Universal Electic', NULL, NULL, '2', '2', '1', 'ITP', 'HS28Q2LCDZHWDS5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('T71A2WYSBL1OQFJ', '26-10-2017', '1074140', NULL, '9455792915', 'Universal Electic', NULL, NULL, '2', '2', '1', 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('UPV5HNEO3MK8ZOW', '26-10-2017', '1074140', NULL, '4981452674', 'Universal Electic', NULL, NULL, '2', '2', '1', 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('GVH6YY7265ISKCI', '26-10-2017', '73080', NULL, '4124575573', 'Universal Electic', NULL, NULL, '2', '2', '1', 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('78SO49VW5EWVQLG', '26-10-2017', '73080', NULL, '1824634358', 'Universal Electic', NULL, NULL, '2', '2', '1', 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('6WBA2S3PR7B5KOU', '26-10-2017', '58800', NULL, '5866553993', 'Universal Electic', NULL, NULL, '2', '2', '1', 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('VNCC412Q9ORNR2F', '26-10-2017', '81600', NULL, '2827821423', 'Universal Electic', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('8GX996WGH6AH12O', '26-10-2017', '34500', NULL, '5696739753', 'Universal Electic', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('CDXCOWXKMR3YAYO', '26-10-2017', '71760', NULL, '8771668649', 'Universal Electic', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('AGVJG2Y23Q8AHZD', '27-10-2017', '71960', NULL, '3276699692', 'Universal Electic', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('UED29RCG1321ZZO', '27-10-2017', '71960', NULL, '1612663242', 'Universal Electic', NULL, NULL, '2', '2', '1', 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('YF8XXXZX1ACGXY3', '27-10-2017', '119400', NULL, '2838558471', 'Universal Electic', NULL, NULL, '2', '2', '1', 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('7ZW9G3F6A3ZBAA8', '27-10-2017', '777777', NULL, '8332727433', 'Universal Electic', NULL, NULL, '2', '2', '1', 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('5CUCOA9L3HXZTZ3', '27-10-2017', '15200', NULL, '8861346923', 'Universal Electic', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('P3YOLNTKI1R13YT', '27-10-2017', '7600', NULL, '1315834339', 'Universal Electic', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('BM1RD29M3U7VQ1B', '27-10-2017', '33600', NULL, '6812413211', 'Universal Electic', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('4BPPVCALP98XOOY', '27-10-2017', '151200', NULL, '2841757611', 'Universal Electic', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('37W1572K5SAS3SK', '31-10-2017', '', '450', NULL, 'Universal Electic', NULL, NULL, '2', '1', '1', 'dfgdsgf', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('PDPYVAPZXT3ALZF', '01-11-2017', '48960', NULL, '2955339992', 'Universal Electic', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('3FL6WVVYBJ2IXTG', '01-11-2017', '10000', NULL, '7774413469', 'Universal Electic', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('KECMDNQWIW9UI7L', '01-11-2017', '8000', NULL, '8829776633', 'Universal Electic', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('VAH59FVGOXCI2KV', '02-11-2017', '70000', NULL, NULL, 'Universal Electic', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('VAH59FVGOXCI2KV', '02-11-2017', '70000', NULL, '9928459451', 'Universal Electic', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('QAO1QIY19Q7RKTH', '02-11-2017', '46000', NULL, NULL, 'Universal Electic', NULL, NULL, '2', '2', '1', 'ITP', ''); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('QAO1QIY19Q7RKTH', '02-11-2017', '46000', NULL, '4991415829', 'Universal Electic', NULL, NULL, '2', '2', '1', 'ITP', ''); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('DU843BZYE76XUHX', '02-11-2017', '46000', NULL, NULL, 'Universal Electic', NULL, NULL, '2', '2', '1', 'ITP', ''); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('DU843BZYE76XUHX', '02-11-2017', '46000', NULL, '6471686685', 'Universal Electic', NULL, NULL, '2', '2', '1', 'ITP', ''); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('XA89GZE1P5V51DE', '02-11-2017', '46000', NULL, NULL, 'Universal Electic', NULL, NULL, '2', '2', '1', 'ITP', ''); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('XA89GZE1P5V51DE', '02-11-2017', '46000', NULL, '7579931679', 'Universal Electic', NULL, NULL, '2', '2', '1', 'ITP', ''); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('1MZZRFMMRXQ37VJ', '04-11-2017', '63000', NULL, NULL, 'Universal Electic', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('1MZZRFMMRXQ37VJ', '04-11-2017', '63000', NULL, '8914637431', 'Universal Electic', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('YB2DKLKGZPJ5YF2', '04-11-2017', '120920', NULL, NULL, 'Universal Electic', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('43DXTMZASI4BTMN', '06-11-2017', '125000', NULL, '3245145265', 'Universal Electic', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('OK5UDZV15MSWLLL', '04-11-2017', '110000', NULL, NULL, 'Universal Electic', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('43DXTMZASI4BTMN', '06-11-2017', '125000', NULL, '3245145265', 'Universal Electic', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('PNOBOTZCL9OWBP5', '25-10-2017', '111600', NULL, '6678792612', 'S.S Enterprise', NULL, NULL, '2', '2', '1', 'ITP', 'YWYINLCAIU4Z7YA'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('VH112LNS1EJJK75', '25-10-2017', '2000', '0', '123', 'S.S Enterprise', NULL, NULL, '2', '2', '1', 'Cash', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('L2FOE13IDSYADC3', '25-10-2017', '3000', '0', '123', 'S.S Enterprise', NULL, NULL, '2', '2', '1', 'no des', 'HS28Q2LCDZHWDS5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('FSQ9O99EGHTRE9F', '25-10-2017', '1000', '0', '123', 'S.S Enterprise', NULL, NULL, '2', '2', '1', '', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('WQVYCRJMN86GI17', '26-10-2017', '25800', NULL, '1979956835', 'S.S Enterprise', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('2IXO5N7VJFSJ7W3', '26-10-2017', '45720', NULL, '2191413693', 'S.S Enterprise', NULL, NULL, '2', '2', '1', 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('KTASGDEO2EVT8FP', '26-10-2017', '35200', NULL, '6476889255', 'S.S Enterprise', NULL, NULL, '2', '2', '1', 'ITP', 'HS28Q2LCDZHWDS5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('FCW4MH999Y3A75X', '26-10-2017', '35200', NULL, '1441514161', 'S.S Enterprise', NULL, NULL, '2', '2', '1', 'ITP', 'HS28Q2LCDZHWDS5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('C5JJ9CNCRQN6ZQR', '26-10-2017', '35200', NULL, '1161734131', 'S.S Enterprise', NULL, NULL, '2', '2', '1', 'ITP', 'HS28Q2LCDZHWDS5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('G36CPLKONRDN18L', '26-10-2017', '35200', NULL, '4672383343', 'S.S Enterprise', NULL, NULL, '2', '2', '1', 'ITP', 'HS28Q2LCDZHWDS5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('T71A2WYSBL1OQFJ', '26-10-2017', '1074140', NULL, '9455792915', 'S.S Enterprise', NULL, NULL, '2', '2', '1', 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('UPV5HNEO3MK8ZOW', '26-10-2017', '1074140', NULL, '4981452674', 'S.S Enterprise', NULL, NULL, '2', '2', '1', 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('GVH6YY7265ISKCI', '26-10-2017', '73080', NULL, '4124575573', 'S.S Enterprise', NULL, NULL, '2', '2', '1', 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('78SO49VW5EWVQLG', '26-10-2017', '73080', NULL, '1824634358', 'S.S Enterprise', NULL, NULL, '2', '2', '1', 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('6WBA2S3PR7B5KOU', '26-10-2017', '58800', NULL, '5866553993', 'S.S Enterprise', NULL, NULL, '2', '2', '1', 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('VNCC412Q9ORNR2F', '26-10-2017', '81600', NULL, '2827821423', 'S.S Enterprise', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('8GX996WGH6AH12O', '26-10-2017', '34500', NULL, '5696739753', 'S.S Enterprise', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('CDXCOWXKMR3YAYO', '26-10-2017', '71760', NULL, '8771668649', 'S.S Enterprise', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('AGVJG2Y23Q8AHZD', '27-10-2017', '71960', NULL, '3276699692', 'S.S Enterprise', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('UED29RCG1321ZZO', '27-10-2017', '71960', NULL, '1612663242', 'S.S Enterprise', NULL, NULL, '2', '2', '1', 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('YF8XXXZX1ACGXY3', '27-10-2017', '119400', NULL, '2838558471', 'S.S Enterprise', NULL, NULL, '2', '2', '1', 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('7ZW9G3F6A3ZBAA8', '27-10-2017', '777777', NULL, '8332727433', 'S.S Enterprise', NULL, NULL, '2', '2', '1', 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('5CUCOA9L3HXZTZ3', '27-10-2017', '15200', NULL, '8861346923', 'S.S Enterprise', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('P3YOLNTKI1R13YT', '27-10-2017', '7600', NULL, '1315834339', 'S.S Enterprise', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('BM1RD29M3U7VQ1B', '27-10-2017', '33600', NULL, '6812413211', 'S.S Enterprise', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('4BPPVCALP98XOOY', '27-10-2017', '151200', NULL, '2841757611', 'S.S Enterprise', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('37W1572K5SAS3SK', '31-10-2017', '', '450', NULL, 'S.S Enterprise', NULL, NULL, '2', '1', '1', 'dfgdsgf', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('PDPYVAPZXT3ALZF', '01-11-2017', '48960', NULL, '2955339992', 'S.S Enterprise', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('3FL6WVVYBJ2IXTG', '01-11-2017', '10000', NULL, '7774413469', 'S.S Enterprise', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('KECMDNQWIW9UI7L', '01-11-2017', '8000', NULL, '8829776633', 'S.S Enterprise', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('VAH59FVGOXCI2KV', '02-11-2017', '70000', NULL, NULL, 'S.S Enterprise', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('VAH59FVGOXCI2KV', '02-11-2017', '70000', NULL, '9928459451', 'S.S Enterprise', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('QAO1QIY19Q7RKTH', '02-11-2017', '46000', NULL, NULL, 'S.S Enterprise', NULL, NULL, '2', '2', '1', 'ITP', ''); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('QAO1QIY19Q7RKTH', '02-11-2017', '46000', NULL, '4991415829', 'S.S Enterprise', NULL, NULL, '2', '2', '1', 'ITP', ''); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('DU843BZYE76XUHX', '02-11-2017', '46000', NULL, NULL, 'S.S Enterprise', NULL, NULL, '2', '2', '1', 'ITP', ''); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('DU843BZYE76XUHX', '02-11-2017', '46000', NULL, '6471686685', 'S.S Enterprise', NULL, NULL, '2', '2', '1', 'ITP', ''); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('XA89GZE1P5V51DE', '02-11-2017', '46000', NULL, NULL, 'S.S Enterprise', NULL, NULL, '2', '2', '1', 'ITP', ''); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('XA89GZE1P5V51DE', '02-11-2017', '46000', NULL, '7579931679', 'S.S Enterprise', NULL, NULL, '2', '2', '1', 'ITP', ''); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('1MZZRFMMRXQ37VJ', '04-11-2017', '63000', NULL, NULL, 'S.S Enterprise', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('1MZZRFMMRXQ37VJ', '04-11-2017', '63000', NULL, '8914637431', 'S.S Enterprise', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('YB2DKLKGZPJ5YF2', '04-11-2017', '120920', NULL, NULL, 'S.S Enterprise', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('43DXTMZASI4BTMN', '06-11-2017', '125000', NULL, '3245145265', 'S.S Enterprise', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('OK5UDZV15MSWLLL', '04-11-2017', '110000', NULL, NULL, 'S.S Enterprise', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('43DXTMZASI4BTMN', '06-11-2017', '125000', NULL, '3245145265', 'S.S Enterprise', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('PNOBOTZCL9OWBP5', '25-10-2017', '111600', NULL, '6678792612', 'S.R Enterprise ', NULL, NULL, '2', '2', '1', 'ITP', 'YWYINLCAIU4Z7YA'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('VH112LNS1EJJK75', '25-10-2017', '2000', '0', '123', 'S.R Enterprise ', NULL, NULL, '2', '2', '1', 'Cash', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('L2FOE13IDSYADC3', '25-10-2017', '3000', '0', '123', 'S.R Enterprise ', NULL, NULL, '2', '2', '1', 'no des', 'HS28Q2LCDZHWDS5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('FSQ9O99EGHTRE9F', '25-10-2017', '1000', '0', '123', 'S.R Enterprise ', NULL, NULL, '2', '2', '1', '', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('WQVYCRJMN86GI17', '26-10-2017', '25800', NULL, '1979956835', 'S.R Enterprise ', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('2IXO5N7VJFSJ7W3', '26-10-2017', '45720', NULL, '2191413693', 'S.R Enterprise ', NULL, NULL, '2', '2', '1', 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('KTASGDEO2EVT8FP', '26-10-2017', '35200', NULL, '6476889255', 'S.R Enterprise ', NULL, NULL, '2', '2', '1', 'ITP', 'HS28Q2LCDZHWDS5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('FCW4MH999Y3A75X', '26-10-2017', '35200', NULL, '1441514161', 'S.R Enterprise ', NULL, NULL, '2', '2', '1', 'ITP', 'HS28Q2LCDZHWDS5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('C5JJ9CNCRQN6ZQR', '26-10-2017', '35200', NULL, '1161734131', 'S.R Enterprise ', NULL, NULL, '2', '2', '1', 'ITP', 'HS28Q2LCDZHWDS5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('G36CPLKONRDN18L', '26-10-2017', '35200', NULL, '4672383343', 'S.R Enterprise ', NULL, NULL, '2', '2', '1', 'ITP', 'HS28Q2LCDZHWDS5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('T71A2WYSBL1OQFJ', '26-10-2017', '1074140', NULL, '9455792915', 'S.R Enterprise ', NULL, NULL, '2', '2', '1', 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('UPV5HNEO3MK8ZOW', '26-10-2017', '1074140', NULL, '4981452674', 'S.R Enterprise ', NULL, NULL, '2', '2', '1', 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('GVH6YY7265ISKCI', '26-10-2017', '73080', NULL, '4124575573', 'S.R Enterprise ', NULL, NULL, '2', '2', '1', 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('78SO49VW5EWVQLG', '26-10-2017', '73080', NULL, '1824634358', 'S.R Enterprise ', NULL, NULL, '2', '2', '1', 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('6WBA2S3PR7B5KOU', '26-10-2017', '58800', NULL, '5866553993', 'S.R Enterprise ', NULL, NULL, '2', '2', '1', 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('VNCC412Q9ORNR2F', '26-10-2017', '81600', NULL, '2827821423', 'S.R Enterprise ', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('8GX996WGH6AH12O', '26-10-2017', '34500', NULL, '5696739753', 'S.R Enterprise ', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('CDXCOWXKMR3YAYO', '26-10-2017', '71760', NULL, '8771668649', 'S.R Enterprise ', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('AGVJG2Y23Q8AHZD', '27-10-2017', '71960', NULL, '3276699692', 'S.R Enterprise ', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('UED29RCG1321ZZO', '27-10-2017', '71960', NULL, '1612663242', 'S.R Enterprise ', NULL, NULL, '2', '2', '1', 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('YF8XXXZX1ACGXY3', '27-10-2017', '119400', NULL, '2838558471', 'S.R Enterprise ', NULL, NULL, '2', '2', '1', 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('7ZW9G3F6A3ZBAA8', '27-10-2017', '777777', NULL, '8332727433', 'S.R Enterprise ', NULL, NULL, '2', '2', '1', 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('5CUCOA9L3HXZTZ3', '27-10-2017', '15200', NULL, '8861346923', 'S.R Enterprise ', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('P3YOLNTKI1R13YT', '27-10-2017', '7600', NULL, '1315834339', 'S.R Enterprise ', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('BM1RD29M3U7VQ1B', '27-10-2017', '33600', NULL, '6812413211', 'S.R Enterprise ', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('4BPPVCALP98XOOY', '27-10-2017', '151200', NULL, '2841757611', 'S.R Enterprise ', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('37W1572K5SAS3SK', '31-10-2017', '', '450', NULL, 'S.R Enterprise ', NULL, NULL, '2', '1', '1', 'dfgdsgf', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('PDPYVAPZXT3ALZF', '01-11-2017', '48960', NULL, '2955339992', 'S.R Enterprise ', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('3FL6WVVYBJ2IXTG', '01-11-2017', '10000', NULL, '7774413469', 'S.R Enterprise ', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('KECMDNQWIW9UI7L', '01-11-2017', '8000', NULL, '8829776633', 'S.R Enterprise ', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('VAH59FVGOXCI2KV', '02-11-2017', '70000', NULL, NULL, 'S.R Enterprise ', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('VAH59FVGOXCI2KV', '02-11-2017', '70000', NULL, '9928459451', 'S.R Enterprise ', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('QAO1QIY19Q7RKTH', '02-11-2017', '46000', NULL, NULL, 'S.R Enterprise ', NULL, NULL, '2', '2', '1', 'ITP', ''); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('QAO1QIY19Q7RKTH', '02-11-2017', '46000', NULL, '4991415829', 'S.R Enterprise ', NULL, NULL, '2', '2', '1', 'ITP', ''); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('DU843BZYE76XUHX', '02-11-2017', '46000', NULL, NULL, 'S.R Enterprise ', NULL, NULL, '2', '2', '1', 'ITP', ''); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('DU843BZYE76XUHX', '02-11-2017', '46000', NULL, '6471686685', 'S.R Enterprise ', NULL, NULL, '2', '2', '1', 'ITP', ''); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('XA89GZE1P5V51DE', '02-11-2017', '46000', NULL, NULL, 'S.R Enterprise ', NULL, NULL, '2', '2', '1', 'ITP', ''); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('XA89GZE1P5V51DE', '02-11-2017', '46000', NULL, '7579931679', 'S.R Enterprise ', NULL, NULL, '2', '2', '1', 'ITP', ''); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('1MZZRFMMRXQ37VJ', '04-11-2017', '63000', NULL, NULL, 'S.R Enterprise ', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('1MZZRFMMRXQ37VJ', '04-11-2017', '63000', NULL, '8914637431', 'S.R Enterprise ', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('YB2DKLKGZPJ5YF2', '04-11-2017', '120920', NULL, NULL, 'S.R Enterprise ', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('43DXTMZASI4BTMN', '06-11-2017', '125000', NULL, '3245145265', 'S.R Enterprise ', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('OK5UDZV15MSWLLL', '04-11-2017', '110000', NULL, NULL, 'S.R Enterprise ', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('43DXTMZASI4BTMN', '06-11-2017', '125000', NULL, '3245145265', 'S.R Enterprise ', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('PNOBOTZCL9OWBP5', '25-10-2017', '111600', NULL, '6678792612', 'Hannan Traders', NULL, NULL, '2', '2', '1', 'ITP', 'YWYINLCAIU4Z7YA'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('VH112LNS1EJJK75', '25-10-2017', '2000', '0', '123', 'Hannan Traders', NULL, NULL, '2', '2', '1', 'Cash', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('L2FOE13IDSYADC3', '25-10-2017', '3000', '0', '123', 'Hannan Traders', NULL, NULL, '2', '2', '1', 'no des', 'HS28Q2LCDZHWDS5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('FSQ9O99EGHTRE9F', '25-10-2017', '1000', '0', '123', 'Hannan Traders', NULL, NULL, '2', '2', '1', '', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('WQVYCRJMN86GI17', '26-10-2017', '25800', NULL, '1979956835', 'Hannan Traders', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('2IXO5N7VJFSJ7W3', '26-10-2017', '45720', NULL, '2191413693', 'Hannan Traders', NULL, NULL, '2', '2', '1', 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('KTASGDEO2EVT8FP', '26-10-2017', '35200', NULL, '6476889255', 'Hannan Traders', NULL, NULL, '2', '2', '1', 'ITP', 'HS28Q2LCDZHWDS5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('FCW4MH999Y3A75X', '26-10-2017', '35200', NULL, '1441514161', 'Hannan Traders', NULL, NULL, '2', '2', '1', 'ITP', 'HS28Q2LCDZHWDS5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('C5JJ9CNCRQN6ZQR', '26-10-2017', '35200', NULL, '1161734131', 'Hannan Traders', NULL, NULL, '2', '2', '1', 'ITP', 'HS28Q2LCDZHWDS5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('G36CPLKONRDN18L', '26-10-2017', '35200', NULL, '4672383343', 'Hannan Traders', NULL, NULL, '2', '2', '1', 'ITP', 'HS28Q2LCDZHWDS5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('T71A2WYSBL1OQFJ', '26-10-2017', '1074140', NULL, '9455792915', 'Hannan Traders', NULL, NULL, '2', '2', '1', 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('UPV5HNEO3MK8ZOW', '26-10-2017', '1074140', NULL, '4981452674', 'Hannan Traders', NULL, NULL, '2', '2', '1', 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('GVH6YY7265ISKCI', '26-10-2017', '73080', NULL, '4124575573', 'Hannan Traders', NULL, NULL, '2', '2', '1', 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('78SO49VW5EWVQLG', '26-10-2017', '73080', NULL, '1824634358', 'Hannan Traders', NULL, NULL, '2', '2', '1', 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('6WBA2S3PR7B5KOU', '26-10-2017', '58800', NULL, '5866553993', 'Hannan Traders', NULL, NULL, '2', '2', '1', 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('VNCC412Q9ORNR2F', '26-10-2017', '81600', NULL, '2827821423', 'Hannan Traders', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('8GX996WGH6AH12O', '26-10-2017', '34500', NULL, '5696739753', 'Hannan Traders', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('CDXCOWXKMR3YAYO', '26-10-2017', '71760', NULL, '8771668649', 'Hannan Traders', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('AGVJG2Y23Q8AHZD', '27-10-2017', '71960', NULL, '3276699692', 'Hannan Traders', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('UED29RCG1321ZZO', '27-10-2017', '71960', NULL, '1612663242', 'Hannan Traders', NULL, NULL, '2', '2', '1', 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('YF8XXXZX1ACGXY3', '27-10-2017', '119400', NULL, '2838558471', 'Hannan Traders', NULL, NULL, '2', '2', '1', 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('7ZW9G3F6A3ZBAA8', '27-10-2017', '777777', NULL, '8332727433', 'Hannan Traders', NULL, NULL, '2', '2', '1', 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('5CUCOA9L3HXZTZ3', '27-10-2017', '15200', NULL, '8861346923', 'Hannan Traders', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('P3YOLNTKI1R13YT', '27-10-2017', '7600', NULL, '1315834339', 'Hannan Traders', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('BM1RD29M3U7VQ1B', '27-10-2017', '33600', NULL, '6812413211', 'Hannan Traders', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('4BPPVCALP98XOOY', '27-10-2017', '151200', NULL, '2841757611', 'Hannan Traders', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('37W1572K5SAS3SK', '31-10-2017', '', '450', NULL, 'Hannan Traders', NULL, NULL, '2', '1', '1', 'dfgdsgf', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('PDPYVAPZXT3ALZF', '01-11-2017', '48960', NULL, '2955339992', 'Hannan Traders', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('3FL6WVVYBJ2IXTG', '01-11-2017', '10000', NULL, '7774413469', 'Hannan Traders', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('KECMDNQWIW9UI7L', '01-11-2017', '8000', NULL, '8829776633', 'Hannan Traders', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('VAH59FVGOXCI2KV', '02-11-2017', '70000', NULL, NULL, 'Hannan Traders', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('VAH59FVGOXCI2KV', '02-11-2017', '70000', NULL, '9928459451', 'Hannan Traders', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('QAO1QIY19Q7RKTH', '02-11-2017', '46000', NULL, NULL, 'Hannan Traders', NULL, NULL, '2', '2', '1', 'ITP', ''); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('QAO1QIY19Q7RKTH', '02-11-2017', '46000', NULL, '4991415829', 'Hannan Traders', NULL, NULL, '2', '2', '1', 'ITP', ''); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('DU843BZYE76XUHX', '02-11-2017', '46000', NULL, NULL, 'Hannan Traders', NULL, NULL, '2', '2', '1', 'ITP', ''); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('DU843BZYE76XUHX', '02-11-2017', '46000', NULL, '6471686685', 'Hannan Traders', NULL, NULL, '2', '2', '1', 'ITP', ''); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('XA89GZE1P5V51DE', '02-11-2017', '46000', NULL, NULL, 'Hannan Traders', NULL, NULL, '2', '2', '1', 'ITP', ''); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('XA89GZE1P5V51DE', '02-11-2017', '46000', NULL, '7579931679', 'Hannan Traders', NULL, NULL, '2', '2', '1', 'ITP', ''); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('1MZZRFMMRXQ37VJ', '04-11-2017', '63000', NULL, NULL, 'Hannan Traders', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('1MZZRFMMRXQ37VJ', '04-11-2017', '63000', NULL, '8914637431', 'Hannan Traders', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('YB2DKLKGZPJ5YF2', '04-11-2017', '120920', NULL, NULL, 'Hannan Traders', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('43DXTMZASI4BTMN', '06-11-2017', '125000', NULL, '3245145265', 'Hannan Traders', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('OK5UDZV15MSWLLL', '04-11-2017', '110000', NULL, NULL, 'Hannan Traders', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('43DXTMZASI4BTMN', '06-11-2017', '125000', NULL, '3245145265', 'Hannan Traders', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('PNOBOTZCL9OWBP5', '25-10-2017', '111600', NULL, '6678792612', 'Johan Doye', NULL, NULL, '2', '2', '1', 'ITP', 'YWYINLCAIU4Z7YA'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('VH112LNS1EJJK75', '25-10-2017', '2000', '0', '123', 'Johan Doye', NULL, NULL, '2', '2', '1', 'Cash', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('L2FOE13IDSYADC3', '25-10-2017', '3000', '0', '123', 'Johan Doye', NULL, NULL, '2', '2', '1', 'no des', 'HS28Q2LCDZHWDS5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('FSQ9O99EGHTRE9F', '25-10-2017', '1000', '0', '123', 'Johan Doye', NULL, NULL, '2', '2', '1', '', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('WQVYCRJMN86GI17', '26-10-2017', '25800', NULL, '1979956835', 'Johan Doye', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('2IXO5N7VJFSJ7W3', '26-10-2017', '45720', NULL, '2191413693', 'Johan Doye', NULL, NULL, '2', '2', '1', 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('KTASGDEO2EVT8FP', '26-10-2017', '35200', NULL, '6476889255', 'Johan Doye', NULL, NULL, '2', '2', '1', 'ITP', 'HS28Q2LCDZHWDS5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('FCW4MH999Y3A75X', '26-10-2017', '35200', NULL, '1441514161', 'Johan Doye', NULL, NULL, '2', '2', '1', 'ITP', 'HS28Q2LCDZHWDS5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('C5JJ9CNCRQN6ZQR', '26-10-2017', '35200', NULL, '1161734131', 'Johan Doye', NULL, NULL, '2', '2', '1', 'ITP', 'HS28Q2LCDZHWDS5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('G36CPLKONRDN18L', '26-10-2017', '35200', NULL, '4672383343', 'Johan Doye', NULL, NULL, '2', '2', '1', 'ITP', 'HS28Q2LCDZHWDS5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('T71A2WYSBL1OQFJ', '26-10-2017', '1074140', NULL, '9455792915', 'Johan Doye', NULL, NULL, '2', '2', '1', 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('UPV5HNEO3MK8ZOW', '26-10-2017', '1074140', NULL, '4981452674', 'Johan Doye', NULL, NULL, '2', '2', '1', 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('GVH6YY7265ISKCI', '26-10-2017', '73080', NULL, '4124575573', 'Johan Doye', NULL, NULL, '2', '2', '1', 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('78SO49VW5EWVQLG', '26-10-2017', '73080', NULL, '1824634358', 'Johan Doye', NULL, NULL, '2', '2', '1', 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('6WBA2S3PR7B5KOU', '26-10-2017', '58800', NULL, '5866553993', 'Johan Doye', NULL, NULL, '2', '2', '1', 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('VNCC412Q9ORNR2F', '26-10-2017', '81600', NULL, '2827821423', 'Johan Doye', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('8GX996WGH6AH12O', '26-10-2017', '34500', NULL, '5696739753', 'Johan Doye', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('CDXCOWXKMR3YAYO', '26-10-2017', '71760', NULL, '8771668649', 'Johan Doye', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('AGVJG2Y23Q8AHZD', '27-10-2017', '71960', NULL, '3276699692', 'Johan Doye', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('UED29RCG1321ZZO', '27-10-2017', '71960', NULL, '1612663242', 'Johan Doye', NULL, NULL, '2', '2', '1', 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('YF8XXXZX1ACGXY3', '27-10-2017', '119400', NULL, '2838558471', 'Johan Doye', NULL, NULL, '2', '2', '1', 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('7ZW9G3F6A3ZBAA8', '27-10-2017', '777777', NULL, '8332727433', 'Johan Doye', NULL, NULL, '2', '2', '1', 'ITP', 'F34YNOU3TJSAO67'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('5CUCOA9L3HXZTZ3', '27-10-2017', '15200', NULL, '8861346923', 'Johan Doye', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('P3YOLNTKI1R13YT', '27-10-2017', '7600', NULL, '1315834339', 'Johan Doye', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('BM1RD29M3U7VQ1B', '27-10-2017', '33600', NULL, '6812413211', 'Johan Doye', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('4BPPVCALP98XOOY', '27-10-2017', '151200', NULL, '2841757611', 'Johan Doye', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('37W1572K5SAS3SK', '31-10-2017', '', '450', NULL, 'Johan Doye', NULL, NULL, '2', '1', '1', 'dfgdsgf', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('PDPYVAPZXT3ALZF', '01-11-2017', '48960', NULL, '2955339992', 'Johan Doye', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('3FL6WVVYBJ2IXTG', '01-11-2017', '10000', NULL, '7774413469', 'Johan Doye', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('KECMDNQWIW9UI7L', '01-11-2017', '8000', NULL, '8829776633', 'Johan Doye', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('VAH59FVGOXCI2KV', '02-11-2017', '70000', NULL, NULL, 'Johan Doye', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('VAH59FVGOXCI2KV', '02-11-2017', '70000', NULL, '9928459451', 'Johan Doye', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('QAO1QIY19Q7RKTH', '02-11-2017', '46000', NULL, NULL, 'Johan Doye', NULL, NULL, '2', '2', '1', 'ITP', ''); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('QAO1QIY19Q7RKTH', '02-11-2017', '46000', NULL, '4991415829', 'Johan Doye', NULL, NULL, '2', '2', '1', 'ITP', ''); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('DU843BZYE76XUHX', '02-11-2017', '46000', NULL, NULL, 'Johan Doye', NULL, NULL, '2', '2', '1', 'ITP', ''); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('DU843BZYE76XUHX', '02-11-2017', '46000', NULL, '6471686685', 'Johan Doye', NULL, NULL, '2', '2', '1', 'ITP', ''); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('XA89GZE1P5V51DE', '02-11-2017', '46000', NULL, NULL, 'Johan Doye', NULL, NULL, '2', '2', '1', 'ITP', ''); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('XA89GZE1P5V51DE', '02-11-2017', '46000', NULL, '7579931679', 'Johan Doye', NULL, NULL, '2', '2', '1', 'ITP', ''); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('1MZZRFMMRXQ37VJ', '04-11-2017', '63000', NULL, NULL, 'Johan Doye', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('1MZZRFMMRXQ37VJ', '04-11-2017', '63000', NULL, '8914637431', 'Johan Doye', NULL, NULL, '2', '2', '1', 'ITP', '8ZBLA3COJM2NT49'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('YB2DKLKGZPJ5YF2', '04-11-2017', '120920', NULL, NULL, 'Johan Doye', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('43DXTMZASI4BTMN', '06-11-2017', '125000', NULL, '3245145265', 'Johan Doye', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('OK5UDZV15MSWLLL', '04-11-2017', '110000', NULL, NULL, 'Johan Doye', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('43DXTMZASI4BTMN', '06-11-2017', '125000', NULL, '3245145265', 'Johan Doye', NULL, NULL, '2', '2', '1', 'ITP', 'JMVQJWU1FAEQHI5'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('PJP3UHZDMOFPK66', '25-10-2017', '', '200', NULL, NULL, 'Easy Global Trading Ltd.', NULL, '1', '1', '1', '', '5I6N5LC8ZXDREA9CC3ZW'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('D4PDQL36WENO5YE', '27-10-2017', '2017', '0', NULL, NULL, 'Easy Global Trading Ltd.', NULL, '1', '2', '1', '', '5I6N5LC8ZXDREA9CC3ZW'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('4LZA5EQOJKEMMS4', '25-10-2017', '', '500', NULL, NULL, 'Al Faisal International', NULL, '1', '1', '1', '', 'E674MTLPNV55PK67QHT4'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('VHLV1CJWVRVNR2J', '30-10-2017', '', '300', NULL, NULL, 'Al Faisal International', NULL, '1', '1', '1', 'This is supplier payment test', 'E674MTLPNV55PK67QHT4'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('B41QDCC3A2TY5JM', '26-10-2017', '', '12000', NULL, NULL, NULL, 'Faruk', '4', '1', '1', '', 'JGC4153QPL'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('9IFRDZW8DBQ262A', '25-10-2017', '', '10', NULL, NULL, NULL, NULL, '3', '1', '1', '', 'Office Rent'); INSERT INTO `view_transection` (`transaction_id`, `date_of_transection`, `amount`, `pay_amount`, `invoice_no`, `customer_name`, `supplier_name`, `person_name`, `transection_category`, `transection_type`, `transection_mood`, `description`, `relation_id`) VALUES ('TT176B5VPH76HLF', '25-10-2017', '', '5', NULL, NULL, NULL, NULL, '3', '1', '1', '', 'Office Rent'); # # TABLE STRUCTURE FOR: web_setting # DROP TABLE IF EXISTS `web_setting`; CREATE TABLE `web_setting` ( `setting_id` int(11) NOT NULL AUTO_INCREMENT, `logo` varchar(255) DEFAULT NULL, `invoice_logo` varchar(255) DEFAULT NULL, `favicon` varchar(255) DEFAULT NULL, `currency` varchar(10) DEFAULT NULL, `currency_position` varchar(10) DEFAULT NULL, `footer_text` varchar(255) DEFAULT NULL, `language` varchar(255) DEFAULT NULL, `rtr` varchar(255) DEFAULT NULL, `captcha` int(11) DEFAULT '1' COMMENT '0=active,1=inactive', `site_key` varchar(250) DEFAULT NULL, `secret_key` varchar(250) DEFAULT NULL, PRIMARY KEY (`setting_id`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8; INSERT INTO `web_setting` (`setting_id`, `logo`, `invoice_logo`, `favicon`, `currency`, `currency_position`, `footer_text`, `language`, `rtr`, `captcha`, `site_key`, `secret_key`) VALUES ('1', 'http://wholesalenew.bdtask.com/my-assets/image/logo/508c542be44cc99a63c6ce1e3079278e.png', 'http://wholesalenew.bdtask.com/my-assets/image/logo/e3577040b8f900fc6030b9ae11f55699.png', 'http://wholesalenew.bdtask.com/my-assets/image/logo/e8275d14a790c3c7ad46e325486aa51b.jpg', '$', '0', 'Copyright © 2016-2017 bdtask. All rights reserved.', 'english', '0', '1', '6LdiKhsUAAAAAMV4jQRmNYdZy2kXEuFe1HrdP5tt', '6LdiKhsUAAAAABH4BQCIvBar7Oqe-2LwDKxMSX-t');
ALTER SESSION SET CONTAINER = XEPDB1; -- Fix grants GRANT CREATE ANY TABLE TO DELIUS_APP_SCHEMA; GRANT CREATE SEQUENCE TO DELIUS_APP_SCHEMA; GRANT CREATE JOB TO DELIUS_APP_SCHEMA; GRANT EXECUTE ON dbms_session TO DELIUS_APP_SCHEMA; GRANT EXECUTE ON dbms_output TO DELIUS_APP_SCHEMA; GRANT EXECUTE ON dbms_flashback TO DELIUS_APP_SCHEMA; GRANT EXECUTE ON dbms_rls TO DELIUS_APP_SCHEMA; GRANT EXECUTE ON dbms_crypto TO DELIUS_APP_SCHEMA; GRANT EXECUTE ON dbms_aqadm TO DELIUS_APP_SCHEMA; GRANT EXECUTE ON dbms_aq TO DELIUS_APP_SCHEMA; GRANT EXECUTE ON dbms_pipe TO DELIUS_APP_SCHEMA; GRANT EXECUTE ON dbms_scheduler TO DELIUS_APP_SCHEMA; GRANT EXECUTE ON SYS.dbms_lock TO DELIUS_APP_SCHEMA; GRANT EXECUTE ON dbms_result_cache TO DELIUS_APP_SCHEMA; call dbms_java.grant_permission( 'DELIUS_APP_SCHEMA', 'SYS:java.lang.RuntimePermission', 'getClassLoader', '' ); call dbms_java.grant_permission( 'DELIUS_APP_SCHEMA', 'SYS:java.util.PropertyPermission', '*', 'read,write' ); call dbms_java.grant_permission( 'DELIUS_APP_SCHEMA', 'SYS:java.net.SocketPermission', '*', 'listen,resolve'); call dbms_java.grant_permission( 'DELIUS_APP_SCHEMA', 'SYS:java.net.SocketPermission', '*', 'accept,resolve'); call dbms_java.grant_permission( 'DELIUS_APP_SCHEMA', 'SYS:java.net.SocketPermission', '*', 'connect,resolve'); GRANT SELECT ON dba_datapump_sessions TO DELIUS_APP_SCHEMA; GRANT SELECT ON v_$database TO DELIUS_APP_SCHEMA; GRANT SELECT ON v_$mystat TO DELIUS_APP_SCHEMA; GRANT SELECT ON v_$statname TO DELIUS_APP_SCHEMA; GRANT SELECT ON v_$sqlarea TO DELIUS_APP_SCHEMA; GRANT SELECT ON gv_$sqlarea TO DELIUS_APP_SCHEMA; GRANT SELECT ON v_$session TO DELIUS_APP_SCHEMA; GRANT SELECT ON gv_$session TO DELIUS_APP_SCHEMA; GRANT SELECT ON v_$instance TO DELIUS_APP_SCHEMA; GRANT SELECT ON gv_$instance TO DELIUS_APP_SCHEMA; GRANT SELECT ON v_$parameter TO DELIUS_APP_SCHEMA; GRANT EXEMPT ACCESS POLICY TO DELIUS_APP_SCHEMA; GRANT datapump_imp_full_database TO DELIUS_APP_SCHEMA; GRANT SELECT ON gv_$sqlarea TO DELIUS_APP_SCHEMA; GRANT SELECT ON dba_data_files TO DELIUS_APP_SCHEMA; -- Set user passwords ALTER USER DELIUS_APP_SCHEMA IDENTIFIED BY &1; ALTER USER DELIUS_APP_SCHEMA ACCOUNT UNLOCK; ALTER USER DELIUS_POOL IDENTIFIED BY &1; ALTER USER DELIUS_POOL ACCOUNT UNLOCK; COMMIT; -- Recompile schema CONNECT DELIUS_APP_SCHEMA/&1@XEPDB1; BEGIN DBMS_UTILITY.compile_schema(USER,FALSE); END; / SHOW ERRORS EXIT;
DROP TABLE IF EXISTS `user`; CREATE TABLE `user` ( `id` bigint NOT NULL AUTO_INCREMENT, `name` varchar(255) DEFAULT NULL, `token` varchar(255) DEFAULT NULL, `leader_card_id` int DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `token` (`token`) ); DROP TABLE IF EXISTS `room`; CREATE TABLE `room` ( `room_id` bigint NOT NULL AUTO_INCREMENT, `live_id` bigint NOT NULL, `host_id` bigint NOT NULL, `room_status` int NOT NULL, `joined_user_count` int NOT NULL, `max_user_count` int NOT NULL, PRIMARY KEY (`room_id`) ); DROP TABLE IF EXISTS `room_member`; CREATE TABLE `room_member` ( `room_id` bigint NOT NULL, `user_id` bigint NOT NULL, `difficulty` int NOT NULL, `score` int DEFAULT NULL, `perfect` int DEFAULT NULL, `great` int DEFAULT NULL, `good` int DEFAULT NULL, `bad` int DEFAULT NULL, `miss` int DEFAULT NUll, PRIMARY KEY (`room_id`,`user_id`) );
INSERT INTO `pokemon` VALUES (12, 'Butterfree', 60, 45, 50, 90, 80, 70, 1); INSERT INTO `pokemon` VALUES (15, 'Beedrill', 65, 90, 40, 45, 80, 75, 1); INSERT INTO `pokemon` VALUES (18, 'Pidgeot', 83, 80, 75, 70, 70, 101, 1); INSERT INTO `pokemon` VALUES (26, 'Raichu', 60, 90, 55, 90, 80, 110, 0); INSERT INTO `pokemon` VALUES (28, 'Sandslash', 75, 100, 110, 45, 55, 65, 0); INSERT INTO `pokemon` VALUES (36, 'Clefable', 95, 70, 73, 95, 90, 60, 0); INSERT INTO `pokemon` VALUES (62, 'Poliwrath', 90, 95, 95, 70, 90, 70, 1); INSERT INTO `pokemon` VALUES (94, 'Gengar', 60, 65, 60, 130, 75, 110, 1); INSERT INTO `pokemon` VALUES (124, 'Jynx', 65, 50, 35, 115, 95, 95, 1); INSERT INTO `pokemon` VALUES (139, 'Omastar', 70, 60, 125, 115, 70, 55, 1); INSERT INTO `pokemon` VALUES (376, 'Metagross', 80, 135, 130, 95, 90, 70, 1); INSERT INTO `pokemon` VALUES (635, 'Hydreigon', 92, 105, 90, 125, 90, 98, 1);
-- @testpoint:openGauss关键字translate(非保留),作为列名不带引号,使用时带双引号或反引号,大小写匹配,失败 drop table if exists explain_test; create table explain_test( c_id int, c_int int, c_integer integer, c_bool int, c_boolean int, c_bigint integer, c_real real, c_double real, c_decimal decimal(38), c_number number(38), c_numeric numeric(38), c_char char(50) default null, c_varchar varchar(20), c_varchar2 varchar2(4000), c_date date, c_datetime date, c_timestamp timestamp, explain char(50),translate char(50) ) PARTITION BY RANGE (c_integer) ( partition P_20180121 values less than (0), partition P_20190122 values less than (50000), partition P_20200123 values less than (100000), partition P_max values less than (maxvalue) ); --插入时带双引号,插入数据成功 insert into explain_test(c_id,"translate") values(2,'china'); --插入时带反引号,插入数据失败 insert into explain_test(c_id,`translate`) values(2,'china'); select * from explain_test; drop table explain_test;
CREATE DATABASE burgers_db; USE burgers_db; CREATE TABLE burgers( id INT AUTO_INCREMENT PRIMARY KEY, burger_name VARCHAR(255) NOT NULL, devoured BOOLEAN DEFAULT false );
CREATE TABLE dashboard_user ( user_id varchar(50) NOT NULL, login_name varchar(100) DEFAULT NULL, user_name varchar(100) DEFAULT NULL, user_password varchar(100) DEFAULT NULL, user_status varchar(100) DEFAULT NULL, PRIMARY KEY CLUSTERED(user_id) ); INSERT INTO dashboard_user (user_id,login_name,user_name,user_password) VALUES('1','admin','Administrator','ff9830c42660c1dd1942844f8069b74a'); CREATE TABLE dashboard_user_role ( user_role_id bigint identity(1,1), user_id varchar(100) DEFAULT NULL, role_id varchar(100) DEFAULT NULL, PRIMARY KEY CLUSTERED(user_role_id) ); CREATE TABLE dashboard_role ( role_id varchar(100) NOT NULL, role_name varchar(100) DEFAULT NULL, user_id varchar(50) DEFAULT NULL, PRIMARY KEY CLUSTERED(role_id) ); CREATE TABLE dashboard_role_res ( role_res_id bigint identity(1,1), role_id varchar(100) DEFAULT NULL, res_type varchar(100) DEFAULT NULL, res_id bigint DEFAULT NULL, PRIMARY KEY CLUSTERED(role_res_id) ); UPDATE dashboard_dataset SET user_id = '1'; UPDATE dashboard_datasource SET user_id = '1'; UPDATE dashboard_board SET user_id = '1'; UPDATE dashboard_widget SET user_id = '1';
-- SETTINGS DELETE FROM `top`, `toc`, `to` USING `sys_options_types` AS `top` LEFT JOIN `sys_options_categories` AS `toc` ON `top`.`id`=`toc`.`type_id` LEFT JOIN `sys_options` AS `to` ON `toc`.`id`=`to`.`category_id` WHERE `top`.`name`='bx_stream'; -- PAGES DELETE FROM `sys_objects_page` WHERE `module` = 'bx_stream'; DELETE FROM `sys_pages_blocks` WHERE `module` = 'bx_stream' OR `object` IN('bx_stream_create_entry', 'bx_stream_edit_entry', 'bx_stream_delete_entry', 'bx_stream_view_entry', 'bx_stream_view_entry_comments', 'bx_stream_manage'); -- MENU DELETE FROM `sys_objects_menu` WHERE `module` = 'bx_stream'; DELETE FROM `sys_menu_sets` WHERE `module` = 'bx_stream'; DELETE FROM `sys_menu_items` WHERE `module` = 'bx_stream' OR `set_name` IN('bx_stream_view', 'bx_stream_view_actions', 'bx_stream_snippet_meta', 'bx_stream_menu_manage_tools'); -- PRIVACY DELETE FROM `sys_objects_privacy` WHERE `object` IN ('bx_stream_allow_view_to'); -- ACL DELETE `sys_acl_actions`, `sys_acl_matrix` FROM `sys_acl_actions`, `sys_acl_matrix` WHERE `sys_acl_matrix`.`IDAction` = `sys_acl_actions`.`ID` AND `sys_acl_actions`.`Module` = 'bx_stream'; DELETE FROM `sys_acl_actions` WHERE `Module` = 'bx_stream'; -- METATAGS DELETE FROM `sys_objects_metatags` WHERE `object` = 'bx_stream'; -- CATEGORY DELETE FROM `sys_objects_category` WHERE `object` = 'bx_stream_cats'; -- STATS DELETE FROM `sys_statistics` WHERE `name` LIKE 'bx_stream%'; -- CHARTS DELETE FROM `sys_objects_chart` WHERE `object` LIKE 'bx_stream%'; -- GRIDS DELETE FROM `sys_objects_grid` WHERE `object` IN ('bx_stream_administration', 'bx_stream_common'); DELETE FROM `sys_grid_fields` WHERE `object` IN ('bx_stream_administration', 'bx_stream_common'); DELETE FROM `sys_grid_actions` WHERE `object` IN ('bx_stream_administration', 'bx_stream_common'); -- UPLOADERS DELETE FROM `sys_objects_uploader` WHERE `object` LIKE 'bx_stream_%'; -- ALERTS SET @iHandler := (SELECT `id` FROM `sys_alerts_handlers` WHERE `name` = 'bx_stream' LIMIT 1); DELETE FROM `sys_alerts` WHERE `handler_id` = @iHandler; DELETE FROM `sys_alerts_handlers` WHERE `id` = @iHandler; -- CRON DELETE FROM `sys_cron_jobs` WHERE `name` LIKE 'bx_stream%';
USE bdEstoque --01 CREATE TRIGGER tgRemoverUnidade ON tbItensVenda AFTER INSERT AS BEGIN DECLARE @qtdVendida INT, @codProduto INT SELECT @codProduto = codProduto, @qtdVendida = quantidadeItensVenda FROM inserted UPDATE tbProduto SET quantidadeProduto -= @qtdVendida WHERE @codProduto = codProduto END --02 CREATE TRIGGER tgAdicionarUnidade ON tbEntradaProduto AFTER INSERT AS BEGIN DECLARE @qtdEntrando INT, @codProduto INT SELECT @codProduto = codProduto, @qtdEntrando = quantidadeEntradaProduto FROM inserted UPDATE tbProduto SET quantidadeProduto += @qtdEntrando WHERE @codProduto = codProduto END --03 CREATE TRIGGER tgInsertSaida ON tbItensVenda AFTER INSERT AS BEGIN DECLARE @qtdVenda INT, @codProduto INT SELECT @codProduto = codProduto, @qtdVenda = quantidadeItensVenda FROM inserted INSERT INTO tbSaidaProduto (codProduto,quantidadeSaidaProduto,dataSaidaProduto) VALUES ( @codProduto, @qtdVenda, GETDATE() ) END
--测试可选部分 --关键字错误 CREATE int STREAM S (id INT,name STRING) SERDE 'com.huawei.streaming.sql.SerDe.CSVSerDe' SOURCE 'com.huawei.streaming.spout.csvReader' PROPERTIES ("path" = "/local"); --数据类型错误 CREATE INPUT STREAM S (id INT,name STRNIG) SERDE 'com.huawei.streaming.sql.SerDe.CSVSerDe' properties ("ip" = "localhost") SOURCE 'com.huawei.streaming.spout.csvReader' PROPERTIES ("path" = "/local"); --关键字错误 CREATE INPUT STREAM S (id INT,name String) DESER 'com.huawei.streaming.sql.SerDe.CSVSerDe' pRoperties ("ip" = "localhost") SOURCE 'com.huawei.streaming.spout.csvReader' PROPERTIES ("path" = "/local"); --缺少Stream关键字 CREATE INPUT S (id INT,name String) SERDE 'com.huawei.streaming.sql.SerDe.CSVSerDe' SOURCE 'com.huawei.streaming.spout.csvReader'; --缺少流名称 CREATE INPUT STREAM (id INT comment 'user id',name String comment 'user name') COMMENT 'this is stream comment' SERDE 'com.huawei.streaming.sql.SerDe.CSVSerDe' SOURCE 'com.huawei.streaming.spout.csvReader';
-- create an average values of humidity records accross all requested transmitters -- ( all by default ) by 30 minutes timespan going back 24 hours CREATE OR REPLACE VIEW records_humidities_averages_last_24_hours AS SELECT current_interval_time, AVG( "humidities_averages"."humidity" ) AS humidity, AVG ( "humidities_averages"."temperature" ) AS temperature FROM generate_series( CURRENT_TIMESTAMP - INTERVAL '24 hour', CURRENT_TIMESTAMP, INTERVAL '30 minutes' ) AS current_interval_time LEFT JOIN "humidities_averages" ON "humidities_averages"."created_at" <= current_interval_time AND "humidities_averages"."created_at" >= ( current_interval_time - INTERVAL '30 minutes' ) WHERE "humidities_averages"."humidity" != 'NaN' AND "humidities_averages"."type" = 'week' GROUP BY current_interval_time ORDER BY current_interval_time;
-- 2018-04-25T11:23:35.755 -- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,AllowZoomTo,ColumnName,Created,CreatedBy,DDL_NoForeignKey,EntityType,FieldLength,IsActive,IsAdvancedText,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsCalculated,IsDimension,IsDLMPartitionBoundary,IsEncrypted,IsForceIncludeInGeneratedModel,IsGenericZoomKeyColumn,IsGenericZoomOrigin,IsIdentifier,IsKey,IsLazyLoading,IsMandatory,IsParent,IsRangeFilter,IsSelectionColumn,IsShowFilterIncrementButtons,IsStaleable,IsSyncDatabase,IsTranslated,IsUpdateable,IsUseDocSequence,Name,SelectionColumnSeqNo,SeqNo,Updated,UpdatedBy,Version) VALUES (0,559778,543951,0,19,260,'N','Base_PricingSystem_ID',TO_TIMESTAMP('2018-04-25 11:23:35','YYYY-MM-DD HH24:MI:SS'),100,'N','D',10,'Y','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','N','Base_PricingSystem_ID',0,0,TO_TIMESTAMP('2018-04-25 11:23:35','YYYY-MM-DD HH24:MI:SS'),100,0) ; -- 2018-04-25T11:23:35.762 -- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=559778 AND NOT EXISTS (SELECT 1 FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) ; -- 2018-04-25T11:33:58.862 -- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator UPDATE AD_Column SET AD_Reference_ID=30, AD_Reference_Value_ID=505274,Updated=TO_TIMESTAMP('2018-04-25 11:33:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=559778 ; -- 2018-04-25T11:36:44.984 -- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,ColumnDisplayLength,Created,CreatedBy,DisplayLength,EntityType,IncludedTabHeight,IsActive,IsDisplayed,IsDisplayedGrid,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SeqNoGrid,SortNo,SpanX,SpanY,Updated,UpdatedBy) VALUES (0,559778,563796,0,187,0,TO_TIMESTAMP('2018-04-25 11:36:44','YYYY-MM-DD HH24:MI:SS'),100,0,'D',0,'Y','Y','Y','N','N','N','N','N','Base_PricingSystem_ID',250,240,0,1,1,TO_TIMESTAMP('2018-04-25 11:36:44','YYYY-MM-DD HH24:MI:SS'),100) ; -- 2018-04-25T11:36:44.988 -- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_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_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=563796 AND NOT EXISTS (SELECT 1 FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID) ; -- 2018-04-25T11:38:14.956 -- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator INSERT INTO AD_UI_Element (AD_Client_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,AD_UI_Element_ID,AD_UI_ElementGroup_ID,AD_UI_ElementType,Created,CreatedBy,IsActive,IsAdvancedField,IsAllowFiltering,IsDisplayed,IsDisplayed_SideList,IsDisplayedGrid,Name,SeqNo,SeqNo_SideList,SeqNoGrid,Updated,UpdatedBy) VALUES (0,563796,0,187,551580,1000005,'F',TO_TIMESTAMP('2018-04-25 11:38:14','YYYY-MM-DD HH24:MI:SS'),100,'Y','N','N','Y','N','N','Base_PricingSystem_ID',310,0,0,TO_TIMESTAMP('2018-04-25 11:38:14','YYYY-MM-DD HH24:MI:SS'),100) ; -- 2018-04-25T11:39:26.668 -- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,ColumnDisplayLength,Created,CreatedBy,DisplayLength,EntityType,IncludedTabHeight,IsActive,IsDisplayed,IsDisplayedGrid,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SeqNoGrid,SortNo,SpanX,SpanY,Updated,UpdatedBy) VALUES (0,559778,563797,0,293,0,TO_TIMESTAMP('2018-04-25 11:39:26','YYYY-MM-DD HH24:MI:SS'),100,0,'D',0,'Y','Y','Y','N','N','N','N','N','Base_PricingSystem_ID',270,130,0,1,1,TO_TIMESTAMP('2018-04-25 11:39:26','YYYY-MM-DD HH24:MI:SS'),100) ; -- 2018-04-25T11:39:26.671 -- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_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_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=563797 AND NOT EXISTS (SELECT 1 FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID) ; -- 2018-04-25T11:39:44.607 -- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator INSERT INTO AD_UI_Element (AD_Client_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,AD_UI_Element_ID,AD_UI_ElementGroup_ID,AD_UI_ElementType,Created,CreatedBy,IsActive,IsAdvancedField,IsAllowFiltering,IsDisplayed,IsDisplayed_SideList,IsDisplayedGrid,Name,SeqNo,SeqNo_SideList,SeqNoGrid,Updated,UpdatedBy) VALUES (0,563797,0,293,551581,540927,'F',TO_TIMESTAMP('2018-04-25 11:39:44','YYYY-MM-DD HH24:MI:SS'),100,'Y','N','N','Y','N','N','Base_PricingSystem_ID',210,0,0,TO_TIMESTAMP('2018-04-25 11:39:44','YYYY-MM-DD HH24:MI:SS'),100) ; -- 2018-04-25T11:40:02.735 -- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator UPDATE AD_UI_Element SET IsAdvancedField='Y',Updated=TO_TIMESTAMP('2018-04-25 11:40:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=551581 ; -- 2018-04-25T11:40:53.704 -- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator UPDATE AD_UI_Element SET IsAdvancedField='N',Updated=TO_TIMESTAMP('2018-04-25 11:40:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=551581 ;
/* IF EXISTS (SELECT name FROM sysobjects WHERE (name = 'MemberService_SelectByMemberPage' AND type = 'P')) DROP PROCEDURE MemberService_SelectByMemberPage GO */ CREATE PROCEDURE dbo.MemberService_SelectByMemberPage /* STORED PROCEDURE - INPUTS (BEGIN) */ @memberId BIGINT, @initialRow INT, @count INT, @showHidden BIT /* STORED PROCEDURE - INPUTS ( END ) */ /* STORED PROCEDURE - OUTPUTS (BEGIN) */ -- EXAMPLE: @MYOUTPUT VARCHAR (20) OUTPUT -- A VARIABLE DECLARATION FOR RETURN VALUE /* STORED PROCEDURE - OUTPUTS ( END ) */ AS BEGIN /* STORED PROCEDURE (BEGIN) */ /* LOCAL VARIABLES (BEGIN) */ /* LOCAL VARIABLES ( END ) */ SELECT MemberServicePage.* FROM ( SELECT ROW_NUMBER () OVER (ORDER BY MemberId, EventDate DESC, MemberServiceId DESC) AS RowNumber, MemberService.*, Service.ServiceId AS ServiceId1, Service.ServiceName AS ServiceName1, Service.ServiceDescription AS ServiceDescription1, Service.ServiceType AS ServiceType1, ServiceClassification AS ServiceClassification1, Service.Enabled AS Enabled1, Service.Visible AS Visible1, Service.SetType AS SetType1, Service.SetWithinDays AS SetWithinDays1, Service.LastPaidDate AS LastPaidDate1, Service.ExtendedProperties AS ExtendedProperties1, Service.CreateAuthorityName AS CreateAuthorityName1, Service.CreateAccountId AS CreateAccountId1, Service.CreateAccountName AS CreateAccountName1, Service.CreateDate AS CreateDate1, Service.ModifiedAuthorityName AS ModifiedAuthorityName1, Service.ModifiedAccountId AS ModifiedAccountId1, Service.ModifiedAccountName AS ModifiedAccountName1, Service.ModifiedDate AS ModifiedDate1 FROM MemberService JOIN Service ON MemberService.ServiceId = Service.ServiceId WHERE MemberId = @memberId AND ((Service.Visible = 1) OR (@showHidden = 1)) ) AS MemberServicePage WHERE MemberServicePage.RowNumber BETWEEN @initialRow AND (@initialRow + @count - 1) END
-- phpMyAdmin SQL Dump -- version 4.9.1 -- https://www.phpmyadmin.net/ -- -- Host: localhost -- Waktu pembuatan: 26 Nov 2019 pada 10.20 -- Versi server: 10.4.8-MariaDB -- Versi PHP: 7.3.11 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `db_jasa` -- -- -------------------------------------------------------- -- -- Struktur dari tabel `tb_admin` -- CREATE TABLE `tb_admin` ( `id` int(11) NOT NULL, `username` varchar(12) NOT NULL, `password` varchar(12) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `tb_admin` -- INSERT INTO `tb_admin` (`id`, `username`, `password`) VALUES (1, 'admin', 'admin'); -- -------------------------------------------------------- -- -- Struktur dari tabel `tb_paket` -- CREATE TABLE `tb_paket` ( `id_paket` int(11) NOT NULL, `nama_paket` varchar(100) NOT NULL, `harga_satuan` varchar(20) NOT NULL, `ongkir` varchar(20) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `tb_paket` -- INSERT INTO `tb_paket` (`id_paket`, `nama_paket`, `harga_satuan`, `ongkir`) VALUES (21, 'PRINT + WARN', '1000', '2000'), (22, 'MOH.FAHRURROZI', '15/Lembar', '2000'), (23, 'cetak poto 3 R', '1000', '1000'); -- -------------------------------------------------------- -- -- Struktur dari tabel `tb_pelanggan` -- CREATE TABLE `tb_pelanggan` ( `id_pelanggan` int(11) NOT NULL, `nama_pelanggan` varchar(30) NOT NULL, `alamat` text NOT NULL, `kode_post` varchar(20) NOT NULL, `no` varchar(30) NOT NULL, `username` varchar(30) NOT NULL, `password` varchar(12) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `tb_pelanggan` -- INSERT INTO `tb_pelanggan` (`id_pelanggan`, `nama_pelanggan`, `alamat`, `kode_post`, `no`, `username`, `password`) VALUES (16, 'MOH.FAHRURROZI', 'pancor', '86011', '087863301421', 'admin', 'admin'), (17, 'MOH.FAHRURROZI', 'pancor sanggeng', '86011', '087863301421', 'user', 'user'), (18, 'waaaesersr', 'jenggik', '1234', '083129422', '1234', 'qwer'); -- -------------------------------------------------------- -- -- Struktur dari tabel `tb_pemesanan` -- CREATE TABLE `tb_pemesanan` ( `id` int(11) NOT NULL, `no_pemesanan` varchar(20) NOT NULL, `tgl_pemesanan` date NOT NULL, `id_pelanggan` int(11) NOT NULL, `id_paket` int(11) NOT NULL, `harga_satuan` varchar(30) NOT NULL, `jumlah` varchar(20) NOT NULL, `file` text NOT NULL, `status` varchar(20) NOT NULL, `keterangan` text NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `tb_pemesanan` -- INSERT INTO `tb_pemesanan` (`id`, `no_pemesanan`, `tgl_pemesanan`, `id_pelanggan`, `id_paket`, `harga_satuan`, `jumlah`, `file`, `status`, `keterangan`) VALUES (10, 'BHA09091', '2019-11-21', 16, 23, '1000', '2', 'dock', 'Process', 'width =100px\r\nheight =50px\r\nkalok bisa tambahkan dengan edit sedikit mas'); -- -- Indexes for dumped tables -- -- -- Indeks untuk tabel `tb_admin` -- ALTER TABLE `tb_admin` ADD PRIMARY KEY (`id`); -- -- Indeks untuk tabel `tb_paket` -- ALTER TABLE `tb_paket` ADD PRIMARY KEY (`id_paket`); -- -- Indeks untuk tabel `tb_pelanggan` -- ALTER TABLE `tb_pelanggan` ADD PRIMARY KEY (`id_pelanggan`); -- -- Indeks untuk tabel `tb_pemesanan` -- ALTER TABLE `tb_pemesanan` ADD PRIMARY KEY (`id`); -- -- AUTO_INCREMENT untuk tabel yang dibuang -- -- -- AUTO_INCREMENT untuk tabel `tb_admin` -- ALTER TABLE `tb_admin` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT untuk tabel `tb_paket` -- ALTER TABLE `tb_paket` MODIFY `id_paket` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=24; -- -- AUTO_INCREMENT untuk tabel `tb_pelanggan` -- ALTER TABLE `tb_pelanggan` MODIFY `id_pelanggan` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=19; -- -- AUTO_INCREMENT untuk tabel `tb_pemesanan` -- ALTER TABLE `tb_pemesanan` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11; COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
-- phpMyAdmin SQL Dump -- version 4.7.4 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Jul 18, 2018 at 11:41 AM -- Server version: 10.1.30-MariaDB -- PHP Version: 5.6.33 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `pride2` -- -- -------------------------------------------------------- -- -- Table structure for table `admin` -- CREATE TABLE `admin` ( `admin_id` int(11) NOT NULL, `admin_user` text NOT NULL, `admin_pwd` text NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `admin` -- INSERT INTO `admin` (`admin_id`, `admin_user`, `admin_pwd`) VALUES (1, 'admin', 'admin'), (2, 'developer', 'developer'); -- -------------------------------------------------------- -- -- Table structure for table `answer` -- CREATE TABLE `answer` ( `ans_id` int(11) NOT NULL, `ans_clinic_id` int(11) NOT NULL, `ans_q_id` int(11) NOT NULL, `ans_name` text NOT NULL, `ans_edit_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `ans_add_time` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `appointment` -- CREATE TABLE `appointment` ( `ap_id` int(11) NOT NULL, `ap_parent_id` int(11) NOT NULL, `ap_date` date NOT NULL, `ap_time` time NOT NULL, `ap_clinic_id` int(11) NOT NULL, `ap_edit_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `ap_add_time` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `ap_status` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `appointment` -- INSERT INTO `appointment` (`ap_id`, `ap_parent_id`, `ap_date`, `ap_time`, `ap_clinic_id`, `ap_edit_time`, `ap_add_time`, `ap_status`) VALUES (53, 9, '2018-01-25', '10:00:00', 28, '2018-01-26 15:47:47', '2018-01-26 15:47:03', 1), (54, 9, '2018-01-24', '10:00:00', 11, '2018-01-26 17:14:54', '2018-01-26 15:52:59', 1), (55, 9, '2018-01-25', '10:00:00', 10, '2018-01-26 17:15:00', '2018-01-26 17:14:28', 1), (56, 9, '2018-01-30', '10:00:00', 11, '2018-01-27 09:04:46', '2018-01-27 09:04:46', 0), (57, 41, '2018-03-10', '10:00:00', 10, '2018-03-11 18:16:40', '2018-03-11 18:15:52', 0); -- -------------------------------------------------------- -- -- Table structure for table `blog` -- CREATE TABLE `blog` ( `blog_id` int(11) NOT NULL, `blog_name` varchar(255) NOT NULL, `blog_slug` varchar(255) NOT NULL, `blog_content` text NOT NULL, `blog_image` text NOT NULL, `blog_title` text NOT NULL, `blog_keyword` text NOT NULL, `blog_description` text NOT NULL, `blog_edit_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `blog_add_time` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `blog` -- INSERT INTO `blog` (`blog_id`, `blog_name`, `blog_slug`, `blog_content`, `blog_image`, `blog_title`, `blog_keyword`, `blog_description`, `blog_edit_time`, `blog_add_time`) VALUES (1, 'What is Lorem Ipsum?', 'what-is-lorem-ipsum-', '<p><strong>Lorem Ipsum</strong>&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#39;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>\r\n', 'Minor_Injury_Walk_In_Clinic1.JPG', 'Lorem Ipsum', 'Lorem Ipsum', '0', '2017-11-13 06:19:04', '2017-11-13 06:19:04'), (3, 'Frequently Asked Questions', 'frequently-asked-questions', '<p>Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean.</p>\r\n\r\n<h3>I have technical problem, who do I email?</h3>\r\n\r\n<p>Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean.</p>\r\n\r\n<h3>How do I use Bato features?</h3>\r\n\r\n<p>Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean.</p>\r\n\r\n<h3>What language are available?</h3>\r\n\r\n<p>Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean.</p>\r\n\r\n<h3>Can I have a username that is already taken?</h3>\r\n\r\n<p>Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean.</p>\r\n\r\n<h3>Is Union free?</h3>\r\n\r\n<p>Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean.</p>\r\n', 'movie-world-cinemas-meerut-road-ghaziabad-s36u.jpg', 'Frequently Asked Questions', 'Frequently Asked Questions', 'Frequently Asked Questions', '2017-11-13 09:11:06', '2017-11-13 09:11:06'), (4, 'Frequently Asked Materials', 'frequently-asked-materials', '<p>Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean.</p>\r\n\r\n<h3>I have technical problem, who do I email?</h3>\r\n\r\n<p>Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean.</p>\r\n\r\n<h3>How do I use Bato features?</h3>\r\n\r\n<p>Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean.</p>\r\n\r\n<h3>What language are available?</h3>\r\n\r\n<p>Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean.</p>\r\n\r\n<h3>Can I have a username that is already taken?</h3>\r\n\r\n<p>Far far away, behind the word mountains, far from the countries Vokalia and&nbsp;</p>\r\n', '', 'What language are available?', 'What language are available?', 'What language are available?', '2017-11-13 09:12:41', '2017-11-13 09:12:41'), (5, 'Test Blog', 'test-blog', '<h2>Frequently Asked Materials</h2>\r\n\r\n<p>Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean.</p>\r\n\r\n<h3>I have technical problem, who do I email?</h3>\r\n\r\n<p>Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean.</p>\r\n\r\n<h3>How do I use Bato features?</h3>\r\n\r\n<p>Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean.</p>\r\n\r\n<h3>What language are available?</h3>\r\n\r\n<p>Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean.</p>\r\n\r\n<h3>Can I have a username that is already taken?</h3>\r\n\r\n<p>Far far away, behind the word mountains, far from the countries Vokalia and&nbsp;</p>\r\n', 'doctor-img2.png', 'hello', 'hello', 'hello', '2018-06-25 17:58:19', '2018-06-25 17:57:21'); -- -------------------------------------------------------- -- -- Table structure for table `callback` -- CREATE TABLE `callback` ( `call_id` int(11) NOT NULL, `call_name` varchar(255) NOT NULL, `call_mobile` varchar(20) NOT NULL, `call_body` text NOT NULL, `call_clinic_id` int(11) NOT NULL, `call_status` int(11) NOT NULL, `call_add_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `call_edit_time` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `callback` -- INSERT INTO `callback` (`call_id`, `call_name`, `call_mobile`, `call_body`, `call_clinic_id`, `call_status`, `call_add_time`, `call_edit_time`) VALUES (1, 'caacssacasc', 'casacssasa', '', 11, 1, '2017-11-09 19:14:58', '2017-11-09 18:25:16'), (2, 'caacssacasc', 'casacssasa', '', 11, 1, '2017-11-09 19:12:36', '2017-11-09 18:25:20'), (3, ' bdsndsn', '98654556789', '', 11, 1, '2017-11-09 19:14:44', '2017-11-09 18:27:39'), (4, 'paurush', '987654678', '', 12, 0, '2017-11-09 18:28:25', '2017-11-09 18:28:25'), (5, 'Paurush Anlit', '987654567', '', 28, 1, '2017-11-25 07:45:41', '2017-11-24 21:36:37'), (6, 'Sheetal Sharma', '987654356', '', 28, 1, '2017-11-25 07:45:46', '2017-11-25 21:08:36'), (7, 'snanjknjnjk', '987654678', 'bdsbjbdsjbd', 28, 0, '2017-12-04 06:52:58', '2017-11-25 21:17:32'), (8, 'Paurush Ankit', '987654678', 'test body', 11, 0, '2017-12-04 20:21:25', '2017-12-04 20:21:25'), (9, 'Paurush Ankit', '9876548976', 'njasnsan', 24, 0, '2017-12-21 07:24:05', '2017-12-21 07:24:05'), (10, 'Paurush Ankit', '9876548976', 'hey there', 28, 0, '2017-12-21 07:51:35', '2017-12-21 07:51:35'), (11, 'Paurush Ankit', '9876548976', '', 11, 0, '2017-12-26 04:21:16', '2017-12-26 04:21:16'), (12, 'Ram singh', '7531855396', 'hello bro, call me please', 11, 0, '2018-01-03 09:20:49', '2018-01-03 09:20:49'), (13, 'Ram Singhania', '987654310', '', 10, 0, '2018-01-03 09:21:17', '2018-01-03 09:21:17'), (14, 'nkmlmlkmlk', '123457689i', '', 11, 0, '2018-01-04 17:49:24', '2018-01-04 17:49:24'), (15, 'nlsnldlm', '1234123 ', '', 11, 0, '2018-01-04 17:50:08', '2018-01-04 17:50:08'), (16, 'Ram', '9876890761', 'ms s ', 11, 0, '2018-01-05 09:04:15', '2018-01-05 09:04:15'), (17, 'rama', '9876545678', 'mjhvgcx', 11, 0, '2018-01-05 09:12:31', '2018-01-05 09:12:31'), (18, 'sdsd', '9876543567', 'scm \n', 12, 0, '2018-01-05 09:13:32', '2018-01-05 09:13:32'), (19, 'call me ', '9876543456', '', 10, 0, '2018-01-10 16:49:15', '2018-01-10 16:49:15'), (20, 'call me ', '9876543456', '', 10, 0, '2018-01-10 16:49:28', '2018-01-10 16:49:28'), (21, 'call me ', '9876543456', '', 10, 0, '2018-01-10 16:49:38', '2018-01-10 16:49:38'), (22, 'test', '9876546789', '', 28, 0, '2018-01-10 16:50:34', '2018-01-10 16:50:34'), (23, 'sjnjskdjn', '9876578908', 'l,ms,.,', 28, 0, '2018-01-10 16:54:07', '2018-01-10 16:54:07'), (24, 'tetst', '8976578909', 'bn ,m,m , ., ., .,', 28, 0, '2018-01-10 16:55:00', '2018-01-10 16:55:00'), (25, 'oiuygfghjkn', '9876567098', '', 28, 0, '2018-01-10 16:59:03', '2018-01-10 16:59:03'), (26, 'Paurush Ankit1', '9876548976', 'testa', 12, 0, '2018-01-10 17:03:05', '2018-01-10 17:03:05'), (27, 'Paurush Ankit1', '9876548976', 'test mail', 28, 0, '2018-01-11 09:05:27', '2018-01-11 09:05:27'), (28, 'Paurush Ankit1', '9876548976', 'test', 28, 0, '2018-01-11 09:08:59', '2018-01-11 09:08:59'), (29, 'Paurush Ankit1', '9876548976', '', 28, 0, '2018-01-11 09:09:50', '2018-01-11 09:09:50'), (30, 'Paurush Ankit1', '9876548976', '', 29, 0, '2018-01-11 09:11:14', '2018-01-11 09:11:14'), (31, 'Paurush Ankit1', '9876548976', 'test', 11, 0, '2018-01-11 09:14:30', '2018-01-11 09:14:30'), (32, 'Paurush Ankit1', '9876548976', 'test', 11, 0, '2018-01-11 09:15:30', '2018-01-11 09:15:30'), (33, 'Paurush Ankit1', '9876548976', 'all test', 28, 0, '2018-01-26 15:23:22', '2018-01-26 15:23:22'), (34, 'Paurush Ankit1', '9876548976', 'all test', 28, 0, '2018-01-26 15:23:32', '2018-01-26 15:23:32'), (35, 'Paurush Ankit1', '9876548976', 'helo', 10, 0, '2018-01-26 17:16:29', '2018-01-26 17:16:29'), (36, 'Paurush Ankit1', '9876548976', 'hello', 16, 0, '2018-01-27 09:04:20', '2018-01-27 09:04:20'); -- -------------------------------------------------------- -- -- Table structure for table `cart` -- CREATE TABLE `cart` ( `cart_id` int(11) NOT NULL, `cart_product_id` int(11) NOT NULL, `cart_user_id` int(11) NOT NULL, `cart_edit_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `cart_add_time` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `cart_unit` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `cart` -- INSERT INTO `cart` (`cart_id`, `cart_product_id`, `cart_user_id`, `cart_edit_time`, `cart_add_time`, `cart_unit`) VALUES (1, 4, 9, '2018-01-26 10:18:05', '2018-01-26 05:47:45', 7); -- -------------------------------------------------------- -- -- Table structure for table `category` -- CREATE TABLE `category` ( `cat_id` int(11) NOT NULL, `cat_name` text NOT NULL, `cat_slug` text NOT NULL, `cat_image` text NOT NULL, `cat_details` text NOT NULL, `cat_add_time` datetime NOT NULL, `cat_title` text NOT NULL, `cat_keyword` text NOT NULL, `cat_description` text NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `category` -- INSERT INTO `category` (`cat_id`, `cat_name`, `cat_slug`, `cat_image`, `cat_details`, `cat_add_time`, `cat_title`, `cat_keyword`, `cat_description`) VALUES (1, 'Insemination Kits', 'insemination-kits', 'what-is-a-home-insemination-kit.png', 'Our insemination kit gives you a better chance of successful conception.', '2017-08-22 13:07:28', 'Insemination Kits', 'Our insemination kit gives you a better chance of successful conception.', 'Our insemination kit gives you a better chance of successful conception.'), (2, 'STI Tests', 'sti-tests', 'STI test online 660.jpg', 'Self-test kits are available for a range of health concerns.', '2017-08-22 14:24:31', 'STI Tests', 'Self-test kits are available for a range of health concerns.', 'Self-test kits are available for a range of health concerns.'), (3, 'Fertility Kits & Products', 'fertility-kits-products', 'FertilitySCORE[1].jpg', 'Before you try and conceive, check your fertility with our Male and Female Fertility Kits.', '2017-08-22 14:25:16', 'Fertility Kits & Products', 'Before you try and conceive, check your fertility with our Male and Female Fertility Kits.', 'Before you try and conceive, check your fertility with our Male and Female Fertility Kits.'), (4, 'Ovulation & Pregnancy Tests', 'ovulation-pregnancy-tests', 'how-often-should-i-take-an-ovulation-test-strip.png', '', '2017-08-22 14:26:17', 'Ovulation & Pregnancy Tests', 'Ovulation & Pregnancy Tests', 'Ovulation & Pregnancy Tests'), (5, 'Nutrition & Vitamins', 'nutrition-vitamins', '105014.jpg', 'Daily supplements for when you are trying to conceive and during pregnancy.', '2017-08-22 14:26:46', 'Nutrition & Vitamins', 'Daily supplements for when you are trying to conceive and during pregnancy.', 'Daily supplements for when you are trying to conceive and during pregnancy.'), (6, 'Books & CDs', 'books-cds', 'Books-And-DVDs-85kb.jpg', 'A selection of recommended parenting books from Amazon', '2017-08-22 14:27:18', 'Books & CDs', 'A selection of recommended parenting books from Amazon', 'A selection of recommended parenting books from Amazon'), (7, 'Gifts & Art', 'gifts-art', 'db26bb0505b300e51dadbd988b500243--art-ideas-cool-ideas.jpg', 'Find the perfect birth gift with creative memories Baby Art!', '2017-08-22 14:27:45', 'Gifts & Art', 'Find the perfect birth gift with creative memories Baby Art!', 'Find the perfect birth gift with creative memories Baby Art!'); -- -------------------------------------------------------- -- -- Table structure for table `chat` -- CREATE TABLE `chat` ( `id` bigint(20) NOT NULL, `username` varchar(20) DEFAULT NULL, `chatdate` datetime DEFAULT NULL, `msg` varchar(500) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `cities` -- CREATE TABLE `cities` ( `city_id` int(11) NOT NULL, `city_name` varchar(100) NOT NULL, `city_state` varchar(100) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Dumping data for table `cities` -- INSERT INTO `cities` (`city_id`, `city_name`, `city_state`) VALUES (1, 'Kolhapur', 'Maharashtra'), (2, 'Port Blair', 'Andaman & Nicobar Islands'), (3, 'Adilabad', 'Andhra Pradesh'), (4, 'Adoni', 'Andhra Pradesh'), (5, 'Amadalavalasa', 'Andhra Pradesh'), (6, 'Amalapuram', 'Andhra Pradesh'), (7, 'Anakapalle', 'Andhra Pradesh'), (8, 'Anantapur', 'Andhra Pradesh'), (9, 'Badepalle', 'Andhra Pradesh'), (10, 'Banganapalle', 'Andhra Pradesh'), (11, 'Bapatla', 'Andhra Pradesh'), (12, 'Bellampalle', 'Andhra Pradesh'), (13, 'Bethamcherla', 'Andhra Pradesh'), (14, 'Bhadrachalam', 'Andhra Pradesh'), (15, 'Bhainsa', 'Andhra Pradesh'), (16, 'Bheemunipatnam', 'Andhra Pradesh'), (17, 'Bhimavaram', 'Andhra Pradesh'), (18, 'Bhongir', 'Andhra Pradesh'), (19, 'Bobbili', 'Andhra Pradesh'), (20, 'Bodhan', 'Andhra Pradesh'), (21, 'Chilakaluripet', 'Andhra Pradesh'), (22, 'Chirala', 'Andhra Pradesh'), (23, 'Chittoor', 'Andhra Pradesh'), (24, 'Cuddapah', 'Andhra Pradesh'), (25, 'Devarakonda', 'Andhra Pradesh'), (26, 'Dharmavaram', 'Andhra Pradesh'), (27, 'Eluru', 'Andhra Pradesh'), (28, 'Farooqnagar', 'Andhra Pradesh'), (29, 'Gadwal', 'Andhra Pradesh'), (30, 'Gooty', 'Andhra Pradesh'), (31, 'Gudivada', 'Andhra Pradesh'), (32, 'Gudur', 'Andhra Pradesh'), (33, 'Guntakal', 'Andhra Pradesh'), (34, 'Guntur', 'Andhra Pradesh'), (35, 'Hanuman Junction', 'Andhra Pradesh'), (36, 'Hindupur', 'Andhra Pradesh'), (37, 'Hyderabad', 'Andhra Pradesh'), (38, 'Ichchapuram', 'Andhra Pradesh'), (39, 'Jaggaiahpet', 'Andhra Pradesh'), (40, 'Jagtial', 'Andhra Pradesh'), (41, 'Jammalamadugu', 'Andhra Pradesh'), (42, 'Jangaon', 'Andhra Pradesh'), (43, 'Kadapa', 'Andhra Pradesh'), (44, 'Kadiri', 'Andhra Pradesh'), (45, 'Kagaznagar', 'Andhra Pradesh'), (46, 'Kakinada', 'Andhra Pradesh'), (47, 'Kalyandurg', 'Andhra Pradesh'), (48, 'Kamareddy', 'Andhra Pradesh'), (49, 'Kandukur', 'Andhra Pradesh'), (50, 'Karimnagar', 'Andhra Pradesh'), (51, 'Kavali', 'Andhra Pradesh'), (52, 'Khammam', 'Andhra Pradesh'), (53, 'Koratla', 'Andhra Pradesh'), (54, 'Kothagudem', 'Andhra Pradesh'), (55, 'Kothapeta', 'Andhra Pradesh'), (56, 'Kovvur', 'Andhra Pradesh'), (57, 'Kurnool', 'Andhra Pradesh'), (58, 'Kyathampalle', 'Andhra Pradesh'), (59, 'Macherla', 'Andhra Pradesh'), (60, 'Machilipatnam', 'Andhra Pradesh'), (61, 'Madanapalle', 'Andhra Pradesh'), (62, 'Mahbubnagar', 'Andhra Pradesh'), (63, 'Mancherial', 'Andhra Pradesh'), (64, 'Mandamarri', 'Andhra Pradesh'), (65, 'Mandapeta', 'Andhra Pradesh'), (66, 'Manuguru', 'Andhra Pradesh'), (67, 'Markapur', 'Andhra Pradesh'), (68, 'Medak', 'Andhra Pradesh'), (69, 'Miryalaguda', 'Andhra Pradesh'), (70, 'Mogalthur', 'Andhra Pradesh'), (71, 'Nagari', 'Andhra Pradesh'), (72, 'Nagarkurnool', 'Andhra Pradesh'), (73, 'Nandyal', 'Andhra Pradesh'), (74, 'Narasapur', 'Andhra Pradesh'), (75, 'Narasaraopet', 'Andhra Pradesh'), (76, 'Narayanpet', 'Andhra Pradesh'), (77, 'Narsipatnam', 'Andhra Pradesh'), (78, 'Nellore', 'Andhra Pradesh'), (79, 'Nidadavole', 'Andhra Pradesh'), (80, 'Nirmal', 'Andhra Pradesh'), (81, 'Nizamabad', 'Andhra Pradesh'), (82, 'Nuzvid', 'Andhra Pradesh'), (83, 'Ongole', 'Andhra Pradesh'), (84, 'Palacole', 'Andhra Pradesh'), (85, 'Palasa Kasibugga', 'Andhra Pradesh'), (86, 'Palwancha', 'Andhra Pradesh'), (87, 'Parvathipuram', 'Andhra Pradesh'), (88, 'Pedana', 'Andhra Pradesh'), (89, 'Peddapuram', 'Andhra Pradesh'), (90, 'Pithapuram', 'Andhra Pradesh'), (91, 'Pondur', 'Andhra pradesh'), (92, 'Ponnur', 'Andhra Pradesh'), (93, 'Proddatur', 'Andhra Pradesh'), (94, 'Punganur', 'Andhra Pradesh'), (95, 'Puttur', 'Andhra Pradesh'), (96, 'Rajahmundry', 'Andhra Pradesh'), (97, 'Rajam', 'Andhra Pradesh'), (98, 'Ramachandrapuram', 'Andhra Pradesh'), (99, 'Ramagundam', 'Andhra Pradesh'), (100, 'Rayachoti', 'Andhra Pradesh'), (101, 'Rayadurg', 'Andhra Pradesh'), (102, 'Renigunta', 'Andhra Pradesh'), (103, 'Repalle', 'Andhra Pradesh'), (104, 'Sadasivpet', 'Andhra Pradesh'), (105, 'Salur', 'Andhra Pradesh'), (106, 'Samalkot', 'Andhra Pradesh'), (107, 'Sangareddy', 'Andhra Pradesh'), (108, 'Sattenapalle', 'Andhra Pradesh'), (109, 'Siddipet', 'Andhra Pradesh'), (110, 'Singapur', 'Andhra Pradesh'), (111, 'Sircilla', 'Andhra Pradesh'), (112, 'Srikakulam', 'Andhra Pradesh'), (113, 'Srikalahasti', 'Andhra Pradesh'), (115, 'Suryapet', 'Andhra Pradesh'), (116, 'Tadepalligudem', 'Andhra Pradesh'), (117, 'Tadpatri', 'Andhra Pradesh'), (118, 'Tandur', 'Andhra Pradesh'), (119, 'Tanuku', 'Andhra Pradesh'), (120, 'Tenali', 'Andhra Pradesh'), (121, 'Tirupati', 'Andhra Pradesh'), (122, 'Tuni', 'Andhra Pradesh'), (123, 'Uravakonda', 'Andhra Pradesh'), (124, 'Venkatagiri', 'Andhra Pradesh'), (125, 'Vicarabad', 'Andhra Pradesh'), (126, 'Vijayawada', 'Andhra Pradesh'), (127, 'Vinukonda', 'Andhra Pradesh'), (128, 'Visakhapatnam', 'Andhra Pradesh'), (129, 'Vizianagaram', 'Andhra Pradesh'), (130, 'Wanaparthy', 'Andhra Pradesh'), (131, 'Warangal', 'Andhra Pradesh'), (132, 'Yellandu', 'Andhra Pradesh'), (133, 'Yemmiganur', 'Andhra Pradesh'), (134, 'Yerraguntla', 'Andhra Pradesh'), (135, 'Zahirabad', 'Andhra Pradesh'), (136, 'Rajampet', 'Andhra Pradesh'), (137, 'Along', 'Arunachal Pradesh'), (138, 'Bomdila', 'Arunachal Pradesh'), (139, 'Itanagar', 'Arunachal Pradesh'), (140, 'Naharlagun', 'Arunachal Pradesh'), (141, 'Pasighat', 'Arunachal Pradesh'), (143, 'Amguri', 'Assam'), (144, 'Anandnagaar', 'Assam'), (145, 'Barpeta', 'Assam'), (146, 'Barpeta Road', 'Assam'), (147, 'Bilasipara', 'Assam'), (148, 'Bongaigaon', 'Assam'), (149, 'Dhekiajuli', 'Assam'), (150, 'Dhubri', 'Assam'), (151, 'Dibrugarh', 'Assam'), (152, 'Digboi', 'Assam'), (153, 'Diphu', 'Assam'), (154, 'Dispur', 'Assam'), (156, 'Gauripur', 'Assam'), (157, 'Goalpara', 'Assam'), (158, 'Golaghat', 'Assam'), (159, 'Guwahati', 'Assam'), (160, 'Haflong', 'Assam'), (161, 'Hailakandi', 'Assam'), (162, 'Hojai', 'Assam'), (163, 'Jorhat', 'Assam'), (164, 'Karimganj', 'Assam'), (165, 'Kokrajhar', 'Assam'), (166, 'Lanka', 'Assam'), (167, 'Lumding', 'Assam'), (168, 'Mangaldoi', 'Assam'), (169, 'Mankachar', 'Assam'), (170, 'Margherita', 'Assam'), (171, 'Mariani', 'Assam'), (172, 'Marigaon', 'Assam'), (173, 'Nagaon', 'Assam'), (174, 'Nalbari', 'Assam'), (175, 'North Lakhimpur', 'Assam'), (176, 'Rangia', 'Assam'), (177, 'Sibsagar', 'Assam'), (178, 'Silapathar', 'Assam'), (179, 'Silchar', 'Assam'), (180, 'Tezpur', 'Assam'), (181, 'Tinsukia', 'Assam'), (182, 'Amarpur', 'Bihar'), (183, 'Araria', 'Bihar'), (184, 'Areraj', 'Bihar'), (185, 'Arrah', 'Bihar'), (186, 'Asarganj', 'Bihar'), (187, 'Aurangabad', 'Bihar'), (188, 'Bagaha', 'Bihar'), (189, 'Bahadurganj', 'Bihar'), (190, 'Bairgania', 'Bihar'), (191, 'Bakhtiarpur', 'Bihar'), (192, 'Banka', 'Bihar'), (193, 'Banmankhi Bazar', 'Bihar'), (194, 'Barahiya', 'Bihar'), (195, 'Barauli', 'Bihar'), (196, 'Barbigha', 'Bihar'), (197, 'Barh', 'Bihar'), (198, 'Begusarai', 'Bihar'), (199, 'Behea', 'Bihar'), (200, 'Bettiah', 'Bihar'), (201, 'Bhabua', 'Bihar'), (202, 'Bhagalpur', 'Bihar'), (203, 'Bihar Sharif', 'Bihar'), (204, 'Bikramganj', 'Bihar'), (205, 'Bodh Gaya', 'Bihar'), (206, 'Buxar', 'Bihar'), (207, 'Chandan Bara', 'Bihar'), (208, 'Chanpatia', 'Bihar'), (209, 'Chhapra', 'Bihar'), (210, 'Colgong', 'Bihar'), (211, 'Dalsinghsarai', 'Bihar'), (212, 'Darbhanga', 'Bihar'), (213, 'Daudnagar', 'Bihar'), (214, 'Dehri-on-Sone', 'Bihar'), (215, 'Dhaka', 'Bihar'), (216, 'Dighwara', 'Bihar'), (217, 'Dumraon', 'Bihar'), (218, 'Fatwah', 'Bihar'), (219, 'Forbesganj', 'Bihar'), (220, 'Gaya', 'Bihar'), (221, 'Gogri Jamalpur', 'Bihar'), (222, 'Gopalganj', 'Bihar'), (223, 'Hajipur', 'Bihar'), (224, 'Hilsa', 'Bihar'), (225, 'Hisua', 'Bihar'), (226, 'Islampur', 'Bihar'), (227, 'Jagdispur', 'Bihar'), (228, 'Jamalpur', 'Bihar'), (229, 'Jamui', 'Bihar'), (230, 'Jehanabad', 'Bihar'), (231, 'Jhajha', 'Bihar'), (232, 'Jhanjharpur', 'Bihar'), (233, 'Jogabani', 'Bihar'), (234, 'Kanti', 'Bihar'), (235, 'Katihar', 'Bihar'), (236, 'Khagaria', 'Bihar'), (237, 'Kharagpur', 'Bihar'), (238, 'Kishanganj', 'Bihar'), (239, 'Lakhisarai', 'Bihar'), (240, 'Lalganj', 'Bihar'), (241, 'Madhepura', 'Bihar'), (242, 'Madhubani', 'Bihar'), (243, 'Maharajganj', 'Bihar'), (244, 'Mahnar Bazar', 'Bihar'), (245, 'Makhdumpur', 'Bihar'), (246, 'Maner', 'Bihar'), (247, 'Manihari', 'Bihar'), (248, 'Marhaura', 'Bihar'), (249, 'Masaurhi', 'Bihar'), (250, 'Mirganj', 'Bihar'), (251, 'Mokameh', 'Bihar'), (252, 'Motihari', 'Bihar'), (253, 'Motipur', 'Bihar'), (254, 'Munger', 'Bihar'), (255, 'Murliganj', 'Bihar'), (256, 'Muzaffarpur', 'Bihar'), (257, 'Narkatiaganj', 'Bihar'), (258, 'Naugachhia', 'Bihar'), (259, 'Nawada', 'Bihar'), (260, 'Nokha', 'Bihar'), (261, 'Patna', 'Bihar'), (262, 'Piro', 'Bihar'), (263, 'Purnia', 'Bihar'), (264, 'Rafiganj', 'Bihar'), (265, 'Rajgir', 'Bihar'), (266, 'Ramnagar', 'Bihar'), (267, 'Raxaul Bazar', 'Bihar'), (268, 'Revelganj', 'Bihar'), (269, 'Rosera', 'Bihar'), (270, 'Saharsa', 'Bihar'), (271, 'Samastipur', 'Bihar'), (272, 'Sasaram', 'Bihar'), (273, 'Sheikhpura', 'Bihar'), (274, 'Sheohar', 'Bihar'), (275, 'Sherghati', 'Bihar'), (276, 'Silao', 'Bihar'), (277, 'Sitamarhi', 'Bihar'), (278, 'Siwan', 'Bihar'), (279, 'Sonepur', 'Bihar'), (280, 'Sugauli', 'Bihar'), (281, 'Sultanganj', 'Bihar'), (282, 'Supaul', 'Bihar'), (283, 'Warisaliganj', 'Bihar'), (284, 'Ahiwara', 'Chhattisgarh'), (285, 'Akaltara', 'Chhattisgarh'), (286, 'Ambagarh Chowki', 'Chhattisgarh'), (287, 'Ambikapur', 'Chhattisgarh'), (288, 'Arang', 'Chhattisgarh'), (289, 'Bade Bacheli', 'Chhattisgarh'), (290, 'Balod', 'Chhattisgarh'), (291, 'Baloda Bazar', 'Chhattisgarh'), (292, 'Bemetra', 'Chhattisgarh'), (293, 'Bhatapara', 'Chhattisgarh'), (294, 'Bilaspur', 'Chhattisgarh'), (295, 'Birgaon', 'Chhattisgarh'), (296, 'Champa', 'Chhattisgarh'), (297, 'Chirmiri', 'Chhattisgarh'), (298, 'Dalli-Rajhara', 'Chhattisgarh'), (299, 'Dhamtari', 'Chhattisgarh'), (300, 'Dipka', 'Chhattisgarh'), (301, 'Dongargarh', 'Chhattisgarh'), (302, 'Durg-Bhilai Nagar', 'Chhattisgarh'), (303, 'Gobranawapara', 'Chhattisgarh'), (304, 'Jagdalpur', 'Chhattisgarh'), (305, 'Janjgir', 'Chhattisgarh'), (306, 'Jashpurnagar', 'Chhattisgarh'), (307, 'Kanker', 'Chhattisgarh'), (308, 'Kawardha', 'Chhattisgarh'), (309, 'Kondagaon', 'Chhattisgarh'), (310, 'Korba', 'Chhattisgarh'), (311, 'Mahasamund', 'Chhattisgarh'), (312, 'Mahendragarh', 'Chhattisgarh'), (313, 'Mungeli', 'Chhattisgarh'), (314, 'Naila Janjgir', 'Chhattisgarh'), (315, 'Raigarh', 'Chhattisgarh'), (316, 'Raipur', 'Chhattisgarh'), (317, 'Rajnandgaon', 'Chhattisgarh'), (318, 'Sakti', 'Chhattisgarh'), (319, 'Tilda Newra', 'Chhattisgarh'), (320, 'Amli', 'Dadra & Nagar Haveli'), (321, 'Silvassa', 'Dadra & Nagar Haveli'), (322, 'Daman and Diu', 'Daman & Diu'), (323, 'Daman and Diu', 'Daman & Diu'), (326, 'Aldona', 'Goa'), (327, 'Curchorem Cacora', 'Goa'), (328, 'Madgaon', 'Goa'), (329, 'Mapusa', 'Goa'), (330, 'Margao', 'Goa'), (331, 'Marmagao', 'Goa'), (332, 'Panaji', 'Goa'), (333, 'Ahmedabad', 'Gujarat'), (334, 'Amreli', 'Gujarat'), (335, 'Anand', 'Gujarat'), (336, 'Ankleshwar', 'Gujarat'), (337, 'Bharuch', 'Gujarat'), (338, 'Bhavnagar', 'Gujarat'), (339, 'Bhuj', 'Gujarat'), (340, 'Cambay', 'Gujarat'), (341, 'Dahod', 'Gujarat'), (342, 'Deesa', 'Gujarat'), (344, 'Dholka', 'Gujarat'), (345, 'Gandhinagar', 'Gujarat'), (346, 'Godhra', 'Gujarat'), (347, 'Himatnagar', 'Gujarat'), (348, 'Idar', 'Gujarat'), (349, 'Jamnagar', 'Gujarat'), (350, 'Junagadh', 'Gujarat'), (351, 'Kadi', 'Gujarat'), (352, 'Kalavad', 'Gujarat'), (353, 'Kalol', 'Gujarat'), (354, 'Kapadvanj', 'Gujarat'), (355, 'Karjan', 'Gujarat'), (356, 'Keshod', 'Gujarat'), (357, 'Khambhalia', 'Gujarat'), (358, 'Khambhat', 'Gujarat'), (359, 'Kheda', 'Gujarat'), (360, 'Khedbrahma', 'Gujarat'), (361, 'Kheralu', 'Gujarat'), (362, 'Kodinar', 'Gujarat'), (363, 'Lathi', 'Gujarat'), (364, 'Limbdi', 'Gujarat'), (365, 'Lunawada', 'Gujarat'), (366, 'Mahesana', 'Gujarat'), (367, 'Mahuva', 'Gujarat'), (368, 'Manavadar', 'Gujarat'), (369, 'Mandvi', 'Gujarat'), (370, 'Mangrol', 'Gujarat'), (371, 'Mansa', 'Gujarat'), (372, 'Mehmedabad', 'Gujarat'), (373, 'Modasa', 'Gujarat'), (374, 'Morvi', 'Gujarat'), (375, 'Nadiad', 'Gujarat'), (376, 'Navsari', 'Gujarat'), (377, 'Padra', 'Gujarat'), (378, 'Palanpur', 'Gujarat'), (379, 'Palitana', 'Gujarat'), (380, 'Pardi', 'Gujarat'), (381, 'Patan', 'Gujarat'), (382, 'Petlad', 'Gujarat'), (383, 'Porbandar', 'Gujarat'), (384, 'Radhanpur', 'Gujarat'), (385, 'Rajkot', 'Gujarat'), (386, 'Rajpipla', 'Gujarat'), (387, 'Rajula', 'Gujarat'), (388, 'Ranavav', 'Gujarat'), (389, 'Rapar', 'Gujarat'), (390, 'Salaya', 'Gujarat'), (391, 'Sanand', 'Gujarat'), (392, 'Savarkundla', 'Gujarat'), (393, 'Sidhpur', 'Gujarat'), (394, 'Sihor', 'Gujarat'), (395, 'Songadh', 'Gujarat'), (396, 'Surat', 'Gujarat'), (397, 'Talaja', 'Gujarat'), (398, 'Thangadh', 'Gujarat'), (399, 'Tharad', 'Gujarat'), (400, 'Umbergaon', 'Gujarat'), (401, 'Umreth', 'Gujarat'), (402, 'Una', 'Gujarat'), (403, 'Unjha', 'Gujarat'), (404, 'Upleta', 'Gujarat'), (405, 'Vadnagar', 'Gujarat'), (406, 'Vadodara', 'Gujarat'), (407, 'Valsad', 'Gujarat'), (408, 'Vapi', 'Gujarat'), (409, 'Vapi', 'Gujarat'), (410, 'Veraval', 'Gujarat'), (411, 'Vijapur', 'Gujarat'), (412, 'Viramgam', 'Gujarat'), (413, 'Visnagar', 'Gujarat'), (414, 'Vyara', 'Gujarat'), (415, 'Wadhwan', 'Gujarat'), (416, 'Wankaner', 'Gujarat'), (417, 'Adalaj', 'Gujarat'), (418, 'Adityana', 'Gujarat'), (419, 'Alang', 'Gujarat'), (420, 'Ambaji', 'Gujarat'), (421, 'Ambaliyasan', 'Gujarat'), (422, 'Andada', 'Gujarat'), (423, 'Anjar', 'Gujarat'), (424, 'Anklav', 'Gujarat'), (425, 'Antaliya', 'Gujarat'), (426, 'Arambhada', 'Gujarat'), (427, 'Atul', 'Gujarat'), (428, 'Ballabhgarh', 'Haryana'), (429, 'Ambala', 'Haryana'), (430, 'Ambala', 'Haryana'), (431, 'Asankhurd', 'Haryana'), (432, 'Assandh', 'Haryana'), (433, 'Ateli', 'Haryana'), (434, 'Babiyal', 'Haryana'), (435, 'Bahadurgarh', 'Haryana'), (436, 'Barwala', 'Haryana'), (437, 'Bhiwani', 'Haryana'), (438, 'Charkhi Dadri', 'Haryana'), (439, 'Cheeka', 'Haryana'), (440, 'Ellenabad 2', 'Haryana'), (441, 'Faridabad', 'Haryana'), (442, 'Fatehabad', 'Haryana'), (443, 'Ganaur', 'Haryana'), (444, 'Gharaunda', 'Haryana'), (445, 'Gohana', 'Haryana'), (446, 'Gurgaon', 'Haryana'), (447, 'Haibat(Yamuna Nagar)', 'Haryana'), (448, 'Hansi', 'Haryana'), (449, 'Hisar', 'Haryana'), (450, 'Hodal', 'Haryana'), (451, 'Jhajjar', 'Haryana'), (452, 'Jind', 'Haryana'), (453, 'Kaithal', 'Haryana'), (454, 'Kalan Wali', 'Haryana'), (455, 'Kalka', 'Haryana'), (456, 'Karnal', 'Haryana'), (457, 'Ladwa', 'Haryana'), (458, 'Mahendragarh', 'Haryana'), (459, 'Mandi Dabwali', 'Haryana'), (460, 'Narnaul', 'Haryana'), (461, 'Narwana', 'Haryana'), (462, 'Palwal', 'Haryana'), (463, 'Panchkula', 'Haryana'), (464, 'Panipat', 'Haryana'), (465, 'Pehowa', 'Haryana'), (466, 'Pinjore', 'Haryana'), (467, 'Rania', 'Haryana'), (468, 'Ratia', 'Haryana'), (469, 'Rewari', 'Haryana'), (470, 'Rohtak', 'Haryana'), (471, 'Safidon', 'Haryana'), (472, 'Samalkha', 'Haryana'), (473, 'Shahbad', 'Haryana'), (474, 'Sirsa', 'Haryana'), (475, 'Sohna', 'Haryana'), (476, 'Sonipat', 'Haryana'), (477, 'Taraori', 'Haryana'), (478, 'Thanesar', 'Haryana'), (479, 'Tohana', 'Haryana'), (480, 'Yamunanagar', 'Haryana'), (481, 'Arki', 'Himachal Pradesh'), (482, 'Baddi', 'Himachal Pradesh'), (483, 'Bilaspur', 'Himachal Pradesh'), (484, 'Chamba', 'Himachal Pradesh'), (485, 'Dalhousie', 'Himachal Pradesh'), (486, 'Dharamsala', 'Himachal Pradesh'), (487, 'Hamirpur', 'Himachal Pradesh'), (488, 'Mandi', 'Himachal Pradesh'), (489, 'Nahan', 'Himachal Pradesh'), (490, 'Shimla', 'Himachal Pradesh'), (491, 'Solan', 'Himachal Pradesh'), (492, 'Sundarnagar', 'Himachal Pradesh'), (493, 'Jammu', 'Jammu & Kashmir'), (494, 'Achabbal', 'Jammu & Kashmir'), (495, 'Akhnoor', 'Jammu & Kashmir'), (496, 'Anantnag', 'Jammu & Kashmir'), (497, 'Arnia', 'Jammu & Kashmir'), (498, 'Awantipora', 'Jammu & Kashmir'), (499, 'Bandipore', 'Jammu & Kashmir'), (500, 'Baramula', 'Jammu & Kashmir'), (501, 'Kathua', 'Jammu & Kashmir'), (502, 'Leh', 'Jammu & Kashmir'), (503, 'Punch', 'Jammu & Kashmir'), (504, 'Rajauri', 'Jammu & Kashmir'), (505, 'Sopore', 'Jammu & Kashmir'), (506, 'Srinagar', 'Jammu & Kashmir'), (507, 'Udhampur', 'Jammu & Kashmir'), (508, 'Amlabad', 'Jharkhand'), (509, 'Ara', 'Jharkhand'), (510, 'Barughutu', 'Jharkhand'), (511, 'Bokaro Steel City', 'Jharkhand'), (512, 'Chaibasa', 'Jharkhand'), (513, 'Chakradharpur', 'Jharkhand'), (514, 'Chandrapura', 'Jharkhand'), (515, 'Chatra', 'Jharkhand'), (516, 'Chirkunda', 'Jharkhand'), (517, 'Churi', 'Jharkhand'), (518, 'Daltonganj', 'Jharkhand'), (519, 'Deoghar', 'Jharkhand'), (520, 'Dhanbad', 'Jharkhand'), (521, 'Dumka', 'Jharkhand'), (522, 'Garhwa', 'Jharkhand'), (523, 'Ghatshila', 'Jharkhand'), (524, 'Giridih', 'Jharkhand'), (525, 'Godda', 'Jharkhand'), (526, 'Gomoh', 'Jharkhand'), (527, 'Gumia', 'Jharkhand'), (528, 'Gumla', 'Jharkhand'), (529, 'Hazaribag', 'Jharkhand'), (530, 'Hussainabad', 'Jharkhand'), (531, 'Jamshedpur', 'Jharkhand'), (532, 'Jamtara', 'Jharkhand'), (533, 'Jhumri Tilaiya', 'Jharkhand'), (534, 'Khunti', 'Jharkhand'), (535, 'Lohardaga', 'Jharkhand'), (536, 'Madhupur', 'Jharkhand'), (537, 'Mihijam', 'Jharkhand'), (538, 'Musabani', 'Jharkhand'), (539, 'Pakaur', 'Jharkhand'), (540, 'Patratu', 'Jharkhand'), (541, 'Phusro', 'Jharkhand'), (542, 'Ramngarh', 'Jharkhand'), (543, 'Ranchi', 'Jharkhand'), (544, 'Sahibganj', 'Jharkhand'), (545, 'Saunda', 'Jharkhand'), (546, 'Simdega', 'Jharkhand'), (547, 'Tenu Dam-cum- Kathhara', 'Jharkhand'), (548, 'Arasikere', 'Karnataka'), (549, 'Bangalore', 'Karnataka'), (550, 'Belgaum', 'Karnataka'), (551, 'Bellary', 'Karnataka'), (552, 'Chamrajnagar', 'Karnataka'), (553, 'Chikkaballapur', 'Karnataka'), (554, 'Chintamani', 'Karnataka'), (555, 'Chitradurga', 'Karnataka'), (556, 'Gulbarga', 'Karnataka'), (557, 'Gundlupet', 'Karnataka'), (558, 'Hassan', 'Karnataka'), (559, 'Hospet', 'Karnataka'), (560, 'Hubli', 'Karnataka'), (561, 'Karkala', 'Karnataka'), (562, 'Karwar', 'Karnataka'), (563, 'Kolar', 'Karnataka'), (564, 'Kota', 'Karnataka'), (565, 'Lakshmeshwar', 'Karnataka'), (566, 'Lingsugur', 'Karnataka'), (567, 'Maddur', 'Karnataka'), (568, 'Madhugiri', 'Karnataka'), (569, 'Madikeri', 'Karnataka'), (570, 'Magadi', 'Karnataka'), (571, 'Mahalingpur', 'Karnataka'), (572, 'Malavalli', 'Karnataka'), (573, 'Malur', 'Karnataka'), (574, 'Mandya', 'Karnataka'), (575, 'Mangalore', 'Karnataka'), (576, 'Manvi', 'Karnataka'), (577, 'Mudalgi', 'Karnataka'), (578, 'Mudbidri', 'Karnataka'), (579, 'Muddebihal', 'Karnataka'), (580, 'Mudhol', 'Karnataka'), (581, 'Mulbagal', 'Karnataka'), (582, 'Mundargi', 'Karnataka'), (583, 'Mysore', 'Karnataka'), (584, 'Nanjangud', 'Karnataka'), (585, 'Pavagada', 'Karnataka'), (586, 'Puttur', 'Karnataka'), (587, 'Rabkavi Banhatti', 'Karnataka'), (588, 'Raichur', 'Karnataka'), (589, 'Ramanagaram', 'Karnataka'), (590, 'Ramdurg', 'Karnataka'), (591, 'Ranibennur', 'Karnataka'), (592, 'Robertson Pet', 'Karnataka'), (593, 'Ron', 'Karnataka'), (594, 'Sadalgi', 'Karnataka'), (595, 'Sagar', 'Karnataka'), (596, 'Sakleshpur', 'Karnataka'), (597, 'Sandur', 'Karnataka'), (598, 'Sankeshwar', 'Karnataka'), (599, 'Saundatti-Yellamma', 'Karnataka'), (600, 'Savanur', 'Karnataka'), (601, 'Sedam', 'Karnataka'), (602, 'Shahabad', 'Karnataka'), (603, 'Shahpur', 'Karnataka'), (604, 'Shiggaon', 'Karnataka'), (605, 'Shikapur', 'Karnataka'), (606, 'Shimoga', 'Karnataka'), (607, 'Shorapur', 'Karnataka'), (608, 'Shrirangapattana', 'Karnataka'), (609, 'Sidlaghatta', 'Karnataka'), (610, 'Sindgi', 'Karnataka'), (611, 'Sindhnur', 'Karnataka'), (612, 'Sira', 'Karnataka'), (613, 'Sirsi', 'Karnataka'), (614, 'Siruguppa', 'Karnataka'), (615, 'Srinivaspur', 'Karnataka'), (616, 'Talikota', 'Karnataka'), (617, 'Tarikere', 'Karnataka'), (618, 'Tekkalakota', 'Karnataka'), (619, 'Terdal', 'Karnataka'), (620, 'Tiptur', 'Karnataka'), (621, 'Tumkur', 'Karnataka'), (622, 'Udupi', 'Karnataka'), (623, 'Vijayapura', 'Karnataka'), (624, 'Wadi', 'Karnataka'), (625, 'Yadgir', 'Karnataka'), (626, 'Adoor', 'Kerala'), (627, 'Akathiyoor', 'Kerala'), (628, 'Alappuzha', 'Kerala'), (629, 'Ancharakandy', 'Kerala'), (630, 'Aroor', 'Kerala'), (631, 'Ashtamichira', 'Kerala'), (632, 'Attingal', 'Kerala'), (633, 'Avinissery', 'Kerala'), (634, 'Chalakudy', 'Kerala'), (635, 'Changanassery', 'Kerala'), (636, 'Chendamangalam', 'Kerala'), (637, 'Chengannur', 'Kerala'), (638, 'Cherthala', 'Kerala'), (639, 'Cheruthazham', 'Kerala'), (640, 'Chittur-Thathamangalam', 'Kerala'), (641, 'Chockli', 'Kerala'), (642, 'Erattupetta', 'Kerala'), (643, 'Guruvayoor', 'Kerala'), (644, 'Irinjalakuda', 'Kerala'), (645, 'Kadirur', 'Kerala'), (646, 'Kalliasseri', 'Kerala'), (647, 'Kalpetta', 'Kerala'), (648, 'Kanhangad', 'Kerala'), (649, 'Kanjikkuzhi', 'Kerala'), (650, 'Kannur', 'Kerala'), (651, 'Kasaragod', 'Kerala'), (652, 'Kayamkulam', 'Kerala'), (653, 'Kochi', 'Kerala'), (654, 'Kodungallur', 'Kerala'), (655, 'Kollam', 'Kerala'), (656, 'Koothuparamba', 'Kerala'), (657, 'Kothamangalam', 'Kerala'), (658, 'Kottayam', 'Kerala'), (659, 'Kozhikode', 'Kerala'), (660, 'Kunnamkulam', 'Kerala'), (661, 'Malappuram', 'Kerala'), (662, 'Mattannur', 'Kerala'), (663, 'Mavelikkara', 'Kerala'), (664, 'Mavoor', 'Kerala'), (665, 'Muvattupuzha', 'Kerala'), (666, 'Nedumangad', 'Kerala'), (667, 'Neyyattinkara', 'Kerala'), (668, 'Ottappalam', 'Kerala'), (669, 'Palai', 'Kerala'), (670, 'Palakkad', 'Kerala'), (671, 'Panniyannur', 'Kerala'), (672, 'Pappinisseri', 'Kerala'), (673, 'Paravoor', 'Kerala'), (674, 'Pathanamthitta', 'Kerala'), (675, 'Payyannur', 'Kerala'), (676, 'Peringathur', 'Kerala'), (677, 'Perinthalmanna', 'Kerala'), (678, 'Perumbavoor', 'Kerala'), (679, 'Ponnani', 'Kerala'), (680, 'Punalur', 'Kerala'), (681, 'Quilandy', 'Kerala'), (682, 'Shoranur', 'Kerala'), (683, 'Taliparamba', 'Kerala'), (684, 'Thiruvalla', 'Kerala'), (685, 'Thiruvananthapuram', 'Kerala'), (686, 'Thodupuzha', 'Kerala'), (687, 'Thrissur', 'Kerala'), (688, 'Tirur', 'Kerala'), (689, 'Vadakara', 'Kerala'), (690, 'Vaikom', 'Kerala'), (691, 'Varkala', 'Kerala'), (692, 'Kavaratti', 'Lakshadweep'), (693, 'Ashok Nagar', 'Madhya Pradesh'), (694, 'Balaghat', 'Madhya Pradesh'), (695, 'Betul', 'Madhya Pradesh'), (696, 'Bhopal', 'Madhya Pradesh'), (697, 'Burhanpur', 'Madhya Pradesh'), (698, 'Chhatarpur', 'Madhya Pradesh'), (699, 'Dabra', 'Madhya Pradesh'), (700, 'Datia', 'Madhya Pradesh'), (701, 'Dewas', 'Madhya Pradesh'), (702, 'Dhar', 'Madhya Pradesh'), (703, 'Fatehabad', 'Madhya Pradesh'), (704, 'Gwalior', 'Madhya Pradesh'), (705, 'Indore', 'Madhya Pradesh'), (706, 'Itarsi', 'Madhya Pradesh'), (707, 'Jabalpur', 'Madhya Pradesh'), (708, 'Katni', 'Madhya Pradesh'), (709, 'Kotma', 'Madhya Pradesh'), (710, 'Lahar', 'Madhya Pradesh'), (711, 'Lundi', 'Madhya Pradesh'), (712, 'Maharajpur', 'Madhya Pradesh'), (713, 'Mahidpur', 'Madhya Pradesh'), (714, 'Maihar', 'Madhya Pradesh'), (715, 'Malajkhand', 'Madhya Pradesh'), (716, 'Manasa', 'Madhya Pradesh'), (717, 'Manawar', 'Madhya Pradesh'), (718, 'Mandideep', 'Madhya Pradesh'), (719, 'Mandla', 'Madhya Pradesh'), (720, 'Mandsaur', 'Madhya Pradesh'), (721, 'Mauganj', 'Madhya Pradesh'), (722, 'Mhow Cantonment', 'Madhya Pradesh'), (723, 'Mhowgaon', 'Madhya Pradesh'), (724, 'Morena', 'Madhya Pradesh'), (725, 'Multai', 'Madhya Pradesh'), (726, 'Murwara', 'Madhya Pradesh'), (727, 'Nagda', 'Madhya Pradesh'), (728, 'Nainpur', 'Madhya Pradesh'), (729, 'Narsinghgarh', 'Madhya Pradesh'), (730, 'Narsinghgarh', 'Madhya Pradesh'), (731, 'Neemuch', 'Madhya Pradesh'), (732, 'Nepanagar', 'Madhya Pradesh'), (733, 'Niwari', 'Madhya Pradesh'), (734, 'Nowgong', 'Madhya Pradesh'), (735, 'Nowrozabad', 'Madhya Pradesh'), (736, 'Pachore', 'Madhya Pradesh'), (737, 'Pali', 'Madhya Pradesh'), (738, 'Panagar', 'Madhya Pradesh'), (739, 'Pandhurna', 'Madhya Pradesh'), (740, 'Panna', 'Madhya Pradesh'), (741, 'Pasan', 'Madhya Pradesh'), (742, 'Pipariya', 'Madhya Pradesh'), (743, 'Pithampur', 'Madhya Pradesh'), (744, 'Porsa', 'Madhya Pradesh'), (745, 'Prithvipur', 'Madhya Pradesh'), (746, 'Raghogarh-Vijaypur', 'Madhya Pradesh'), (747, 'Rahatgarh', 'Madhya Pradesh'), (748, 'Raisen', 'Madhya Pradesh'), (749, 'Rajgarh', 'Madhya Pradesh'), (750, 'Ratlam', 'Madhya Pradesh'), (751, 'Rau', 'Madhya Pradesh'), (752, 'Rehli', 'Madhya Pradesh'), (753, 'Rewa', 'Madhya Pradesh'), (754, 'Sabalgarh', 'Madhya Pradesh'), (755, 'Sagar', 'Madhya Pradesh'), (756, 'Sanawad', 'Madhya Pradesh'), (757, 'Sarangpur', 'Madhya Pradesh'), (758, 'Sarni', 'Madhya Pradesh'), (759, 'Satna', 'Madhya Pradesh'), (760, 'Sausar', 'Madhya Pradesh'), (761, 'Sehore', 'Madhya Pradesh'), (762, 'Sendhwa', 'Madhya Pradesh'), (763, 'Seoni', 'Madhya Pradesh'), (764, 'Seoni-Malwa', 'Madhya Pradesh'), (765, 'Shahdol', 'Madhya Pradesh'), (766, 'Shajapur', 'Madhya Pradesh'), (767, 'Shamgarh', 'Madhya Pradesh'), (768, 'Sheopur', 'Madhya Pradesh'), (769, 'Shivpuri', 'Madhya Pradesh'), (770, 'Shujalpur', 'Madhya Pradesh'), (771, 'Sidhi', 'Madhya Pradesh'), (772, 'Sihora', 'Madhya Pradesh'), (773, 'Singrauli', 'Madhya Pradesh'), (774, 'Sironj', 'Madhya Pradesh'), (775, 'Sohagpur', 'Madhya Pradesh'), (776, 'Tarana', 'Madhya Pradesh'), (777, 'Tikamgarh', 'Madhya Pradesh'), (778, 'Ujhani', 'Madhya Pradesh'), (779, 'Ujjain', 'Madhya Pradesh'), (780, 'Umaria', 'Madhya Pradesh'), (781, 'Vidisha', 'Madhya Pradesh'), (782, 'Wara Seoni', 'Madhya Pradesh'), (783, 'Ahmednagar', 'Maharashtra'), (784, 'Akola', 'Maharashtra'), (785, 'Amravati', 'Maharashtra'), (786, 'Aurangabad', 'Maharashtra'), (787, 'Baramati', 'Maharashtra'), (788, 'Chalisgaon', 'Maharashtra'), (789, 'Chinchani', 'Maharashtra'), (790, 'Devgarh', 'Maharashtra'), (791, 'Dhule', 'Maharashtra'), (792, 'Dombivli', 'Maharashtra'), (793, 'Durgapur', 'Maharashtra'), (794, 'Ichalkaranji', 'Maharashtra'), (795, 'Jalna', 'Maharashtra'), (796, 'Kalyan', 'Maharashtra'), (797, 'Latur', 'Maharashtra'), (798, 'Loha', 'Maharashtra'), (799, 'Lonar', 'Maharashtra'), (800, 'Lonavla', 'Maharashtra'), (801, 'Mahad', 'Maharashtra'), (802, 'Mahuli', 'Maharashtra'), (803, 'Malegaon', 'Maharashtra'), (804, 'Malkapur', 'Maharashtra'), (805, 'Manchar', 'Maharashtra'), (806, 'Mangalvedhe', 'Maharashtra'), (807, 'Mangrulpir', 'Maharashtra'), (808, 'Manjlegaon', 'Maharashtra'), (809, 'Manmad', 'Maharashtra'), (810, 'Manwath', 'Maharashtra'), (811, 'Mehkar', 'Maharashtra'), (812, 'Mhaswad', 'Maharashtra'), (813, 'Miraj', 'Maharashtra'), (814, 'Morshi', 'Maharashtra'), (815, 'Mukhed', 'Maharashtra'), (816, 'Mul', 'Maharashtra'), (817, 'Mumbai', 'Maharashtra'), (818, 'Murtijapur', 'Maharashtra'), (819, 'Nagpur', 'Maharashtra'), (820, 'Nalasopara', 'Maharashtra'), (821, 'Nanded-Waghala', 'Maharashtra'), (822, 'Nandgaon', 'Maharashtra'), (823, 'Nandura', 'Maharashtra'), (824, 'Nandurbar', 'Maharashtra'), (825, 'Narkhed', 'Maharashtra'), (826, 'Nashik', 'Maharashtra'), (827, 'Navi Mumbai', 'Maharashtra'), (828, 'Nawapur', 'Maharashtra'), (829, 'Nilanga', 'Maharashtra'), (830, 'Osmanabad', 'Maharashtra'), (831, 'Ozar', 'Maharashtra'), (832, 'Pachora', 'Maharashtra'), (833, 'Paithan', 'Maharashtra'), (834, 'Palghar', 'Maharashtra'), (835, 'Pandharkaoda', 'Maharashtra'), (836, 'Pandharpur', 'Maharashtra'), (837, 'Panvel', 'Maharashtra'), (838, 'Parbhani', 'Maharashtra'), (839, 'Parli', 'Maharashtra'), (840, 'Parola', 'Maharashtra'), (841, 'Partur', 'Maharashtra'), (842, 'Pathardi', 'Maharashtra'), (843, 'Pathri', 'Maharashtra'), (844, 'Patur', 'Maharashtra'), (845, 'Pauni', 'Maharashtra'), (846, 'Pen', 'Maharashtra'), (847, 'Phaltan', 'Maharashtra'), (848, 'Pulgaon', 'Maharashtra'), (849, 'Pune', 'Maharashtra'), (850, 'Purna', 'Maharashtra'), (851, 'Pusad', 'Maharashtra'), (852, 'Rahuri', 'Maharashtra'), (853, 'Rajura', 'Maharashtra'), (854, 'Ramtek', 'Maharashtra'), (855, 'Ratnagiri', 'Maharashtra'), (856, 'Raver', 'Maharashtra'), (857, 'Risod', 'Maharashtra'), (858, 'Sailu', 'Maharashtra'), (859, 'Sangamner', 'Maharashtra'), (860, 'Sangli', 'Maharashtra'), (861, 'Sangole', 'Maharashtra'), (862, 'Sasvad', 'Maharashtra'), (863, 'Satana', 'Maharashtra'), (864, 'Satara', 'Maharashtra'), (865, 'Savner', 'Maharashtra'), (866, 'Sawantwadi', 'Maharashtra'), (867, 'Shahade', 'Maharashtra'), (868, 'Shegaon', 'Maharashtra'), (869, 'Shendurjana', 'Maharashtra'), (870, 'Shirdi', 'Maharashtra'), (871, 'Shirpur-Warwade', 'Maharashtra'), (872, 'Shirur', 'Maharashtra'), (873, 'Shrigonda', 'Maharashtra'), (874, 'Shrirampur', 'Maharashtra'), (875, 'Sillod', 'Maharashtra'), (876, 'Sinnar', 'Maharashtra'), (877, 'Solapur', 'Maharashtra'), (878, 'Soyagaon', 'Maharashtra'), (879, 'Talegaon Dabhade', 'Maharashtra'), (880, 'Talode', 'Maharashtra'), (881, 'Tasgaon', 'Maharashtra'), (882, 'Tirora', 'Maharashtra'), (883, 'Tuljapur', 'Maharashtra'), (884, 'Tumsar', 'Maharashtra'), (885, 'Uran', 'Maharashtra'), (886, 'Uran Islampur', 'Maharashtra'), (887, 'Wadgaon Road', 'Maharashtra'), (888, 'Wai', 'Maharashtra'), (889, 'Wani', 'Maharashtra'), (890, 'Wardha', 'Maharashtra'), (891, 'Warora', 'Maharashtra'), (892, 'Warud', 'Maharashtra'), (893, 'Washim', 'Maharashtra'), (894, 'Yevla', 'Maharashtra'), (895, 'Uchgaon', 'Maharashtra'), (896, 'Udgir', 'Maharashtra'), (897, 'Umarga', 'Maharashtra'), (898, 'Umarkhed', 'Maharashtra'), (899, 'Umred', 'Maharashtra'), (900, 'Vadgaon Kasba', 'Maharashtra'), (901, 'Vaijapur', 'Maharashtra'), (902, 'Vasai', 'Maharashtra'), (903, 'Virar', 'Maharashtra'), (904, 'Vita', 'Maharashtra'), (905, 'Yavatmal', 'Maharashtra'), (906, 'Yawal', 'Maharashtra'), (907, 'Imphal', 'Manipur'), (908, 'Kakching', 'Manipur'), (909, 'Lilong', 'Manipur'), (910, 'Mayang Imphal', 'Manipur'), (911, 'Thoubal', 'Manipur'), (912, 'Jowai', 'Meghalaya'), (913, 'Nongstoin', 'Meghalaya'), (914, 'Shillong', 'Meghalaya'), (915, 'Tura', 'Meghalaya'), (916, 'Aizawl', 'Mizoram'), (917, 'Champhai', 'Mizoram'), (918, 'Lunglei', 'Mizoram'), (919, 'Saiha', 'Mizoram'), (920, 'Dimapur', 'Nagaland'), (921, 'Kohima', 'Nagaland'), (922, 'Mokokchung', 'Nagaland'), (923, 'Tuensang', 'Nagaland'), (924, 'Wokha', 'Nagaland'), (925, 'Zunheboto', 'Nagaland'), (950, 'Anandapur', 'Orissa'), (951, 'Anugul', 'Orissa'), (952, 'Asika', 'Orissa'), (953, 'Balangir', 'Orissa'), (954, 'Balasore', 'Orissa'), (955, 'Baleshwar', 'Orissa'), (956, 'Bamra', 'Orissa'), (957, 'Barbil', 'Orissa'), (958, 'Bargarh', 'Orissa'), (959, 'Bargarh', 'Orissa'), (960, 'Baripada', 'Orissa'), (961, 'Basudebpur', 'Orissa'), (962, 'Belpahar', 'Orissa'), (963, 'Bhadrak', 'Orissa'), (964, 'Bhawanipatna', 'Orissa'), (965, 'Bhuban', 'Orissa'), (966, 'Bhubaneswar', 'Orissa'), (967, 'Biramitrapur', 'Orissa'), (968, 'Brahmapur', 'Orissa'), (969, 'Brajrajnagar', 'Orissa'), (970, 'Byasanagar', 'Orissa'), (971, 'Cuttack', 'Orissa'), (972, 'Debagarh', 'Orissa'), (973, 'Dhenkanal', 'Orissa'), (974, 'Gunupur', 'Orissa'), (975, 'Hinjilicut', 'Orissa'), (976, 'Jagatsinghapur', 'Orissa'), (977, 'Jajapur', 'Orissa'), (978, 'Jaleswar', 'Orissa'), (979, 'Jatani', 'Orissa'), (980, 'Jeypur', 'Orissa'), (981, 'Jharsuguda', 'Orissa'), (982, 'Joda', 'Orissa'), (983, 'Kantabanji', 'Orissa'), (984, 'Karanjia', 'Orissa'), (985, 'Kendrapara', 'Orissa'), (986, 'Kendujhar', 'Orissa'), (987, 'Khordha', 'Orissa'), (988, 'Koraput', 'Orissa'), (989, 'Malkangiri', 'Orissa'), (990, 'Nabarangapur', 'Orissa'), (991, 'Paradip', 'Orissa'), (992, 'Parlakhemundi', 'Orissa'), (993, 'Pattamundai', 'Orissa'), (994, 'Phulabani', 'Orissa'), (995, 'Puri', 'Orissa'), (996, 'Rairangpur', 'Orissa'), (997, 'Rajagangapur', 'Orissa'), (998, 'Raurkela', 'Orissa'), (999, 'Rayagada', 'Orissa'), (1000, 'Sambalpur', 'Orissa'), (1001, 'Soro', 'Orissa'), (1002, 'Sunabeda', 'Orissa'), (1003, 'Sundargarh', 'Orissa'), (1004, 'Talcher', 'Orissa'), (1005, 'Titlagarh', 'Orissa'), (1006, 'Umarkote', 'Orissa'), (1007, 'Karaikal', 'Pondicherry'), (1008, 'Mahe', 'Pondicherry'), (1009, 'Pondicherry', 'Pondicherry'), (1010, 'Yanam', 'Pondicherry'), (1011, 'Ahmedgarh', 'Punjab'), (1012, 'Amritsar', 'Punjab'), (1013, 'Barnala', 'Punjab'), (1014, 'Batala', 'Punjab'), (1015, 'Bathinda', 'Punjab'), (1016, 'Bhagha Purana', 'Punjab'), (1017, 'Budhlada', 'Punjab'), (1018, 'Chandigarh', 'Punjab'), (1019, 'Dasua', 'Punjab'), (1020, 'Dhuri', 'Punjab'), (1021, 'Dinanagar', 'Punjab'), (1022, 'Faridkot', 'Punjab'), (1023, 'Fazilka', 'Punjab'), (1024, 'Firozpur', 'Punjab'), (1025, 'Firozpur Cantt.', 'Punjab'), (1026, 'Giddarbaha', 'Punjab'), (1027, 'Gobindgarh', 'Punjab'), (1028, 'Gurdaspur', 'Punjab'), (1029, 'Hoshiarpur', 'Punjab'), (1030, 'Jagraon', 'Punjab'), (1031, 'Jaitu', 'Punjab'), (1032, 'Jalalabad', 'Punjab'), (1033, 'Jalandhar', 'Punjab'), (1034, 'Jalandhar Cantt.', 'Punjab'), (1035, 'Jandiala', 'Punjab'), (1036, 'Kapurthala', 'Punjab'), (1037, 'Karoran', 'Punjab'), (1038, 'Kartarpur', 'Punjab'), (1039, 'Khanna', 'Punjab'), (1040, 'Kharar', 'Punjab'), (1041, 'Kot Kapura', 'Punjab'), (1042, 'Kurali', 'Punjab'), (1043, 'Longowal', 'Punjab'), (1044, 'Ludhiana', 'Punjab'), (1045, 'Malerkotla', 'Punjab'), (1046, 'Malout', 'Punjab'), (1047, 'Mansa', 'Punjab'), (1048, 'Maur', 'Punjab'), (1049, 'Moga', 'Punjab'), (1050, 'Mohali', 'Punjab'), (1051, 'Morinda', 'Punjab'), (1052, 'Mukerian', 'Punjab'), (1053, 'Muktsar', 'Punjab'), (1054, 'Nabha', 'Punjab'), (1055, 'Nakodar', 'Punjab'), (1056, 'Nangal', 'Punjab'), (1057, 'Nawanshahr', 'Punjab'), (1058, 'Pathankot', 'Punjab'), (1059, 'Patiala', 'Punjab'), (1060, 'Patran', 'Punjab'), (1061, 'Patti', 'Punjab'), (1062, 'Phagwara', 'Punjab'), (1063, 'Phillaur', 'Punjab'), (1064, 'Qadian', 'Punjab'), (1065, 'Raikot', 'Punjab'), (1066, 'Rajpura', 'Punjab'), (1067, 'Rampura Phul', 'Punjab'), (1068, 'Rupnagar', 'Punjab'), (1069, 'Samana', 'Punjab'), (1070, 'Sangrur', 'Punjab'), (1071, 'Sirhind Fatehgarh Sahib', 'Punjab'), (1072, 'Sujanpur', 'Punjab'), (1073, 'Sunam', 'Punjab'), (1074, 'Talwara', 'Punjab'), (1075, 'Tarn Taran', 'Punjab'), (1076, 'Urmar Tanda', 'Punjab'), (1077, 'Zira', 'Punjab'), (1078, 'Zirakpur', 'Punjab'), (1079, 'Bali', 'Rajasthan'), (1080, 'Banswara', 'Rajasthan'), (1081, 'Ajmer', 'Rajasthan'), (1082, 'Alwar', 'Rajasthan'), (1083, 'Bandikui', 'Rajasthan'), (1084, 'Baran', 'Rajasthan'), (1085, 'Barmer', 'Rajasthan'), (1086, 'Bikaner', 'Rajasthan'), (1087, 'Fatehpur', 'Rajasthan'), (1088, 'Jaipur', 'Rajasthan'), (1089, 'Jaisalmer', 'Rajasthan'), (1090, 'Jodhpur', 'Rajasthan'), (1091, 'Kota', 'Rajasthan'), (1092, 'Lachhmangarh', 'Rajasthan'), (1093, 'Ladnu', 'Rajasthan'), (1094, 'Lakheri', 'Rajasthan'), (1095, 'Lalsot', 'Rajasthan'), (1096, 'Losal', 'Rajasthan'), (1097, 'Makrana', 'Rajasthan'), (1098, 'Malpura', 'Rajasthan'), (1099, 'Mandalgarh', 'Rajasthan'), (1100, 'Mandawa', 'Rajasthan'), (1101, 'Mangrol', 'Rajasthan'), (1102, 'Merta City', 'Rajasthan'), (1103, 'Mount Abu', 'Rajasthan'), (1104, 'Nadbai', 'Rajasthan'), (1105, 'Nagar', 'Rajasthan'), (1106, 'Nagaur', 'Rajasthan'), (1107, 'Nargund', 'Rajasthan'), (1108, 'Nasirabad', 'Rajasthan'), (1109, 'Nathdwara', 'Rajasthan'), (1110, 'Navalgund', 'Rajasthan'), (1111, 'Nawalgarh', 'Rajasthan'), (1112, 'Neem-Ka-Thana', 'Rajasthan'), (1113, 'Nelamangala', 'Rajasthan'), (1114, 'Nimbahera', 'Rajasthan'), (1115, 'Nipani', 'Rajasthan'), (1116, 'Niwai', 'Rajasthan'), (1117, 'Nohar', 'Rajasthan'), (1118, 'Nokha', 'Rajasthan'), (1119, 'Pali', 'Rajasthan'), (1120, 'Phalodi', 'Rajasthan'), (1121, 'Phulera', 'Rajasthan'), (1122, 'Pilani', 'Rajasthan'), (1123, 'Pilibanga', 'Rajasthan'), (1124, 'Pindwara', 'Rajasthan'), (1125, 'Pipar City', 'Rajasthan'), (1126, 'Prantij', 'Rajasthan'), (1127, 'Pratapgarh', 'Rajasthan'), (1128, 'Raisinghnagar', 'Rajasthan'), (1129, 'Rajakhera', 'Rajasthan'), (1130, 'Rajaldesar', 'Rajasthan'), (1131, 'Rajgarh (Alwar)', 'Rajasthan'), (1132, 'Rajgarh (Churu', 'Rajasthan'), (1133, 'Rajsamand', 'Rajasthan'), (1134, 'Ramganj Mandi', 'Rajasthan'), (1135, 'Ramngarh', 'Rajasthan'), (1136, 'Ratangarh', 'Rajasthan'), (1137, 'Rawatbhata', 'Rajasthan'), (1138, 'Rawatsar', 'Rajasthan'), (1139, 'Reengus', 'Rajasthan'), (1140, 'Sadri', 'Rajasthan'), (1141, 'Sadulshahar', 'Rajasthan'), (1142, 'Sagwara', 'Rajasthan'), (1143, 'Sambhar', 'Rajasthan'), (1144, 'Sanchore', 'Rajasthan'), (1145, 'Sangaria', 'Rajasthan'), (1146, 'Sardarshahar', 'Rajasthan'), (1147, 'Sawai Madhopur', 'Rajasthan'), (1148, 'Shahpura', 'Rajasthan'), (1149, 'Shahpura', 'Rajasthan'), (1150, 'Sheoganj', 'Rajasthan'), (1151, 'Sikar', 'Rajasthan'), (1152, 'Sirohi', 'Rajasthan'), (1153, 'Sojat', 'Rajasthan'), (1154, 'Sri Madhopur', 'Rajasthan'), (1155, 'Sujangarh', 'Rajasthan'), (1156, 'Sumerpur', 'Rajasthan'), (1157, 'Suratgarh', 'Rajasthan'), (1158, 'Taranagar', 'Rajasthan'), (1159, 'Todabhim', 'Rajasthan'), (1160, 'Todaraisingh', 'Rajasthan'), (1161, 'Tonk', 'Rajasthan'), (1162, 'Udaipur', 'Rajasthan'), (1163, 'Udaipurwati', 'Rajasthan'), (1164, 'Vijainagar', 'Rajasthan'), (1165, 'Gangtok', 'Sikkim'), (1166, 'Calcutta', 'West Bengal'), (1167, 'Arakkonam', 'Tamil Nadu'), (1168, 'Arcot', 'Tamil Nadu'), (1169, 'Aruppukkottai', 'Tamil Nadu'), (1170, 'Bhavani', 'Tamil Nadu'), (1171, 'Chengalpattu', 'Tamil Nadu'), (1172, 'Chennai', 'Tamil Nadu'), (1173, 'Chinna salem', 'Tamil nadu'), (1174, 'Coimbatore', 'Tamil Nadu'), (1175, 'Coonoor', 'Tamil Nadu'), (1176, 'Cuddalore', 'Tamil Nadu'), (1177, 'Dharmapuri', 'Tamil Nadu'), (1178, 'Dindigul', 'Tamil Nadu'), (1179, 'Erode', 'Tamil Nadu'), (1180, 'Gudalur', 'Tamil Nadu'), (1181, 'Gudalur', 'Tamil Nadu'), (1182, 'Gudalur', 'Tamil Nadu'), (1183, 'Kanchipuram', 'Tamil Nadu'), (1184, 'Karaikudi', 'Tamil Nadu'), (1185, 'Karungal', 'Tamil Nadu'), (1186, 'Karur', 'Tamil Nadu'), (1187, 'Kollankodu', 'Tamil Nadu'), (1188, 'Lalgudi', 'Tamil Nadu'), (1189, 'Madurai', 'Tamil Nadu'), (1190, 'Nagapattinam', 'Tamil Nadu'), (1191, 'Nagercoil', 'Tamil Nadu'), (1192, 'Namagiripettai', 'Tamil Nadu'), (1193, 'Namakkal', 'Tamil Nadu'), (1194, 'Nandivaram-Guduvancheri', 'Tamil Nadu'), (1195, 'Nanjikottai', 'Tamil Nadu'), (1196, 'Natham', 'Tamil Nadu'), (1197, 'Nellikuppam', 'Tamil Nadu'), (1198, 'Neyveli', 'Tamil Nadu'), (1199, 'O\' Valley', 'Tamil Nadu'), (1200, 'Oddanchatram', 'Tamil Nadu'), (1201, 'P.N.Patti', 'Tamil Nadu'), (1202, 'Pacode', 'Tamil Nadu'), (1203, 'Padmanabhapuram', 'Tamil Nadu'), (1204, 'Palani', 'Tamil Nadu'), (1205, 'Palladam', 'Tamil Nadu'), (1206, 'Pallapatti', 'Tamil Nadu'), (1207, 'Pallikonda', 'Tamil Nadu'), (1208, 'Panagudi', 'Tamil Nadu'), (1209, 'Panruti', 'Tamil Nadu'), (1210, 'Paramakudi', 'Tamil Nadu'), (1211, 'Parangipettai', 'Tamil Nadu'), (1212, 'Pattukkottai', 'Tamil Nadu'), (1213, 'Perambalur', 'Tamil Nadu'), (1214, 'Peravurani', 'Tamil Nadu'), (1215, 'Periyakulam', 'Tamil Nadu'), (1216, 'Periyasemur', 'Tamil Nadu'), (1217, 'Pernampattu', 'Tamil Nadu'), (1218, 'Pollachi', 'Tamil Nadu'), (1219, 'Polur', 'Tamil Nadu'), (1220, 'Ponneri', 'Tamil Nadu'), (1221, 'Pudukkottai', 'Tamil Nadu'), (1222, 'Pudupattinam', 'Tamil Nadu'), (1223, 'Puliyankudi', 'Tamil Nadu'), (1224, 'Punjaipugalur', 'Tamil Nadu'), (1225, 'Rajapalayam', 'Tamil Nadu'), (1226, 'Ramanathapuram', 'Tamil Nadu'), (1227, 'Rameshwaram', 'Tamil Nadu'), (1228, 'Rasipuram', 'Tamil Nadu'), (1229, 'Salem', 'Tamil Nadu'), (1230, 'Sankarankoil', 'Tamil Nadu'), (1231, 'Sankari', 'Tamil Nadu'), (1232, 'Sathyamangalam', 'Tamil Nadu'), (1233, 'Sattur', 'Tamil Nadu'), (1234, 'Shenkottai', 'Tamil Nadu'), (1235, 'Sholavandan', 'Tamil Nadu'), (1236, 'Sholingur', 'Tamil Nadu'), (1237, 'Sirkali', 'Tamil Nadu'), (1238, 'Sivaganga', 'Tamil Nadu'), (1239, 'Sivagiri', 'Tamil Nadu'), (1240, 'Sivakasi', 'Tamil Nadu'), (1241, 'Srivilliputhur', 'Tamil Nadu'), (1242, 'Surandai', 'Tamil Nadu'), (1243, 'Suriyampalayam', 'Tamil Nadu'), (1244, 'Tenkasi', 'Tamil Nadu'), (1245, 'Thammampatti', 'Tamil Nadu'), (1246, 'Thanjavur', 'Tamil Nadu'), (1247, 'Tharamangalam', 'Tamil Nadu'), (1248, 'Tharangambadi', 'Tamil Nadu'), (1249, 'Theni Allinagaram', 'Tamil Nadu'), (1250, 'Thirumangalam', 'Tamil Nadu'), (1251, 'Thirunindravur', 'Tamil Nadu'), (1252, 'Thiruparappu', 'Tamil Nadu'), (1253, 'Thirupuvanam', 'Tamil Nadu'), (1254, 'Thiruthuraipoondi', 'Tamil Nadu'), (1255, 'Thiruvallur', 'Tamil Nadu'), (1256, 'Thiruvarur', 'Tamil Nadu'), (1257, 'Thoothukudi', 'Tamil Nadu'), (1258, 'Thuraiyur', 'Tamil Nadu'), (1259, 'Tindivanam', 'Tamil Nadu'), (1260, 'Tiruchendur', 'Tamil Nadu'), (1261, 'Tiruchengode', 'Tamil Nadu'), (1262, 'Tiruchirappalli', 'Tamil Nadu'), (1263, 'Tirukalukundram', 'Tamil Nadu'), (1264, 'Tirukkoyilur', 'Tamil Nadu'), (1265, 'Tirunelveli', 'Tamil Nadu'), (1266, 'Tirupathur', 'Tamil Nadu'), (1267, 'Tirupathur', 'Tamil Nadu'), (1268, 'Tiruppur', 'Tamil Nadu'), (1269, 'Tiruttani', 'Tamil Nadu'), (1270, 'Tiruvannamalai', 'Tamil Nadu'), (1271, 'Tiruvethipuram', 'Tamil Nadu'), (1272, 'Tittakudi', 'Tamil Nadu'), (1273, 'Udhagamandalam', 'Tamil Nadu'), (1274, 'Udumalaipettai', 'Tamil Nadu'), (1275, 'Unnamalaikadai', 'Tamil Nadu'), (1276, 'Usilampatti', 'Tamil Nadu'), (1277, 'Uthamapalayam', 'Tamil Nadu'), (1278, 'Uthiramerur', 'Tamil Nadu'), (1279, 'Vadakkuvalliyur', 'Tamil Nadu'), (1280, 'Vadalur', 'Tamil Nadu'), (1281, 'Vadipatti', 'Tamil Nadu'), (1282, 'Valparai', 'Tamil Nadu'), (1283, 'Vandavasi', 'Tamil Nadu'), (1284, 'Vaniyambadi', 'Tamil Nadu'), (1285, 'Vedaranyam', 'Tamil Nadu'), (1286, 'Vellakoil', 'Tamil Nadu'), (1287, 'Vellore', 'Tamil Nadu'), (1288, 'Vikramasingapuram', 'Tamil Nadu'), (1289, 'Viluppuram', 'Tamil Nadu'), (1290, 'Virudhachalam', 'Tamil Nadu'), (1291, 'Virudhunagar', 'Tamil Nadu'), (1292, 'Viswanatham', 'Tamil Nadu'), (1293, 'Agartala', 'Tripura'), (1294, 'Badharghat', 'Tripura'), (1295, 'Dharmanagar', 'Tripura'), (1296, 'Indranagar', 'Tripura'), (1297, 'Jogendranagar', 'Tripura'), (1298, 'Kailasahar', 'Tripura'), (1299, 'Khowai', 'Tripura'), (1300, 'Pratapgarh', 'Tripura'), (1301, 'Udaipur', 'Tripura'), (1302, 'Achhnera', 'Uttar Pradesh'), (1303, 'Adari', 'Uttar Pradesh'), (1304, 'Agra', 'Uttar Pradesh'), (1305, 'Aligarh', 'Uttar Pradesh'), (1306, 'Allahabad', 'Uttar Pradesh'), (1307, 'Amroha', 'Uttar Pradesh'), (1308, 'Azamgarh', 'Uttar Pradesh'), (1309, 'Bahraich', 'Uttar Pradesh'), (1310, 'Ballia', 'Uttar Pradesh'), (1311, 'Balrampur', 'Uttar Pradesh'), (1312, 'Banda', 'Uttar Pradesh'), (1313, 'Bareilly', 'Uttar Pradesh'), (1314, 'Chandausi', 'Uttar Pradesh'), (1315, 'Dadri', 'Uttar Pradesh'), (1316, 'Deoria', 'Uttar Pradesh'), (1317, 'Etawah', 'Uttar Pradesh'), (1318, 'Fatehabad', 'Uttar Pradesh'), (1319, 'Fatehpur', 'Uttar Pradesh'), (1320, 'Fatehpur', 'Uttar Pradesh'), (1321, 'Greater Noida', 'Uttar Pradesh'), (1322, 'Hamirpur', 'Uttar Pradesh'), (1323, 'Hardoi', 'Uttar Pradesh'), (1324, 'Jajmau', 'Uttar Pradesh'), (1325, 'Jaunpur', 'Uttar Pradesh'), (1326, 'Jhansi', 'Uttar Pradesh'), (1327, 'Kalpi', 'Uttar Pradesh'), (1328, 'Kanpur', 'Uttar Pradesh'), (1329, 'Kota', 'Uttar Pradesh'), (1330, 'Laharpur', 'Uttar Pradesh'), (1331, 'Lakhimpur', 'Uttar Pradesh'), (1332, 'Lal Gopalganj Nindaura', 'Uttar Pradesh'), (1333, 'Lalganj', 'Uttar Pradesh'), (1334, 'Lalitpur', 'Uttar Pradesh'), (1335, 'Lar', 'Uttar Pradesh'), (1336, 'Loni', 'Uttar Pradesh'), (1337, 'Lucknow', 'Uttar Pradesh'), (1338, 'Mathura', 'Uttar Pradesh'), (1339, 'Meerut', 'Uttar Pradesh'), (1340, 'Modinagar', 'Uttar Pradesh'), (1341, 'Muradnagar', 'Uttar Pradesh'), (1342, 'Nagina', 'Uttar Pradesh'), (1343, 'Najibabad', 'Uttar Pradesh'), (1344, 'Nakur', 'Uttar Pradesh'), (1345, 'Nanpara', 'Uttar Pradesh'), (1346, 'Naraura', 'Uttar Pradesh'), (1347, 'Naugawan Sadat', 'Uttar Pradesh'), (1348, 'Nautanwa', 'Uttar Pradesh'), (1349, 'Nawabganj', 'Uttar Pradesh'), (1350, 'Nehtaur', 'Uttar Pradesh'), (1351, 'NOIDA', 'Uttar Pradesh'), (1352, 'Noorpur', 'Uttar Pradesh'), (1353, 'Obra', 'Uttar Pradesh'), (1354, 'Orai', 'Uttar Pradesh'), (1355, 'Padrauna', 'Uttar Pradesh'), (1356, 'Palia Kalan', 'Uttar Pradesh'), (1357, 'Parasi', 'Uttar Pradesh'), (1358, 'Phulpur', 'Uttar Pradesh'), (1359, 'Pihani', 'Uttar Pradesh'), (1360, 'Pilibhit', 'Uttar Pradesh'), (1361, 'Pilkhuwa', 'Uttar Pradesh'), (1362, 'Powayan', 'Uttar Pradesh'), (1363, 'Pukhrayan', 'Uttar Pradesh'), (1364, 'Puranpur', 'Uttar Pradesh'), (1365, 'Purquazi', 'Uttar Pradesh'), (1366, 'Purwa', 'Uttar Pradesh'), (1367, 'Rae Bareli', 'Uttar Pradesh'), (1368, 'Rampur', 'Uttar Pradesh'), (1369, 'Rampur Maniharan', 'Uttar Pradesh'), (1370, 'Rasra', 'Uttar Pradesh'), (1371, 'Rath', 'Uttar Pradesh'), (1372, 'Renukoot', 'Uttar Pradesh'), (1373, 'Reoti', 'Uttar Pradesh'), (1374, 'Robertsganj', 'Uttar Pradesh'), (1375, 'Rudauli', 'Uttar Pradesh'), (1376, 'Rudrapur', 'Uttar Pradesh'), (1377, 'Sadabad', 'Uttar Pradesh'), (1378, 'Safipur', 'Uttar Pradesh'), (1379, 'Saharanpur', 'Uttar Pradesh'), (1380, 'Sahaspur', 'Uttar Pradesh'), (1381, 'Sahaswan', 'Uttar Pradesh'), (1382, 'Sahawar', 'Uttar Pradesh'), (1383, 'Sahjanwa', 'Uttar Pradesh'), (1385, 'Sambhal', 'Uttar Pradesh'), (1386, 'Samdhan', 'Uttar Pradesh'), (1387, 'Samthar', 'Uttar Pradesh'), (1388, 'Sandi', 'Uttar Pradesh'), (1389, 'Sandila', 'Uttar Pradesh'), (1390, 'Sardhana', 'Uttar Pradesh'), (1391, 'Seohara', 'Uttar Pradesh'), (1394, 'Shahganj', 'Uttar Pradesh'), (1395, 'Shahjahanpur', 'Uttar Pradesh'), (1396, 'Shamli', 'Uttar Pradesh'), (1399, 'Sherkot', 'Uttar Pradesh'), (1401, 'Shikohabad', 'Uttar Pradesh'), (1402, 'Shishgarh', 'Uttar Pradesh'), (1403, 'Siana', 'Uttar Pradesh'), (1404, 'Sikanderpur', 'Uttar Pradesh'), (1405, 'Sikandra Rao', 'Uttar Pradesh'), (1406, 'Sikandrabad', 'Uttar Pradesh'), (1407, 'Sirsaganj', 'Uttar Pradesh'), (1408, 'Sirsi', 'Uttar Pradesh'), (1409, 'Sitapur', 'Uttar Pradesh'), (1410, 'Soron', 'Uttar Pradesh'), (1411, 'Suar', 'Uttar Pradesh'), (1412, 'Sultanpur', 'Uttar Pradesh'), (1413, 'Sumerpur', 'Uttar Pradesh'), (1414, 'Tanda', 'Uttar Pradesh'), (1415, 'Tanda', 'Uttar Pradesh'), (1416, 'Tetri Bazar', 'Uttar Pradesh'), (1417, 'Thakurdwara', 'Uttar Pradesh'), (1418, 'Thana Bhawan', 'Uttar Pradesh'), (1419, 'Tilhar', 'Uttar Pradesh'), (1420, 'Tirwaganj', 'Uttar Pradesh'), (1421, 'Tulsipur', 'Uttar Pradesh'), (1422, 'Tundla', 'Uttar Pradesh'), (1423, 'Unnao', 'Uttar Pradesh'), (1424, 'Utraula', 'Uttar Pradesh'), (1425, 'Varanasi', 'Uttar Pradesh'), (1426, 'Vrindavan', 'Uttar Pradesh'), (1427, 'Warhapur', 'Uttar Pradesh'), (1428, 'Zaidpur', 'Uttar Pradesh'), (1429, 'Zamania', 'Uttar Pradesh'), (1430, 'Almora', 'Uttarakhand'), (1431, 'Bazpur', 'Uttarakhand'), (1432, 'Chamba', 'Uttarakhand'), (1433, 'Dehradun', 'Uttarakhand'), (1434, 'Haldwani', 'Uttarakhand'), (1435, 'Haridwar', 'Uttarakhand'), (1436, 'Jaspur', 'Uttarakhand'), (1437, 'Kashipur', 'Uttarakhand'), (1438, 'kichha', 'Uttarakhand'), (1439, 'Kotdwara', 'Uttarakhand'), (1440, 'Manglaur', 'Uttarakhand'), (1441, 'Mussoorie', 'Uttarakhand'), (1442, 'Nagla', 'Uttarakhand'), (1443, 'Nainital', 'Uttarakhand'), (1444, 'Pauri', 'Uttarakhand'), (1445, 'Pithoragarh', 'Uttarakhand'), (1446, 'Ramnagar', 'Uttarakhand'), (1447, 'Rishikesh', 'Uttarakhand'), (1448, 'Roorkee', 'Uttarakhand'), (1449, 'Rudrapur', 'Uttarakhand'), (1450, 'Sitarganj', 'Uttarakhand'), (1451, 'Tehri', 'Uttarakhand'), (1452, 'Muzaffarnagar', 'Uttar Pradesh'), (1454, 'Alipurduar', 'West Bengal'), (1455, 'Arambagh', 'West Bengal'), (1456, 'Asansol', 'West Bengal'), (1457, 'Baharampur', 'West Bengal'), (1458, 'Bally', 'West Bengal'), (1459, 'Balurghat', 'West Bengal'), (1460, 'Bankura', 'West Bengal'), (1461, 'Barakar', 'West Bengal'), (1462, 'Barasat', 'West Bengal'), (1463, 'Bardhaman', 'West Bengal'), (1464, 'Bidhan Nagar', 'West Bengal'), (1465, 'Chinsura', 'West Bengal'), (1466, 'Contai', 'West Bengal'), (1467, 'Cooch Behar', 'West Bengal'), (1468, 'Darjeeling', 'West Bengal'), (1469, 'Durgapur', 'West Bengal'), (1470, 'Haldia', 'West Bengal'), (1471, 'Howrah', 'West Bengal'), (1472, 'Islampur', 'West Bengal'), (1473, 'Jhargram', 'West Bengal'), (1474, 'Kharagpur', 'West Bengal'), (1475, 'Kolkata', 'West Bengal'), (1476, 'Mainaguri', 'West Bengal'), (1477, 'Mal', 'West Bengal'), (1478, 'Mathabhanga', 'West Bengal'), (1479, 'Medinipur', 'West Bengal'), (1480, 'Memari', 'West Bengal'), (1481, 'Monoharpur', 'West Bengal'), (1482, 'Murshidabad', 'West Bengal'), (1483, 'Nabadwip', 'West Bengal'), (1484, 'Naihati', 'West Bengal'), (1485, 'Panchla', 'West Bengal'), (1486, 'Pandua', 'West Bengal'), (1487, 'Paschim Punropara', 'West Bengal'), (1488, 'Purulia', 'West Bengal'), (1489, 'Raghunathpur', 'West Bengal'), (1490, 'Raiganj', 'West Bengal'), (1491, 'Rampurhat', 'West Bengal'), (1492, 'Ranaghat', 'West Bengal'), (1493, 'Sainthia', 'West Bengal'), (1494, 'Santipur', 'West Bengal'), (1495, 'Siliguri', 'West Bengal'), (1496, 'Sonamukhi', 'West Bengal'), (1497, 'Srirampore', 'West Bengal'), (1498, 'Suri', 'West Bengal'), (1499, 'Taki', 'West Bengal'), (1500, 'Tamluk', 'West Bengal'), (1501, 'Tarakeswar', 'West Bengal'), (1502, 'Chikmagalur', 'Karnataka'), (1503, 'Davanagere', 'Karnataka'), (1504, 'Dharwad', 'Karnataka'), (1505, 'Gadag', 'Karnataka'), (1506, 'Chennai', 'Tamil Nadu'), (1507, 'Coimbatore', 'Tamil Nadu'), (1624, 'New Delhi', 'Delhi'), (1625, 'North Delhi', 'Delhi'), (1626, 'North West Delhi', 'Delhi'), (1627, 'West Delhi', 'Delhi'), (1628, 'South West Delhi', 'Delhi'), (1629, 'South Delhi', 'Delhi'), (1630, 'South East Delhi', 'Delhi'), (1631, 'Central Delhi', 'Delhi'), (1632, 'North East Delhi', 'Delhi'), (1633, 'Shahdara', 'Delhi'), (1634, 'East Delhi', 'Delhi'), (1638, 'Hyderabad', 'Telangana'); -- -------------------------------------------------------- -- -- Table structure for table `clinic_service` -- CREATE TABLE `clinic_service` ( `service_id` int(11) NOT NULL, `service_name` varchar(255) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `clinic_service` -- INSERT INTO `clinic_service` (`service_id`, `service_name`) VALUES (2, 'Fertility Clinics'), (3, 'Sperm / Cryo Banks'), (4, 'Fertility Support'), (5, 'Natural Fertility'), (6, 'Legal Services'), (7, 'Parenting Options'), (8, 'Health Screening'), (9, 'Counselling & Support'), (10, 'Complimentary / Holistic Therapy'), (11, 'Fertility and Baby Products'), (12, 'Baby and Breastfeeding Services'), (13, 'Baby and Parenting Groups'), (14, 'Childcare / Education'); -- -------------------------------------------------------- -- -- Table structure for table `country` -- CREATE TABLE `country` ( `id` int(11) NOT NULL, `country_code` varchar(2) NOT NULL DEFAULT '', `country_name` varchar(100) NOT NULL DEFAULT '' ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Dumping data for table `country` -- INSERT INTO `country` (`id`, `country_code`, `country_name`) VALUES (1, 'AF', 'Afghanistan'), (2, 'AL', 'Albania'), (3, 'DZ', 'Algeria'), (4, 'DS', 'American Samoa'), (5, 'AD', 'Andorra'), (6, 'AO', 'Angola'), (7, 'AI', 'Anguilla'), (8, 'AQ', 'Antarctica'), (9, 'AG', 'Antigua and Barbuda'), (10, 'AR', 'Argentina'), (11, 'AM', 'Armenia'), (12, 'AW', 'Aruba'), (13, 'AU', 'Australia'), (14, 'AT', 'Austria'), (15, 'AZ', 'Azerbaijan'), (16, 'BS', 'Bahamas'), (17, 'BH', 'Bahrain'), (18, 'BD', 'Bangladesh'), (19, 'BB', 'Barbados'), (20, 'BY', 'Belarus'), (21, 'BE', 'Belgium'), (22, 'BZ', 'Belize'), (23, 'BJ', 'Benin'), (24, 'BM', 'Bermuda'), (25, 'BT', 'Bhutan'), (26, 'BO', 'Bolivia'), (27, 'BA', 'Bosnia and Herzegovina'), (28, 'BW', 'Botswana'), (29, 'BV', 'Bouvet Island'), (30, 'BR', 'Brazil'), (31, 'IO', 'British Indian Ocean Territory'), (32, 'BN', 'Brunei Darussalam'), (33, 'BG', 'Bulgaria'), (34, 'BF', 'Burkina Faso'), (35, 'BI', 'Burundi'), (36, 'KH', 'Cambodia'), (37, 'CM', 'Cameroon'), (38, 'CA', 'Canada'), (39, 'CV', 'Cape Verde'), (40, 'KY', 'Cayman Islands'), (41, 'CF', 'Central African Republic'), (42, 'TD', 'Chad'), (43, 'CL', 'Chile'), (44, 'CN', 'China'), (45, 'CX', 'Christmas Island'), (46, 'CC', 'Cocos (Keeling) Islands'), (47, 'CO', 'Colombia'), (48, 'KM', 'Comoros'), (49, 'CG', 'Congo'), (50, 'CK', 'Cook Islands'), (51, 'CR', 'Costa Rica'), (52, 'HR', 'Croatia (Hrvatska)'), (53, 'CU', 'Cuba'), (54, 'CY', 'Cyprus'), (55, 'CZ', 'Czech Republic'), (56, 'DK', 'Denmark'), (57, 'DJ', 'Djibouti'), (58, 'DM', 'Dominica'), (59, 'DO', 'Dominican Republic'), (60, 'TP', 'East Timor'), (61, 'EC', 'Ecuador'), (62, 'EG', 'Egypt'), (63, 'SV', 'El Salvador'), (64, 'GQ', 'Equatorial Guinea'), (65, 'ER', 'Eritrea'), (66, 'EE', 'Estonia'), (67, 'ET', 'Ethiopia'), (68, 'FK', 'Falkland Islands (Malvinas)'), (69, 'FO', 'Faroe Islands'), (70, 'FJ', 'Fiji'), (71, 'FI', 'Finland'), (72, 'FR', 'France'), (73, 'FX', 'France, Metropolitan'), (74, 'GF', 'French Guiana'), (75, 'PF', 'French Polynesia'), (76, 'TF', 'French Southern Territories'), (77, 'GA', 'Gabon'), (78, 'GM', 'Gambia'), (79, 'GE', 'Georgia'), (80, 'DE', 'Germany'), (81, 'GH', 'Ghana'), (82, 'GI', 'Gibraltar'), (83, 'GK', 'Guernsey'), (84, 'GR', 'Greece'), (85, 'GL', 'Greenland'), (86, 'GD', 'Grenada'), (87, 'GP', 'Guadeloupe'), (88, 'GU', 'Guam'), (89, 'GT', 'Guatemala'), (90, 'GN', 'Guinea'), (91, 'GW', 'Guinea-Bissau'), (92, 'GY', 'Guyana'), (93, 'HT', 'Haiti'), (94, 'HM', 'Heard and Mc Donald Islands'), (95, 'HN', 'Honduras'), (96, 'HK', 'Hong Kong'), (97, 'HU', 'Hungary'), (98, 'IS', 'Iceland'), (99, 'IN', 'India'), (100, 'IM', 'Isle of Man'), (101, 'ID', 'Indonesia'), (102, 'IR', 'Iran (Islamic Republic of)'), (103, 'IQ', 'Iraq'), (104, 'IE', 'Ireland'), (105, 'IL', 'Israel'), (106, 'IT', 'Italy'), (107, 'CI', 'Ivory Coast'), (108, 'JE', 'Jersey'), (109, 'JM', 'Jamaica'), (110, 'JP', 'Japan'), (111, 'JO', 'Jordan'), (112, 'KZ', 'Kazakhstan'), (113, 'KE', 'Kenya'), (114, 'KI', 'Kiribati'), (115, 'KP', 'Korea, Democratic People\'s Republic of'), (116, 'KR', 'Korea, Republic of'), (117, 'XK', 'Kosovo'), (118, 'KW', 'Kuwait'), (119, 'KG', 'Kyrgyzstan'), (120, 'LA', 'Lao People\'s Democratic Republic'), (121, 'LV', 'Latvia'), (122, 'LB', 'Lebanon'), (123, 'LS', 'Lesotho'), (124, 'LR', 'Liberia'), (125, 'LY', 'Libyan Arab Jamahiriya'), (126, 'LI', 'Liechtenstein'), (127, 'LT', 'Lithuania'), (128, 'LU', 'Luxembourg'), (129, 'MO', 'Macau'), (130, 'MK', 'Macedonia'), (131, 'MG', 'Madagascar'), (132, 'MW', 'Malawi'), (133, 'MY', 'Malaysia'), (134, 'MV', 'Maldives'), (135, 'ML', 'Mali'), (136, 'MT', 'Malta'), (137, 'MH', 'Marshall Islands'), (138, 'MQ', 'Martinique'), (139, 'MR', 'Mauritania'), (140, 'MU', 'Mauritius'), (141, 'TY', 'Mayotte'), (142, 'MX', 'Mexico'), (143, 'FM', 'Micronesia, Federated States of'), (144, 'MD', 'Moldova, Republic of'), (145, 'MC', 'Monaco'), (146, 'MN', 'Mongolia'), (147, 'ME', 'Montenegro'), (148, 'MS', 'Montserrat'), (149, 'MA', 'Morocco'), (150, 'MZ', 'Mozambique'), (151, 'MM', 'Myanmar'), (152, 'NA', 'Namibia'), (153, 'NR', 'Nauru'), (154, 'NP', 'Nepal'), (155, 'NL', 'Netherlands'), (156, 'AN', 'Netherlands Antilles'), (157, 'NC', 'New Caledonia'), (158, 'NZ', 'New Zealand'), (159, 'NI', 'Nicaragua'), (160, 'NE', 'Niger'), (161, 'NG', 'Nigeria'), (162, 'NU', 'Niue'), (163, 'NF', 'Norfolk Island'), (164, 'MP', 'Northern Mariana Islands'), (165, 'NO', 'Norway'), (166, 'OM', 'Oman'), (167, 'PK', 'Pakistan'), (168, 'PW', 'Palau'), (169, 'PS', 'Palestine'), (170, 'PA', 'Panama'), (171, 'PG', 'Papua New Guinea'), (172, 'PY', 'Paraguay'), (173, 'PE', 'Peru'), (174, 'PH', 'Philippines'), (175, 'PN', 'Pitcairn'), (176, 'PL', 'Poland'), (177, 'PT', 'Portugal'), (178, 'PR', 'Puerto Rico'), (179, 'QA', 'Qatar'), (180, 'RE', 'Reunion'), (181, 'RO', 'Romania'), (182, 'RU', 'Russian Federation'), (183, 'RW', 'Rwanda'), (184, 'KN', 'Saint Kitts and Nevis'), (185, 'LC', 'Saint Lucia'), (186, 'VC', 'Saint Vincent and the Grenadines'), (187, 'WS', 'Samoa'), (188, 'SM', 'San Marino'), (189, 'ST', 'Sao Tome and Principe'), (190, 'SA', 'Saudi Arabia'), (191, 'SN', 'Senegal'), (192, 'RS', 'Serbia'), (193, 'SC', 'Seychelles'), (194, 'SL', 'Sierra Leone'), (195, 'SG', 'Singapore'), (196, 'SK', 'Slovakia'), (197, 'SI', 'Slovenia'), (198, 'SB', 'Solomon Islands'), (199, 'SO', 'Somalia'), (200, 'ZA', 'South Africa'), (201, 'GS', 'South Georgia South Sandwich Islands'), (202, 'ES', 'Spain'), (203, 'LK', 'Sri Lanka'), (204, 'SH', 'St. Helena'), (205, 'PM', 'St. Pierre and Miquelon'), (206, 'SD', 'Sudan'), (207, 'SR', 'Suriname'), (208, 'SJ', 'Svalbard and Jan Mayen Islands'), (209, 'SZ', 'Swaziland'), (210, 'SE', 'Sweden'), (211, 'CH', 'Switzerland'), (212, 'SY', 'Syrian Arab Republic'), (213, 'TW', 'Taiwan'), (214, 'TJ', 'Tajikistan'), (215, 'TZ', 'Tanzania, United Republic of'), (216, 'TH', 'Thailand'), (217, 'TG', 'Togo'), (218, 'TK', 'Tokelau'), (219, 'TO', 'Tonga'), (220, 'TT', 'Trinidad and Tobago'), (221, 'TN', 'Tunisia'), (222, 'TR', 'Turkey'), (223, 'TM', 'Turkmenistan'), (224, 'TC', 'Turks and Caicos Islands'), (225, 'TV', 'Tuvalu'), (226, 'UG', 'Uganda'), (227, 'UA', 'Ukraine'), (228, 'AE', 'United Arab Emirates'), (229, 'GB', 'United Kingdom'), (230, 'US', 'United States'), (231, 'UM', 'United States minor outlying islands'), (232, 'UY', 'Uruguay'), (233, 'UZ', 'Uzbekistan'), (234, 'VU', 'Vanuatu'), (235, 'VA', 'Vatican City State'), (236, 'VE', 'Venezuela'), (237, 'VN', 'Vietnam'), (238, 'VG', 'Virgin Islands (British)'), (239, 'VI', 'Virgin Islands (U.S.)'), (240, 'WF', 'Wallis and Futuna Islands'), (241, 'EH', 'Western Sahara'), (242, 'YE', 'Yemen'), (243, 'ZR', 'Zaire'), (244, 'ZM', 'Zambia'), (245, 'ZW', 'Zimbabwe'); -- -------------------------------------------------------- -- -- Table structure for table `height` -- CREATE TABLE `height` ( `height_id` int(11) NOT NULL, `height_cm` varchar(20) NOT NULL, `height_inch` varchar(20) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `height` -- INSERT INTO `height` (`height_id`, `height_cm`, `height_inch`) VALUES (1, '<4\'6\"', '<138cm'), (2, '4\'7\"', '140cm'), (4, '4\'8\"', '142cm'), (5, '4\'9\"', '144cm'), (6, '4\'10\"', '147cm'), (7, '4\'11\"', '150cm'), (8, '5\'', '152cm'), (9, '5\'1\"', '155cm'), (10, '5\'2\"', '158cm'), (11, '5\'3\"', '160cm'), (12, '5\'4\"', '162cm'), (13, '5\'5\"', '165cm'), (14, '5\'6\"', '168cm'), (15, '5\'7\"', '170cm'), (16, '5\'8\"', '173cm'), (17, '5\'9\"', '175cm'), (18, '5\'10\"', '178cm'), (19, '5\'11\"', '180cm'), (20, '6\'', '183cm'), (21, '6\'1\"', '186cm'), (22, '6\'2\"', '188cm'), (23, '6\'3\"', '191cm'), (24, '6\'4\"', '193cm'), (25, '6\'5\"', '196cm'), (26, '6\'6\"', '198cm'), (27, '6\'7\"', '201cm'), (28, '>6\'8\"', '>203cm'); -- -------------------------------------------------------- -- -- Table structure for table `menu` -- CREATE TABLE `menu` ( `menu_id` int(11) NOT NULL, `menu_name` varchar(255) NOT NULL, `menu_slug` varchar(255) NOT NULL, `menu_content` text NOT NULL, `menu_title` text NOT NULL, `menu_keyword` text NOT NULL, `menu_description` text NOT NULL, `menu_order` int(11) NOT NULL, `menu_top` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `menu` -- INSERT INTO `menu` (`menu_id`, `menu_name`, `menu_slug`, `menu_content`, `menu_title`, `menu_keyword`, `menu_description`, `menu_order`, `menu_top`) VALUES (3, 'About WishABaby', 'about-wishababy', '<p>Lorem ipsum dolor sit amet, ne legendos assueverit has, graecis complectitur ne vel. At pri partiendo vituperata. Ius deserunt signiferumque no, pri vitae accusata in. Incorrupte scripserit vel eu, modus simul legimus usu ut,<img alt=\"\" src=\"/pride/ckeditor/kcfinder/upload/images/banner.jpg\" style=\"height:67px; width:100px\" /> has an omnes cotidieque.</p>\r\n\r\n<p>Harum tantas perpetua te usu, est eu novum pertinax. At sea eirmod iuvaret. Usu eu dolorem suscipit, et sit everti maiestatis comprehensam, mucius partiendo has eu. Ut nostrud nonumes consulatu eam, ei atqui patrioque sea. Nisl case tollit in vel, soleat tritani salutandi per in.</p>\r\n\r\n<p>Sea dolor debitis detracto an, qui accusata qualisque ut, ludus insolens et mel. Eu est sale magna facete, mei in fabellas intellegat, vis an illum nostrud sensibus. Commodo tamquam ex sea, no mel errem quodsi assueverit. Vix solet possim ne, ne vix probo labitur qualisque.</p>\r\n\r\n<p>Pri eu voluptua officiis antiopam, nulla diceret percipitur vim cu. Summo electram ut usu, duo elitr complectitur an. Dicant melius facilisi ius ei, in sit nominavi inciderint. An summo ancillae fastidii mea, ex interesset repudiandae eum. Mel nostrud contentiones signiferumque et, quot dolores et sea. Per explicari necessitatibus et, facete meliore recusabo sed eu.</p>\r\n\r\n<p>Vim fugit clita insolens ad, has te aeterno adipisci adolescens. Ea sit everti electram, no vero mutat possim mel. Sed no audiam reprehendunt, at mea quem esse, an vidit quidam sit. Ad mel probatus inciderint deterruisset, accumsan splendide voluptatum mei ad.</p>\r\n', 'Why wish a baby ', 'Why wish a baby Why wish a baby Why wish a baby Why wish a baby ', 'Why wish a baby Why wish a baby Why wish a baby Why wish a baby Why wish a baby ', 1, 1), (6, 'Information Desk', 'information-desk', '<p>Lorem ipsum dolor sit amet, ne legendos assueverit has, graecis complectitur ne vel. At pri partiendo vituperata. Ius deserunt signiferumque no, p<img alt=\"\" src=\"/pride/ckeditor/kcfinder/upload/images/banner.jpg\" style=\"height:200px; width:300px\" />ri vitae accusata in.</p>\r\n\r\n<p>Incorrupte scripserit vel eu, modus simul legimus usu ut, has an omnes cotidieque.</p>\r\n\r\n<p>Harum tantas perpetua te usu, est eu novum pertinax. At sea eirmod iuvaret. Usu eu dolorem suscipit, et sit everti maiestatis comprehensam, mucius partiendo has eu. Ut nostrud nonumes consulatu eam, ei atqui patrioque sea. Nisl case tollit in vel, soleat tritani salutandi per in.</p>\r\n\r\n<p>Sea dolor debitis detracto an, qui accusata qualisque ut, ludus insolens et mel. Eu est sale magna facete, mei in fabellas intellegat, vis an illum nostrud sensibus. Commodo tamquam ex sea, no mel errem quodsi assueverit. Vix solet possim ne, ne vix probo labitur qualisque.</p>\r\n\r\n<p>Pri eu voluptua officiis antiopam, nulla diceret percipitur vim cu. Summo electram ut usu, duo elitr complectitur an. Dicant melius facilisi ius ei, in sit nominavi inciderint. An summo ancillae fastidii mea, ex interesset repudiandae eum. Mel nostrud contentiones signiferumque et, quot dolores et sea. Per explicari necessitatibus et, facete meliore recusabo sed eu.</p>\r\n\r\n<p>Vim fugit clita insolens ad, has te aeterno adipisci adolescens. Ea sit everti electram, no vero mutat possim mel. Sed no audiam reprehendunt, at mea quem esse, an vidit quidam sit. Ad mel probatus inciderint deterruisset, accumsan splendide voluptatum mei ad.</p>\r\n', 'Why wish a baby ', 'Why wish a baby Why wish a baby Why wish a baby Why wish a baby ', 'Why wish a baby Why wish a baby Why wish a baby Why wish a baby Why wish a baby ', 3, 1), (9, 'Patient Wellness', 'patient-wellness-1', '<p><strong>Patient Wellness</strong></p>\r\n', 'Patient Wellness', 'Patient Wellness', 'Patient Wellness', 2, 1), (10, 'Clinics and Services', 'clinics-and-services', '<p><strong>Fertility Clinics</strong></p>\r\n', 'Fertility Clinics', 'Fertility Clinics', 'Fertility Clinics', 3, 0), (11, 'Pregnancy', 'pregnancy', '<p><strong>Pregnancy</strong></p>\r\n', 'Pregnancy', 'Pregnancy', 'Pregnancy', 1, 0), (12, 'Parenting', 'parenting', '<p><strong>Life Post Delivery</strong></p>\r\n', 'Life Post Delivery', 'Life Post Delivery', 'Life Post Delivery', 2, 0); -- -------------------------------------------------------- -- -- Table structure for table `message` -- CREATE TABLE `message` ( `message_id` int(11) NOT NULL, `message_body` text NOT NULL, `message_sender_id` int(11) NOT NULL, `message_rx_id` int(11) NOT NULL, `message_seen` int(11) NOT NULL, `message_inbox_del` int(11) NOT NULL, `message_outbox_del` int(11) NOT NULL, `message_add_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `message` -- INSERT INTO `message` (`message_id`, `message_body`, `message_sender_id`, `message_rx_id`, `message_seen`, `message_inbox_del`, `message_outbox_del`, `message_add_time`) VALUES (1, 'hey howz u?\r\n can we talk', 7, 6, 0, 0, 0, '2017-09-28 20:44:10'), (2, 'hey howz u?\r\n can we talk', 7, 6, 0, 0, 0, '2017-09-28 20:44:13'), (3, 'hello brother', 7, 6, 0, 0, 0, '2017-10-01 17:18:24'), (4, 'hello brother', 6, 7, 0, 0, 0, '2017-10-01 17:29:16'), (5, 'hello brother', 6, 7, 0, 0, 0, '2017-10-01 17:17:17'); -- -------------------------------------------------------- -- -- Table structure for table `nestedmenu` -- CREATE TABLE `nestedmenu` ( `nest_id` int(11) NOT NULL, `nest_name` text NOT NULL, `nest_slug` text NOT NULL, `nest_submenu_id` int(11) NOT NULL, `nest_content` text NOT NULL, `nest_title` varchar(255) NOT NULL, `nest_keyword` text NOT NULL, `nest_description` text NOT NULL, `nest_order` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `nestedmenu` -- INSERT INTO `nestedmenu` (`nest_id`, `nest_name`, `nest_slug`, `nest_submenu_id`, `nest_content`, `nest_title`, `nest_keyword`, `nest_description`, `nest_order`) VALUES (1, 'The Connection between Natural Health & Fertility', 'the-connection-between-natural-health-fertility', 69, '<p dir=\"ltr\" style=\"text-align:center\"><strong><span style=\"font-size:36px\">The Connection between Natural Health &amp; Fertility</span></strong><br />\r\n&nbsp;</p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\">Whenever it comes to healthy pregnancy, natural health spontaneously takes the prime role. Whatever be your choice of the method to conceive a baby, whether natural or through IVF, it is important that your own body is in a fit state to happily and healthily bear the load in the womb. Moreover, the chances of conceiving are always higher when you are perfectly hale and hearty.</p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\">A few steps to consider, and you can very well be on the right track to natural health, and hopefully natural conception.</p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Take Good Care of Your Health</strong></span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\">The foremost task towards getting any fertility procedure get going is to ensure good health, at least in the 4 months prior to getting pregnant. Why so? As during these four months, whatever you eat, you do, will eventually add up to your body cells and fluids, which will nurture your egg/sperms, as well as prepare your womb to be strong enough to hold a baby for 9 months.</p>\r\n\r\n<p style=\"text-align:justify\">&nbsp;</p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\">Hence, do take good care of your diet and nutrition, and make sure that whatever you eat does provide the much needed strength to your digestive system. For this, besides focusing on healthy diet, you should also consider including the below in your daily grub:</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><strong>Folic Acid</strong>: This is the first thing you should start taking up as soon as you finalize your decision to conceive. You should ideally begin with folic acid supplements in your planning phase itself and should continue with the same during the entire pregnancy period. But yes, do consult a registered medical practitioner for the proper dosage before starting off with anything.</p>\r\n </li>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\">Include <strong>Probiotics </strong>as an important component of your daily diet. You&rsquo;ll easily find many good ones in the market these days. They help improve digestion, build your intestinal health, and serve to boost the immunity of your body to a fairly good level.</p>\r\n </li>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\">Absorb a lot of sunlight as well, and take a minimum dose of 5000 IU of <strong>Vitamin D</strong>. It is important for bone health, serves many key roles in our biological system, and works towards improving the general overall health, and thereby fertility.</p>\r\n </li>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\">Add up on <strong>Protein and Calcium</strong> rich foods. Do include dairy products, juices, and whole fruits to get the daily dose of<strong> Vitamin C, Antioxidants, and Beta Carotene</strong>.</p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\">Remember, fertility treatment can only be successful on a healthy body. So try and stay fit from your end, and you may naturally restore your fertility without needing any external treatment at all.</p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Avoid the Bad</strong></span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\">Make it a point to avoid or at least limit the consumption of the following if you really care about the natural health and fertility of your body:</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\">Junk food</p>\r\n </li>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\">Smoking and Drinking</p>\r\n </li>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\">Caffeine (Should be consumed within limits, while do say a complete NO to black coffee)</p>\r\n </li>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\">Exposure to harmful chemicals, allergic products, intense pollution or other such toxic chemicals.</p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Check and Get Treated for Health Issues</strong></span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\">Keep an eye on below health concerns, and in case you find yourself engulfed by any of them, it&rsquo;s time to get yourself treated.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\">Constipation</p>\r\n </li>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\">Excessive Wind Passage</p>\r\n </li>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\">Diarrhoea</p>\r\n </li>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\">Bloating</p>\r\n </li>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\">Weak Digestion</p>\r\n </li>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\">Bowel Disorders</p>\r\n </li>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\">Gastrointestinal Problems</p>\r\n </li>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\">Any kind of Abdominal Pain</p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\">A weak digestive system is clearly indicative of weak health, which is primarily because of poor absorption of nutrients from the diet that you take. Here, even if you eat the most nutritious food, your body won&rsquo;t gain anything. Hence, the best way out is to strike off these conditions with the help of a medical expert and work towards optimising your digestive health. Only then will your body be counted healthy and will be all set to conceive a healthy baby.</p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Watch Your Weight</strong></span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\">Pregnancy is almost always associated with body weight. For a healthy pregnancy, it is important that you are neither overweight, nor underweight. While being overweight during pregnancy poses you to the risks of acquiring Diabetes and Hypertension, being underweight elevates the risk of Pre-term Delivery. Right weight is what you need to let the baby grow to a healthy size and also to keep yourself, as well as the baby, free from any health concerns.</p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\">The standard recommendation for the weight gain during the entire period of pregnancy is 25 &ndash; 35 pounds, where 1-4 pounds should be the total weight gain in the first trimester, while 2-4 pounds should be the ideal weight gain each month from the fourth month until delivery.</p>\r\n\r\n<p style=\"text-align:justify\">&nbsp;</p>\r\n', 'The Connection between Natural Health & Fertility', 'The Connection between Natural Health & Fertility', 'The Connection between Natural Health & Fertility', 0), (2, 'Boost Fertility Naturally', 'boost-fertility-naturally', 69, '<p dir=\"ltr\" style=\"text-align:center\"><strong><span style=\"font-size:36px\">How to Boost Fertility Naturally?</span></strong></p> <p dir=\"ltr\" style=\"text-align:justify\">Yes! Boosting fertility naturally is absolutely possible. And no, we are not boasting about it; science has proven it already. Except for some critical cases like sperm disorders or blocked Fallopian tubes, people have succeeded conceiving naturally in the healthiest possible way by simply introducing some diet and lifestyle changes.</p> <p dir=\"ltr\" style=\"text-align:justify\">Hence, if you have been trying to conceive for quite a while now, and aren&rsquo;t yet able to attain success, it&rsquo;s time you bring changes to your daily regime and see the magic happening.</p> <ul> <li dir=\"ltr\"> <p dir=\"ltr\" style=\"text-align:justify\"><strong>Balanced Diet is the Key</strong>: A nutritious diet, sans junk food, eaten on time is the topmost thing. Only a healthy body can conceive a healthy baby. Consult our network of experts who will help you plan a diet chart as per your Body Mass Index (BMI). A good diet goes a long way in helping you be a parent. Studies show that having an unhealthy meal due to the stressful work lifestyle tend to stoop couples from being parents. So why not just change the eating habits a bit, if that is all it takes to move you closer to the biggest joy of your life? Think about it and act wisely!</p> </li> <li dir=\"ltr\"> <p dir=\"ltr\" style=\"text-align:justify\"><strong>Quit Smoking</strong>: While smoking is among the top reasons for an early menopause and distrusted menstrual cycle in women, it has been also recognized as the prime cause for unhealthy sperms and falling of the sperm count in men. It also reduces the chances of successful fertility treatments. Don&rsquo;t you think it&rsquo;s better to do away with smoking, rather than suffocating yourself for not being able to have a baby?</p> </li> <li dir=\"ltr\"> <p dir=\"ltr\" style=\"text-align:justify\"><strong>Stop Binge Drinking</strong>: Women trying to conceive must not take alcohol at all. Men should only hold a single unit per day with sips to oblige the boss at a meeting if really need be. But as your well-wishers and also as guided by the fertility experts, we are totally against Smoking and Drinking if you are really looking forward to having a healthy baby.</p> <ul> <li> <p dir=\"ltr\" style=\"text-align:justify\"><strong>Exercise Regularly:</strong> Devote just 30 minutes for moderate exercise and your body will surely thank you! Couples with obesity face a lot of problems in getting pregnant. For them, weight reduction, healthy food, and regular exercise are a must. Obesity is even known to hamper fertility treatments. Why take the risk then? It&rsquo;s better to shred the extra pounds instead.</p> </li> </ul> </li> <li style=\"text-align: justify;\"><strong>Stress Management</strong>: Remember the golden rule: You are here to live a life, neither to win a race nor hail war victory! So give yourself the much needed time to relax mentally and physically. Take life as it comes. Excessive stress at times does not let you conceive even if your health screening results show everything fine.</li> </ul>', 'Boost Fertility Naturally', 'Boost Fertility Naturally', 'Boost Fertility Naturally', 0), (3, 'Detox & Fertility', 'detox-fertility', 69, '<p dir=\"ltr\" style=\"text-align:center\"><span style=\"font-size:36px\"><strong>Detox &amp; Fertility</strong></span></p> <p dir=\"ltr\" style=\"text-align:justify\">The first and foremost thing that plays an active role in improving your chances of conception is a Healthy Body. A natural way to keep your body healthy, which is, in fact, been relied upon and followed by Japanese, Americans, and Egyptians for thousands of years, and is swiftly gaining recognition in India, is Detoxification.</p> <p dir=\"ltr\" style=\"text-align:justify\">Detox in the simplest possible terms means clearing the body off toxins. And no, by toxins we do not mean any poisons in particular, but it means excessive stress, extra fat, extra minerals, or simply the faecal matter, which if in any form happen to stay in the body, not only harms your well-being but also leads to infertility and even miscarriages.</p> <p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Is There Really A Need to Detoxify?</strong></span></p> <p dir=\"ltr\" style=\"text-align:justify\">YES! In the modern world, we can&#39;t confine ourselves to a place free of toxins. Even if you stay away from any mental stress, or stick to only healthy food, you can&rsquo;t help but breathe the air that is full of pollutants. Besides, our daily life exposes us to so much of chemicals and stress that finding ourselves engulfed with one or the other health issues above must not be surprising. As such, what becomes important to restore the natural health is to regularly detox our body, which should be given due consideration before the body becomes impaired and loses its efficiency.</p> <p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Who Ideally Needs to Detox?</strong></span></p> <p dir=\"ltr\" style=\"text-align:justify\">Detox is a good thing to adopt. There is no harm in detoxifying your body. And, hence, ideally, detox should be for everyone who looks forward to good health and good life. However, it is especially important for those who suffer from any of the following:</p> <p dir=\"ltr\" style=\"text-align:justify\">- Infertility Issues</p> <p dir=\"ltr\" style=\"text-align:justify\">- Irregular Menstruation</p> <p dir=\"ltr\" style=\"text-align:justify\">- Premenstrual Syndrome/Polycystic Ovaries Syndrome (PCOs)</p> <p dir=\"ltr\" style=\"text-align:justify\">- Endometriosis</p> <p dir=\"ltr\" style=\"text-align:justify\">- Digestion Problems</p> <p dir=\"ltr\" style=\"text-align:justify\">- Depression/Stress</p> <p dir=\"ltr\" style=\"text-align:justify\">- Headaches/Migraines/Lethargy</p> <p dir=\"ltr\" style=\"text-align:justify\">- Dermal Issues</p> <p dir=\"ltr\" style=\"text-align:justify\">- Allergies</p> <p dir=\"ltr\" style=\"text-align:justify\">The list may go even longer. But, if you see, in a nutshell, regular detoxification is beneficial for everyone. And, the best part is that you need not follow any exhausting diet chart or tiring exercise regimen to detoxify. You can detox your body with something as simple as lemon water, a few specific herbs, dry brushing, or massage.</p> <p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>IVF &amp; Detox</strong></span></p> <p dir=\"ltr\" style=\"text-align:justify\">Detox has been proven to be helpful in improving the chances of conception. Hence, if you are planning to conceive or even have plans to undergo IVF treatment, it is advisable that you start with detoxification of your body from at least 2 months before. It will help optimise your health and will further enhance your chances of successful conception. It will also prepare your body to hold the baby for the long period of nine months. Not only this but detoxifying your body, prior to conceiving, also ensures that your baby will be free of birth defects that may arise owing to the toxins and excessive hormones present in the body.</p> <p dir=\"ltr\" style=\"text-align:justify\">However, do remember to avoid detoxification of your body if you are already pregnant or are breastfeeding. The reason is to keep your baby away from your body&rsquo;s toxins, which do circulate in the body before they are removed out of the body.</p>', 'Detox & Fertility', 'Detox & Fertility', 'Detox & Fertility', 0), (4, 'Diet Nutrition Guidelines', 'diet-nutrition-guidelines', 30, '<p style=\"margin-left:0in; margin-right:0in; text-align:center\"><span style=\"font-size:26px\"><strong><span style=\"font-family:&quot;Calibri Light&quot;,sans-serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\">Diet Nutrition Guidelines</span></span></strong></span></p>\r\n\r\n<ul>\r\n <li style=\"margin-left: 0in; margin-right: 0in; text-align: justify;\"><strong><span style=\"font-size:16px\"><span style=\"font-family:&quot;Calibri Light&quot;,sans-serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\">Drink Lots of Clean Water</span></span></span></span></span></span></strong></li>\r\n</ul>\r\n\r\n<p style=\"margin-left:40px; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\">See to it that you drink a lot of filtered/ RO-purified water, which must be at least half your body weight in ounces. Avoid consuming bottled water as some plastics contribute to body toxins. Do not worry about excessive urination which is an early sign of pregnancy. Remember urine flushes out body toxins with it. Thus, water is as essential as other nutrients for the body.</span></span></span></span></p>\r\n\r\n<ul>\r\n <li style=\"text-align: justify;\"><span style=\"font-size:16px\"><strong><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\">Increase your Intake ofHigh Fibre Foods</span></span></span></strong></span></li>\r\n</ul>\r\n\r\n<p style=\"margin-left:40px; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\">Consume a lot of Fruits, vegetables, dark leafy greens and beans that have the right amount of fibre to strike a perfect hormonal balance in your body. Consume them along with each meal.</span></span></span></span></p>\r\n\r\n<ul>\r\n <li style=\"text-align: justify;\"><span style=\"font-size:16px\"><strong><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\">Shun Refined SugarsandFruit Juices</span></span></span></strong></span></li>\r\n</ul>\r\n\r\n<p style=\"margin-left:40px; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\">Refined sugar and packed fruit juices are a clear NO, NO. Whether before or during pregnancy, go for freshly churned out juices that are preservatives free. Also, replace white sugar in your kitchen with Jaggery or Honey.</span></span></span></span></p>\r\n\r\n<ul>\r\n <li style=\"text-align: justify;\"><span style=\"font-size:16px\"><strong><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\">Consume Organic Vegetables and Fruits</span></span></span></strong></span></li>\r\n</ul>\r\n\r\n<p style=\"margin-left:40px; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\">Organic vegetables and fruitsare unarguably a healthier option and have more nutritional value in comparison to the conventional produce which contains harmful herbicides and pesticides. And these chemicals are medically proven to have a negative effect on both male and female fertility.</span></span></span></span></p>\r\n\r\n<ul>\r\n <li style=\"text-align: justify;\"><span style=\"font-size:16px\"><strong><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\">Prefer Grass-fed, Whole fat, Raw Dairy Products</span></span></span></strong></span></li>\r\n</ul>\r\n\r\n<p style=\"margin-left:40px; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\">Organic, grass-fed, whole fat, raw dairy is the best choice of dairy sources since there are less chances of harmful products coming into your body via the food chain.</span></span></span></span></p>\r\n\r\n<ul>\r\n <li style=\"text-align: justify;\"><span style=\"font-size:16px\"><strong><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\">Prefer Eating Cold Water Fish</span></span></span></strong></span></li>\r\n</ul>\r\n\r\n<p style=\"margin-left:40px; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\">Fish contains essential fatty acids (omega 3) that promote hormonal production, reduce inflammation in the body during any infection, as well as help regulate the menstrual cycle. Cold water fish is also a great source of Vitamin A and proteins.</span></span></span></span></p>\r\n\r\n<ul>\r\n <li style=\"text-align: justify;\"><span style=\"font-size:16px\"><strong><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\">Consume Whole Grains as far as Possible</span></span></span></strong></span></li>\r\n</ul>\r\n\r\n<p style=\"margin-left:40px; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\">Whole grains are full of natural fibre and important vitamins that are essential to boost the immune system. These also help the body shun excessive hormones and maintain the right amount of bloodsugar. Avoid products like white bread, pastas, and white rice. Your platter instead can have whole wheat bread/pasta, sprouts, brown rice, etc.</span></span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\">&nbsp;</p>\r\n', 'Diet Nutrition Guidelines', 'Diet Nutrition Guidelines', 'Diet Nutrition Guidelines', 0), (5, 'Important Nutrients for Male & Female Fertility', 'important-nutrients-for-male-female-fertility', 30, '<p style=\"margin-left:0in; margin-right:0in; text-align:center\"><span style=\"font-size:26px\"><strong><span style=\"font-family:&quot;Calibri Light&quot;,sans-serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\">Important Nutrients for Male &amp; Female Fertility</span></span></strong></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\">There are some nutrients that have that have a direct impact on fertility. Below is a list of of foods where you can find them. But at WISH A BABY we suggest you follow this diet chart under an expert guidance after getting your physiological parameters assessed by a gynaecologist. Popping food that you may not need is as harmful as popping pills without expert guidance.</span></span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:20px\"><strong><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\">Micronutrients or Antioxidants, Vitamins &amp; Minerals</span></span></span></strong></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\">1. <strong>Vitamin D</strong>: Helps create the sex hormones in the body which regulate ovulation and sperm production thorough striking a hormonal balance.</span></span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\"><strong>Food sources</strong>: Eggs, fatty fish, dairy, and cod liver oil. But Sunlight is the best source; simply sitting in Sun for 15 to 20 minutes daily will replenish the need.</span></span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\">2. <strong>Vitamin E</strong> or &lsquo;Tocopherol&rsquo;</span></span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\">The name means &quot;to bear the young&quot;. Vitamin E is responsible for sperm health and motility since it is an important antioxidant for sperm protection from external body factors especially after it enters the female....as well as to ensure its egg DNA integrity.</span></span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\"><strong>Food sources</strong>: Sunflower seeds, almonds, olives, spinach, papaya, dark leafy greens.</span></span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\">3. <strong>CoQ10</strong>: This micronutrient is a must for energy production. It is a must for keeping the ovum (egg) and sperm in robust health health. CoQ10 is an antioxidant the protects cells from free radical damage thereby protecting the DNA against damage or unwanted mutation.</span></span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\"><strong>Food sources</strong>: Seafood and organic diet. Since these two are not easily available at all places thus doctors recommend CoQ10 Ubiquinol Supplements.</span></span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\">4. <strong>Vitamin C</strong>: It not only improves hormone levels in a female body but also is found to increase fertility in women facing luteal phase defect. Vitamin C in men improves the sperm quality as well as protects it from DNA damage. It also helps reduce chances of miscarriage &amp; chromosomal mutational issues.</span></span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\"><strong>Food sources</strong>: Citrus Fruits, red peppers, cabbage, potatoes, tomatoes,&nbsp; broccoli, and cranberries. But with women having Thyorid issues, consult your dietician before consuming members of the cauliflower and mustard family.&nbsp; </span></span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\">5. <strong>Lipoic Acid</strong>: Very important antioxidant which acts as immune shield towards female reproductive organs. In men it improves sperm quality and motility.</span></span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\"><strong>Food sources</strong>: Found in potatoes, spinach and red meat in small amounts. Doctors suggest supplements mostly.</span></span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\">6. <strong>Vitamin B6</strong>: Helps regulate blood sugar levels and alleviates PMS. known to relieve symptoms of morning sickness. B6 is a great help in women with Luteal Phase Defect.</span></span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\"><strong>Food sources</strong>: Tuna, banana, turkey, liver, salmon, cod, cauliflower, mustard greens, celery, cabbage, asparagus, broccoli, kale, Brussels sprouts, chard, spinach, bell peppers, and turnip greens, collard greens and garlic.</span></span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\">7. <strong>Vitamin B12</strong>: Boosts the endometrium lining during egg fertilization thereby reducing the chances of a miscarriage. Deficiency may even stop ovulation altogether.&nbsp; Also improves sperm quality and production. Deficiency also causes muscular cramps, which if occur in Uetrus may cause a premature delivery or miscarriage.</span></span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\"><strong>Food sources</strong>: Clams, oysters, mussels,&nbsp; fish, crab, lobster, beef, lamb, cheese, eggs, liver, caviar (fish eggs).</span></span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\">8. <strong>Folic Acid/Folate</strong>: This is basically a healthy cell generator in simps words. Prevents formation of deformed parts of the body like&nbsp; congenital heart defects, cleft lips, limb defects, and urinary tract anomalies in a maturing foetus. Deficiency in folic acid&nbsp; may even cause mental retardation and low birth weight in the baby. Deficiency also is found to increase homocysteine levels in the blood, in many cases. And this risen level is the major cause of abortion and other related complications.</span></span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\"><strong>Food sources of folate</strong>: Liver, lentils, pinto beans, navy beans, kidney beans, collard greens,garbanzo beans, asparagus, spinach, black beans.</span></span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\">9. <strong>Iron</strong>: The right intake will reduce cases of anovulation (lack of ovulation) and poor egg health.</span></span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\"><strong>Food sources</strong>: Lentils, spinach, sesame seeds, navy beans, molasses, beef, kidney beans, pumpkin seeds (raw), venison, garbanzo beans.</span></span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\">10. <strong>Selenium</strong>: Essential to prevent miscarriages and birth defects. Low Selenium means low sperm count, since it is an essential micronutrient that is responsible for sperm creation.</span></span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\"><strong>Food sources:</strong> Liver, snapper, cod, Brazil nuts (just one nut contains nearly 100% of the RDA for selenium), halibut, tuna, salmon, sardines, shrimp, crimini mushrooms, turkey.</span></span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\">11. <strong>Zinc</strong>: Works with more than 300 different enzymes in the body to ensure its proper functioning as one unit. In men, the right amount to Zinc boosts sperm levels by improving the form, function and quality.</span></span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\"><strong>Food sources</strong>: Calf liver, oysters, beef, lamb, venison, sesame seeds, pumpkin seeds, yogurt, turkey, green peas, shrimp. Zinc can be damaged by excessive cooking so some foods are better consumed in their raw form. Consult your dietician over these.</span></span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\">12. <strong>Essential Fatty Acids</strong>: Omega-3 acids are must to regulate hormones in the body, increase cervical mucous, promote ovulation and overall improve overall quality and strength of the uterus to carry the baby for nine-months.</span></span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\"><strong>Food sources</strong>: Flax seeds, walnuts, scallops, chia seeds, salmon, sardines, halibut, shrimp, snapper.</span></span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:20px\"><strong><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\">Macronutrients</span></span></span></strong></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><strong><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\">Fats</span></span></span></span></strong></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\">Good Cholesterol is the starting point of all the hormone production.</span></span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\"><strong>Source</strong>: Olive oil, coconut oil, grass-fed meats, fish, nuts. Avoid consuming hydrogenated oils and vegetable oils cooked at high heat since they generate bad cholesterol that is linked with blood-vessels&#39; blockage.</span></span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><strong><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\">Proteins</span></span></span></span></strong></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\">Protein are an essential source of amino acids which are the building blocks for body cells. Your diet must be a mix of both animal as well as vegetable protein...daily.</span></span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\"><strong>Eggs </strong>&ndash; Vitamin D, B12, Protein</span></span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\">Ensure to consume farm fresh eggs as far as you can. A deep yellow yolk is the sign of being a farm fresh produce. Prefer to buy these from your local farmer&rsquo;s market or a health food store. Don&#39;t go for marts and places selling multiple food items, since they stock up food which may be weeks old.</span></span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><strong><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\">Nuts and Seeds</span></span></span></span></strong></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\">These are rich source of Omega 3, Zinc, Vitamin E as well as essential Protein. Do not cook them since it kills their nutritional quotient. Store them in cool, dry place only.</span></span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\">The best seeds and nuts for omega 3 are:</span></span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\">Walnuts &ndash; 1/4cup = 2,270mg</span></span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\">Flax seeds &ndash; 2 Tbs = 3,510mg</span></span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\">Hemp seeds &ndash; 3Tbs = 3,000mg</span></span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\">Chia seeds &ndash; 1Tbs = 2,300mg</span></span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\">The best seeds and nuts for zinc are:</span></span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\">Pumpkin &ndash; 1/4cup = 2.7mg</span></span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\">Sesame &ndash; 1/4cup =2.8mg</span></span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\">The best seeds and nuts for vitamin E are:</span></span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\">Sunflower Seeds &ndash; 1/4cup = 18.10mg</span></span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\">Almonds &ndash; 1/4cup = 8.97mg</span></span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\">The best seeds and nuts for iron are:</span></span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\">Pumpkin seeds &ndash; 1/4cup = 5.16mg</span></span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\"><span style=\"color:black\">Sesame seeds &ndash; 1/4cup = 5.24mg</span></span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\">&nbsp;</p>\r\n', 'Important Nutrients for Male & Female Fertility', 'Important Nutrients for Male & Female Fertility', 'Important Nutrients for Male & Female Fertility', 0); -- -------------------------------------------------------- -- -- Table structure for table `product` -- CREATE TABLE `product` ( `product_id` int(11) NOT NULL, `product_name` text NOT NULL, `product_slug` text NOT NULL, `product_cat_id` text NOT NULL, `product_img1` text NOT NULL, `product_img2` text NOT NULL, `product_img3` text NOT NULL, `product_img4` text NOT NULL, `product_img5` text NOT NULL, `product_img6` text NOT NULL, `product_details` text NOT NULL, `product_price` float NOT NULL, `product_add_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `product_ref_no` varchar(100) NOT NULL, `product_title` text NOT NULL, `product_keyword` text NOT NULL, `product_description` text NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `product` -- INSERT INTO `product` (`product_id`, `product_name`, `product_slug`, `product_cat_id`, `product_img1`, `product_img2`, `product_img3`, `product_img4`, `product_img5`, `product_img6`, `product_details`, `product_price`, `product_add_time`, `product_ref_no`, `product_title`, `product_keyword`, `product_description`) VALUES (1, 'Conceive Plus 3 pre-filled applicators', 'conceive-plus-3-pre-filled-applicators', '3', 'Tulips.jpg', 'Penguins.jpg', 'Lighthouse.jpg', 'conceive-plus.jpg', 'conceive-plus.jpg', 'conceive-plus.jpg', '<p>\r\n\r\n</p><p><strong>Product Reference Number:</strong>&nbsp;CPSO</p><p><strong>1 x Conceive Plus - 3 x Applicators (4gms each)</strong></p><ul><li>The personal lubricant that is \"safe for couples trying to conceive\"</li><li>Gynecologist / Doctor Recommended and sold in more than 60 countries</li><li>Supports fertility naturally, Contains calcium and magnesium ions essential for the process of fertilization</li><li>Cleared by FDA as gamete, fertilization and embryo compatible</li><li>Formulated for positive results - Supporting fertility naturally!</li></ul><p></p>', 8.5, '2017-12-28 12:36:29', 'CPSO', 'Conceive Plus 3 pre-filled applicators', 'Conceive Plus 3 pre-filled applicators', 'Conceive Plus 3 pre-filled applicators'), (2, 'Fertilcount Male Fertility Tests', 'fertilcount-male-fertility-tests', '3', 'fertilcount.jpg', 'IMG_1536.JPG', 'IMG_1587.JPG', '', '', '', '<p>\r\n\r\n</p><p>This male fertility test is a simple sperm-count test that can be performed in the comfort of the home. Fertility problems on men contribute at least 40% of all infertility problems and many men resist being tested out of embarrassment. Just collect a fresh sample of semen and perform a simple home test. A note about lifestyle: if you have taken body building drugs, excessive alcohol, smoke heaviliy, sit for long periods of time, or work with certain chemicals we recommend undertaking a male fertility test.</p><p>Fertilcount Male Sperm count test - 2 tests</p><ul><li>Fast &amp; easy home use</li><li>97% Accuracy &nbsp;</li><li>Results in 15 mins</li></ul>\r\n\r\n<br><p></p>', 4000, '2017-09-17 20:38:42', 'FMFT', 'Fertilcount Male Fertility Tests', 'Fertilcount Male Fertility Tests', 'Fertilcount Male Fertility Tests'), (3, 'Male Fertility Kit', 'male-fertility-kit', '3', 'IMG_1577.JPG', 'fertilcount.jpg', '', '', '', '', '<p>\r\n\r\n</p><p><strong>Male Fertility Kit </strong><br>contains:<br><br><strong>Fertilcount Male Sperm Count -two tests RRP £22.00</strong></p><ul><li>Fast &amp; easy home use</li><li>97% Accuracy &nbsp;</li><li>Results in 15 mins</li></ul><p><strong>Marilyn Glenville Fertility support for men, preconception vitamins for men RRP £32.77</strong><br><br>Fertility Support for Men (90 veg capsules)</p><p><strong>Trying to Conceive?</strong></p><p>Fertility Plus for Men and Fertility Plus for Women – two essential supplements to greatly help increase your chances of conception either naturally or by IVF.</p><p>Fertility Plus For Men is a special multivitamin and mineral specifically formulated for men to help maintain good sperm health and increase fertility.</p><p>One in six couples now find it difficult to conceive and a quarter of all pregnancies end in miscarriage.</p><p>Scientific research has shown that certain vitamins and minerals can increase your chances of getting and staying pregnant.</p><p>Fertility Plus For Men contains the highest quality and most important vitamins and minerals scientifically known to help with conception and increase fertility.</p><p>Each ingredient is at the highest effective dose to help achieve the best results.</p><p>Formulated by Dr Marilyn Glenville PhD - the UK\'s leading nutritionist and authority on increasing fertility naturally - in association with the Natural Health practice</p><div>Please note: Our kit components are subject to change and may vary from the image displayed.</div>\r\n\r\n<br><p></p>', 278, '2017-09-17 20:37:14', 'MFT', 'Male Fertility Kit', 'Male Fertility Kit', 'Male Fertility Kit'), (4, 'Basic Insemination Kits', 'basic-insemination-kit', '1', 'Minor_Injury_Walk_In_Clinic1.JPG', 'clearblue.jpg', '', '', '', '', '<p>\r\n\r\n</p><ul><li>2 x FSH female fertility tests</li><li>4 x Ovulation tests</li><li>2 x Pregnancy tests</li><li>4 x 10ml syringes</li><li>4 x Semen sample containers</li><li>2 x Urine collection containers</li><li>Insemination instructions</li></ul><p>See our <a target=\"_blank\" rel=\"nofollow\" href=\"http://prideangel.users.ds57098.dedicated.interdns.co.uk/Information-Centre/Fertility-Tests/Artificial-Insemintion-Kits.aspx\">artificial insemination</a> section for further information and frequently asked questions.</p><p>Please note: Our kit components are subject to change and may vary from the image displayed.</p>\r\n\r\n??<br><p></p>', 1100, '2018-01-10 16:44:36', 'BIK', 'hello', 'hello', 'hello'); -- -------------------------------------------------------- -- -- Table structure for table `question` -- CREATE TABLE `question` ( `q_id` int(11) NOT NULL, `q_name` text NOT NULL, `q_sub` text NOT NULL, `q_edit_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `q_add_time` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `q_status` int(11) NOT NULL, `q_user_name` text NOT NULL, `q_email` text NOT NULL, `q_mobile` text NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `question` -- INSERT INTO `question` (`q_id`, `q_name`, `q_sub`, `q_edit_time`, `q_add_time`, `q_status`, `q_user_name`, `q_email`, `q_mobile`) VALUES (1, 'hello', 'test doctor', '2018-02-11 05:15:15', '2018-02-11 05:15:15', 0, 'paurush ankit', 'paurush.ankit@gmail.com', '7531855396'), (2, ' gheloo testing', 'test mail', '2018-02-11 05:22:57', '2018-02-11 05:22:57', 0, 'paurush ankit', 'paurush.ankit@gmail.com', '7531855396'), (3, 'hello again', 'hello ', '2018-02-11 05:24:04', '2018-02-11 05:24:04', 0, 'paurush ankit', 'paurush.ankit@gmail.com', '7531855396'), (4, 'test mail', 'test mail', '2018-02-11 05:24:44', '2018-02-11 05:24:44', 0, 'paurush ankit', 'paurush.ankit@gmail.com', '7531855396'); -- -------------------------------------------------------- -- -- Table structure for table `quote` -- CREATE TABLE `quote` ( `quote_id` int(11) NOT NULL, `quote_name` varchar(255) NOT NULL, `quote_email` varchar(255) NOT NULL, `quote_mobile` varchar(20) NOT NULL, `quote_message` text NOT NULL, `quote_edit_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `quote_add_time` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `quote_status` int(11) NOT NULL, `quote_mail` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `quote` -- INSERT INTO `quote` (`quote_id`, `quote_name`, `quote_email`, `quote_mobile`, `quote_message`, `quote_edit_time`, `quote_add_time`, `quote_status`, `quote_mail`) VALUES (1, 'paurush ankit', 'paurushankit5@gmail.com', '7531855396', 'texxt me when you see me', '2018-01-28 11:59:27', '2018-01-28 11:03:28', 0, 1), (2, 'paurush', ' paurushankit2gmail.com', '7531855396', 'this is my requirement', '2018-01-28 12:00:22', '2018-01-28 11:07:38', 0, 1), (3, 'bsjjs', 'njnsnjk', 'njsndjn', 'helo', '2018-01-28 12:20:00', '2018-01-28 11:10:51', 2, 1), (4, 'paurush ankit', 'paurush.ankit@gmail.com', '7531855396', 'hello brother', '2018-02-11 05:26:06', '2018-02-11 05:26:06', 0, 0); -- -------------------------------------------------------- -- -- Table structure for table `rating` -- CREATE TABLE `rating` ( `id` int(11) NOT NULL, `patient_id` int(11) NOT NULL, `clinic_id` int(11) NOT NULL, `ratings` float NOT NULL, `comment` text NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `seo` -- CREATE TABLE `seo` ( `seo_id` int(11) NOT NULL, `seo_title` text NOT NULL, `seo_keyword` text NOT NULL, `seo_description` text NOT NULL, `seo_page_name` text NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `seo` -- INSERT INTO `seo` (`seo_id`, `seo_title`, `seo_keyword`, `seo_description`, `seo_page_name`) VALUES (1, 'WishABaby home', 'WishABaby home', 'WishABaby home', 'Home'), (2, 'WAB Store', 'WAB Store', 'WAB Store', 'Store'), (3, 'Register with Us', 'Register with Us', 'Register with Us', 'Register'), (4, 'WAB Findexpert', 'WAB Findexpert', 'WAB Findexpert', 'Findexpert'), (5, 'WAB Findaclinic', 'WAB Findaclinic', 'WAB Findaclinic', 'Findaclinic'), (6, 'WAB Ask a free question', 'WAB Ask a free question', 'WAB Ask a free question', 'Askaquestion'), (7, 'WAB Blogs', 'WAB Blogs', 'WAB Blogs', 'Blogs'), (8, 'WAB ViewQuestions', 'WAB ViewQuestions', 'WAB ViewQuestions', 'ViewQuestions'), (9, 'contactus', 'contactus', 'contactus', 'contactus'); -- -------------------------------------------------------- -- -- Table structure for table `submenu` -- CREATE TABLE `submenu` ( `submenu_id` int(11) NOT NULL, `submenu_name` text NOT NULL, `submenu_slug` text NOT NULL, `submenu_menu_id` int(11) NOT NULL, `submenu_content` text NOT NULL, `submenu_title` text NOT NULL, `submenu_keyword` text NOT NULL, `submenu_description` text NOT NULL, `submenu_order` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `submenu` -- INSERT INTO `submenu` (`submenu_id`, `submenu_name`, `submenu_slug`, `submenu_menu_id`, `submenu_content`, `submenu_title`, `submenu_keyword`, `submenu_description`, `submenu_order`) VALUES (4, 'FAQs', 'faqs', 6, '<p dir=\"ltr\" style=\"text-align:center\"><span style=\"font-size:24px\"><strong>Frequently Asked Questions</strong></span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:center\"><span style=\"font-size:24px\"><strong>(FAQs)</strong></span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><strong><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\">What is WishABaby?</span></strong></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\">WishABaby is a connecting platform where we help the childless couples and single individuals to connect with the best ofIVF clinics and experts across the county to bring them rays of hope to embrace a new life. We maintain a directory of fertility clinics and experts to provide you with timely health screening and quality infertility treatments as per the Indian fertility laws. In short, we are your scientific, healthy, legal and ethical way to happiness as per your individual biology.</span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><strong><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\">What is different about WishABaby?</span></strong></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\">We strive to be your companion in your journey to parenthood. There are multiple biological and scientific factors that contribute to your health and success in this process. We bring these essential elements under one roof and integrate them into an approach which is individually tailored to meet your needs as perfectly as possible. And this is done with utmost care and compassion.</span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><strong><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\">How can I register on WishABaby?</span></strong></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"background-color:white\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\">You can easily register yourself on WishABaby as individuals/couples, a clinic, or an expert by filling up a small registration form that you can find on the homepage of our website.</span></span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><strong><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\">Do I need to pay anything for registering on WishABaby?</span></strong></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\">Registering on WishABaby is absolutely free of cost. You can be our member, explore and search for the best of IVF experts across the nation, book an appointment with them, and access our entire information resource without paying even a single penny to WishABaby. </span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><strong><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\">What will be the cost of treatment?</span></strong></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\">The costs of treatment will ideally vary depending upon the medical processes and otherprocedures that will constitute a part of your treatment. This will be again payable to the IVF clinic/expert and not to WishABaby.</span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"color:null\"><strong><span style=\"font-size:12.0pt\">How can I find a fertility clinic in my area?</span></strong></span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:12.0pt\">You can use our clinic directoryto search for the clinics in your city. You can also apply filters to list out the clinics based on the services you are looking for.</span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><strong><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\">I have successfully created a profile on WishABaby, but haven&rsquo;t received any activation mail. What should I do?</span></strong></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\">Wait for two-four (2-4) hours after registering with us through a valid e-mail ID. Once your registration is complete, we will send you a verification mail for confirming your e-mail account. Do check the &#39;Spam&#39; folder as well, as occasionally emails from unknown sources are directed there. Once you get a verification mail, verify the credentials as directed in it. And here you are done! In case, you do not receive an activation/verification mail even after four (4) hours of registration, there is a possibility that you misspelled your email id.</span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><strong><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\">What are the steps to reset the password to my profile on WishABaby?</span></strong></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\">Just click the &#39;Forgot Password&#39; link on the Login page. It will ask for your e-mail ID where a link will be sent to reset your password. Click on this link, and you&rsquo;ll be redirected to a page where you will have to enter the new password that you would want to set for your profile. Click on &lsquo;Confirm&rsquo; and you are done.</span></span></span></p>\r\n', 'FAQs', 'FAQs', 'FAQs', 12), (5, 'Fertility Laws in India', 'fertility-law', 6, '<p><strong>Fertility Laws in India</strong></p>\r\n', 'Fertility Laws in India', 'Fertility Laws in India', 'Fertility Laws in India', 2), (6, 'Our Beliefs', 'our-beliefs', 3, '<p><strong>WISH A BABY: OUR BELIEFS</strong></p>\r\n\r\n<p><strong>&quot;Helping You To Be A Parent Is A Joy, Not Business&quot;</strong></p>\r\n\r\n<p><strong>We, at WishABaby, made it our mission to turn the hopes of an individual longing for parenthood into reality and make sure that the whole journey from hopes to reality becomes a thoroughly memorable and enjoyable experience.</strong></p>\r\n\r\n<p><strong>But how do we do it? We do it through our beliefs, which we practice to the core:</strong></p>\r\n\r\n<p><strong>Infertility is not a Taboo or Shame!</strong></p>\r\n\r\n<p><strong>We live in a world where people are comfortable talking about divorce, drug addiction, and even marital rape, but not infertility. &ldquo;What will the society think?&rdquo; Well, the society has already made up its mind seeing no child was born to you within a year of marriage! So please relax, and give yourself a break. </strong></p>\r\n\r\n<p><strong>We, at WishABaby, encourage an individual to read about infertility, talk about it, and seek help from our experts, since in most cases it is TREATABLE. Yes, you heard it right!</strong></p>\r\n\r\n<p><strong>World Health Organization (WHO) defines it as a &ldquo;failure to achieve a clinical pregnancy after a year or more of regular unprotected sexual intercourse.&rdquo;</strong></p>\r\n\r\n<p><strong>Infertility is not a curse, it is just a biological condition, And, we at WishABaby, can help you overcome the situation to fill your life up with those little sparkles of giggling happiness.</strong></p>\r\n\r\n<p><strong>Today, there is a fast stride in IVF treatments across the country, and couples/individuals who forever wished to have a baby can now pin their hopes on conceiving through IVF treatments and donor based conception. Thus, INFERTILITY IS NOT A TABOO&mdash;We at WishABaby believe in this and are, every minute, taking couples/ individuals a step closer to their dream of parenthood. </strong></p>\r\n\r\n<p><strong>Shun the Myths</strong></p>\r\n\r\n<p><strong>We at WISH A BABY, backed by science, are here to prove the following myths wrong:</strong></p>\r\n\r\n<ul>\r\n <li>\r\n <p><strong>Infertility is incurable: Shun the Myth!</strong></p>\r\n </li>\r\n <li>\r\n <p><strong>Infertility in only a woman&#39;s problem: Shun the Myth!</strong></p>\r\n </li>\r\n <li>\r\n <p><strong>Infertility is found only in older couples: Shun the Myth!</strong></p>\r\n </li>\r\n</ul>\r\n\r\n<p><strong>New-Age/ Digital-Age Families are Different</strong></p>\r\n\r\n<p><strong>Times have changed. Today, instead of being a parent by the age of 20-25, people prefer conceiving at around 30-35. Call it the need of the hour or the demand of your career, but the fact is that the infertility rate is on a rise in India. Studies reveal that at least 10% of the general population of India suffer from some form of infertility, and the figures are consistently surging up. </strong></p>\r\n\r\n<p><strong>We at WishABaby do not encourage defying your biological clock, but we do discourage you getting into depression if your body has given up on the ability to give birth. Accepting the reality is one thing and not doing anything about is another. This is the time when mankind is finding most answers in making the improbable, possible .Finding a safe alternate process that is overseen by experts with an eye to every minute detail that can reduce all associated risks to a minimalistic proportion is what we are trying to harness. Come to us, we want to help you get the best path in fulfilling your long cherished dream!</strong></p>\r\n\r\n<p><strong>Arm Yourself with Knowledge</strong></p>\r\n\r\n<p><strong>Having bits and pieces of information, rather than complete knowledge, can do no good for anyone. And hence, we believe that just Wish-ingABaby through us is not enough. You should dive deeper into attaining complete knowledge about the concept, and we are here to help you with that. We not only connect you to infertility-treatment experts or the egg/sperm donors or help in surrogacy, but also fill the gaps by providing needed fertility solutions like &ndash; health screening, legal advice, counselling, and over and above all, the much needed emotional support, which is immensely required in such trying times.</strong></p>\r\n\r\n<p><strong>LGBT or Single, You can be a Parent!!</strong></p>\r\n\r\n<p><strong>We believe in changing with the modern times. We do not discriminate. Whether an LGBT or an individual who is willing to be a parent through surrogacy &ndash; WishABaby will fulfil your dream to raise a family and experience parenthood equally. Many celebrities in the country have had recently opted to be a single parent and are enjoying their magical moments with their little ones. Well, if a celebrity has the legal right to have a surrogate child, so do you, and we are here to partner you through this life changing decision of yours.</strong></p>\r\n\r\n<p><strong>So, come over, write to us at _______ or dial ______ and let&rsquo;s get a step closer to turning your wishes into wonders!</strong></p>\r\n', 'Our Beliefs', 'Our Beliefs', 'Our Beliefs', 1), (7, 'Our Core Values', 'our-core-values', 3, '<p style=\"text-align:center\"><span style=\"font-size:26px\"><strong>Our Core Values</strong></span></p>\r\n\r\n<p style=\"text-align:justify\">If you&rsquo;ve been trying to have a baby without success, know it that you aren&rsquo;t alone! Approximately One in Eight couples has difficulty conceiving. And since our goal is to make you one happy family, our values need to go hand-in-hand with our goals. Thus, we would want you to know that...</p>\r\n\r\n<ul>\r\n <li style=\"text-align: justify;\">We value YOU, your body, your happiness</li>\r\n <li style=\"text-align: justify;\">We value YOUR SMILE; connecting you with best medical experts is a joy, not business</li>\r\n <li style=\"text-align: justify;\">We value YOUR HEALTH, hence provide you with essential guidelines to maintain good health</li>\r\n <li style=\"text-align: justify;\">We value YOUR TRUST, and so, never settle for anything less than the best for you</li>\r\n <li style=\"text-align: justify;\">We value YOUR LIFE, and hence take utmost care in all the procedures</li>\r\n <li style=\"text-align: justify;\">We value and practice ETHICS &amp; LEGALITY in all our procedures</li>\r\n <li style=\"text-align: justify;\">We value INNOVATION to embrace change, so that you can embrace a child</li>\r\n <li style=\"text-align: justify;\">We value YOUR PRIVACY, thus utmost confidentiality is maintained at our end</li>\r\n <li style=\"text-align: justify;\">We value YOUR FAITH in us, and hence foster a transparent relationship&nbsp;</li>\r\n <li style=\"text-align: justify;\">We value YOUR BOND WITH US, and assure you of always maintaining the same<br />\r\n &nbsp;</li>\r\n</ul>\r\n', 'Core Values', 'Core Values', 'Core Values', 2), (22, 'Counselling', 'counselling', 9, '<p>Counselling</p>\r\n', 'Counselling', 'Counselling', 'Counselling', 1), (24, 'All about Fertility', 'fertility', 6, '<p><strong>All about Fertility</strong></p>\r\n', 'All about Fertility', 'All about Fertility', 'All about Fertility', 1), (27, 'Parenting', 'parenting', 6, '<p>Parenting</p>\r\n', 'Parenting', 'Parenting', 'Parenting', 10), (30, 'Nutrition', 'nutrition', 9, '<p>Nutrition</p>\r\n', 'Nutrition', 'Nutrition', 'Nutrition', 2), (33, 'How to Choose a Clinic', 'how-to-choose-a-clinic', 10, '<p style=\"text-align:center\"><span style=\"font-size:26px\"><strong>How to Choose the Best Fertility Clinic for Yourself</strong></span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\">We understand that getting pregnant and having a family is of utmost importance for you at the moment. But what is most important for us at WishABaby is that you choose the right fertility clinic to start off your journey on just the right note. &nbsp;Hence, our job is not only to ensure that you get to experience the bliss of parenthood by connecting you to the fertility clinics but also that you are in safe hands.</p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\">While we take utmost care and follow stringent processes to bring to you a directory of only the best fertility clinics around you, we would like to share with you some major cautions that you should take while selecting a fertility clinic for yourself:</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>Understand the Working of the Clinic</strong></span></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">Try and understand the various processes of fertility treatment, the background of the experts involved, and also, how and by whom the clinic is run. In simple words, you should be aware of, as well as, should be confident of the clinic, the doctors, and the other staff involved in your treatment. Only when confidence replaces anxiety and fear, can pleasures be enjoyed to the fullest.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>Analyse Success Rates</strong></span></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">Though peeping into the success rates of the clinic is a good way to gauge its efficiency, it is always better to take a slightly deeper insight into the success rates. Ideally, the clinic should list both IUI and IVF success rates, broken down by the number of embryos transferred, mother&#39;s age, and other aspects. If this all is out in open on their website, keep it in your list of the initially shortlisted clinics.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>Check for the Technology and Equipment</strong></span></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">It is important to know if the clinic is furnished with necessary technologies, equipment, and everything else required to ensure quality and safety in the procedure. This is important to stay away from any money-making clinic who may though charge you a bomb for the treatment but lack even the most basic of equipment.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>A Certified Clinic is a Must</strong></span></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">An IVF clinic certified by the medical board is the safest option. Make sure you are being treated by certified experts and are not in the hands of the quacks.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>Critically Analyse Your Consultation</strong></span></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">Do take clarity from the clinic on below aspects with valid proofs for the same:</p>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:80px; text-align:justify\">- What all diagnostic tests they plan to perform?</p>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:80px; text-align:justify\">- How many embryos do they recommend transferring?</p>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:80px; text-align:justify\">- What is the success rate in your case as assessed by the doctor?</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>Check if it covered under your insurance scheme</strong></span></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">This will help save you money as well as time. Employ your due diligence to find this out, but make sure that cost is only one of the many other factors that must govern your choice and not the only one.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>Demand a Sense-of-Urgency</strong></span></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">It is as simple as getting pregnant without wasting time. If you already have diagnostic tests done before elsewhere from a certified place, but the IVF clinic you picked is asking for them again, then drop the clinic. Also if the doctor treating you seems to have no sense of urgency simply transfer to another clinic after taking the results from this clinic, if any tests were done here.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>Look for an Empathetic Clinic</strong></span></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">Look for a place that smiles and cries with you and not the one which is too professional to care for human emotions. While we, at WishABaby, totally understand how emotional the process of getting pregnant is when it is not happening through the normal means of intercourse, we would also want the clinic involved in your treatment to be equally compassionate yet practical with you. So, do ensure that instead of treating you like just another case file, the clinic does show right empathy towards you.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>Be Ready With Your Questions</strong></span></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">It is ok to question a procedure or doctor or medicine. After all, it is the matter of your life. Do take copious notes at each appointment, and come prepared with a set of questions in the next appointment. Remember, there is nothing like a &quot;dumb question&quot;. You&rsquo;re paying for each service, so it is your legal right to question the particle, the procedure, the practitioner, as well the medicine. Don&#39;t be afraid of taking clarity on your doubts. Getting detailed clarity on every single thing would, in fact, help build trust and confidence on the clinic as well as on the procedure.</p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\">Carefully weigh the pros and cons of the clinics that you shortlist for the treatment, and see to it that you select the best one that is aligned with your needs.</p>\r\n', 'How to Choose a Clinic', 'How to Choose a ClinicChoosing a Fertility Clinic', 'How to Choose a ClinicChoosing a Fertility Clinic', 2), (38, 'Terms Of Use', 'terms-of-use', 3, '<p><strong>Terms of Use - WishABaby</strong></p>\r\n\r\n<p>Welcome to WishABaby! We hope you understand the ultimate purpose of this website and how it intends to help singles and/or couples enter parenthood through IVF treatment, sperm/egg donation, surrogacy or co-parenting.&nbsp;<br />\r\n&lsquo;WishABaby&rsquo; or hereinafter, the &ldquo;Company&rdquo; puts forth the following terms and conditions as a means to disclose that all of the services provided to the concerned members are subject to the terms of use as mentioned below.&nbsp;<br />\r\nSo, once you decide to become a part of our community, we suggest you to thoroughly read the Terms and Conditions of the company and comply with them accordingly before commencing the use of the services on our website. By using our site, you indicate your acceptance of these terms and conditions unconditionally.<br />\r\nIn these Terms of Service, we constitute an electronic contract between you and the &lsquo;WishABaby&rsquo; team. So, please make sure to review these terms and conditions along with the linked Privacy Policy that is incorporated as a part of these Terms.<br />\r\nWe strongly advise that after accessing and reading all the information, if you do not agree on binding to these Terms and Conditions or our Privacy Policy, you may desist using the site in any way, irrespective of your registration or your membership.&nbsp;<br />\r\nTerms of Use<br />\r\nWishABaby is a community resource that provides a platform for donors and recipients to interact with one another.&nbsp;<br />\r\n1.&nbsp;&nbsp; &nbsp;Membership Eligibility<br />\r\na.&nbsp;&nbsp; &nbsp;All members must have completed 18 years of age or above.&nbsp;<br />\r\nb.&nbsp;&nbsp; &nbsp;This site is solely for singles or couples who are interested in donating or receiving eggs, sperms, and embryos only. You are prohibited from using the site for dating or casual sex purposes.&nbsp;<br />\r\nc.&nbsp;&nbsp; &nbsp;Members who have previously been suspended or removed from WishABaby site are not eligible to be registered again. You should not be convicted of a felony.&nbsp;<br />\r\nd.&nbsp;&nbsp; &nbsp;You are not allowed to have more than one active membership account. Users are not allowed to sell, trade or transfer their membership account to another party or sharing accounts with others.&nbsp;</p>\r\n\r\n<p>2.&nbsp;&nbsp; &nbsp;Membership Accounts<br />\r\na.&nbsp;&nbsp; &nbsp;Members are allowed to have only one profile. &nbsp;Using multiple profiles for any reason is strictly prohibited and such members will be removed immediately from the site.&nbsp;<br />\r\nb.&nbsp;&nbsp; &nbsp;If a member is removed from the registry, for any reasons, he/she will not be allowed to join again by using any other different alias.&nbsp;<br />\r\nc.&nbsp;&nbsp; &nbsp;WishABaby reserves the right to terminate or suspend accounts, refuse service, or edit profile content in its sole discretion.&nbsp;<br />\r\nd.&nbsp;&nbsp; &nbsp;Members should not violate any copyright laws in their profile and gallery image. The profile information should not be misleading or misrepresenting. Not all profile specifics are to be entered, but whatever specifics are entered, they must be strictly accurate.<br />\r\ne.&nbsp;&nbsp; &nbsp;Members can use their own image or non-human images, but images of someone else other than the member is not allowed. Images of minor children or babies may not be posted, unless a prior written consent of the other party is obtained, as it is a violation of privacy of the child. Images portraying nudity or violence are strictly prohibited.<br />\r\nf.&nbsp;&nbsp; &nbsp;Profiles containing adult content, illegal activity, violence, or exhibiting links to such sites will be removed and deleted immediately. Messages, e-mails, or profiles, suggesting illegal activity will result in a ban of the account.&nbsp;<br />\r\ng.&nbsp;&nbsp; &nbsp;WishABaby reserves the right to remove or suspend any accounts or content of any user at any time for any reason, including but not limited to breach of these Terms of Use, or as required by any state legal authority. Once violated, account can neither be subsequently setup,nor can a new registration/profile be created.</p>\r\n\r\n<p>3.&nbsp;&nbsp; &nbsp;The company/WishABaby rely on user-submitted information and is not responsible for the accuracy of membership profiles or the content presented by the members during communication and interactions with other members. We do not carry out background checks or verify each and every information provided by the registered members.</p>\r\n\r\n<p>4.&nbsp;&nbsp; &nbsp;All interactions between other users within the community are subject to the sole discretion of the individuals. The company does not hold any responsibility for the personal and financial safety of users.</p>\r\n\r\n<p>5.&nbsp;&nbsp; &nbsp;Members are not supposed to contact another member for any reason other than the private embryo, sperm, or egg donation, unless otherwise invited by the other party. Such purposes include (but are not limited to) advertising, solicitation for products or services, and dating or sexual approaches.</p>\r\n\r\n<p>6.&nbsp;&nbsp; &nbsp;Users are not supposed to post or communicate with other members any defamatory or libel content. This includes inaccurate, abusive, profane, offensive, threatening, obscene or illegal material of any sort that violates the reputation and rights of the other party. The company has the right to remove any content, if a written request is received from the other party about a defamatory statementthat damages their reputation. Such request must be received under the legal name of the person/company. However, we will not remove opinions or contents that complies with our Terms of Use.</p>\r\n\r\n<p>7.&nbsp;&nbsp; &nbsp; Members are not allowed to advertise other sites or promote any of their products or services in the community without proper written permission from the company&rsquo;s admin team prior to posting information/advertisement.</p>\r\n\r\n<p>8.&nbsp;&nbsp; &nbsp;The site&rsquo;s admin has the permission to remove any members who are existing administrators or moderators of other sperm donation sites for the best interest of the community.</p>\r\n\r\n<p>9.&nbsp;&nbsp; &nbsp;All the site graphics, screenshots and content of any kind may not be reproduced without written consent from the administrator. Permission has to be requested through the Contact Us form.</p>\r\n\r\n<p>10.&nbsp;&nbsp; &nbsp;Any violation of the law should be reported immediately to the appropriate authorities and not to the site.</p>\r\n\r\n<p>11.&nbsp;&nbsp; &nbsp;All members are individually and solely responsible to comply with the laws applicable to the country and region where they reside.&nbsp;<br />\r\n<strong>Code of Conduct for Members</strong><br />\r\n1.&nbsp;&nbsp; &nbsp;All Members should respect the &lsquo;WishABaby&rsquo; Terms of Use and follow the mentioned code of conduct.</p>\r\n\r\n<p>2.&nbsp;&nbsp; &nbsp;Members should not indulge in any activity via private messages, emails, forum threads and posts that do not bound by these terms. Members posting such content will immediately be moderated and/or banned.</p>\r\n\r\n<p>3.&nbsp;&nbsp; &nbsp;Members should respect the moderators and admin team of WishABaby and must respectfully respond to any moderation or concerns from the administration. You are expected to present your questions, suggestions or concerns in a constructive manner. When requests could not be resolved, members are requested to accept it and maintain positive discourse through their posts in public forums.</p>\r\n\r\n<p>4.&nbsp;&nbsp; &nbsp;Members are expected to respect each other and be considerate in their dealings with each other. Using foul or sexually provocative language or any other offensive behavior targeting the other party will not be tolerated.&nbsp;<br />\r\n5.&nbsp;&nbsp; &nbsp;Talking about politics and religion should be limited and must not hurt the feelings of other members. Discussions revolving around political issues related to sperm donation and conception may be kept to the limited scope. While everyone has the right to opinionate their political or religious views, yet such topics can bring in serious problems and so will be monitored heavily in the forums. Members can exercise their freedom of speech in other venue forums appropriate for such topics.</p>\r\n\r\n<p>6.&nbsp;&nbsp; &nbsp;Members must not collect information about or from the website or related to any users of this website without prior written consent from the company. Users are not allowed to modify, render (or re-render), truncate, filter or change any information or content contained in the Website, without the company&rsquo;s written consent.</p>\r\n\r\n<p>7.&nbsp;&nbsp; &nbsp;Cyber-crimes are strictly prohibited. Using any page-scrape, deep-link, robots, crawlers, index, spiders, click spams or macro programs and automated algorithms to generate impressions, input information, generate searches or monitor the website or any portion of it will not be tolerated. Distributing malware, viruses or other harmful computer codes into the site pages is illegal and prohibited by the Terms of Use.&nbsp;<br />\r\nTerms for Donors &amp; Recipients</p>\r\n\r\n<p><strong>Donors and Recipients agreeing to use the site for Artificial insemination should accept to these Terms and Conditions mentioned.&nbsp;</strong><br />\r\n1.&nbsp;&nbsp; &nbsp;Donors and recipients must not indulge in illegal drugs consumption and should be free of known sexually transmitted diseases (STDs) and infections. Members identified with positive HIV status are allowed to use the site, unless otherwise they declare it in the specifics provided on their member profile.</p>\r\n\r\n<p>2.&nbsp;&nbsp; &nbsp;Donors are requested to take necessary precautions such as STD tests and health screening prior to donating sperms/eggs on request by the recipient. Members may not knowingly expose the other members or recipients to sexually transmitted diseases (STDs) or viable infections.</p>\r\n\r\n<p>3.&nbsp;&nbsp; &nbsp;We recommend recipients to ensure that their donors provide authentic proof of identification, health information, and up-to-date screening test results, which includes STIs and genetic testing. Upon request you may have to undertake rigorous health screening checks before entering into an agreement.</p>\r\n\r\n<p>4.&nbsp;&nbsp; &nbsp;Users are not allowed to request money or any form of compensation for egg/sperm or embryo donations, except for the medial tests. Members who are found contravening this term will be reported and banned from the site to the appropriate authorities.</p>\r\n\r\n<p>5.&nbsp;&nbsp; &nbsp;Recipients may cover the cost of any health information screening and STD testing for themselves as well as the donor, along with the travel expenses associated with the donation or arrange reimbursement for the same. Receipts for all the screening tests and travel expenses are to be provided to the recipient upon request, or as per the agreement written between the donor and the recipient.</p>\r\n\r\n<p>6.&nbsp;&nbsp; &nbsp;Both donors and recipients are responsible for the preferred method of donation. Donors have to respect at all times the preferences of the recipients, regarding the method of egg/sperm donation.</p>\r\n\r\n<p>7.&nbsp;&nbsp; &nbsp;Members are not permitted to advertise for natural insemination or imply that NI or PI is more effective conceptive method than AI. It is not scientifically proven so and spreading such false facts in the forums is to manipulate someone into sexual act and it is strictly not tolerated.</p>\r\n\r\n<p>8.&nbsp;&nbsp; &nbsp;We recommend artificial insemination as the safest method of conception when done at an authorized clinic. Home insemination kits, though available, can carry the risk of contracting infections or STDs. Furthermore getting pregnant with donor sperm outside of clinic in an unauthorized way enables the donor to gain legal paternal rights.</p>\r\n\r\n<p>9.&nbsp;&nbsp; &nbsp;Recipients are strongly recommended to insist on preparing a specific and detailed written contracts defining the nature of the paternal nights of the donor with the donor-conceived child as well as the future relationship between the recipients.<br />\r\n<strong>Disclaimer:&nbsp;</strong><br />\r\n1.&nbsp;&nbsp; &nbsp;WishABaby does not take the responsibility for the user-submitted content or the conduct of any member of the site. All liability for unauthorized users is disclaimed.</p>\r\n\r\n<p>2.&nbsp;&nbsp; &nbsp;We are not responsible for any technical defects, errors, deletion, delays, or thefts or destruction of information or content provided by users.</p>\r\n\r\n<p>3.&nbsp;&nbsp; &nbsp; We are not liable for any loss or damage, by any means, arising out of or related to any user content or act by users or any third party programming or equipment utilized by the company.</p>\r\n\r\n<p>4.&nbsp;&nbsp; &nbsp;Any content published or submitted to the site by users or affiliates belongs solely to them and does not necessarily reflect our opinions or site policies.</p>\r\n\r\n<p>5.&nbsp;&nbsp; &nbsp;If you run into a dispute with one or more users of the Website, you are deemed to release WishABaby from any claims or demands of any kind, either actual or consequential, and of any nature, known or unknown, arising out of or in any way associated with such dispute.</p>\r\n\r\n<p>6.&nbsp;&nbsp; &nbsp;WishABaby holds the right to alter, suspend, or discontinue the Site in whole or in part, for any reason and at any time, without any prior notice or cost and shall not be liable to any user or third party concern for the same.<br />\r\n<strong>To the Media/Journalists:</strong><br />\r\n1.&nbsp;&nbsp; &nbsp;Journalists indulging in forum discussions at WishABaby website must disclose their position stating them as a member of the media.</p>\r\n\r\n<p>2.&nbsp;&nbsp; &nbsp;The status of a journalist or media group registering on the website must clearly define it in their profile along with their intention of joining the site and how they intend to use the site and its user information.</p>\r\n\r\n<p>3.&nbsp;&nbsp; &nbsp;Upon joining the site, the media member is requested to submit a detailed Casting Call through the Directory immediately regarding their premise for the participation on the site.</p>\r\n\r\n<p>4.&nbsp;&nbsp; &nbsp;All the contact information and user information gathered from our site are not to be used in any way without prior permission of the user.&nbsp;<br />\r\nWe hope these Terms and Conditions will help nurturecooperative and truthful civil interaction with one another. However, WishABaby reserves the right, in sole discretion, to revise or update these Terms and Conditions and Code of Conduct anytime, based on constructive feedback and experience. It is the members&#39; responsibility to check this page regularly for new updates and keep themselves aware of the changes.</p>\r\n\r\n<p>Last Updated: 14 September 2017</p>\r\n', 'Terms Of Use', 'Terms Of Use', 'Terms Of Use', 4), (39, 'Why Us?', 'why-choose-us', 3, '<p>&ldquo;<strong>WishABaby</strong>&rdquo; isn&rsquo;t just something we promote as our LOGO. It is a promise we keep! We want to be your companion in a journey to be a happy parent via world-class medical treatment through utmost care and compassion. Thus, you are not simply case files and statistics for us; you are individuals, each with unique circumstances who require personalised treatment plans.</p>\r\n\r\n<p>Only when relaxation replaces anxiety and trust replaces fear, your body comes in a perfect state to successfully conceive a pregnancy and deliver a healthy baby. Thus, choose us because we are:</p>\r\n\r\n<p><strong>Upright and Upfront</strong></p>\r\n\r\n<p>We are realistic with you about the chances of your treatment working. And, we are transparent about how much it costs, right from the very beginning.</p>\r\n\r\n<p><strong>A New Era of Treatment</strong></p>\r\n\r\n<p>Every doctor or technology that is employed to work on your case will be the best in the system. It means every penny you spend will be worth it. We are dedicated to staying on the leading edge of technology. We, hence, always see to it that our experts remain involved in continuing education to hone up their skills with the latest techniques and innovations in the world of assisted reproductive technology.</p>\r\n\r\n<p><strong>A Promise of Personal Care</strong></p>\r\n\r\n<p>Your bond with your physician begins the very day when you first meet him/her. Your WishABaby physician will customise a fertility treatment plan that suits your biology, carefully monitor your progress, and always be available for your queries. We always ensure that you are embraced and heard throughout your journey with us.</p>\r\n\r\n<p><strong>A Commitment to Excellence</strong></p>\r\n\r\n<p>We are here to give you the best possible treatment that perfectly meets YOUR needs &ndash; not ours.</p>\r\n\r\n<p><strong>An Ever Expanding Global Network</strong></p>\r\n\r\n<p>We are a leading platform in India that will not only connect you with sperm and egg donors from the world over, but also with recognised practitioners and researchers in the field. Our experts not only give clinical advice in person, but online as well to those who cannot reach us in person.</p>\r\n\r\n<p><strong>Fact Based Treatment, Not Experiment-Based</strong></p>\r\n\r\n<p>Our experts clearly work only and only on the facts based on your biology and not just science and technology. And thus, we thrive to keep you informed at every single step so that you can take timely decisions about your reproductive health. Why? Because this maximises your chances of conceiving and having a healthy baby.</p>\r\n\r\n<p><strong>Your Happiness is Our Success (Success Rate)</strong></p>\r\n\r\n<p>We take pride in building as well as maintaining a bond with our patients whom we help realise their dream of parenthood. We believe your happiness is our success, and that is what we always strive to achieve. A steadily rising list of happy faces is our biggest achievement.</p>\r\n\r\n<p><strong>Practitioners of Ethics, Laws &amp; Gender Equality</strong></p>\r\n\r\n<p>Medical ethics and related laws are of utmost importance to us in every service we provide, be it IVF, surrogacy, or egg/sperm donation, etc. And, equally important for us is your privacy. Thus, stay assured, you won&rsquo;t be our testimonial to success till you offer to be.</p>\r\n\r\n<p>Likewise, pink might be for a girl and blue for a boy in the eyes of society. But for us, a child is a pure spectrum of joy. We are miles away from gender bias, ethically as well as legally.</p>\r\n\r\n<p><strong>Worth Investing</strong></p>\r\n\r\n<p>We offer the most up to date investigations as well as treatments. But as you may know, no two individuals are same, and hence no two would-be mothers. Every biology is different. As, one size does not fit all, similarly your fertility treatment will be strictly and specifically tailored to your needs so as to minimise the unnecessary expenditure and maximize the chances of success.</p>\r\n\r\n<p><strong>Don&#39;t Make Tall Claims</strong></p>\r\n\r\n<p>We believe in science, but remember we aren&#39;t magicians. We believe in results and strive hard to turn your hopes into happiness with our reliable services and up to date treatment methodologies.</p>\r\n', 'Why Us?', 'Why Us?', 'Why Us?', 3); INSERT INTO `submenu` (`submenu_id`, `submenu_name`, `submenu_slug`, `submenu_menu_id`, `submenu_content`, `submenu_title`, `submenu_keyword`, `submenu_description`, `submenu_order`) VALUES (40, 'Privacy Policy', 'privacy-policy---wishababy', 3, '<p><strong>Privacy Policy - WishABaby</strong></p>\r\n\r\n<p>WishABaby is committed to delivering quality services, while protecting the privacy of all its members and users. In this Privacy Policy, WishABaby compiles its company policies that are incorporated for safeguarding the privacy of its users.</p>\r\n\r\n<p>In order to provide our services to you, it is necessary for us to collect certain information from you. This includes, but is not limited to, personal details, contact information, and health reports, that are required for delivery of appropriate services by us, and to enable other members and WishABaby team to contact you, if and when required. There is also generalized aggregate information or the Anonymous Information about users of our services, apart from their Personal Information shared with us, collected for various purposes by websites, advertisers, and others.</p>\r\n\r\n<p>WishABaby does not disclose any information to third parties without proper consent from you, or as required by law.</p>\r\n\r\n<p>In the collection and use of all the information, we respect to safeguard user privacy as set forth in this Privacy Policy, which is incorporated as a part of the User Terms of Service.</p>\r\n\r\n<p><strong>What information do we collect?</strong></p>\r\n\r\n<p>&bull; &nbsp;&nbsp;&nbsp;We collect the information that the users provide while registering on our website or while filling out a form. Information such as name, e-mail address, and other personal details related to the user profile is collected. Users submit certain information voluntarily through our site when setting up their account and editing user profile. Users provide the date of birth, gender, sexual orientation, and other personal preferences, related to our services.</p>\r\n\r\n<p>&bull; &nbsp;&nbsp;&nbsp;Users share information in the course of their interaction with other members or the website forum by means of comments, postings, images, reviews, ratings, and questions.</p>\r\n\r\n<p>&bull; &nbsp;&nbsp;&nbsp;If ever users choose to link any of their social networks with their profile, we may collect information about the users and their friends available on that network.</p>\r\n\r\n<p>&bull; &nbsp;&nbsp;&nbsp;On purchase of services, products, or subscription through WishABaby, users will be submitting payment related information such as credit card or account details, in order to facilitate payment. We may track their past purchases and orders in order to provide the personalized user experience.</p>\r\n\r\n<p>&bull; &nbsp;&nbsp;&nbsp;We do not solicit individually identifiable health information unless the user intends to provide so. Such information, however, will be immediately removed once brought to our attention.</p>\r\n\r\n<p>&bull; &nbsp;&nbsp;&nbsp;Once you log into the site, your information about the IP address from which you logged in, will be stored.</p>\r\n\r\n<p>&bull; &nbsp;&nbsp;&nbsp;As a third party vendor, Google may use some cookies to gather information to serve personalized ads on the site based on user visit.</p>\r\n\r\n<p>&bull; &nbsp;&nbsp;&nbsp;The website may gather some information of individual visits technically by assigning temporary &ldquo;session&rdquo; cookies that track information entered during site navigation. Cookies are actually pieces of data assigned to users by website servers to uniquely identify a computer and enhance your user experience with the site. Both temporary and &lsquo;persistent&rsquo; cookies are assigned to aid using the website effectively and remember when a user visits again. While users can use the browser option to delete or block cookies at any time, if you prefer doing so, it may not be possible for you to use or access certain site features and functions.</p>\r\n\r\n<p><strong>How the information collected will be used?</strong></p>\r\n\r\n<p>WishABaby may use any of the information collected from the users in one of the following ways.</p>\r\n\r\n<p>1. &nbsp;&nbsp;&nbsp;To provide services: WishABaby uses personal information of users to provide services effectively. Collected information helps us personalize the experience of our users. Cookies collected allow the website to respond better to the individual needs and serve them in a personalized way.</p>\r\n\r\n<p>2. &nbsp;&nbsp;&nbsp;To improve our services: WishABaby strives to continually improve its service offerings based on the user information and feedback received. We also use the information to respond to our customer requests and support needs.</p>\r\n\r\n<p>3. &nbsp;&nbsp;&nbsp;To process transactions: We will use the collected payment information for processing user membership/registration or subscription.</p>\r\n\r\n<p>4. &nbsp;&nbsp;&nbsp;For customer service: We do use user data for promotions of our products and services, and conduct surveys or other promotional activities.</p>\r\n\r\n<p>5. &nbsp;&nbsp;&nbsp;To send periodic emails: WishABaby may send confirmation emails, newsletters, and other service-related messages to the email address provided during registration. We also use email ids to send across confirmation emails, to respond to inquiries, requests or queries, and/or other messages concerning members&rsquo; relationship with us.</p>\r\n\r\n<p>6. &nbsp;&nbsp;&nbsp;To provide customized user-experience: We may use your IP addresses or other personal data obtained via browser cookies to recognize your site visits to show ads or other content tailored to individual user preferences, demographic and usage patterns. Tracking IP address also helps prevent any type of information misuse, and aids to detect frauds or abuses.</p>\r\n\r\n<p>7. &nbsp;&nbsp;&nbsp;For legal matters: We may monitor, access, remove, alter, save or use any personal data if we find that you have or might have breached our terms,as a precaution to protect other members, to enforce rights, and if we are asked to do so by law or appropriate authorities.</p>\r\n\r\n<p><strong>How do we protect your information?</strong></p>\r\n\r\n<p>&bull; &nbsp;&nbsp;&nbsp;To ensure the privacy of our users, we have implemented several security measures that help maintain and safeguard users&rsquo; personal information from being accessed.</p>\r\n\r\n<p>&bull; &nbsp;&nbsp;&nbsp;All information, whether private or public, will not be sold, transferred, traded, or otherwise given to third parties or companies for any reason whatsoever, without the user consent. However, we do give access to trusted third parties who are part of our services, website operations, or business, as long as they agree to keep that user information confidential.</p>\r\n\r\n<p>&bull; &nbsp;&nbsp;&nbsp;Information that is not personally identifiable may be provided to other companies and third parties for advertising, marketing, or other uses.</p>\r\n\r\n<p>&bull; &nbsp;&nbsp;When third party products and services are offered through our website, we are not responsible or liable for the content or activities of these sites as they have independent privacy policies. Nonetheless, we try to protect our integrity and welcome any constructive feedback on such issues.</p>\r\n\r\n<p>By using WishABaby website, you give your consent to our aforementioned privacy policy. We, at our own discretion, may decide to change or update our privacy policy occasionally and will post those changes on this page. The modifications will be clearly reflected in the date mentioned below. Users are, hence, requested to keep checking the policy for any updates once in a while.</p>\r\n\r\n<p>This policy was last modified on September 16, 2017</p>\r\n', 'Privacy Policy - WishABaby', 'Privacy Policy - WishABaby', 'Privacy Policy - WishABaby', 5), (41, 'Lifestyle and Fertility', 'lifestyle-and-fertility', 9, '<p><strong>Lifestyle and Fertility</strong></p>\r\n', 'Lifestyle and Fertility', 'Lifestyle and Fertility', 'Lifestyle and Fertility', 3), (42, 'Recipes for Health', 'recipes-for-health', 9, '<p><strong>Recipes for Health</strong></p>\r\n', 'Recipes for Health', 'Recipes for Health', 'Recipes for Health', 4), (43, 'Role of IVF Centers/Fertility Clinics', 'role-of-ivf-centers-fertility-clinics', 10, '<p>Role of IVF Centers/Fertility Clinics</p>\r\n', 'Role of IVF Centers/Fertility Clinics', 'Role of IVF Centers/Fertility Clinics', 'Role of IVF Centers/Fertility Clinics', 1), (45, 'Get Your Clinic Listed Here', 'get-your-clinic-listed-here', 10, '<p><strong>Get Your Clinic Listed Here</strong></p>\r\n', 'Get Your Clinic Listed Here', 'Get Your Clinic Listed Here', 'Get Your Clinic Listed Here', 4), (46, 'Infertility', 'infertility', 6, '<p><strong>Infertility</strong></p>\r\n', 'Infertility', 'Infertility', 'Infertility', 4), (47, 'Fertility Testing', 'fertility-testing', 6, '<p><strong>Fertility Testing</strong></p>\r\n', 'Fertility Testing', 'Fertility Testing', 'Fertility Testing', 5), (48, 'Effecting Factors', 'effecting-factors', 6, '<p><strong>Effecting Factors</strong></p>\r\n', 'Effecting Factors', 'Effecting Factors', 'Effecting Factors', 7), (49, 'Infertility Causes and Treatment', 'infertility-causes-and-treatment', 6, '<p><strong>Infertility Causes and Treatment</strong></p>\r\n', 'Infertility Causes and Treatment', 'Infertility Causes and Treatment', 'Infertility Causes and Treatment', 8), (50, 'Alternative Therapies', 'alternative-therapies', 6, '<p><strong>Alternative Therapies</strong></p>\r\n', 'Alternative Therapies', 'Alternative Therapies', 'Alternative Therapies', 9), (51, 'Glossary of Common Terms', 'glossary-of-common-terms', 6, '<p><strong>Glossary of Common Terms</strong></p>\r\n', 'Glossary of Common Terms', 'Glossary of Common Terms', 'Glossary of Common Terms', 11), (52, 'Pregnancy – Important Aspects', 'pregnancy-important-aspects', 11, '<p><strong>Pregnancy &ndash; Important Aspects</strong></p>\r\n', 'Pregnancy – Important Aspects', 'Pregnancy – Important Aspects', 'Pregnancy – Important Aspects', 1), (53, 'Signs and Symptoms of Pregnancy', 'signs-and-symptoms-of-pregnancy', 11, '<p dir=\"ltr\" style=\"text-align:center\"><span style=\"font-size:26px\"><strong>Signs &amp; Symptoms of Pregnancy</strong></span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\">At WishABaby, we are committed to not only ensuring that you have a healthy family but also a happy one. And the first sign towards beginning a family is getting pregnant! So let us tell you a few signs and symptoms, which may though vary from person to person, are most commonly associated with being pregnant.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>A Missed Period</strong></span></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">If you&#39;re in your childbearing years and more than a week has passed since the expected onset of your menstrual cycle, then you might be pregnant. But, this symptom can be a misleading one if your menstrual cycle has been an irregular one in the past.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>Nausea (with or without vomiting)</strong></span></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">Usually termed the morning sickness, such nausea can strike at any time of the day. It usually sets in after 30 days of conceiving the child. Pregnancy hormones likely play a role in this regular nausea during this 9 months of period.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>Increased Urination</strong></span></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">You may find yourself urinating more often than usual every day. Do not worry, just learn that the body-blood increases during pregnancy which causes the kidneys to process extra fluid. And this extra fluid ends up in the bladder to be expelled as urine.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>Tender &amp; Swollen Breasts</strong></span></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">The first trimester usually starts with preparing the breasts towards lactation and might make your breasts sensitive and sore due to hormonal changes in the body. This discomfort will tone-down with time once the body accommodates itself to growing hormonal changes to accommodate the baby inside you.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>Fatigue</strong></span></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">Uneasiness and loss of strength are among the few early symptoms of pregnancy. During early pregnancy, progesterone levels soar, which mostly make the women feel sleepy. Nothing to worry about, consult your gynecologist if you find yourself with a lot of fatigue and uneasiness.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>Light Bleeding or Spotting</strong></span></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">The last thing a woman who is attempting to get pregnant would like to see is spots of blood on her undergarment. But if you notice just light spotting around the time your period is due, don&#39;t panic. It could be implantation bleeding. About 1 in 4 women experience spotting during the first trimester, thus there is absolutely nothing to worry about. But if it is beyond spotting and is accompanied by pain, then you must see your doctor immediately.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>Cramps</strong></span></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">Similar to sore breasts, occurrence of cramps is among the early signs of pregnancy. But if cramping is more and is severe, do consult your doctor. And this becomes all the more a case of immediate action if cramps are accompanied by bleeding outside of your menstrual period scheduled dates.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><strong><span style=\"font-size:16px\">High Basal Body Temperature</span></strong></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">If you are planning a pregnancy, it is always advisable to chart your body temperature. A slight high is indicative of pregnancy. The basal (or waking) temperature peaks when you ovulate, then gradually falls down during the latter part of your menstrual cycle till the time your period begins. But if you get pregnant during the cycle, your basal temperature will stay high.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>Food Cravings And Aversions</strong></span></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">While some women take to eating finger-licking spicy stuff, other develop a repulsion from certain food items and even their smell. For example, some develop repulsion to the smell of eggs, which are full of vital nutrients for the baby. Common aversions during the first trimester include meat, onions, and eggs. But as every individual is different, these aversions may go beyond the items mentioned here.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>Bloating</strong></span></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">Abdominal pain or tightening of the upper abdomen, resulting in bloating, belching, and passing out gas, may indicate an early pregnancy. Though it may continue for the entire nine months depending on the physiology of the woman as well as the diet components. Bloating is caused scientifically by the boost in progesterone and estrogen, causing a women&#39;s belly to swell up during early pregnancy. Yoga and light exercise can help get rid of this. Do not pop-antacids or anti-flatulence drugs without consulting a doctor.</p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\">Aforementioned are the most common symptoms that are observed in women upon conception. However, occurrence of signs and symptoms may differ from women to women. While a few may get all the symptoms listed above and even more than what is mentioned here, a few others may not experience much of them at all. Hence, it is always better to confirm pregnancy using home-based pregnancy kits and finally through your doctor.</p>\r\n', 'Signs and Symptoms of Pregnancy', '', '', 2), (54, 'Home-based Pregnancy Tests', 'home-based-pregnancy-tests', 11, '<p><strong>Home-based Pregnancy Tests</strong></p>\r\n', 'Home-based Pregnancy Tests', 'Home-based Pregnancy Tests', 'Home-based Pregnancy Tests', 3), (55, 'Pregnancy Health', 'pregnancy-health', 11, '<p>&nbsp;</p>\r\n\r\n<p>&nbsp;</p>\r\n', 'Pregnancy Health', 'Pregnancy Health', 'Pregnancy Health', 4), (57, 'Induced Lactation', 'induced-lactation', 11, '<p style=\"margin-left:0in; margin-right:0in; text-align:center\"><span style=\"font-size:26px\"><span style=\"font-family:&quot;Calibri Light&quot;,sans-serif\"><strong><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\">Induced Lactation</span></strong></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\">It is evident that child birth induces natural lactation in women. But what if a woman doesn&rsquo;t give birth to a child and instead opts for adoption or surrogacy due to medical or any other issues? Do such children remain devoid of the nutritious breastmilk, which is otherwise, owing to its goodness, advised as the only diet for infants up to six months of age? This is where induced lactation gains significance.</span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\">Induced lactation is the term used when a mother opts to breastfeed a child that is biologically not born out of her. This generally happens in the case of either an adoption or surrogacy, wherethe woman is induced to feed the child upon stimulating lactation in her breasts.&nbsp; </span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\">Induced lactation is also the term for a lactating mother who might not be currently breastfeeding but will go on to adopt a child and nurse an infant not born out of her. When such mothers wish to breastfeed the child, which, in fact, also serves to develop a special bond between the child and the mother, they opt for induced lactation. </span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\">You will learn about how this adoptive breastfeeding happens on this page below.</span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><strong><span style=\"font-size:16.0pt\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\">How to Induce Lactation?</span></span></strong></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\">Frequent and effective breast stimulation is the first and foremost way to induce lactation. And following this step, milk removal, once it begins to flow, is the next most important step. There are additional methods that canalso be employed to stimulate breasts,such as Galactagogues, Hormonal Stimulation, etc. But these too will work effectively to induce lactation only if an effective breast stimulation has been done prior or side-by-side to these. Otherwise, these will be a futile effort and wastage of time and energy of the lactating mother.</span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><strong><span style=\"font-size:16.0pt\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\">What can be done to Induce Milk Supply?</span></span></strong></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\">1. Stimulating both the breasts either together or one by one is a must to induce lactation. This needs to be done for over 100 minutes every single day. More is the frequency of great stimulation, quicker is the milk flow to build up. A newborn, on an average, needs milk every 2 hours, which ideally amounts to a feeding-need of 10-12 times per day. So mothers have to work out the breast-stimulation accordingly. Not compulsory to stimulate both breasts at one go, but it surely saves time.</span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\">2. The milk production and ejection reflex can be trained upon the mothers. Yes, at WishABaby, we suggest you to keep positive thoughts, listen to some soothing music, read good literature, build a close bond with your child, and get involved in activities that help reduce your stress levels. Stress or depression can obstructthe development of hormones that are involved in milk ejection. Thus, try to stay happy and healthy, and this will help you a long way through.</span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\">3. While feeding the child, and even beyond that, build a skin-to-skin bond with your baby. This not only helps release more milk but also helps you connect better with the child who has not born out of your own body. Mothers&#39; touch is the best bond and helps maximise a mother&rsquo;s breastfeeding hormones.</span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\">4. Pharmacological and/or herbal galactagogues while breastfeeding also stimulate breastmilk supply. But before you go on to take any of these,simply on the basis of what your friends/family told you, we would advise you to consult your doctor about whatis safe for you, since no two bodies are the same physiologically. Besides, oatmeal is also known to increase milk supply, but if your weight is below the BMI, it would be better to consult your doctor.</span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\">5. Alternative therapies like acupuncture and acupressure are also known to increase a mother&rsquo;s milk supply. But this needs to be done under proper guidanceand should be taken into account only when all other procedures have failed. Rather go for meditation and Yoga, which is so far considered to be the safest.</span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\">6. Along with all the above factors, comes the precious support of family and friends. Yes, this one important factor is a must to keep you stress-free. Adoptive breastfeeding has a lot of challenges and stress which can only be relieved with the help of family and friends who can help you tone up your thoughts and stay positive towards your child.</span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><strong><span style=\"font-size:16.0pt\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\">How to Prepare Your Body for Induced Lactation?</span></span></strong></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\">If you have some time on hand (a few weeks or months) before getting the baby, as in case of surrogacy or adoption, you can prepare your body for the breastfeeding needs of the baby. This can be done with the help of a few medications,like oral birth control pillsthat contain estrogen and progesteroneand serve to mimic pregnancy hormones in your body. Taking these pills each month under the advice and supervision of a medical practitioner can help ease out the path to lactation ahead.&nbsp; </span></span></span></p>\r\n\r\n<p style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:12pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;\">One thing that should be always kept in mind is that medical science is not a game, and hence any kind of experimentation with the body should be strictly avoided. Yes, equipping yourself with necessary knowledge certainly helps, but if you really wish to win the battle, you do need a consultation with a medical expert. Only your doctor can guide you in the best manner and can ensure that your hopes work.</span></span></span></p>\r\n', 'Induced Lactation', 'Induced Lactation', 'Induced Lactation', 6), (58, 'Milk Banks', 'milk-banks', 11, '<p><strong>Milk Banks</strong></p>\r\n', 'Milk Banks', 'Milk Banks', 'Milk Banks', 7), (59, 'The Initial phase as New Parents', 'the-initial-phase-as-new-parents', 12, '<p style=\"text-align:center\"><span style=\"font-size:26px\"><strong>The Initial Phase as New Parents</strong></span></p>\r\n\r\n<p style=\"text-align:justify\">&nbsp;</p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\">Are you a brand new parent? Well, many congratulations from the entire team at WishABaby! May your little bundle of joy brings to you the biggest pleasures in life!!</p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\">So how are you finding this initial phase of parenthood? Tiring? We understand! But don&rsquo;t sweat over it. We are here to help you out with some major tips and know-how that will make the phase really easy for you, mentally as well as physically.</p>\r\n\r\n<p style=\"text-align:justify\">&nbsp;</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>Handle the Baby Correctly</strong></span></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">How you handle your baby is very important, especially during the initial weeks of life. This is the time when your baby is extremely feeble and any mishandling can lead to major health issues. Hence, whenever you pick your child up, make sure that you support your baby&#39;s head and neck with your arms. Don&#39;t shake the baby or throw in the air; it can have a serious impact on your baby&rsquo;s health, and can be life threatening at times as well.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>Things to be Kept Handy</strong></span></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">Always keep handy an extra set of clothes, diapers, wet tissues, a few newspapers, a water bottle, and a sanitizer in the baby&rsquo;s bag. You never know when the need arises. Ensure that you keep a box of good quality wet tissues at your home as well as in your vehicle. Helps keep the baby clean as and when required since babies, till they are six-month old and even after that, tend to poop, spill, or throw-up milk, a lot.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>Do Not Over Do Hygiene</strong></span></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">Do not keep your babies wrapped in baby-bags all the time. Let them be free. Let them explore the new world around them, let them crawl, let them play. Don&#39;t keep sterilising everything around them, instead let them accept the nature as it is. But yes do ensure they don&#39;t get dirt or anything dirty into the mouth. This play-amid-nature helps boost the kid&#39;s immune system which can only happen when they counter common germs. Remember your own carefree childhood? Your kid needs the same.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>Avoid Exposure to Loud Sound</strong></span></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">Some parents are adventurous enough to tag along the child wherever they go, even to music festivals and cinema halls. Please avoid this if your baby is just a few days or hardly a few months old. Your child needs at least six months after birth to develop a strong hearing system. Till then, any loud sound will be harmful to his/her ear-drums. So be adventurous but with caution. Take him/her to the garden, to parks, to travel amid nature. Expose the baby to the natural sounds of birds, wind etc. rather than noise.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>Let the Baby Cry Out</strong></span></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">It is not always a solid diaper or something else that baby is bugged about that is making him/her cry. Crying is the way babies communicate. You&rsquo;ll notice that your crying baby will suddenly turn into a smiling and blushing angel the moment you pick him/her up in your lap or start to sing a lullaby. That&rsquo;s because your baby was trying to tell you to do so. But no, it doesn&#39;t mean that cuddling will always console them. If you notice the cry is constant and nothing works, then do consult a doctor.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>Snuggle Your Baby a Lot</strong></span></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">Nothing can help make a better bond between you and your child than the touch-therapy. Hence, do make it a point to snuggle a lot with your baby. It will help strengthen your relationship with your baby and will help you understand his/her needs and requirements better. Don&#39;t worry about creating bad habits. A sung or cuddle is different from carrying your baby the whole day in your arms.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>Stay Away from Mommy Wars</strong></span></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">No two children are the same and so are no two mothers. Hence assess your work and home environment and feasibility of time and resources, and accordingly plan what is best for your child. Neither try to be a supermom, nor a robot. Don&rsquo;t compare yourself and your baby with others. Go by what the doctor says and not by what your neighbours or friends suggest. True, the experience of others does count, but can&#39;t always be right in your case.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>Let Breastfeeding be Natural</strong></span></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">Ideally, the baby should be fed every 2 hours. But that doesn&rsquo;t mean waking up the baby middle-of-the-night to stick to the 2-hour feeding cycle. While it is good that you do take complete care of your baby&rsquo;s diet requirements, let the demand-supply be made naturally habitual. It is a natural cycle for the baby to demand food by crying out or making gestures. Let that happen on its own. This will help you in the long run as well. Also, remember to never force-feed your child. It may harm the body&#39;s digestive system.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>A Warm Body is Not Always Fever</strong></span></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">Yes, don&#39;t panic if you find your little baby a bit more on the warmer side than you. A baby&#39;s body is usually warmer than that of the adult. But if the warmth rises above 100 degrees Fahrenheit and persists for more than half an hour, then surely consult a doctor.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>Dress Up Your Child in Comfortable Clothing</strong></span></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">When it is about your babies, do not go by fashion and trends. Choose the clothing that is comfortable for them. Prefer buying clothes that are soft in texture, neither too tight nor too frilly or loose. Dress your child in the clothes that let him/her feel free, breathe free, and play carefree. Even in winters, the innermost clothes must have enough breathing space for the lungs as well as the skin. Otherwise, despite everything done, your child will feel the discomfort and keep on crying.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>Have an Adjustable Car-seat</strong></span></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">This is especially important for those parents who have to drive alone with the child. Don&#39;t plonk your child in the car like a teddy-bear. Ensure you have an adjustable car seat and have a safety seatbelt attached.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>Use Diapers Only When Required</strong></span></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">Keeping the baby in diapers all the time can cause rashes on your baby&rsquo;s soft skin. Hence, try and limit the use of diapers to only when you are travelling or may be at nights to ensure a sound sleep for the baby. Let the baby&rsquo;s skin breathe freely. It is also important for healthy growth of the genitals.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>Learn to be Flexible</strong></span></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">It&rsquo;s a good idea to learn to be a little flexible with your schedule. Now since you are proud parents of a little baby, a lot will revolve around the baby&#39;s needs, rather than your own. So better prepare to accept a bit of flexibility in your time scheduling, your eating habits, your living standard, as well as many other such factors that you will come upfront with passing time.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>Say NO to Pre-Packaged Food</strong></span></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">Packed juices and food items have a lot of preservatives which though an adult body can adapt with time, but in case of children, they can cause harm to the developing digestive organs. Some children are even found to be allergic to certain preservatives. It is hence always better to avoid giving any kind of packaged food to your little ones. Ensure that the child is only and only breastfed until the age of six months, after which you should give fresh home-made food to the child. You can also consider deep freezing fresh stuff and using it later, but this should also be kept limited for emergency cases only.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>Don&#39;t Forget Yourself</strong></span></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">You as a parent, are as important as the baby. Never neglect yourself, or your health concerns for that matter, because anything that affects you is ultimately going to affect your baby and your entire family. So do take good care of yourself if you really wish to take good care of the baby and the family. Make sure you go for timely vaccinations and regular health checks. Since the baby stays closest to you, highest are the chances of the baby catching-up an infection from the parents than outsiders. So keep the focus on staying healthy, to keep your child healthy and off the secondary infections. And in case you do catch an infection, especially viral, try maintaining a safe distance from the baby as far as possible.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>Give Time to Each Other</strong></span></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">Remember that before being parents, you were a cool, loving, doting couple. Don&#39;t let over-devotion to the child create a distance between you two. You can still date with each other or simply cuddle over a good movie or food or any other common interest.</p>\r\n', 'The initial phase as new parents', 'The initial phase as new parents', 'The initial phase as new parents', 1), (60, 'Your Body Post Childbirth', 'your-body-post-childbirth', 12, '<p style=\"text-align:center\"><span style=\"font-size:26px\"><strong>YOUR BODY POST CHILDBIRTH</strong></span><br />\r\n&nbsp;</p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\">Pregnancy is the most beautiful change a woman&#39;s body goes through. And this process of body-transformation does not stop here. It continues even after child-birth.</p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\">But do you know this particular phase, called the post-partum phase, is the time when your body needs almost equal care as it needed during the nine months of pregnancy? Yes, that&rsquo;s right! And, this is because your body undergoes a lot of changes after you give birth to your baby, and as such, it becomes extremely important for a woman, as well as the people around her, to know and understand about these changes well in time. This will not only help you to stay prepared for the changes that are about to come post pregnancy but will also save you from getting into depression or panic mode.</p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\">Listed here are a couple of changes that a woman&rsquo;s body generally goes through upon child-birth:</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><strong>LOSS OF HAIR</strong></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">An average person loses about 100 strands of hair per day! But due to raging hormones, a pregnant woman faces more hair loss, which further goes up after childbirth. No point wasting time in worrying, give time to yourself, take a healthy diet and your body will on its own make up for the lost hair.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><strong>SKIN DISCOLOURATION</strong></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">This is also called the &quot;Mask of Pregnancy&quot; in common language, which is nothing but usually the tanning around your eyes that you get during your pregnancy phase. Once the child is born, you will notice this tan to fade away. Even the acne that you were facing during pregnancy, will stop erupting within weeks of your child being born.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><strong>FLUSHED, SWOLLEN BREASTS</strong></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">It is but natural since your body is now ready to feed the child. Besides, the baby-suckling will also add up to it. Once natural breastfeeding comes to an end, the breasts will sag due to the stretched skin. Do not worry about this or even for some sort of milk leakage for a few weeks, even if you don&#39;t breastfeed. This is a natural process. Lactation takes time to stop. Let it be natural, do not pop pills.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><strong>STOMACH CHANGES</strong></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">You will light in the abdomen area with the baby already out. Also, that mysterious brown line which is usually seen down the center of the lower abdomen will shortly vanish. But, what will stay longer are those stretch marks. They may change color with time, but they are not going anywhere in near future. We at WishABaby call them &#39;beauty-marks&#39; since not all women get the pleasure of carrying a baby so beautifully. Let them take time to blend with your skin. And till then, do some Yoga and Eat Healthy to get back in healthy shape as before!</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><strong>BACK-ACHE</strong></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">The stretched-abdomen muscles that underwent a lot of strain during pregnancy will take time to get back to their original place and shape. And thus, the back-pain will take a few weeks to go. All you need to do is some light exercise/ Yoga under supervision. Plus, do focus on maintaining the right body posture. Generally, the backache pushes off within six weeks of giving birth. But if it still persists, we would suggest you to visit a medical practitioner.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><strong>INCONTINENCE OR DIFFICULTY IN URINATION</strong></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">Urination goes up and is more frequent with the baby inside you pushing the urethra, thus pushing out urine. And this pressure will kind-of vanish post childbirth. Two things happen due to this:</p>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">One - Pressure on the urethra during delivery at times makes urination quite difficult postpartum.</p>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">Two - Incontinence or a urinary tract infection is common post child birth which is symptomatic with urination.</p>\r\n\r\n<p style=\"margin-left:40px; text-align:justify\">Do not worry, your doctor will suggest the right remedy. Avoid popping pills on your own.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><strong>CONSTIPATION</strong></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">Constipation is a common feature prevalent during pregnancy, and it will take a two to three weeks&rsquo; time to get back to normal bowel movement post childbirth. Remember, since pregnancy is not magic, so is child-birth. Your body needs time to get back to normalcy.</p>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">Piles or hemorrhoids are very common after childbirth, but they tend to disappear completely within a few days. Take plenty of fibrous foods with milk, water, and juices to regulate bowel movement. Again, do not take any medications at will, thinking now the baby is out, so you can attempt self-medication. Remember, you are still feeding the child. Try to treat the issues naturally.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><strong>VAGINAL DISCHARGE</strong></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">Shortly after delivery, there will be some vaginal discharge, which is mostly blood left out from the uterine lining that held your baby during pregnancy. Do not worry, this is termed LOCHIA and may last for three to four weeks. But if it is tremendous with uncontrolled pain, immediately consult a doctor.</p>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">Do not go for an inter-course in this situation. Also if you are breast-feeding, your normal menstrual cycle may not start at a normal time. So consider it to be absolutely normal if your menstrual cycle starts two or three months later.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><strong>EXCESSIVE SWEATING</strong></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">Your body accumulated extra fluids during pregnancy to nurture the baby and to keep him hydrated. You may thus start experiencing excessive sweating especially during the night after childbirth.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><strong>FLUSH OF RAISED ENERGY LEVELS</strong></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">Pregnancy generally brings in lethargy as the growing fetus consumes all your energy to develop. Hence, once you give birth to your child, you will suddenly experience a flush of hormones that will boost energy levels. But then taking care of the child is very exhaustive, so this will only be temporary! Utilise it well, since some women do complain of getting moody after this flush-of-energy is over. Blame the hormones and not the doctor. Take a healthy diet.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><strong>MOODY-MOM SITUATION</strong></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">While some women get very irritable after childbirth, others tend to weep a lot. For most women, this situation subsides within 10 days of the delivery, for others it may last longer. However, in case you feel over depressed or too moody for quite an extended period of time, do visit your doctor and get the things checked.</p>\r\n', 'Your body after birth', 'Your body after birth', 'Your body after birth', 2); INSERT INTO `submenu` (`submenu_id`, `submenu_name`, `submenu_slug`, `submenu_menu_id`, `submenu_content`, `submenu_title`, `submenu_keyword`, `submenu_description`, `submenu_order`) VALUES (61, 'Post Delivery Nutrition', 'post-delivery-nutrition', 12, '<p style=\"text-align:center\"><span style=\"font-size:26px\"><strong>Post Delivery Nutrition</strong></span></p>\r\n\r\n<p style=\"text-align:justify\">&nbsp;</p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\">We at WishABaby care about you, not just to ensure you have a child, but also how to take care of yourself once the childbirth has happened. WishABaby is not just about the baby, but you, since the baby&#39;s health depends on your health, directly as well as indirectly.</p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\">So what all necessary precautions, steps, and diet you must take post-delivery? Here is a comprehensive list for your help:</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>Eat Smaller, Frequent Meals</strong></span></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:80px; text-align:justify\">Smaller meals and frequent meals are necessary for a new mother since lack of sleep and other exhaustion take a lot of energy away. Frequent balanced diet help maintain the blood sugar level to a safer side. If your sugar level dips, acute fatigue may set in. Ensure it doesn&rsquo;t happen. Hard-boiled eggs, boiled-slightly-salted vegetables and celery, or cheese and fruits&#39; slices are quick and healthy snacks that can be consumed frequently during the day.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>Take Lots of Fluids</strong></span></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:80px; text-align:justify\">Drink plenty of juices and water. It will helps the body get rid-off toxins as well as regulate necessary nutrition already taken into the bloodstream via food.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>Avoid Empty Calories</strong></span></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:80px; text-align:justify\">Empty calories are the carbohydrate-based foods and drinks like muffins, cakes and even sugary drinks like the sodas. A new mother due to her postpartum exhaustion may get a quick-energy boost by consuming such items, but this will ultimately do more harm than help. Yes, these foods wreak havoc on the body&#39;s insulin levels and in short-term contribute to obesity and nothing else. Go for long-filling foods instead, like low-fat yogurt, fruits, hardboiled eggs, granola bars, bananas, raisins, nuts, etc. which might not give you instant energy but will fulfil your full-day energy demand.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>Say No to Alcohol</strong></span></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:80px; text-align:justify\">You might think what harm will one drink do? We agree, nothing. But since new mothers are already exhausted, thus even a small glass of wine can make them feel even more tired post dinner. Also, it actually has a negative effect on sleep. Thus, rather than helping the new mother to relax, the already sleep-deprived human will end up ruining her health. Rather to relax, look for advice from your doctor, especially if you have a strong craving for alcohol or if you have been a heavy drinker in the past.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>Must Haves in Daily Diet</strong></span></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:80px; text-align:justify\">See to it that you do include the below listed items in your daily diet:</p>\r\n\r\n<ul style=\"margin-left:80px\">\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\">6 1/2 ounces protein</p>\r\n </li>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\">2 cups fruit</p>\r\n </li>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\">3 cups vegetables</p>\r\n </li>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\">3 cups milk (low-fat or fat-free)</p>\r\n </li>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\">8 ounces whole grains which can either be cooked or soaked and used.</p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\">Also, we are listing below a few dietary components a new mother must not avoid:</p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>A) Protein-Rich Foods</strong></span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\">Minimum Daily Servings: 3 if breastfeeding and 1 if bottle-feeding)</p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\">One Serving is: 1 oz. fish or other seafood / 1 oz. mutton or chicken + 1 boiled egg + 1/2 cup cooked beans (lentils or kidney bean) + 1/4 cup of dry fruits like Almonds, Dry Grapes, Walnuts, Pistachio, etc.</p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>B) Milk Products (calcium-rich)</strong></span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\">Minimum Daily Servings: 3 for both breastfeeding and bottle-feeding</p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\">One Serving is: 8 oz. milk or yogurt + 2 cups cottage cheese + ice-cream to change your mood!</p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>C) Breads, Cereals, and Grains (at least four as whole grain)</strong></span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\">Minimum Daily Servings: 6 if breastfeeding and 4 if bottle-feeding</p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\">One serving is: 1 Slice Brown Bread/ 1 Chapati + 1/2 Cup Flour Pasta/Noodles or Rice + 1/2 cup any other cooked cereals + 1 small pancake or waffle</p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>D) Vitamin C-Rich Fruits &amp; Vegetables</strong></span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\">Minimum Daily Servings: 2-3 for both breastfeeding and bottle-feeding</p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\">One serving is: One Whole Orange / Tomato / Lemon</p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\">You can consume these by adding to juices or soups made with other fruits or vegetables since new moms have a tendency to get bored with daily dose of the same food.</p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>E) Vitamin A-Rich Fruits and Vegetables</strong></span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\">Minimum Daily Servings: 1 for both breastfeeding and bottle-feeding</p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\">One serving is: One Whole Big Carrot/ 3 Fresh Apricots/ 1/2 Cup cooked green leafy vegetables/ One Mango</p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>F) Unsaturated + Saturated Fats</strong></span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\">Minimum Daily Servings: 3 for both breastfeeding and bottle-feeding</p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\">One serving must include 1 tsp of a vegetable oil (canola, safflower, corn, olive). If not available, you can go for 1 tsp. salad dressing which can be mayonnaise-based. 1 tsp of White butter must be consumed morning and evening daily. Among fruits, Avocado is the only one that can provide a good amount of fat to your body. Other sources are nuts like Almonds, Walnuts, etc.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>Take Ample Rest</strong></span></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">Over and above all, ample rest is the prime requirement for a new mother. Childbirth is not only about excitement and joy, but exhaustion as well. So the new mother has to be careful not to burn her energy out by regulating sleep hours and new responsibilities.</p>\r\n\r\n<ul style=\"margin-left:40px\">\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\">Try to nap when your baby naps.</p>\r\n </li>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\">Stay flexible in your routine so that you can even eat at odd hours and sleep as well when your body needs rest.</p>\r\n </li>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\">Don&#39;t shy to seek physical help from a family member or a helper.</p>\r\n </li>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\">Plan an outing when need be; mental exhaustion takes a toll on the body in a stronger way than physical. So, ensure you get a change.</p>\r\n </li>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\">Remind yourself &quot;I am equally important since I am the one who has to take care of the baby, at the end of the day&quot;</p>\r\n </li>\r\n</ul>\r\n\r\n<p>&nbsp;</p>\r\n', 'Post-delivery nutrition', 'Post-delivery nutrition', 'Post-delivery nutrition', 3), (62, 'Healthy weight loss post child birth', 'healthy-weight-loss-post-child-birth', 12, '<p style=\"text-align:center\"><span style=\"font-size:26px\"><strong>Healthy Weight Loss Post Childbirth</strong></span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\">If you are here on this page, this means that you have gone through the out of the world experience of childbirth. Dear ladies, you deserve to take a bow for demonstrating some outstanding strength for not only bearing the baby within yourself for 9 long months but also to take the exceptional pain to introduce the baby to the world outside. No one else but only females can portray this much strength and courage, and we, at WishABaby, really salute that!</p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\">Coming to one of the major concerns of the new mothers, be it the working ones or the home-managers, which is about losing weight post childbirth. We understand your concerns and issues, and since we care for you, we would want you to make sure that you do lose weight but in a healthy way, since a sudden weight loss will be as harmful for you, as for your child.</p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\">Given below are a few easy steps that can help you stay fit and healthy. Go through each of them carefully and try adopting the same as a routine in your lifestyle for some healthy weight loss post childbirth.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>Do Not Skip Meals</strong></span></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">Crash dieting or even suddenly cutting down on what you eat can have adverse effects on your body. It will do more harm than any good. You probably feel that cutting down on your eating will help you lose the weight faster, but unfortunately, it leads to the opposite result. It is hence always better to plan a diet chart with your dietician. It is OK to eat a large scoop of a dessert at times, but see to it that you balance it with fruits and vegetables.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>Have Frequent Small Meals</strong></span></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">Instead of, say, three big meals a day, spread these out to five or six. You will not feel lazy and heavy at once. Moreover, the small portions will release energy through the day to keep you stay fit to meet the baby&#39;s needs like running around and even breastfeeding.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>Go for Balanced Calories</strong></span></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">A new mother needs a lot of calories, especially if she is breastfeeding. Thus balance out. Cut down at-once-intake of high-calorie food even if you are tired. It helps avoid displacing the insulin levels of the body. Balance out a dessert with eggs, fish, fruits, and vegetables.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>Stay Hydrated</strong></span></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">2-3 litres of water not only keeps you hydrated enough even when you are breastfeeding but also helps to flush off the toxins from your body. Hydration boosts metabolism, which is the most effective factor in reducing weight. Include various types of liquids in your daily diet beyond water, such as fresh juices, milkshakes, smoothies, soups, etc. They will keep you nourished as well as hydrated. &nbsp;Also, make sure to have water before each meal and avoid taking any for half an hour post having your meal.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>Exercise Moderately</strong></span></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">Yoga and meditation under the supervision of a trained professional is the best form of moderate exercise to take on post childbirth. Besides that, walking, slow jogging, swimming under supervision, and even aerobics to some extent, help out in losing body weight in a controlled and healthy way.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>Get Enough Sleep</strong></span></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">Lack of sleep leads to reduced metabolism and also in the disposition of the calories consumed. So make sure to take time for your sleep whenever the baby sleeps. If you need help from your partner or others in the family, don&rsquo;t shy away from asking for it.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>Watch Your Snacks</strong></span></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">Junk food, in the form of a filling snack, is one of the major causes of sudden weight gain, whether you are a new mother or a normal human being. The snacks thus should be healthy like nuts, chopped fruits, boiled vegetables with a dash of light masala and lemon to taste, roasted whole grains, boiled sweet corn, yogurt mixes etc. should be preferred and consumed.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>Dance-Off Your Weight</strong></span></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">Put on some music and sweat it out! Music is a great healer and it will help reduce the stress as well. But please be careful, you should consider this option only if you have passed the risk-period post childbirth.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>Cut Out Fat Wherever You Can</strong></span></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">A cheat diet is ok but only once in a while, say once a week. But to compensate, start cutting off the fattening and unhealthy items from your meals by replacing them with smart options. For instance, Potato Fries can be easily made in the oven, so why fry? Similarly, make dips of Yoghurt and not mayonnaise.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>Timely Eating is the Key</strong></span></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">An early morning breakfast, a noon lunch, and an evening dinner go a long way to boost your metabolism and help you lose weight in the most effective manner.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>Avoid Caffeine &amp; Alcoho</strong></span>l</p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">One of the most effective ways to not only lose weight but to stay healthy is to avoid caffeine and alcohol as much as possible. If you are tired, rejuvenate yourself with a steaming cup of green tea rather than a hot cup of coffee or a pint of whiskey.</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:16px\"><strong>Prefer to Have Home-Made Meals</strong></span></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"margin-left:40px; text-align:justify\">This is the best way to keep a watch on what you eat. Plus, the added benefit is that you intake a fresh meal every time and don&rsquo;t resort to frozen or packaged food items.</p>\r\n', 'Healthy weight loss post child birth', 'Healthy weight loss post child birth', 'Healthy weight loss post child birth', 4), (63, 'Health Screening', 'health-screening', 6, '<p dir=\"ltr\" style=\"text-align:center\"><span style=\"font-size:72px\"><strong>Health Screening</strong></span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:center\"><span style=\"font-size:26px\"><strong>An Inevitable Aspect of Conception</strong></span><br />\r\n&nbsp;</p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\">We, at WishABaby, believe that the true bliss of parenthood can only be experienced when the baby, as well as the parents, are completely healthy and in the pink. And, to ensure the same, health screening becomes a priority and an essential aspect. Health Screening is all the more important in case of IVF treatments as good health is directly proportional to the success rate of conception.</p>\r\n\r\n<p dir=\"ltr\">Hence, whether you are going ahead for the IVF treatment with sperms/eggs from your spouse or that of a donor, proper health screening of everyone involved should be given due consideration. Certain aspects of health screening that should be ideally covered, especially when you are going ahead with donor based conception, are:</p>\r\n\r\n<p dir=\"ltr\"><strong>Family Health History</strong></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\">In case you have opted to walk down the pregnancy aisle with a donated egg/sperm, it becomes important to make sure with your IVF expert that besides passing the health-tests, the donor also has a clean family health history. Some major health problems, if any, in the family tree, must be known to you, even if it was in the grandparents.</p>\r\n\r\n<p dir=\"ltr\">The family health scan is necessary to be known to rule out the probability of any of the following running in the family tree:</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><strong>Diabetes</strong>: Type 1 Diabetes, unfortunately, can&rsquo;t be prevented since it is genetic, but Type 2 can, with a healthy diet and apt physical exercise.</p>\r\n </li>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><strong>Glaucoma</strong>: Glaucoma may have a genetic link as well, and hence it is always better to know in case the donor has a history of glaucoma. Though glaucoma can&rsquo;t be completely prevented, it is better to know if it runs in the family tree so that it can be detected early and treated in time.</p>\r\n </li>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><strong>Malignant Melanoma</strong>: This is the most common and most critical form of skin cancer, which is known to run in the family tree. It is, hence always advised to check and ensure that the donor does not has any history of malignant melanoma in the family so that any odds can be strikeout right in the beginning.</p>\r\n </li>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><strong>Alzheimer&rsquo;s</strong>: There always lies a higher risk of developing Alzheimer&rsquo;s if it runs in the family. Thus, do confirm for the screen out of the same with your IVF expert before finalizing and accepting the sperm donation.</p>\r\n </li>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><strong>Allergy and Asthma</strong>: Asthma and certain allergies are also known to run in families. Hence, to ensure good health of the baby, it is always better to keep a check on any such issues with the donor.</p>\r\n </li>\r\n <li style=\"text-align:justify\"><strong>Depression</strong>: Though depression is often considered to be related to stress, it may be genetic as well, and thus it is always better to cross out any possibility of passing off of the same to the baby.</li>\r\n</ul>\r\n\r\n<p dir=\"ltr\"><strong>General Health Screening&nbsp;</strong></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\">The general screening basically comprises of physical examination, blood tests (including the ones to check out any existing genetic disorder, diabetes, hormonal disorders, etc.), Urine and Kidney Function Test, Complete Blood Count, Blood Pressure, as well as sexual health screening (infection testing).</p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><strong>Infection Screening&nbsp;</strong></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\">It is necessary to rule out any sexually transmitted infections, such as HIV, Hepatitis, Gonorrhoea, and Chlamydia.</p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><strong>Genetic Screening&nbsp;</strong></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\">Genetic screening forms one of the most important aspects of health check before proceeding for IVF treatment. We are sure you would agree that it would be the best to rule out a bad gene right from the beginning. It is hence recommended to ask for a screen-out for carriage of the Cystic Fibrosis gene and other such genetic disorders for the donor before taking any further steps towards the treatment.</p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><strong>Semen Analysis</strong></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\">This involves testing of the semen from the male partner to check for the sperm count, motility, and morphology, which serves as an important aspect impacting the probability of successful conception.</p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\">&nbsp;</p>\r\n', 'Health Screening', 'Health Screening', 'Health Screening', 0), (67, 'Pregnancy Myths and Misconceptions', 'pregnancy-myths-and-misconceptions', 11, '<p dir=\"ltr\" style=\"text-align:center\"><span style=\"font-size:36px\"><strong>Pregnancy Myths and Misconceptions</strong></span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\">Cutting-edge fetal research and the advances in IVF technology are openly challenging some of the conventional myths prevalent in the society about pregnancy, and have resulted in producing certain findings that may surprise you.</p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\">We at WishABaby present here 20 myths that you must throw out of your lives as a preparation towards conceiving a healthy baby. Myths are nothing else but clutter in the brain, and only when this clutter is cleared off, that you can experience the joy of carrying a new life inside you.</p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Myth 1: Pregnant woman should be eating for two</strong></span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><strong>REALITY</strong>: No scientific research has proved this so far. You need to eat a balanced diet rather than being a glutton. You can explore on the other pages on WishABaby to understand what is called a &lsquo;Healthy Diet&rsquo; and what kind of diet is ideal for an expecting mother.</p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Myth 2: Backaches are common during Pregnancy</strong></span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><strong>REALITY</strong>: No! It is not so. Do some simple changes and you can avoid a lot of painful time. Firstly, pay attention on how you sit or stand. Don&rsquo;t arch your body. Avoid wearing high-heeled shoes since they force you to arch your back which puts a lot of pressure on the lower body. Also, go for pelvic rocking to give your back a breather. Do some Yoga under expert guidance and you are done!</p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Myth 3: Pregnant females should avoid physical exercise</strong></span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><strong>REALITY</strong>: Actually, when a pregnant woman exercises, especially when she does Yoga, her fetus gets a beneficial workout that goes a long way in building healthy body cells. Fetuses of physically active pregnant women have better heart rates than those of less-active mothers. This is the best sign of the good cardiovascular health of the baby. Also, exercising mothers give birth to just the right-weight or at time lower weight babies but whose brains are bigger, leading to an intelligent adult at a later stage in life.</p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Myth 4: One should stay away from seafood during pregnancy</strong></span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><strong>REALITY</strong>: It depends from woman to woman, since some are Allergic to sea-food and some aren&#39;t. But the fact is that eating lots of fish during pregnancy produces smarter and healthier babies. Fish is high in omega-3 fatty acids and low in mercury. And consuming these during pregnancy produces babies that have a high verbal IQ, better social &amp;communication skills, and superior motor skills. This has been quite much published already in various research journals across the globe.</p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Myth 5: Slow heart-rate means a boy and vice versa means a girl</strong></span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><strong>REALITY</strong>: A developing baby&#39;s heart rate differs from day to day. It purely depends on the age of the fetus and the acidity level of the mother as well as that of the fetus on that particular day when it was monitored. Moreover, stress-related changes in the mother also affect the heart rate and blood pressure of her developing fetus.</p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><strong>Myth 6: Conception is equal to a nine-month wait</strong></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><strong>REALITY</strong>: Pregnancy is not just a 9 months of wait but a crucial period. It is nothing less than a scientific wonder. It is the time when the baby is being developed inside the body. Not only that, but it is the base that serves to develop the baby&rsquo;s immunity to fight diseases ahead in life. No wonder it is the subject of an exploding number of science journals and medical conferences taking place regularly across the globe.</p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Myth 7: Focus on things that can go wrong during pregnancy</strong></span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><strong>REALITY</strong>: There are no set parameters to predict what and when can go wrong. Studies are being conducted on this topic, and it has been so far found that it is actually the conditions in the womb that impact a lot of things. The prenatal period is the one where health-spring erupt both for the mother as well as the child, which also go a long way in determining the well-being of both after the childbirth. A lot of research is already taking place around the globe on the things that can be done to make these nine months the best possible time for a woman.</p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Myth 8: It is OK to drink once in a while</strong></span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><strong>REALITY</strong>: A few sips during a champagne toast or abstaining from alcohol completely, is ultimately a personal decision. But, yes numerous studies have linked drinking during pregnancy with an increased risk of fetal alcohol spectrum disorders (FASDs). Medical experts backed by ample research say that pregnant woman should completely avoid alcohol during pregnancy. So if you are drinking or have been a heavy consumer of alcohol, then stay in constant touch with your gynecologist.</p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Myth 9: Indulge in enrichment activities like playing music</strong></span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><strong>REALITY</strong>: The nine-month-long process is a crucial phase in preparing the baby to enter the outside world. As such, what is more important for the baby is to absorb the right kind of nutrients, emotions, and health hormones. Music and other such things come later to relax you and thus relax the child. Nutrition is primary, and so, the focus should be on your eating habits first.</p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Myth 10: Overweight babies are owing to family history or genetics</strong></span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><strong>REALITY</strong>: Pregnant women should keep a check on their weight during pregnancy. Women who gain more weight than suggested, have four times the risk of having an overweight child. And this condition will persist during offspring&#39;s adolescence. So eat healthy, stay active, and stay fit during the nine months of pregnancy if you wish to have a fit and active child.</p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Myth 11: Stress during pregnancy is always bad for the fetus and the mother</strong></span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><strong>REALITY</strong>: New research shows that a moderate level of stress is actually good for the fetus. It not only serves to tone the nervous system of the fetus but also accelerates its development. Women who experienced moderate stress during pregnancy, for instance, those who work in office till the last month, have been reported to have two-week-old infants with brains that work faster than infants of mothers without the same moderate stress.</p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Myth 12: Pregnancy must last nine months</strong></span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><strong>REALITY</strong>: This depends from body to body and a woman&#39;s physical health. There are multiple factors that decide childbirth and not just the expected due date given by the doctor.</p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Myth 13: Intercourse during pregnancy risks the baby</strong></span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><strong>REALITY</strong>: Go by the guidance of your doctor. You need not consider everything you hear from others as a rule. Each body is different and is unique.</p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Myth 14: Pregnant women must stay away from sweets</strong></span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><strong>REALITY</strong>: Chocolate is a big exception to this rule. Many renowned international researchers have revealed that pregnant women who eat chocolate every day have babies who show less fear and comparative tend to panic less in life when confronted with tricky situations in life. What more? The chocolate-babies, as some doctors call them, are generally found to smile and laugh more often than others.</p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Myth 15: Women must strive for an ideal or perfect pregnancy</strong></span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\">REALITY: Nothing is perfect in life driven by science. An ideal pregnancy is a myth. Instead, aspire to experience the joy rather than a medal. It is, hence, always better to fully enjoy the personal experience of carrying a new life inside you, instead of staying worried for what is right and what is not.</p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Myth 16: All women must feel happy during pregnancy</strong></span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><strong>REALITY</strong>: Studies show that pregnant women are just as likely to suffer mood disorders and even depression for no particular reason at times, as any other women. Psychiatrists estimate that about 20 percent of pregnant women experience anxiety or depression. So if you are pregnant, first of all, stop comparing yourself to any other pregnant woman around you, whether friends or family. And though mild stress at times is alright, in case you feel over depressed or too anxious, consult your doctor immediately. Therapy, Yoga, Meditation or even an antidepressant medication can help, whichever your doctor suggests. But do not pop pills at will; it will harm your baby.</p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Myth 17: Certain food leads to abortion</strong></span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\">REALITY: &nbsp;Common belief is that consuming papaya, pineapples, and eggs can induce abortion. It is, however, not so. As long as ripe fruits are consumed, there is no risk. Unless you are allergic to certain food items, you can include them in your diet in a healthy form. Eggs are a rich source of proteins and must be included in your diet unless you have a diagnosed allergy. However, in case you have any doubts regarding consumption of any particular food, it is always advised to consult with your doctor.</p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Myth 18: You need to prepare your nipples for breastfeeding</strong></span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><strong>REALITY</strong>: No research supports this belief. &nbsp;Both mother and baby adapt to suckling with time. No classes or toughening of nipples by external suckling devices can teach you to be a feeding mother. But, yes, breast-stimulation surely induces better milk supply. You can read more about the same on our &quot;Induced Lactation&quot; page under &lsquo;Pregnancy&rsquo; tab.</p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Myth 19: Baby-weight vanishes after delivery</strong></span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><strong>REALITY</strong>: It happens only in movies or with the women belonging to glamour world who follow a rigorous workout. The fact is you will lose only 10-15 pounds in a month from delivery. And this is, in fact, the right way. A sudden fall in weight will harm you in the long run. So, eat healthy, think calm, and exercise as per your stamina. There is no need to body-shame yourself.</p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Myth 20: Stay away from pets during pregnancy</strong></span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><strong>REALITY</strong>: Well, there is no need to give away your pets when you become pregnant. Yes, there is a disease called toxoplasmosis that does spread through cats and can be harmful if caught during pregnancy. But this happens only if you get into activities like removal of its feces without using gloves and mask. But, then that applies to gardening as well if you don&rsquo;t wear gloves and use a mask. In short, stay away from germs as far as possible but not your pets. Rather exchange a lot of love during pregnancy which would help you immensely to stay stress-free and happy.</p>\r\n\r\n<p style=\"text-align:justify\">&nbsp;</p>\r\n', 'Pregnancy Myths and Misconceptions', 'Pregnancy Myths and Misconceptions', 'Pregnancy Myths and Misconceptions', 0), (69, 'Natural Fertility', 'natural-fertility', 6, '<p dir=\"ltr\" style=\"text-align:center\"><span style=\"font-size:36px\"><strong>Restoring Your Natural Fertility</strong></span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\">As you know, we, at WishABaby, are on a mission to help you experience the beautiful feeling of parenthood, and hence are here to connect you with the best of IVF experts and clinics near you who can help fill your laps with a sweet, little bundle of joy.</p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\">However, before you resort to opting for IVF treatments, donor-based conception, or surrogacy to, we would first of all advice you to ascertain if something can be done to restore the natural fertility of your body.</p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\">Yes, nature-care is the foremost thing you must try, and hence we would suggest you to give due consideration to the following before jumping off to the treatment and other procedures:</p>\r\n\r\n<ul>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><strong>Healthy Lifestyle</strong></p>\r\n </li>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><strong>Detox Diet</strong></p>\r\n </li>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><strong>Self Fertility Massage</strong></p>\r\n </li>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><strong>Appropriate Nutrition and Diet</strong></p>\r\n </li>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><strong>Herbal Medicines</strong></p>\r\n </li>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><strong>Supplementation</strong></p>\r\n </li>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><strong>Acupuncture</strong></p>\r\n </li>\r\n <li dir=\"ltr\">\r\n <p dir=\"ltr\" style=\"text-align:justify\"><strong>Mind and Body Therapies</strong></p>\r\n </li>\r\n</ul>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\">And so on and so forth; whichever you pick, WishABaby will help you guide through it or connect you to the best one.</p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\">Many credible studies have proved the aforementioned aspects to have positively affected and boosted the natural fertility of the body. Reports have even revealed that using one or more of the above therapies can help double the pregnancy success rates from approximately 20% to almost 40%. Some studies have in fact reported up to 60% success rates in infertile females upon consumption of fertility boosting natural foods and supplements.</p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\">We, at WishABaby, do believe in miracles, and when miracles are backed by science and validated reports, they are always worth giving a try!</p>\r\n', 'Natural Fertility', 'Natural Fertility', 'Natural Fertility', 0); -- -------------------------------------------------------- -- -- Table structure for table `subscriber` -- CREATE TABLE `subscriber` ( `s_id` int(11) NOT NULL, `s_email` varchar(255) NOT NULL, `s_name` varchar(255) NOT NULL, `s_dob` varchar(20) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `subscriber` -- INSERT INTO `subscriber` (`s_id`, `s_email`, `s_name`, `s_dob`) VALUES (1, 'paurush.ankit@gmail.com', 'paurush ankit', '0000-00-00'), (2, 'paurush.ankit@gmail.com1', 'paurush ankit', '0000-00-00'); -- -------------------------------------------------------- -- -- Table structure for table `users` -- CREATE TABLE `users` ( `user_id` int(11) NOT NULL, `user_fname` varchar(100) NOT NULL, `user_sname` varchar(100) NOT NULL, `user_email` varchar(100) NOT NULL, `user_pwd` varchar(255) NOT NULL, `user_pwd_request` tinyint(1) NOT NULL, `user_status` int(11) NOT NULL, `user_type` varchar(100) NOT NULL, `user_gender` varchar(15) NOT NULL, `user_dob` date NOT NULL, `user_country` varchar(100) NOT NULL, `user_application` varchar(100) NOT NULL, `user_clinic_name` text NOT NULL, `user_clinic_website` text NOT NULL, `user_image` text NOT NULL, `user_service` text NOT NULL, `user_expert_qualification` text NOT NULL, `user_expert_job` text NOT NULL, `user_expert_specality` text NOT NULL, `user_add_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `user_profile_status` int(11) NOT NULL, `user_about` text NOT NULL, `user_education` varchar(255) NOT NULL, `user_profession` varchar(255) NOT NULL, `user_adl1` text NOT NULL, `user_adl2` text NOT NULL, `user_city` varchar(100) NOT NULL, `user_state` varchar(100) NOT NULL, `user_pin` varchar(10) NOT NULL, `user_mobile` varchar(15) NOT NULL, `user_tel` varchar(15) NOT NULL, `user_religion` varchar(200) NOT NULL, `user_relationship` varchar(255) NOT NULL, `user_sexuality` varchar(255) NOT NULL, `user_fertiity_treatments` text NOT NULL, `user_infertility_investigation` text NOT NULL, `user_storage` text NOT NULL, `user_interest` text NOT NULL, `user_rating` int(11) NOT NULL, `user_count_rated` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `users` -- INSERT INTO `users` (`user_id`, `user_fname`, `user_sname`, `user_email`, `user_pwd`, `user_pwd_request`, `user_status`, `user_type`, `user_gender`, `user_dob`, `user_country`, `user_application`, `user_clinic_name`, `user_clinic_website`, `user_image`, `user_service`, `user_expert_qualification`, `user_expert_job`, `user_expert_specality`, `user_add_time`, `user_profile_status`, `user_about`, `user_education`, `user_profession`, `user_adl1`, `user_adl2`, `user_city`, `user_state`, `user_pin`, `user_mobile`, `user_tel`, `user_religion`, `user_relationship`, `user_sexuality`, `user_fertiity_treatments`, `user_infertility_investigation`, `user_storage`, `user_interest`, `user_rating`, `user_count_rated`) VALUES (9, 'Paurush', 'Ankit1', 'paurushankit@gmail.com', '21feb1993', 0, 1, '1', 'Female', '1994-07-21', 'India', 'Single', '', '', 'Penguins.jpg', '', '', '', '', '2018-02-06 06:38:45', 0, 'everything u know', 'High School', 'Others', 'bbdit college, near drizzling land', 'duhai', 'Aurangabad', 'Bihar', '888888', '9876548976', '8765432323', 'Sikhism', 'Cohabitation', 'Transgender', '', '', '', 'N/A', 0, 0), (10, 'paurush', 'ankit', 'clinic@gmail.com', '21feb1993', 0, 1, '3', '', '0000-00-00', 'India', '', '', '', '', 'Fertility Support', '', '', '', '2018-02-06 18:05:39', 0, '', '', '', '', '', 'Belgaum', 'Karnataka', '987654', '8976543876', '', '', '', '', '', '', '', '', 5, 1), (11, 'Test Clinic', 'test', 'paurushankit5@gmail.com', '21feb1993', 0, 1, '2', '', '0000-00-00', 'India', '', 'Vijaya Clinic', 'http://wishababy.com/pride2/', 'Penguins.jpg', 'Fertility Clinics,Sperm / Cryo Banks,Fertility Support,Natural Fertility,Legal Services,Parenting Options,Counselling & Support,Complimentary / Holistic Therapy,Fertility and Baby Products,Baby and Breastfeeding Services,Baby and Parenting Groups', '', '', '', '2018-01-26 15:53:59', 0, 'Lorem ipsum dolor sit amet, legere suscipit ne nec, ut duo verear propriae vituperata, atqui assum et usu. Voluptua prodesset vel et, ne per elitr dignissim rationibus. Cum id possit quaerendum, cu usu alienum imperdiet consequat. Ea choro clita dicunt sit, novum antiopam ea vim, eum cu cibo nemore. Ei purto doming pri, oblique apeirian ne sit. Legere audire nam ad, paulo graeci detraxit an vis. Ad nostrum mediocritatem vim, te ponderum sapientem torquatos mei. Ius at errem forensibus, cu quo quot euismod vivendo, corpora posidonium sadipscing no vis. Vel idque tibique eligendi cu, sed te nibh oporteat, cu vix iriure invidunt. Duo ne simul constituto ullamcorper. Everti timeam incorrupte ne eum, affert minimum commune qui ex. Noster possit abhorreant cu sit, modo vide deseruisse in eos. Alii oblique nostrud duo eu. Id vis natum aliquam, usu no liber audiam voluptatibus. Vix an soleat percipit. Et aeque mediocrem sea, an eos nusquam docendi. Et est placerat dignissim definitionem. Nostrud admodum his ut, nam te libris accumsan, vim nullam percipit ad. Causae omittantur quo at. Nam agam perfecto praesent eu, at justo pertinax duo, corpora iudicabit dissentiet ne vis. Id vel tale brute perpetua, nam meis noluisse appellantur in. Pri ne odio possim quaerendum, no per facer integre perpetua, ei nec veritus salutatus constituam. Percipit consulatu deterruisset nam ne, est tollit percipitur ex.', '', '', '324567544', '324567544', 'Aurangabad', 'Bihar', '876543', '7877778787', '9876545678', '', '', '', 'Fertility Treatments:', 'Infertility investigation', 'Storage of sperms and eggs', '', 5, 1), (12, 'Rajeev', 'shukla', 'surya@gmail.com', '21feb1993', 0, 1, '2', '', '0000-00-00', 'India', '', 'Surya Clinic', 'http://localhost/pride2/register', '19401947_1791582240869018_8880079957703657306_o.jpg', 'Natural Fertility', '', '', '', '2017-11-06 16:24:54', 0, 'Lorem ipsum dolor sit amet, legere suscipit ne nec, ut duo verear propriae vituperata, atqui assum et usu. Voluptua prodesset vel et, ne per elitr dignissim rationibus. Cum id possit quaerendum, cu usu alienum imperdiet consequat. Ea choro clita dicunt sit, novum antiopam ea vim, eum cu cibo nemore.Ei purto doming pri, oblique apeirian ne sit. Legere audire nam ad, paulo graeci detraxit an vis. Ad nostrum mediocritatem vim, te ponderum sapientem torquatos mei. Ius at errem forensibus, cu quo quot euismod vivendo, corpora posidonium sadipscing no vis. Vel idque tibique eligendi cu, sed te nibh oporteat, cu vix iriure invidunt.Duo ne simul constituto ullamcorper. Everti timeam incorrupte ne eum, affert minimum commune qui ex. Noster possit abhorreant cu sit, modo vide deseruisse in eos. Alii oblique nostrud duo eu. Id vis natum aliquam, usu no liber audiam voluptatibus.Vix an soleat percipit. Et aeque mediocrem sea, an eos nusquam docendi. Et est placerat dignissim definitionem. Nostrud admodum his ut, nam te libris accumsan, vim nullam percipit ad.Causae omittantur quo at. Nam agam perfecto praesent eu, at justo pertinax duo, corpora iudicabit dissentiet ne vis. Id vel tale brute perpetua, nam meis noluisse appellantur in. Pri ne odio possim quaerendum, no per facer integre perpetua, ei nec veritus salutatus constituam. Percipit consulatu deterruisset nam ne, est tollit percipitur ex.', '', '', 'bbdit college, near drizzling land', 'duhai', 'Aurangabad', 'Uttar Pradesh', '201206', '876543456', '8976543456', '', '', '', 'Lorem ipsum dolor sit amet, legere suscipit ne nec, ut duo verear propriae vituperata, atqui assum et usu. Voluptua prodesset vel et, ne per elitr dignissim rationibus. Cum id possit quaerendum, cu usu alienum imperdiet consequat. Ea choro clita dicunt sit, novum antiopam ea vim, eum cu cibo nemore.\r\n\r\nEi purto doming pri, oblique apeirian ne sit. Legere audire nam ad, paulo graeci detraxit an vis. Ad nostrum mediocritatem vim, te ponderum sapientem torquatos mei. Ius at errem forensibus, cu quo quot euismod vivendo, corpora posidonium sadipscing no vis. Vel idque tibique eligendi cu, sed te nibh oporteat, cu vix iriure invidunt.\r\n\r\nDuo ne simul constituto ullamcorper. Everti timeam incorrupte ne eum, affert minimum commune qui ex. Noster possit abhorreant cu sit, modo vide deseruisse in eos. Alii oblique nostrud duo eu. Id vis natum aliquam, usu no liber audiam voluptatibus.\r\n\r\nVix an soleat percipit. Et aeque mediocrem sea, an eos nusquam docendi. Et est placerat dignissim definitionem. Nostrud admodum his ut, nam te libris accumsan, vim nullam percipit ad.\r\n\r\nCausae omittantur quo at. Nam agam perfecto praesent eu, at justo pertinax duo, corpora iudicabit dissentiet ne vis. Id vel tale brute perpetua, nam meis noluisse appellantur in. Pri ne odio possim quaerendum, no per facer integre perpetua, ei nec veritus salutatus constituam. Percipit consulatu deterruisset nam ne, est tollit percipitur ex.', 'Lorem ipsum dolor sit amet, legere suscipit ne nec, ut duo verear propriae vituperata, atqui assum et usu. Voluptua prodesset vel et, ne per elitr dignissim rationibus. Cum id possit quaerendum, cu usu alienum imperdiet consequat. Ea choro clita dicunt sit, novum antiopam ea vim, eum cu cibo nemore.\r\n\r\nEi purto doming pri, oblique apeirian ne sit. Legere audire nam ad, paulo graeci detraxit an vis. Ad nostrum mediocritatem vim, te ponderum sapientem torquatos mei. Ius at errem forensibus, cu quo quot euismod vivendo, corpora posidonium sadipscing no vis. Vel idque tibique eligendi cu, sed te nibh oporteat, cu vix iriure invidunt.\r\n\r\nDuo ne simul constituto ullamcorper. Everti timeam incorrupte ne eum, affert minimum commune qui ex. Noster possit abhorreant cu sit, modo vide deseruisse in eos. Alii oblique nostrud duo eu. Id vis natum aliquam, usu no liber audiam voluptatibus.\r\n\r\nVix an soleat percipit. Et aeque mediocrem sea, an eos nusquam docendi. Et est placerat dignissim definitionem. Nostrud admodum his ut, nam te libris accumsan, vim nullam percipit ad.\r\n\r\nCausae omittantur quo at. Nam agam perfecto praesent eu, at justo pertinax duo, corpora iudicabit dissentiet ne vis. Id vel tale brute perpetua, nam meis noluisse appellantur in. Pri ne odio possim quaerendum, no per facer integre perpetua, ei nec veritus salutatus constituam. Percipit consulatu deterruisset nam ne, est tollit percipitur ex.', 'Lorem ipsum dolor sit amet, legere suscipit ne nec, ut duo verear propriae vituperata, atqui assum et usu. Voluptua prodesset vel et, ne per elitr dignissim rationibus. Cum id possit quaerendum, cu usu alienum imperdiet consequat. Ea choro clita dicunt sit, novum antiopam ea vim, eum cu cibo nemore.\r\n\r\nEi purto doming pri, oblique apeirian ne sit. Legere audire nam ad, paulo graeci detraxit an vis. Ad nostrum mediocritatem vim, te ponderum sapientem torquatos mei. Ius at errem forensibus, cu quo quot euismod vivendo, corpora posidonium sadipscing no vis. Vel idque tibique eligendi cu, sed te nibh oporteat, cu vix iriure invidunt.\r\n\r\nDuo ne simul constituto ullamcorper. Everti timeam incorrupte ne eum, affert minimum commune qui ex. Noster possit abhorreant cu sit, modo vide deseruisse in eos. Alii oblique nostrud duo eu. Id vis natum aliquam, usu no liber audiam voluptatibus.\r\n\r\nVix an soleat percipit. Et aeque mediocrem sea, an eos nusquam docendi. Et est placerat dignissim definitionem. Nostrud admodum his ut, nam te libris accumsan, vim nullam percipit ad.\r\n\r\nCausae omittantur quo at. Nam agam perfecto praesent eu, at justo pertinax duo, corpora iudicabit dissentiet ne vis. Id vel tale brute perpetua, nam meis noluisse appellantur in. Pri ne odio possim quaerendum, no per facer integre perpetua, ei nec veritus salutatus constituam. Percipit consulatu deterruisset nam ne, est tollit percipitur ex.', '', 0, 0), (13, 'm dsm ,m ds,m', 'ms dm, dsm s,', 'mdsmdsm', '21feb1993', 0, 1, '2', '', '0000-00-00', '', '', 'Demo Clinic', '', '', 'Natural Fertility', '', '', '', '2017-11-09 07:19:13', 0, 'Lorem ipsum dolor sit amet, legere suscipit ne nec, ut duo verear propriae vituperata, atqui assum et usu. Voluptua prodesset vel et, ne per elitr dignissim rationibus. Cum id possit quaerendum, cu usu alienum imperdiet consequat. Ea choro clita dicunt sit, novum antiopam ea vim, eum cu cibo nemore.Ei purto doming pri, oblique apeirian ne sit. Legere audire nam ad, paulo graeci detraxit an vis. Ad nostrum mediocritatem vim, te ponderum sapientem torquatos mei. Ius at errem forensibus, cu quo quot euismod vivendo, corpora posidonium sadipscing no vis. Vel idque tibique eligendi cu, sed te nibh oporteat, cu vix iriure invidunt.Duo ne simul constituto ullamcorper. Everti timeam incorrupte ne eum, affert minimum commune qui ex. Noster possit abhorreant cu sit, modo vide deseruisse in eos. Alii oblique nostrud duo eu. Id vis natum aliquam, usu no liber audiam voluptatibus.Vix an soleat percipit. Et aeque mediocrem sea, an eos nusquam docendi. Et est placerat dignissim definitionem. Nostrud admodum his ut, nam te libris accumsan, vim nullam percipit ad.Causae omittantur quo at. Nam agam perfecto praesent eu, at justo pertinax duo, corpora iudicabit dissentiet ne vis. Id vel tale brute perpetua, nam meis noluisse appellantur in. Pri ne odio possim quaerendum, no per facer integre perpetua, ei nec veritus salutatus constituam. Percipit consulatu deterruisset nam ne, est tollit percipitur ex.', '', '', '', '', 'Aurangabad', 'Bihar', '', '', '', '', '', '', '', '', '', '', 0, 0), (14, 'vfvbbq', 'jbnnnn', 'bhbhbbh', '21feb1993', 0, 1, '2', '', '0000-00-00', '', '', 'Parents PAradise', '', '', 'Natural Fertility', '', '', '', '2017-11-09 07:19:22', 0, 'Lorem ipsum dolor sit amet, legere suscipit ne nec, ut duo verear propriae vituperata, atqui assum et usu. Voluptua prodesset vel et, ne per elitr dignissim rationibus. Cum id possit quaerendum, cu usu alienum imperdiet consequat. Ea choro clita dicunt sit, novum antiopam ea vim, eum cu cibo nemore.Ei purto doming pri, oblique apeirian ne sit. Legere audire nam ad, paulo graeci detraxit an vis. Ad nostrum mediocritatem vim, te ponderum sapientem torquatos mei. Ius at errem forensibus, cu quo quot euismod vivendo, corpora posidonium sadipscing no vis. Vel idque tibique eligendi cu, sed te nibh oporteat, cu vix iriure invidunt.Duo ne simul constituto ullamcorper. Everti timeam incorrupte ne eum, affert minimum commune qui ex. Noster possit abhorreant cu sit, modo vide deseruisse in eos. Alii oblique nostrud duo eu. Id vis natum aliquam, usu no liber audiam voluptatibus.Vix an soleat percipit. Et aeque mediocrem sea, an eos nusquam docendi. Et est placerat dignissim definitionem. Nostrud admodum his ut, nam te libris accumsan, vim nullam percipit ad.Causae omittantur quo at. Nam agam perfecto praesent eu, at justo pertinax duo, corpora iudicabit dissentiet ne vis. Id vel tale brute perpetua, nam meis noluisse appellantur in. Pri ne odio possim quaerendum, no per facer integre perpetua, ei nec veritus salutatus constituam. Percipit consulatu deterruisset nam ne, est tollit percipitur ex.', '', '', '', '', 'Aurangabad', 'Bihar', '', '', '', '', '', '', '', '', '', '', 0, 0), (15, 'paurush', 'ankit', 'paurushankit@gmail.com', '21feb1993', 0, 1, '2', '', '0000-00-00', '', '', 'Wish A Baby', '', '', 'Natural Fertility', '', '', '', '2017-11-09 07:19:39', 0, 'Lorem ipsum dolor sit amet, legere suscipit ne nec, ut duo verear propriae vituperata, atqui assum et usu. Voluptua prodesset vel et, ne per elitr dignissim rationibus. Cum id possit quaerendum, cu usu alienum imperdiet consequat. Ea choro clita dicunt sit, novum antiopam ea vim, eum cu cibo nemore.Ei purto doming pri, oblique apeirian ne sit. Legere audire nam ad, paulo graeci detraxit an vis. Ad nostrum mediocritatem vim, te ponderum sapientem torquatos mei. Ius at errem forensibus, cu quo quot euismod vivendo, corpora posidonium sadipscing no vis. Vel idque tibique eligendi cu, sed te nibh oporteat, cu vix iriure invidunt.Duo ne simul constituto ullamcorper. Everti timeam incorrupte ne eum, affert minimum commune qui ex. Noster possit abhorreant cu sit, modo vide deseruisse in eos. Alii oblique nostrud duo eu. Id vis natum aliquam, usu no liber audiam voluptatibus.Vix an soleat percipit. Et aeque mediocrem sea, an eos nusquam docendi. Et est placerat dignissim definitionem. Nostrud admodum his ut, nam te libris accumsan, vim nullam percipit ad.Causae omittantur quo at. Nam agam perfecto praesent eu, at justo pertinax duo, corpora iudicabit dissentiet ne vis. Id vel tale brute perpetua, nam meis noluisse appellantur in. Pri ne odio possim quaerendum, no per facer integre perpetua, ei nec veritus salutatus constituam. Percipit consulatu deterruisset nam ne, est tollit percipitur ex.', '', '', '', '', 'Aurangabad', 'Bihar', '', '', '', '', '', '', '', '', '', '', 0, 0), (16, 'Vijaya', 'Clinic', 'paurushankit5@gmail.com', '21feb1993', 0, 1, '2', '', '0000-00-00', '', '', 'Vijaya Clinic', 'http://localhost/phpmyadmin/#PMAURL-0:index.php?db=&table=&server=1&target=&token=ef199d25b42eb7d6cdcc5f5964dd0b65', '', 'Natural Fertility', '', '', '', '2018-01-04 19:06:22', 0, 'Lorem ipsum dolor sit amet, legere suscipit ne nec, ut duo verear propriae vituperata, atqui assum et usu. Voluptua prodesset vel et, ne per elitr dignissim rationibus. Cum id possit quaerendum, cu usu alienum imperdiet consequat. Ea choro clita dicunt sit, novum antiopam ea vim, eum cu cibo nemore.Ei purto doming pri, oblique apeirian ne sit. Legere audire nam ad, paulo graeci detraxit an vis. Ad nostrum mediocritatem vim, te ponderum sapientem torquatos mei. Ius at errem forensibus, cu quo quot euismod vivendo, corpora posidonium sadipscing no vis. Vel idque tibique eligendi cu, sed te nibh oporteat, cu vix iriure invidunt.Duo ne simul constituto ullamcorper. Everti timeam incorrupte ne eum, affert minimum commune qui ex. Noster possit abhorreant cu sit, modo vide deseruisse in eos. Alii oblique nostrud duo eu. Id vis natum aliquam, usu no liber audiam voluptatibus.Vix an soleat percipit. Et aeque mediocrem sea, an eos nusquam docendi. Et est placerat dignissim definitionem. Nostrud admodum his ut, nam te libris accumsan, vim nullam percipit ad.Causae omittantur quo at. Nam agam perfecto praesent eu, at justo pertinax duo, corpora iudicabit dissentiet ne vis. Id vel tale brute perpetua, nam meis noluisse appellantur in. Pri ne odio possim quaerendum, no per facer integre perpetua, ei nec veritus salutatus constituam. Percipit consulatu deterruisset nam ne, est tollit percipitur ex.', '', '', '', '', 'Aurangabad', 'Bihar', '', '', '', '', '', '', '', '', '', '', 0, 0), (17, 'Shyama', 'Clinic', 'shyamaclinic@gmail.com', '21feb1993', 0, 1, '2', '', '0000-00-00', '', '', 'Shyama Clinic', 'http://localhost/phpmyadmin/#PMAURL-0:index.php?db=&table=&server=1&target=&token=ef199d25b42eb7d6cdcc5f5964dd0b65', '', 'Natural Fertility', '', '', '', '2017-11-06 16:25:32', 0, 'Lorem ipsum dolor sit amet, legere suscipit ne nec, ut duo verear propriae vituperata, atqui assum et usu. Voluptua prodesset vel et, ne per elitr dignissim rationibus. Cum id possit quaerendum, cu usu alienum imperdiet consequat. Ea choro clita dicunt sit, novum antiopam ea vim, eum cu cibo nemore.Ei purto doming pri, oblique apeirian ne sit. Legere audire nam ad, paulo graeci detraxit an vis. Ad nostrum mediocritatem vim, te ponderum sapientem torquatos mei. Ius at errem forensibus, cu quo quot euismod vivendo, corpora posidonium sadipscing no vis. Vel idque tibique eligendi cu, sed te nibh oporteat, cu vix iriure invidunt.Duo ne simul constituto ullamcorper. Everti timeam incorrupte ne eum, affert minimum commune qui ex. Noster possit abhorreant cu sit, modo vide deseruisse in eos. Alii oblique nostrud duo eu. Id vis natum aliquam, usu no liber audiam voluptatibus.Vix an soleat percipit. Et aeque mediocrem sea, an eos nusquam docendi. Et est placerat dignissim definitionem. Nostrud admodum his ut, nam te libris accumsan, vim nullam percipit ad.Causae omittantur quo at. Nam agam perfecto praesent eu, at justo pertinax duo, corpora iudicabit dissentiet ne vis. Id vel tale brute perpetua, nam meis noluisse appellantur in. Pri ne odio possim quaerendum, no per facer integre perpetua, ei nec veritus salutatus constituam. Percipit consulatu deterruisset nam ne, est tollit percipitur ex.', '', '', '', '', 'Aurangabad', 'Bihar', '', '', '', '', '', '', '', '', '', '', 0, 0), (18, 'raja', 'Clinic', 'rajaclinic@gmail.com', '21feb1993', 0, 1, '2', '', '0000-00-00', '', '', 'Raja Clinic', 'http://localhost/pride2/register', '', 'Sperm / cryo Banks', '', '', '', '2017-11-06 16:25:34', 0, 'Lorem ipsum dolor sit amet, legere suscipit ne nec, ut duo verear propriae vituperata, atqui assum et usu. Voluptua prodesset vel et, ne per elitr dignissim rationibus. Cum id possit quaerendum, cu usu alienum imperdiet consequat. Ea choro clita dicunt sit, novum antiopam ea vim, eum cu cibo nemore.Ei purto doming pri, oblique apeirian ne sit. Legere audire nam ad, paulo graeci detraxit an vis. Ad nostrum mediocritatem vim, te ponderum sapientem torquatos mei. Ius at errem forensibus, cu quo quot euismod vivendo, corpora posidonium sadipscing no vis. Vel idque tibique eligendi cu, sed te nibh oporteat, cu vix iriure invidunt.Duo ne simul constituto ullamcorper. Everti timeam incorrupte ne eum, affert minimum commune qui ex. Noster possit abhorreant cu sit, modo vide deseruisse in eos. Alii oblique nostrud duo eu. Id vis natum aliquam, usu no liber audiam voluptatibus.Vix an soleat percipit. Et aeque mediocrem sea, an eos nusquam docendi. Et est placerat dignissim definitionem. Nostrud admodum his ut, nam te libris accumsan, vim nullam percipit ad.Causae omittantur quo at. Nam agam perfecto praesent eu, at justo pertinax duo, corpora iudicabit dissentiet ne vis. Id vel tale brute perpetua, nam meis noluisse appellantur in. Pri ne odio possim quaerendum, no per facer integre perpetua, ei nec veritus salutatus constituam. Percipit consulatu deterruisset nam ne, est tollit percipitur ex.', '', '', '', '', 'Aurangabad', 'Bihar', '', '', '', '', '', '', '', '', '', '', 0, 0), (19, 'Appolo', 'Clinic', 'appolo@gmail.com', '21feb1993', 0, 1, '2', '', '0000-00-00', '', '', 'Apollo Clinic', 'http://localhost/pride2/register', '', 'Natural Fertility', '', '', '', '2017-11-06 16:25:36', 0, 'Lorem ipsum dolor sit amet, legere suscipit ne nec, ut duo verear propriae vituperata, atqui assum et usu. Voluptua prodesset vel et, ne per elitr dignissim rationibus. Cum id possit quaerendum, cu usu alienum imperdiet consequat. Ea choro clita dicunt sit, novum antiopam ea vim, eum cu cibo nemore.Ei purto doming pri, oblique apeirian ne sit. Legere audire nam ad, paulo graeci detraxit an vis. Ad nostrum mediocritatem vim, te ponderum sapientem torquatos mei. Ius at errem forensibus, cu quo quot euismod vivendo, corpora posidonium sadipscing no vis. Vel idque tibique eligendi cu, sed te nibh oporteat, cu vix iriure invidunt.Duo ne simul constituto ullamcorper. Everti timeam incorrupte ne eum, affert minimum commune qui ex. Noster possit abhorreant cu sit, modo vide deseruisse in eos. Alii oblique nostrud duo eu. Id vis natum aliquam, usu no liber audiam voluptatibus.Vix an soleat percipit. Et aeque mediocrem sea, an eos nusquam docendi. Et est placerat dignissim definitionem. Nostrud admodum his ut, nam te libris accumsan, vim nullam percipit ad.Causae omittantur quo at. Nam agam perfecto praesent eu, at justo pertinax duo, corpora iudicabit dissentiet ne vis. Id vel tale brute perpetua, nam meis noluisse appellantur in. Pri ne odio possim quaerendum, no per facer integre perpetua, ei nec veritus salutatus constituam. Percipit consulatu deterruisset nam ne, est tollit percipitur ex.', '', '', '', '', 'Aurangabad', 'Bihar', '', '', '', '', '', '', '', '', '', '', 0, 0), (20, 'Apollo', 'Clinic', 'apolloclinic1@gmail.com', '21feb1993', 0, 1, '2', '', '0000-00-00', '', '', 'Apollo Clinic', 'http://localhost/pride2/register', '', 'Natural Fertility', '', '', '', '2017-11-06 16:25:38', 0, 'Lorem ipsum dolor sit amet, legere suscipit ne nec, ut duo verear propriae vituperata, atqui assum et usu. Voluptua prodesset vel et, ne per elitr dignissim rationibus. Cum id possit quaerendum, cu usu alienum imperdiet consequat. Ea choro clita dicunt sit, novum antiopam ea vim, eum cu cibo nemore.Ei purto doming pri, oblique apeirian ne sit. Legere audire nam ad, paulo graeci detraxit an vis. Ad nostrum mediocritatem vim, te ponderum sapientem torquatos mei. Ius at errem forensibus, cu quo quot euismod vivendo, corpora posidonium sadipscing no vis. Vel idque tibique eligendi cu, sed te nibh oporteat, cu vix iriure invidunt.Duo ne simul constituto ullamcorper. Everti timeam incorrupte ne eum, affert minimum commune qui ex. Noster possit abhorreant cu sit, modo vide deseruisse in eos. Alii oblique nostrud duo eu. Id vis natum aliquam, usu no liber audiam voluptatibus.Vix an soleat percipit. Et aeque mediocrem sea, an eos nusquam docendi. Et est placerat dignissim definitionem. Nostrud admodum his ut, nam te libris accumsan, vim nullam percipit ad.Causae omittantur quo at. Nam agam perfecto praesent eu, at justo pertinax duo, corpora iudicabit dissentiet ne vis. Id vel tale brute perpetua, nam meis noluisse appellantur in. Pri ne odio possim quaerendum, no per facer integre perpetua, ei nec veritus salutatus constituam. Percipit consulatu deterruisset nam ne, est tollit percipitur ex.', '', '', '', '', 'Aurangabad', 'Bihar', '', '', '', '', '', '', '', '', '', '', 0, 0), (21, 'Apollo', 'Clinic', 'apolloclinic2@gmail.com', '21feb1993', 0, 1, '2', '', '0000-00-00', '', '', 'Apollo Clinic', 'http://localhost/pride2/register', '', 'Natural Fertility', '', '', '', '2017-11-06 16:25:40', 0, 'Lorem ipsum dolor sit amet, legere suscipit ne nec, ut duo verear propriae vituperata, atqui assum et usu. Voluptua prodesset vel et, ne per elitr dignissim rationibus. Cum id possit quaerendum, cu usu alienum imperdiet consequat. Ea choro clita dicunt sit, novum antiopam ea vim, eum cu cibo nemore.Ei purto doming pri, oblique apeirian ne sit. Legere audire nam ad, paulo graeci detraxit an vis. Ad nostrum mediocritatem vim, te ponderum sapientem torquatos mei. Ius at errem forensibus, cu quo quot euismod vivendo, corpora posidonium sadipscing no vis. Vel idque tibique eligendi cu, sed te nibh oporteat, cu vix iriure invidunt.Duo ne simul constituto ullamcorper. Everti timeam incorrupte ne eum, affert minimum commune qui ex. Noster possit abhorreant cu sit, modo vide deseruisse in eos. Alii oblique nostrud duo eu. Id vis natum aliquam, usu no liber audiam voluptatibus.Vix an soleat percipit. Et aeque mediocrem sea, an eos nusquam docendi. Et est placerat dignissim definitionem. Nostrud admodum his ut, nam te libris accumsan, vim nullam percipit ad.Causae omittantur quo at. Nam agam perfecto praesent eu, at justo pertinax duo, corpora iudicabit dissentiet ne vis. Id vel tale brute perpetua, nam meis noluisse appellantur in. Pri ne odio possim quaerendum, no per facer integre perpetua, ei nec veritus salutatus constituam. Percipit consulatu deterruisset nam ne, est tollit percipitur ex.', '', '', '', '', 'Aurangabad', 'Bihar', '', '', '', '', '', '', '', '', '', '', 0, 0), (22, 'Apollo', 'Clinic', 'apolloclinic3@gmail.com', '21feb1993', 0, 1, '2', '', '0000-00-00', '', '', 'Apollo Clinic', 'http://localhost/pride2/register', '', 'Natural Fertility', '', '', '', '2017-11-06 16:25:42', 0, 'Lorem ipsum dolor sit amet, legere suscipit ne nec, ut duo verear propriae vituperata, atqui assum et usu. Voluptua prodesset vel et, ne per elitr dignissim rationibus. Cum id possit quaerendum, cu usu alienum imperdiet consequat. Ea choro clita dicunt sit, novum antiopam ea vim, eum cu cibo nemore.Ei purto doming pri, oblique apeirian ne sit. Legere audire nam ad, paulo graeci detraxit an vis. Ad nostrum mediocritatem vim, te ponderum sapientem torquatos mei. Ius at errem forensibus, cu quo quot euismod vivendo, corpora posidonium sadipscing no vis. Vel idque tibique eligendi cu, sed te nibh oporteat, cu vix iriure invidunt.Duo ne simul constituto ullamcorper. Everti timeam incorrupte ne eum, affert minimum commune qui ex. Noster possit abhorreant cu sit, modo vide deseruisse in eos. Alii oblique nostrud duo eu. Id vis natum aliquam, usu no liber audiam voluptatibus.Vix an soleat percipit. Et aeque mediocrem sea, an eos nusquam docendi. Et est placerat dignissim definitionem. Nostrud admodum his ut, nam te libris accumsan, vim nullam percipit ad.Causae omittantur quo at. Nam agam perfecto praesent eu, at justo pertinax duo, corpora iudicabit dissentiet ne vis. Id vel tale brute perpetua, nam meis noluisse appellantur in. Pri ne odio possim quaerendum, no per facer integre perpetua, ei nec veritus salutatus constituam. Percipit consulatu deterruisset nam ne, est tollit percipitur ex.', '', '', '', '', 'Aurangabad', 'Bihar', '', '', '', '', '', '', '', '', '', '', 0, 0), (23, 'Apollo', 'Clinic', 'apollocinic4@gmail.com', '21feb1993', 0, 1, '2', '', '0000-00-00', '', '', 'Apollo Clinic', 'http://localhost/pride2/register', '', 'Natural Fertility', '', '', '', '2017-11-06 16:25:44', 0, 'Lorem ipsum dolor sit amet, legere suscipit ne nec, ut duo verear propriae vituperata, atqui assum et usu. Voluptua prodesset vel et, ne per elitr dignissim rationibus. Cum id possit quaerendum, cu usu alienum imperdiet consequat. Ea choro clita dicunt sit, novum antiopam ea vim, eum cu cibo nemore.Ei purto doming pri, oblique apeirian ne sit. Legere audire nam ad, paulo graeci detraxit an vis. Ad nostrum mediocritatem vim, te ponderum sapientem torquatos mei. Ius at errem forensibus, cu quo quot euismod vivendo, corpora posidonium sadipscing no vis. Vel idque tibique eligendi cu, sed te nibh oporteat, cu vix iriure invidunt.Duo ne simul constituto ullamcorper. Everti timeam incorrupte ne eum, affert minimum commune qui ex. Noster possit abhorreant cu sit, modo vide deseruisse in eos. Alii oblique nostrud duo eu. Id vis natum aliquam, usu no liber audiam voluptatibus.Vix an soleat percipit. Et aeque mediocrem sea, an eos nusquam docendi. Et est placerat dignissim definitionem. Nostrud admodum his ut, nam te libris accumsan, vim nullam percipit ad.Causae omittantur quo at. Nam agam perfecto praesent eu, at justo pertinax duo, corpora iudicabit dissentiet ne vis. Id vel tale brute perpetua, nam meis noluisse appellantur in. Pri ne odio possim quaerendum, no per facer integre perpetua, ei nec veritus salutatus constituam. Percipit consulatu deterruisset nam ne, est tollit percipitur ex.', '', '', '', '', 'Aurangabad', 'Bihar', '', '', '', '', '', '', '', '', '', '', 0, 0), (24, 'Apollo', 'Clinic', 'apolloclinic4@gmail.com', '21feb1993', 0, 1, '2', '', '0000-00-00', '', '', 'Apollo Clinic', 'http://localhost/pride2/register', '', 'Natural Fertility', '', '', '', '2017-11-06 16:25:47', 0, 'Lorem ipsum dolor sit amet, legere suscipit ne nec, ut duo verear propriae vituperata, atqui assum et usu. Voluptua prodesset vel et, ne per elitr dignissim rationibus. Cum id possit quaerendum, cu usu alienum imperdiet consequat. Ea choro clita dicunt sit, novum antiopam ea vim, eum cu cibo nemore.Ei purto doming pri, oblique apeirian ne sit. Legere audire nam ad, paulo graeci detraxit an vis. Ad nostrum mediocritatem vim, te ponderum sapientem torquatos mei. Ius at errem forensibus, cu quo quot euismod vivendo, corpora posidonium sadipscing no vis. Vel idque tibique eligendi cu, sed te nibh oporteat, cu vix iriure invidunt.Duo ne simul constituto ullamcorper. Everti timeam incorrupte ne eum, affert minimum commune qui ex. Noster possit abhorreant cu sit, modo vide deseruisse in eos. Alii oblique nostrud duo eu. Id vis natum aliquam, usu no liber audiam voluptatibus.Vix an soleat percipit. Et aeque mediocrem sea, an eos nusquam docendi. Et est placerat dignissim definitionem. Nostrud admodum his ut, nam te libris accumsan, vim nullam percipit ad.Causae omittantur quo at. Nam agam perfecto praesent eu, at justo pertinax duo, corpora iudicabit dissentiet ne vis. Id vel tale brute perpetua, nam meis noluisse appellantur in. Pri ne odio possim quaerendum, no per facer integre perpetua, ei nec veritus salutatus constituam. Percipit consulatu deterruisset nam ne, est tollit percipitur ex.', '', '', '', '', 'Aurangabad', 'Bihar', '', '', '', '', '', '', '', '', '', '', 0, 0), (25, 'Anoop', 'Mundhra', 'anoop.mundhra@edelytics.com', 'sayesha', 0, 1, '1', '', '0000-00-00', '', '', '', '', '', '', '', '', '', '2017-11-15 13:56:17', 0, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, 0), (26, 'Vaidehi', 'Desai', 'vaidehidesai44@gmail.com', '123456', 0, 1, '1', '', '0000-00-00', '', '', '', '', '', '', '', '', '', '2017-11-18 10:56:39', 0, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, 0), (27, 'Abir', 'Mukherjee', 'abirmukherjee1706@gmail.com', 'abir2306', 0, 1, '1', '', '0000-00-00', '', '', '', '', '', '', '', '', '', '2017-11-19 13:11:00', 0, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, 0), (28, 'Ramesh', 'Singh', 'ankit@gmail.com', '21feb1993', 0, 1, '3', '', '0000-00-00', 'India', '', '', 'http://localhost/pride2/expert/profile', 'Penguins.jpg', 'Fertility Clinics,Sperm / Cryo Banks,Fertility Support,Natural Fertility,Legal Services,Parenting Options,Health Screening,Counselling & Support,Complimentary / Holistic Therapy,Fertility and Baby Products,Baby and Breastfeeding Services,Baby and Parenting Groups,Childcare / Education', 'Clinical Social Worker, Couple and Family Therapist, Owner of FamART - books for family buildingExpert Qualification', 'Expert IVF Consultant', 'Natural Fertility', '2018-01-26 15:52:14', 0, 'I have been working as a fertility counsellor for over 20 years. I am owner of the publishing company FamART, for books for family building: www.famart.de/en/\r\nCounselling for homosexual, heterosexual couples and individuals in Germany, also via Skype and telephone.I have been working as a fertility counsellor for over 20 years. I am owner of the publishing company FamART, for books for family building: www.famart.de/en/\r\nCounselling for homosexual, heterosexual couples and individuals in Germany, also via Skype and telephone.\r\n', '', '', 'test address', 'duhai', 'Belgaum', 'Karnataka', '560100', '9123404017', '7531855399', '', '', '', '', '', '', '', 4, 1), (29, 'Shyam', 'Singh', 'expert2@gmail.com', '21feb1993', 0, 1, '3', '', '0000-00-00', 'India', '', '', '', '', 'Natural Fertility', 'Expert Qualification', 'Expert IVF Consultant', 'Natural Fertility', '2017-11-24 07:46:18', 0, '', '', '', '', '', 'Belgaum', 'Karnataka', '', '8976543567', '67546789', '', '', '', '', '', '', '', 0, 0), (30, 'Rakesh', 'Kumar', 'expert3@gmail.com', '21feb1993', 0, 1, '3', '', '0000-00-00', 'India', '', '', '', '', 'Natural Fertility', 'Expert Qualification', 'Expert IVF Consultant', 'Natural Fertility', '2017-11-24 07:49:13', 0, '', '', '', '', '', 'Belgaum', 'Karnataka', '', '987654356789', '', '', '', '', '', '', '', '', 0, 0), (31, 'Megha', 'Thakur', 'expert4@gmail.com', '21feb1993', 0, 1, '3', '', '0000-00-00', 'India', '', '', '', '', 'Fertility Support', 'Expert Qualification', 'Expert IVF Consultant', 'Fertility Support', '2017-12-19 20:18:44', 0, '', '', '', '', '', 'Belgaum', 'Karnataka', '', '7777777777', '', '', '', '', '', '', '', '', 0, 0), (33, 'jkhghjnk', 'jiuhjygfhjlk', 'jdsbbsnd@gmail.com', '21feb1993', 0, 1, '1', 'Male', '1992-12-12', '', '', '', '', '', '', '', '', '', '2017-12-15 10:18:50', 0, '', '', '', 'nbvcvjhl', 'njhvghjbkn', 'Bethamcherla', 'Arunachal Pradesh', '', '', '', '', '', '', '', '', '', '', 0, 0), (34, 'shiva', 'Nayak', 'shiva@gmail.com', '21feb1993', 0, 1, '1', 'Male', '1994-07-21', '', '', '', '', '', '', '', '', '', '2018-02-05 12:42:32', 0, '', '', '', 'Tyagi Hostel', 'Duhai, Ghaziabad', 'Greater Noida', 'Uttar Pradesh', '', '', '', '', '', '', '', '', '', '', 0, 0), (35, 'shiva', 'Nayalk', 'shiv1a@gmail.com', '21feb1993', 0, 1, '1', 'Male', '1994-07-21', '', '', '', '', '', '', '', '', '', '2018-02-05 12:44:22', 0, '', '', '', 'Tyagi Hostel', 'Duhai, Ghaziabad', 'Greater Noida', 'Uttar Pradesh', '', '', '', '', '', '', '', '', '', '', 0, 0), (36, 'Shiva ', 'Nayak', 'shiva2@gmail.com', '21feb1993', 0, 1, '1', 'Male', '1994-07-21', '', '', '', '', '', '', '', '', '', '2018-02-05 12:48:07', 0, '', '', '', 'Tyagi Hostel', 'Duhai, Ghaziabad', 'Greater Noida', 'Uttar Pradesh', '', '', '', '', '', '', '', '', '', '', 0, 0), (37, 'Shiva', 'Nayak', 'shiva3@gmail.com', '21feb1993', 0, 1, '1', 'Male', '1994-07-21', '', '', '', '', '', '', '', '', '', '2018-02-05 12:51:56', 0, '', '', '', 'Tyagi Hostel', 'Duhai, Ghaziabad', 'Greater Noida', 'Uttar Pradesh', '', '', '', '', '', '', '', '', '', '', 0, 0), (38, 'Shiba', 'Nayak', 'shiva4@gmail.com', '21feb1993', 0, 1, '1', 'Male', '1994-07-21', '', '', '', '', '', '', '', '', '', '2018-02-05 12:54:20', 0, '', '', '', 'Tyagi Hostel', 'Duhai, Ghaziabad', 'Greater Noida', 'Uttar Pradesh', '', '', '', '', '', '', '', '', '', '', 0, 0), (39, 'Shiva', 'NAyak', 'shiva5@gmail.com', '21feb1993', 0, 1, '1', 'Male', '1994-07-21', '', '', '', '', '', '', '', '', '', '2018-02-05 12:55:50', 0, '', '', '', 'Tyagi Hostel', 'Duhai, Ghaziabad', 'Greater Noida', 'Uttar Pradesh', '', '', '', '', '', '', '', '', '', '', 0, 0), (40, 'Shanti', 'Kumari', 'shanti@gmail.com', '21feb1993', 0, 1, '1', 'Male', '0994-02-07', '', '', '', '', '', '', '', '', '', '2018-02-06 06:34:01', 0, '', '', '', 't', 'g', 'Greater Noida', 'Uttar Pradesh', '', '', '', '', '', '', '', '', '', '', 0, 0), (41, 'paurush', 'ankit', 'paurush.ankit@gmail.com', '21feb1993', 0, 1, '1', 'Male', '1994-07-21', '', '', '', '', '', '', '', '', '', '2018-02-06 06:39:11', 0, '', '', '', 't', 'g', 'Greater Noida', 'Uttar Pradesh', '', '', '', '', '', '', '', '', '', '', 0, 0), (42, 'test', 'singh', 'test1@gmail.com', 'admin', 0, 1, '1', 'Male', '1994-07-21', '', '', '', '', '', '', '', '', '', '2018-02-06 08:59:44', 0, '', '', '', 't', 'g', 'Greater Noida', 'Uttar Pradesh', '', '', '', '', '', '', '', '', '', '', 0, 0); -- -------------------------------------------------------- -- -- Table structure for table `weight` -- CREATE TABLE `weight` ( `weight_id` int(11) NOT NULL, `weight_name` varchar(100) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Indexes for dumped tables -- -- -- Indexes for table `admin` -- ALTER TABLE `admin` ADD PRIMARY KEY (`admin_id`); -- -- Indexes for table `answer` -- ALTER TABLE `answer` ADD PRIMARY KEY (`ans_id`); -- -- Indexes for table `appointment` -- ALTER TABLE `appointment` ADD PRIMARY KEY (`ap_id`); -- -- Indexes for table `blog` -- ALTER TABLE `blog` ADD PRIMARY KEY (`blog_id`), ADD UNIQUE KEY `blog_slug` (`blog_slug`); -- -- Indexes for table `callback` -- ALTER TABLE `callback` ADD PRIMARY KEY (`call_id`); -- -- Indexes for table `cart` -- ALTER TABLE `cart` ADD PRIMARY KEY (`cart_id`); -- -- Indexes for table `category` -- ALTER TABLE `category` ADD PRIMARY KEY (`cat_id`); -- -- Indexes for table `chat` -- ALTER TABLE `chat` ADD PRIMARY KEY (`id`); -- -- Indexes for table `cities` -- ALTER TABLE `cities` ADD PRIMARY KEY (`city_id`); -- -- Indexes for table `clinic_service` -- ALTER TABLE `clinic_service` ADD PRIMARY KEY (`service_id`); -- -- Indexes for table `country` -- ALTER TABLE `country` ADD PRIMARY KEY (`id`); -- -- Indexes for table `height` -- ALTER TABLE `height` ADD PRIMARY KEY (`height_id`); -- -- Indexes for table `menu` -- ALTER TABLE `menu` ADD PRIMARY KEY (`menu_id`); -- -- Indexes for table `message` -- ALTER TABLE `message` ADD PRIMARY KEY (`message_id`); -- -- Indexes for table `nestedmenu` -- ALTER TABLE `nestedmenu` ADD PRIMARY KEY (`nest_id`); -- -- Indexes for table `product` -- ALTER TABLE `product` ADD PRIMARY KEY (`product_id`); -- -- Indexes for table `question` -- ALTER TABLE `question` ADD PRIMARY KEY (`q_id`); -- -- Indexes for table `quote` -- ALTER TABLE `quote` ADD PRIMARY KEY (`quote_id`); -- -- Indexes for table `rating` -- ALTER TABLE `rating` ADD PRIMARY KEY (`id`); -- -- Indexes for table `seo` -- ALTER TABLE `seo` ADD PRIMARY KEY (`seo_id`); -- -- Indexes for table `submenu` -- ALTER TABLE `submenu` ADD PRIMARY KEY (`submenu_id`); -- -- Indexes for table `subscriber` -- ALTER TABLE `subscriber` ADD PRIMARY KEY (`s_id`), ADD UNIQUE KEY `s_email` (`s_email`); -- -- Indexes for table `users` -- ALTER TABLE `users` ADD PRIMARY KEY (`user_id`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `admin` -- ALTER TABLE `admin` MODIFY `admin_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- AUTO_INCREMENT for table `answer` -- ALTER TABLE `answer` MODIFY `ans_id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `appointment` -- ALTER TABLE `appointment` MODIFY `ap_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=58; -- -- AUTO_INCREMENT for table `blog` -- ALTER TABLE `blog` MODIFY `blog_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6; -- -- AUTO_INCREMENT for table `callback` -- ALTER TABLE `callback` MODIFY `call_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=37; -- -- AUTO_INCREMENT for table `cart` -- ALTER TABLE `cart` MODIFY `cart_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT for table `category` -- ALTER TABLE `category` MODIFY `cat_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8; -- -- AUTO_INCREMENT for table `chat` -- ALTER TABLE `chat` MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `cities` -- ALTER TABLE `cities` MODIFY `city_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1639; -- -- AUTO_INCREMENT for table `clinic_service` -- ALTER TABLE `clinic_service` MODIFY `service_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15; -- -- AUTO_INCREMENT for table `country` -- ALTER TABLE `country` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=246; -- -- AUTO_INCREMENT for table `height` -- ALTER TABLE `height` MODIFY `height_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=29; -- -- AUTO_INCREMENT for table `menu` -- ALTER TABLE `menu` MODIFY `menu_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13; -- -- AUTO_INCREMENT for table `message` -- ALTER TABLE `message` MODIFY `message_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6; -- -- AUTO_INCREMENT for table `nestedmenu` -- ALTER TABLE `nestedmenu` MODIFY `nest_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6; -- -- AUTO_INCREMENT for table `product` -- ALTER TABLE `product` MODIFY `product_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5; -- -- AUTO_INCREMENT for table `question` -- ALTER TABLE `question` MODIFY `q_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5; -- -- AUTO_INCREMENT for table `quote` -- ALTER TABLE `quote` MODIFY `quote_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5; -- -- AUTO_INCREMENT for table `rating` -- ALTER TABLE `rating` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `seo` -- ALTER TABLE `seo` MODIFY `seo_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10; -- -- AUTO_INCREMENT for table `submenu` -- ALTER TABLE `submenu` MODIFY `submenu_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=70; -- -- AUTO_INCREMENT for table `subscriber` -- ALTER TABLE `subscriber` MODIFY `s_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- AUTO_INCREMENT for table `users` -- ALTER TABLE `users` MODIFY `user_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=43; 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 */;
USE reportingtasks; /* INSERT QUERY NO: 1 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 22, 'PRODUCTIVIDAD DE COSTE POTENCIAL INBOUND', 'POTENCIAL INBOUND', 'POTENCIAL INBOUND', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 0.33, 'NO', 'DIARIO', 'NA', 'Sin hora', 11, 'ACTIVO' ); /* INSERT QUERY NO: 2 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 100, 'PRODUCTIVIDAD COSTES 2N NIVEL VODAFONE', 'SOPORTE TÉCNICO N2', '2N', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 0.05, 'NO', 'DIARIO', 'NA', 'Sin hora', 11, 'ACTIVO' ); /* INSERT QUERY NO: 3 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 101, 'Rotación y Absentismo', 'CLICK TO CALL (C2C)', 'C2C', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 0.25, 'No', 'Mensual', 'NA', 'Sin hora', 11, 'ACTIVO' ); /* INSERT QUERY NO: 4 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 102, 'Rotación y Absentismo', 'CARTERA INBOUND', 'CARTERA INBOUND', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 0.25, 'No', 'Mensual', 'NA', 'Sin hora', 11, 'ACTIVO' ); /* INSERT QUERY NO: 5 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 106, 'Fin de jornada Amdocs (Web Amdocs)', 'DOOR TO DOOR (D2D)', 'D2D', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 0.35, 'Si', 'DIARIO', 'NA', '10:00', 11, 'ACTIVO' ); /* INSERT QUERY NO: 6 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 107, 'Productividad Amdocs', 'DOOR TO DOOR (D2D)', 'D2D', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 0.15, 'No', 'DIARIO', 'NA', 'Sin hora', 11, 'ACTIVO' ); /* INSERT QUERY NO: 7 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 109, 'PRODUCTIVIDAD COSTES BO TIENDAS', 'DOOR TO DOOR (D2D)', 'D2D', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 0.25, 'No', 'DIARIO', 'NA', 'Sin hora', 11, 'ACTIVO' ); /* INSERT QUERY NO: 8 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 110, 'INFORME GESTIONES BO TIENDAS', 'DOOR TO DOOR (D2D)', 'D2D', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 0.25, 'No', 'DIARIO', 'NA', 'Sin hora', 11, 'ACTIVO' ); /* INSERT QUERY NO: 9 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 111, 'CDM Renove', 'RETENCIONES N2', 'RETEN N2', 'VALENCIA', 'RESIDENCIAL', 'ORANGE', 0.75, 'SI', 'SEMANAL', 'Viernes', 'Sin hora', 11, 'ACTIVO' ); /* INSERT QUERY NO: 10 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 113, 'Control_Follow_Up (StatView)', 'PROVISIÓN', 'PROVISION', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 0.15, 'No', 'SEMANAL', 'Lunes', 'Sin hora', 11, 'ACTIVO' ); /* INSERT QUERY NO: 11 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 115, 'PPT Servicio provisión', 'PROVISIÓN', 'PROVISION', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 1, 'No', 'Mensual', 'NA', 'Sin hora', 11, 'ACTIVO' ); /* INSERT QUERY NO: 12 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 117, 'CdM_Mobility_Traslados (Mobilty)', 'PROVISIÓN', 'PROVISION', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 0.4, 'No', 'DIARIO', 'NA', 'Sin hora', 11, 'ACTIVO' ); /* INSERT QUERY NO: 13 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 121, 'CdM_Smart_Dates (AIBE/Mobility)', 'PROVISIÓN', 'PROVISION', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 0.5, 'No', 'DIARIO', 'NA', '8:00', 11, 'ACTIVO' ); /* INSERT QUERY NO: 14 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 123, 'PRODUCTIVIDAD PROVISIÓN', 'PROVISIÓN', 'PROVISION', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 0.5, 'NO', 'DIARIO', 'NA', 'Sin hora', 11, 'ACTIVO' ); /* INSERT QUERY NO: 15 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 125, 'Productividad Especialista', 'DOOR TO DOOR (D2D)', 'D2D', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 0, 'NO', 'DIARIO', 'NA', 'Sin hora', 11, 'ACTIVO' ); /* INSERT QUERY NO: 16 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 163, 'Fin de jornada Especialista', 'DOOR TO DOOR (D2D)', 'D2D', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 0.25, 'NO', 'DIARIO', 'NA', 'Sin hora', 11, 'ACTIVO' ); /* INSERT QUERY NO: 17 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 240, 'PRODUCTIVIDAD DE COSTES YOIGO RETENCIONES', 'BAJAS N1', 'RETENCIONES', 'VALENCIA', 'RESIDENCIAL', 'YOIGO', 0.75, 'NO', 'DIARIO', 'NA', 'Sin hora', 11, 'ACTIVO' ); /* INSERT QUERY NO: 18 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 241, 'PRODUCTIVIDAD DE COSTES YOIGO PORTAS', 'PORTABILIDAD N1', 'RETENCIONES', 'VALENCIA', 'RESIDENCIAL', 'YOIGO', 0.25, 'NO', 'DIARIO', 'NA', 'Sin hora', 11, 'ACTIVO' ); /* INSERT QUERY NO: 19 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 242, 'PRODUCTIVIDAD DE COSTES BAJAS MM', 'BAJAS N1', 'RETENCIONES', 'VALENCIA', 'RESIDENCIAL', 'MASMOVIL', 0.5, 'NO', 'DIARIO', 'NA', 'Sin hora', 11, 'ACTIVO' ); /* INSERT QUERY NO: 20 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 243, 'PRODUCTIVIDAD DE COSTES MM PORTAS', 'PORTABILIDAD N1', 'RETENCIONES', 'VALENCIA', 'RESIDENCIAL', 'MASMOVIL', 0.25, 'NO', 'DIARIO', 'NA', 'Sin hora', 11, 'ACTIVO' ); /* INSERT QUERY NO: 21 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 244, 'PRODUCTIVIDAD COSTES GLOBAL', 'BAJAS N1', 'RETENCIONES', 'VALENCIA', 'RESIDENCIAL', 'YOIGO', 0.25, 'NO', 'DIARIO', 'NA', 'Sin hora', 11, 'ACTIVO' ); /* INSERT QUERY NO: 22 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 245, 'ACTUALIZACION FUNNEL AGENCIAS ESPECIALISTA ', 'DOOR TO DOOR (D2D)', 'D2D', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 0.35, 'NO', 'DIARIO', 'NA', 'Sin hora', 11, 'ACTIVO' ); /* INSERT QUERY NO: 23 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 246, 'SUBIDA FUNNEL AGENCIAS D2D ESPECIALISTA', 'DOOR TO DOOR (D2D)', 'D2D', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 0.4, 'SI', 'DIARIO', 'NA', 'Sin hora', 11, 'ACTIVO' ); /* INSERT QUERY NO: 24 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 329, 'LLAMADAS POR FRANJA YOIGO BAJAS', 'BAJAS N1', 'RETENCIONES', 'VALENCIA', 'RESIDENCIAL', 'YOIGO', 0.1, 'NO', 'DIARIO', 'NA', '11:30', 11, 'ACTIVO' ); /* INSERT QUERY NO: 25 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 330, 'LLAMADAS POR FRANJA YOIGO PORTAS', 'BAJAS N1', 'RETENCIONES', 'VALENCIA', 'RESIDENCIAL', 'YOIGO', 0.1, 'NO', 'DIARIO', 'NA', '11:30', 11, 'ACTIVO' ); /* INSERT QUERY NO: 26 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 331, 'LLAMADAS POR FRANJA MM BAJAS', 'BAJAS N1', 'RETENCIONES', 'VALENCIA', 'RESIDENCIAL', 'MASMOVIL', 0.1, 'NO', 'DIARIO', 'NA', '11:30', 11, 'ACTIVO' ); /* INSERT QUERY NO: 27 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 332, 'LLAMADAS POR FRANJA MASMOVIL PORTAS', 'BAJAS N1', 'RETENCIONES', 'VALENCIA', 'RESIDENCIAL', 'MASMOVIL', 0.1, 'NO', 'DIARIO', 'NA', '11:30', 11, 'ACTIVO' ); /* INSERT QUERY NO: 28 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 3, 'Productivo Inbound', 'RETENCIONES N1', 'RETEN N1', 'VALENCIA', 'RESIDENCIAL', 'ORANGE', 0.75, 'NO', 'DIARIO', 'NA', '10:00', 3, 'ACTIVO' ); /* INSERT QUERY NO: 29 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 4, 'CDM Inbound', 'RETENCIONES N1', 'RETEN N2', 'VALENCIA', 'RESIDENCIAL', 'ORANGE', 0.75, 'NO', 'DIARIO', 'NA', '10:00', 3, 'ACTIVO' ); /* INSERT QUERY NO: 30 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 57, 'CDM PRODUCTIVIDAD + KPI + NDS', 'ATENCIÓN AL CLIENTE (ATC)', 'LLAMAYA', 'MADRID', 'RESIDENCIAL', 'LLAMAYA', 0.16, 'No', 'DIARIO', 'NA', 'Sin hora', 3, 'ACTIVO' ); /* INSERT QUERY NO: 31 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 58, 'RELLAMADA', 'ATENCIÓN AL CLIENTE (ATC)', 'LLAMAYA', 'MADRID', 'RESIDENCIAL', 'LLAMAYA', 0.5, 'No', 'DIARIO', 'NA', 'Sin hora', 3, 'ACTIVO' ); /* INSERT QUERY NO: 32 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 74, 'COMPROBACION FACTURA LLAMAYA', 'ATENCIÓN AL CLIENTE (ATC)', 'LLAMAYA', 'MADRID', 'RESIDENCIAL', 'LLAMAYA', 1.3, 'SI', 'SEMANAL', 'NA', 'Sin hora', 3, 'ACTIVO' ); /* INSERT QUERY NO: 33 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 75, 'AGENTES RESUMEN CADA MEDIA HORA', 'ATENCIÓN AL CLIENTE (ATC)', 'LLAMAYA', 'MADRID', 'RESIDENCIAL', 'LLAMAYA', 0.15, 'No', 'DIARIO', 'NA', '12:00', 3, 'ACTIVO' ); /* INSERT QUERY NO: 34 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 76, 'DISTRIBUCIÓN AGENTES_LLAMAYA UNIFICADO ', 'ATENCIÓN AL CLIENTE (ATC)', 'LLAMAYA', 'MADRID', 'RESIDENCIAL', 'LLAMAYA', 0.2, 'No', 'DIARIO', 'NA', '12:00', 3, 'ACTIVO' ); /* INSERT QUERY NO: 35 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 80, 'COMPROBACION PRODUCTIVIDAD MM ATC', 'ATENCIÓN AL CLIENTE (ATC)', 'ATC', 'VALENCIA', 'RESIDENCIAL', 'MASMOVIL', 0.15, 'NO', 'DIARIO', 'NA', 'Sin hora', 3, 'ACTIVO' ); /* INSERT QUERY NO: 36 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 81, 'COMPROBACIÓN PRODUCTIVIDAD MM ST', 'SOPORTE TÉCNICO N1', 'ATC', 'VALENCIA', 'RESIDENCIAL', 'MASMOVIL', 0.15, 'NO', 'DIARIO', 'NA', 'Sin hora', 3, 'ACTIVO' ); /* INSERT QUERY NO: 37 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 82, 'COMPROBACIÓN PRODUCTIVIDAD MM OB', 'PROVISIÓN', 'ATC', 'VALENCIA', 'RESIDENCIAL', 'MASMOVIL', 0.15, 'NO', 'DIARIO', 'NA', 'Sin hora', 3, 'ACTIVO' ); /* INSERT QUERY NO: 38 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 83, 'ACTUALIZACIÓN MENSUAL DE PRODUCTIVIDAD MM - ATC (TODOS LOS SERVICIOS)', 'ATENCIÓN AL CLIENTE (ATC)', 'ATC', 'VALENCIA', 'RESIDENCIAL', 'MASMOVIL', 1, 'NO', 'MENSUAL', 'NA', 'Sin hora', 3, 'ACTIVO' ); /* INSERT QUERY NO: 39 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 86, 'Devolucion Valencia', 'POTENCIAL OUTBOUND', 'POTENCIAL OUTBOUND', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 0.15, 'NO', 'DIARIO', 'NA', '11:00', 3, 'ACTIVO' ); /* INSERT QUERY NO: 40 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 90, 'Devolución Elvas', 'POTENCIAL OUTBOUND', 'POTENCIAL OUTBOUND', 'ELVAS', 'RESIDENCIAL', 'VODAFONE', 0.15, 'NO', 'DIARIO', 'NA', '11:00', 3, 'ACTIVO' ); /* INSERT QUERY NO: 41 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 95, 'COMPROBACION PRODUCTIVIDAD YOIGO ATC', 'ATENCIÓN AL CLIENTE (ATC)', 'ATC', 'VALENCIA', 'RESIDENCIAL', 'YOIGO', 0.15, 'NO', 'DIARIO', 'NA', 'Sin hora', 3, 'ACTIVO' ); /* INSERT QUERY NO: 42 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 96, 'COMPROBACION PRODUCTIVIDAD YOIGO ST', 'SOPORTE TÉCNICO N1', 'ATC', 'VALENCIA', 'RESIDENCIAL', 'YOIGO', 0.15, 'NO', 'DIARIO', 'NA', 'Sin hora', 3, 'ACTIVO' ); /* INSERT QUERY NO: 43 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 97, 'COMPROBACION PRODUCTIVIDAD YOIGO OB', 'PROVISIÓN', 'ATC', 'VALENCIA', 'RESIDENCIAL', 'YOIGO', 0.15, 'NO', 'DIARIO', 'NA', 'Sin hora', 3, 'ACTIVO' ); /* INSERT QUERY NO: 44 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 98, 'ACTUALIZACIÓN MENSUAL DE PRODUCTIVIDAD YOIGO - ATC (TODOS LOS SERVICIOS)', 'ATENCIÓN AL CLIENTE (ATC)', 'ATC', 'VALENCIA', 'RESIDENCIAL', 'YOIGO', 1, 'NO', 'MENSUAL', 'NA', 'Sin hora', 3, 'ACTIVO' ); /* INSERT QUERY NO: 45 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 139, 'ACTUALIZACION DIARIA CDM ', 'POTENCIAL OUTBOUND', 'PYMES', 'VALENCIA', 'PYMES', 'VODAFONE', 0.25, 'NO', 'DIARIO', 'NA', '13:00', 3, 'ACTIVO' ); /* INSERT QUERY NO: 46 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 153, 'COMPROBACION PRODUCTIVIDAD MM NEG', 'SOPORTE TÉCNICO N1', 'ATC', 'VALENCIA', 'RESIDENCIAL', 'MASMOVIL', 0.15, 'NO', 'DIARIO', 'NA', 'Sin hora', 3, 'ACTIVO' ); /* INSERT QUERY NO: 47 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 256, 'COMPROBACION PRODUCTIVIDAD YOIGO NEGOCIOS', 'SOPORTE TÉCNICO N1', 'ATC', 'VALENCIA', 'RESIDENCIAL', 'YOIGO', 0.15, 'NO', 'DIARIO', 'NA', 'Sin hora', 3, 'ACTIVO' ); /* INSERT QUERY NO: 48 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 316, 'ACTUALIZACION CDM PRODUCTIVIDAD+KPI+NPS', 'LYCAMOBILE', 'LYCAMOBILE', 'MADRID', 'RESIDENCIAL', 'LYCAMOBILE', 0.18, 'NO', 'DIARIO', 'NA', 'Sin hora', 3, 'ACTIVO' ); /* INSERT QUERY NO: 49 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 317, 'ACTUALIZACION CDM RELLAMADA', 'LYCAMOBILE', 'LYCAMOBILE', 'MADRID', 'RESIDENCIAL', 'LYCAMOBILE', 0.18, 'NO', 'DIARIO', 'NA', 'Sin hora', 3, 'ACTIVO' ); /* INSERT QUERY NO: 50 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 318, 'AGENTES RESUMEN CADA MEDIA HORA LYCA', 'LYCAMOBILE', 'LYCAMOBILE', 'MADRID', 'RESIDENCIAL', 'LYCAMOBILE', 0.18, 'NO', 'DIARIO', 'NA', 'Sin hora', 3, 'ACTIVO' ); /* INSERT QUERY NO: 51 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 319, 'DISTRIBUCION AGENTES LYCAMOBILE', 'LYCAMOBILE', 'LYCAMOBILE', 'MADRID', 'RESIDENCIAL', 'LYCAMOBILE', 0.18, 'NO', 'DIARIO', 'NA', 'Sin hora', 3, 'ACTIVO' ); /* INSERT QUERY NO: 52 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 320, 'INFORME ACTIVADAS MM INBOUND', 'POTENCIAL INBOUND', 'POTENCIAL INBOUND', 'VALENCIA', 'RESIDENCIAL', 'MASMOVIL', 0.5, 'SI', 'SEMANAL', 'Lunes', '12:00', 3, 'ACTIVO' ); /* INSERT QUERY NO: 53 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 325, 'INTRODUCCION DATOS TXT ORANGE INBOUND', 'POTENCIAL INBOUND', 'POTENCIAL INBOUND', 'VALENCIA', 'RESIDENCIAL', 'ORANGE', 0.3, 'NO', 'SEMANAL', 'Miércoles', '10:00', 3, 'ACTIVO' ); /* INSERT QUERY NO: 54 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 261, 'LLAMADAS POR SKILL', 'E2E', 'PROVISION', 'ELVAS', 'RESIDENCIAL', 'VODAFONE', 0.08, 'NO', 'DIARIO', 'NA', 'Sin hora', 10, 'ACTIVO' ); /* INSERT QUERY NO: 55 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 262, 'LLAMADAS POR SKILL', 'HD PYMES', 'PROVISION', 'ELVAS', 'PYMES', 'VODAFONE', 0.08, 'NO', 'DIARIO', 'NA', 'Sin hora', 10, 'ACTIVO' ); /* INSERT QUERY NO: 56 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 263, 'LLAMADAS POR SKILL', 'PROVISIÓN', 'NEBA XDSL', 'ELVAS', 'RESIDENCIAL', 'VODAFONE', 0.08, 'NO', 'DIARIO', 'NA', 'Sin hora', 10, 'ACTIVO' ); /* INSERT QUERY NO: 57 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 264, 'LLAMADAS POR SKILL', 'PROVISIÓN', 'FIBRA OW', 'ELVAS', 'RESIDENCIAL', 'VODAFONE', 0.08, 'NO', 'DIARIO', 'NA', 'Sin hora', 10, 'ACTIVO' ); /* INSERT QUERY NO: 58 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 265, 'LLAMADAS POR SKILL', 'TRIAJE', 'PROVISION', 'ELVAS', 'RESIDENCIAL', 'VODAFONE', 0.08, 'NO', 'DIARIO', 'NA', 'Sin hora', 10, 'ACTIVO' ); /* INSERT QUERY NO: 59 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 269, 'TRANSFERENCIAS', 'PROVISIÓN', 'HD RESIDENCIAL', 'ELVAS', 'RESIDENCIAL', 'VODAFONE', 0.1, 'NO', 'DIARIO', 'NA', 'Sin hora', 10, 'ACTIVO' ); /* INSERT QUERY NO: 60 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 270, 'TRANSFERENCIAS', 'HD PYMES', 'PYMES', 'ELVAS', 'PYMES', 'VODAFONE', 0.1, 'NO', 'DIARIO', 'NA', 'Sin hora', 10, 'ACTIVO' ); /* INSERT QUERY NO: 61 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 271, 'TRANSFERENCIAS', 'PROVISIÓN', 'NEBA XDSL', 'ELVAS', 'RESIDENCIAL', 'VODAFONE', 0.1, 'NO', 'DIARIO', 'NA', 'Sin hora', 10, 'ACTIVO' ); /* INSERT QUERY NO: 62 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 272, 'TRANSFERENCIAS', 'TRIAJE', 'TRIAJE', 'ELVAS', 'RESIDENCIAL', 'VODAFONE', 0.1, 'NO', 'DIARIO', 'NA', 'Sin hora', 10, 'ACTIVO' ); /* INSERT QUERY NO: 63 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 273, 'ENCUESTAS', 'E2E', 'E2E', 'ELVAS', 'RESIDENCIAL', 'VODAFONE', 0.13, 'NO', 'DIARIO', 'NA', 'Sin hora', 10, 'ACTIVO' ); /* INSERT QUERY NO: 64 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 274, 'ENCUESTAS', 'HD PYMES', 'PYMES', 'ELVAS', 'PYMES', 'VODAFONE', 0.13, 'NO', 'DIARIO', 'NA', 'Sin hora', 10, 'ACTIVO' ); /* INSERT QUERY NO: 65 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 275, 'ENCUESTAS', 'PROVISIÓN', 'FIBRA OW', 'ELVAS', 'RESIDENCIAL', 'VODAFONE', 0.13, 'NO', 'DIARIO', 'NA', 'Sin hora', 10, 'ACTIVO' ); /* INSERT QUERY NO: 66 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 276, 'ENCUESTAS', 'TRIAJE', 'TRIAJE', 'ELVAS', 'RESIDENCIAL', 'VODAFONE', 0.13, 'NO', 'DIARIO', 'NA', 'Sin hora', 10, 'ACTIVO' ); /* INSERT QUERY NO: 67 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 278, 'RELLAMADA', 'E2E', 'E2E', 'ELVAS', 'RESIDENCIAL', 'VODAFONE', 0.2, 'NO', 'DIARIO', 'NA', 'Sin hora', 10, 'ACTIVO' ); /* INSERT QUERY NO: 68 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 279, 'RELLAMADA', 'HD PYMES', 'PYMES', 'ELVAS', 'PYMES', 'VODAFONE', 0.2, 'NO', 'DIARIO', 'NA', 'Sin hora', 10, 'ACTIVO' ); /* INSERT QUERY NO: 69 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 280, 'RELLAMADA', 'PROVISIÓN', 'NEBA XDSL', 'ELVAS', 'RESIDENCIAL', 'VODAFONE', 0.2, 'NO', 'DIARIO', 'NA', 'Sin hora', 10, 'ACTIVO' ); /* INSERT QUERY NO: 70 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 281, 'RELLAMADA', 'PROVISIÓN', 'FIBRA OW', 'ELVAS', 'RESIDENCIAL', 'VODAFONE', 0.2, 'NO', 'DIARIO', 'NA', 'Sin hora', 10, 'ACTIVO' ); /* INSERT QUERY NO: 71 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 282, 'RELLAMADA RESIDENCIAL Y EMPRESAS', 'TRIAJE', 'TRIAJE', 'ELVAS', 'RESIDENCIAL', 'VODAFONE', 0.2, 'NO', 'DIARIO', 'NA', 'Sin hora', 10, 'ACTIVO' ); /* INSERT QUERY NO: 72 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 283, 'ENVÍO A CAMPO', 'HD PYMES', 'PYMES', 'ELVAS', 'PYMES', 'VODAFONE', 0.17, 'NO', 'SEMANAL', 'Martes', 'Sin hora', 10, 'ACTIVO' ); /* INSERT QUERY NO: 73 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 284, 'ENVÍO A CAMPO', 'PROVISIÓN', 'NEBA XDSL', 'ELVAS', 'RESIDENCIAL', 'VODAFONE', 0.17, 'NO', 'SEMANAL', 'Miércoles', 'Sin hora', 10, 'ACTIVO' ); /* INSERT QUERY NO: 74 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 285, 'ENVIO A CAMPO', 'PROVISIÓN', 'FIBRA OW', 'ELVAS', 'RESIDENCIAL', 'VODAFONE', 0.17, 'NO', 'SEMANAL', 'Jueves', 'Sin hora', 10, 'ACTIVO' ); /* INSERT QUERY NO: 75 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 286, 'PIZARRA', 'E2E', 'E2E', 'ELVAS', 'RESIDENCIAL', 'VODAFONE', 1, 'NO', 'DIARIO', 'NA', 'Sin hora', 10, 'ACTIVO' ); /* INSERT QUERY NO: 76 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 287, 'PIZARRA', 'HD PYMES', 'PYMES', 'ELVAS', 'PYMES', 'VODAFONE', 0.1, 'NO', 'DIARIO', 'NA', 'Sin hora', 10, 'ACTIVO' ); /* INSERT QUERY NO: 77 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 288, 'PIZARRA', 'PROVISIÓN', 'NEBA XDSL', 'ELVAS', 'RESIDENCIAL', 'VODAFONE', 0.1, 'NO', 'DIARIO', 'NA', 'Sin hora', 10, 'ACTIVO' ); /* INSERT QUERY NO: 78 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 289, 'PIZARRA', 'PROVISIÓN', 'FIBRA OW', 'ELVAS', 'RESIDENCIAL', 'VODAFONE', 0.1, 'NO', 'DIARIO', 'NA', 'Sin hora', 10, 'ACTIVO' ); /* INSERT QUERY NO: 79 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 290, 'PIZARRA', 'TRIAJE', 'TRIAJE', 'ELVAS', 'RESIDENCIAL', 'VODAFONE', 0.1, 'NO', 'DIARIO', 'NA', 'Sin hora', 10, 'ACTIVO' ); /* INSERT QUERY NO: 80 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 291, 'INFORME COORDINACION', 'E2E', 'E2E', 'ELVAS', 'RESIDENCIAL', 'VODAFONE', 0.1, 'NO', 'DIARIO', 'NA', 'Sin hora', 10, 'ACTIVO' ); /* INSERT QUERY NO: 81 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 292, 'INFORME COORDINACION', 'HD PYMES', 'PYMES', 'ELVAS', 'PYMES', 'VODAFONE', 0.1, 'NO', 'DIARIO', 'NA', 'Sin hora', 10, 'ACTIVO' ); /* INSERT QUERY NO: 82 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 293, 'INFORME COORDINACION', 'PROVISIÓN', 'NEBA XDSL', 'ELVAS', 'RESIDENCIAL', 'VODAFONE', 0.1, 'NO', 'DIARIO', 'NA', 'Sin hora', 10, 'ACTIVO' ); /* INSERT QUERY NO: 83 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 294, 'INFORME COORDINACION', 'PROVISIÓN', 'FIBRA OW', 'ELVAS', 'RESIDENCIAL', 'VODAFONE', 0.1, 'NO', 'DIARIO', 'NA', 'Sin hora', 10, 'ACTIVO' ); /* INSERT QUERY NO: 84 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 295, 'INFORME COORDINACION', 'TRIAJE', 'TRIAJE', 'ELVAS', 'RESIDENCIAL', 'VODAFONE', 0.1, 'NO', 'DIARIO', 'NA', 'Sin hora', 10, 'ACTIVO' ); /* INSERT QUERY NO: 85 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 296, 'PRODUCTIVIDAD (AVERÍAS CERRADAS)', 'PROVISIÓN', '2N', 'ELVAS', 'RESIDENCIAL', 'VODAFONE', 1, 'NO', 'DIARIO', 'NA', '12:00', 10, 'ACTIVO' ); /* INSERT QUERY NO: 86 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 297, 'PRODUCTIVIDAD (SLA)', 'PROVISIÓN', '2N', 'ELVAS', 'RESIDENCIAL', 'VODAFONE', 0.5, 'NO', 'DIARIO', 'NA', '12:00', 10, 'ACTIVO' ); /* INSERT QUERY NO: 87 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 298, 'PRODUCTIVIDAD (MOBILITY)', 'PROVISIÓN', '2N', 'ELVAS', 'RESIDENCIAL', 'VODAFONE', 0.5, 'NO', 'DIARIO', 'NA', '12:00', 10, 'ACTIVO' ); /* INSERT QUERY NO: 88 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 299, 'NPS ONLINE', 'E2E', 'E2E', 'ELVAS', 'RESIDENCIAL', 'VODAFONE', 0.02, 'NO', 'DIARIO', 'NA', 'Sin hora', 10, 'ACTIVO' ); /* INSERT QUERY NO: 89 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 300, 'NPS ONLINE', 'HD PYMES', 'PYMES', 'ELVAS', 'PYMES', 'VODAFONE', 0.02, 'NO', 'DIARIO', 'NA', 'Sin hora', 10, 'ACTIVO' ); /* INSERT QUERY NO: 90 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 301, 'NPS ONLINE', 'PROVISIÓN', 'NEBA XDSL', 'ELVAS', 'RESIDENCIAL', 'VODAFONE', 0.02, 'NO', 'DIARIO', 'NA', 'Sin hora', 10, 'ACTIVO' ); /* INSERT QUERY NO: 91 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 302, 'NPS ONLINE', 'PROVISIÓN', 'FIBRA OW', 'ELVAS', 'RESIDENCIAL', 'VODAFONE', 0.02, 'NO', 'DIARIO', 'NA', 'Sin hora', 10, 'ACTIVO' ); /* INSERT QUERY NO: 92 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 303, 'NPS ONLINE', 'PROVISIÓN', '2N', 'ELVAS', 'RESIDENCIAL', 'VODAFONE', 0.02, 'NO', 'DIARIO', 'NA', 'Sin hora', 10, 'ACTIVO' ); /* INSERT QUERY NO: 93 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 304, 'LLAMADAS ENTRANTE Y SALIENTES', 'PROVISIÓN', '2N', 'ELVAS', 'RESIDENCIAL', 'VODAFONE', 0.25, 'NO', 'DIARIO', 'NA', 'Sin hora', 10, 'ACTIVO' ); /* INSERT QUERY NO: 94 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 305, 'SLA6H', 'PROVISIÓN', '2N', 'ELVAS', 'RESIDENCIAL', 'VODAFONE', 1, 'NO', 'DIARIO', 'NA', 'Sin hora', 10, 'ACTIVO' ); /* INSERT QUERY NO: 95 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 306, 'REPETIDAS 7DIAS', 'PROVISIÓN', '2N', 'ELVAS', 'RESIDENCIAL', 'VODAFONE', 0.1, 'NO', 'DIARIO', 'NA', 'Sin hora', 10, 'ACTIVO' ); /* INSERT QUERY NO: 96 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 307, 'PRODUCTIVIDAD BO', 'PROVISIÓN', 'FIBRA OW', 'ELVAS', 'RESIDENCIAL', 'VODAFONE', 0.2, 'NO', 'SEMANAL', 'Lunes', 'Sin hora', 10, 'ACTIVO' ); /* INSERT QUERY NO: 97 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 308, 'PRODUCTIVIDAD BO', 'E2E', 'E2E', 'ELVAS', 'RESIDENCIAL', 'VODAFONE', 0.2, 'NO', 'SEMANAL', 'Lunes', 'Sin hora', 10, 'ACTIVO' ); /* INSERT QUERY NO: 98 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 309, 'PRODUCTIVIDAD BO', 'PROVISIÓN', 'NEBA XDSL', 'ELVAS', 'RESIDENCIAL', 'VODAFONE', 0.2, 'NO', 'SEMANAL', 'Lunes', 'Sin hora', 10, 'ACTIVO' ); /* INSERT QUERY NO: 99 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 310, 'PRODUCTIVIDAD SALIENTES', 'E2E', 'E2E', 'ELVAS', 'RESIDENCIAL', 'VODAFONE', 0.25, 'NO', 'SEMANAL', 'NA', 'Sin hora', 10, 'ACTIVO' ); /* INSERT QUERY NO: 100 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 311, 'PRODUCTIVIDAD SALIENTES', 'PROVISIÓN', 'NEBA XDSL', 'ELVAS', 'RESIDENCIAL', 'VODAFONE', 0.25, 'NO', 'SEMANAL', 'NA', 'Sin hora', 10, 'ACTIVO' ); /* INSERT QUERY NO: 101 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 312, 'PRODUCTIVIDAD SALIENTES', 'PROVISIÓN', 'FIBRA OW', 'ELVAS', 'RESIDENCIAL', 'VODAFONE', 0.25, 'NO', 'SEMANAL', 'NA', 'Sin hora', 10, 'ACTIVO' ); /* INSERT QUERY NO: 102 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 313, 'PRODUCTIVIDAD BO', 'HD PYMES', 'PYMES', 'ELVAS', 'PYMES', 'VODAFONE', 0.2, 'NO', 'SEMANAL', 'Lunes', 'Sin hora', 10, 'ACTIVO' ); /* INSERT QUERY NO: 103 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 314, 'PRODUCTIVIDAD GEOS', 'E2E', 'E2E', 'ELVAS', 'RESIDENCIAL', 'VODAFONE', 0.38, 'NO', 'SEMANAL', 'NA', 'Sin hora', 10, 'ACTIVO' ); /* INSERT QUERY NO: 104 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 315, 'PRODUCTIVIDAD GEOS', 'HD PYMES', 'PYMES', 'ELVAS', 'PYMES', 'VODAFONE', 0.38, 'NO', 'SEMANAL', 'NA', 'Sin hora', 10, 'ACTIVO' ); /* INSERT QUERY NO: 105 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 10, 'Control Diario', 'CROSS SELLING', 'CROSS', 'VALENCIA', 'RESIDENCIAL', 'YOIGO', 0.2, 'SI', 'DIARIO', 'NA', '10:00', 9, 'ACTIVO' ); /* INSERT QUERY NO: 106 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 11, 'CDM_CROSS OUT', 'CROSS SELLING', 'CROSS', 'VALENCIA', 'RESIDENCIAL', 'YOIGO', 0.2, 'SI', 'DIARIO', 'NA', '10:00', 9, 'ACTIVO' ); /* INSERT QUERY NO: 107 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 14, 'Report_informe Cierre V2.1', 'CROSS SELLING', 'CROSS', 'VALENCIA', 'RESIDENCIAL', 'YOIGO', 0.2, 'SI', 'DIARIO', 'NA', '10:00', 9, 'ACTIVO' ); /* INSERT QUERY NO: 108 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 15, 'INFORME COSECHA YOIGO CARTERA', 'CROSS SELLING', 'CROSS', 'VALENCIA', 'RESIDENCIAL', 'YOIGO', 0.15, 'NO', 'DIARIO', 'NA', '14:00', 9, 'ACTIVO' ); /* INSERT QUERY NO: 109 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 84, 'Contactacion Valencia', 'POTENCIAL OUTBOUND', 'POTENCIAL OUTBOUND', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 0.15, 'SI', 'DIARIO', 'NA', '10:00', 9, 'ACTIVO' ); /* INSERT QUERY NO: 110 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 85, 'Curva contactacion', 'POTENCIAL OUTBOUND', 'POTENCIAL OUTBOUND', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 0.15, 'SI', 'DIARIO', 'NA', '9:00', 9, 'ACTIVO' ); /* INSERT QUERY NO: 111 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 88, 'CURVA CONTACTACION ELVAS', 'POTENCIAL OUTBOUND', 'POTENCIAL OUTBOUND', 'ELVAS', 'RESIDENCIAL', 'VODAFONE', 0.15, 'NO', 'DIARIO', 'NA', '9:00', 9, 'ACTIVO' ); /* INSERT QUERY NO: 112 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 99, 'Contactacion ELVAS', 'POTENCIAL OUTBOUND', 'POTENCIAL OUTBOUND', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 0.15, 'SI', 'DIARIO', 'NA', '10:00', 9, 'ACTIVO' ); /* INSERT QUERY NO: 113 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 157, 'INFORME B1. HORAS GESTION FRONT', 'POTENCIAL OUTBOUND', 'TELEVENTA', 'VALENCIA', 'RESIDENCIAL', 'ORANGE', 0.5, 'NO', 'DIARIO', 'NA', '09:00', 9, 'ACTIVO' ); /* INSERT QUERY NO: 114 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 158, 'INFORME B2. TIPIFICACIONES', 'POTENCIAL OUTBOUND', 'TELEVENTA', 'VALENCIA', 'RESIDENCIAL', 'ORANGE', 0.25, 'NO', 'DIARIO', 'NA', '09:00', 9, 'ACTIVO' ); /* INSERT QUERY NO: 115 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 159, 'INFORME BI_BO. HORAS GESTION BO', 'POTENCIAL OUTBOUND', 'TELEVENTA', 'VALENCIA', 'RESIDENCIAL', 'ORANGE', 0.25, 'NO', 'DIARIO', 'NA', '09:00', 9, 'ACTIVO' ); /* INSERT QUERY NO: 116 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 225, 'ACTUALIZACION PRODUCTIVIDAD MM ATC', 'ATENCIÓN AL CLIENTE (ATC)', 'ATC', 'VALENCIA', 'RESIDENCIAL', 'MASMOVIL', 0.15, 'NO', 'DIARIO', 'NA', 'Sin hora', 9, 'ACTIVO' ); /* INSERT QUERY NO: 117 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 226, 'ACTUALIZACION PRODUCTIVIDAD MM ST', 'SOPORTE TÉCNICO N1', 'ATC', 'VALENCIA', 'RESIDENCIAL', 'MASMOVIL', 0.15, 'NO', 'DIARIO', 'NA', 'Sin hora', 9, 'ACTIVO' ); /* INSERT QUERY NO: 118 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 227, 'ACTUALIZACION PRODUCTIVIDAD MM OB', 'PROVISIÓN', 'ATC', 'VALENCIA', 'RESIDENCIAL', 'MASMOVIL', 0.15, 'NO', 'DIARIO', 'NA', 'Sin hora', 9, 'ACTIVO' ); /* INSERT QUERY NO: 119 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 228, 'ACTUALIZACION PRODUCTIVIDAD YOIGO ATC', 'ATENCIÓN AL CLIENTE (ATC)', 'ATC', 'VALENCIA', 'RESIDENCIAL', 'YOIGO', 0.15, 'NO', 'DIARIO', 'NA', 'Sin hora', 9, 'ACTIVO' ); /* INSERT QUERY NO: 120 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 229, 'ACTUALIZACION PRODUCTIVIDAD YOIGO ST', 'SOPORTE TÉCNICO N1', 'ATC', 'VALENCIA', 'RESIDENCIAL', 'YOIGO', 0.15, 'NO', 'DIARIO', 'NA', 'Sin hora', 9, 'ACTIVO' ); /* INSERT QUERY NO: 121 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 230, 'ACTUALIZACION PRODUCTIVIDAD YOIGO OB', 'PROVISIÓN', 'ATC', 'VALENCIA', 'RESIDENCIAL', 'YOIGO', 0.15, 'NO', 'DIARIO', 'NA', 'Sin hora', 9, 'ACTIVO' ); /* INSERT QUERY NO: 122 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 231, 'ACTUALIZACION PRODUCTIVIDAD MM NEG', 'SOPORTE TÉCNICO N1', 'ATC', 'VALENCIA', 'RESIDENCIAL', 'MASMOVIL', 0.15, 'NO', 'DIARIO', 'NA', 'Sin hora', 9, 'ACTIVO' ); /* INSERT QUERY NO: 123 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 236, 'CURVA CONTACTACIÓN ORANGE TELEVENTA', 'TELEVENTA', 'POTENCIAL OUTBOUND', 'VALENCIA', 'RESIDENCIAL', 'ORANGE', 0.25, 'NO', 'DIARIO', 'NA', '11:00', 9, 'ACTIVO' ); /* INSERT QUERY NO: 124 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 255, 'ACTUALIZACION CDM PRODUCITIVIDAD POR AGENTE', 'POTENCIAL OUTBOUND', 'TELEVENTA', 'VALENCIA', 'RESIDENCIAL', 'ORANGE', 0.5, 'NO', 'DIARIO', '', 'Sin hora', 9, 'ACTIVO' ); /* INSERT QUERY NO: 125 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 321, 'INFORME ACTIVADAS YOIGO INBOUND', 'POTENCIAL INBOUND', 'POTENCIAL INBOUND', 'VALENCIA', 'RESIDENCIAL', 'YOIGO', 0.5, 'SI', 'SEMANAL', 'Lunes', '12:00', 9, 'ACTIVO' ); /* INSERT QUERY NO: 126 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 322, 'CDM RELLAMADA YOIGO RETENCIONES', 'BAJAS N1', 'RETENCIONES', 'VALENCIA', 'RESIDENCIAL', 'YOIGO', 0.25, 'NO', 'DIARIO', 'NA', '14:00', 9, 'ACTIVO' ); /* INSERT QUERY NO: 127 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 323, 'CDM RELLAMADA MM RETENCIONES', 'BAJAS N1', 'RETENCIONES', 'VALENCIA', 'RESIDENCIAL', 'MASMOVIL', 0.25, 'NO', 'DIARIO', 'NA', '14:00', 9, 'ACTIVO' ); /* INSERT QUERY NO: 128 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 326, 'TIEMPOS DE LOGADO SOPORTE 127 ELVAS', 'DOOR TO DOOR (D2D)', 'SOPORTE 127', 'ELVAS', 'RESIDENCIAL', 'VODAFONE', 1, 'NO', 'DIARIO', 'NA', '12:00', 9, 'ACTIVO' ); /* INSERT QUERY NO: 129 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 327, 'ESTIMADAS VS ATENDIDAS SOPORTE 127', 'DOOR TO DOOR (D2D)', 'SOPORTE 127', 'ELVAS', 'RESIDENCIAL', 'VODAFONE', 0.15, 'NO', 'DIARIO', 'NA', '12:00', 9, 'ACTIVO' ); /* INSERT QUERY NO: 130 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 328, 'INFORME 127 SOPORTE ELVAS ( COSTES)', 'DOOR TO DOOR (D2D)', 'SOPORTE 127', 'ELVAS', 'RESIDENCIAL', 'VODAFONE', 0.25, 'NO', 'DIARIO', 'NA', '12:00', 9, 'ACTIVO' ); /* INSERT QUERY NO: 131 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 25, 'LLAMADAS POR FRANJA', 'POTENCIAL INBOUND', 'POTENCIAL INBOUND', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 0.15, 'NO', 'DIARIO', 'NA', 'Sin hora', 8, 'ACTIVO' ); /* INSERT QUERY NO: 132 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 28, 'Llamadas C2C', 'CLICK TO CALL (C2C)', 'C2C', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 0.08, 'NO', 'DIARIO', 'NA', 'Sin hora', 8, 'ACTIVO' ); /* INSERT QUERY NO: 133 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 30, 'AUX C2C', 'CLICK TO CALL (C2C)', 'C2C', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 0.16, 'NO', 'DIARIO', 'NA', 'Sin hora', 8, 'ACTIVO' ); /* INSERT QUERY NO: 134 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 31, 'Llamadas por agente VLC', 'CLICK TO CALL (C2C)', 'C2C', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 0.08, 'NO', 'DIARIO', 'NA', 'Sin hora', 8, 'ACTIVO' ); /* INSERT QUERY NO: 135 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 47, 'HORAS DE LOGADO B2B', 'BUSINESS-TO-BUSINESS (B2B)', 'B2B', 'MADRID', 'PYMES', 'MASMOVIL', 0.25, 'NO', 'DIARIO', 'NA', 'Sin hora', 8, 'ACTIVO' ); /* INSERT QUERY NO: 136 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 48, 'Cosecha activacion y cancelacion MM CARTERA', 'CARTERA INBOUND', 'CARTERA', 'VALENCIA', 'RESIDENCIAL', 'MASMOVIL', 0.33, 'NO', 'SEMANAL', 'NA', 'Sin hora', 8, 'ACTIVO' ); /* INSERT QUERY NO: 137 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 49, 'CONTROL DIARIO CARTERA', 'CARTERA INBOUND', 'CARTERA', 'VALENCIA', 'RESIDENCIAL', 'MASMOVIL', 0.2, 'NO', 'DIARIO', 'NA', '10:00', 8, 'ACTIVO' ); /* INSERT QUERY NO: 138 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 108, 'AUX PREVENTA / D2D', 'DOOR TO DOOR (D2D)', 'D2D', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 0.05, 'No', 'DIARIO', 'NA', 'Sin hora', 8, 'ACTIVO' ); /* INSERT QUERY NO: 139 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 112, 'AUX POTENCIAL INBOUND', 'POTENCIAL INBOUND', 'POTENCIAL INBOUND', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 0.05, 'No', 'DIARIO', 'Lunes', 'Sin hora', 8, 'ACTIVO' ); /* INSERT QUERY NO: 140 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 124, 'AUX PROVISIÓN', 'PROVISIÓN', 'PROVISION', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 0.1, 'NO', 'DIARIO', 'NA', 'Sin hora', 8, 'ACTIVO' ); /* INSERT QUERY NO: 141 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 146, 'ACTUALIZACION DIARIA CDM INBOUND MM', 'POTENCIAL INBOUND', 'PYMES', 'MADRID', 'PYMES', 'MASMOVIL', 0.25, 'NO', 'DIARIO', 'NA', 'Sin hora', 8, 'ACTIVO' ); /* INSERT QUERY NO: 142 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 155, 'ACTUALIZACION DIARIA CDM INBOUND YG', 'POTENCIAL INBOUND', 'PYMES', 'VALENCIA', 'PYMES', 'YOIGO', 0.25, 'NO', 'DIARIO', 'NA', 'Sin hora', 8, 'ACTIVO' ); /* INSERT QUERY NO: 143 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 197, 'CDM diario Orange Televenta', 'POTENCIAL OUTBOUND', 'TELEVENTA', 'VALENCIA', 'RESIDENCIAL', 'ORANGE', 0.75, 'SI', 'DIARIO', 'NA', 'Sin hora', 8, 'ACTIVO' ); /* INSERT QUERY NO: 144 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 210, 'LLAMADAS DIARIA CARTERA', 'CLICK TO CALL (C2C)', 'C2C', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 0.1, 'NO', 'DIARIO', 'NA', 'Sin hora', 8, 'ACTIVO' ); /* INSERT QUERY NO: 145 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 219, 'CDM PRODUCTIVIDAD AGENTES', 'BUSINESS-TO-BUSINESS (B2B)', 'B2B', 'VALENCIA', 'PYMES', 'MASMOVIL', 0.5, 'NO', 'DIARIO', 'NA', '11:30', 8, 'ACTIVO' ); /* INSERT QUERY NO: 146 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 247, 'CDM MM CARTERA', 'CARTERA INBOUND', 'CARTERA', 'VALENCIA', 'RESIDENCIAL', 'MASMOVIL', 0.2, 'SI', 'DIARIO', 'NA', '10:00', 8, 'ACTIVO' ); /* INSERT QUERY NO: 147 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 250, 'INFORME DE PRODUCTOS MM CARTERA Y CARTERA MASUNO', 'CARTERA INBOUND', 'CARTERA', 'VALENCIA', 'RESIDENCIAL', 'MASMOVIL', 0.2, 'NO', 'DIARIO', 'NA', '10:00', 8, 'ACTIVO' ); /* INSERT QUERY NO: 148 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 277, 'ACTUALIZACION ARCHIVO HORAS PRODUCT INBOUND', 'POTENCIAL INBOUND', 'POTENCIAL INBOUND', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 0.16, 'SI', 'DIARIO', 'NA', '08:30', 8, 'ACTIVO' ); /* INSERT QUERY NO: 149 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 23, '20190616_VENTAS_POT_IN_MARKTEL_VALENCIA', 'POTENCIAL INBOUND', 'POTENCIAL INBOUND', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 0.5, 'SI', 'DIARIO', 'NA', '14:00', 7, 'ACTIVO' ); /* INSERT QUERY NO: 150 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 26, '20190611_VENTAS_AGENTE_TVTA _AGENCIA', 'POTENCIAL INBOUND', 'POTENCIAL INBOUND', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 0.25, 'SI', 'SEMANAL', 'Lunes', 'Sin hora', 7, 'ACTIVO' ); /* INSERT QUERY NO: 151 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 29, 'Calculo de incentivos Online C2C', 'CLICK TO CALL (C2C)', 'C2C', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 1, 'NO', 'MENSUAL', 'NA', 'Sin hora', 7, 'ACTIVO' ); /* INSERT QUERY NO: 152 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 32, 'Productividad interna C2C ( COSTES)', 'CLICK TO CALL (C2C)', 'C2C', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 0.33, 'NO', 'DIARIO', 'NA', 'Sin hora', 7, 'ACTIVO' ); /* INSERT QUERY NO: 153 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 33, 'Productividad por Agente C2C Junio 2019', 'CLICK TO CALL (C2C)', 'C2C', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 0.75, 'NO', 'DIARIO', 'NA', '11:00', 7, 'ACTIVO' ); /* INSERT QUERY NO: 154 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 34, 'Productividad por Agente Cartera Junio 2019', 'CLICK TO CALL (C2C)', 'C2C', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 0.75, 'NO', 'DIARIO', 'NA', '11:00', 7, 'ACTIVO' ); /* INSERT QUERY NO: 155 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 35, 'Productividad por Agente VB Junio 2019', 'CLICK TO CALL (C2C)', 'C2C', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 0.75, 'NO', 'DIARIO', 'NA', '11:00', 7, 'ACTIVO' ); /* INSERT QUERY NO: 156 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 41, '02 Calculo de incentivos Televenta NMR', 'CARTERA INBOUND', 'CARTERA INBOUND', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 1, 'NO', 'MENSUAL', 'NA', 'Sin hora', 7, 'ACTIVO' ); /* INSERT QUERY NO: 157 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 46, 'HORAS ADMINISTRATIVAS', 'DOOR TO DOOR (D2D)', 'D2D', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 0.3, 'NO', 'MENSUAL', 'NA', 'Sin hora', 7, 'ACTIVO' ); /* INSERT QUERY NO: 158 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 50, '02 Horas unificadas_CLIENTE POTENCIAL 2019', 'POTENCIAL OUTBOUND', 'POTENCIAL OUTBOUND', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 0.25, 'NO', 'DIARIO', 'NA', '09:00', 7, 'ACTIVO' ); /* INSERT QUERY NO: 159 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 51, '20190221_HORAS_TVTA_MARKTEL_VALENCIA', 'POTENCIAL OUTBOUND', 'POTENCIAL OUTBOUND', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 0.08, 'SI', 'DIARIO', 'NA', '9:00', 7, 'ACTIVO' ); /* INSERT QUERY NO: 160 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 52, '02 Horas unificadas_CLIENTE POTENCIAL 2019 ELVAS', 'POTENCIAL OUTBOUND', 'POTENCIAL OUTBOUND', 'ELVAS', 'RESIDENCIAL', 'VODAFONE', 0.25, 'NO', 'DIARIO', 'NA', '9:00', 7, 'ACTIVO' ); /* INSERT QUERY NO: 161 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 53, '20190221_HORAS_TVTA_MARKTEL_ELVAS', 'POTENCIAL OUTBOUND', 'POTENCIAL OUTBOUND', 'ELVAS', 'RESIDENCIAL', 'VODAFONE', 0.08, 'NO', 'DIARIO', 'NA', '9:00', 7, 'ACTIVO' ); /* INSERT QUERY NO: 162 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 54, 'HORAS ADMINISTRATIVAS', 'POTENCIAL OUTBOUND', 'POTENCIAL OUTBOUND', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 0.3, 'NO', 'MENSUAL', 'NA', 'Sin hora', 7, 'ACTIVO' ); /* INSERT QUERY NO: 163 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 55, 'CREACION USUARIOS VODAFONE', 'POTENCIAL INBOUND', 'POTENCIAL INBOUND', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 0.5, 'NO', 'DIARIO', 'NA', 'Sin hora', 7, 'ACTIVO' ); /* INSERT QUERY NO: 164 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 56, 'HORAS ADMINISTRATIVAS', 'POTENCIAL INBOUND', 'POTENCIAL INBOUND', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 0.3, 'NO', 'MENSUAL', 'NA', 'Sin hora', 7, 'ACTIVO' ); /* INSERT QUERY NO: 165 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 77, 'RANKING', 'POTENCIAL INBOUND', 'INBOUND', 'VALENCIA', 'RESIDENCIAL', 'MASMOVIL', 1, 'SI', 'DIARIO', 'NA', 'Sin hora', 7, 'ACTIVO' ); /* INSERT QUERY NO: 166 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 78, 'COSECHAS', 'POTENCIAL INBOUND', 'INBOUND', 'VALENCIA', 'RESIDENCIAL', 'MASMOVIL', 0.15, 'NO', 'DIARIO', 'NA', 'Sin hora', 7, 'ACTIVO' ); /* INSERT QUERY NO: 167 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 79, 'MIX PRODUCTO', 'POTENCIAL INBOUND', 'INBOUND', 'VALENCIA', 'RESIDENCIAL', 'MASMOVIL', 0, 'NO', 'DIARIO', 'NA', 'Sin hora', 7, 'ACTIVO' ); /* INSERT QUERY NO: 168 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 251, 'PRODUCTIVIDAD POR AGENTE RDV', 'CLICK TO CALL (C2C)', 'C2C', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 0.5, 'NO', 'DIARIO', 'NA', '11:00', 7, 'ACTIVO' ); /* INSERT QUERY NO: 169 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 1, 'CREACION USUARIOS VODAFONE', 'CLICK TO CALL (C2C)', 'C2C', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 0.25, 'NO', 'DIARIO', 'NA', 'Sin hora', 6, 'ACTIVO' ); /* INSERT QUERY NO: 170 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 2, 'CREACION USUARIOS VODAFONE', 'DOOR TO DOOR (D2D)', 'D2D', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 0.5, 'NO', 'DIARIO', 'NA', 'Sin hora', 6, 'ACTIVO' ); /* INSERT QUERY NO: 171 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 5, 'CONTROL PRESENCIA', 'POTENCIAL OUTBOUND', 'POTENCIAL OUTBOUND', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 0.2, 'NO', 'DIARIO', 'NA', 'Sin hora', 6, 'ACTIVO' ); /* INSERT QUERY NO: 172 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 6, '02 AHT desarrollo', 'POTENCIAL OUTBOUND', 'POTENCIAL OUTBOUND', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 0.2, 'NO', 'DIARIO', 'NA', 'Sin hora', 6, 'ACTIVO' ); /* INSERT QUERY NO: 173 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 7, '02. VI (venta instalada)', 'POTENCIAL OUTBOUND', 'POTENCIAL OUTBOUND', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 1.3, 'NO', '2X SEMANA', 'NA', 'Sin hora', 6, 'ACTIVO' ); /* INSERT QUERY NO: 174 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 8, 'CREACION USUARIOS VODAFONE', 'POTENCIAL OUTBOUND', 'POTENCIAL OUTBOUND', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 0.5, 'NO', 'DIARIO', 'NA', 'Sin hora', 6, 'ACTIVO' ); /* INSERT QUERY NO: 175 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 9, 'VENTAS AGENTES TVTA AGENCIA outbound', 'POTENCIAL OUTBOUND', 'POTENCIAL OUTBOUND', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 0.6, 'SI', 'SEMANAL', 'NA', '10:30', 6, 'ACTIVO' ); /* INSERT QUERY NO: 176 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 66, 'CDM OPERADOR', 'PORTABILIDAD N1', 'RETEN N1', 'VALENCIA', 'RESIDENCIAL', 'YOIGO', 0.5, 'No', 'SEMANAL', 'Lunes', 'Sin Hora', 6, 'ACTIVO' ); /* INSERT QUERY NO: 177 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 67, 'RANKING AGENTES PORTAS', 'PORTABILIDAD N1', 'RETEN N1', 'VALENCIA', 'RESIDENCIAL', 'YOIGO', 0.2, 'No', 'DIARIO', 'NA', '10:00', 6, 'ACTIVO' ); /* INSERT QUERY NO: 178 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 68, 'RANKING AGENTES BAJAS', 'BAJAS N1', 'RETEN N1', 'VALENCIA', 'RESIDENCIAL', 'YOIGO', 0.2, 'No', 'DIARIO', 'NA', '10:00', 6, 'ACTIVO' ); /* INSERT QUERY NO: 179 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 69, 'CDM PORTAS', 'PORTABILIDAD N1', 'RETEN N1', 'VALENCIA', 'RESIDENCIAL', 'YOIGO', 0.2, 'No', 'DIARIO', 'NA', '10:00', 6, 'ACTIVO' ); /* INSERT QUERY NO: 180 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 70, 'CDM BAJAS', 'BAJAS N1', 'RETEN N1', 'VALENCIA', 'RESIDENCIAL', 'YOIGO', 0.2, 'No', 'DIARIO', 'NA', '10:00', 6, 'ACTIVO' ); /* INSERT QUERY NO: 181 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 134, 'CDM - DASHBOARD Productividad Out', 'POTENCIAL OUTBOUND', 'POTENCIAL OUTBOUND', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 1.15, 'NO', 'DIARIO', 'NA', 'Sin hora', 6, 'ACTIVO' ); /* INSERT QUERY NO: 182 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 141, 'CREACION NUEVO ARCHIVO CDM OUTBOUND', 'POTENCIAL OUTBOUND', 'POTENCIAL OUTBOUND', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 1, 'NO', 'MENSUAL', 'NA', 'Sin hora', 6, 'ACTIVO' ); /* INSERT QUERY NO: 183 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 218, 'CDM MM RETENCIONES', 'BAJAS N1', 'RETEN N1', 'VALENCIA', 'RESIDENCIAL', 'MASMOVIL', 0.25, 'NO', 'DIARIO', 'NA', '11:00', 6, 'ACTIVO' ); /* INSERT QUERY NO: 184 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 234, 'CDM EJECUTIVO MM PORTAS', 'PORTABILIDAD N1', 'RETENCIONES', 'VALENCIA', 'RESIDENCIAL', 'MASMOVIL', 0.12, 'NO', 'DIARIO', 'NA', 'Sin hora', 6, 'ACTIVO' ); /* INSERT QUERY NO: 185 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 235, 'CDM POR OPERADOR MM PORTAS', 'PORTABILIDAD N1', 'RETENCIONES', 'VALENCIA', 'RESIDENCIAL', 'MASMOVIL', 0.25, 'NO', 'DIARIO', 'NA', 'Sin hora', 6, 'ACTIVO' ); /* INSERT QUERY NO: 186 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 237, 'CDM PRODUCTIVIDAD AGENTES MM PORTAS', 'PORTABILIDAD N1', 'RETEN N1', 'VALENCIA', 'RESIDENCIAL', 'MASMOVIL', 0.3, 'NO', 'DIARIO', 'NA', 'Sin hora', 6, 'ACTIVO' ); /* INSERT QUERY NO: 187 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 238, 'CDM PRODUCTIVIDAD AGENTES MM BAJAS', 'BAJAS N1', 'RETEN N1', 'VALENCIA', 'RESIDENCIAL', 'MASMOVIL', 0.3, 'NO', 'DIARIO', 'NA', 'Sin hora', 6, 'ACTIVO' ); /* INSERT QUERY NO: 188 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 24, 'CDM POR AGENTE POTENCIAL INBOUND', 'POTENCIAL INBOUND', 'POTENCIAL INBOUND', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 0.5, 'NO', 'DIARIO', 'NA', 'Sin hora', 5, 'ACTIVO' ); /* INSERT QUERY NO: 189 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 173, 'Segmentacion ABCZ', 'RETENCIONES N1', 'RETEN N1', 'VALENCIA', 'RESIDENCIAL', 'ORANGE', 0.25, 'NO', 'DIARIO', 'NA', 'Sin hora', 5, 'ACTIVO' ); /* INSERT QUERY NO: 190 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 17, 'Introducción datos TXT en Dashboard', 'RETENCIONES N2', 'RETEN N2', 'VALENCIA', 'RESIDENCIAL', 'ORANGE', 1, 'NO', '2X SEMANA', 'NA', 'Sin hora', 4, 'ACTIVO' ); /* INSERT QUERY NO: 191 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 19, 'Productivo DASHBOARD', 'RETENCIONES N2', 'RETEN N2', 'VALENCIA', 'RESIDENCIAL', 'ORANGE', 0.5, 'NO', 'DIARIO', 'NA', '10:00', 4, 'ACTIVO' ); /* INSERT QUERY NO: 192 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 20, 'Productividad Matriz Orange', 'RETENCIONES N2', 'RETEN N2', 'VALENCIA', 'RESIDENCIAL', 'ORANGE', 0.5, 'NO', 'DIARIO', 'NA', '10:00', 4, 'ACTIVO' ); /* INSERT QUERY NO: 193 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 21, 'INFORME DISPERSIONES', 'RETENCIONES N2', 'RETEN N2', 'VALENCIA', 'RESIDENCIAL', 'ORANGE', 1, 'NO', 'SEMANAL', 'NA', 'Sin hora', 4, 'ACTIVO' ); /* INSERT QUERY NO: 194 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 114, 'Extracción Lunes (Business)', 'PROVISIÓN', 'PROVISION', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 0.25, 'No', 'DIARIO', 'NA', '13:00', 4, 'ACTIVO' ); /* INSERT QUERY NO: 195 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 118, 'Panel Semanal (Business)', 'PROVISIÓN', 'PROVISION', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 0.3, 'NO', 'SEMANAL', 'Miércoles', '13:00', 4, 'ACTIVO' ); /* INSERT QUERY NO: 196 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 120, 'Extracción _M1_Provisión (Business)', 'PROVISIÓN', 'PROVISION', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 0.25, 'No', 'DIARIO', 'NA', '11:00', 4, 'ACTIVO' ); /* INSERT QUERY NO: 197 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 122, 'CdM_Portabilidad_AMDOCS (Business)', 'PROVISIÓN', 'PROVISION', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 0.4, 'No', 'DIARIO', 'NA', 'Sin hora', 4, 'ACTIVO' ); /* INSERT QUERY NO: 198 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 129, 'CDM ANTICIPACION INBOUND', 'RETENCIONES', 'INBOUND', 'VALENCIA', 'RESIDENCIAL', 'ORANGE', 0.75, 'NO', 'DIARIO', 'NA', '11:00', 4, 'ACTIVO' ); /* INSERT QUERY NO: 199 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 143, 'PRODUCTIVO ANTICIPACION INBOUND+RELLAMADA+NPS ANTI INBOUND', 'POTENCIAL INBOUND', 'POTENCIAL INBOUND', 'VALENCIA', 'RESIDENCIAL', 'ORANGE', 0.75, 'NO', 'DIARIO', 'NA', '11:00', 4, 'ACTIVO' ); /* INSERT QUERY NO: 200 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 212, 'ACTUALIZACION INFORME DISPERSIONES ANTI IN', 'POTENCIAL OUTBOUND', 'RETEN N1', 'VALENCIA', 'RESIDENCIAL', 'ORANGE', 0.75, 'NO', 'SEMANAL', 'Miércoles', 'Sin hora', 4, 'ACTIVO' ); /* INSERT QUERY NO: 201 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 224, 'CdM_Traslados_Contingencia (Business/Citrix)', 'PROVISIÓN', 'PROVISION', 'VALENCIA', 'RESIDENCIAL', 'VODAFONE', 0.15, 'NO', 'DIARIO', 'NA', '10:00', 4, 'ACTIVO' ); /* INSERT QUERY NO: 202 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 201, 'Seguimiento mensual comite', 'ATENCIÓN AL CLIENTE (ATC)', 'BANKIA', 'VALENCIA', 'RESIDENCIAL', 'BANKIA', 40, 'SI', 'MENSUAL', 'NA', 'Sin hora', 2, 'ACTIVO' ); /* INSERT QUERY NO: 203 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 202, 'Productividad de costes', 'ATENCIÓN AL CLIENTE (ATC)', 'BANKIA', 'VALENCIA', 'RESIDENCIAL', 'BANKIA', 0.75, 'NO', 'DIARIO', 'NA', 'Sin hora', 2, 'ACTIVO' ); /* INSERT QUERY NO: 204 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 257, 'CALCULO INCENTIVOS YOIGO RETEN+PORTAS', 'RETENCIONES', 'RETENCIONES', 'VALENCIA', 'RESIDENCIAL', 'YOIGO', 6, 'NO', 'MENSUAL', 'NA', 'Sin hora', 2, 'ACTIVO' ); /* INSERT QUERY NO: 205 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 258, 'CALCULO INCENTIVOS MM RETEN+PORTAS', 'RETENCIONES', 'RETENCIONES', 'VALENCIA', 'RESIDENCIAL', 'MASMOVIL', 4, 'NO', 'MENSUAL', 'NA', 'Sin hora', 2, 'ACTIVO' ); /* INSERT QUERY NO: 206 */ INSERT INTO tareas(id, nombre_informe, servicio, subservicio, sede, tipo, marca, tiempo_completar, envio_cliente, frecuencia, dia, hora_limite, responsableId, estado) VALUES ( 324, 'CDM VENTAS+CALIDAD BANKIA', 'ATENCIÓN AL CLIENTE (ATC)', 'ATC', 'VALENCIA', 'RESIDENCIAL', 'BANKIA', 0.5, 'NO', '2X SEMANA', 'NA', 'Sin hora', 2, 'ACTIVO' );
-- ============================================================================ -- Copyright (C) 2007-2009 Laurent Destailleur <eldy@users.sourceforge.net> -- Copyright (C) 2009 Regis Houssin <regis.houssin@inodbox.com> -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 3 of the License, or -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program. If not, see <http://www.gnu.org/licenses/>. -- -- ============================================================================ ALTER TABLE llx_adherent_type ADD UNIQUE INDEX uk_adherent_type_libelle (libelle, entity);
CREATE TABLE [dbo].[Pages] ( [ID] INT NOT NULL, [Name] NVARCHAR(250) NULL, [Content] VARCHAR(MAX) NULL, [MetaKeyword] NVARCHAR(250) NULL, [MetaDescription] NVARCHAR(250) NULL, [Status] BIT NOT NULL, CONSTRAINT [PK_Pages] PRIMARY KEY ([ID]) )
INSERT INTO `person`(`id`,`address`,`first_name`,`gender`,`last_name`) VALUES (1,'teste1','Jean','Male','Michael'), (2,'teste2','Jean2','Male','Michael2');
CREATE FUNCTION func772() RETURNS integer LANGUAGE plpgsql AS $$ DECLARE val INTEGER; BEGIN val:=(SELECT COUNT(*)INTO MYCOUNT FROM MYLARGESCHEMA.TABLE40);val:=(SELECT COUNT(*)INTO MYCOUNT FROM MYLARGESCHEMA.TABLE152);val:=(SELECT COUNT(*)INTO MYCOUNT FROM MYLARGESCHEMA.TABLE259);val:=(SELECT COUNT(*)INTO MYCOUNT FROM MYLARGESCHEMA.VIEW96);val:=(SELECT COUNT(*)INTO MYCOUNT FROM MYLARGESCHEMA.VIEW80);val:=(SELECT COUNT(*)INTO MYCOUNT FROM MYLARGESCHEMA.VIEW76);END $$; GO
CREATE OR REPLACE FUNCTION core.sf_remove_outdated() RETURNS void LANGUAGE plpgsql AS $$ /** * системная функция должна выполнять от postgres */ DECLARE _n_day_del_after integer = 14; -- Удаление старых данных через N дней _dg_cnt integer; --diagnostic _dg_text text = ''; BEGIN select c_value::integer into _n_day_del_after from core.sd_settings where c_key = 'N_DAY_DEL_AFTER'; delete from core.sd_action_log where (d_date + (_n_day_del_after * '1 day'::interval)) < now(); get diagnostics _dg_cnt = row_count; _dg_text = _dg_text || now()::text || ' core.sd_action_log: удалено '|| _dg_cnt::text || E'\n'; delete from core.sd_sys_log where (dx_created + (_n_day_del_after * '1 day'::interval)) < now(); get diagnostics _dg_cnt = row_count; _dg_text = _dg_text || now()::text || ' core.sd_sys_log: удалено '|| _dg_cnt::text || E'\n'; -- если пользователь заблокирован, то нужно очистить данные по нему perform core.sf_clear_data(u.id) from core.pd_users as u where u.f_org = u.id and u.b_disabled = true and u.sn_delete = false; get diagnostics _dg_cnt = row_count; _dg_text = _dg_text || now()::text || ' core.sf_clear_data: очистка '|| _dg_cnt::text || E'\n'; perform core.sf_write_log('Очистка таблиц выполнена. ' || E'\n' || _dg_text, null, 0); EXCEPTION WHEN OTHERS THEN perform core.sf_write_log('Непредвиденная ошибка очистки таблиц. ' || E'\n' || _dg_text, null, 1); END; $$; ALTER FUNCTION core.sf_remove_outdated() OWNER TO pgagent; COMMENT ON FUNCTION core.sf_remove_outdated() IS 'Процедура очистки устаревших данных';
INSERT INTO Movies(Title,DirectorId,CopyrightYear,Length,GenreId,CategoryId,Rating,Notes) VALUES ('Babait efendy',1,2017,120,2,1,'A','turkis boza'), ('Rodrige munchachos',3,2017,120,2,4,'B','Notes'), ('Baba Ivana voin',4,2017,130,3,5,'A','Notes'), ('Kosmichesko otkritie',2,2017,150,4,3,'C','Notes'), ('Kucia nastiga vlaka',5,2017,60,5,3,'A','Notes')
-- 常量定义 -- APP编码 SET @appCode = 'fwmf-app'; -- APP名称 SET @appName = '手机端'; -- 项目代号 SET @systemKey = 'fwmf'; -- APP信息 DELETE FROM `sys_t_app_info`; INSERT INTO `sys_t_app_info` (`APP_ID`, `APP_CODE`, `APP_NAME`, `APP_OS`, `SYSTEM_ID`, `REJECT_GUEST_USER`, `REJECT_SHOPPING_USER`, `ALLOW_BACKGROUND_USER`, `IS_AVAILABLE`, `TRACK_ID`, `SERVER_DOMAIN`) VALUES ('1', @appCode, @appName, NULL, '1', 'N', 'N', 'Y', 'Y', NULL, NULL); -- 区域信息 INSERT INTO `sys_t_area` (`ADMAREA_ID`, `ADMAREA_NAME`) VALUES ('110000', '北京市'), ('110101', '东城区'), ('110102', '西城区'), ('110105', '朝阳区'), ('110106', '丰台区'), ('110107', '石景山区'), ('110108', '海淀区'), ('110109', '门头沟区'), ('110111', '房山区'), ('110112', '通州区'), ('110113', '顺义区'), ('110114', '昌平区'), ('110115', '大兴区'), ('110116', '怀柔区'), ('110117', '平谷区'), ('110118', '密云区'), ('110119', '延庆区'), ('120000', '天津市'), ('120101', '和平区'), ('120102', '河东区'), ('120103', '河西区'), ('120104', '南开区'), ('120105', '河北区'), ('120106', '红桥区'), ('120110', '东丽区'), ('120111', '西青区'), ('120112', '津南区'), ('120113', '北辰区'), ('120114', '武清区'), ('120115', '宝坻区'), ('120116', '滨海新区'), ('120117', '宁河区'), ('120118', '静海区'), ('120119', '蓟州区'), ('130000', '河北省'), ('130100', '石家庄市'), ('130102', '长安区'), ('130104', '桥西区'), ('130105', '新华区'), ('130107', '井陉矿区'), ('130108', '裕华区'), ('130109', '藁城区'), ('130110', '鹿泉区'), ('130111', '栾城区'), ('130121', '井陉县'), ('130123', '正定县'), ('130125', '行唐县'), ('130126', '灵寿县'), ('130127', '高邑县'), ('130128', '深泽县'), ('130129', '赞皇县'), ('130130', '无极县'), ('130131', '平山县'), ('130132', '元氏县'), ('130133', '赵县'), ('130181', '辛集市'), ('130183', '晋州市'), ('130184', '新乐市'), ('130200', '唐山市'), ('130202', '路南区'), ('130203', '路北区'), ('130204', '古冶区'), ('130205', '开平区'), ('130207', '丰南区'), ('130208', '丰润区'), ('130209', '曹妃甸区'), ('130223', '滦县'), ('130224', '滦南县'), ('130225', '乐亭县'), ('130227', '迁西县'), ('130229', '玉田县'), ('130281', '遵化市'), ('130283', '迁安市'), ('130300', '秦皇岛市'), ('130302', '海港区'), ('130303', '山海关区'), ('130304', '北戴河区'), ('130306', '抚宁区'), ('130321', '青龙满族自治县'), ('130322', '昌黎县'), ('130324', '卢龙县'), ('130400', '邯郸市'), ('130402', '邯山区'), ('130403', '丛台区'), ('130404', '复兴区'), ('130406', '峰峰矿区'), ('130407', '肥乡区'), ('130408', '永年区'), ('130423', '临漳县'), ('130424', '成安县'), ('130425', '大名县'), ('130426', '涉县'), ('130427', '磁县'), ('130430', '邱县'), ('130431', '鸡泽县'), ('130432', '广平县'), ('130433', '馆陶县'), ('130434', '魏县'), ('130435', '曲周县'), ('130481', '武安市'), ('130500', '邢台市'), ('130502', '桥东区'), ('130503', '桥西区'), ('130521', '邢台县'), ('130522', '临城县'), ('130523', '内丘县'), ('130524', '柏乡县'), ('130525', '隆尧县'), ('130526', '任县'), ('130527', '南和县'), ('130528', '宁晋县'), ('130529', '巨鹿县'), ('130530', '新河县'), ('130531', '广宗县'), ('130532', '平乡县'), ('130533', '威县'), ('130534', '清河县'), ('130535', '临西县'), ('130581', '南宫市'), ('130582', '沙河市'), ('130600', '保定市'), ('130602', '竞秀区'), ('130606', '莲池区'), ('130607', '满城区'), ('130608', '清苑区'), ('130609', '徐水区'), ('130623', '涞水县'), ('130624', '阜平县'), ('130626', '定兴县'), ('130627', '唐县'), ('130628', '高阳县'), ('130629', '容城县'), ('130630', '涞源县'), ('130631', '望都县'), ('130632', '安新县'), ('130633', '易县'), ('130634', '曲阳县'), ('130635', '蠡县'), ('130636', '顺平县'), ('130637', '博野县'), ('130638', '雄县'), ('130681', '涿州市'), ('130682', '定州市'), ('130683', '安国市'), ('130684', '高碑店市'), ('130700', '张家口市'), ('130702', '桥东区'), ('130703', '桥西区'), ('130705', '宣化区'), ('130706', '下花园区'), ('130708', '万全区'), ('130709', '崇礼区'), ('130722', '张北县'), ('130723', '康保县'), ('130724', '沽源县'), ('130725', '尚义县'), ('130726', '蔚县'), ('130727', '阳原县'), ('130728', '怀安县'), ('130730', '怀来县'), ('130731', '涿鹿县'), ('130732', '赤城县'), ('130800', '承德市'), ('130802', '双桥区'), ('130803', '双滦区'), ('130804', '鹰手营子矿区'), ('130821', '承德县'), ('130822', '兴隆县'), ('130824', '滦平县'), ('130825', '隆化县'), ('130826', '丰宁满族自治县'), ('130827', '宽城满族自治县'), ('130828', '围场满族蒙古族自治县'), ('130881', '平泉市'), ('130900', '沧州市'), ('130902', '新华区'), ('130903', '运河区'), ('130921', '沧县'), ('130922', '青县'), ('130923', '东光县'), ('130924', '海兴县'), ('130925', '盐山县'), ('130926', '肃宁县'), ('130927', '南皮县'), ('130928', '吴桥县'), ('130929', '献县'), ('130930', '孟村回族自治县'), ('130981', '泊头市'), ('130982', '任丘市'), ('130983', '黄骅市'), ('130984', '河间市'), ('131000', '廊坊市'), ('131002', '安次区'), ('131003', '广阳区'), ('131022', '固安县'), ('131023', '永清县'), ('131024', '香河县'), ('131025', '大城县'), ('131026', '文安县'), ('131028', '大厂回族自治县'), ('131081', '霸州市'), ('131082', '三河市'), ('131100', '衡水市'), ('131102', '桃城区'), ('131103', '冀州区'), ('131121', '枣强县'), ('131122', '武邑县'), ('131123', '武强县'), ('131124', '饶阳县'), ('131125', '安平县'), ('131126', '故城县'), ('131127', '景县'), ('131128', '阜城县'), ('131182', '深州市'), ('140000', '山西省'), ('140100', '太原市'), ('140105', '小店区'), ('140106', '迎泽区'), ('140107', '杏花岭区'), ('140108', '尖草坪区'), ('140109', '万柏林区'), ('140110', '晋源区'), ('140121', '清徐县'), ('140122', '阳曲县'), ('140123', '娄烦县'), ('140181', '古交市'), ('140200', '大同市'), ('140202', '城区'), ('140203', '矿区'), ('140211', '南郊区'), ('140212', '新荣区'), ('140221', '阳高县'), ('140222', '天镇县'), ('140223', '广灵县'), ('140224', '灵丘县'), ('140225', '浑源县'), ('140226', '左云县'), ('140227', '大同县'), ('140300', '阳泉市'), ('140302', '城区'), ('140303', '矿区'), ('140311', '郊区'), ('140321', '平定县'), ('140322', '盂县'), ('140400', '长治市'), ('140402', '城区'), ('140411', '郊区'), ('140421', '长治县'), ('140423', '襄垣县'), ('140424', '屯留县'), ('140425', '平顺县'), ('140426', '黎城县'), ('140427', '壶关县'), ('140428', '长子县'), ('140429', '武乡县'), ('140430', '沁县'), ('140431', '沁源县'), ('140481', '潞城市'), ('140500', '晋城市'), ('140502', '城区'), ('140521', '沁水县'), ('140522', '阳城县'), ('140524', '陵川县'), ('140525', '泽州县'), ('140581', '高平市'), ('140600', '朔州市'), ('140602', '朔城区'), ('140603', '平鲁区'), ('140621', '山阴县'), ('140622', '应县'), ('140623', '右玉县'), ('140624', '怀仁县'), ('140700', '晋中市'), ('140702', '榆次区'), ('140721', '榆社县'), ('140722', '左权县'), ('140723', '和顺县'), ('140724', '昔阳县'), ('140725', '寿阳县'), ('140726', '太谷县'), ('140727', '祁县'), ('140728', '平遥县'), ('140729', '灵石县'), ('140781', '介休市'), ('140800', '运城市'), ('140802', '盐湖区'), ('140821', '临猗县'), ('140822', '万荣县'), ('140823', '闻喜县'), ('140824', '稷山县'), ('140825', '新绛县'), ('140826', '绛县'), ('140827', '垣曲县'), ('140828', '夏县'), ('140829', '平陆县'), ('140830', '芮城县'), ('140881', '永济市'), ('140882', '河津市'), ('140900', '忻州市'), ('140902', '忻府区'), ('140921', '定襄县'), ('140922', '五台县'), ('140923', '代县'), ('140924', '繁峙县'), ('140925', '宁武县'), ('140926', '静乐县'), ('140927', '神池县'), ('140928', '五寨县'), ('140929', '岢岚县'), ('140930', '河曲县'), ('140931', '保德县'), ('140932', '偏关县'), ('140981', '原平市'), ('141000', '临汾市'), ('141002', '尧都区'), ('141021', '曲沃县'), ('141022', '翼城县'), ('141023', '襄汾县'), ('141024', '洪洞县'), ('141025', '古县'), ('141026', '安泽县'), ('141027', '浮山县'), ('141028', '吉县'), ('141029', '乡宁县'), ('141030', '大宁县'), ('141031', '隰县'), ('141032', '永和县'), ('141033', '蒲县'), ('141034', '汾西县'), ('141081', '侯马市'), ('141082', '霍州市'), ('141100', '吕梁市'), ('141102', '离石区'), ('141121', '文水县'), ('141122', '交城县'), ('141123', '兴县'), ('141124', '临县'), ('141125', '柳林县'), ('141126', '石楼县'), ('141127', '岚县'), ('141128', '方山县'), ('141129', '中阳县'), ('141130', '交口县'), ('141181', '孝义市'), ('141182', '汾阳市'), ('150000', '内蒙古自治区'), ('150100', '呼和浩特市'), ('150102', '新城区'), ('150103', '回民区'), ('150104', '玉泉区'), ('150105', '赛罕区'), ('150121', '土默特左旗'), ('150122', '托克托县'), ('150123', '和林格尔县'), ('150124', '清水河县'), ('150125', '武川县'), ('150200', '包头市'), ('150202', '东河区'), ('150203', '昆都仑区'), ('150204', '青山区'), ('150205', '石拐区'), ('150206', '白云鄂博矿区'), ('150207', '九原区'), ('150221', '土默特右旗'), ('150222', '固阳县'), ('150223', '达尔罕茂明安联合旗'), ('150300', '乌海市'), ('150302', '海勃湾区'), ('150303', '海南区'), ('150304', '乌达区'), ('150400', '赤峰市'), ('150402', '红山区'), ('150403', '元宝山区'), ('150404', '松山区'), ('150421', '阿鲁科尔沁旗'), ('150422', '巴林左旗'), ('150423', '巴林右旗'), ('150424', '林西县'), ('150425', '克什克腾旗'), ('150426', '翁牛特旗'), ('150428', '喀喇沁旗'), ('150429', '宁城县'), ('150430', '敖汉旗'), ('150500', '通辽市'), ('150502', '科尔沁区'), ('150521', '科尔沁左翼中旗'), ('150522', '科尔沁左翼后旗'), ('150523', '开鲁县'), ('150524', '库伦旗'), ('150525', '奈曼旗'), ('150526', '扎鲁特旗'), ('150581', '霍林郭勒市'), ('150600', '鄂尔多斯市'), ('150602', '东胜区'), ('150603', '康巴什区'), ('150621', '达拉特旗'), ('150622', '准格尔旗'), ('150623', '鄂托克前旗'), ('150624', '鄂托克旗'), ('150625', '杭锦旗'), ('150626', '乌审旗'), ('150627', '伊金霍洛旗'), ('150700', '呼伦贝尔市'), ('150702', '海拉尔区'), ('150703', '扎赉诺尔区'), ('150721', '阿荣旗'), ('150722', '莫力达瓦达斡尔族自治旗'), ('150723', '鄂伦春自治旗'), ('150724', '鄂温克族自治旗'), ('150725', '陈巴尔虎旗'), ('150726', '新巴尔虎左旗'), ('150727', '新巴尔虎右旗'), ('150781', '满洲里市'), ('150782', '牙克石市'), ('150783', '扎兰屯市'), ('150784', '额尔古纳市'), ('150785', '根河市'), ('150800', '巴彦淖尔市'), ('150802', '临河区'), ('150821', '五原县'), ('150822', '磴口县'), ('150823', '乌拉特前旗'), ('150824', '乌拉特中旗'), ('150825', '乌拉特后旗'), ('150826', '杭锦后旗'), ('150900', '乌兰察布市'), ('150902', '集宁区'), ('150921', '卓资县'), ('150922', '化德县'), ('150923', '商都县'), ('150924', '兴和县'), ('150925', '凉城县'), ('150926', '察哈尔右翼前旗'), ('150927', '察哈尔右翼中旗'), ('150928', '察哈尔右翼后旗'), ('150929', '四子王旗'), ('150981', '丰镇市'), ('152200', '兴安盟'), ('152201', '乌兰浩特市'), ('152202', '阿尔山市'), ('152221', '科尔沁右翼前旗'), ('152222', '科尔沁右翼中旗'), ('152223', '扎赉特旗'), ('152224', '突泉县'), ('152500', '锡林郭勒盟'), ('152501', '二连浩特市'), ('152502', '锡林浩特市'), ('152522', '阿巴嘎旗'), ('152523', '苏尼特左旗'), ('152524', '苏尼特右旗'), ('152525', '东乌珠穆沁旗'), ('152526', '西乌珠穆沁旗'), ('152527', '太仆寺旗'), ('152528', '镶黄旗'), ('152529', '正镶白旗'), ('152530', '正蓝旗'), ('152531', '多伦县'), ('152900', '阿拉善盟'), ('152921', '阿拉善左旗'), ('152922', '阿拉善右旗'), ('152923', '额济纳旗'), ('210000', '辽宁省'), ('210100', '沈阳市'), ('210102', '和平区'), ('210103', '沈河区'), ('210104', '大东区'), ('210105', '皇姑区'), ('210106', '铁西区'), ('210111', '苏家屯区'), ('210112', '浑南区'), ('210113', '沈北新区'), ('210114', '于洪区'), ('210115', '辽中区'), ('210123', '康平县'), ('210124', '法库县'), ('210181', '新民市'), ('210200', '大连市'), ('210202', '中山区'), ('210203', '西岗区'), ('210204', '沙河口区'), ('210211', '甘井子区'), ('210212', '旅顺口区'), ('210213', '金州区'), ('210214', '普兰店区'), ('210224', '长海县'), ('210281', '瓦房店市'), ('210283', '庄河市'), ('210300', '鞍山市'), ('210302', '铁东区'), ('210303', '铁西区'), ('210304', '立山区'), ('210311', '千山区'), ('210321', '台安县'), ('210323', '岫岩满族自治县'), ('210381', '海城市'), ('210400', '抚顺市'), ('210402', '新抚区'), ('210403', '东洲区'), ('210404', '望花区'), ('210411', '顺城区'), ('210421', '抚顺县'), ('210422', '新宾满族自治县'), ('210423', '清原满族自治县'), ('210500', '本溪市'), ('210502', '平山区'), ('210503', '溪湖区'), ('210504', '明山区'), ('210505', '南芬区'), ('210521', '本溪满族自治县'), ('210522', '桓仁满族自治县'), ('210600', '丹东市'), ('210602', '元宝区'), ('210603', '振兴区'), ('210604', '振安区'), ('210624', '宽甸满族自治县'), ('210681', '东港市'), ('210682', '凤城市'), ('210700', '锦州市'), ('210702', '古塔区'), ('210703', '凌河区'), ('210711', '太和区'), ('210726', '黑山县'), ('210727', '义县'), ('210781', '凌海市'), ('210782', '北镇市'), ('210800', '营口市'), ('210802', '站前区'), ('210803', '西市区'), ('210804', '鲅鱼圈区'), ('210811', '老边区'), ('210881', '盖州市'), ('210882', '大石桥市'), ('210900', '阜新市'), ('210902', '海州区'), ('210903', '新邱区'), ('210904', '太平区'), ('210905', '清河门区'), ('210911', '细河区'), ('210921', '阜新蒙古族自治县'), ('210922', '彰武县'), ('211000', '辽阳市'), ('211002', '白塔区'), ('211003', '文圣区'), ('211004', '宏伟区'), ('211005', '弓长岭区'), ('211011', '太子河区'), ('211021', '辽阳县'), ('211081', '灯塔市'), ('211100', '盘锦市'), ('211102', '双台子区'), ('211103', '兴隆台区'), ('211104', '大洼区'), ('211122', '盘山县'), ('211200', '铁岭市'), ('211202', '银州区'), ('211204', '清河区'), ('211221', '铁岭县'), ('211223', '西丰县'), ('211224', '昌图县'), ('211281', '调兵山市'), ('211282', '开原市'), ('211300', '朝阳市'), ('211302', '双塔区'), ('211303', '龙城区'), ('211321', '朝阳县'), ('211322', '建平县'), ('211324', '喀喇沁左翼蒙古族自治县'), ('211381', '北票市'), ('211382', '凌源市'), ('211400', '葫芦岛市'), ('211402', '连山区'), ('211403', '龙港区'), ('211404', '南票区'), ('211421', '绥中县'), ('211422', '建昌县'), ('211481', '兴城市'), ('220000', '吉林省'), ('220100', '长春市'), ('220102', '南关区'), ('220103', '宽城区'), ('220104', '朝阳区'), ('220105', '二道区'), ('220106', '绿园区'), ('220112', '双阳区'), ('220113', '九台区'), ('220122', '农安县'), ('220182', '榆树市'), ('220183', '德惠市'), ('220200', '吉林市'), ('220202', '昌邑区'), ('220203', '龙潭区'), ('220204', '船营区'), ('220211', '丰满区'), ('220221', '永吉县'), ('220281', '蛟河市'), ('220282', '桦甸市'), ('220283', '舒兰市'), ('220284', '磐石市'), ('220300', '四平市'), ('220302', '铁西区'), ('220303', '铁东区'), ('220322', '梨树县'), ('220323', '伊通满族自治县'), ('220381', '公主岭市'), ('220382', '双辽市'), ('220400', '辽源市'), ('220402', '龙山区'), ('220403', '西安区'), ('220421', '东丰县'), ('220422', '东辽县'), ('220500', '通化市'), ('220502', '东昌区'), ('220503', '二道江区'), ('220521', '通化县'), ('220523', '辉南县'), ('220524', '柳河县'), ('220581', '梅河口市'), ('220582', '集安市'), ('220600', '白山市'), ('220602', '浑江区'), ('220605', '江源区'), ('220621', '抚松县'), ('220622', '靖宇县'), ('220623', '长白朝鲜族自治县'), ('220681', '临江市'), ('220700', '松原市'), ('220702', '宁江区'), ('220721', '前郭尔罗斯蒙古族自治县'), ('220722', '长岭县'), ('220723', '乾安县'), ('220781', '扶余市'), ('220800', '白城市'), ('220802', '洮北区'), ('220821', '镇赉县'), ('220822', '通榆县'), ('220881', '洮南市'), ('220882', '大安市'), ('222400', '延边朝鲜族自治州'), ('222401', '延吉市'), ('222402', '图们市'), ('222403', '敦化市'), ('222404', '珲春市'), ('222405', '龙井市'), ('222406', '和龙市'), ('222424', '汪清县'), ('222426', '安图县'), ('230000', '黑龙江省'), ('230100', '哈尔滨市'), ('230102', '道里区'), ('230103', '南岗区'), ('230104', '道外区'), ('230108', '平房区'), ('230109', '松北区'), ('230110', '香坊区'), ('230111', '呼兰区'), ('230112', '阿城区'), ('230113', '双城区'), ('230123', '依兰县'), ('230124', '方正县'), ('230125', '宾县'), ('230126', '巴彦县'), ('230127', '木兰县'), ('230128', '通河县'), ('230129', '延寿县'), ('230183', '尚志市'), ('230184', '五常市'), ('230200', '齐齐哈尔市'), ('230202', '龙沙区'), ('230203', '建华区'), ('230204', '铁锋区'), ('230205', '昂昂溪区'), ('230206', '富拉尔基区'), ('230207', '碾子山区'), ('230208', '梅里斯达斡尔族区'), ('230221', '龙江县'), ('230223', '依安县'), ('230224', '泰来县'), ('230225', '甘南县'), ('230227', '富裕县'), ('230229', '克山县'), ('230230', '克东县'), ('230231', '拜泉县'), ('230281', '讷河市'), ('230300', '鸡西市'), ('230302', '鸡冠区'), ('230303', '恒山区'), ('230304', '滴道区'), ('230305', '梨树区'), ('230306', '城子河区'), ('230307', '麻山区'), ('230321', '鸡东县'), ('230381', '虎林市'), ('230382', '密山市'), ('230400', '鹤岗市'), ('230402', '向阳区'), ('230403', '工农区'), ('230404', '南山区'), ('230405', '兴安区'), ('230406', '东山区'), ('230407', '兴山区'), ('230421', '萝北县'), ('230422', '绥滨县'), ('230500', '双鸭山市'), ('230502', '尖山区'), ('230503', '岭东区'), ('230505', '四方台区'), ('230506', '宝山区'), ('230521', '集贤县'), ('230522', '友谊县'), ('230523', '宝清县'), ('230524', '饶河县'), ('230600', '大庆市'), ('230602', '萨尔图区'), ('230603', '龙凤区'), ('230604', '让胡路区'), ('230605', '红岗区'), ('230606', '大同区'), ('230621', '肇州县'), ('230622', '肇源县'), ('230623', '林甸县'), ('230624', '杜尔伯特蒙古族自治县'), ('230700', '伊春市'), ('230702', '伊春区'), ('230703', '南岔区'), ('230704', '友好区'), ('230705', '西林区'), ('230706', '翠峦区'), ('230707', '新青区'), ('230708', '美溪区'), ('230709', '金山屯区'), ('230710', '五营区'), ('230711', '乌马河区'), ('230712', '汤旺河区'), ('230713', '带岭区'), ('230714', '乌伊岭区'), ('230715', '红星区'), ('230716', '上甘岭区'), ('230722', '嘉荫县'), ('230781', '铁力市'), ('230800', '佳木斯市'), ('230803', '向阳区'), ('230804', '前进区'), ('230805', '东风区'), ('230811', '郊区'), ('230822', '桦南县'), ('230826', '桦川县'), ('230828', '汤原县'), ('230881', '同江市'), ('230882', '富锦市'), ('230883', '抚远市'), ('230900', '七台河市'), ('230902', '新兴区'), ('230903', '桃山区'), ('230904', '茄子河区'), ('230921', '勃利县'), ('231000', '牡丹江市'), ('231002', '东安区'), ('231003', '阳明区'), ('231004', '爱民区'), ('231005', '西安区'), ('231025', '林口县'), ('231081', '绥芬河市'), ('231083', '海林市'), ('231084', '宁安市'), ('231085', '穆棱市'), ('231086', '东宁市'), ('231100', '黑河市'), ('231102', '爱辉区'), ('231121', '嫩江县'), ('231123', '逊克县'), ('231124', '孙吴县'), ('231181', '北安市'), ('231182', '五大连池市'), ('231200', '绥化市'), ('231202', '北林区'), ('231221', '望奎县'), ('231222', '兰西县'), ('231223', '青冈县'), ('231224', '庆安县'), ('231225', '明水县'), ('231226', '绥棱县'), ('231281', '安达市'), ('231282', '肇东市'), ('231283', '海伦市'), ('232700', '大兴安岭地区'), ('232721', '呼玛县'), ('232722', '塔河县'), ('232723', '漠河县'), ('310000', '上海市'), ('310101', '黄浦区'), ('310104', '徐汇区'), ('310105', '长宁区'), ('310106', '静安区'), ('310107', '普陀区'), ('310109', '虹口区'), ('310110', '杨浦区'), ('310112', '闵行区'), ('310113', '宝山区'), ('310114', '嘉定区'), ('310115', '浦东新区'), ('310116', '金山区'), ('310117', '松江区'), ('310118', '青浦区'), ('310120', '奉贤区'), ('310151', '崇明区'), ('320000', '江苏省'), ('320100', '南京市'), ('320102', '玄武区'), ('320104', '秦淮区'), ('320105', '建邺区'), ('320106', '鼓楼区'), ('320111', '浦口区'), ('320113', '栖霞区'), ('320114', '雨花台区'), ('320115', '江宁区'), ('320116', '六合区'), ('320117', '溧水区'), ('320118', '高淳区'), ('320200', '无锡市'), ('320205', '锡山区'), ('320206', '惠山区'), ('320211', '滨湖区'), ('320213', '梁溪区'), ('320214', '新吴区'), ('320281', '江阴市'), ('320282', '宜兴市'), ('320300', '徐州市'), ('320302', '鼓楼区'), ('320303', '云龙区'), ('320305', '贾汪区'), ('320311', '泉山区'), ('320312', '铜山区'), ('320321', '丰县'), ('320322', '沛县'), ('320324', '睢宁县'), ('320381', '新沂市'), ('320382', '邳州市'), ('320400', '常州市'), ('320402', '天宁区'), ('320404', '钟楼区'), ('320411', '新北区'), ('320412', '武进区'), ('320413', '金坛区'), ('320481', '溧阳市'), ('320500', '苏州市'), ('320505', '虎丘区'), ('320506', '吴中区'), ('320507', '相城区'), ('320508', '姑苏区'), ('320509', '吴江区'), ('320581', '常熟市'), ('320582', '张家港市'), ('320583', '昆山市'), ('320585', '太仓市'), ('320600', '南通市'), ('320602', '崇川区'), ('320611', '港闸区'), ('320612', '通州区'), ('320621', '海安县'), ('320623', '如东县'), ('320681', '启东市'), ('320682', '如皋市'), ('320684', '海门市'), ('320700', '连云港市'), ('320703', '连云区'), ('320706', '海州区'), ('320707', '赣榆区'), ('320722', '东海县'), ('320723', '灌云县'), ('320724', '灌南县'), ('320800', '淮安市'), ('320803', '淮安区'), ('320804', '淮阴区'), ('320812', '清江浦区'), ('320813', '洪泽区'), ('320826', '涟水县'), ('320830', '盱眙县'), ('320831', '金湖县'), ('320900', '盐城市'), ('320902', '亭湖区'), ('320903', '盐都区'), ('320904', '大丰区'), ('320921', '响水县'), ('320922', '滨海县'), ('320923', '阜宁县'), ('320924', '射阳县'), ('320925', '建湖县'), ('320981', '东台市'), ('321000', '扬州市'), ('321002', '广陵区'), ('321003', '邗江区'), ('321012', '江都区'), ('321023', '宝应县'), ('321081', '仪征市'), ('321084', '高邮市'), ('321100', '镇江市'), ('321102', '京口区'), ('321111', '润州区'), ('321112', '丹徒区'), ('321181', '丹阳市'), ('321182', '扬中市'), ('321183', '句容市'), ('321200', '泰州市'), ('321202', '海陵区'), ('321203', '高港区'), ('321204', '姜堰区'), ('321281', '兴化市'), ('321282', '靖江市'), ('321283', '泰兴市'), ('321300', '宿迁市'), ('321302', '宿城区'), ('321311', '宿豫区'), ('321322', '沭阳县'), ('321323', '泗阳县'), ('321324', '泗洪县'), ('330000', '浙江省'), ('330100', '杭州市'), ('330102', '上城区'), ('330103', '下城区'), ('330104', '江干区'), ('330105', '拱墅区'), ('330106', '西湖区'), ('330108', '滨江区'), ('330109', '萧山区'), ('330110', '余杭区'), ('330111', '富阳区'), ('330112', '临安区'), ('330122', '桐庐县'), ('330127', '淳安县'), ('330182', '建德市'), ('330200', '宁波市'), ('330203', '海曙区'), ('330205', '江北区'), ('330206', '北仑区'), ('330211', '镇海区'), ('330212', '鄞州区'), ('330213', '奉化区'), ('330225', '象山县'), ('330226', '宁海县'), ('330281', '余姚市'), ('330282', '慈溪市'), ('330300', '温州市'), ('330302', '鹿城区'), ('330303', '龙湾区'), ('330304', '瓯海区'), ('330305', '洞头区'), ('330324', '永嘉县'), ('330326', '平阳县'), ('330327', '苍南县'), ('330328', '文成县'), ('330329', '泰顺县'), ('330381', '瑞安市'), ('330382', '乐清市'), ('330400', '嘉兴市'), ('330402', '南湖区'), ('330411', '秀洲区'), ('330421', '嘉善县'), ('330424', '海盐县'), ('330481', '海宁市'), ('330482', '平湖市'), ('330483', '桐乡市'), ('330500', '湖州市'), ('330502', '吴兴区'), ('330503', '南浔区'), ('330521', '德清县'), ('330522', '长兴县'), ('330523', '安吉县'), ('330600', '绍兴市'), ('330602', '越城区'), ('330603', '柯桥区'), ('330604', '上虞区'), ('330624', '新昌县'), ('330681', '诸暨市'), ('330683', '嵊州市'), ('330700', '金华市'), ('330702', '婺城区'), ('330703', '金东区'), ('330723', '武义县'), ('330726', '浦江县'), ('330727', '磐安县'), ('330781', '兰溪市'), ('330782', '义乌市'), ('330783', '东阳市'), ('330784', '永康市'), ('330800', '衢州市'), ('330802', '柯城区'), ('330803', '衢江区'), ('330822', '常山县'), ('330824', '开化县'), ('330825', '龙游县'), ('330881', '江山市'), ('330900', '舟山市'), ('330902', '定海区'), ('330903', '普陀区'), ('330921', '岱山县'), ('330922', '嵊泗县'), ('331000', '台州市'), ('331002', '椒江区'), ('331003', '黄岩区'), ('331004', '路桥区'), ('331022', '三门县'), ('331023', '天台县'), ('331024', '仙居县'), ('331081', '温岭市'), ('331082', '临海市'), ('331083', '玉环市'), ('331100', '丽水市'), ('331102', '莲都区'), ('331121', '青田县'), ('331122', '缙云县'), ('331123', '遂昌县'), ('331124', '松阳县'), ('331125', '云和县'), ('331126', '庆元县'), ('331127', '景宁畲族自治县'), ('331181', '龙泉市'), ('340000', '安徽省'), ('340100', '合肥市'), ('340102', '瑶海区'), ('340103', '庐阳区'), ('340104', '蜀山区'), ('340111', '包河区'), ('340121', '长丰县'), ('340122', '肥东县'), ('340123', '肥西县'), ('340124', '庐江县'), ('340181', '巢湖市'), ('340200', '芜湖市'), ('340202', '镜湖区'), ('340203', '弋江区'), ('340207', '鸠江区'), ('340208', '三山区'), ('340221', '芜湖县'), ('340222', '繁昌县'), ('340223', '南陵县'), ('340225', '无为县'), ('340300', '蚌埠市'), ('340302', '龙子湖区'), ('340303', '蚌山区'), ('340304', '禹会区'), ('340311', '淮上区'), ('340321', '怀远县'), ('340322', '五河县'), ('340323', '固镇县'), ('340400', '淮南市'), ('340402', '大通区'), ('340403', '田家庵区'), ('340404', '谢家集区'), ('340405', '八公山区'), ('340406', '潘集区'), ('340421', '凤台县'), ('340422', '寿县'), ('340500', '马鞍山市'), ('340503', '花山区'), ('340504', '雨山区'), ('340506', '博望区'), ('340521', '当涂县'), ('340522', '含山县'), ('340523', '和县'), ('340600', '淮北市'), ('340602', '杜集区'), ('340603', '相山区'), ('340604', '烈山区'), ('340621', '濉溪县'), ('340700', '铜陵市'), ('340705', '铜官区'), ('340706', '义安区'), ('340711', '郊区'), ('340722', '枞阳县'), ('340800', '安庆市'), ('340802', '迎江区'), ('340803', '大观区'), ('340811', '宜秀区'), ('340822', '怀宁县'), ('340824', '潜山县'), ('340825', '太湖县'), ('340826', '宿松县'), ('340827', '望江县'), ('340828', '岳西县'), ('340881', '桐城市'), ('341000', '黄山市'), ('341002', '屯溪区'), ('341003', '黄山区'), ('341004', '徽州区'), ('341021', '歙县'), ('341022', '休宁县'), ('341023', '黟县'), ('341024', '祁门县'), ('341100', '滁州市'), ('341102', '琅琊区'), ('341103', '南谯区'), ('341122', '来安县'), ('341124', '全椒县'), ('341125', '定远县'), ('341126', '凤阳县'), ('341181', '天长市'), ('341182', '明光市'), ('341200', '阜阳市'), ('341202', '颍州区'), ('341203', '颍东区'), ('341204', '颍泉区'), ('341221', '临泉县'), ('341222', '太和县'), ('341225', '阜南县'), ('341226', '颍上县'), ('341282', '界首市'), ('341300', '宿州市'), ('341302', '埇桥区'), ('341321', '砀山县'), ('341322', '萧县'), ('341323', '灵璧县'), ('341324', '泗县'), ('341500', '六安市'), ('341502', '金安区'), ('341503', '裕安区'), ('341504', '叶集区'), ('341522', '霍邱县'), ('341523', '舒城县'), ('341524', '金寨县'), ('341525', '霍山县'), ('341600', '亳州市'), ('341602', '谯城区'), ('341621', '涡阳县'), ('341622', '蒙城县'), ('341623', '利辛县'), ('341700', '池州市'), ('341702', '贵池区'), ('341721', '东至县'), ('341722', '石台县'), ('341723', '青阳县'), ('341800', '宣城市'), ('341802', '宣州区'), ('341821', '郎溪县'), ('341822', '广德县'), ('341823', '泾县'), ('341824', '绩溪县'), ('341825', '旌德县'), ('341881', '宁国市'), ('350000', '福建省'), ('350100', '福州市'), ('350102', '鼓楼区'), ('350103', '台江区'), ('350104', '仓山区'), ('350105', '马尾区'), ('350111', '晋安区'), ('350112', '长乐区'), ('350121', '闽侯县'), ('350122', '连江县'), ('350123', '罗源县'), ('350124', '闽清县'), ('350125', '永泰县'), ('350128', '平潭县'), ('350181', '福清市'), ('350200', '厦门市'), ('350203', '思明区'), ('350205', '海沧区'), ('350206', '湖里区'), ('350211', '集美区'), ('350212', '同安区'), ('350213', '翔安区'), ('350300', '莆田市'), ('350302', '城厢区'), ('350303', '涵江区'), ('350304', '荔城区'), ('350305', '秀屿区'), ('350322', '仙游县'), ('350400', '三明市'), ('350402', '梅列区'), ('350403', '三元区'), ('350421', '明溪县'), ('350423', '清流县'), ('350424', '宁化县'), ('350425', '大田县'), ('350426', '尤溪县'), ('350427', '沙县'), ('350428', '将乐县'), ('350429', '泰宁县'), ('350430', '建宁县'), ('350481', '永安市'), ('350500', '泉州市'), ('350502', '鲤城区'), ('350503', '丰泽区'), ('350504', '洛江区'), ('350505', '泉港区'), ('350521', '惠安县'), ('350524', '安溪县'), ('350525', '永春县'), ('350526', '德化县'), ('350527', '金门县'), ('350581', '石狮市'), ('350582', '晋江市'), ('350583', '南安市'), ('350600', '漳州市'), ('350602', '芗城区'), ('350603', '龙文区'), ('350622', '云霄县'), ('350623', '漳浦县'), ('350624', '诏安县'), ('350625', '长泰县'), ('350626', '东山县'), ('350627', '南靖县'), ('350628', '平和县'), ('350629', '华安县'), ('350681', '龙海市'), ('350700', '南平市'), ('350702', '延平区'), ('350703', '建阳区'), ('350721', '顺昌县'), ('350722', '浦城县'), ('350723', '光泽县'), ('350724', '松溪县'), ('350725', '政和县'), ('350781', '邵武市'), ('350782', '武夷山市'), ('350783', '建瓯市'), ('350800', '龙岩市'), ('350802', '新罗区'), ('350803', '永定区'), ('350821', '长汀县'), ('350823', '上杭县'), ('350824', '武平县'), ('350825', '连城县'), ('350881', '漳平市'), ('350900', '宁德市'), ('350902', '蕉城区'), ('350921', '霞浦县'), ('350922', '古田县'), ('350923', '屏南县'), ('350924', '寿宁县'), ('350925', '周宁县'), ('350926', '柘荣县'), ('350981', '福安市'), ('350982', '福鼎市'), ('360000', '江西省'), ('360100', '南昌市'), ('360102', '东湖区'), ('360103', '西湖区'), ('360104', '青云谱区'), ('360105', '湾里区'), ('360111', '青山湖区'), ('360112', '新建区'), ('360121', '南昌县'), ('360123', '安义县'), ('360124', '进贤县'), ('360200', '景德镇市'), ('360202', '昌江区'), ('360203', '珠山区'), ('360222', '浮梁县'), ('360281', '乐平市'), ('360300', '萍乡市'), ('360302', '安源区'), ('360313', '湘东区'), ('360321', '莲花县'), ('360322', '上栗县'), ('360323', '芦溪县'), ('360400', '九江市'), ('360402', '濂溪区'), ('360403', '浔阳区'), ('360404', '柴桑区'), ('360423', '武宁县'), ('360424', '修水县'), ('360425', '永修县'), ('360426', '德安县'), ('360428', '都昌县'), ('360429', '湖口县'), ('360430', '彭泽县'), ('360481', '瑞昌市'), ('360482', '共青城市'), ('360483', '庐山市'), ('360500', '新余市'), ('360502', '渝水区'), ('360521', '分宜县'), ('360600', '鹰潭市'), ('360602', '月湖区'), ('360622', '余江县'), ('360681', '贵溪市'), ('360700', '赣州市'), ('360702', '章贡区'), ('360703', '南康区'), ('360704', '赣县区'), ('360722', '信丰县'), ('360723', '大余县'), ('360724', '上犹县'), ('360725', '崇义县'), ('360726', '安远县'), ('360727', '龙南县'), ('360728', '定南县'), ('360729', '全南县'), ('360730', '宁都县'), ('360731', '于都县'), ('360732', '兴国县'), ('360733', '会昌县'), ('360734', '寻乌县'), ('360735', '石城县'), ('360781', '瑞金市'), ('360800', '吉安市'), ('360802', '吉州区'), ('360803', '青原区'), ('360821', '吉安县'), ('360822', '吉水县'), ('360823', '峡江县'), ('360824', '新干县'), ('360825', '永丰县'), ('360826', '泰和县'), ('360827', '遂川县'), ('360828', '万安县'), ('360829', '安福县'), ('360830', '永新县'), ('360881', '井冈山市'), ('360900', '宜春市'), ('360902', '袁州区'), ('360921', '奉新县'), ('360922', '万载县'), ('360923', '上高县'), ('360924', '宜丰县'), ('360925', '靖安县'), ('360926', '铜鼓县'), ('360981', '丰城市'), ('360982', '樟树市'), ('360983', '高安市'), ('361000', '抚州市'), ('361002', '临川区'), ('361003', '东乡区'), ('361021', '南城县'), ('361022', '黎川县'), ('361023', '南丰县'), ('361024', '崇仁县'), ('361025', '乐安县'), ('361026', '宜黄县'), ('361027', '金溪县'), ('361028', '资溪县'), ('361030', '广昌县'), ('361100', '上饶市'), ('361102', '信州区'), ('361103', '广丰区'), ('361121', '上饶县'), ('361123', '玉山县'), ('361124', '铅山县'), ('361125', '横峰县'), ('361126', '弋阳县'), ('361127', '余干县'), ('361128', '鄱阳县'), ('361129', '万年县'), ('361130', '婺源县'), ('361181', '德兴市'), ('370000', '山东省'), ('370100', '济南市'), ('370102', '历下区'), ('370103', '市中区'), ('370104', '槐荫区'), ('370105', '天桥区'), ('370112', '历城区'), ('370113', '长清区'), ('370114', '章丘区'), ('370124', '平阴县'), ('370125', '济阳县'), ('370126', '商河县'), ('370200', '青岛市'), ('370202', '市南区'), ('370203', '市北区'), ('370211', '黄岛区'), ('370212', '崂山区'), ('370213', '李沧区'), ('370214', '城阳区'), ('370215', '即墨区'), ('370281', '胶州市'), ('370283', '平度市'), ('370285', '莱西市'), ('370300', '淄博市'), ('370302', '淄川区'), ('370303', '张店区'), ('370304', '博山区'), ('370305', '临淄区'), ('370306', '周村区'), ('370321', '桓台县'), ('370322', '高青县'), ('370323', '沂源县'), ('370400', '枣庄市'), ('370402', '市中区'), ('370403', '薛城区'), ('370404', '峄城区'), ('370405', '台儿庄区'), ('370406', '山亭区'), ('370481', '滕州市'), ('370500', '东营市'), ('370502', '东营区'), ('370503', '河口区'), ('370505', '垦利区'), ('370522', '利津县'), ('370523', '广饶县'), ('370600', '烟台市'), ('370602', '芝罘区'), ('370611', '福山区'), ('370612', '牟平区'), ('370613', '莱山区'), ('370634', '长岛县'), ('370681', '龙口市'), ('370682', '莱阳市'), ('370683', '莱州市'), ('370684', '蓬莱市'), ('370685', '招远市'), ('370686', '栖霞市'), ('370687', '海阳市'), ('370700', '潍坊市'), ('370702', '潍城区'), ('370703', '寒亭区'), ('370704', '坊子区'), ('370705', '奎文区'), ('370724', '临朐县'), ('370725', '昌乐县'), ('370781', '青州市'), ('370782', '诸城市'), ('370783', '寿光市'), ('370784', '安丘市'), ('370785', '高密市'), ('370786', '昌邑市'), ('370800', '济宁市'), ('370811', '任城区'), ('370812', '兖州区'), ('370826', '微山县'), ('370827', '鱼台县'), ('370828', '金乡县'), ('370829', '嘉祥县'), ('370830', '汶上县'), ('370831', '泗水县'), ('370832', '梁山县'), ('370881', '曲阜市'), ('370883', '邹城市'), ('370900', '泰安市'), ('370902', '泰山区'), ('370911', '岱岳区'), ('370921', '宁阳县'), ('370923', '东平县'), ('370982', '新泰市'), ('370983', '肥城市'), ('371000', '威海市'), ('371002', '环翠区'), ('371003', '文登区'), ('371082', '荣成市'), ('371083', '乳山市'), ('371100', '日照市'), ('371102', '东港区'), ('371103', '岚山区'), ('371121', '五莲县'), ('371122', '莒县'), ('371200', '莱芜市'), ('371202', '莱城区'), ('371203', '钢城区'), ('371300', '临沂市'), ('371302', '兰山区'), ('371311', '罗庄区'), ('371312', '河东区'), ('371321', '沂南县'), ('371322', '郯城县'), ('371323', '沂水县'), ('371324', '兰陵县'), ('371325', '费县'), ('371326', '平邑县'), ('371327', '莒南县'), ('371328', '蒙阴县'), ('371329', '临沭县'), ('371400', '德州市'), ('371402', '德城区'), ('371403', '陵城区'), ('371422', '宁津县'), ('371423', '庆云县'), ('371424', '临邑县'), ('371425', '齐河县'), ('371426', '平原县'), ('371427', '夏津县'), ('371428', '武城县'), ('371481', '乐陵市'), ('371482', '禹城市'), ('371500', '聊城市'), ('371502', '东昌府区'), ('371521', '阳谷县'), ('371522', '莘县'), ('371523', '茌平县'), ('371524', '东阿县'), ('371525', '冠县'), ('371526', '高唐县'), ('371581', '临清市'), ('371600', '滨州市'), ('371602', '滨城区'), ('371603', '沾化区'), ('371621', '惠民县'), ('371622', '阳信县'), ('371623', '无棣县'), ('371625', '博兴县'), ('371626', '邹平县'), ('371700', '菏泽市'), ('371702', '牡丹区'), ('371703', '定陶区'), ('371721', '曹县'), ('371722', '单县'), ('371723', '成武县'), ('371724', '巨野县'), ('371725', '郓城县'), ('371726', '鄄城县'), ('371728', '东明县'), ('410000', '河南省'), ('410100', '郑州市'), ('410102', '中原区'), ('410103', '二七区'), ('410104', '管城回族区'), ('410105', '金水区'), ('410106', '上街区'), ('410108', '惠济区'), ('410122', '中牟县'), ('410181', '巩义市'), ('410182', '荥阳市'), ('410183', '新密市'), ('410184', '新郑市'), ('410185', '登封市'), ('410200', '开封市'), ('410202', '龙亭区'), ('410203', '顺河回族区'), ('410204', '鼓楼区'), ('410205', '禹王台区'), ('410212', '祥符区'), ('410221', '杞县'), ('410222', '通许县'), ('410223', '尉氏县'), ('410225', '兰考县'), ('410300', '洛阳市'), ('410302', '老城区'), ('410303', '西工区'), ('410304', '瀍河回族区'), ('410305', '涧西区'), ('410306', '吉利区'), ('410311', '洛龙区'), ('410322', '孟津县'), ('410323', '新安县'), ('410324', '栾川县'), ('410325', '嵩县'), ('410326', '汝阳县'), ('410327', '宜阳县'), ('410328', '洛宁县'), ('410329', '伊川县'), ('410381', '偃师市'), ('410400', '平顶山市'), ('410402', '新华区'), ('410403', '卫东区'), ('410404', '石龙区'), ('410411', '湛河区'), ('410421', '宝丰县'), ('410422', '叶县'), ('410423', '鲁山县'), ('410425', '郏县'), ('410481', '舞钢市'), ('410482', '汝州市'), ('410500', '安阳市'), ('410502', '文峰区'), ('410503', '北关区'), ('410505', '殷都区'), ('410506', '龙安区'), ('410522', '安阳县'), ('410523', '汤阴县'), ('410526', '滑县'), ('410527', '内黄县'), ('410581', '林州市'), ('410600', '鹤壁市'), ('410602', '鹤山区'), ('410603', '山城区'), ('410611', '淇滨区'), ('410621', '浚县'), ('410622', '淇县'), ('410700', '新乡市'), ('410702', '红旗区'), ('410703', '卫滨区'), ('410704', '凤泉区'), ('410711', '牧野区'), ('410721', '新乡县'), ('410724', '获嘉县'), ('410725', '原阳县'), ('410726', '延津县'), ('410727', '封丘县'), ('410728', '长垣县'), ('410781', '卫辉市'), ('410782', '辉县市'), ('410800', '焦作市'), ('410802', '解放区'), ('410803', '中站区'), ('410804', '马村区'), ('410811', '山阳区'), ('410821', '修武县'), ('410822', '博爱县'), ('410823', '武陟县'), ('410825', '温县'), ('410882', '沁阳市'), ('410883', '孟州市'), ('410900', '濮阳市'), ('410902', '华龙区'), ('410922', '清丰县'), ('410923', '南乐县'), ('410926', '范县'), ('410927', '台前县'), ('410928', '濮阳县'), ('411000', '许昌市'), ('411002', '魏都区'), ('411003', '建安区'), ('411024', '鄢陵县'), ('411025', '襄城县'), ('411081', '禹州市'), ('411082', '长葛市'), ('411100', '漯河市'), ('411102', '源汇区'), ('411103', '郾城区'), ('411104', '召陵区'), ('411121', '舞阳县'), ('411122', '临颍县'), ('411200', '三门峡市'), ('411202', '湖滨区'), ('411203', '陕州区'), ('411221', '渑池县'), ('411224', '卢氏县'), ('411281', '义马市'), ('411282', '灵宝市'), ('411300', '南阳市'), ('411302', '宛城区'), ('411303', '卧龙区'), ('411321', '南召县'), ('411322', '方城县'), ('411323', '西峡县'), ('411324', '镇平县'), ('411325', '内乡县'), ('411326', '淅川县'), ('411327', '社旗县'), ('411328', '唐河县'), ('411329', '新野县'), ('411330', '桐柏县'), ('411381', '邓州市'), ('411400', '商丘市'), ('411402', '梁园区'), ('411403', '睢阳区'), ('411421', '民权县'), ('411422', '睢县'), ('411423', '宁陵县'), ('411424', '柘城县'), ('411425', '虞城县'), ('411426', '夏邑县'), ('411481', '永城市'), ('411500', '信阳市'), ('411502', '浉河区'), ('411503', '平桥区'), ('411521', '罗山县'), ('411522', '光山县'), ('411523', '新县'), ('411524', '商城县'), ('411525', '固始县'), ('411526', '潢川县'), ('411527', '淮滨县'), ('411528', '息县'), ('411600', '周口市'), ('411602', '川汇区'), ('411621', '扶沟县'), ('411622', '西华县'), ('411623', '商水县'), ('411624', '沈丘县'), ('411625', '郸城县'), ('411626', '淮阳县'), ('411627', '太康县'), ('411628', '鹿邑县'), ('411681', '项城市'), ('411700', '驻马店市'), ('411702', '驿城区'), ('411721', '西平县'), ('411722', '上蔡县'), ('411723', '平舆县'), ('411724', '正阳县'), ('411725', '确山县'), ('411726', '泌阳县'), ('411727', '汝南县'), ('411728', '遂平县'), ('411729', '新蔡县'), ('419001', '济源市'), ('420000', '湖北省'), ('420100', '武汉市'), ('420102', '江岸区'), ('420103', '江汉区'), ('420104', '硚口区'), ('420105', '汉阳区'), ('420106', '武昌区'), ('420107', '青山区'), ('420111', '洪山区'), ('420112', '东西湖区'), ('420113', '汉南区'), ('420114', '蔡甸区'), ('420115', '江夏区'), ('420116', '黄陂区'), ('420117', '新洲区'), ('420200', '黄石市'), ('420202', '黄石港区'), ('420203', '西塞山区'), ('420204', '下陆区'), ('420205', '铁山区'), ('420222', '阳新县'), ('420281', '大冶市'), ('420300', '十堰市'), ('420302', '茅箭区'), ('420303', '张湾区'), ('420304', '郧阳区'), ('420322', '郧西县'), ('420323', '竹山县'), ('420324', '竹溪县'), ('420325', '房县'), ('420381', '丹江口市'), ('420500', '宜昌市'), ('420502', '西陵区'), ('420503', '伍家岗区'), ('420504', '点军区'), ('420505', '猇亭区'), ('420506', '夷陵区'), ('420525', '远安县'), ('420526', '兴山县'), ('420527', '秭归县'), ('420528', '长阳土家族自治县'), ('420529', '五峰土家族自治县'), ('420581', '宜都市'), ('420582', '当阳市'), ('420583', '枝江市'), ('420600', '襄阳市'), ('420602', '襄城区'), ('420606', '樊城区'), ('420607', '襄州区'), ('420624', '南漳县'), ('420625', '谷城县'), ('420626', '保康县'), ('420682', '老河口市'), ('420683', '枣阳市'), ('420684', '宜城市'), ('420700', '鄂州市'), ('420702', '梁子湖区'), ('420703', '华容区'), ('420704', '鄂城区'), ('420800', '荆门市'), ('420802', '东宝区'), ('420804', '掇刀区'), ('420821', '京山县'), ('420822', '沙洋县'), ('420881', '钟祥市'), ('420900', '孝感市'), ('420902', '孝南区'), ('420921', '孝昌县'), ('420922', '大悟县'), ('420923', '云梦县'), ('420981', '应城市'), ('420982', '安陆市'), ('420984', '汉川市'), ('421000', '荆州市'), ('421002', '沙市区'), ('421003', '荆州区'), ('421022', '公安县'), ('421023', '监利县'), ('421024', '江陵县'), ('421081', '石首市'), ('421083', '洪湖市'), ('421087', '松滋市'), ('421100', '黄冈市'), ('421102', '黄州区'), ('421121', '团风县'), ('421122', '红安县'), ('421123', '罗田县'), ('421124', '英山县'), ('421125', '浠水县'), ('421126', '蕲春县'), ('421127', '黄梅县'), ('421181', '麻城市'), ('421182', '武穴市'), ('421200', '咸宁市'), ('421202', '咸安区'), ('421221', '嘉鱼县'), ('421222', '通城县'), ('421223', '崇阳县'), ('421224', '通山县'), ('421281', '赤壁市'), ('421300', '随州市'), ('421303', '曾都区'), ('421321', '随县'), ('421381', '广水市'), ('422800', '恩施土家族苗族自治州'), ('422801', '恩施市'), ('422802', '利川市'), ('422822', '建始县'), ('422823', '巴东县'), ('422825', '宣恩县'), ('422826', '咸丰县'), ('422827', '来凤县'), ('422828', '鹤峰县'), ('429004', '仙桃市'), ('429005', '潜江市'), ('429006', '天门市'), ('429021', '神农架林区'), ('430000', '湖南省'), ('430100', '长沙市'), ('430102', '芙蓉区'), ('430103', '天心区'), ('430104', '岳麓区'), ('430105', '开福区'), ('430111', '雨花区'), ('430112', '望城区'), ('430121', '长沙县'), ('430181', '浏阳市'), ('430182', '宁乡市'), ('430200', '株洲市'), ('430202', '荷塘区'), ('430203', '芦淞区'), ('430204', '石峰区'), ('430211', '天元区'), ('430221', '株洲县'), ('430223', '攸县'), ('430224', '茶陵县'), ('430225', '炎陵县'), ('430281', '醴陵市'), ('430300', '湘潭市'), ('430302', '雨湖区'), ('430304', '岳塘区'), ('430321', '湘潭县'), ('430381', '湘乡市'), ('430382', '韶山市'), ('430400', '衡阳市'), ('430405', '珠晖区'), ('430406', '雁峰区'), ('430407', '石鼓区'), ('430408', '蒸湘区'), ('430412', '南岳区'), ('430421', '衡阳县'), ('430422', '衡南县'), ('430423', '衡山县'), ('430424', '衡东县'), ('430426', '祁东县'), ('430481', '耒阳市'), ('430482', '常宁市'), ('430500', '邵阳市'), ('430502', '双清区'), ('430503', '大祥区'), ('430511', '北塔区'), ('430521', '邵东县'), ('430522', '新邵县'), ('430523', '邵阳县'), ('430524', '隆回县'), ('430525', '洞口县'), ('430527', '绥宁县'), ('430528', '新宁县'), ('430529', '城步苗族自治县'), ('430581', '武冈市'), ('430600', '岳阳市'), ('430602', '岳阳楼区'), ('430603', '云溪区'), ('430611', '君山区'), ('430621', '岳阳县'), ('430623', '华容县'), ('430624', '湘阴县'), ('430626', '平江县'), ('430681', '汨罗市'), ('430682', '临湘市'), ('430700', '常德市'), ('430702', '武陵区'), ('430703', '鼎城区'), ('430721', '安乡县'), ('430722', '汉寿县'), ('430723', '澧县'), ('430724', '临澧县'), ('430725', '桃源县'), ('430726', '石门县'), ('430781', '津市市'), ('430800', '张家界市'), ('430802', '永定区'), ('430811', '武陵源区'), ('430821', '慈利县'), ('430822', '桑植县'), ('430900', '益阳市'), ('430902', '资阳区'), ('430903', '赫山区'), ('430921', '南县'), ('430922', '桃江县'), ('430923', '安化县'), ('430981', '沅江市'), ('431000', '郴州市'), ('431002', '北湖区'), ('431003', '苏仙区'), ('431021', '桂阳县'), ('431022', '宜章县'), ('431023', '永兴县'), ('431024', '嘉禾县'), ('431025', '临武县'), ('431026', '汝城县'), ('431027', '桂东县'), ('431028', '安仁县'), ('431081', '资兴市'), ('431100', '永州市'), ('431102', '零陵区'), ('431103', '冷水滩区'), ('431121', '祁阳县'), ('431122', '东安县'), ('431123', '双牌县'), ('431124', '道县'), ('431125', '江永县'), ('431126', '宁远县'), ('431127', '蓝山县'), ('431128', '新田县'), ('431129', '江华瑶族自治县'), ('431200', '怀化市'), ('431202', '鹤城区'), ('431221', '中方县'), ('431222', '沅陵县'), ('431223', '辰溪县'), ('431224', '溆浦县'), ('431225', '会同县'), ('431226', '麻阳苗族自治县'), ('431227', '新晃侗族自治县'), ('431228', '芷江侗族自治县'), ('431229', '靖州苗族侗族自治县'), ('431230', '通道侗族自治县'), ('431281', '洪江市'), ('431300', '娄底市'), ('431302', '娄星区'), ('431321', '双峰县'), ('431322', '新化县'), ('431381', '冷水江市'), ('431382', '涟源市'), ('433100', '湘西土家族苗族自治州'), ('433101', '吉首市'), ('433122', '泸溪县'), ('433123', '凤凰县'), ('433124', '花垣县'), ('433125', '保靖县'), ('433126', '古丈县'), ('433127', '永顺县'), ('433130', '龙山县'), ('440000', '广东省'), ('440100', '广州市'), ('440103', '荔湾区'), ('440104', '越秀区'), ('440105', '海珠区'), ('440106', '天河区'), ('440111', '白云区'), ('440112', '黄埔区'), ('440113', '番禺区'), ('440114', '花都区'), ('440115', '南沙区'), ('440117', '从化区'), ('440118', '增城区'), ('440200', '韶关市'), ('440203', '武江区'), ('440204', '浈江区'), ('440205', '曲江区'), ('440222', '始兴县'), ('440224', '仁化县'), ('440229', '翁源县'), ('440232', '乳源瑶族自治县'), ('440233', '新丰县'), ('440281', '乐昌市'), ('440282', '南雄市'), ('440300', '深圳市'), ('440303', '罗湖区'), ('440304', '福田区'), ('440305', '南山区'), ('440306', '宝安区'), ('440307', '龙岗区'), ('440308', '盐田区'), ('440309', '龙华区'), ('440310', '坪山区'), ('440400', '珠海市'), ('440402', '香洲区'), ('440403', '斗门区'), ('440404', '金湾区'), ('440500', '汕头市'), ('440507', '龙湖区'), ('440511', '金平区'), ('440512', '濠江区'), ('440513', '潮阳区'), ('440514', '潮南区'), ('440515', '澄海区'), ('440523', '南澳县'), ('440600', '佛山市'), ('440604', '禅城区'), ('440605', '南海区'), ('440606', '顺德区'), ('440607', '三水区'), ('440608', '高明区'), ('440700', '江门市'), ('440703', '蓬江区'), ('440704', '江海区'), ('440705', '新会区'), ('440781', '台山市'), ('440783', '开平市'), ('440784', '鹤山市'), ('440785', '恩平市'), ('440800', '湛江市'), ('440802', '赤坎区'), ('440803', '霞山区'), ('440804', '坡头区'), ('440811', '麻章区'), ('440823', '遂溪县'), ('440825', '徐闻县'), ('440881', '廉江市'), ('440882', '雷州市'), ('440883', '吴川市'), ('440900', '茂名市'), ('440902', '茂南区'), ('440904', '电白区'), ('440981', '高州市'), ('440982', '化州市'), ('440983', '信宜市'), ('441200', '肇庆市'), ('441202', '端州区'), ('441203', '鼎湖区'), ('441204', '高要区'), ('441223', '广宁县'), ('441224', '怀集县'), ('441225', '封开县'), ('441226', '德庆县'), ('441284', '四会市'), ('441300', '惠州市'), ('441302', '惠城区'), ('441303', '惠阳区'), ('441322', '博罗县'), ('441323', '惠东县'), ('441324', '龙门县'), ('441400', '梅州市'), ('441402', '梅江区'), ('441403', '梅县区'), ('441422', '大埔县'), ('441423', '丰顺县'), ('441424', '五华县'), ('441426', '平远县'), ('441427', '蕉岭县'), ('441481', '兴宁市'), ('441500', '汕尾市'), ('441502', '城区'), ('441521', '海丰县'), ('441523', '陆河县'), ('441581', '陆丰市'), ('441600', '河源市'), ('441602', '源城区'), ('441621', '紫金县'), ('441622', '龙川县'), ('441623', '连平县'), ('441624', '和平县'), ('441625', '东源县'), ('441700', '阳江市'), ('441702', '江城区'), ('441704', '阳东区'), ('441721', '阳西县'), ('441781', '阳春市'), ('441800', '清远市'), ('441802', '清城区'), ('441803', '清新区'), ('441821', '佛冈县'), ('441823', '阳山县'), ('441825', '连山壮族瑶族自治县'), ('441826', '连南瑶族自治县'), ('441881', '英德市'), ('441882', '连州市'), ('441900', '东莞市'), ('442000', '中山市'), ('445100', '潮州市'), ('445102', '湘桥区'), ('445103', '潮安区'), ('445122', '饶平县'), ('445200', '揭阳市'), ('445202', '榕城区'), ('445203', '揭东区'), ('445222', '揭西县'), ('445224', '惠来县'), ('445281', '普宁市'), ('445300', '云浮市'), ('445302', '云城区'), ('445303', '云安区'), ('445321', '新兴县'), ('445322', '郁南县'), ('445381', '罗定市'), ('450000', '广西壮族自治区'), ('450100', '南宁市'), ('450102', '兴宁区'), ('450103', '青秀区'), ('450105', '江南区'), ('450107', '西乡塘区'), ('450108', '良庆区'), ('450109', '邕宁区'), ('450110', '武鸣区'), ('450123', '隆安县'), ('450124', '马山县'), ('450125', '上林县'), ('450126', '宾阳县'), ('450127', '横县'), ('450200', '柳州市'), ('450202', '城中区'), ('450203', '鱼峰区'), ('450204', '柳南区'), ('450205', '柳北区'), ('450206', '柳江区'), ('450222', '柳城县'), ('450223', '鹿寨县'), ('450224', '融安县'), ('450225', '融水苗族自治县'), ('450226', '三江侗族自治县'), ('450300', '桂林市'), ('450302', '秀峰区'), ('450303', '叠彩区'), ('450304', '象山区'), ('450305', '七星区'), ('450311', '雁山区'), ('450312', '临桂区'), ('450321', '阳朔县'), ('450323', '灵川县'), ('450324', '全州县'), ('450325', '兴安县'), ('450326', '永福县'), ('450327', '灌阳县'), ('450328', '龙胜各族自治县'), ('450329', '资源县'), ('450330', '平乐县'), ('450331', '荔浦县'), ('450332', '恭城瑶族自治县'), ('450400', '梧州市'), ('450403', '万秀区'), ('450405', '长洲区'), ('450406', '龙圩区'), ('450421', '苍梧县'), ('450422', '藤县'), ('450423', '蒙山县'), ('450481', '岑溪市'), ('450500', '北海市'), ('450502', '海城区'), ('450503', '银海区'), ('450512', '铁山港区'), ('450521', '合浦县'), ('450600', '防城港市'), ('450602', '港口区'), ('450603', '防城区'), ('450621', '上思县'), ('450681', '东兴市'), ('450700', '钦州市'), ('450702', '钦南区'), ('450703', '钦北区'), ('450721', '灵山县'), ('450722', '浦北县'), ('450800', '贵港市'), ('450802', '港北区'), ('450803', '港南区'), ('450804', '覃塘区'), ('450821', '平南县'), ('450881', '桂平市'), ('450900', '玉林市'), ('450902', '玉州区'), ('450903', '福绵区'), ('450921', '容县'), ('450922', '陆川县'), ('450923', '博白县'), ('450924', '兴业县'), ('450981', '北流市'), ('451000', '百色市'), ('451002', '右江区'), ('451021', '田阳县'), ('451022', '田东县'), ('451023', '平果县'), ('451024', '德保县'), ('451026', '那坡县'), ('451027', '凌云县'), ('451028', '乐业县'), ('451029', '田林县'), ('451030', '西林县'), ('451031', '隆林各族自治县'), ('451081', '靖西市'), ('451100', '贺州市'), ('451102', '八步区'), ('451103', '平桂区'), ('451121', '昭平县'), ('451122', '钟山县'), ('451123', '富川瑶族自治县'), ('451200', '河池市'), ('451202', '金城江区'), ('451203', '宜州区'), ('451221', '南丹县'), ('451222', '天峨县'), ('451223', '凤山县'), ('451224', '东兰县'), ('451225', '罗城仫佬族自治县'), ('451226', '环江毛南族自治县'), ('451227', '巴马瑶族自治县'), ('451228', '都安瑶族自治县'), ('451229', '大化瑶族自治县'), ('451300', '来宾市'), ('451302', '兴宾区'), ('451321', '忻城县'), ('451322', '象州县'), ('451323', '武宣县'), ('451324', '金秀瑶族自治县'), ('451381', '合山市'), ('451400', '崇左市'), ('451402', '江州区'), ('451421', '扶绥县'), ('451422', '宁明县'), ('451423', '龙州县'), ('451424', '大新县'), ('451425', '天等县'), ('451481', '凭祥市'), ('460000', '海南省'), ('460100', '海口市'), ('460105', '秀英区'), ('460106', '龙华区'), ('460107', '琼山区'), ('460108', '美兰区'), ('460200', '三亚市'), ('460202', '海棠区'), ('460203', '吉阳区'), ('460204', '天涯区'), ('460205', '崖州区'), ('460300', '三沙市'), ('460400', '儋州市'), ('469001', '五指山市'), ('469002', '琼海市'), ('469005', '文昌市'), ('469006', '万宁市'), ('469007', '东方市'), ('469021', '定安县'), ('469022', '屯昌县'), ('469023', '澄迈县'), ('469024', '临高县'), ('469025', '白沙黎族自治县'), ('469026', '昌江黎族自治县'), ('469027', '乐东黎族自治县'), ('469028', '陵水黎族自治县'), ('469029', '保亭黎族苗族自治县'), ('469030', '琼中黎族苗族自治县'), ('500000', '重庆市'), ('500101', '万州区'), ('500102', '涪陵区'), ('500103', '渝中区'), ('500104', '大渡口区'), ('500105', '江北区'), ('500106', '沙坪坝区'), ('500107', '九龙坡区'), ('500108', '南岸区'), ('500109', '北碚区'), ('500110', '綦江区'), ('500111', '大足区'), ('500112', '渝北区'), ('500113', '巴南区'), ('500114', '黔江区'), ('500115', '长寿区'), ('500116', '江津区'), ('500117', '合川区'), ('500118', '永川区'), ('500119', '南川区'), ('500120', '璧山区'), ('500151', '铜梁区'), ('500152', '潼南区'), ('500153', '荣昌区'), ('500154', '开州区'), ('500155', '梁平区'), ('500156', '武隆区'), ('500229', '城口县'), ('500230', '丰都县'), ('500231', '垫江县'), ('500233', '忠县'), ('500235', '云阳县'), ('500236', '奉节县'), ('500237', '巫山县'), ('500238', '巫溪县'), ('500240', '石柱土家族自治县'), ('500241', '秀山土家族苗族自治县'), ('500242', '酉阳土家族苗族自治县'), ('500243', '彭水苗族土家族自治县'), ('510000', '四川省'), ('510100', '成都市'), ('510104', '锦江区'), ('510105', '青羊区'), ('510106', '金牛区'), ('510107', '武侯区'), ('510108', '成华区'), ('510112', '龙泉驿区'), ('510113', '青白江区'), ('510114', '新都区'), ('510115', '温江区'), ('510116', '双流区'), ('510117', '郫都区'), ('510121', '金堂县'), ('510129', '大邑县'), ('510131', '蒲江县'), ('510132', '新津县'), ('510181', '都江堰市'), ('510182', '彭州市'), ('510183', '邛崃市'), ('510184', '崇州市'), ('510185', '简阳市'), ('510300', '自贡市'), ('510302', '自流井区'), ('510303', '贡井区'), ('510304', '大安区'), ('510311', '沿滩区'), ('510321', '荣县'), ('510322', '富顺县'), ('510400', '攀枝花市'), ('510402', '东区'), ('510403', '西区'), ('510411', '仁和区'), ('510421', '米易县'), ('510422', '盐边县'), ('510500', '泸州市'), ('510502', '江阳区'), ('510503', '纳溪区'), ('510504', '龙马潭区'), ('510521', '泸县'), ('510522', '合江县'), ('510524', '叙永县'), ('510525', '古蔺县'), ('510600', '德阳市'), ('510603', '旌阳区'), ('510604', '罗江区'), ('510623', '中江县'), ('510681', '广汉市'), ('510682', '什邡市'), ('510683', '绵竹市'), ('510700', '绵阳市'), ('510703', '涪城区'), ('510704', '游仙区'), ('510705', '安州区'), ('510722', '三台县'), ('510723', '盐亭县'), ('510725', '梓潼县'), ('510726', '北川羌族自治县'), ('510727', '平武县'), ('510781', '江油市'), ('510800', '广元市'), ('510802', '利州区'), ('510811', '昭化区'), ('510812', '朝天区'), ('510821', '旺苍县'), ('510822', '青川县'), ('510823', '剑阁县'), ('510824', '苍溪县'), ('510900', '遂宁市'), ('510903', '船山区'), ('510904', '安居区'), ('510921', '蓬溪县'), ('510922', '射洪县'), ('510923', '大英县'), ('511000', '内江市'), ('511002', '市中区'), ('511011', '东兴区'), ('511024', '威远县'), ('511025', '资中县'), ('511083', '隆昌市'), ('511100', '乐山市'), ('511102', '市中区'), ('511111', '沙湾区'), ('511112', '五通桥区'), ('511113', '金口河区'), ('511123', '犍为县'), ('511124', '井研县'), ('511126', '夹江县'), ('511129', '沐川县'), ('511132', '峨边彝族自治县'), ('511133', '马边彝族自治县'), ('511181', '峨眉山市'), ('511300', '南充市'), ('511302', '顺庆区'), ('511303', '高坪区'), ('511304', '嘉陵区'), ('511321', '南部县'), ('511322', '营山县'), ('511323', '蓬安县'), ('511324', '仪陇县'), ('511325', '西充县'), ('511381', '阆中市'), ('511400', '眉山市'), ('511402', '东坡区'), ('511403', '彭山区'), ('511421', '仁寿县'), ('511423', '洪雅县'), ('511424', '丹棱县'), ('511425', '青神县'), ('511500', '宜宾市'), ('511502', '翠屏区'), ('511503', '南溪区'), ('511521', '宜宾县'), ('511523', '江安县'), ('511524', '长宁县'), ('511525', '高县'), ('511526', '珙县'), ('511527', '筠连县'), ('511528', '兴文县'), ('511529', '屏山县'), ('511600', '广安市'), ('511602', '广安区'), ('511603', '前锋区'), ('511621', '岳池县'), ('511622', '武胜县'), ('511623', '邻水县'), ('511681', '华蓥市'), ('511700', '达州市'), ('511702', '通川区'), ('511703', '达川区'), ('511722', '宣汉县'), ('511723', '开江县'), ('511724', '大竹县'), ('511725', '渠县'), ('511781', '万源市'), ('511800', '雅安市'), ('511802', '雨城区'), ('511803', '名山区'), ('511822', '荥经县'), ('511823', '汉源县'), ('511824', '石棉县'), ('511825', '天全县'), ('511826', '芦山县'), ('511827', '宝兴县'), ('511900', '巴中市'), ('511902', '巴州区'), ('511903', '恩阳区'), ('511921', '通江县'), ('511922', '南江县'), ('511923', '平昌县'), ('512000', '资阳市'), ('512002', '雁江区'), ('512021', '安岳县'), ('512022', '乐至县'), ('513200', '阿坝藏族羌族自治州'), ('513201', '马尔康市'), ('513221', '汶川县'), ('513222', '理县'), ('513223', '茂县'), ('513224', '松潘县'), ('513225', '九寨沟县'), ('513226', '金川县'), ('513227', '小金县'), ('513228', '黑水县'), ('513230', '壤塘县'), ('513231', '阿坝县'), ('513232', '若尔盖县'), ('513233', '红原县'), ('513300', '甘孜藏族自治州'), ('513301', '康定市'), ('513322', '泸定县'), ('513323', '丹巴县'), ('513324', '九龙县'), ('513325', '雅江县'), ('513326', '道孚县'), ('513327', '炉霍县'), ('513328', '甘孜县'), ('513329', '新龙县'), ('513330', '德格县'), ('513331', '白玉县'), ('513332', '石渠县'), ('513333', '色达县'), ('513334', '理塘县'), ('513335', '巴塘县'), ('513336', '乡城县'), ('513337', '稻城县'), ('513338', '得荣县'), ('513400', '凉山彝族自治州'), ('513401', '西昌市'), ('513422', '木里藏族自治县'), ('513423', '盐源县'), ('513424', '德昌县'), ('513425', '会理县'), ('513426', '会东县'), ('513427', '宁南县'), ('513428', '普格县'), ('513429', '布拖县'), ('513430', '金阳县'), ('513431', '昭觉县'), ('513432', '喜德县'), ('513433', '冕宁县'), ('513434', '越西县'), ('513435', '甘洛县'), ('513436', '美姑县'), ('513437', '雷波县'), ('520000', '贵州省'), ('520100', '贵阳市'), ('520102', '南明区'), ('520103', '云岩区'), ('520111', '花溪区'), ('520112', '乌当区'), ('520113', '白云区'), ('520115', '观山湖区'), ('520121', '开阳县'), ('520122', '息烽县'), ('520123', '修文县'), ('520181', '清镇市'), ('520200', '六盘水市'), ('520201', '钟山区'), ('520203', '六枝特区'), ('520221', '水城县'), ('520281', '盘州市'), ('520300', '遵义市'), ('520302', '红花岗区'), ('520303', '汇川区'), ('520304', '播州区'), ('520322', '桐梓县'), ('520323', '绥阳县'), ('520324', '正安县'), ('520325', '道真仡佬族苗族自治县'), ('520326', '务川仡佬族苗族自治县'), ('520327', '凤冈县'), ('520328', '湄潭县'), ('520329', '余庆县'), ('520330', '习水县'), ('520381', '赤水市'), ('520382', '仁怀市'), ('520400', '安顺市'), ('520402', '西秀区'), ('520403', '平坝区'), ('520422', '普定县'), ('520423', '镇宁布依族苗族自治县'), ('520424', '关岭布依族苗族自治县'), ('520425', '紫云苗族布依族自治县'), ('520500', '毕节市'), ('520502', '七星关区'), ('520521', '大方县'), ('520522', '黔西县'), ('520523', '金沙县'), ('520524', '织金县'), ('520525', '纳雍县'), ('520526', '威宁彝族回族苗族自治县'), ('520527', '赫章县'), ('520600', '铜仁市'), ('520602', '碧江区'), ('520603', '万山区'), ('520621', '江口县'), ('520622', '玉屏侗族自治县'), ('520623', '石阡县'), ('520624', '思南县'), ('520625', '印江土家族苗族自治县'), ('520626', '德江县'), ('520627', '沿河土家族自治县'), ('520628', '松桃苗族自治县'), ('522300', '黔西南布依族苗族自治州'), ('522301', '兴义市'), ('522322', '兴仁县'), ('522323', '普安县'), ('522324', '晴隆县'), ('522325', '贞丰县'), ('522326', '望谟县'), ('522327', '册亨县'), ('522328', '安龙县'), ('522600', '黔东南苗族侗族自治州'), ('522601', '凯里市'), ('522622', '黄平县'), ('522623', '施秉县'), ('522624', '三穗县'), ('522625', '镇远县'), ('522626', '岑巩县'), ('522627', '天柱县'), ('522628', '锦屏县'), ('522629', '剑河县'), ('522630', '台江县'), ('522631', '黎平县'), ('522632', '榕江县'), ('522633', '从江县'), ('522634', '雷山县'), ('522635', '麻江县'), ('522636', '丹寨县'), ('522700', '黔南布依族苗族自治州'), ('522701', '都匀市'), ('522702', '福泉市'), ('522722', '荔波县'), ('522723', '贵定县'), ('522725', '瓮安县'), ('522726', '独山县'), ('522727', '平塘县'), ('522728', '罗甸县'), ('522729', '长顺县'), ('522730', '龙里县'), ('522731', '惠水县'), ('522732', '三都水族自治县'), ('530000', '云南省'), ('530100', '昆明市'), ('530102', '五华区'), ('530103', '盘龙区'), ('530111', '官渡区'), ('530112', '西山区'), ('530113', '东川区'), ('530114', '呈贡区'), ('530115', '晋宁区'), ('530124', '富民县'), ('530125', '宜良县'), ('530126', '石林彝族自治县'), ('530127', '嵩明县'), ('530128', '禄劝彝族苗族自治县'), ('530129', '寻甸回族彝族自治县'), ('530181', '安宁市'), ('530300', '曲靖市'), ('530302', '麒麟区'), ('530303', '沾益区'), ('530321', '马龙县'), ('530322', '陆良县'), ('530323', '师宗县'), ('530324', '罗平县'), ('530325', '富源县'), ('530326', '会泽县'), ('530381', '宣威市'), ('530400', '玉溪市'), ('530402', '红塔区'), ('530403', '江川区'), ('530422', '澄江县'), ('530423', '通海县'), ('530424', '华宁县'), ('530425', '易门县'), ('530426', '峨山彝族自治县'), ('530427', '新平彝族傣族自治县'), ('530428', '元江哈尼族彝族傣族自治县'), ('530500', '保山市'), ('530502', '隆阳区'), ('530521', '施甸县'), ('530523', '龙陵县'), ('530524', '昌宁县'), ('530581', '腾冲市'), ('530600', '昭通市'), ('530602', '昭阳区'), ('530621', '鲁甸县'), ('530622', '巧家县'), ('530623', '盐津县'), ('530624', '大关县'), ('530625', '永善县'), ('530626', '绥江县'), ('530627', '镇雄县'), ('530628', '彝良县'), ('530629', '威信县'), ('530630', '水富县'), ('530700', '丽江市'), ('530702', '古城区'), ('530721', '玉龙纳西族自治县'), ('530722', '永胜县'), ('530723', '华坪县'), ('530724', '宁蒗彝族自治县'), ('530800', '普洱市'), ('530802', '思茅区'), ('530821', '宁洱哈尼族彝族自治县'), ('530822', '墨江哈尼族自治县'), ('530823', '景东彝族自治县'), ('530824', '景谷傣族彝族自治县'), ('530825', '镇沅彝族哈尼族拉祜族自治县'), ('530826', '江城哈尼族彝族自治县'), ('530827', '孟连傣族拉祜族佤族自治县'), ('530828', '澜沧拉祜族自治县'), ('530829', '西盟佤族自治县'), ('530900', '临沧市'), ('530902', '临翔区'), ('530921', '凤庆县'), ('530922', '云县'), ('530923', '永德县'), ('530924', '镇康县'), ('530925', '双江拉祜族佤族布朗族傣族自治县'), ('530926', '耿马傣族佤族自治县'), ('530927', '沧源佤族自治县'), ('532300', '楚雄彝族自治州'), ('532301', '楚雄市'), ('532322', '双柏县'), ('532323', '牟定县'), ('532324', '南华县'), ('532325', '姚安县'), ('532326', '大姚县'), ('532327', '永仁县'), ('532328', '元谋县'), ('532329', '武定县'), ('532331', '禄丰县'), ('532500', '红河哈尼族彝族自治州'), ('532501', '个旧市'), ('532502', '开远市'), ('532503', '蒙自市'), ('532504', '弥勒市'), ('532523', '屏边苗族自治县'), ('532524', '建水县'), ('532525', '石屏县'), ('532527', '泸西县'), ('532528', '元阳县'), ('532529', '红河县'), ('532530', '金平苗族瑶族傣族自治县'), ('532531', '绿春县'), ('532532', '河口瑶族自治县'), ('532600', '文山壮族苗族自治州'), ('532601', '文山市'), ('532622', '砚山县'), ('532623', '西畴县'), ('532624', '麻栗坡县'), ('532625', '马关县'), ('532626', '丘北县'), ('532627', '广南县'), ('532628', '富宁县'), ('532800', '西双版纳傣族自治州'), ('532801', '景洪市'), ('532822', '勐海县'), ('532823', '勐腊县'), ('532900', '大理白族自治州'), ('532901', '大理市'), ('532922', '漾濞彝族自治县'), ('532923', '祥云县'), ('532924', '宾川县'), ('532925', '弥渡县'), ('532926', '南涧彝族自治县'), ('532927', '巍山彝族回族自治县'), ('532928', '永平县'), ('532929', '云龙县'), ('532930', '洱源县'), ('532931', '剑川县'), ('532932', '鹤庆县'), ('533100', '德宏傣族景颇族自治州'), ('533102', '瑞丽市'), ('533103', '芒市'), ('533122', '梁河县'), ('533123', '盈江县'), ('533124', '陇川县'), ('533300', '怒江傈僳族自治州'), ('533301', '泸水市'), ('533323', '福贡县'), ('533324', '贡山独龙族怒族自治县'), ('533325', '兰坪白族普米族自治县'), ('533400', '迪庆藏族自治州'), ('533401', '香格里拉市'), ('533422', '德钦县'), ('533423', '维西傈僳族自治县'), ('540000', '西藏自治区'), ('540100', '拉萨市'), ('540102', '城关区'), ('540103', '堆龙德庆区'), ('540104', '达孜区'), ('540121', '林周县'), ('540122', '当雄县'), ('540123', '尼木县'), ('540124', '曲水县'), ('540127', '墨竹工卡县'), ('540200', '日喀则市'), ('540202', '桑珠孜区'), ('540221', '南木林县'), ('540222', '江孜县'), ('540223', '定日县'), ('540224', '萨迦县'), ('540225', '拉孜县'), ('540226', '昂仁县'), ('540227', '谢通门县'), ('540228', '白朗县'), ('540229', '仁布县'), ('540230', '康马县'), ('540231', '定结县'), ('540232', '仲巴县'), ('540233', '亚东县'), ('540234', '吉隆县'), ('540235', '聂拉木县'), ('540236', '萨嘎县'), ('540237', '岗巴县'), ('540300', '昌都市'), ('540302', '卡若区'), ('540321', '江达县'), ('540322', '贡觉县'), ('540323', '类乌齐县'), ('540324', '丁青县'), ('540325', '察雅县'), ('540326', '八宿县'), ('540327', '左贡县'), ('540328', '芒康县'), ('540329', '洛隆县'), ('540330', '边坝县'), ('540400', '林芝市'), ('540402', '巴宜区'), ('540421', '工布江达县'), ('540422', '米林县'), ('540423', '墨脱县'), ('540424', '波密县'), ('540425', '察隅县'), ('540426', '朗县'), ('540500', '山南市'), ('540502', '乃东区'), ('540521', '扎囊县'), ('540522', '贡嘎县'), ('540523', '桑日县'), ('540524', '琼结县'), ('540525', '曲松县'), ('540526', '措美县'), ('540527', '洛扎县'), ('540528', '加查县'), ('540529', '隆子县'), ('540530', '错那县'), ('540531', '浪卡子县'), ('540600', '那曲市'), ('540602', '色尼区'), ('540621', '嘉黎县 '), ('540622', '比如县 '), ('540623', '聂荣县 '), ('540624', '安多县 '), ('540625', '申扎县 '), ('540626', '索县 '), ('540627', '班戈县 '), ('540628', '巴青县 '), ('540629', '尼玛县 '), ('540630', '双湖县 '), ('542500', '阿里地区'), ('542521', '普兰县'), ('542522', '札达县'), ('542523', '噶尔县'), ('542524', '日土县'), ('542525', '革吉县'), ('542526', '改则县'), ('542527', '措勤县'), ('610000', '陕西省'), ('610100', '西安市'), ('610102', '新城区'), ('610103', '碑林区'), ('610104', '莲湖区'), ('610111', '灞桥区'), ('610112', '未央区'), ('610113', '雁塔区'), ('610114', '阎良区'), ('610115', '临潼区'), ('610116', '长安区'), ('610117', '高陵区'), ('610118', '鄠邑区'), ('610122', '蓝田县'), ('610124', '周至县'), ('610200', '铜川市'), ('610202', '王益区'), ('610203', '印台区'), ('610204', '耀州区'), ('610222', '宜君县'), ('610300', '宝鸡市'), ('610302', '渭滨区'), ('610303', '金台区'), ('610304', '陈仓区'), ('610322', '凤翔县'), ('610323', '岐山县'), ('610324', '扶风县'), ('610326', '眉县'), ('610327', '陇县'), ('610328', '千阳县'), ('610329', '麟游县'), ('610330', '凤县'), ('610331', '太白县'), ('610400', '咸阳市'), ('610402', '秦都区'), ('610403', '杨陵区'), ('610404', '渭城区'), ('610422', '三原县'), ('610423', '泾阳县'), ('610424', '乾县'), ('610425', '礼泉县'), ('610426', '永寿县'), ('610427', '彬县'), ('610428', '长武县'), ('610429', '旬邑县'), ('610430', '淳化县'), ('610431', '武功县'), ('610481', '兴平市'), ('610500', '渭南市'), ('610502', '临渭区'), ('610503', '华州区'), ('610522', '潼关县'), ('610523', '大荔县'), ('610524', '合阳县'), ('610525', '澄城县'), ('610526', '蒲城县'), ('610527', '白水县'), ('610528', '富平县'), ('610581', '韩城市'), ('610582', '华阴市'), ('610600', '延安市'), ('610602', '宝塔区'), ('610603', '安塞区'), ('610621', '延长县'), ('610622', '延川县'), ('610623', '子长县'), ('610625', '志丹县'), ('610626', '吴起县'), ('610627', '甘泉县'), ('610628', '富县'), ('610629', '洛川县'), ('610630', '宜川县'), ('610631', '黄龙县'), ('610632', '黄陵县'), ('610700', '汉中市'), ('610702', '汉台区'), ('610703', '南郑区'), ('610722', '城固县'), ('610723', '洋县'), ('610724', '西乡县'), ('610725', '勉县'), ('610726', '宁强县'), ('610727', '略阳县'), ('610728', '镇巴县'), ('610729', '留坝县'), ('610730', '佛坪县'), ('610800', '榆林市'), ('610802', '榆阳区'), ('610803', '横山区'), ('610822', '府谷县'), ('610824', '靖边县'), ('610825', '定边县'), ('610826', '绥德县'), ('610827', '米脂县'), ('610828', '佳县'), ('610829', '吴堡县'), ('610830', '清涧县'), ('610831', '子洲县'), ('610881', '神木市'), ('610900', '安康市'), ('610902', '汉滨区'), ('610921', '汉阴县'), ('610922', '石泉县'), ('610923', '宁陕县'), ('610924', '紫阳县'), ('610925', '岚皋县'), ('610926', '平利县'), ('610927', '镇坪县'), ('610928', '旬阳县'), ('610929', '白河县'), ('611000', '商洛市'), ('611002', '商州区'), ('611021', '洛南县'), ('611022', '丹凤县'), ('611023', '商南县'), ('611024', '山阳县'), ('611025', '镇安县'), ('611026', '柞水县'), ('620000', '甘肃省'), ('620100', '兰州市'), ('620102', '城关区'), ('620103', '七里河区'), ('620104', '西固区'), ('620105', '安宁区'), ('620111', '红古区'), ('620121', '永登县'), ('620122', '皋兰县'), ('620123', '榆中县'), ('620200', '嘉峪关市'), ('620300', '金昌市'), ('620302', '金川区'), ('620321', '永昌县'), ('620400', '白银市'), ('620402', '白银区'), ('620403', '平川区'), ('620421', '靖远县'), ('620422', '会宁县'), ('620423', '景泰县'), ('620500', '天水市'), ('620502', '秦州区'), ('620503', '麦积区'), ('620521', '清水县'), ('620522', '秦安县'), ('620523', '甘谷县'), ('620524', '武山县'), ('620525', '张家川回族自治县'), ('620600', '武威市'), ('620602', '凉州区'), ('620621', '民勤县'), ('620622', '古浪县'), ('620623', '天祝藏族自治县'), ('620700', '张掖市'), ('620702', '甘州区'), ('620721', '肃南裕固族自治县'), ('620722', '民乐县'), ('620723', '临泽县'), ('620724', '高台县'), ('620725', '山丹县'), ('620800', '平凉市'), ('620802', '崆峒区'), ('620821', '泾川县'), ('620822', '灵台县'), ('620823', '崇信县'), ('620824', '华亭县'), ('620825', '庄浪县'), ('620826', '静宁县'), ('620900', '酒泉市'), ('620902', '肃州区'), ('620921', '金塔县'), ('620922', '瓜州县'), ('620923', '肃北蒙古族自治县'), ('620924', '阿克塞哈萨克族自治县'), ('620981', '玉门市'), ('620982', '敦煌市'), ('621000', '庆阳市'), ('621002', '西峰区'), ('621021', '庆城县'), ('621022', '环县'), ('621023', '华池县'), ('621024', '合水县'), ('621025', '正宁县'), ('621026', '宁县'), ('621027', '镇原县'), ('621100', '定西市'), ('621102', '安定区'), ('621121', '通渭县'), ('621122', '陇西县'), ('621123', '渭源县'), ('621124', '临洮县'), ('621125', '漳县'), ('621126', '岷县'), ('621200', '陇南市'), ('621202', '武都区'), ('621221', '成县'), ('621222', '文县'), ('621223', '宕昌县'), ('621224', '康县'), ('621225', '西和县'), ('621226', '礼县'), ('621227', '徽县'), ('621228', '两当县'), ('622900', '临夏回族自治州'), ('622901', '临夏市'), ('622921', '临夏县'), ('622922', '康乐县'), ('622923', '永靖县'), ('622924', '广河县'), ('622925', '和政县'), ('622926', '东乡族自治县'), ('622927', '积石山保安族东乡族撒拉族自治县'), ('623000', '甘南藏族自治州'), ('623001', '合作市'), ('623021', '临潭县'), ('623022', '卓尼县'), ('623023', '舟曲县'), ('623024', '迭部县'), ('623025', '玛曲县'), ('623026', '碌曲县'), ('623027', '夏河县'), ('630000', '青海省'), ('630100', '西宁市'), ('630102', '城东区'), ('630103', '城中区'), ('630104', '城西区'), ('630105', '城北区'), ('630121', '大通回族土族自治县'), ('630122', '湟中县'), ('630123', '湟源县'), ('630200', '海东市'), ('630202', '乐都区'), ('630203', '平安区'), ('630222', '民和回族土族自治县'), ('630223', '互助土族自治县'), ('630224', '化隆回族自治县'), ('630225', '循化撒拉族自治县'), ('632200', '海北藏族自治州'), ('632221', '门源回族自治县'), ('632222', '祁连县'), ('632223', '海晏县'), ('632224', '刚察县'), ('632300', '黄南藏族自治州'), ('632321', '同仁县'), ('632322', '尖扎县'), ('632323', '泽库县'), ('632324', '河南蒙古族自治县'), ('632500', '海南藏族自治州'), ('632521', '共和县'), ('632522', '同德县'), ('632523', '贵德县'), ('632524', '兴海县'), ('632525', '贵南县'), ('632600', '果洛藏族自治州'), ('632621', '玛沁县'), ('632622', '班玛县'), ('632623', '甘德县'), ('632624', '达日县'), ('632625', '久治县'), ('632626', '玛多县'), ('632700', '玉树藏族自治州'), ('632701', '玉树市'), ('632722', '杂多县'), ('632723', '称多县'), ('632724', '治多县'), ('632725', '囊谦县'), ('632726', '曲麻莱县'), ('632800', '海西蒙古族藏族自治州'), ('632801', '格尔木市'), ('632802', '德令哈市'), ('632821', '乌兰县'), ('632822', '都兰县'), ('632823', '天峻县'), ('640000', '宁夏回族自治区'), ('640100', '银川市'), ('640104', '兴庆区'), ('640105', '西夏区'), ('640106', '金凤区'), ('640121', '永宁县'), ('640122', '贺兰县'), ('640181', '灵武市'), ('640200', '石嘴山市'), ('640202', '大武口区'), ('640205', '惠农区'), ('640221', '平罗县'), ('640300', '吴忠市'), ('640302', '利通区'), ('640303', '红寺堡区'), ('640323', '盐池县'), ('640324', '同心县'), ('640381', '青铜峡市'), ('640400', '固原市'), ('640402', '原州区'), ('640422', '西吉县'), ('640423', '隆德县'), ('640424', '泾源县'), ('640425', '彭阳县'), ('640500', '中卫市'), ('640502', '沙坡头区'), ('640521', '中宁县'), ('640522', '海原县'), ('650000', '新疆维吾尔自治区'), ('650100', '乌鲁木齐市'), ('650102', '天山区'), ('650103', '沙依巴克区'), ('650104', '新市区'), ('650105', '水磨沟区'), ('650106', '头屯河区'), ('650107', '达坂城区'), ('650109', '米东区'), ('650121', '乌鲁木齐县'), ('650200', '克拉玛依市'), ('650202', '独山子区'), ('650203', '克拉玛依区'), ('650204', '白碱滩区'), ('650205', '乌尔禾区'), ('650400', '吐鲁番市'), ('650402', '高昌区'), ('650421', '鄯善县'), ('650422', '托克逊县'), ('650500', '哈密市'), ('650502', '伊州区'), ('650521', '巴里坤哈萨克自治县'), ('650522', '伊吾县'), ('652300', '昌吉回族自治州'), ('652301', '昌吉市'), ('652302', '阜康市'), ('652323', '呼图壁县'), ('652324', '玛纳斯县'), ('652325', '奇台县'), ('652327', '吉木萨尔县'), ('652328', '木垒哈萨克自治县'), ('652700', '博尔塔拉蒙古自治州'), ('652701', '博乐市'), ('652702', '阿拉山口市'), ('652722', '精河县'), ('652723', '温泉县'), ('652800', '巴音郭楞蒙古自治州'), ('652801', '库尔勒市'), ('652822', '轮台县'), ('652823', '尉犁县'), ('652824', '若羌县'), ('652825', '且末县'), ('652826', '焉耆回族自治县'), ('652827', '和静县'), ('652828', '和硕县'), ('652829', '博湖县'), ('652900', '阿克苏地区'), ('652901', '阿克苏市'), ('652922', '温宿县'), ('652923', '库车县'), ('652924', '沙雅县'), ('652925', '新和县'), ('652926', '拜城县'), ('652927', '乌什县'), ('652928', '阿瓦提县'), ('652929', '柯坪县'), ('653000', '克孜勒苏柯尔克孜自治州'), ('653001', '阿图什市'), ('653022', '阿克陶县'), ('653023', '阿合奇县'), ('653024', '乌恰县'), ('653100', '喀什地区'), ('653101', '喀什市'), ('653121', '疏附县'), ('653122', '疏勒县'), ('653123', '英吉沙县'), ('653124', '泽普县'), ('653125', '莎车县'), ('653126', '叶城县'), ('653127', '麦盖提县'), ('653128', '岳普湖县'), ('653129', '伽师县'), ('653130', '巴楚县'), ('653131', '塔什库尔干塔吉克自治县'), ('653200', '和田地区'), ('653201', '和田市'), ('653221', '和田县'), ('653222', '墨玉县'), ('653223', '皮山县'), ('653224', '洛浦县'), ('653225', '策勒县'), ('653226', '于田县'), ('653227', '民丰县'), ('654000', '伊犁哈萨克自治州'), ('654002', '伊宁市'), ('654003', '奎屯市'), ('654004', '霍尔果斯市'), ('654021', '伊宁县'), ('654022', '察布查尔锡伯自治县'), ('654023', '霍城县'), ('654024', '巩留县'), ('654025', '新源县'), ('654026', '昭苏县'), ('654027', '特克斯县'), ('654028', '尼勒克县'), ('654200', '塔城地区'), ('654201', '塔城市'), ('654202', '乌苏市'), ('654221', '额敏县'), ('654223', '沙湾县'), ('654224', '托里县'), ('654225', '裕民县'), ('654226', '和布克赛尔蒙古自治县'), ('654300', '阿勒泰地区'), ('654301', '阿勒泰市'), ('654321', '布尔津县'), ('654322', '富蕴县'), ('654323', '福海县'), ('654324', '哈巴河县'), ('654325', '青河县'), ('654326', '吉木乃县'), ('659001', '石河子市'), ('659002', '阿拉尔市'), ('659003', '图木舒克市'), ('659004', '五家渠市'), ('659005', '北屯市'), ('659006', '铁门关市'), ('659007', '双河市'), ('659008', '可克达拉市'), ('659009', '昆玉市'), ('710000', '台湾省'), ('810000', '香港特别行政区'), ('820000', '澳门特别行政区'); -- 业务系统信息数据 DELETE FROM `sys_t_system_info`; INSERT INTO `sys_t_system_info` (`SYSTEM_ID`, `SYSTEM_CODE`, `SYSTEM_NAME`, `IS_AVAILABLE`) VALUES ('1', CONCAT(@systemKey, '-master'), '后台管理系统', 'Y') ,('2', CONCAT(@systemKey, '-gateway'), '移动端接入网关', 'Y'); -- 后台用户信息(超级管理员为固化用户,只可以修改密码,用户系统错误配置恢复,默认密码123456) DELETE FROM `sys_t_user_info`; INSERT INTO `sys_t_user_info` (`USER_ID`, `LOGIN_NAME`, `USER_NAME`, `PASSWORD`, `EFCT_YMD`, `EXPR_YMD`, `INS_TSTMP`, `ORIGIN_OS_ID`, `IS_ENABLE`, `IS_DELETE`, `CREATE_PERSON`, `UPDATE_PERSON`) VALUES ('1', 'super', '超级管理员', 'neyD8eWJSbO0e6vw47HfWg==', '2018-01-01', '2049-12-31', '2018-01-01 00:00:00', '1', 'Y', 'N', 'init', 'init') ,('2', 'system', '系统管理员', 'neyD8eWJSbO0e6vw47HfWg==', '2018-01-01', '2049-12-31', '2018-01-01 00:00:00', '1', 'Y', 'N', 'init', 'init'); -- 角色信息 DELETE FROM `sys_t_role_info`; INSERT INTO `sys_t_role_info` (`ROLE_ID`, `ROLE_NAME`, `ROLE_CODE`, `IS_AVAILABLE`, `SYSTEM_ID`) VALUES ('1', '超级管理员', 'SUPER', 'Y', '1') ,('2', '系统管理员', 'SYSTEM', 'Y', '1'); -- 用户关联角色 DELETE FROM `sys_t_user_r_role`; INSERT INTO `sys_t_user_r_role` (`USER_ID`, `ROLE_ID`) VALUES ('1', '1') ,('2', '2'); -- 菜单信息 DELETE FROM `sys_t_menu_info`; INSERT INTO `sys_t_menu_info` (`MENU_ID`, `MENU_PID`, `MENU_NAME`, `MENU_ACTION_KEY`, `MENU_CODE`, `IS_AVAILABLE`, `IS_LEAF`, `SYSTEM_ID`, `SORT`) VALUES ('1000', '0', '系统管理', '/system', 'system', '1', '0', '1', '1000') , ('1001', '1000', '用户管理', '/system/user', 'user', '1', '1', '1', '1001') , ('1002', '1000', '角色管理', '/system/role', 'role', '1', '1', '1', '1002') , ('1003', '1000', '字典管理', '/system/code', 'code', '1', '1', '1', '1003') , ('1004', '1000', '操作日志', '/system/optrecord', 'optrecord', '1', '1', '1', '1004') , ('1005', '1000', '意见反馈', '/system/feedback', 'feedback', '1', '1', '1', '1005'); -- 菜单按钮信息 DELETE FROM `sys_t_function_info`; -- INSERT INTO `sys_t_function_info` (`FUNCTION_ID`, `FUNCTION_NAME`, `FUNCTION_CODE`, `MENU_ID`, `IS_AVAILABLE`) VALUES -- ('1', '新 增', 'add', '14', '1') -- ,('2', '修 改', 'edit', '14', '1'); -- 角色关联菜单信息(系统管理员) DELETE FROM `sys_t_role_r_menu`; INSERT INTO `sys_t_role_r_menu` (`ROLE_ID`, `MENU_ID`) VALUES ('1', '1000') , ('1', '1001') , ('1', '1002') , ('1', '1004') , ('2', '1000') , ('2', '1001') , ('2', '1002') , ('2', '1003') , ('2', '1004') , ('2', '1005'); -- 角色关联功能按钮信息 DELETE FROM `sys_t_role_r_function`; -- INSERT INTO `sys_t_role_r_function` (`ROLE_ID`, `FUNCTION_ID`) VALUES -- ('1', '1') -- ,('3', '20');
/** Functions for managing table partitions */ /** Adds for each key returned by key_query a native (Postgresql 10) partition to table_name */ CREATE OR REPLACE FUNCTION util.create_table_partitions(schemaname TEXT, tablename TEXT, key_query TEXT) RETURNS VOID AS $$ DECLARE key INTEGER; keys INTEGER []; BEGIN EXECUTE 'SELECT array(' || key_query || ')' INTO keys; FOREACH key IN ARRAY keys LOOP IF NOT EXISTS(SELECT 1 FROM information_schema.tables t WHERE t.table_schema = schemaname AND t.table_name = tablename || '_' || key) THEN EXECUTE 'CREATE TABLE ' || schemaname || '.' || tablename || '_' || key || ' PARTITION OF ' || schemaname || '.' || tablename || ' FOR VALUES IN ( ' || key :: INTEGER || ');'; END IF; END LOOP; END $$ LANGUAGE plpgsql; /** Adds evenly-distributed table partitions by hash (introduced in Postgres 11) to a given table_name and schema_name */ CREATE OR REPLACE FUNCTION util.create_table_hash_partitions(schema_name TEXT, table_name TEXT, partitions INT) RETURNS VOID AS $$ DECLARE i INT; target INT; BEGIN target := partitions - 1; FOR i IN 0..target LOOP EXECUTE ' CREATE TABLE ' || schema_name || '.' || table_name || '_' || i || ' PARTITION OF ' || schema_name || '.' || table_name || ' FOR VALUES WITH (MODULUS ' || partitions || ', REMAINDER ' || i || ')'; END LOOP; END ; $$ LANGUAGE plpgsql;
------------------------------------------------------------------------------- -- <copyright company="Sherlock"> -- Copyright 2013 Sherlock. Licensed under the Apache License, Version 2.0. -- </copyright> ------------------------------------------------------------------------------- CREATE PROCEDURE [Tests].[AddMsiInstallTestStep] @testEnvironmentId INT, @order INT, @onFailure NVARCHAR(50), @reportIncludesSystemLog BIT AS BEGIN TRANSACTION INSERT INTO [Tests].[TestStep] ( [fk_TestEnvironmentId], [Order], [OnFailure], [ReportIncludesSystemLog] ) VALUES ( @testEnvironmentId, @order, @onFailure, @reportIncludesSystemLog ) DECLARE @id INT SELECT @id = [pk_TestStepId] FROM [Tests].[TestStep] WHERE [pk_TestStepId] = SCOPE_IDENTITY() INSERT INTO [Tests].[MsiInstallTestStep] ( [pk_MsiInstallTestStepId] ) VALUES ( @id ) IF @@ERROR <> 0 BEGIN ROLLBACK RAISERROR ( 'Failed to insert test step with ID %d.', 11, 1, @id ) RETURN END COMMIT SELECT @id as Id
--выбор значений, заданных атрибутов из более, чем двух таблиц, с сортировкой – от 1 балла; SELECT animals.id, sex, type, healing.id, date FROM lr3.animals, lr3.healing WHERE animals.id = '1' GROUP BY animals.id, healing.id; --использование условий WHERE, состоящих из более, чем одного условия – от 1 балла; SELECT * FROM lr3.animals WHERE id > 1 and type = 'Reptile'; SELECT * FROM lr3.healing WHERE doctor_id < 2 and animals_id != 2; --использование функций для работы с датами – от 2 баллов; INSERT INTO lr3.healing VALUES (2, current_date, 1, 1); --использование строковых функций – от 2 баллов; INSERT INTO lr3.doctor VALUES (2, '1970-01-01', UPPER('jim'), '88005553535'); INSERT INTO lr3.overseer VALUES (2, '1970-01-01', LOWER('BOB'), '88005553535'); --запрос с использованием подзапросов – от 2 баллов (многострочный подзапрос - от 2 баллов); SELECT id, type FROM lr3.animals WHERE sex = 'M' and NOT EXISTS (SELECT id FROM lr3.healing WHERE id = animals.id); --вычисление групповой (агрегатной) функции – от 1 балла (с несколькими таблицами – от 2 баллов); SELECT count(*) FROM lr3.animals; --вычисление групповой (агрегатной) функции с условием HAVING – от 2 баллов; SELECT sex, type, count(*) FROM lr3.animals GROUP BY sex,type HAVING sex = 'M'; --использование предикатов EXISTS, ALL, SOME и ANY - от 2 баллов; SELECT id, type FROM lr3.animals WHERE sex = 'M' and NOT EXISTS (SELECT id FROM lr3.healing WHERE id = animals.id); --использование запросов с операциями реляционной алгебры (объединение, пересечение и т.д.) - от 2 баллов; SELECT id, name FROM lr3.doctor UNION SELECT id,name FROM lr3.overseer; --использование объединений запросов (inner join и т.д.) - от 2 баллов. SELECT healing.date, sex, type FROM lr3.animals JOIN lr3.healing ON animals.id = healing.animals_id;
ALTER TABLE PUB_MSG_VER_CODE_TEMPLATE ADD UNIQUE (VER_CODE, TEMPLATE_CODE, CHANNEL_CODE, APP_CODE); ALTER TABLE PUB_MSG_VER_CODE_TEMPLATE ADD CHECK (ID IS NOT NULL); ALTER TABLE PUB_MSG_VER_CODE_TEMPLATE ADD CHECK (VER_CODE IS NOT NULL); ALTER TABLE PUB_MSG_VER_CODE_TEMPLATE ADD CHECK (TEMPLATE_CODE IS NOT NULL); ALTER TABLE PUB_MSG_VER_CODE_TEMPLATE ADD CHECK (CHANNEL_CODE IS NOT NULL); ALTER TABLE PUB_MSG_VER_CODE_TEMPLATE ADD CHECK (APP_CODE IS NOT NULL); ALTER TABLE PUB_MSG_VER_CODE_TEMPLATE ADD CHECK (CREATE_TIME IS NOT NULL); ALTER TABLE PUB_MSG_VER_CODE_TEMPLATE ADD CHECK (CREATE_BY IS NOT NULL); ALTER TABLE PUB_MSG_VER_CODE_TEMPLATE ADD PRIMARY KEY (ID);
-- @testpoint:openGauss关键字reindex(非保留),同时作为表名和列名带引号,并进行dml操作,reindex列的值最终显示为1000 drop table if exists "reindex"; create table "reindex"( c_id int, c_int int, c_integer integer, c_bool int, c_boolean int, c_bigint integer, c_real real, c_double real, c_decimal decimal(38), c_number number(38), c_numeric numeric(38), c_char char(50) default null, c_varchar varchar(20), c_varchar2 varchar2(4000), c_date date, c_datetime date, c_timestamp timestamp, "reindex" varchar(100) default 'reindex' ) PARTITION BY RANGE (c_integer) ( partition P_20180121 values less than (0), partition P_20190122 values less than (50000), partition P_20200123 values less than (100000), partition P_max values less than (maxvalue) ); insert into "reindex"(c_id,"reindex") values(1,'hello'); insert into "reindex"(c_id,"reindex") values(2,'china'); update "reindex" set "reindex"=1000 where "reindex"='hello'; delete from "reindex" where "reindex"='china'; select "reindex" from "reindex" where "reindex"!='hello' order by "reindex"; drop table "reindex";
CREATE INDEX idx_users_email ON vetd.users (email)
-- @testpoint:openGauss关键字Listen(非保留),作为列名带双引号,使用时不带,插入成功 drop table if exists explain_test; create table explain_test( c_id int, c_int int, c_integer integer, c_bool int, c_boolean int, c_bigint integer, c_real real, c_double real, c_decimal decimal(38), c_number number(38), c_numeric numeric(38), c_char char(50) default null, c_varchar varchar(20), c_varchar2 varchar2(4000), c_date date, c_datetime date, c_timestamp timestamp, "listen" char(50) ) PARTITION BY RANGE (c_integer) ( partition P_20180121 values less than (0), partition P_20190122 values less than (50000), partition P_20200123 values less than (100000), partition P_max values less than (maxvalue) ); insert into explain_test(c_id,listen) values(2,'china'); select * from explain_test; drop table explain_test;
-- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file -- distributed with this work for additional information -- regarding copyright ownership. The ASF licenses this file -- to you under the Apache License, Version 2.0 (the -- "License"); you may not use this file except in compliance -- with the License. You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. -- select lstg_format_name, sum(price) as GMV from KYLIN_SALES group by lstg_format_name, SLR_SEGMENT_CD having SLR_SEGMENT_CD > 0
SET NOCOUNT ON; GO USE master; GO -- ----------------------------------------------------- -- IF EXISTS, DROP: quickstart -- ----------------------------------------------------- IF EXISTS (SELECT name FROM sys.databases WHERE name = N'quickstart') BEGIN DROP DATABASE quickstart; END GO -- ----------------------------------------------------- -- DATABASE: quickstart -- ----------------------------------------------------- CREATE DATABASE quickstart ON ( NAME = quickstart_data, FILENAME = '/var/opt/mssql/data/quickstart_data.mdf', SIZE = 8MB, MAXSIZE = UNLIMITED, FILEGROWTH = 64MB ) LOG ON ( NAME = quickstart_log, FILENAME = '/var/opt/mssql/data/quickstart_log.ldf', SIZE = 8MB, MAXSIZE = 128MB, FILEGROWTH = 64MB ) COLLATE LATIN1_GENERAL_100_CI_AS_SC; -- OR Latin1_General_CI_AS GO -- Add a database to the availability group. -- Ensure that the database you add to the availability group is in -- full recovery mode and has a valid log backup. If this is a test -- database or a newly created database, take a database backup. -- On the primary SQL Server, run the following Transact-SQL script -- to create and back up a database called quickstart: ALTER DATABASE [quickstart] SET RECOVERY FULL; BACKUP DATABASE [quickstart] TO DISK = N'/var/opt/mssql/data/quickstart.bak'; GO -- On the primary SQL Server replica, run the following Transact-SQL -- script to add a database called quickstart to an availability group -- called ag1: ALTER AVAILABILITY GROUP [ag1] ADD DATABASE [quickstart]; GO USE quickstart; GO -- ----------------------------------------------------- -- SCHEMA: domain -- ----------------------------------------------------- CREATE SCHEMA domain; GO -- ----------------------------------------------------- -- TABLE: Accounts -- ----------------------------------------------------- CREATE TABLE domain.Accounts ( [id] int IDENTITY(1,1) NOT NULL PRIMARY KEY, [name] nvarchar(66) NOT NULL, [email] nvarchar(66) NOT NULL, [emailRecovery] nvarchar(66) NOT NULL, [password] nvarchar(80) NOT NULL, [active] bit NOT NULL, [registered] datetime NOT NULL, [logged] bit NOT NULL, [photo] varbinary(max) NULL ) GO CREATE UNIQUE INDEX email_unique ON domain.Accounts (email ASC); GO
IF EXISTS(SELECT * FROM dbo.sysobjects WHERE id = OBJECT_ID(N'[dbo].[spUserRoles_add]') AND OBJECTPROPERTY(id, N'IsProcedure') = 1) DROP PROCEDURE [dbo].[spUserRoles_add]; GO SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE PROCEDURE dbo.spUserRoles_add @UserId int, @RoleName nvarchar(255) AS BEGIN SET NOCOUNT ON; SET XACT_ABORT ON; DECLARE @RoleId nvarchar(128); SELECT @RoleId = r.Id FROM dbo.AspNetRoles r WHERE r.Name = @RoleName; IF @RoleId IS NOT NULL BEGIN IF NOT EXISTS ( SELECT TOP 1 1 FROM dbo.AspNetUserRoles r WHERE r.UserId = @UserId AND r.RoleId = @RoleId ) BEGIN INSERT INTO dbo.AspNetUserRoles (UserId, RoleId) VALUES (@UserId, @RoleId); END END END GO
prompt --application/shared_components/user_interface/templates/label/optional begin -- Manifest -- LABEL TEMPLATE: OPTIONAL -- Manifest End wwv_flow_api.component_begin ( p_version_yyyy_mm_dd=>'2020.03.31' ,p_release=>'20.1.0.00.13' ,p_default_workspace_id=>1300871798938927 ,p_default_application_id=>101 ,p_default_id_offset=>0 ,p_default_owner=>'FLOWSDEV' ); wwv_flow_api.create_field_template( p_id=>wwv_flow_api.id(11018194294621143) ,p_template_name=>'Optional' ,p_internal_name=>'OPTIONAL' ,p_template_body1=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-Form-labelContainer col col-#LABEL_COLUMN_SPAN_NUMBER#">', '<label for="#CURRENT_ITEM_NAME#" id="#LABEL_ID#" class="t-Form-label">')) ,p_template_body2=>wwv_flow_string.join(wwv_flow_t_varchar2( '</label>', '</div>', '')) ,p_before_item=>'<div class="t-Form-fieldContainer rel-col #ITEM_CSS_CLASSES#" id="#CURRENT_ITEM_CONTAINER_ID#">' ,p_after_item=>'</div>' ,p_item_pre_text=>'<span class="t-Form-itemText t-Form-itemText--pre">#CURRENT_ITEM_PRE_TEXT#</span>' ,p_item_post_text=>'<span class="t-Form-itemText t-Form-itemText--post">#CURRENT_ITEM_POST_TEXT#</span>' ,p_before_element=>'<div class="t-Form-inputContainer col col-#ITEM_COLUMN_SPAN_NUMBER#"><div class="t-Form-itemWrapper">#ITEM_PRE_TEXT#' ,p_after_element=>'#ITEM_POST_TEXT##HELP_TEMPLATE#</div>#INLINE_HELP_TEMPLATE##ERROR_TEMPLATE#</div>' ,p_help_link=>'<button class="t-Form-helpButton js-itemHelp" data-itemhelp="#CURRENT_ITEM_ID#" title="#CURRENT_ITEM_HELP_LABEL#" aria-label="#CURRENT_ITEM_HELP_LABEL#" tabindex="-1" type="button"><span class="a-Icon icon-help" aria-hidden="true"></span></button>' ,p_inline_help_text=>'<span class="t-Form-inlineHelp">#CURRENT_ITEM_INLINE_HELP_TEXT#</span>' ,p_error_template=>'<span class="t-Form-error">#ERROR_MESSAGE#</span>' ,p_theme_id=>42 ,p_theme_class_id=>3 ,p_reference_id=>2317154212072806530 ,p_translate_this_template=>'N' ); wwv_flow_api.component_end; end; /
CREATE TABLE IF NOT EXISTS "user" ( id SERIAL PRIMARY KEY NOT NULL, username CITEXT NOT NULL UNIQUE, email CITEXT NOT NULL UNIQUE, digest TEXT NOT NULL, failed_attempts INTEGER default 0, refresh_token TEXT, activated BOOLEAN DEFAULT false NOT NULL );
-- phpMyAdmin SQL Dump -- version 4.8.3 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Feb 26, 2019 at 09:43 AM -- Server version: 10.1.35-MariaDB -- PHP Version: 7.2.9 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `shootingdatabase` -- -- -------------------------------------------------------- -- -- Table structure for table `competitions` -- CREATE TABLE `competitions` ( `CompID` int(11) NOT NULL, `Name` text NOT NULL, `Type` set('S','F') NOT NULL DEFAULT 'S', `R1` date NOT NULL, `R2` date NOT NULL, `R3` date NOT NULL, `R4` date NOT NULL, `R5` date NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `competitions` -- INSERT INTO `competitions` (`CompID`, `Name`, `Type`, `R1`, `R2`, `R3`, `R4`, `R5`) VALUES (2, 'Comp 1', 'S', '2018-08-02', '2018-08-03', '2018-08-04', '2018-08-05', '2018-12-14'), (3, 'Comp 2', 'S', '2018-08-05', '2018-08-06', '2018-08-07', '2018-08-08', '2018-08-09'), (4, 'Comp 3', 'S', '2018-07-31', '2018-08-01', '2018-08-02', '2018-08-03', '2018-08-04'), (5, 'Test Competition', 'S', '2018-12-10', '2018-12-11', '2018-12-13', '2018-12-14', '2018-12-15'); -- -------------------------------------------------------- -- -- Table structure for table `credentials` -- CREATE TABLE `credentials` ( `identifier` int(11) NOT NULL, `PassHash` varchar(999) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `credentials` -- INSERT INTO `credentials` (`identifier`, `PassHash`) VALUES (1, '804f50ddbaab7f28c933a95c162d019acbf96afde56dba10e4c7dfcfe453dec4bacf5e78b1ddbdc1695a793bcb5d7d409425db4cc3370e71c4965e4ef992e8c4'); -- -------------------------------------------------------- -- -- Table structure for table `houses` -- CREATE TABLE `houses` ( `ID` int(11) NOT NULL, `HouseName` tinytext NOT NULL, `ShortHouse` tinytext NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `houses` -- INSERT INTO `houses` (`ID`, `HouseName`, `ShortHouse`) VALUES (3, 'Laxton', 'Lx'), (4, 'Bramston', 'B'), (5, 'Laundimer', 'Ldr'), (7, 'St Anthony', 'StA'), (8, 'Sidney', 'S'), (9, 'Crosby', 'C'), (10, 'Fisher', 'F'), (11, 'Grafton', 'G'), (12, 'Kirkeby', 'K'), (13, 'New House', 'N'), (14, 'Dryden', 'D'), (15, 'Sanderson', 'Sn'), (16, 'Wyatt', 'W'), (17, 'School House', 'Sc'); -- -------------------------------------------------------- -- -- Table structure for table `people` -- CREATE TABLE `people` ( `UserID` int(11) NOT NULL, `FirstName` mediumtext NOT NULL, `Surname` mediumtext NOT NULL, `House` set('Lx','B','Ldr','StA','S','C','F','G','K','N','D','Sn','W','Sc') NOT NULL, `Year` set('3','4','5','L6','U6') NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `people` -- INSERT INTO `people` (`UserID`, `FirstName`, `Surname`, `House`, `Year`) VALUES (1, 'Dominic', 'Martin', 'Lx', 'U6'), (2, 'Toby', 'Dixon Smith', 'G', 'U6'), (3, 'George', 'Godwin-Austen', 'Ldr', '4'), (4, 'Nathan', 'Chu', 'B', 'L6'), (5, 'Emma', 'Bruce Gardyne', 'N', 'U6'), (6, 'Harry', 'James', 'Lx', 'U6'), (7, 'Test', 'Person', 'Lx', 'U6'); -- -------------------------------------------------------- -- -- Table structure for table `scores` -- CREATE TABLE `scores` ( `ScoreID` int(11) NOT NULL, `UserID` int(11) NOT NULL, `CompID` int(11) NOT NULL, `Date` date NOT NULL, `Score` decimal(10,0) NOT NULL, `Type` set('S','F') NOT NULL, `Target` set('2','5','10','300','500','600') NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `scores` -- INSERT INTO `scores` (`ScoreID`, `UserID`, `CompID`, `Date`, `Score`, `Type`, `Target`) VALUES (2, 1, 0, '2018-07-26', '99', 'S', '5'), (3, 2, 0, '2018-07-26', '98', 'S', '5'), (4, 3, 0, '2018-07-26', '97', 'S', '5'), (5, 4, 0, '2018-07-26', '96', 'S', '5'), (6, 5, 0, '2018-07-26', '80', 'S', '5'), (7, 1, 1, '2018-08-19', '88', 'S', '5'), (8, 6, 0, '2018-10-29', '100', 'S', '10'), (9, 6, 0, '2018-10-29', '99', 'S', '10'), (10, 6, 0, '2018-10-29', '100', 'S', '10'), (11, 2, 0, '2018-11-03', '99', 'S', '10'), (12, 5, 0, '1970-01-01', '90', 'S', '5'), (13, 7, 0, '2018-12-13', '96', '', '5'); -- -------------------------------------------------------- -- -- Table structure for table `teams` -- CREATE TABLE `teams` ( `UserID` int(11) NOT NULL, `CompID` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Indexes for dumped tables -- -- -- Indexes for table `competitions` -- ALTER TABLE `competitions` ADD PRIMARY KEY (`CompID`); -- -- Indexes for table `houses` -- ALTER TABLE `houses` ADD PRIMARY KEY (`ID`); -- -- Indexes for table `people` -- ALTER TABLE `people` ADD PRIMARY KEY (`UserID`); -- -- Indexes for table `scores` -- ALTER TABLE `scores` ADD PRIMARY KEY (`ScoreID`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `competitions` -- ALTER TABLE `competitions` MODIFY `CompID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6; -- -- AUTO_INCREMENT for table `houses` -- ALTER TABLE `houses` MODIFY `ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=18; -- -- AUTO_INCREMENT for table `people` -- ALTER TABLE `people` MODIFY `UserID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8; -- -- AUTO_INCREMENT for table `scores` -- ALTER TABLE `scores` MODIFY `ScoreID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14; 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 reqper.usuarios ( usuario text primary key, activo boolean default false, clavemd5 text ); alter table reqper.usuarios owner to tallerabm_user; insert into reqper.usuarios(usuario, activo, clavemd5) values ('emilio', true, md5('prueba1'||'emilio')), ('estefania', true, md5('prueba1'||'estefania')), ('prueba', true, md5('prueba1'||'prueba')), ('sinclave', true, 'sarasasasasas'), ('inactivo', false, md5('prueba1'||'inactivo'));
CREATE TABLE `randwikirss` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `lang` char(3) NOT NULL DEFAULT '', `page_id` bigint(11) unsigned NOT NULL default '0', `title` varchar(255) NOT NULL DEFAULT '', `image` varchar(255) NOT NULL DEFAULT '', `link` text NOT NULL, `text` text NOT NULL, PRIMARY KEY (`id`), KEY (`lang`), KEY (`page_id`), KEY (`time`) );
-- @testpoint:openGauss保留关键字procedure作为视图名 --不带引号-合理报错 CREATE or replace VIEW procedure AS SELECT * FROM pg_tablespace WHERE spcname = 'pg_default'; --加双引号-创建成功 CREATE or replace VIEW "procedure" AS SELECT * FROM pg_tablespace WHERE spcname = 'pg_default'; --清理环境 drop VIEW "procedure"; --加单引号-合理报错 CREATE or replace VIEW 'procedure' AS SELECT * FROM pg_tablespace WHERE spcname = 'pg_default'; --加反引号-合理报错 CREATE or replace VIEW `procedure` AS SELECT * FROM pg_tablespace WHERE spcname = 'pg_default';
------------------------------------------------------------------------------- -- -- PLEASE NOTE -- -- No warranty, no liability, no support. -- -- This script is 100% at your own risk to use. -- ------------------------------------------------------------------------------- set autotrace off set verify off undefine x1 undefine y1 undefine x2 undefine y2 col y1 new_value x1 col y2 new_value x2 select substr(nvl(max(case when object_type = 'MATERIALIZED VIEW' then 'ZMATERIALIZED VIEW' else 'A'||object_type end),'atable'),2) y1, decode(nvl(max(case when object_type = 'MATERIALIZED VIEW' then 'ZMATERIALIZED VIEW' else 'A'||object_type end),'ATABLE'),'ATABLE','cascade constraints purge') y2 from user_objects where lower(object_name) = lower('&1') and object_type in ('VIEW','TABLE','FUNCTION','PROCEDURE','SEQUENCE','PACKAGE','MATERIALIZED VIEW','TYPE','INDEX'); drop &&x1 &1 &&x2; set verify on
-- ----------------------------------------------------- -- Table `dummy` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `dummy` ( `iddummy` INT(15) NOT NULL AUTO_INCREMENT, `test_string` VARCHAR(45) NOT NULL, `test_int` INT(15) NOT NULL, `test_float` FLOAT NOT NULL, `test_null` VARCHAR(45) NULL, `lastupdate` INT(15) NULL, `created` INT(15) NULL, `dummy4_iddummy4` INT(15) NULL, PRIMARY KEY (`iddummy`), INDEX `fk_dummy_dummy41_idx` (`dummy4_iddummy4` ASC), CONSTRAINT `fk_dummy_dummy41` FOREIGN KEY (`dummy4_iddummy4`) REFERENCES `nbonnici`.`dummy4` (`iddummy4`) ON DELETE NO ACTION ON UPDATE NO ACTION) ENGINE = InnoDB;
CREATE TABLE IF NOT EXISTS "machines" ( "id" INTEGER NOT NULL, "name" VARCHAR, "max_rpm" INTEGER, "spot" VARCHAR, "drill" VARCHAR, "tap" VARCHAR, "peck" VARCHAR, "ream" VARCHAR, "drill_format" VARCHAR, "tap_format" VARCHAR, "program_start" VARCHAR, "program_end" VARCHAR, "tool_start" VARCHAR, "tool_end" VARCHAR, "op_start" VARCHAR, "countersink" VARCHAR, PRIMARY KEY("id") ); CREATE TABLE IF NOT EXISTS "camo_ops" ( "id" INTEGER NOT NULL, "op_type" VARCHAR, "function" VARCHAR, "priority" VARCHAR, "feature_type_id" INTEGER, PRIMARY KEY("id"), FOREIGN KEY("feature_type_id") REFERENCES "feature_types"("id") ); CREATE TABLE IF NOT EXISTS "features" ( "name" VARCHAR UNIQUE, "id" INTEGER NOT NULL, "description" VARCHAR, "feature_type_id" INTEGER, PRIMARY KEY("id"), FOREIGN KEY("feature_type_id") REFERENCES "feature_types"("id") ); CREATE TABLE IF NOT EXISTS "feature_types" ( "id" INTEGER NOT NULL, "feature_type" VARCHAR UNIQUE, PRIMARY KEY("id") ); CREATE TABLE IF NOT EXISTS "operations" ( "id" INTEGER NOT NULL, "feature_id" INTEGER, "tool_id" INTEGER, "camo_op_id" INTEGER, "peck" DECIMAL, "feed" DECIMAL, "speed" DECIMAL, PRIMARY KEY("id"), FOREIGN KEY("feature_id") REFERENCES "features"("id"), FOREIGN KEY("camo_op_id") REFERENCES "camo_ops"("id"), FOREIGN KEY("tool_id") REFERENCES "tools"("id") ); CREATE TABLE IF NOT EXISTS "tools" ( "id" INTEGER NOT NULL, "qb_id" INTEGER UNIQUE, "tool_type_id" INTEGER, "tool_number" INTEGER, "name" VARCHAR, "diameter" DECIMAL, "number_of_flutes" INTEGER, "pitch" DECIMAL, PRIMARY KEY("id"), FOREIGN KEY("tool_type_id") REFERENCES "tool_types"("id") ); CREATE TABLE IF NOT EXISTS "tool_types" ( "id" INTEGER NOT NULL, "tool_type" VARCHAR, PRIMARY KEY("id") ); INSERT INTO machines VALUES (1,'Femco',2500,'81','81','84','83','81','G98 G{code} Z{depth} R{r_plane} F{feed} {points} G80','G95 M29 S{speed} G98 G{code} Z{depth} R{r_plane} F{pitch} {points} G80 G94','% O{program_number} ( {program_comment} ) {tool_list} G20 G0G17G40G49G80G90 M64 G90B0.','M9 M5 G91 G28 Z0. M30 %','( {tool_name} ) G0 G90 G{work_offset} X{x} Y{y} {spindle} G90 G{work_offset} W0. G43 H{tool_number} Z{clearance} {coolant}','M5 G91 G28 Z0. M9 G91 G28 W0. M01','G0 Z{clearance} X{x} Y{y} {spindle}','81'); INSERT INTO machines VALUES (2,'Planer',250,'81','81','84','81','81','G98 G{code} Z{depth} R{r_plane} F{feed} {points} G80','M29 S{speed} G98 G{code} Z{depth} R{r_plane} F{feed} {points} G80','% O{program_number} ( {program_comment} ) {tool_list} G20 G00 G17 G40 G80 G49 G90 ','M5 M30 %','( {tool_name} ) G0 G90 G{work_offset} X{x} Y{y} {spindle} G43 H{tool_number} Z{clearance}','M5 M00','G0 Z{clearance} X{x} Y{y} {spindle}','81'); INSERT INTO machines VALUES (3,'Nomura',2500,'81','81','84','83','81','G98 G{code} Z{depth} R{r_plane} F{feed} {points} G80','G95 M29 S{speed} G98 G{code} Z{depth} R{r_plane} F{pitch} {points} G80 G94','% O{program_number} ( {program_comment} ) {tool_list} G20 G00 G17 G40 G80 G49 G90 M17 G90 B0. M18','M9 M5 G91 G28 Z0. M30 %','( {tool_name} ) G0 G90 G{work_offset} X{x} Y{y} {spindle} G90 G{work_offset} W0. G43 H{tool_number} Z{clearance} {coolant} T{next_tool}','M5 G91 G28 Z0. M9 G91 G28 W0. M01','G0 Z{clearance} {coolant} X{x} Y{y} {spindle}','81'); INSERT INTO machines VALUES (4,'Toyoda',4000,'81','81','84','83','81','G98 G{code} Z{depth} R{r_plane} F{feed} {points} G80','G95 M29 S{speed} G98 G{code} Z{depth} R{r_plane} F{pitch} {points} G80 G94','% O{program_number} ( {program_comment} ) {tool_list} G20 G0G17G40G49G80G90','M9 M5 G91 G28 Z0. M30 %','( {tool_name} ) G0 G90 G{work_offset} X{x} Y{y} {spindle} G90 G{work_offset} G43 H{tool_number} Z{clearance} {coolant}','M5 G91 G28 Z0. M9 M01','G0 Z{clearance} X{x} Y{y} {spindle}','81'); INSERT INTO camo_ops VALUES (1,'Face - R','face_rough','10',3); INSERT INTO camo_ops VALUES (2,'Face - F','face_finish','20',3); INSERT INTO camo_ops VALUES (3,'Spot','drill','30',1); INSERT INTO camo_ops VALUES (4,'Drill','drill','40',1); INSERT INTO camo_ops VALUES (5,'Peck','drill','40',1); INSERT INTO camo_ops VALUES (6,'Countersink','drill','44',1); INSERT INTO camo_ops VALUES (7,'Ream','drill','45',1); INSERT INTO camo_ops VALUES (8,'Tap','drill','50',1); INSERT INTO camo_ops VALUES (9,'Slot - R','slot_rough','60',2); INSERT INTO camo_ops VALUES (10,'Slot - F','slot_finish','70',2); INSERT INTO features VALUES ('Basic',1,'',3); INSERT INTO features VALUES ('M8 x 1.25',2,'',1); INSERT INTO features VALUES ('1/2-13',3,'',1); INSERT INTO features VALUES ('3/8-16',4,'',1); INSERT INTO features VALUES ('3/8 slot',5,'',2); INSERT INTO feature_types VALUES (1,'Drilling'); INSERT INTO feature_types VALUES (2,'Slotting'); INSERT INTO feature_types VALUES (3,'Facing'); INSERT INTO operations VALUES (1,1,32,1,0,100,385); INSERT INTO operations VALUES (2,1,33,2,0,24.43,509); INSERT INTO operations VALUES (3,2,2,3,0,2,2000); INSERT INTO operations VALUES (4,2,23,5,0.1,2.8,934); INSERT INTO operations VALUES (5,2,12,8,0,10,203); INSERT INTO operations VALUES (6,3,2,3,0,2,2000); INSERT INTO operations VALUES (7,3,27,5,0.125,2.8,588); INSERT INTO operations VALUES (8,3,19,8,0,10,130); INSERT INTO operations VALUES (9,4,2,3,0,2,2000); INSERT INTO operations VALUES (10,5,6,9,0,12.22,3056); INSERT INTO operations VALUES (11,5,7,10,0,20.37,2546); INSERT INTO tools VALUES (1,1351,5,22,'CDRL - 0.10938 - 1351',0.10938,1,0); INSERT INTO tools VALUES (2,1361,5,1,'CDRL - 0.25 - 1361',0.25,1,0); INSERT INTO tools VALUES (3,1363,7,2,'CSNK - 1 - 82 - 1363',1,1,0); INSERT INTO tools VALUES (4,1481,3,26,'BULL - 0.1875 x 0.625 -CH - 1481',0.1875,4,0); INSERT INTO tools VALUES (5,1483,3,25,'BULL - 0.25 x 0.75 x 0.03r - 1483',0.25,4,0); INSERT INTO tools VALUES (6,1484,3,13,'BULL - 0.3125 x 0.75 x 0.03r - 1484',0.3125,4,0); INSERT INTO tools VALUES (7,1485,3,12,'BULL - 0.375 x 0.875 x 0.03r - 1485',0.375,4,0); INSERT INTO tools VALUES (8,1486,3,26,'BULL - 0.4375 x 1.125 x 0.015r - 1486',0.4375,4,0); INSERT INTO tools VALUES (9,1487,3,27,'BULL - 0.5 x 1 x 0.03r - 1487',0.5,4,0); INSERT INTO tools VALUES (10,1488,3,17,'BULL - 0.625 x 1.625 x 0.03r - 1488',0.625,4,0); INSERT INTO tools VALUES (11,1489,3,18,'BULL - 0.75 x 1.5 x 0.015r - 1489',0.75,4,0); INSERT INTO tools VALUES (12,1677,2,19,'CTAP - M8 x 1.25 - 6H - 1677',0.3149,1,0.0492); INSERT INTO tools VALUES (13,1682,2,10,'CTAP - 1/4 x 20 - H3 - 1682',0.25,1,0.05); INSERT INTO tools VALUES (14,1683,2,23,'CTAP - 5/16 x 18 - H3 - 1683',0.3125,1,0.0555); INSERT INTO tools VALUES (15,1684,2,11,'CTAP - 3/8 x 16 - H3 - 1684',0.375,1,0.0625); INSERT INTO tools VALUES (16,1688,2,20,'CTAP - 5/8 x 11 - H3 - 1688',0.625,1,0.0909); INSERT INTO tools VALUES (17,1689,2,14,'CTAP - 3/4 x 10 - H3 - 1689',0.75,1,0.1); INSERT INTO tools VALUES (18,1690,2,37,'CTAP - 7/8 x 9 - H4 - 1690',0.875,1,0.1111); INSERT INTO tools VALUES (19,1703,2,15,'CTAP - 1/2 x 13 - H3 - 1703',0.5,1,0.07692); INSERT INTO tools VALUES (20,1819,1,2,'DRIL - 0.201 - 1819',0.201,1,0); INSERT INTO tools VALUES (21,1831,1,24,'DRIL - 0.257 - 1831',0.257,1,0); INSERT INTO tools VALUES (22,1846,1,6,'DRIL - 0.368 - 1846',0.368,1,0); INSERT INTO tools VALUES (23,1868,1,7,'DRIL - 0.2656 - 1868',0.2656,1,0); INSERT INTO tools VALUES (24,1869,1,14,'DRIL - 0.2813 - 1869',0.2813,1,0); INSERT INTO tools VALUES (25,1871,1,8,'DRIL - 0.3125 - 1871',0.3125,1,0); INSERT INTO tools VALUES (26,1877,1,16,'DRIL - 0.4063 - 1877',0.4063,1,0); INSERT INTO tools VALUES (27,1878,1,16,'DRIL - 0.4219 - 1878',0.4219,1,0); INSERT INTO tools VALUES (28,1882,1,31,'DRIL - 0.4844 - 1882',0.4844,1,0); INSERT INTO tools VALUES (29,1885,1,21,'DRIL - 0.5313 - 1885',0.5313,1,0); INSERT INTO tools VALUES (30,1893,1,5,'DRIL - 0.6563 - 1893',0.6563,1,0); INSERT INTO tools VALUES (31,1900,1,36,'DRIL - 0.7656 - 1900',0.7656,1,0); INSERT INTO tools VALUES (32,1916,4,4,'HIFD - 6 - 1916',6,8,0); INSERT INTO tools VALUES (33,1918,4,3,'FACE - 6 x 90 Deg - 1918',6,8,0); INSERT INTO tools VALUES (34,2006,6,30,'REAM - 0.499 - 2006',0.499,6,0); INSERT INTO tools VALUES (35,2122,6,9,'REAM - 0.3745 - 2122',0.3745,6,0); INSERT INTO tool_types VALUES (1,'Drill'); INSERT INTO tool_types VALUES (2,'Tap'); INSERT INTO tool_types VALUES (3,'Endmill'); INSERT INTO tool_types VALUES (4,'Facemill'); INSERT INTO tool_types VALUES (5,'Spot'); INSERT INTO tool_types VALUES (6,'Reamer'); INSERT INTO tool_types VALUES (7,'Countersink');
-- phpMyAdmin SQL Dump -- version 4.5.1 -- http://www.phpmyadmin.net -- -- Host: 127.0.0.1 -- Generation Time: Aug 26, 2016 at 03:47 AM -- Server version: 10.1.13-MariaDB -- PHP Version: 5.6.23 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 */; -- -- Database: `idiom` -- -- -------------------------------------------------------- -- -- Table structure for table `equivalents` -- CREATE TABLE `Equivalents` ( `id` int(11) NOT NULL, `equiv_idiom` varchar(512) NOT NULL DEFAULT '', `language` varchar(2) DEFAULT NULL, `createdAt` datetime NOT NULL, `updatedAt` datetime NOT NULL, `userId` int(11) DEFAULT NULL, `idiomId` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `idioms` -- CREATE TABLE `Idioms` ( `id` int(11) NOT NULL, `idiom` varchar(512) NOT NULL DEFAULT '', `language` varchar(2) DEFAULT NULL, `meaning` varchar(2048) DEFAULT NULL, `derivation` varchar(2048) DEFAULT NULL, `imageURL` varchar(255) DEFAULT NULL, `approved` tinyint(1) NOT NULL DEFAULT '0', `modifiedBy` int(11) DEFAULT NULL, `createdAt` datetime NOT NULL, `updatedAt` datetime NOT NULL, `userId` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `roles` -- CREATE TABLE `Roles` ( `id` int(11) NOT NULL, `name` varchar(255) DEFAULT NULL, `createdAt` datetime NOT NULL, `updatedAt` datetime NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `roles` -- INSERT INTO `Roles` (`id`, `name`, `createdAt`, `updatedAt`) VALUES (1, 'admin', '2016-08-24 04:32:10', '2016-08-24 04:32:10'), (2, 'guest', '2016-08-24 04:32:10', '2016-08-24 04:32:10'), (3, 'user', '2016-08-24 04:32:10', '2016-08-24 04:32:10'); -- -------------------------------------------------------- -- -- Table structure for table `sessions` -- CREATE TABLE `Sessions` ( `sid` varchar(255) NOT NULL, `expires` datetime DEFAULT NULL, `data` text, `createdAt` datetime NOT NULL, `updatedAt` datetime NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `translations` -- CREATE TABLE `Translations` ( `id` int(11) NOT NULL, `translation` varchar(512) NOT NULL DEFAULT '', `language` varchar(2) DEFAULT NULL, `createdAt` datetime NOT NULL, `updatedAt` datetime NOT NULL, `userId` int(11) DEFAULT NULL, `idiomId` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `userrole` -- CREATE TABLE `UserRole` ( `createdAt` datetime NOT NULL, `updatedAt` datetime NOT NULL, `RoleId` int(11) NOT NULL, `UserId` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `userrole` -- INSERT INTO `UserRole` (`createdAt`, `updatedAt`, `RoleId`, `UserId`) VALUES ('2016-08-13 15:25:11', '2016-08-13 15:25:11', 1, 1), ('2016-08-13 15:25:11', '2016-08-13 15:25:11', 1, 2), ('2016-08-13 00:00:00', '2016-08-13 00:00:00', 1, 3); -- -------------------------------------------------------- -- -- Table structure for table `users` -- CREATE TABLE `Users` ( `id` int(11) NOT NULL, `firstName` varchar(255) NOT NULL, `lastName` varchar(255) NOT NULL, `displayName` varchar(255) DEFAULT NULL, `email` varchar(255) NOT NULL, `username` varchar(255) NOT NULL, `password` varchar(255) DEFAULT NULL, `salt` varchar(255) DEFAULT NULL, `profileImageURL` varchar(255) DEFAULT NULL, `provider` varchar(255) DEFAULT NULL, `resetPasswordToken` varchar(255) DEFAULT NULL, `resetPasswordExpires` datetime DEFAULT NULL, `createdAt` datetime NOT NULL, `updatedAt` datetime NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `users` -- INSERT INTO `Users` (`id`, `firstName`, `lastName`, `displayName`, `email`, `username`, `password`, `salt`, `profileImageURL`, `provider`, `resetPasswordToken`, `resetPasswordExpires`, `createdAt`, `updatedAt`) VALUES (1, 'User', 'Local', 'User Local', 'user@localhost.com', 'user', 'CrW7wJO4H3wPR2l1Gwqa9jNbOESHDjKcl3ASIregPgm/POCVaPglgJrfXfiblAJQl/TfBNO8/8ZVPYlC6q5aXQ==', 'pXU5TbsjKKB3YH4St4xuHQ==', 'modules/users/client/img/profile/default.png', 'local', NULL, NULL, '2016-08-13 15:25:11', '2016-08-13 15:25:11'), (2, 'Admin', 'Local', 'Admin Local', 'admin@localhost.com', 'admin', '5/+AQ4r2TwR98+SNOYo0n/VP+K/ROELQ89JZHJ5+d16g4EmwRnnjBC8PjnoltdyW00cMFjO//WPdWm+VyypVGQ==', 'hvEvhkv7ULyGbKO0BqSRcg==', 'modules/users/client/img/profile/default.png', 'local', NULL, NULL, '2016-08-13 15:25:11', '2016-08-13 15:25:11'), (3, 'idiom', 'idiom', 'idiom idiom', 'idiom@idiom.com', 'idiom', '3f6nwvahtaoxgK6KogtMYDxH3hbrs+02tzeTonZYgTLwfd1RtLURVA3zy84qe2akDgbCbSHG9ECJ+Q3QQA4Maw==', '19t8uhRxk6IyCgL6nieFPA==', './modules/users/client/img/profile/uploads/f71d5c8dc77fe7ea50d00dc92870b442', 'local', NULL, NULL, '2016-08-13 15:26:28', '2016-08-15 03:47:20'); -- -- Indexes for dumped tables -- -- -- Indexes for table `equivalents` -- ALTER TABLE `Equivalents` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `equiv_idiom` (`equiv_idiom`), ADD UNIQUE KEY `Equivalents_equiv_idiom_unique` (`equiv_idiom`), ADD KEY `userId` (`userId`), ADD KEY `idiomId` (`idiomId`); -- -- Indexes for table `idioms` -- ALTER TABLE `Idioms` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `idiom` (`idiom`), ADD UNIQUE KEY `Idioms_idiom_unique` (`idiom`), ADD KEY `userId` (`userId`); -- -- Indexes for table `roles` -- ALTER TABLE `Roles` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `name` (`name`), ADD UNIQUE KEY `Roles_name_unique` (`name`); -- -- Indexes for table `sessions` -- ALTER TABLE `Sessions` ADD PRIMARY KEY (`sid`); -- -- Indexes for table `translations` -- ALTER TABLE `Translations` ADD PRIMARY KEY (`id`), ADD KEY `userId` (`userId`), ADD KEY `idiomId` (`idiomId`); -- -- Indexes for table `userrole` -- ALTER TABLE `UserRole` ADD PRIMARY KEY (`RoleId`,`UserId`), ADD KEY `UserId` (`UserId`); -- -- Indexes for table `users` -- ALTER TABLE `Users` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `email` (`email`), ADD UNIQUE KEY `username` (`username`), ADD UNIQUE KEY `Users_email_unique` (`email`), ADD UNIQUE KEY `Users_username_unique` (`username`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `equivalents` -- ALTER TABLE `Equivalents` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `idioms` -- ALTER TABLE `Idioms` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `roles` -- ALTER TABLE `Roles` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; -- -- AUTO_INCREMENT for table `translations` -- ALTER TABLE `Translations` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `users` -- ALTER TABLE `Users` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; -- -- Constraints for dumped tables -- -- -- Constraints for table `equivalents` -- ALTER TABLE `Equivalents` ADD CONSTRAINT `equivalents_ibfk_1` FOREIGN KEY (`userId`) REFERENCES `Users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE, ADD CONSTRAINT `equivalents_ibfk_2` FOREIGN KEY (`idiomId`) REFERENCES `Idioms` (`id`) ON DELETE SET NULL ON UPDATE CASCADE; -- -- Constraints for table `idioms` -- ALTER TABLE `Idioms` ADD CONSTRAINT `idioms_ibfk_1` FOREIGN KEY (`userId`) REFERENCES `Users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE; -- -- Constraints for table `translations` -- ALTER TABLE `Translations` ADD CONSTRAINT `translations_ibfk_1` FOREIGN KEY (`userId`) REFERENCES `Users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE, ADD CONSTRAINT `translations_ibfk_2` FOREIGN KEY (`idiomId`) REFERENCES `Idioms` (`id`) ON DELETE SET NULL ON UPDATE CASCADE; -- -- Constraints for table `userrole` -- ALTER TABLE `UserRole` ADD CONSTRAINT `userrole_ibfk_1` FOREIGN KEY (`RoleId`) REFERENCES `Roles` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `userrole_ibfk_2` FOREIGN KEY (`UserId`) REFERENCES `Users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
CREATE TABLE "DR$FLAT_TEXT_INDEX$N" ( "NLT_DOCID" NUMBER(38,0), "NLT_MARK" CHAR(1) NOT NULL ENABLE, PRIMARY KEY ("NLT_DOCID") ENABLE ) ORGANIZATION INDEX NOCOMPRESS
BEGIN; CREATE SCHEMA IF NOT EXISTS url_stat; /* * A table that holds urls and the counter of each visit to such URL. */ CREATE TABLE IF NOT EXISTS url_stat.url ( pk int GENERATED ALWAYS AS IDENTITY, protocol text DEFAULT 'http', site text NOT NULL, url text NOT NULL, params text[], visited int DEFAULT 0, published bool DEFAULT true, PRIMARY KEY( pk ), CHECK ( visited >= 0 ), UNIQUE( site, url, params ) -- allow different protocols for the same site ); TRUNCATE TABLE url_stat.url; ALTER TABLE url_stat.url ALTER COLUMN pk RESTART; /** * Internal function to allow splitting an URL into * parts. * * @returns an array with the following indexing: * 1 => protocol * 2 => site (base url) * 3 => path (action url) * 4 => parameters (or an empty array) * * Example of invocation: SELECT url_stat.split_url( 'https://www.google.com/search?q=postgresql&lang=it' ); > SELECT url_stat.split_url( 'https://www.google.com/search?q=postgresql&lang=it' ); DEBUG: split_url: [https] + [www.google.com] + [search/] + [q=postgresql&lang=it] split_url ----------------------------------------------------- {https,www.google.com,search/,q=postgresql,lang=it} * */ CREATE OR REPLACE FUNCTION url_stat.split_url( url text ) RETURNS text[] AS $CODE$ DECLARE protocol text; site text; path text; parts text[]; BEGIN -- split depending on the slash parts := string_to_array( url, '://' ); /* string_to_array( 'http://www.google.com/hello', '/' ); => {http:,www.google.com,hello} */ protocol := parts[ 1 ]; -- split the remaining by '/' parts := string_to_array( parts[ 2 ], '/' ); site := parts[ 1 ]; -- do slicing for any remaining part (2: -> 2 to the end) -- and reassemble the string with the '/' separator url := array_to_string( parts[ 2: ], '/' ); -- do I have any param? IF url LIKE '%?%' THEN -- if I have parameters split the 'url' part -- into two dimension array: -- 'url' = 'search?q=foo&b=bar' => { 'search', 'q=foo&b=bar' } -- then get back the 'url' part and build an array -- from the remaining string parts := string_to_array( url, '?' ); url := parts[ 1 ] || '/'; parts := string_to_array( array_to_string( parts[ 2: ], '' ), '&' ); ELSE -- no parameters, avoid inserting... parts := NULL; END IF; RAISE DEBUG 'split_url: [%] + [%] + [%] + [%]', protocol, site, url, array_to_string( parts, '&' ); RETURN array_cat( ARRAY[ protocol, site, url ]::text[], parts[ 1: ] ); END $CODE$ LANGUAGE plpgsql; -- -- POPULATE THE TABLE -- WITH urls_array AS ( SELECT url_stat.split_url( url ) AS url_array FROM unnest( ARRAY[ 'https://conoscerelinux.org/courses/postgresql/' , 'https://conoscerelinux.org/il-consiglio/' , 'https://conoscerelinux.org/courses/conoscere-wordpress-maggio-2018/' , 'https://conoscerelinux.org/hack-team-t2h/' , 'https://fluca1978.github.io/2018/04/20/SQLiteRenamingTable.html' , 'https://fluca1978.github.io/2018/04/12/PostgreSQL-plpython.html' , 'https://fluca1978.github.io/about/' , 'https://fluca1978.github.io/papers/' , 'https://www.google.com/search?q=hello+world' , 'https://www.google.com/search?q=postgresql&lang=it' , 'jdbc:postgresql://localhost/testdb?username=luca' ] ) url ) INSERT INTO url_stat.url( protocol, site, url, params, visited ) SELECT url_array[ 1 ], url_array[ 2 ], url_array[ 3 ], url_array[ 4: ], random() * 1000 FROM urls_array; /* * Each time a tuple is deleted set the page as unpusblished instead. */ CREATE OR REPLACE RULE rule_delete_unpublish AS ON DELETE TO url_stat.url DO INSTEAD UPDATE url_stat.url SET published = false WHERE pk = OLD.pk; /* + Delete trigger, similar to the above rule but using ctid */ -- CREATE OR REPLACE FUNCTION url_stat.tr_f_delete_unpublish() -- RETURNS TRIGGER -- AS $CODE$ -- DECLARE -- BEGIN -- IF TG_OP <> 'DELETE' THEN -- RETURN NULL; -- END IF; -- UPDATE url_stat.url SET published = false -- WHERE ctid = OLD.ctid; -- RETURN NULL; -- END -- $CODE$ -- LANGUAGE plpgsql; -- CREATE TRIGGER tr_delete_unpublish -- BEFORE DELETE -- ON url_stat.url -- FOR EACH ROW -- EXECUTE PROCEDURE url_stat.tr_f_delete_unpublish(); /* * Rules are as follows: * 1) the 'visited' counter must be always at least 0; * 2) when the page is turned online from offline its counter has to be reset to zero; * 3) if a page is unpublished the counter cannot change * 4) if the page is published the counter cannot decrease */ CREATE OR REPLACE FUNCTION url_stat.f_tr_url_manage_publishing() RETURNS TRIGGER AS $BODY$ DECLARE BEGIN RAISE DEBUG 'f_tr_url_manage_publishin: [%] published % -> %, visited % -> %', NEW.url, OLD.published, NEW.published, OLD.visited, NEW.visited; -- nothing to do if not update! IF TG_OP <> 'UPDATE' THEN RETURN NULL; END IF; -- the counter must be there! IF NEW.visited IS NULL OR NEW.visit < 0 THEN NEW.visited := 0; END IF; IF NEW.published <> OLD.published THEN RAISE DEBUG 'published % -> % for [%]', OLD.published, NEW.published, NEW.url; IF NEW.published AND NOT OLD.published THEN -- page turned on line, set the right counter IF NEW.visited = OLD.visited THEN RAISE DEBUG 'reset counter for re-publishing [%]', NEW.url; NEW.visited := 0; END IF; ELSIF NOT NEW.published THEN -- page turned off line IF NEW.visited <> OLD.visited THEN -- avoid changing the counter on an off line page RAISE DEBUG 'prevent changes from % to % for unpublished [%]', OLD.visited, NEW.visited, NEW.url; NEW.visited := OLD.visited; END IF; END IF; ELSE -- publishing not change IF NOT NEW.published THEN RAISE DEBUG 'cannot update anything on unpublished [%]', NEW.published; RETURN NULL; END IF; END IF; IF NEW.published AND OLD.published AND NEW.visited < OLD.visited THEN RAISE DEBUG 'cannot decrease visited from % to % for [%]', OLD.visited, NEW.visited, NEW.url; NEW.visited := OLD.visited; END IF; RETURN NEW; END $BODY$ LANGUAGE plpgsql; CREATE TRIGGER tr_url_check BEFORE UPDATE OF published, visited ON url_stat.url FOR EACH ROW EXECUTE PROCEDURE url_stat.f_tr_url_manage_publishing(); /* * example queries: update url_stat.url set published = true, visited = random() * 2000; delete from url_stat.url; update url_stat.url set published = true; update url_stat.url set visited = visited - 1; select site, url, visited, row_number() over (), rank() over ( partition by site order by visited desc) from url_stat.url; */ /* * Perl implementation of the split_url function */ CREATE OR REPLACE FUNCTION url_stat.split_url_pl( url text ) RETURNS text[] AS $CODE$ my ( $url ) = @_; my ( $protocol, $site, $path, $param_string ) = ( $url =~ / ^ ([a-zA-Z]+) : \/ \/ ([a-zA-Z0-9.]+\/?) ([\/a-zA-Z0-9]+)\?? (.+) /x ); my @params; @params = split '&', $param_string if ( $param_string ); return [ $protocol, $site, $path, @params ]; $CODE$ LANGUAGE plperl; /* SELECT url_stat.split_url_pl( url ) AS url_array FROM unnest( ARRAY[ 'https://conoscerelinux.org/courses/postgresql/' , 'https://conoscerelinux.org/il-consiglio/' , 'https://conoscerelinux.org/courses/conoscere-wordpress-maggio-2018/' , 'https://conoscerelinux.org/hack-team-t2h/' , 'https://fluca1978.github.io/2018/04/20/SQLiteRenamingTable.html' , 'https://fluca1978.github.io/2018/04/12/PostgreSQL-plpython.html' , 'https://fluca1978.github.io/about/' , 'https://fluca1978.github.io/papers/' , 'https://www.google.com/search?q=hello+world' , 'https://www.google.com/search?q=postgresql&lang=it' ] ) url; */ /* * Perl trigger for managing the updates. * A Perl trigger must return the special * strings 'SKIP' or 'MODIFY'. * Each trigger argument is placed into the $_TD special hash. * Variables are passed as strings! */ CREATE OR REPLACE FUNCTION url_stat.f_tr_url_manage_publishing_pl() RETURNS TRIGGER AS $BODY$ # do not work on not update trigger! return 'SKIP' if ( $_TD->{event} ne 'UPDATE' ); # get some shorten variable # WANRING: value 'false' is translate to the string 'f' so # check it against 't' to be able to use it as a Perl false variable my ( $new_published, $old_published ) = ( $_TD->{new}->{published} eq 't', $_TD->{old}->{published} eq 't' ); my ( $new_visited, $old_visited ) = ( $_TD->{new}->{visited}, $_TD->{old}->{visited} ); elog( DEBUG, "published $old_published -> $new_published " ); elog( DEBUG, "visited $old_visited -> $new_visited" ); if ( $old_published != $new_published ){ # page turned published $_TD->{new}->{visited} = 0 if ( $new_published && ! $old_published && $new_visited == $old_visited ); # page turned unpublished $_TD->{new}->{visited} = $_TD->{old}->{visited} if ( ! $new_published && $old_published ); } else { # page still unpublished return 'SKIP' if ( ! $new_published ); } # page was published but the counter is decreasing... $_TD->{new}->{visited} = $_TD->{old}->visited if ( $new_published && $old_published && $old_visited > $new_visited ); return 'MODIFY'; $BODY$ LANGUAGE plperl; COMMIT; /* CREATE TRIGGER tr_url_check BEFORE UPDATE OF published, visited ON url_stat.url FOR EACH ROW EXECUTE PROCEDURE url_stat.f_tr_url_manage_publishing_pl(); */
ALTER TABLE Core.SitesVariableAmountBridgeAllocations_fact DROP CONSTRAINT FK_SitesVariableAmountBridgeAllocations_fact_SiteVariableAmounts_fact ALTER TABLE Core.SitesVariableAmountBridgeAllocations_fact DROP CONSTRAINT FK_SitesVariableAmountBridgeAllocations_fact_Allocations_dim ALTER TABLE Core.SitesAllocationAmountsBridge_fact DROP CONSTRAINT FK_SitesAllocationAmountsBridge_fact_Sites_dim ALTER TABLE Core.SitesAllocationAmountsBridge_fact DROP CONSTRAINT FK_SitesAllocationAmountsBridge_fact_AllocationAmounts_fact ALTER TABLE Core.NHDMetadata DROP CONSTRAINT fk_NHDMetadata_NHDProduct ALTER TABLE Core.NHDMetadata DROP CONSTRAINT fk_NHDMetadata_NHDNetworkStatus ALTER TABLE Core.Allocations_dim DROP CONSTRAINT FK_AllocationsDate_PriorityDate ALTER TABLE Core.Allocations_dim DROP CONSTRAINT FK_AllocationsDate_ExpirationDate ALTER TABLE Core.Allocations_dim DROP CONSTRAINT FK_AllocationsDate_ApplicationDate ALTER TABLE Core.Sites_dim DROP CONSTRAINT fk_Sites_NHDMetadata ALTER TABLE Core.Sites_dim DROP COLUMN NHDMetadataID DROP TABLE Core.SitesVariableAmountBridgeAllocations_fact DROP TABLE Core.SitesAllocationAmountsBridge_fact DROP TABLE Core.NHDMetadata DROP TABLE Core.Allocations_dim_Input DROP TABLE Core.Allocations_dim
-- Hey, I havent done any functions yet, still this is a good placeholder!
alter table egpt_mv_propertyinfo alter column sital_area set default 0; alter table egpt_mv_propertyinfo alter column total_builtup_area set default 0; alter table egpt_mv_propertyinfo alter column aggregate_current_firsthalf_demand set default 0; alter table egpt_mv_propertyinfo alter column aggregate_current_secondhalf_demand set default 0; alter table egpt_mv_propertyinfo alter column aggregate_arrear_demand set default 0; alter table egpt_mv_propertyinfo alter column current_firsthalf_collection set default 0; alter table egpt_mv_propertyinfo alter column current_secondhalf_collection set default 0; alter table egpt_mv_propertyinfo alter column arrearcollection set default 0; alter table egpt_mv_propertyinfo alter column pen_aggr_current_firsthalf_demand set default 0; alter table egpt_mv_propertyinfo alter column pen_aggr_current_firsthalf_coll set default 0; alter table egpt_mv_propertyinfo alter column pen_aggr_current_secondhalf_demand set default 0; alter table egpt_mv_propertyinfo alter column pen_aggr_current_secondhalf_coll set default 0; alter table egpt_mv_propertyinfo alter column pen_aggr_arrear_demand set default 0; alter table egpt_mv_propertyinfo alter column pen_aggr_arr_coll set default 0; alter table egpt_mv_propertyinfo alter column alv set default 0; alter table egpt_mv_propertyinfo alter column annualdemand set default 0; alter table egpt_mv_propertyinfo alter column annualcoll set default 0; alter table egpt_mv_propertyinfo alter column arrear_demand set default 0; alter table egpt_mv_propertyinfo alter column arrear_collection set default 0; alter table egpt_mv_propertyinfo alter column marketvalue set default 0; alter table egpt_mv_propertyinfo alter column capitalvalue set default 0; alter table egpt_mv_propertyinfo alter column advance set default 0; update egpt_mv_propertyinfo set arrear_demand = 0 where arrear_demand is null; update egpt_mv_propertyinfo set arrear_collection = 0 where arrear_collection is null; update egpt_mv_propertyinfo set aggregate_current_firsthalf_demand = 0 where aggregate_current_firsthalf_demand is null; update egpt_mv_propertyinfo set aggregate_current_secondhalf_demand = 0 where aggregate_current_secondhalf_demand is null; update egpt_mv_propertyinfo set aggregate_arrear_demand = 0 where aggregate_arrear_demand is null; update egpt_mv_propertyinfo set current_firsthalf_collection = 0 where current_firsthalf_collection is null; update egpt_mv_propertyinfo set current_secondhalf_collection = 0 where current_secondhalf_collection is null; update egpt_mv_propertyinfo set sital_area = 0 where sital_area is null; update egpt_mv_propertyinfo set total_builtup_area = 0 where total_builtup_area is null; update egpt_mv_propertyinfo set arrearcollection = 0 where arrearcollection is null; update egpt_mv_propertyinfo set pen_aggr_current_firsthalf_demand = 0 where pen_aggr_current_firsthalf_demand is null; update egpt_mv_propertyinfo set pen_aggr_current_firsthalf_coll = 0 where pen_aggr_current_firsthalf_coll is null; update egpt_mv_propertyinfo set pen_aggr_current_secondhalf_demand = 0 where pen_aggr_current_secondhalf_demand is null; update egpt_mv_propertyinfo set pen_aggr_current_secondhalf_coll = 0 where pen_aggr_current_secondhalf_coll is null; update egpt_mv_propertyinfo set pen_aggr_arrear_demand = 0 where pen_aggr_arrear_demand is null; update egpt_mv_propertyinfo set pen_aggr_arr_coll = 0 where pen_aggr_arr_coll is null; update egpt_mv_propertyinfo set alv = 0 where alv is null; update egpt_mv_propertyinfo set annualdemand = 0 where annualdemand is null; update egpt_mv_propertyinfo set annualcoll = 0 where annualcoll is null; update egpt_mv_propertyinfo set marketvalue = 0 where marketvalue is null; update egpt_mv_propertyinfo set capitalvalue = 0 where capitalvalue is null; update egpt_mv_propertyinfo set advance = 0 where advance is null;
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET NAMES utf8 */; /*!50503 SET NAMES utf8mb4 */; /*!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' */; /*!40000 ALTER TABLE `mmrpg_leaderboard` DISABLE KEYS */; INSERT INTO `mmrpg_leaderboard` (`board_id`, `user_id`, `save_id`, `board_points`, `board_points_dr_light`, `board_points_dr_wily`, `board_points_dr_cossack`, `board_points_pending`, `board_points_pending_dr_light`, `board_points_pending_dr_wily`, `board_points_pending_dr_cossack`, `board_points_legacy`, `board_points_legacy2`, `board_points_dr_light_legacy`, `board_points_dr_wily_legacy`, `board_points_dr_cossack_legacy`, `board_robots`, `board_robots_dr_light`, `board_robots_dr_wily`, `board_robots_dr_cossack`, `board_robots_count`, `board_battles`, `board_battles_dr_light`, `board_battles_dr_wily`, `board_battles_dr_cossack`, `board_awards`, `board_awards_dr_light`, `board_awards_dr_wily`, `board_awards_dr_cossack`, `board_stars`, `board_stars_dr_light`, `board_stars_dr_wily`, `board_stars_dr_cossack`, `board_items`, `board_abilities`, `board_abilities_dr_light`, `board_abilities_dr_wily`, `board_abilities_dr_cossack`, `board_missions`, `board_missions_dr_light`, `board_missions_dr_wily`, `board_missions_dr_cossack`, `board_date_created`, `board_date_modified`) VALUES (1, 1, 1, 114002, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '[mega-man:8],[roll:2]', '[mega-man:8],[roll:2]', '', '', 2, '', '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 1590803529, 1593725372), (2, 2, 2, 114001, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '[mega-man:6],[roll:2]', '[mega-man:6],[roll:2]', '', '', 2, '', '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 1590803362, 1593726722), (3, 3, 3, 112000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '[mega-man:4],[roll:2]', '[mega-man:4],[roll:2]', '', '', 2, '', '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 1590803744, 1593739987), (4, 4, 4, 106000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '[mega-man:3],[roll:2]', '[mega-man:3],[roll:2]', '', '', 2, '', '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 1590803661, 1593740189), (5, 5, 5, 94000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '[mega-man:2]', '[mega-man:2]', '', '', 1, '', '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 1590803398, 1593740442) ; /*!40000 ALTER TABLE `mmrpg_leaderboard` ENABLE KEYS */; /*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */; /*!40014 SET FOREIGN_KEY_CHECKS=IF(@OLD_FOREIGN_KEY_CHECKS IS NULL, 1, @OLD_FOREIGN_KEY_CHECKS) */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
------------------------------------------------------------------------------- -- <copyright company="Sherlock"> -- Copyright 2013 Sherlock. Licensed under the Apache License, Version 2.0. -- </copyright> ------------------------------------------------------------------------------- CREATE PROCEDURE [Tests].[GetTestEnvironmentByMachineId] @id NVARCHAR(50) AS SELECT [pk_TestEnvironmentId], [fk_TestId], [fk_DesiredOperatingSystemId], [EnvironmentName], [fk_SelectedMachineId] FROM [Tests].[TestEnvironment] WHERE [fk_SelectedMachineId] = @id
-- This adds one record into our role table MERGE INTO ROLE VALUES (1, 'USER');
SELECT owner, table_name, degree FROM dba_tables WHERE owner IN (&&schema_list) AND degree <> 'DEFAULT' AND TO_NUMBER(degree) > 1;
-- phpMyAdmin SQL Dump -- version 4.9.0.1 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Nov 29, 2019 at 12:51 AM -- Server version: 10.4.6-MariaDB -- PHP Version: 7.3.9 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `satyasepatu` -- -- -------------------------------------------------------- -- -- Table structure for table `barang` -- CREATE TABLE `barang` ( `kode` char(5) NOT NULL, `merk` varchar(30) NOT NULL, `ukuran` int(11) NOT NULL, `jumlah` int(11) NOT NULL, `harga` bigint(20) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `barang` -- INSERT INTO `barang` (`kode`, `merk`, `ukuran`, `jumlah`, `harga`) VALUES ('SHOE2', 'Iger', 41, 10, 300000), ('SHOE3', 'FIERRO', 42, 10, 300000), ('SHOE4', 'KIZARU', 40, 9, 310000); -- -------------------------------------------------------- -- -- Table structure for table `customer` -- CREATE TABLE `customer` ( `username` varchar(20) NOT NULL, `password` varchar(20) NOT NULL, `nama` varchar(35) NOT NULL, `email` varchar(20) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `customer` -- INSERT INTO `customer` (`username`, `password`, `nama`, `email`) VALUES ('alvinda', 'kaitokid', 'Alvinda Julian', 'utomo423@gmail.com'), ('kaitooo', 'kaitokid', 'kaito kid', 'kaito1412@gmail.com'), ('naruto', 'kaitokid1412', 'Alvinda Julian Trismadi', 'narutoninja@gmail.co'), ('utamibudi', 'kaitokid', 'Budi Utami', 'utami@yahoo.com'), ('utomobudi', 'kaitokid', 'Budi Utomo', 'utomobudi@gmail.com'); -- -------------------------------------------------------- -- -- Table structure for table `datapemesanan` -- CREATE TABLE `datapemesanan` ( `kodepesanan` int(5) NOT NULL, `kode` varchar(5) NOT NULL, `nama` varchar(60) NOT NULL, `nohp` varchar(13) NOT NULL, `alamat` varchar(50) NOT NULL, `metode` varchar(30) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `datapemesanan` -- INSERT INTO `datapemesanan` (`kodepesanan`, `kode`, `nama`, `nohp`, `alamat`, `metode`) VALUES (1, 'SHOE1', 'kaito kuroba', '2147483647', 'Bandung', 'Cash on Delivery'), (2, 'SHOE1', 'kaito kuroba', '082117896927', 'Cimahi', 'Cash on Delivery'), (3, 'SHOE4', 'Alvinda Julian Trismadi', '099871213', 'Cianjur', 'Cash on Delivery'), (4, 'SHOE1', 'kaito kuroba', '9998898', 'basajja', 'Cash on Delivery'), (5, 'SHOE5', 'kaito kuroba', '1212241', 'Bekasi', 'Cash on Delivery'), (6, 'SHOE4', 'kaito kuroba', '9832732134', 'Jakarta', 'Cash on Delivery'), (7, 'SHOE6', 'budi utomo', '085759050799', 'Bekasi', 'Cash on Delivery'), (8, 'SHOE6', 'utami budi', '08121389473', 'Bekasi, cikarang utara', 'Cash on Delivery'), (9, 'SHOE2', 'asasaasas', '219819373', 'Bekasi', 'Cash on Delivery'), (10, 'SHOE4', 'kaito kuroba', '76', 'Bandung sasas', 'Cash on Delivery'); -- -------------------------------------------------------- -- -- Table structure for table `login_admin` -- CREATE TABLE `login_admin` ( `username` varchar(10) NOT NULL, `password` varchar(10) NOT NULL, `nama` varchar(10) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `login_admin` -- INSERT INTO `login_admin` (`username`, `password`, `nama`) VALUES ('admin', 'admin', 'ADMIN'); -- -- Indexes for dumped tables -- -- -- Indexes for table `barang` -- ALTER TABLE `barang` ADD PRIMARY KEY (`kode`); -- -- Indexes for table `customer` -- ALTER TABLE `customer` ADD PRIMARY KEY (`username`); -- -- Indexes for table `datapemesanan` -- ALTER TABLE `datapemesanan` ADD PRIMARY KEY (`kodepesanan`); -- -- Indexes for table `login_admin` -- ALTER TABLE `login_admin` ADD PRIMARY KEY (`username`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `datapemesanan` -- ALTER TABLE `datapemesanan` MODIFY `kodepesanan` int(5) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11; COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
-- phpMyAdmin SQL Dump -- version 5.0.2 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1:3306 -- Generation Time: Apr 17, 2021 at 03:18 PM -- Server version: 5.7.31 -- PHP Version: 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 */; -- -- Database: `trivia-game` -- -- -------------------------------------------------------- -- -- Table structure for table `answers` -- DROP TABLE IF EXISTS `answers`; CREATE TABLE IF NOT EXISTS `answers` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `q_id` bigint(20) NOT NULL, `a_text` text NOT NULL, `is_correct` tinyint(1) NOT NULL, PRIMARY KEY (`id`), KEY `fk_questions_answers` (`q_id`) ) ENGINE=InnoDB AUTO_INCREMENT=82 DEFAULT CHARSET=latin1; -- -- Dumping data for table `answers` -- INSERT INTO `answers` (`id`, `q_id`, `a_text`, `is_correct`) VALUES (7, 4, '81', 0), (8, 4, '9', 1), (9, 4, '22', 0), (10, 4, '10', 0), (11, 3, 'Donald Trump', 0), (12, 3, 'Bill Clinton', 0), (13, 3, 'George Washington', 0), (14, 3, 'Martin Luther King Jr.', 1), (15, 5, 'Alaska', 1), (16, 5, 'Rhode Island ', 0), (17, 5, 'California', 0), (18, 5, 'New York', 0), (19, 6, 'Iowa', 0), (20, 6, 'Texas', 0), (21, 6, 'New York', 0), (22, 6, 'Delaware', 1), (23, 7, 'Erie', 0), (24, 7, 'Finger Lakes', 1), (25, 7, 'Ontario', 0), (26, 7, 'Superior', 0), (27, 8, 'True', 1), (28, 8, 'False', 0), (29, 9, 'False', 0), (30, 9, 'True', 1), (31, 10, 'English romantic poet', 1), (32, 10, 'English Author', 0), (33, 10, 'Famous English Scientist', 0), (34, 10, 'A famous geologist ', 0), (35, 11, 'acute angle', 0), (36, 11, 'left angle', 0), (37, 11, 'right angle', 1), (38, 11, 'obtuse angle', 0), (66, 28, 'True', 1), (67, 28, 'False', 0), (69, 29, 'George Bush', 1), (70, 29, 'Donald Trump', 0), (71, 29, 'Barrack Obama', 0), (72, 29, 'Bill Clinton', 0), (73, 30, 'World Health Organization', 1), (74, 30, 'Water Heater Organization', 0), (75, 30, 'Wind Hail Overcast', 0), (76, 30, 'None Of The Above', 0), (77, 31, '25', 1), (78, 31, '22', 0), (79, 31, '32', 0), (80, 31, '23', 0), (81, 31, '23', 0); -- -------------------------------------------------------- -- -- Table structure for table `questions` -- DROP TABLE IF EXISTS `questions`; CREATE TABLE IF NOT EXISTS `questions` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `q_title` text NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=32 DEFAULT CHARSET=latin1; -- -- Dumping data for table `questions` -- INSERT INTO `questions` (`id`, `q_title`) VALUES (3, 'Who was the speaker that gave the \"I had a dream speach\"?'), (4, 'What is the square root of 81?'), (5, 'What is the largest state in the United States of America? '), (6, 'Dover is the capital of which state?'), (7, 'Which of the following is not one of the 5 great lakes? '), (8, 'True or False: The temporal lobe is located in the brain?'), (9, 'True or False: The indication of any future event is known as foreshadowing?'), (10, 'Who was William Wordsworth?'), (11, 'A 90 degree angle is called what?'), (28, 'True or False: The Korean War was the war that led US soldiers to die for a tie? '), (29, 'Who said these words - \'I am the president of United States and I am not going to eat any more broccoli\'.'), (30, 'What does \"WHO\" stand for?'), (31, 'What is 5x5'); -- -------------------------------------------------------- -- -- Table structure for table `scoreboard` -- DROP TABLE IF EXISTS `scoreboard`; CREATE TABLE IF NOT EXISTS `scoreboard` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `u_id` bigint(20) NOT NULL, `score` int(11) NOT NULL, `date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (`id`), KEY `fk_users_scoreboard` (`u_id`) ) ENGINE=InnoDB AUTO_INCREMENT=26 DEFAULT CHARSET=latin1; -- -- Dumping data for table `scoreboard` -- INSERT INTO `scoreboard` (`id`, `u_id`, `score`, `date`) VALUES (1, 7, 83, '2021-03-26 17:18:11'), (2, 7, 43, '2021-03-26 17:28:00'), (3, 6, 90, '2021-03-26 17:28:52'), (4, 7, 25, '2021-03-26 17:28:53'), (5, 7, 0, '2021-03-26 17:28:54'), (6, 7, 45, '2021-03-26 17:28:55'), (7, 7, 56, '2021-03-26 17:29:01'), (8, 7, 45, '2021-03-26 17:29:01'), (9, 7, 31, '2021-03-26 17:29:01'), (10, 7, 8, '2021-03-26 17:29:02'), (11, 7, 0, '2021-03-26 17:29:02'), (12, 7, 0, '2021-03-26 17:29:02'), (13, 7, 80, '2021-03-26 17:29:02'), (14, 7, 23, '2021-03-26 17:29:06'), (15, 7, 63, '2021-03-26 17:29:06'), (16, 7, 73, '2021-03-26 17:29:06'), (17, 7, 90, '2021-03-26 17:29:07'), (18, 7, 0, '2021-03-26 17:29:07'), (19, 7, 10, '2021-03-26 17:29:07'), (20, 7, 56, '2021-03-26 17:31:05'), (21, 7, 86, '2021-03-26 17:31:27'), (22, 8, 100, '2021-03-26 18:11:12'), (23, 8, 92, '2021-03-26 18:44:12'), (25, 11, 67, '2021-04-01 17:06:43'); -- -------------------------------------------------------- -- -- Table structure for table `users` -- DROP TABLE IF EXISTS `users`; CREATE TABLE IF NOT EXISTS `users` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `username` varchar(15) NOT NULL, `password` text NOT NULL, `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `deleted_at` datetime DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=latin1; -- -- Dumping data for table `users` -- INSERT INTO `users` (`id`, `username`, `password`, `created_at`, `deleted_at`) VALUES (2, 'tmalave', '32250170a0dca92d53ec9624f336ca24', '2021-03-01 14:11:03', NULL), (3, 'tainamalave', '482c811da5d5b4bc6d497ffa98491e38', '2021-03-01 16:49:53', NULL), (4, 'tai', '5f4dcc3b5aa765d61d8327deb882cf99', '2021-03-01 18:15:22', NULL), (5, 'tm', '1a1dc91c907325c69271ddf0c944bc72', '2021-03-02 11:35:01', NULL), (6, 'rachel', '5f4dcc3b5aa765d61d8327deb882cf99', '2021-03-02 13:20:44', NULL), (7, 'admin', '482c811da5d5b4bc6d497ffa98491e38', '2021-03-26 12:08:01', NULL), (8, 'taina', '482c811da5d5b4bc6d497ffa98491e38', '2021-03-26 18:09:28', NULL), (11, 'kai', '482c811da5d5b4bc6d497ffa98491e38', '2021-04-01 17:03:19', NULL); -- -- Constraints for dumped tables -- -- -- Constraints for table `answers` -- ALTER TABLE `answers` ADD CONSTRAINT `fk_questions_answers` FOREIGN KEY (`q_id`) REFERENCES `questions` (`id`); -- -- Constraints for table `scoreboard` -- ALTER TABLE `scoreboard` ADD CONSTRAINT `fk_users_scoreboard` FOREIGN KEY (`u_id`) REFERENCES `users` (`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 */;
/* remove twitter from preferences (PRFL-94) */ alter table PROFILE_PREFERENCES_T drop column TWITTER_ENABLED; alter table PROFILE_PREFERENCES_T drop column TWITTER_USERNAME; alter table PROFILE_PREFERENCES_T drop column TWITTER_PASSWORD; /* add external integration table (PRFL-94) */ create table PROFILE_EXTERNAL_INTEGRATION_T ( USER_UUID varchar2(99) not null, TWITTER_TOKEN varchar2(255), TWITTER_SECRET varchar2(255), primary key (USER_UUID) );
-- Mysql Backup of mdl_formgen -- Date 2019-06-18T18:51:12+02:00 -- Backup by DROP TABLE IF EXISTS `rocket_content_item`; CREATE TABLE `rocket_content_item` ( `id` INT NOT NULL AUTO_INCREMENT, `panel` VARCHAR(32) NULL, `order_index` INT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_unicode_ci ; DROP TABLE IF EXISTS `rocket_critmod_save`; CREATE TABLE `rocket_critmod_save` ( `id` INT UNSIGNED NOT NULL AUTO_INCREMENT, `ei_type_path` VARCHAR(255) NOT NULL, `name` VARCHAR(255) NOT NULL, `filter_data_json` TEXT NOT NULL, `sort_data_json` TEXT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_general_ci ; ALTER TABLE `rocket_critmod_save` ADD UNIQUE INDEX `name` (`name`); ALTER TABLE `rocket_critmod_save` ADD INDEX `ei_spec_id` (`ei_type_path`); DROP TABLE IF EXISTS `rocket_custom_grant`; CREATE TABLE `rocket_custom_grant` ( `id` INT UNSIGNED NOT NULL AUTO_INCREMENT, `custom_spec_id` VARCHAR(255) NOT NULL, `rocket_user_group_id` INT UNSIGNED NOT NULL, `full` TINYINT UNSIGNED NOT NULL DEFAULT '1', `access_json` TEXT NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_general_ci ; ALTER TABLE `rocket_custom_grant` ADD UNIQUE INDEX `script_id_user_group_id` (`custom_spec_id`, `rocket_user_group_id`); DROP TABLE IF EXISTS `rocket_ei_grant`; CREATE TABLE `rocket_ei_grant` ( `id` INT UNSIGNED NOT NULL AUTO_INCREMENT, `ei_type_path` VARCHAR(255) NOT NULL, `rocket_user_group_id` INT UNSIGNED NOT NULL, `full` TINYINT UNSIGNED NOT NULL DEFAULT '1', `access_json` TEXT NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_general_ci ; ALTER TABLE `rocket_ei_grant` ADD UNIQUE INDEX `script_id_user_group_id` (`rocket_user_group_id`, `ei_type_path`); DROP TABLE IF EXISTS `rocket_ei_grant_privileges`; CREATE TABLE `rocket_ei_grant_privileges` ( `id` INT UNSIGNED NOT NULL AUTO_INCREMENT, `ei_grant_id` INT UNSIGNED NOT NULL, `ei_privilege_json` TEXT NOT NULL, `restricted` TINYINT NOT NULL DEFAULT '0', `restriction_group_json` TEXT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_general_ci ; DROP TABLE IF EXISTS `rocket_login`; CREATE TABLE `rocket_login` ( `id` INT UNSIGNED NOT NULL AUTO_INCREMENT, `nick` VARCHAR(255) NULL, `wrong_password` VARCHAR(255) NULL, `power` ENUM('superadmin','admin','none') NULL, `successfull` TINYINT UNSIGNED NOT NULL, `ip` VARCHAR(255) NOT NULL DEFAULT '', `date_time` DATETIME NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_general_ci ; DROP TABLE IF EXISTS `rocket_user`; CREATE TABLE `rocket_user` ( `id` INT NOT NULL AUTO_INCREMENT, `nick` VARCHAR(255) NOT NULL, `firstname` VARCHAR(255) NULL, `lastname` VARCHAR(255) NULL, `email` VARCHAR(255) NULL, `power` ENUM('superadmin','admin','none') NOT NULL DEFAULT 'none', `password` VARCHAR(255) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_general_ci ; ALTER TABLE `rocket_user` ADD UNIQUE INDEX `nick` (`nick`); INSERT INTO `rocket_user` (`id`, `nick`, `firstname`, `lastname`, `email`, `power`, `password`) VALUES ( '1', 'super', 'Testerich', 'von Testen', 'testerich@von-testen.com', 'superadmin', '$2a$07$holeradioundholeradioe5FD29ANtu4PChE8W4mZDg.D1eKkBnwq'); DROP TABLE IF EXISTS `rocket_user_access_grant`; CREATE TABLE `rocket_user_access_grant` ( `id` INT UNSIGNED NOT NULL AUTO_INCREMENT, `script_id` VARCHAR(255) NOT NULL, `restricted` TINYINT NOT NULL, `privileges_json` TEXT NOT NULL, `access_json` TEXT NOT NULL, `restriction_json` TEXT NOT NULL, `user_group_id` INT UNSIGNED NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_general_ci ; ALTER TABLE `rocket_user_access_grant` ADD INDEX `user_group_id` (`user_group_id`); DROP TABLE IF EXISTS `rocket_user_group`; CREATE TABLE `rocket_user_group` ( `id` INT UNSIGNED NOT NULL AUTO_INCREMENT, `name` VARCHAR(64) NOT NULL, `nav_json` TEXT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_general_ci ; DROP TABLE IF EXISTS `rocket_user_rocket_user_groups`; CREATE TABLE `rocket_user_rocket_user_groups` ( `rocket_user_id` INT UNSIGNED NOT NULL, `rocket_user_group_id` INT UNSIGNED NOT NULL, PRIMARY KEY (`rocket_user_id`, `rocket_user_group_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_general_ci ;
DELETE FROM UNIT_ACL T1 WHERE T1.PERSON_ID IN (SELECT PERSON_ID FROM PERSON T WHERE T.USER_NAME IN ('sbear', 'ffrog', 'bbunny', 'vviewer', 'mmodify', 'aagreg', 'ssubmit', 'pcreate', 'aadmin', 'aalters')); DELETE FROM PERSON T WHERE T.USER_NAME IN ('sbear', 'ffrog', 'bbunny', 'vviewer', 'mmodify', 'aagreg', 'ssubmit', 'pcreate', 'aadmin', 'aalters'); DELETE FROM KIM_PERSON_ATTRIBUTES_T T1 WHERE T1.PERSON_ID IN (SELECT ID FROM KIM_PERSONS_T T WHERE T.USERNAME IN ('sbear', 'ffrog', 'bbunny', 'vviewer', 'mmodify', 'aagreg', 'ssubmit', 'pcreate', 'aadmin', 'aalters')); DELETE FROM KIM_PERSON_QUAL_ATTR_T T2 WHERE T2.ROLE_PERSON_ID IN (SELECT ID FROM kim_roles_persons_qual_t T1 WHERE T1.PERSON_ID IN (SELECT ID FROM KIM_PERSONS_T T WHERE T.USERNAME IN ('sbear', 'ffrog', 'bbunny', 'vviewer', 'mmodify', 'aagreg', 'ssubmit', 'pcreate', 'aadmin', 'aalters'))); DELETE FROM KIM_ROLES_PERSONS_QUAL_T T1 WHERE T1.PERSON_ID IN (SELECT ID FROM KIM_PERSONS_T T WHERE T.USERNAME IN ('sbear', 'ffrog', 'bbunny', 'vviewer', 'mmodify', 'aagreg', 'ssubmit', 'pcreate', 'aadmin', 'aalters')); DELETE FROM KIM_PERSONS_T T WHERE T.USERNAME IN ('sbear', 'ffrog', 'bbunny', 'vviewer', 'mmodify', 'aagreg', 'ssubmit', 'pcreate', 'aadmin', 'aalters'); DELETE FROM KIM_ROLES_PERMISSIONS_T T1 WHERE T1.ROLE_ID IN (SELECT ID FROM KIM_ROLES_T T WHERE T.NAME LIKE 'TEST%'); DELETE FROM KIM_ROLES_T T WHERE T.NAME LIKE 'TEST%'; COMMIT;
\set ECHO none -- disable the notices for the create script (shell types etc.) SET client_min_messages = 'WARNING'; \i tdigest--1.0.0.sql \i tdigest--1.0.0--1.0.1.sql SET client_min_messages = 'NOTICE'; \set ECHO all -- SRF function implementing a simple deterministict PRNG CREATE OR REPLACE FUNCTION prng(nrows int, seed int = 23982, p1 bigint = 16807, p2 bigint = 0, n bigint = 2147483647) RETURNS SETOF double precision AS $$ DECLARE val INT := seed; BEGIN FOR i IN 1..nrows LOOP val := (val * p1 + p2) % n; RETURN NEXT (val::double precision / n); END LOOP; RETURN; END; $$ LANGUAGE plpgsql; CREATE OR REPLACE FUNCTION random_normal(nrows int, mean double precision = 0.5, stddev double precision = 0.1, minval double precision = 0.0, maxval double precision = 1.0, seed int = 23982, p1 bigint = 16807, p2 bigint = 0, n bigint = 2147483647) RETURNS SETOF double precision AS $$ DECLARE v BIGINT := seed; x DOUBLE PRECISION; y DOUBLE PRECISION; s DOUBLE PRECISION; r INT := nrows; BEGIN WHILE true LOOP -- random x v := (v * p1 + p2) % n; x := 2 * v / n::double precision - 1.0; -- random y v := (v * p1 + p2) % n; y := 2 * v / n::double precision - 1.0; s := x^2 + y^2; IF s != 0.0 AND s < 1.0 THEN s = sqrt(-2 * ln(s) / s); x := mean + stddev * s * x; IF x >= minval AND x <= maxval THEN RETURN NEXT x; r := r - 1; END IF; EXIT WHEN r = 0; y := mean + stddev * s * y; IF y >= minval AND y <= maxval THEN RETURN NEXT y; r := r - 1; END IF; EXIT WHEN r = 0; END IF; END LOOP; END; $$ LANGUAGE plpgsql; ----------------------------------------------------------- -- nice data set with ordered (asc) / evenly-spaced data -- ----------------------------------------------------------- -- 10 centroids (tiny) WITH data AS (SELECT i / 1000000.0 AS x FROM generate_series(1,1000000) s(i)) SELECT p, abs(a - b) < 0.01, -- arbitrary threshold of 1% (CASE WHEN abs(a - b) < 0.01 THEN NULL ELSE (a - b) END) AS err FROM ( SELECT unnest(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) AS p, unnest(tdigest_percentile(x, 10, ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99])) AS a, unnest(percentile_cont(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) WITHIN GROUP (ORDER BY x)) AS b FROM data ) foo; -- make sure the resulting percentiles are in the right order WITH data AS (SELECT i / 1000000.0 AS x FROM generate_series(1,1000000) s(i)), perc AS (SELECT array_agg((i/100.0)::double precision) AS p FROM generate_series(1,99) s(i)) SELECT * FROM ( SELECT p, a, LAG(a) OVER (ORDER BY p) AS b FROM ( SELECT unnest((SELECT p FROM perc)) AS p, unnest(tdigest_percentile(x, 10, (SELECT p FROM perc))) AS a FROM data ) foo ) bar WHERE a <= b; -- 100 centroids (okay-ish) WITH data AS (SELECT i / 1000000.0 AS x FROM generate_series(1,1000000) s(i)) SELECT p, abs(a - b) < 0.01, -- arbitrary threshold of 1% (CASE WHEN abs(a - b) < 0.01 THEN NULL ELSE (a - b) END) AS err FROM ( SELECT unnest(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) AS p, unnest(tdigest_percentile(x, 100, ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99])) AS a, unnest(percentile_cont(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) WITHIN GROUP (ORDER BY x)) AS b FROM data ) foo; -- make sure the resulting percentiles are in the right order WITH data AS (SELECT i / 1000000.0 AS x FROM generate_series(1,1000000) s(i)), perc AS (SELECT array_agg((i/100.0)::double precision) AS p FROM generate_series(1,99) s(i)) SELECT * FROM ( SELECT p, a, LAG(a) OVER (ORDER BY p) AS b FROM ( SELECT unnest((SELECT p FROM perc)) AS p, unnest(tdigest_percentile(x, 100, (SELECT p FROM perc))) AS a FROM data ) foo ) bar WHERE a <= b; -- 1000 centroids (very accurate) WITH data AS (SELECT i / 1000000.0 AS x FROM generate_series(1,1000000) s(i)) SELECT p, abs(a - b) < 0.001, -- arbitrary threshold of 0.1% (CASE WHEN abs(a - b) < 0.001 THEN NULL ELSE (a - b) END) AS err FROM ( SELECT unnest(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) AS p, unnest(tdigest_percentile(x, 1000, ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99])) AS a, unnest(percentile_cont(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) WITHIN GROUP (ORDER BY x)) AS b FROM data ) foo; -- make sure the resulting percentiles are in the right order WITH data AS (SELECT i / 1000000.0 AS x FROM generate_series(1,1000000) s(i)), perc AS (SELECT array_agg((i/100.0)::double precision) AS p FROM generate_series(1,99) s(i)) SELECT * FROM ( SELECT p, a, LAG(a) OVER (ORDER BY p) AS b FROM ( SELECT unnest((SELECT p FROM perc)) AS p, unnest(tdigest_percentile(x, 1000, (SELECT p FROM perc))) AS a FROM data ) foo ) bar WHERE a <= b; ------------------------------------------------------------ -- nice data set with ordered (desc) / evenly-spaced data -- ------------------------------------------------------------ -- 10 centroids (tiny) WITH data AS (SELECT i / 1000000.0 AS x FROM generate_series(1000000,1,-1) s(i)) SELECT p, abs(a - b) < 0.01, -- arbitrary threshold of 1% (CASE WHEN abs(a - b) < 0.01 THEN NULL ELSE (a - b) END) AS err FROM ( SELECT unnest(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) AS p, unnest(tdigest_percentile(x, 10, ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99])) AS a, unnest(percentile_cont(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) WITHIN GROUP (ORDER BY x)) AS b FROM data ) foo; -- make sure the resulting percentiles are in the right order WITH data AS (SELECT i / 1000000.0 AS x FROM generate_series(1000000,1,-1) s(i)), perc AS (SELECT array_agg((i/100.0)::double precision) AS p FROM generate_series(1,99) s(i)) SELECT * FROM ( SELECT p, a, LAG(a) OVER (ORDER BY p) AS b FROM ( SELECT unnest((SELECT p FROM perc)) AS p, unnest(tdigest_percentile(x, 10, (SELECT p FROM perc))) AS a FROM data ) foo ) bar WHERE a <= b; -- 100 centroids (okay-ish) WITH data AS (SELECT i / 1000000.0 AS x FROM generate_series(1000000,1,-1) s(i)) SELECT p, abs(a - b) < 0.01, -- arbitrary threshold of 1% (CASE WHEN abs(a - b) < 0.01 THEN NULL ELSE (a - b) END) AS err FROM ( SELECT unnest(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) AS p, unnest(tdigest_percentile(x, 100, ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99])) AS a, unnest(percentile_cont(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) WITHIN GROUP (ORDER BY x)) AS b FROM data ) foo; -- make sure the resulting percentiles are in the right order WITH data AS (SELECT i / 1000000.0 AS x FROM generate_series(1000000,1,-1) s(i)), perc AS (SELECT array_agg((i/100.0)::double precision) AS p FROM generate_series(1,99) s(i)) SELECT * FROM ( SELECT p, a, LAG(a) OVER (ORDER BY p) AS b FROM ( SELECT unnest((SELECT p FROM perc)) AS p, unnest(tdigest_percentile(x, 100, (SELECT p FROM perc))) AS a FROM data ) foo ) bar WHERE a <= b; -- 1000 centroids (very accurate) WITH data AS (SELECT i / 1000000.0 AS x FROM generate_series(1000000,1,-1) s(i)) SELECT p, abs(a - b) < 0.001, -- arbitrary threshold of 0.1% (CASE WHEN abs(a - b) < 0.001 THEN NULL ELSE (a - b) END) AS err FROM ( SELECT unnest(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) AS p, unnest(tdigest_percentile(x, 1000, ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99])) AS a, unnest(percentile_cont(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) WITHIN GROUP (ORDER BY x)) AS b FROM data ) foo; -- make sure the resulting percentiles are in the right order WITH data AS (SELECT i / 1000000.0 AS x FROM generate_series(1000000,1,-1) s(i)), perc AS (SELECT array_agg((i/100.0)::double precision) AS p FROM generate_series(1,99) s(i)) SELECT * FROM ( SELECT p, a, LAG(a) OVER (ORDER BY p) AS b FROM ( SELECT unnest((SELECT p FROM perc)) AS p, unnest(tdigest_percentile(x, 1000, (SELECT p FROM perc))) AS a FROM data ) foo ) bar WHERE a <= b; ---------------------------------------------------- -- nice data set with random / evenly-spaced data -- ---------------------------------------------------- -- 10 centroids (tiny) WITH data AS (SELECT i / 1000000.0 AS x FROM (SELECT generate_series(1,1000000) AS i, prng(1000000, 49979693) AS x ORDER BY x) foo) SELECT p, abs(a - b) < 0.1, -- arbitrary threshold of 10% (CASE WHEN abs(a - b) < 0.1 THEN NULL ELSE (a - b) END) AS err FROM ( SELECT unnest(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) AS p, unnest(tdigest_percentile(x, 10, ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99])) AS a, unnest(percentile_cont(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) WITHIN GROUP (ORDER BY x)) AS b FROM data ) foo; -- make sure the resulting percentiles are in the right order WITH data AS (SELECT i / 1000000.0 AS x FROM (SELECT generate_series(1,1000000) AS i, prng(1000000, 49979693) AS x ORDER BY x) foo), perc AS (SELECT array_agg((i/100.0)::double precision) AS p FROM generate_series(1,99) s(i)) SELECT * FROM ( SELECT p, a, LAG(a) OVER (ORDER BY p) AS b FROM ( SELECT unnest((SELECT p FROM perc)) AS p, unnest(tdigest_percentile(x, 10, (SELECT p FROM perc))) AS a FROM data ) foo ) bar WHERE a <= b; -- 100 centroids (okay-ish) WITH data AS (SELECT i / 1000000.0 AS x FROM (SELECT generate_series(1,1000000) AS i, prng(1000000, 49979693) AS x ORDER BY x) foo) SELECT p, abs(a - b) < 0.01, -- arbitrary threshold of 1% (CASE WHEN abs(a - b) < 0.01 THEN NULL ELSE (a - b) END) AS err FROM ( SELECT unnest(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) AS p, unnest(tdigest_percentile(x, 100, ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99])) AS a, unnest(percentile_cont(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) WITHIN GROUP (ORDER BY x)) AS b FROM data ) foo; -- make sure the resulting percentiles are in the right order WITH data AS (SELECT i / 1000000.0 AS x FROM (SELECT generate_series(1,1000000) AS i, prng(1000000, 49979693) AS x ORDER BY x) foo), perc AS (SELECT array_agg((i/100.0)::double precision) AS p FROM generate_series(1,99) s(i)) SELECT * FROM ( SELECT p, a, LAG(a) OVER (ORDER BY p) AS b FROM ( SELECT unnest((SELECT p FROM perc)) AS p, unnest(tdigest_percentile(x, 100, (SELECT p FROM perc))) AS a FROM data ) foo ) bar WHERE a <= b; -- 1000 centroids (very accurate) WITH data AS (SELECT i / 1000000.0 AS x FROM (SELECT generate_series(1,1000000) AS i, prng(1000000, 49979693) AS x ORDER BY x) foo) SELECT p, abs(a - b) < 0.001, -- arbitrary threshold of 0.1% (CASE WHEN abs(a - b) < 0.001 THEN NULL ELSE (a - b) END) AS err FROM ( SELECT unnest(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) AS p, unnest(tdigest_percentile(x, 1000, ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99])) AS a, unnest(percentile_cont(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) WITHIN GROUP (ORDER BY x)) AS b FROM data ) foo; -- make sure the resulting percentiles are in the right order WITH data AS (SELECT i / 1000000.0 AS x FROM (SELECT generate_series(1,1000000) AS i, prng(1000000, 49979693) AS x ORDER BY x) foo), perc AS (SELECT array_agg((i/100.0)::double precision) AS p FROM generate_series(1,99) s(i)) SELECT * FROM ( SELECT p, a, LAG(a) OVER (ORDER BY p) AS b FROM ( SELECT unnest((SELECT p FROM perc)) AS p, unnest(tdigest_percentile(x, 1000, (SELECT p FROM perc))) AS a FROM data ) foo ) bar WHERE a <= b; ---------------------------------------------- -- nice data set with random data (uniform) -- ---------------------------------------------- -- 10 centroids (tiny) WITH data AS (SELECT x FROM prng(1000000) s(x)) SELECT p, abs(a - b) < 0.1, -- arbitrary threshold of 10% (CASE WHEN abs(a - b) < 0.1 THEN NULL ELSE (a - b) END) AS err FROM ( SELECT unnest(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) AS p, unnest(tdigest_percentile(x, 10, ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99])) AS a, unnest(percentile_cont(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) WITHIN GROUP (ORDER BY x)) AS b FROM data ) foo; -- make sure the resulting percentiles are in the right order WITH data AS (SELECT x FROM prng(1000000) s(x)), perc AS (SELECT array_agg((i/100.0)::double precision) AS p FROM generate_series(1,99) s(i)) SELECT * FROM ( SELECT p, a, LAG(a) OVER (ORDER BY p) AS b FROM ( SELECT unnest((SELECT p FROM perc)) AS p, unnest(tdigest_percentile(x, 10, (SELECT p FROM perc))) AS a FROM data ) foo ) bar WHERE a <= b; -- 100 centroids (okay-ish) WITH data AS (SELECT x FROM prng(1000000) s(x)) SELECT p, abs(a - b) < 0.01, -- arbitrary threshold of 1% (CASE WHEN abs(a - b) < 0.01 THEN NULL ELSE (a - b) END) AS err FROM ( SELECT unnest(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) AS p, unnest(tdigest_percentile(x, 100, ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99])) AS a, unnest(percentile_cont(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) WITHIN GROUP (ORDER BY x)) AS b FROM data ) foo; -- make sure the resulting percentiles are in the right order WITH data AS (SELECT x FROM prng(1000000) s(x)), perc AS (SELECT array_agg((i/100.0)::double precision) AS p FROM generate_series(1,99) s(i)) SELECT * FROM ( SELECT p, a, LAG(a) OVER (ORDER BY p) AS b FROM ( SELECT unnest((SELECT p FROM perc)) AS p, unnest(tdigest_percentile(x, 100, (SELECT p FROM perc))) AS a FROM data ) foo ) bar WHERE a <= b; -- 1000 centroids (very accurate) WITH data AS (SELECT x FROM prng(1000000) s(x)) SELECT p, abs(a - b) < 0.001, -- arbitrary threshold of 0.1% (CASE WHEN abs(a - b) < 0.001 THEN NULL ELSE (a - b) END) AS err FROM ( SELECT unnest(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) AS p, unnest(tdigest_percentile(x, 1000, ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99])) AS a, unnest(percentile_cont(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) WITHIN GROUP (ORDER BY x)) AS b FROM data ) foo; -- make sure the resulting percentiles are in the right order WITH data AS (SELECT x FROM prng(1000000) s(x)), perc AS (SELECT array_agg((i/100.0)::double precision) AS p FROM generate_series(1,99) s(i)) SELECT * FROM ( SELECT p, a, LAG(a) OVER (ORDER BY p) AS b FROM ( SELECT unnest((SELECT p FROM perc)) AS p, unnest(tdigest_percentile(x, 1000, (SELECT p FROM perc))) AS a FROM data ) foo ) bar WHERE a <= b; -------------------------------------------------- -- nice data set with random data (skewed sqrt) -- -------------------------------------------------- -- 10 centroids (tiny) WITH data AS (SELECT sqrt(z) AS x FROM prng(1000000) s(z)) SELECT p, abs(a - b) < 0.1, -- arbitrary threshold of 10% (CASE WHEN abs(a - b) < 0.1 THEN NULL ELSE (a - b) END) AS err FROM ( SELECT unnest(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) AS p, unnest(tdigest_percentile(x, 10, ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99])) AS a, unnest(percentile_cont(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) WITHIN GROUP (ORDER BY x)) AS b FROM data ) foo; -- make sure the resulting percentiles are in the right order WITH data AS (SELECT sqrt(z) AS x FROM prng(1000000) s(z)), perc AS (SELECT array_agg((i/100.0)::double precision) AS p FROM generate_series(1,99) s(i)) SELECT * FROM ( SELECT p, a, LAG(a) OVER (ORDER BY p) AS b FROM ( SELECT unnest((SELECT p FROM perc)) AS p, unnest(tdigest_percentile(x, 10, (SELECT p FROM perc))) AS a FROM data ) foo ) bar WHERE a <= b; -- 100 centroids (okay-ish) WITH data AS (SELECT sqrt(z) AS x FROM prng(1000000) s(z)) SELECT p, abs(a - b) < 0.01, -- arbitrary threshold of 1% (CASE WHEN abs(a - b) < 0.01 THEN NULL ELSE (a - b) END) AS err FROM ( SELECT unnest(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) AS p, unnest(tdigest_percentile(x, 100, ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99])) AS a, unnest(percentile_cont(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) WITHIN GROUP (ORDER BY x)) AS b FROM data ) foo; -- make sure the resulting percentiles are in the right order WITH data AS (SELECT sqrt(z) AS x FROM prng(1000000) s(z)), perc AS (SELECT array_agg((i/100.0)::double precision) AS p FROM generate_series(1,99) s(i)) SELECT * FROM ( SELECT p, a, LAG(a) OVER (ORDER BY p) AS b FROM ( SELECT unnest((SELECT p FROM perc)) AS p, unnest(tdigest_percentile(x, 100, (SELECT p FROM perc))) AS a FROM data ) foo ) bar WHERE a <= b; -- 1000 centroids (very accurate) WITH data AS (SELECT sqrt(z) AS x FROM prng(1000000) s(z)) SELECT p, abs(a - b) < 0.001, -- arbitrary threshold of 0.1% (CASE WHEN abs(a - b) < 0.001 THEN NULL ELSE (a - b) END) AS err FROM ( SELECT unnest(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) AS p, unnest(tdigest_percentile(x, 1000, ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99])) AS a, unnest(percentile_cont(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) WITHIN GROUP (ORDER BY x)) AS b FROM data ) foo; -- make sure the resulting percentiles are in the right order WITH data AS (SELECT sqrt(z) AS x FROM prng(1000000) s(z)), perc AS (SELECT array_agg((i/100.0)::double precision) AS p FROM generate_series(1,99) s(i)) SELECT * FROM ( SELECT p, a, LAG(a) OVER (ORDER BY p) AS b FROM ( SELECT unnest((SELECT p FROM perc)) AS p, unnest(tdigest_percentile(x, 1000, (SELECT p FROM perc))) AS a FROM data ) foo ) bar WHERE a <= b; ------------------------------------------------------- -- nice data set with random data (skewed sqrt+sqrt) -- ------------------------------------------------------- -- 10 centroids (tiny) WITH data AS (SELECT sqrt(sqrt(z)) AS x FROM prng(1000000) s(z)) SELECT p, abs(a - b) < 0.1, -- arbitrary threshold of 10% (CASE WHEN abs(a - b) < 0.1 THEN NULL ELSE (a - b) END) AS err FROM ( SELECT unnest(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) AS p, unnest(tdigest_percentile(x, 10, ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99])) AS a, unnest(percentile_cont(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) WITHIN GROUP (ORDER BY x)) AS b FROM data ) foo; -- make sure the resulting percentiles are in the right order WITH data AS (SELECT sqrt(sqrt(z)) AS x FROM prng(1000000) s(z)), perc AS (SELECT array_agg((i/100.0)::double precision) AS p FROM generate_series(1,99) s(i)) SELECT * FROM ( SELECT p, a, LAG(a) OVER (ORDER BY p) AS b FROM ( SELECT unnest((SELECT p FROM perc)) AS p, unnest(tdigest_percentile(x, 10, (SELECT p FROM perc))) AS a FROM data ) foo ) bar WHERE a <= b; -- 100 centroids (okay-ish) WITH data AS (SELECT sqrt(sqrt(z)) AS x FROM prng(1000000) s(z)) SELECT p, abs(a - b) < 0.01, -- arbitrary threshold of 1% (CASE WHEN abs(a - b) < 0.01 THEN NULL ELSE (a - b) END) AS err FROM ( SELECT unnest(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) AS p, unnest(tdigest_percentile(x, 100, ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99])) AS a, unnest(percentile_cont(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) WITHIN GROUP (ORDER BY x)) AS b FROM data ) foo; -- make sure the resulting percentiles are in the right order WITH data AS (SELECT sqrt(sqrt(z)) AS x FROM prng(1000000) s(z)), perc AS (SELECT array_agg((i/100.0)::double precision) AS p FROM generate_series(1,99) s(i)) SELECT * FROM ( SELECT p, a, LAG(a) OVER (ORDER BY p) AS b FROM ( SELECT unnest((SELECT p FROM perc)) AS p, unnest(tdigest_percentile(x, 100, (SELECT p FROM perc))) AS a FROM data ) foo ) bar WHERE a <= b; -- 1000 centroids (very accurate) WITH data AS (SELECT sqrt(sqrt(z)) AS x FROM prng(1000000) s(z)) SELECT p, abs(a - b) < 0.001, -- arbitrary threshold of 0.1% (CASE WHEN abs(a - b) < 0.001 THEN NULL ELSE (a - b) END) AS err FROM ( SELECT unnest(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) AS p, unnest(tdigest_percentile(x, 1000, ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99])) AS a, unnest(percentile_cont(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) WITHIN GROUP (ORDER BY x)) AS b FROM data ) foo; -- make sure the resulting percentiles are in the right order WITH data AS (SELECT sqrt(sqrt(z)) AS x FROM prng(1000000) s(z)), perc AS (SELECT array_agg((i/100.0)::double precision) AS p FROM generate_series(1,99) s(i)) SELECT * FROM ( SELECT p, a, LAG(a) OVER (ORDER BY p) AS b FROM ( SELECT unnest((SELECT p FROM perc)) AS p, unnest(tdigest_percentile(x, 1000, (SELECT p FROM perc))) AS a FROM data ) foo ) bar WHERE a <= b; ------------------------------------------------- -- nice data set with random data (skewed pow) -- ------------------------------------------------- -- 10 centroids (tiny) WITH data AS (SELECT pow(z, 2) AS x FROM prng(1000000) s(z)) SELECT p, abs(a - b) < 0.1, -- arbitrary threshold of 10% (CASE WHEN abs(a - b) < 0.1 THEN NULL ELSE (a - b) END) AS err FROM ( SELECT unnest(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) AS p, unnest(tdigest_percentile(x, 10, ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99])) AS a, unnest(percentile_cont(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) WITHIN GROUP (ORDER BY x)) AS b FROM data ) foo; -- make sure the resulting percentiles are in the right order WITH data AS (SELECT pow(z, 2) AS x FROM prng(1000000) s(z)), perc AS (SELECT array_agg((i/100.0)::double precision) AS p FROM generate_series(1,99) s(i)) SELECT * FROM ( SELECT p, a, LAG(a) OVER (ORDER BY p) AS b FROM ( SELECT unnest((SELECT p FROM perc)) AS p, unnest(tdigest_percentile(x, 10, (SELECT p FROM perc))) AS a FROM data ) foo ) bar WHERE a <= b; -- 100 centroids (okay-ish) WITH data AS (SELECT pow(z, 2) AS x FROM prng(1000000) s(z)) SELECT p, abs(a - b) < 0.005, -- arbitrary threshold of 0.5% (CASE WHEN abs(a - b) < 0.005 THEN NULL ELSE (a - b) END) AS err FROM ( SELECT unnest(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) AS p, unnest(tdigest_percentile(x, 100, ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99])) AS a, unnest(percentile_cont(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) WITHIN GROUP (ORDER BY x)) AS b FROM data ) foo; -- make sure the resulting percentiles are in the right order WITH data AS (SELECT pow(z, 2) AS x FROM prng(1000000) s(z)), perc AS (SELECT array_agg((i/100.0)::double precision) AS p FROM generate_series(1,99) s(i)) SELECT * FROM ( SELECT p, a, LAG(a) OVER (ORDER BY p) AS b FROM ( SELECT unnest((SELECT p FROM perc)) AS p, unnest(tdigest_percentile(x, 100, (SELECT p FROM perc))) AS a FROM data ) foo ) bar WHERE a <= b; -- 1000 centroids (very accurate) WITH data AS (SELECT pow(z, 2) AS x FROM prng(1000000) s(z)) SELECT p, abs(a - b) < 0.001, -- arbitrary threshold of 0.1% (CASE WHEN abs(a - b) < 0.001 THEN NULL ELSE (a - b) END) AS err FROM ( SELECT unnest(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) AS p, unnest(tdigest_percentile(x, 1000, ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99])) AS a, unnest(percentile_cont(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) WITHIN GROUP (ORDER BY x)) AS b FROM data ) foo; -- make sure the resulting percentiles are in the right order WITH data AS (SELECT pow(z, 2) AS x FROM prng(1000000) s(z)), perc AS (SELECT array_agg((i/100.0)::double precision) AS p FROM generate_series(1,99) s(i)) SELECT * FROM ( SELECT p, a, LAG(a) OVER (ORDER BY p) AS b FROM ( SELECT unnest((SELECT p FROM perc)) AS p, unnest(tdigest_percentile(x, 1000, (SELECT p FROM perc))) AS a FROM data ) foo ) bar WHERE a <= b; ----------------------------------------------------- -- nice data set with random data (skewed pow+pow) -- ----------------------------------------------------- -- 10 centroids (tiny) WITH data AS (SELECT pow(z, 4) AS x FROM prng(1000000) s(z)) SELECT p, abs(a - b) < 0.1, -- arbitrary threshold of 10% (CASE WHEN abs(a - b) < 0.1 THEN NULL ELSE (a - b) END) AS err FROM ( SELECT unnest(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) AS p, unnest(tdigest_percentile(x, 10, ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99])) AS a, unnest(percentile_cont(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) WITHIN GROUP (ORDER BY x)) AS b FROM data ) foo; -- make sure the resulting percentiles are in the right order WITH data AS (SELECT pow(z, 4) AS x FROM prng(1000000) s(z)), perc AS (SELECT array_agg((i/100.0)::double precision) AS p FROM generate_series(1,99) s(i)) SELECT * FROM ( SELECT p, a, LAG(a) OVER (ORDER BY p) AS b FROM ( SELECT unnest((SELECT p FROM perc)) AS p, unnest(tdigest_percentile(x, 10, (SELECT p FROM perc))) AS a FROM data ) foo ) bar WHERE a <= b; -- 100 centroids (okay-ish) WITH data AS (SELECT pow(z, 4) AS x FROM prng(1000000) s(z)) SELECT p, abs(a - b) < 0.01, -- arbitrary threshold of 1% (CASE WHEN abs(a - b) < 0.01 THEN NULL ELSE (a - b) END) AS err FROM ( SELECT unnest(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) AS p, unnest(tdigest_percentile(x, 100, ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99])) AS a, unnest(percentile_cont(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) WITHIN GROUP (ORDER BY x)) AS b FROM data ) foo; -- make sure the resulting percentiles are in the right order WITH data AS (SELECT pow(z, 4) AS x FROM prng(1000000) s(z)), perc AS (SELECT array_agg((i/100.0)::double precision) AS p FROM generate_series(1,99) s(i)) SELECT * FROM ( SELECT p, a, LAG(a) OVER (ORDER BY p) AS b FROM ( SELECT unnest((SELECT p FROM perc)) AS p, unnest(tdigest_percentile(x, 100, (SELECT p FROM perc))) AS a FROM data ) foo ) bar WHERE a <= b; -- 1000 centroids (very accurate) WITH data AS (SELECT pow(z, 4) AS x FROM prng(1000000) s(z)) SELECT p, abs(a - b) < 0.001, -- arbitrary threshold of 0.1% (CASE WHEN abs(a - b) < 0.001 THEN NULL ELSE (a - b) END) AS err FROM ( SELECT unnest(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) AS p, unnest(tdigest_percentile(x, 1000, ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99])) AS a, unnest(percentile_cont(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) WITHIN GROUP (ORDER BY x)) AS b FROM data ) foo; -- make sure the resulting percentiles are in the right order WITH data AS (SELECT pow(z, 4) AS x FROM prng(1000000) s(z)), perc AS (SELECT array_agg((i/100.0)::double precision) AS p FROM generate_series(1,99) s(i)) SELECT * FROM ( SELECT p, a, LAG(a) OVER (ORDER BY p) AS b FROM ( SELECT unnest((SELECT p FROM perc)) AS p, unnest(tdigest_percentile(x, 1000, (SELECT p FROM perc))) AS a FROM data ) foo ) bar WHERE a <= b; ---------------------------------------------------------- -- nice data set with random data (normal distribution) -- ---------------------------------------------------------- -- 10 centroids (tiny) WITH data AS (SELECT pow(z, 4) AS x FROM random_normal(1000000) s(z)) SELECT p, abs(a - b) < 0.025, -- arbitrary threshold of 2.5% (CASE WHEN abs(a - b) < 0.025 THEN NULL ELSE (a - b) END) AS err FROM ( SELECT unnest(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) AS p, unnest(tdigest_percentile(x, 10, ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99])) AS a, unnest(percentile_cont(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) WITHIN GROUP (ORDER BY x)) AS b FROM data ) foo; -- make sure the resulting percentiles are in the right order WITH data AS (SELECT pow(z, 4) AS x FROM random_normal(1000000) s(z)), perc AS (SELECT array_agg((i/100.0)::double precision) AS p FROM generate_series(1,99) s(i)) SELECT * FROM ( SELECT p, a, LAG(a) OVER (ORDER BY p) AS b FROM ( SELECT unnest((SELECT p FROM perc)) AS p, unnest(tdigest_percentile(x, 10, (SELECT p FROM perc))) AS a FROM data ) foo ) bar WHERE a <= b; -- 100 centroids (okay-ish) WITH data AS (SELECT pow(z, 4) AS x FROM random_normal(1000000) s(z)) SELECT p, abs(a - b) < 0.01, -- arbitrary threshold of 1% (CASE WHEN abs(a - b) < 0.01 THEN NULL ELSE (a - b) END) AS err FROM ( SELECT unnest(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) AS p, unnest(tdigest_percentile(x, 100, ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99])) AS a, unnest(percentile_cont(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) WITHIN GROUP (ORDER BY x)) AS b FROM data ) foo; -- make sure the resulting percentiles are in the right order WITH data AS (SELECT pow(z, 4) AS x FROM random_normal(1000000) s(z)), perc AS (SELECT array_agg((i/100.0)::double precision) AS p FROM generate_series(1,99) s(i)) SELECT * FROM ( SELECT p, a, LAG(a) OVER (ORDER BY p) AS b FROM ( SELECT unnest((SELECT p FROM perc)) AS p, unnest(tdigest_percentile(x, 100, (SELECT p FROM perc))) AS a FROM data ) foo ) bar WHERE a <= b; -- 1000 centroids (very accurate) WITH data AS (SELECT pow(z, 4) AS x FROM random_normal(1000000) s(z)) SELECT p, abs(a - b) < 0.001, -- arbitrary threshold of 0.1% (CASE WHEN abs(a - b) < 0.001 THEN NULL ELSE (a - b) END) AS err FROM ( SELECT unnest(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) AS p, unnest(tdigest_percentile(x, 1000, ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99])) AS a, unnest(percentile_cont(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) WITHIN GROUP (ORDER BY x)) AS b FROM data ) foo; -- make sure the resulting percentiles are in the right order WITH data AS (SELECT pow(z, 4) AS x FROM random_normal(1000000) s(z)), perc AS (SELECT array_agg((i/100.0)::double precision) AS p FROM generate_series(1,99) s(i)) SELECT * FROM ( SELECT p, a, LAG(a) OVER (ORDER BY p) AS b FROM ( SELECT unnest((SELECT p FROM perc)) AS p, unnest(tdigest_percentile(x, 1000, (SELECT p FROM perc))) AS a FROM data ) foo ) bar WHERE a <= b; -- some basic tests to verify transforming from and to text work -- 10 centroids (tiny) WITH data AS (SELECT i / 1000000.0 AS x FROM generate_series(1,1000000) s(i)), intermediate AS (SELECT tdigest(x, 10)::text AS intermediate_x FROM data), tdigest_parsed AS (SELECT tdigest_percentile(intermediate_x::tdigest, ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) AS a FROM intermediate), pg_percentile AS (SELECT percentile_cont(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) WITHIN GROUP (ORDER BY x) AS b FROM data) SELECT p, abs(a - b) < 0.01, -- arbitrary threshold of 1% (CASE WHEN abs(a - b) < 0.01 THEN NULL ELSE (a - b) END) AS err FROM ( SELECT unnest(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) AS p, unnest(a) AS a, unnest(b) AS b FROM tdigest_parsed, pg_percentile ) foo; -- verify we can store tdigest in a summary table CREATE TABLE intermediate_tdigest (grouping int, summary tdigest); WITH data AS (SELECT row_number() OVER () AS i, pow(z, 4) AS x FROM random_normal(1000000) s(z)) INSERT INTO intermediate_tdigest SELECT i % 10 AS grouping, tdigest(x, 100) AS summary FROM data GROUP BY i % 10; WITH data AS (SELECT pow(z, 4) AS x FROM random_normal(1000000) s(z)), intermediate AS (SELECT tdigest_percentile(summary, ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) AS a FROM intermediate_tdigest), pg_percentile AS (SELECT percentile_cont(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) WITHIN GROUP (ORDER BY x) AS b FROM data) SELECT p, abs(a - b) < 0.01, -- arbitrary threshold of 1% (CASE WHEN abs(a - b) < 0.01 THEN NULL ELSE (a - b) END) AS err FROM ( SELECT unnest(ARRAY[0.01, 0.05, 0.1, 0.9, 0.95, 0.99]) AS p, unnest(a) AS a, unnest(b) AS b FROM intermediate, pg_percentile ) foo; -- verify 'extreme' percentiles for the dataset would not read out of bounds on the centroids WITH data AS (SELECT x FROM generate_series(1,10) AS x) SELECT p, abs(a - b) < 0.1, -- arbitrary threshold of 10% given the small dataset and extreme percentiles it is not very accurate (CASE WHEN abs(a - b) < 0.1 THEN NULL ELSE (a - b) END) AS err FROM ( SELECT unnest(ARRAY[0.01, 0.99]) AS p, unnest(tdigest_percentile(x, 10, ARRAY[0.01, 0.99])) AS a, unnest(percentile_cont(ARRAY[0.01, 0.99]) WITHIN GROUP (ORDER BY x)) AS b FROM data ) foo; -- check that the computed percentiles are perfectly correlated (don't decrease for higher p values) -- first test on a tiny t-digest with all centroids having count = 1 WITH -- percentiles to compute perc AS (SELECT array_agg((i / 100.0)::double precision) AS percentiles FROM generate_series(1,99) s(i)), -- input data (just 15 points) input_data AS (select i::double precision AS val FROM generate_series(1,15) s(i)) SELECT * FROM ( SELECT p, v AS v1, lag(v, 1) OVER (ORDER BY p) v2 FROM ( SELECT unnest(perc.percentiles) p, unnest(tdigest_percentile(input_data.val, 100, perc.percentiles)) v FROM perc, input_data GROUP BY perc.percentiles ) foo ) bar where v2 > v1;
-- packages/acs-events/sql/postgres/test/time_interval-test.sql -- -- Regression tests for time_interval API -- -- @author jowell@jsabino.com -- @creation-date 2001-06-26 -- -- $Id: time_intervals-test.sql,v 1.4 2015/12/04 13:50:03 cvs Exp $ -- Note: These tests use the semi-ported utPLSQL regression package \i utest-create.sql -- Set-up the regression test CREATE OR REPLACE FUNCTION ut__setup() RETURNS integer AS $$ BEGIN raise notice 'Setting up time_intervals test...'; -- create copies of the tables (shadow tables) to verify API operations -- No need for execute here? create table ut_time_intervals as select * from time_intervals; -- For testing purposes, both tables should still be empty PERFORM ut_assert__eqtable ('Comparing copied data for time interval', 'time_intervals', 'ut_time_intervals' ); -- Store keys that are in the table prior to the regresion test create table ut_interval_ids as select interval_id from time_intervals; return 0; END; $$ LANGUAGE plpgsql; -- Clean up the mess that regression testing did CREATE OR REPLACE FUNCTION ut__teardown() RETURNS integer AS $$ BEGIN raise notice 'Tearing down time_intervals test...'; -- Delete intervals added by tests -- cascade delete in timespans should delete corresponding entries in that table -- Note that we exclude deleting rows that existed prior to regression test delete from ut_time_intervals where interval_id not in (select interval_id from ut_interval_ids); -- Drop test tables -- cascade option does not work? drop table ut_time_intervals; drop table ut_interval_ids; return 0; END; $$ LANGUAGE plpgsql; -- Postgres has this weird behavior that you cannot change a row twice -- within a transaction. -- We test the creation of a time interval entry -- added select define_function_args('ut__new','date1,date2'); -- -- procedure ut__new/2 -- CREATE OR REPLACE FUNCTION ut__new( new__date1 timestamptz, new__date2 timestamptz ) RETURNS integer AS $$ DECLARE new__interval_id time_intervals.interval_id%TYPE; v_result integer; BEGIN raise notice 'Testing time_interval__new...'; -- create a time interval, and check if entry is made v_result := ut_assert__isnotnull ('Creating a new test time interval:', time_interval__new(new__date1, new__date2) ); -- Verify that the API does the correct insert by manually entering -- an entry in the shadow table -- Note that we did not port the currval in the timepsan_seq view select currval('timespan_sequence') into new__interval_id; insert into ut_time_intervals(interval_id, start_date, end_date) values(new__interval_id, new__date1, new__date2); PERFORM ut_assert__eqtable ('Comparing created data for time interval :', 'time_intervals', 'ut_time_intervals' ); -- If successful, interval id is correct return new__interval_id; END; $$ LANGUAGE plpgsql; -- Check the deletion of a time interval -- added select define_function_args('ut__delete','interval_id'); -- -- procedure ut__delete/1 -- CREATE OR REPLACE FUNCTION ut__delete( delete__interval_id integer ) RETURNS integer AS $$ DECLARE BEGIN raise notice 'Testing time interval delete...'; -- Delete entry from shadow table delete from ut_time_intervals where interval_id = delete__interval_id; -- Delete the row from actual table PERFORM time_interval__delete(delete__interval_id); -- Verify time interval not there. PERFORM ut_assert__eqtable ('Delete verification', 'ut_time_intervals', 'time_intervals' ); -- If successful, interval id is correct return 0; END; $$ LANGUAGE plpgsql; -- added select define_function_args('ut__edit','interval_id,start_date,end_date'); -- -- procedure ut__edit/3 -- CREATE OR REPLACE FUNCTION ut__edit( edit__interval_id integer, edit__start_date timestamptz, edit__end_date timestamptz ) RETURNS integer AS $$ DECLARE BEGIN raise notice 'Testing time_interval__edit...'; -- Edit the time interval PERFORM time_interval__edit(edit__interval_id,edit__start_date,edit__end_date); -- Verify if edit__start_date is not null and edit__end_date is not null then update ut_time_intervals set start_date = edit__start_date, end_date = edit__end_date where interval_id = edit__interval_id; end if; if edit__start_date is null and edit__end_date is not null then update ut_time_intervals set end_date = edit__end_date where interval_id = edit__interval_id; end if; if edit__start_date is not null and edit__end_date is null then update ut_time_intervals set start_date = edit__start_date where interval_id = edit__interval_id; end if; PERFORM ut_assert__eqtable ('Comparing edited data for time interval', 'time_intervals', 'ut_time_intervals' ); return 0; END; $$ LANGUAGE plpgsql; -- added select define_function_args('ut__eq','msg,interval_id_1,interval_id_2,result'); -- -- procedure ut__eq/4 -- CREATE OR REPLACE FUNCTION ut__eq( eq__msg varchar, eq__interval_id_1 integer, eq__interval_id_2 integer, eq__result boolean ) RETURNS integer AS $$ DECLARE BEGIN PERFORM ut_assert__eq (eq__msg, time_interval__eq(eq__interval_id_1, eq__interval_id_2), eq__result ); return 0; END; $$ LANGUAGE plpgsql; -- added select define_function_args('ut__shift','interval_id,offset_1,offset_2,date1,date2'); -- -- procedure ut__shift/5 -- CREATE OR REPLACE FUNCTION ut__shift( shift__interval_id integer, shift__offset_1 integer, shift__offset_2 integer, shift__date1 timestamptz, shift__date2 timestamptz ) RETURNS integer AS $$ DECLARE BEGIN raise notice 'Testing shift...'; -- Shift the time interval PERFORM time_interval__shift(shift__interval_id, shift__offset_1, shift__offset_2); -- Verify update ut_time_intervals set start_date = shift__date1, end_date = shift__date2 where interval_id = shift__interval_id; PERFORM ut_assert__eqtable ('Comparing shifted data for time intervals', 'time_intervals', 'ut_time_intervals' ); return 0; END; $$ LANGUAGE plpgsql; -- added -- -- procedure ut__overlaps_p/4 -- CREATE OR REPLACE FUNCTION ut__overlaps_p( overlaps_p__msg varchar, overlaps_p__interval_id_1 integer, overlaps_p__interval_id_2 integer, overlaps_p__result boolean ) RETURNS integer AS $$ DECLARE BEGIN -- Test the time interval PERFORM ut_assert__eq (overlaps_p__msg, time_interval__overlaps_p(overlaps_p__interval_id_1, overlaps_p__interval_id_2), overlaps_p__result ); return 0; END; $$ LANGUAGE plpgsql; -- added -- -- procedure ut__overlaps_p/5 -- CREATE OR REPLACE FUNCTION ut__overlaps_p( overlaps_p__msg varchar, overlaps_p__interval_id integer, overlaps_p__start_date timestamptz, overlaps_p__end_date timestamptz, overlaps_p__result boolean ) RETURNS integer AS $$ DECLARE BEGIN -- Test the time interval PERFORM ut_assert__eq (overlaps_p__msg, time_interval__overlaps_p(overlaps_p__interval_id, overlaps_p__start_date, overlaps_p__end_date), overlaps_p__result ); return 0; END; $$ LANGUAGE plpgsql; -- added select define_function_args('ut__overlaps_p','msg,start_date_1,end_date_1,start_date_2,end_date_2,result'); -- -- procedure ut__overlaps_p/6 -- CREATE OR REPLACE FUNCTION ut__overlaps_p( overlaps_p__msg varchar, overlaps_p__start_date_1 timestamptz, overlaps_p__end_date_1 timestamptz, overlaps_p__start_date_2 timestamptz, overlaps_p__end_date_2 timestamptz, overlaps_p__result boolean ) RETURNS integer AS $$ DECLARE BEGIN -- Test the time interval PERFORM ut_assert__eq (overlaps_p__msg, time_interval__overlaps_p(overlaps_p__start_date_1, overlaps_p__end_date_1, overlaps_p__start_date_2, overlaps_p__end_date_2), overlaps_p__result ); return 0; END; $$ LANGUAGE plpgsql; -- added select define_function_args('ut__copy','interval_id,offset'); -- -- procedure ut__copy/2 -- CREATE OR REPLACE FUNCTION ut__copy( copy__interval_id integer, copy__offset integer ) RETURNS integer AS $$ DECLARE v_interval_id time_intervals.interval_id%TYPE; interval_row record; BEGIN raise notice 'Testing time_interval__copy...'; -- Copy the time interval v_interval_id := time_interval__copy(copy__interval_id,copy__offset); -- Get the copied start and end dates, before the offset select * into interval_row from time_intervals where interval_id = copy__interval_id; -- Insert for testing insert into ut_time_intervals (interval_id, start_date, end_date) values (v_interval_id, interval_row.start_date + copy__offset, interval_row.end_date + copy__offset); -- Verify copies PERFORM ut_assert__eqtable ('Comparing copied data for time intervals', 'time_intervals', 'ut_time_intervals' ); return v_interval_id; END; $$ LANGUAGE plpgsql; -- -- procedure ut__regression1/0 -- CREATE OR REPLACE FUNCTION ut__regression1( ) RETURNS integer AS $$ DECLARE v_result integer := 0; v_interval_id time_intervals.interval_id%TYPE; v_interval_id_ck time_intervals.interval_id%TYPE; BEGIN raise notice 'Regression test, part 1 (creates and edits).'; -- We first check if the creation of time intervals work v_interval_id := ut__new(timestamptz '2001-01-01',timestamptz '2001-01-02'); -- Try to edit, putting new values for start date and end dates PERFORM ut__edit(v_interval_id,timestamptz '2001-01-02',timestamptz '2001-01-30'); -- Edit, but this time, change only the start date PERFORM ut__edit(v_interval_id,timestamptz '2001-01-07',null); -- Edit, but this time, change only the end date PERFORM ut__edit(v_interval_id,null,timestamptz '2001-01-08'); -- We now test equality of (identical) intervals PERFORM ut__eq('Equal (same) intervals',v_interval_id,v_interval_id,true); -- Create another interval for comparison v_interval_id_ck := ut__new(timestamptz '2001-01-07',timestamptz '2001-01-08'); -- We now test equality of (nonidentical) intervals PERFORM ut__eq('Equal (distinct) intervals',v_interval_id,v_interval_id_ck,true); -- Shift the second interval start date by one day, the end date by two days PERFORM ut__shift(v_interval_id_ck,1,2,timestamptz '2001-01-08', timestamptz '2001-01-10'); -- Now test inequality of time intervals PERFORM ut__eq('Unequal (distinct) intervals',v_interval_id,v_interval_id_ck,false); -- Shift the second interval start date BACK by one day, the end date same PERFORM ut__shift(v_interval_id_ck,-1,0,timestamptz '2001-01-07', timestamptz '2001-01-10'); -- Now test inequality of time intervals PERFORM ut__eq('Unequal (distinct) intervals: start date equal',v_interval_id,v_interval_id_ck,false); -- Shift the second interval, start date same, but the end date BACK by two days PERFORM ut__shift(v_interval_id_ck,0,-2,timestamptz '2001-01-07', timestamptz '2001-01-08'); -- Should be equal again PERFORM ut__eq('Equal again, (distinct) intervals',v_interval_id,v_interval_id_ck,true); -- For fun, shift start date BACK by two days, the end date BACK by 1 day PERFORM ut__shift(v_interval_id_ck,-2,-1,timestamptz '2001-01-05', timestamptz '2001-01-07'); -- Should be unequal again PERFORM ut__eq('For fun, unequal (distinct) intervals',v_interval_id,v_interval_id_ck,false); -- Note that at this point, interval pointed to by v_interval_id is from 2001-01-07 through 2001-01-08 -- while interval pointed to by v_interval_id_ck is from 2001-01-05 through 2001-01-07. -- They overlap. PERFORM ut__overlaps_p('Overlapping intervals',v_interval_id,v_interval_id_ck,true); -- Ok, shift the dtart and end dates by one so that intervals do not overlap PERFORM ut__shift(v_interval_id_ck,-1,-1,timestamptz '2001-01-04', timestamptz '2001-01-06'); -- They should not overlap now. PERFORM ut__overlaps_p('Non-overlapping intervals',v_interval_id,v_interval_id_ck,false); -- We test the overloaded function definitions of time_interval__overlaps_p -- Note that we are comparing with 2001-01-07 through 2001-01-08 PERFORM ut__overlaps_p('Overlapping intervals', v_interval_id, timestamptz '2001-01-06', timestamptz '2001-01-09', true); -- How about an interval next month? PERFORM ut__overlaps_p('Non-overlapping intervals', v_interval_id, timestamptz '2001-02-06', timestamptz '2001-02-09', false); -- Try a null starting interval PERFORM ut__overlaps_p('Overlapping intervals (null start)', v_interval_id, null, timestamptz '2001-01-09', true); -- Try a null starting interval PERFORM ut__overlaps_p('Overlapping intervals (null end)', v_interval_id, timestamptz '2001-01-06', null, true); -- What if the interval is not an allowable interval? -- By definition, any interval should be non-overlapping with a non-existent interval PERFORM ut__overlaps_p('Non-overlapping intervals (non-allowed interval, outside month)', v_interval_id, timestamptz '2001-02-09', timestamptz '2001-02-06', false); -- What if the interval is not an allowable interval? -- By definition, any interval should be non-overlapping with a non-existent interval PERFORM ut__overlaps_p('Non-overlapping intervals (non-allowed interval, in month)', v_interval_id, timestamptz '2001-01-09', timestamptz '2001-01-06', false); -- Yet another overloaded definition PERFORM ut__overlaps_p('Overlapping intervals (not in time_intervals)', timestamptz '2001-01-06', timestamptz '2001-01-09', timestamptz '2001-01-07', timestamptz '2001-01-08', true); -- Yet another overloaded definition PERFORM ut__overlaps_p('Overlapping intervals (not in time_intervals)', timestamptz '2001-01-06', timestamptz '2001-01-09', timestamptz '2001-01-09', timestamptz '2001-01-10', true); -- Yet another overloaded definition PERFORM ut__overlaps_p('Overlapping intervals (not in time_intervals)', timestamptz '2001-01-06', timestamptz '2001-01-09', null, timestamptz '2001-01-10', true); PERFORM ut__overlaps_p('Overlapping intervals (not in time_intervals)', timestamptz '2001-01-06', timestamptz '2001-01-09', timestamptz '2001-01-10', null, false); -- Yet another overloaded definition PERFORM ut__overlaps_p('Non-overlapping intervals (not in time_intervals)', timestamptz '2001-02-06', timestamptz '2001-02-09', timestamptz '2001-01-07', timestamptz '2001-01-08', false); -- Overwrite the check interval a copy, with zero offset v_interval_id_ck := ut__copy(v_interval_id,0); -- Should be equal -- Now test equality of time intervals PERFORM ut__eq('Copied intervals (zero offset)',v_interval_id,v_interval_id_ck,true); -- Overwrite the check interval a copy, with non-zero offset v_interval_id_ck := ut__copy(v_interval_id,1); -- Should be unequal -- Now test inequality of time intervals PERFORM ut__eq('Copied intervals (non-zero offset)',v_interval_id,v_interval_id_ck,false); -- We will improve the regression test so there is reporting -- of individual test results. For now, reaching this far is -- enough to declare success. return v_result; END; $$ LANGUAGE plpgsql; -- -- procedure ut__regression2/0 -- CREATE OR REPLACE FUNCTION ut__regression2( ) RETURNS integer AS $$ DECLARE v_result integer := 0; rec_interval record; BEGIN raise notice 'Regression test, part 2 (deletes).'; -- Remove all entries made by regression test -- This also tests the deletion mechanism FOR rec_interval IN select * from time_intervals where interval_id not in (select interval_id from ut_interval_ids) LOOP PERFORM ut__delete(rec_interval.interval_id); END LOOP; -- We will improve the regression test so there is reporting -- of individual test results. For now, reaching this far is -- enough to declare success. return v_result; END; $$ LANGUAGE plpgsql; -------------------------------------------------------------------------------- -- Main regression test. PostgreSQL does not allow multiple changes made to a -- primary key inside a transaction if the primary key is referenced by another -- table (e.g., insert and delete). As a fix, we break down the regression test -- so that row creations and edits are separate from row deletions -------------------------------------------------------------------------------- select (case when ut__setup() = 0 then 'Regression test properly set up.' end) as setup_result; select (case when ut__regression1() = 0 then 'Regression test, part 1 successful.' end) as test_result; select (case when ut__regression2() = 0 then 'Regression test, part 2 successful.' end) as test_result; select (case when ut__teardown() = 0 then 'Regression test properly torn down.' end) as teardown_result; -- Clean up created functions. -- This depends on openacs4 installed. select drop_package('ut'); -------------------------------------------------------------------------------- -- End of regression test -------------------------------------------------------------------------------- \i utest-drop.sql