Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

bx-schema.sql 338 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
  1. CREATE SCHEMA IF NOT EXISTS bx;
  2. DROP TABLE IF EXISTS bx.raw_ratings CASCADE;
  3. CREATE TABLE bx.raw_ratings (
  4. user_id INTEGER NOT NULL,
  5. isbn VARCHAR NOT NULL,
  6. rating REAL NOT NULL
  7. );
  8. INSERT INTO stage_dep (stage_name, dep_name, dep_key)
  9. SELECT 'bx-schema', stage_name, stage_key
  10. FROM stage_status
  11. WHERE stage_name = 'common-schema';
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...