skip to Main Content

Mysql – delete query inner join having

I made a delete query to delete all records in tbljournaalposten where the field volgr occurs more than once. delete from tbljournaalposten where tbljournaalposten.ID in( SELECT tbljournaalposten.ID FROM invoerdatum INNER JOIN rabobank2_2 ON rabobank2_2.IBAN_BBAN = invoerdatum.IBAN_BBAN INNER JOIN tbljournaalposten ON…

VIEW QUESTION

mysql virtual column incoherence wrt from_unixtime()

Got a table with a virtual column using from_unixtime(): CREATE TABLE aa ( id int NOT NULL AUTO_INCREMENT, epochmillis bigint, session_dt DATETIME(3) generated always as (from_unixtime(epochmillis/1000)), -- utc DATETIME(3) generated always as (convert_tz(from_unixtime(epochmillis/1000), @@time_zone, 'UTC')), PRIMARY KEY (`id`)); I can't…

VIEW QUESTION
Back To Top
Search