Please wait,
Processing your request...

    0%
  Business logo VanSoest.it
  ... | Selecteer de Nederlandse taal | Print this page. |
Sharing is caring
| Linkedin page of Johan van Soest | User: Guest | Login

React: Postcard image. Click this to mail to Johan

WebHalla
 Content
  Management
   System

ICT-Hotlist Topic

Back to the ICT-Hotlist...
Don't miss latest updates Follow @WebHalla

SQLite Manager (FireFox AddOn)

Manage any SQLite database on your computer with SQLite Manager (FireFox AddOn). An intuitive hierarchical tree showing database objects. Helpful dialogs to manage tables, indexes, views and triggers. You can browse and search the tables, as well as add, edit, delete and duplicate the records. Facility to execute any SQL query. The views can be searched too. A dropdown menu helps with the sql syntax thus making writing sql easier. Easy access to common operations through menu, toolbars, buttons and context-menu. Export tables/views/database in csv/xml/sql format. Import from csv/xml/sql (both UTF-8 and UTF-16). Possible to execute multiple sql statements in Execute tab. You can save the queries. Support for ADS on Windows.
SQLite is a small C library that implements a self-contained, embeddable, zero-configuration SQL database engine. A SQLite database is a single ordinary disk file that can be located anywhere in the directory hierarchy.

Examples

A simple sales support database is created for the demo, containing of the tables:
Customers
CREATE TABLE "Customers" (
            "CustID" INT PRIMARY KEY AUTOINCREMENT NOT NULL
            ,"Name" CHAR
            ,"Address" CHAR
            ,"Place" CHAR
            ,"Country" CHAR
            )
      
OrderLines
CREATE TABLE "OrderLines" (
            "OrdID" INT NOT NULL
            ,"OrdLineID" INT NOT NULL
            ,"ProdID" INT
            ,"Count" INT
            ,"Price" NUMERIC
            ,PRIMARY KEY (
                "OrdID"
                ,"OrdLineID"
                )
            )
      
Orders
CREATE TABLE "Orders" (
            "OrdID" INT PRIMARY KEY AUTOINCREMENT NOT NULL
            ,"CustID" INT
            )
      
Products
CREATE TABLE "Products" (
            "ProdID" INT PRIMARY KEY AUTOINCREMENT NOT NULL
            ,"Name" CHAR
            ,"Cost" NUMERIC
            )
      

Screen Shots

This great program provides a lot of overviews. Three are shown here to give you an overview
SQLite Manager displays the table layout, Create query and column overview.
SQLite Manager displays the table layout, Create query and column overview.
SQLite Manager displaying the row/tuple based content of the table.
SQLite Manager displaying the row/tuple based content of the table.
SQLite Manager SQL query editor and query results grid displaying all order, order lines with customer and product information.
SQLite Manager SQL query editor and query results grid displaying all order, order lines with customer and product information.

Query

The query shown above is:
    -- ******************************************************************************************
    -- * This Database design is created to demonstrate the FireFox Add-on SQLite Manager.      *
    -- * (C) Copyright 2013 - 2023 vanSoest.it by Johan van Soest.                              *
    -- *                                                                                        *
    -- * This example code is only provided for demonstrational purposes and does not           *
    -- * constitute a complete and / or error free and / or optimized production ready solution.*
    -- ******************************************************************************************

    SELECT OrdJoin.OrdID AS "Order"
        ,OrdJoin.OrdLineID AS "Order Line"
        ,Customers.NAME AS "Customer name"
        ,Products.NAME AS "Product Name"
        ,OrdJoin.Count AS "Amount Ordered"
        ,OrdJoin.Price AS "Price"
    FROM (
        SELECT *
        FROM OrderLines
        INNER JOIN Orders ON (OrderLines.OrdID = Orders.OrdID)
        ) AS OrdJoin
        ,Products
        ,Customers
    WHERE OrdJoin.ProdID = Products.ProdID
        AND OrdJoin.CustID = Customers.CustID
    ORDER BY OrdJoin.OrdID
        ,OrdJoin.OrdLineID
    
SQL formatted with PoorSQL
You may vote your opinion about this article:


Scripts and programming examples disclaimer

Unless stated otherwise, the script sources and programming examples provided are copyrighted freeware. You may modify them, as long as a reference to the original code and hyperlink to the source page is included in the modified code and documentation. However, it is not allowed to publish (copies of) scripts and programming examples on your own site, blog, vlog, or distribute them on paper or any other medium, without prior written consent.
Many of the techniques used in these scripts, including but not limited to modifying the registry or system files and settings, impose a risk of rendering the Operating System inoperable and loss of data. Make sure you have verified full backups and the associated restore software available before running any script or programming example. Use these scripts and programming examples entirely at your own risk. All liability claims against the author in relation to material or non-material losses caused by the use, misuse or non-use of the information provided, or the use of incorrect or incomplete information, are excluded. All content is subject to change and provided without obligation.
Generated by WebHalla™ Version 0.1.e.6 : Friday 2-6-2023 © Copyright 1995-2023 ing. Johan P.G. van Soest CIPM Certified Privacy Information Manager
Response Form    Cookie- and Privacy statement    Responsible Disclosure procedure
Weather in Waalre by OpenWeatherMap logo overcast clouds
Temperature 11.8 °C overcast clouds
Wind chill 10.99 °C overcast clouds
Humidity 75 % overcast clouds
Air pressure 1021 hPa overcast clouds
Wind speed 4.63 m/s overcast clouds
Wind direction North North overcast clouds
Sun Rise 5:27 Sun Rise
Sun Set 21:45 Sun Set
Updated:2023-06-02 00:08:07 overcast clouds

Weather Cache is 2 minute(s) old.