skip to Main Content

can't mysql generated int culumns be nullable?

using Mysql with the following table: CREATE TABLE participants ( id INT AUTO_INCREMENT PRIMARY KEY, puuid CHAR(36) NOT NULL, data JSON, project INT GENERATED ALWAYS AS (JSON_UNQUOTE(JSON_EXTRACT(data, '$.project'))) STORED NULL, schoolCode VARCHAR(255) GENERATED ALWAYS AS (JSON_UNQUOTE(JSON_EXTRACT(data, '$.schoolCode'))) STORED, UNIQUE KEY…

VIEW QUESTION

MySQL join returns null

I have two tables that I'm trying to join on authors_2's authorID column and author_note's aaID column: Table authors_2: id | name | aaID | authorID 1 | jimmy | 11129 | 1734 2 | mike | 15813 | 2469…

VIEW QUESTION
Back To Top
Search