|
journal
all | Rob is 20,356 days old today. |
Mar 2018 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
May 2018 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
2017
jan feb mar apr
may jun jul aug
sep oct nov dec
2019
jan feb mar apr
may jun jul aug
sep oct nov dec
|< << more >> >| |
Entries this day: from-nhk mt3-brotherly-spat unions-require-distinct-values from nhk 15:54 Tuesday 24 April 2018 JSTfrom https://www2.nhk.or.jp/school/movie/clip.cgi?das_id=D0005400130_00000 冬の野原。 mt3 brotherly spat 13:32 Tuesday 24 April 2018 JST{{< youtube hxZ3cE1Gh6c >}} Curiously, I do not see the live stream that I broadcast today. Usually they are visible on Marble Track 3 YouTube channel immediately after upload. permalinkunions require distinct values 12:30 Tuesday 24 April 2018 JSTI need to figure out why some code is not updating some tables. But first I need a handy way to read the values and change the values. I just discovered unions require distinct values. SELECT 'jan', `arc_updated`, `marked_new`, `current_status_date`, `occupied_date`, `days_on_market`, `date_on_the_market`, `date_available` FROM `units_2018_01_01` WHERE `unit_id` = 229 UNION SELECT 'feb', `arc_updated`, `marked_new`, `current_status_date`, `occupied_date`, `days_on_market`, `date_on_the_market`, `date_available` FROM `units_2018_02_01` WHERE `unit_id` = 229 UNION SELECT 'mar', `arc_updated`, `marked_new`, `current_status_date`, `occupied_date`, `days_on_market`, `date_on_the_market`, `date_available` FROM `units_2018_03_01` WHERE `unit_id` = 229 UNION SELECT 'apr', `arc_updated`, `marked_new`, `current_status_date`, `occupied_date`, `days_on_market`, `date_on_the_market`, `date_available` FROM `units_2018_04_01` WHERE `unit_id` = 229 Because the unit did not change over time, I have to add a fake different value to the UNION otherwise I get a single row. And here is my sql to break the values UPDATE `units_2018_01_01` SET `days_on_market` = '1' WHERE `unit_id` = 229; UPDATE `units_2018_02_01` SET `days_on_market` = '2' WHERE `unit_id` = 229; UPDATE `units_2018_03_01` SET `days_on_market` = '3' WHERE `unit_id` = 229; UPDATE `units_2018_04_01` SET `days_on_market` = '4' WHERE `unit_id` = 229; Here they are as single lines so I can copy-paste them easily. UPDATE SELECT 'jan', prev day next day |