-
Notifications
You must be signed in to change notification settings - Fork 40
/
employees.html
41 lines (33 loc) · 1.4 KB
/
employees.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="/img/favicon.ico" sizes="any">
<title>Sqlime / Employees Database</title>
<link rel="stylesheet" href="css/awsm.css">
<link rel="stylesheet" href="css/article.css">
<link rel="stylesheet" href="css/example.css">
</head>
<body>
<main>
<article>
<h1>Employees Database</h1>
<p>
Reading about SQL is fun, but trying out live examples is even better!
With Sqlime JavaScript widgets, you can turn static SQL code in your articles
or blog posts into executable examples.
</p>
<p>Here is a working example. Give it a try:</p>
<pre><code>select * from employees
limit 5;</code></pre>
<p>See <a href="https://github.com/nalgeon/sqlime/blob/main/examples.md">documentation</a> for details.</p>
<sqlime-db name="employees" path="./employees.sql"></sqlime-db>
<sqlime-examples db="employees" selector="pre" editable></sqlime-examples>
<script src="js/sqlite/sqlite3.js"></script>
<script src="js/components/sqlime-db.js" type="module"></script>
<script src="js/components/sqlime-examples.js" type="module"></script>
</article>
</main>
</body>
</html>