QueryStash's profile picture. Organise your SQL snippets!

QueryStash

@QueryStash

Organise your SQL snippets!

When working with data that has multiple records associated with an item, it may be better to group them together into a single row, using arrays and structs on BigQuery makes this super simple. querystash.com/query/bigquery…


Using ROW_NUMBER as a filtering method can be tricky on very large datasets, this method is much more efficient. querystash.com/query/alternat…


If you need to update a table in BigQuery via SQL, you might want to consider MERGE statements. Particularly if you need to INSERT, UPDATE or DELETE. querystash.com/query/merge-st…


Creating persistent functions on BigQuery is simple. querystash.com/query/bigquery…


How to use BigQuery persistent functions querystash.com/blog/getting-s…


REGEXP_CONTAINS is a useful alternative to avoid messing around with LIKE and IN for multiple string searches in one.

QueryStash's tweet image. REGEXP_CONTAINS is a useful alternative to avoid messing around with LIKE and IN for multiple string searches in one.

Persistent Functions on BigQuery are great for creating reusable logic to be shared across queries and users.

QueryStash's tweet image. Persistent Functions on BigQuery are great for creating reusable logic to be shared across queries and users.

Learn more about creating BigQuery persistent functions in SQL. querystash.com/blog/getting-s…


Learn more about the ways you can search your own SQL stash with targeted queries and tags. querystash.com/blog/search-yo…


Stop using SQL insert and update when you can just MERGE. 🔥

QueryStash's tweet image. Stop using SQL insert and update when you can just MERGE. 🔥

If you often use ROW_NUMBER to filter data by ordering you might find QUALIFY incredibly useful to help simplify your queries. #bigquery #SQL querystash.com/query/e41e8e07…


MERGE satements ae great for dealing with lots of inserts and upates in SQL. querystash.com/query/62cf5109…


A guide to using our advanced search and the new tag filters. querystash.com/blog/search-yo…


Having issues with ROW_NUMBER on very large data sets, try this instead. querystash.com/query/e94834f4…


New UI is coming along, almost ready to launch.

QueryStash's tweet image. New UI is coming along, almost ready to launch.

QueryStash reposted

Little sneak peak of the UI refresh for @QueryStash, felt embarrassed with the current site. I built over a year ago while on parental leave (hence the look), was in need of a good overhaul.

yekalb's tweet image. Little sneak peak of the UI refresh for @QueryStash, felt embarrassed with the current site. 

I built over a year ago while on parental leave (hence the look), was in need of a good overhaul.
yekalb's tweet image. Little sneak peak of the UI refresh for @QueryStash, felt embarrassed with the current site. 

I built over a year ago while on parental leave (hence the look), was in need of a good overhaul.

Simple approach to time series spike detection with the @googleanalytics public sample data. app.querystash.com/query/d72aac44… #bigquery #Analytics


Loading...

Something went wrong.


Something went wrong.