Skip to content

Instantly share code, notes, and snippets.

@JuzerShakir
Created June 24, 2022 06:06
Show Gist options
  • Save JuzerShakir/1081600de6c2ee0f3bd23557c0093a99 to your computer and use it in GitHub Desktop.
Save JuzerShakir/1081600de6c2ee0f3bd23557c0093a99 to your computer and use it in GitHub Desktop.
Create a duplicate table from an existing table with data:
CREATE TABLE dup_countries
AS SELECT *
FROM countries;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment