Where to start First steps track · 15 stages
Linux Labs

Web stack

Final test: Web stack

Question 18 of 18
Leave the quiz

Read the output

The copy's rows match the original, but the counters do not. What happens on the first order insert into shop_check?

$ psql -XAt -d shop -c 'SELECT last_value FROM orders_id_seq'
6
$ psql -XAt -d shop_check -c 'SELECT last_value FROM orders_id_seq'
5
$ psql -XAt -d shop_check -c 'SELECT max(id) FROM orders'
6
Back A–D or ↵ Sign in to answer
Loading…