MarquinSmith

Analytical – Honest – Passionate

  • Home
  • Services
  • Mini Projects
    • Data Analytics Helper Tools
    • Bitcoin Price Dashboard
    • Journey to data engineering
    • Tarantino Film Dashboard
    • Woolworths stock price tracker
    • How to reason and argue
  • Reference
    • The BookShelf
    • SQL Cheat Sheet
    • Dockerfile Cheat Sheet
  • Health, fitness and wellbeing
    • Crossfit Workouts
    • Gymnastics
    • Strength and fitness masterclass
    • Nutrition Course
    • Workout Stats
    • Physical Activity Stats
    • 6 week pre season soccer fitness plan
  • About

Tag: sql

Automation

How to revoke read access to a single table in BigQuery using SQL

29th June 202528th June 2025 M SmithLeave a comment

If a particular user has been added read access to a table these permissions can be removed using the REVOKE keyword in SQL:

Read More ›
Data Analysis

How to grant read access to a single table in BigQuery using SQL

28th June 202528th June 2025 M SmithLeave a comment

A code snippet to add a user as read only on a BigQuery table. To add different permissions, other BigQuery roles can be seen in the Google documentation.

Read More ›
Data Analysis

SQLite – Getting started masterclass

24th June 2025 M SmithLeave a comment

A collection of video resources to on using and understanding SQLite. SQLite case study SQLite with Python SQLite for beginners …although some of the topics don’t seem like beginner topics …

Read More ›
Data Analysis

Sample data from a BigQuery table

21st June 202521st June 2025 M SmithLeave a comment

In BigQuery when running a query, the costs associated with doing so include a “scan” of the data that may be processed as part of executing the query. For example, …

Read More ›
Data Analysis

Create a Random Forest ML model in Bigquery and use it to make predictions

20th June 2025 M SmithLeave a comment

A code sample to create a random forest machine learning model in BigQuery and make predictions all using SQL.

Read More ›
Data Analysis

Load data into a BigQuery table from Google Cloud Storage using SQL

19th June 202519th June 2025 M SmithLeave a comment

A short code example which loads a csv file from Google Cloud Storage into a table using SQL.

Read More ›
Data Analysis

Generate date range in SQLite

18th May 202515th May 2025 M SmithLeave a comment
Read More ›
Data Analysis

Digital Analytics Masterclass

3rd March 20253rd March 2025 M SmithLeave a comment

For those interested in the field of Digital Analytics I have put together this project based curriculum to take someone from “digital analytics curious” to having the technical skill set …

Read More ›
Automation

Running SQL Queries on a schedule in BigQuery | Part 2b: Cloud Functions

4th February 20254th February 2025 M SmithLeave a comment

In this part of the series we will walkthrough how to set up a query to run at a regular interval using Python and Cloud Functions. This is useful particularly …

Read More ›
Data Analysis

A personal health tracking tool

6th December 20246th December 2024 M SmithLeave a comment

For a little while now I have been using a personal health tracking tool to monitor my progress in various areas such as strength exercises, weight management and mental hygiene …

Read More ›

Posts pagination

1 2 3

Recent Posts

  • How to revoke read access to a single table in BigQuery using SQL
  • How to grant read access to a single table in BigQuery using SQL
  • Copy a BigQuery model into another dataset using bq command line tool
  • A python command line tool to create dates in a range
  • Trigger an Airflow DAG in Google Cloud Composer using gcloud command line tool

Categories

  • Automation
  • Business
  • cybersecurity
  • Data Analysis
  • Finance
  • Personal Development
  • Python
  • Uncategorised
  • Web Analytics

Archives

Copyright © 2025 MarquinSmith.
Theme Easthill by ThemeMunk. Powered by WordPress.