home / football

form_record

0 rows where competition_id = 61

✎ View and edit SQL

This data as json

0 records

CREATE TABLE form_record (
            form_id INTEGER NOT NULL,
            team_id INTEGER NOT NULL,
            date DATE NOT NULL,
            window_matches INTEGER NOT NULL,
            pts_avg FLOAT NOT NULL,
            gf_avg FLOAT NOT NULL,
            ga_avg FLOAT NOT NULL,
            xg_for_avg FLOAT,
            xg_against_avg FLOAT,
            win_pct FLOAT,
            draw_pct FLOAT,
            loss_pct FLOAT,
            competition_id INTEGER,
            created_at DATETIME NOT NULL,
            updated_at DATETIME NOT NULL,
            created_by_run_id INTEGER,
            updated_by_run_id INTEGER,
            source_id INTEGER NOT NULL,
            source_raw_key VARCHAR(512),
            CONSTRAINT pk_form_record PRIMARY KEY (form_id),
            CONSTRAINT fk_form_record_team FOREIGN KEY(team_id) REFERENCES team (team_id),
            CONSTRAINT fk_form_record_source FOREIGN KEY(source_id) REFERENCES data_source (source_id),
            CONSTRAINT fk_form_record_competition FOREIGN KEY(competition_id) REFERENCES competition (competition_id)
        );
Powered by Datasette · Queries took 1656.077ms