• Stars
    star
    141
  • Rank 259,971 (Top 6 %)
  • Language
    JavaScript
  • Created almost 11 years ago
  • Updated about 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

SQL engine inside Google Sheet

The link to the demo

Overview

SheetSQL builds a SQL engine into Google sheet by storing and retrieving data directly in Google Sheet.

##Usage There are two ways to run SQL statement:

  1. Click "SQL" in the menu and click "Show prompt"
  2. Type =SQL(statement) directly in a cell.

A long SQL statement example can be SELECT DISTINCT a+1, b, MIN(c) FROM table1 JOIN table 2 WHERE (a = 1 AND b LIKE '%dads') OR c IN (SELECT c FROM table4) GROUP BY a,b HAVING AVG(c) > 5 AND MAX(c) < 10 ORDER BY a DESC LIMIT 20 UNION SELECT a+1, b, MIN(c) FROM table 3 GROUP BY a,b
I also have provided examples in the sheet for legible statement.

##Feature SheetSQL currently supports following SQL statements

  1. CREATE TABLE
  2. DROP TABLE
  3. ALTER TABLE
  4. INSERT INTO
  5. DELETE FROM
  6. UPDATE
  7. SELECT

In the Select, it support

  1. Math operation, like -,+,/.
  2. Aggregate Function, like MAX, MIN, COUNT, AVG, SUM
  3. DISTINCT *, DISTINCT column
  4. FROM
  5. JOIN, LEFT JOIN, RIGHT JOIN, ON
  6. UNION
  7. WHERE, AND, OR, IN, LIKE, IS NULL, IS NOT NULL
  8. GROUP BY
  9. HAVING
  10. ORDER BY
  11. LIMIT

I add an advanced feature fast select. The way to use it is to select a range in a table want to query. Run SQL query by using key word RANGE as the source for FROM. And the query will perform on the range you selected.

##Thanks

##Licence MIT

More Repositories

1

payroll

A payroll system developed with React and Solidity for Ethereum
JavaScript
28
star
2

SheetDB

Connect remote SQL database with Google Sheet
JavaScript
24
star
3

Micro-Subscription

Micro subscription solution for cloud service based on micro payment and onchain oracle
JavaScript
7
star
4

flask-user-api

user, password, profile, friends(list, request, thread post) management
Python
7
star
5

Coderbyte-pythonSol

Python
7
star
6

javascript-stars

5
star
7

better-yield

Solidity
4
star
8

Ionic-Sample-App

collections of ionic app
JavaScript
4
star
9

angular-stars

My stared angular libraries
3
star
10

Everedu

Improve the lecture interaction between instructors and students
JavaScript
3
star
11

leverage-yield

Earn leveraged yield through gearbox
Python
3
star
12

kernel-schedule

Kernel module doing process scheduling
C
2
star
13

News-CMS

News content manager for mobile
JavaScript
2
star
14

private-swap

Perform private and cheap swap on Uniswap through aztec bridge
Solidity
2
star
15

BlockRide

Ride and share platform based on blockchain
JavaScript
2
star
16

unstoppable-domains-resolver

JavaScript
2
star
17

kenel-programming

A simple kernel module to monitor process
C
2
star
18

MetisLive

decentralized video and live streaming platform powered by IPFS and NFT
JavaScript
2
star
19

humanize-pay

JavaScript
2
star
20

Chess-Game

Simple java chess game
Java
1
star
21

quic_build

HTML
1
star
22

Song-Gradient

Python
1
star
23

healthforum

Drug side effect search engine
CSS
1
star
24

memory_allocation

My Implementation for c memory allocation
C
1
star
25

Load-Balancer

Simple job load balancer written in python
Python
1
star
26

badger-watch

TypeScript
1
star
27

Virtual-Memory-Profiler

Kernel module showing virtual memory usage
HTML
1
star
28

css-stars

My stared CSS libraries
1
star
29

amazon-crawler

JavaScript
1
star
30

parallel-make

simple c build system
C
1
star
31

dva-ant-news

A news mobile client based on react, dva, and ant design
JavaScript
1
star
32

fake-news-must-die

JavaScript
1
star