We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I created a PostgreSQL instance on AWS RDS, connected to it, created the videoez db, set it as the default, and then ran videoezy.sql.
Afterwards, I ran select * from customer;. The output is empty.
select * from customer;
Running INSERT INTO customer VALUES (1, 1, 'MARY', 'SMITH', '[email protected]', 5, true, '2006-02-14', '2006-02-15 09:57:20', 1); results in the error SQL Error [23503]: ERROR: insert or update on table "customer" violates foreign key constraint "customer_store_id_fkey" Detail: Key (store_id)=(1) is not present in table "store".
INSERT INTO customer VALUES (1, 1, 'MARY', 'SMITH', '[email protected]', 5, true, '2006-02-14', '2006-02-15 09:57:20', 1);
SQL Error [23503]: ERROR: insert or update on table "customer" violates foreign key constraint "customer_store_id_fkey" Detail: Key (store_id)=(1) is not present in table "store".
Do you have any idea what is going on?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I created a PostgreSQL instance on AWS RDS, connected to it, created the videoez db, set it as the default, and then ran videoezy.sql.
Afterwards, I ran
select * from customer;
. The output is empty.Running
INSERT INTO customer VALUES (1, 1, 'MARY', 'SMITH', '[email protected]', 5, true, '2006-02-14', '2006-02-15 09:57:20', 1);
results in the errorSQL Error [23503]: ERROR: insert or update on table "customer" violates foreign key constraint "customer_store_id_fkey" Detail: Key (store_id)=(1) is not present in table "store".
Do you have any idea what is going on?
The text was updated successfully, but these errors were encountered: