http://www.jitbit.com/news/181-jitbits-sql-interview-questions/
employees
- employee_id
- department_id
- boss_id
- name
http://www.jitbit.com/news/181-jitbits-sql-interview-questions/
employees
| /* Hacker News Search Script | |
| * | |
| * Original Script by Kristopolous: | |
| * https://gist.github.com/kristopolous/19260ae54967c2219da8 | |
| * | |
| * Usage: | |
| * First, copy the script into your browser's console whilst on the Hacker News | |
| * jobs page. Then, you can use the query function to filter the results. | |
| * | |
| * For example, | 
pg_table_def, stl_query, stl_querytext, stl_tr_conflict, stl_explain, stl_alert_event_log, stl_ddltext, stl_scan, stl_save, stl_hashjoin, stl_hash, stl_plan_info, stl_return, and information_schema.table_constraints.
select (endtime - starttime) as execution_time_in_ms 
from stl_query 
where query = QUERY_ID;| pragma solidity ^0.4.10; | |
| contract RoleBasedAcl { | |
| address creator; | |
| mapping(address => mapping(string => bool)) roles; | |
| function RoleBasedAcl () { | |
| creator = msg.sender; | |
| } | |
| #for not running docker, use save: | |
| docker save <dockernameortag> | gzip > mycontainer.tgz | |
| #for running or paused docker, use export: | |
| docker export <dockernameortag> | gzip > mycontainer.tgz | |
| #load | |
| gunzip -c mycontainer.tgz | docker load |