Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
@AndrewSouthpaw
I guess it would have to be changed because if there is some other column that gets added to the table, then we would have to update the query and select the newly added column as well.
If we use select ALL(select * ) we won't have to edit the query, as it selects all the columns there are to select.
sameeš„
search for ternary_operators, lambda and keep in mind you can have function arguments that are "optional"
This comment is hidden because it contains spoiler information about the solution
How do I return a new column without creating one?
you are not supposed to use the
create table
clause. for sql katas in codewars, you usually need to useselect
, unless the description specifies otherwisenot a kata issue
I used CREATE TABLE with IF NOT EXISTS clause and I am getting following error in the log :
This comment is hidden because it contains spoiler information about the solution