About 20,800 results
Open links in new tab
  1. Run SQL query on CSV file contents from command-line?

    Aug 22, 2023 · You can run complex SQL queries from data in a CSV file, if you have Java installed in your OS (that's pretty common) and by combining Ant (scripting) and H2 (in-memory database). For example, if you have the file my_file.csv as:

  2. Run SQL Query on CSV File Contents From the Command Line

    Oct 13, 2024 · In this tutorial, we’ll explore how to run SQL queries directly on CSV files from the command line. This capability provides a powerful way to analyze and manipulate data stored in CSV format without extensive programming or database setup.

  3. CSV SQL Live - Run SQL queries on CSV files right in your web …

    With CSV SQL Live you can run SQL queries on data from CSV files, right in your browser!

  4. How to run SQL queries directly on CSV or TSV file

    Mar 1, 2019 · To achieve this, we will use q which is a command line tool that allows for direct execution of SQL-like queries on CSVs files, TSVs, and other tabular text files. The first action of the business is to download and install q program in your system. The packages for Mac, Linux, and Windows are available on the Downloads page.

  5. sql - Querying a CSV file - Super User

    Use csvsql or q, command-line tools that allow direct execution of SQL-like queries on CSVs/TSVs (and any other tabular text files) if your query is very simple. If you want to do more complex queries or even want to query excel files directly, try esProc.

  6. Is there a software tool which allows to perform SQL on CSV files?

    May 21, 2019 · Flatbase is a free web app that allows you to query CSV, JSON, and other flat files using SQL. You can also graph results and share with colleagues.

  7. Running SQL on CSV Data: Data Conversion and Extraction

    Aug 3, 2023 · One or more CSV files can be processed using the command-line tools cut, join, head, comm, sed, and AWK. This approach works very well but may take you a while to find a proper solution based on these commands.

  8. SQL With CSVs - KDnuggets

    Jan 5, 2023 · You can run SQL query on a CSV file: By importing a CSV file on SQL Online IDE. By importing a CSV file directly to Database. By using Python, R, or Julia Packages to run SQL directly on a CSV file. By using DuckDB, which is best for running fast analytical queries on large CSV files. By using CLI tools.

  9. How to Use the Command 'csvsql' (with Examples)

    This command allows users to seamlessly integrate CSV data with SQL databases, generating SQL statements for a CSV file, directly importing CSV data into a database, and executing SQL queries on CSV contents.

  10. csvsql: Generate SQL statements for a CSV file or execute those ...

    Run an SQL query on a CSV file: csvsql is a command-line tool included in the csvkit library, designed to generate SQL (Structured Query Language) statements for a CSV (Comma-Separated Values) file or directly execute those statements on a database.

  11. Some results have been removed
Refresh