And the first simple function I cannot get is to use another table data without populating it.
I have two tables:
Code: Select all
a(id INT PRIMARY KEY, name VARCHAR(64));
b(id INT PRIMARY KEY, a_id INT NOT NULL, FOREIGN KEY (a_id) REFERENCES a(id));
When I check table b in a generator it shows red x at column a_id telling that "column refers to id column of a which is not included of data generation". So I add a table to fulfill requirement. Then I cannot set "Number of rows to generate" in the table a just to 0 (to use only data which is already in the table). How to do that?
Michal