Coder Social home page Coder Social logo

sqlsb's Introduction

sqlsb

sqlsb is a companion online SQL evaluator to the french book Informatique MP2I/MPI (Ellipses 2022). It features a set of preloaded databases (most strings are in french) and is based on sql.js.

You can try it here.

A single file implementation is available here. You can download this file and open it locally with your web browser. It does not require anything else, not even a web server.

Keyboard and mouse shortcuts

  • ctrl-Enter: evaluate the content of the editor
  • ctrl-shift-↑: move backward in the history
  • ctrl-shift-↓: move forward in the history
  • click (left button) on a SQL statement result: copy the text of the statement in the editor
  • ctrl-click (left button) on a SQL statement result: evaluate the statement again
  • click (left button) on a table action (SCHEMA, VALUES, SIZE, DROP): evaluate the predefined SQL statement for that table.

sqlsb est l'évaluateur SQL en ligne qui accompagne le livre Informatique MP2I/MPI (Ellipses 2022). Les exemples du livres sont pré-chargés. L'outil est basé sur sql.js.

Vous pouvez l'essayer ici.

Une implémentation dans un seul fichier est disponible ici. Vous pouvez enregistrer ce fichier et l'ouvrir avec votre navigateur Web. Cette version ne nécessite rien d'autre, pas même un serveur Web.

Raccourcis clavier et souris

  • ctrl-Entrée : évalue le contenu de l'éditeur
  • ctrl-shift-↑ : revenir dans l'historique
  • ctrl-shift-↓ : avancer dans l'historique
  • click (bouton gauche) sur un résultat d'ordre SQL : recopie le texte de l'ordre SQL dans l'éditeur
  • ctrl-click (bouton de gauche) sur un résultat d'ordre SQL : réévalue l'ordre SQL
  • click (bouton gauche) sur une action de table (SCHÉMA, VALEURS, TAILLE, SUPPRIMER) : évalue l'ordre SQL prédéfini pour cette action sur la table donnée.

sqlsb's People

Contributors

tchou avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

sqlsb's Issues

Pb with parenthesis

Parenthesis are not accepted. So it is not possible to use requests with parenthesis. For instance:
(SELECT Titre
FROM Film
WHERE duree)
UNION
(SELECT Titre
FROM Film
WHERE duree);

Problems with Firefox

When I try to run any query (the first one given for example), the browser fails with the error too much recursion.
I have Firefox 117.0 running under macOS 13.4.1.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.