Best of SQLAugust 2024

  1. 1
    Article
    Avatar of phProduct Hunt·2y

    Anyquery - Query anything (Notion, GitHub, CSV, JSON, HN, etc) via SQL

    Anyquery is a versatile tool that allows users to query various data sources like Notion, GitHub, CSV, JSON, and Hacker News using SQL. Launched on August 7th, 2024, it falls under productivity and developer tools categories.

  2. 2
    Video
    Avatar of developedbyeddevelopedbyed·2y

    Don't Make These 10 SQL Mistakes

    Learn about common SQL mistakes and how to avoid them to optimize your database performance. Key topics include selective data retrieval, the importance of proper indexing, preventing SQL injections, normalization practices, handling null values, proper use of update and delete clauses, understanding transactions, and ensuring accurate joins and aggregate functions.

  3. 3
    Article
    Avatar of devgeniusDev Genius·2y

    Why I Always Use PostgreSQL Functions For Everything

    The author advocates for using PostgreSQL functions for all database interactions to improve maintainability, readability, security, and availability. They provide a detailed analysis of encapsulating SQL queries within functions to define clear data contracts. The article also discusses handling legacy systems, managing the N+1 query antipattern, migrating to Timescale DB, and optimizing query performance. Additionally, the approach allows easy implementation of least privilege security by limiting database access to executing specific functions only.

  4. 4
    Video
    Avatar of youtubeYouTube·2y

    Data Analyst Roadmap with Free Resources !!

    The post provides a detailed roadmap for becoming a data analyst using only free resources. It covers essential skills including statistics, SQL, MS Excel, Python, and data visualization with tools like Power BI and Tableau. The roadmap outlines study timelines, recommends practice websites, and emphasizes the importance of practical application through projects and networking via platforms like LinkedIn.

  5. 5
    Article
    Avatar of lobstersLobsters·2y

    lovasoa/SQLpage: SQL-only webapp builder, empowering data analysts to build websites and applications quickly

    SQLPage is an SQL-only webapp builder designed for data scientists, analysts, and business intelligence teams. It allows users to create data-centric applications using only SQL queries, bypassing traditional web programming languages. SQLPage supports different databases such as SQLite, PostgreSQL, MySQL, and Microsoft SQL Server. It is written in Rust and can be deployed using binary files or Docker images. Users can quickly generate webpages displaying data as lists, grids, and charts. It also supports advanced features like custom components, serverless deployment, and HTTP/2 and HTTPS.

  6. 6
    Article
    Avatar of kdnuggetsKDnuggets·2y

    Top 5 Free Resources for Learning Advanced SQL Techniques

    Discover five quality resources for learning advanced SQL for free, including tutorials, online courses, and video lectures from reputable sources like Mode Analytics, Stanford University, Kaggle, the University of Tübingen, and Philip Greenspun’s website. Topics covered include indexing, transactions, triggers, window functions, recursive CTEs, and more. Bonus mentions include StrataScratch and LeetCode for practicing SQL interview questions.

  7. 7
    Article
    Avatar of muratbuffaloMetadata·2y

    Designing Data Intensive Applications Book

    The post discusses the book 'Designing Data Intensive Applications' as part of a book club, focusing on the first two chapters which cover reliability, scalability, and maintainability of applications, as well as different data models and query languages. It explains the historical context and comparisons between relational and document databases, including the benefits and drawbacks of each model, and the impact of these choices on application design.

  8. 8
    Article
    Avatar of watercoolerWatercooler·2y

    Join explained with hair 🤣

  9. 9
    Article
    Avatar of systemweaknessSystem Weakness·2y

    SQL Injection Attacks and How to prevent them

    SQL Injection is a critical security attack that exploits vulnerabilities in web applications by injecting malicious SQL queries. This can compromise sensitive information, result in data loss, or affect the application's behavior. Common causes of SQL injection vulnerabilities include lack of data validation, complicated queries, and inefficient error handling. There are multiple types of SQL Injections, such as in-band, blind, out-of-band, and stored procedure injections. Preventive measures include using prepared statements, validating and sanitizing user inputs, limiting database permissions, and deploying Web Application Firewalls.

  10. 10
    Article
    Avatar of medium_jsMedium·2y

    Embracing Simplicity and Composability in Data Engineering

    The post highlights the importance of simplicity and composability in data engineering, drawing lessons from decades of industry experience. It discusses the Unix philosophy of treating data as files, the evolution of databases and NoSQL, and the complexity introduced by new ecosystems like Hadoop and Kubernetes. The post also critiques the over-complication of agile methodologies and stresses the necessity of adhering to fundamental principles to maintain flexibility and long-term value in software systems.

  11. 11
    Article
    Avatar of dailydoseofdsDaily Dose of Data Science | Avi Chawla | Substack·2y

    Use SQL "NOT IN" With Caution

    Using SQL's NOT IN clause can cause unexpected errors when the subquery contains NULL values. This happens because the NOT IN clause evaluates conditions using the AND operator, leading to UNKNOWN results when NULLs are present. To avoid this issue, filter NULL values out in the subquery or use Anti Joins as alternatives.

  12. 12
    Video
    Avatar of youtubeYouTube·2y

    Do THIS instead of watching endless tutorials - how I’d learn SQL FAST in 2024

    SQL is a crucial data skill used for interacting with data via specific environments known as database management systems (DBMS). Despite AI advancements, SQL remains essential for job roles such as data analyst, data scientist, and data engineer. To learn SQL effectively, choose a DBMS, grasp the basics through interactive learning, and practice using familiar datasets. Consistent practice helps in retaining and mastering SQL skills.

  13. 13
    Article
    Avatar of rubyflowRuby Flow·2y

    Database Partitioning by Example

    Database partitioning involves dividing a large table into smaller, more manageable pieces called partitions, improving query performance and maintenance operations. The post provides an example of partitioning a large 'product_views' table in PostgreSQL based on the 'created_at' column using Ruby on Rails. It explains how to create partitions, insert data, and run queries efficiently, showcasing significant performance improvements after indexing partitions.

  14. 14
    Article
    Avatar of communityCommunity Picks·2y

    Create Histogram Charts With MySQL – Tutorial

    Learn how to create histogram charts using MySQL by leveraging the COUNT() function and GROUP BY for time series data analysis. Discover how to fill gaps in the data using recursive common table expressions (CTEs) and explore an alternative code-based solution using Laravel and the Carbon library to ensure comprehensive data representation.

  15. 15
    Article
    Avatar of csharpcornerC# Corner·2y

    Understanding IN vs EXISTS in SQL

    In SQL queries, the IN and EXISTS clauses are used to filter rows based on values in another table but operate differently and impact performance distinctively. IN is suitable for small datasets with simple comparisons, whereas EXISTS performs better with larger datasets and correlated subqueries. Understanding when and how to use each can significantly optimize query performance.

  16. 16
    Video
    Avatar of davidbombalDavid Bombal·2y

    Is this the best Cybersecurity beginner cert? (Includes Giveaway!)

  17. 17
    Article
    Avatar of syncfusionSyncfusion·2y

    How to Join Two Tables Using JavaScript Query Builder?

    Learn how to use the Syncfusion JavaScript Query Builder to join two tables. This guide covers creating a custom component, configuring WHERE, SELECT, and JOIN clauses, and managing complex data sources efficiently. Follow the steps and refer to the provided code examples to integrate these capabilities into your application.