Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7549619
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T09:59:29+00:00 2026-05-30T09:59:29+00:00

What I have: I have an SQLite database with connections. Here is a little

  • 0

What I have:

I have an SQLite database with connections. Here is a little part of the sql create code (A many-to-many connection between destinations and log_entries table):

DROP TABLE IF EXISTS "destinations";
CREATE TABLE "destinations" (
"ID_destination" INTEGER PRIMARY KEY  AUTOINCREMENT  NOT NULL  UNIQUE , "name" VARCHAR NOT      NULL , "time_period" INTEGER NOT NULL , "details" TEXT
 );

DROP TABLE IF EXISTS "log_entries_destinations";
CREATE TABLE "log_entries_destinations" (
"ID_log_entries_destinations" INTEGER PRIMARY KEY  AUTOINCREMENT  NOT NULL  UNIQUE ,     "ID_destination" INTEGER NOT NULL , "ID_log_entry" INTEGER NOT NULL
,FOREIGN KEY(ID_log_entry) REFERENCES log_entries(ID_log_entry)
,FOREIGN KEY(ID_destination) REFERENCES destinations(ID_destination)
);


DROP TABLE IF EXISTS "log_entries";
CREATE TABLE "log_entries" (
"ID_log_entry" INTEGER PRIMARY KEY  AUTOINCREMENT  NOT NULL  UNIQUE , "timestamp"    DATETIME NOT NULL
);

You can see, I have defined the relationships with foreign keys.

For the db in the Firefox Addin, SQLite Manager I have setted in “On-connect SQL” tab the following key: *PRAGMA foreign_keys=ON;*

What is my problem:
Because I am not so good in complex SQL query writing, I have to design queries in graphic tool. My decision was the SQuirreL. I have downloaded the JDBC driver for SQLite.

In SQuirreL when I send all of the tables to the graph, I can’t see the’re relations. On Query Builder tool too. Has anybody experience with SQLite-Squirrel combo? Exists any alternative query designer tool for sqlite? Or the simplest way is run the SQL creator script in Access for example, and design queries there?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T09:59:30+00:00Added an answer on May 30, 2026 at 9:59 am

    I would suggest not using a query builder tool; it will be a lot easier for you in the long run if you bite the bullet now and struggle writing your first one or two queries… you’ll quickly get the hang of it.

    The alternative would be forever trying to get your query builder tool to do precisely what you want it to… which can be a real headache.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to create entities out of a SQLite database. SQLite doesnt have
I have this code to create a database: from sqlalchemy import create_engine from sqlalchemy
I have an sqlite database full of huge number of URLs and it's taking
I have a SQLite database that contains a huge set of log messages. I
I have an sqlite database, and I would like to keep it read-only without
I have an SQLite database, eventually will be a MySQL database and I'm using
I have an SQLite database. I created the tables and filled them with a
I am using the SQLite database and have the following persistent class (simplified): public
I have a datalogging application (c#/.net) that logs data to a SQLite database. This
I have a DataTable which I want to save to a SQLite Database Table.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.