← BYTES
KDB·Starter·Ref: 33.1.7

What is the simplest way to create a table in q from existing column lists?

Have a question about this video? Mention reference 33.1.7 when you contact us.

a.By writing raw SQL CREATE TABLE statements
b.Only via a GUI import wizard
c.Tables cannot be created programmatically in q
d.Using the `flip` operator on a dictionary of column names to column lists
A common idiom is `flip `col1`col2!(list1;list2)` -- flip turns a dictionary mapping column-name symbols to column-value lists into a table.

Find this on YouTube & Instagram

Every BYTES video is tagged with its reference number and topic — search any of these on YouTube or Instagram to find this one:

#BYTES#BYTES3317#KDB