blob_id
stringlengths
40
40
language
stringclasses
1 value
repo_name
stringlengths
5
133
path
stringlengths
3
276
src_encoding
stringclasses
33 values
length_bytes
int64
23
9.61M
score
float64
2.52
5.28
int_score
int64
3
5
detected_licenses
listlengths
0
44
license_type
stringclasses
2 values
text
stringlengths
23
9.43M
download_success
bool
1 class
1cf268f3e412c798be02a4e87608b5e281b30d9a
SQL
Ing2/Repositorio
/Código/grupo10.sql
UTF-8
24,567
3.3125
3
[]
no_license
-- phpMyAdmin SQL Dump -- version 4.1.12 -- http://www.phpmyadmin.net -- -- Servidor: 127.0.0.1 -- Tiempo de generación: 17-07-2015 a las 23:53:29 -- Versión del servidor: 5.6.16 -- Versión de PHP: 5.5.11 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARA...
true
da73f44aad1316f1840ff2c4b338295901c5a710
SQL
absc1203/treinamentoJava
/projetoRelacionamento/build/classes/br/com/stefanini/projetorel/persistence/script.sql
UTF-8
1,140
3.4375
3
[]
no_license
create database bdcinco; use bdcinco; create table usuario(id int primary key auto_increment, nome varchar (50), email varchar (50) not null, senha varchar (250)); create table cliente(idCliente int primary key, perfil varchar (50), status varchar (50), foreign key(idCliente) ref...
true
a064a8fe9330b0e9c549b3ba99a67b8eca46a304
SQL
Lxr-Dev/ecommerce-is702
/Script de base de datos/ecommerce_functions.sql
UTF-8
6,087
3.671875
4
[ "MIT" ]
permissive
/* @author kenneth.cruz@unah.hn @version 0.1.1 @date 21/04/2021 */ USE Ecommerce; SET GLOBAL log_bin_trust_function_creators = 1; -- -- último usuario creado -- DROP FUNCTION IF EXISTS fn_getLastUserCreated; DELIMITER $$ CREATE FUNCTION fn_getLastUserCreated() RETURNS BIGINT UNSIGNED BEGIN ...
true
6168a3bced6a7fe43b24398b4db6678564e7ba7e
SQL
lixuan388/GLJQ
/sql/1.4.create_acv.sql
UTF-8
410
2.890625
3
[]
no_license
select * from acv_country_Visa create table #cv (aviid int ,actid int ) insert into #cv (aviid,actid) select avi_id,act_id from avi_visa_info, act_country where act_status<>'D' and avi_status<>'D' delete #cv from acv_country_Visa where aviid=acv_id_avi and actid=acv_id_act insert into acv_country_Visa (acv_...
true
67d34fbdb6112afd63ffe951feaac115b6af3658
SQL
vdergachev/old-school-stuff
/glavkniga/gk-site-integration/src/main/resources/insert-triggers.sql
UTF-8
3,409
3.109375
3
[ "MIT" ]
permissive
USE `gk_site_integration`; -- -- DROP -- DROP TRIGGER IF EXISTS `insert_user_trigger`; DROP TRIGGER IF EXISTS `insert_user_data_trigger`; DROP TRIGGER IF EXISTS `insert_user_services_trigger`; DROP TRIGGER IF EXISTS `insert_user_service_1_trigger`; DROP TRIGGER IF EXISTS `insert_user_service_2...
true
0002365d908572fa8c27f17ac3452bcf6f2f8a04
SQL
paekone/dbSql
/11_19JBN.sql
UHC
710
3.546875
4
[]
no_license
--DML : SELECT /* SELECT * FROM ̺; */ --ڵ ظ ۼ : ּ -- --prod ̺ ÷ ͸ ȸ SELECT * FROM prod; -- prod ̺ prod_id, prod_name ÷ ( row) ȸ SELECT prod_id, prod_name FROM prod; -- Ǿִ ̺ ȸ SELECT * FROM USER_TABLES; --̺ ÷ Ʈ ȸ SELECT * FROM USER_TAB_COLUMNS; --DESC ̺ DESC prod; --1 SELECT * FROM lprod; --2...
true
d30d9f04b40b3d71d31d7c1b81ff00f0068d5976
SQL
reuben777/udacityBackendProject
/tournament/tournament.sql
UTF-8
1,026
3.609375
4
[]
no_license
-- Table definitions for the tournament project. -- -- Put your SQL 'create table' statements in this file; also 'create view' -- statements if you choose to use it. -- -- You can write comments in this file by starting them with two dashes, like -- these lines here. DROP DATABASE IF EXISTS tournament; CREATE DATABAS...
true
8f3d38cb87f4a7d3cb510d021c554457c96993ae
SQL
dwitya/php
/database/members.sql
UTF-8
941
2.84375
3
[]
no_license
/* Navicat MySQL Data Transfer Source Server : localhost Source Server Version : 50141 Source Host : localhost:3306 Source Database : test Target Server Type : MYSQL Target Server Version : 50141 File Encoding : 65001 Date: 2011-09-03 20:53:25 */ SET FOREIGN_KEY_CHECKS=0; -- ----...
true
87ccaa73677858c0e1ad0469a69cbab7b5b1af4f
SQL
pranjalkh/Fully-Flexible-Credit-and-Debit-System-
/nis.sql
UTF-8
2,566
3.03125
3
[]
no_license
-- phpMyAdmin SQL Dump -- version 4.6.4 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Sep 15, 2019 at 06:47 PM -- Server version: 5.7.14 -- PHP Version: 7.0.10 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */...
true
0df55f5eef944b230c707ef48b3b53295c7bfcfb
SQL
Alvaro-MC/pasarelaSurprise
/app/model/SurpriseBD/bdSurprise.sql
UTF-8
3,703
3.125
3
[]
no_license
CREATE DATABASE bdsurprise; USE bdsurprise; CREATE TABLE usuario( id_usuario int AUTO_INCREMENT PRIMARY KEY, nombre varchar(40) NOT NULL, apellido varchar(40) NOT NULL, correo varchar(50) NOT NULL UNIQUE, telefono varchar(11) NOT NULL, contrasena TEXT NOT NULL, estado VARCHAR(10), organiza...
true
3303364405d0687ee79cc3e7aa46fda8b5e68473
SQL
abdelkarimoufkir/online-shopping
/shoppingbackend/onlineshoppingDB.sql
UTF-8
9,284
3.34375
3
[]
no_license
-- phpMyAdmin SQL Dump -- version 4.9.0.1 -- https://www.phpmyadmin.net/ -- -- Hôte : 127.0.0.1 -- Généré le : lun. 15 juil. 2019 à 15:32 -- Version du serveur : 10.3.15-MariaDB -- Version de PHP : 7.3.6 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40...
true
c89232d732af041eb909d0109d63df48ad040a4c
SQL
ProbBC/teste-estagio-naveteam
/Exercícios de Banco de Dados (BÔNUS)/EB1.sql
UTF-8
1,430
4.09375
4
[]
no_license
--E.B.1 Crie um script que delete e crie todas as tabelas. DROP TABLE IF EXISTS projects_navers; DROP TABLE IF EXISTS navers; DROP TABLE IF EXISTS projects; CREATE TABLE IF NOT EXISTS navers ( id INTEGER NOT NULL AUTO_INCREMENT, name VARCHAR(100) NOT NULL, job_role VARCH...
true
69aa173d617c8fe0755e24f1514b575117b3e366
SQL
rushastha/INST377-Website
/Prototype/Database/INST377DB.sql
UTF-8
3,592
3.484375
3
[]
no_license
-- MySQL Script generated by MySQL Workbench -- Mon Dec 3 19:30:40 2018 -- Model: New Model Version: 1.0 -- MySQL Workbench Forward Engineering SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0; SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0; SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='TR...
true
009008656c8db9f8f43136e43074fdbd217cb3e0
SQL
cesar-gonzalez-sf/DesktopFX
/Deploy/config/Database/SecurityFX/Oracle/SECURITYFX$USERS_GET.sql
UTF-8
1,849
3.40625
3
[]
no_license
CREATE OR REPLACE PROCEDURE SECURITYFX$USERS_GET -------------------------------------------------------------------------------- -- Copyright (c) OBCOM INGENIERIA S.A. (Chile). All rights reserved. -- -- All rights to this product are owned by OBCOM INGENIERIA S.A. and may only be -- used under the terms of its ass...
true
c4c2094da013b198cc1fb171069f397c316e583b
SQL
exprezzo/transg
/dev_docs/sql/system_rol.sql
UTF-8
867
2.78125
3
[]
no_license
/* Navicat MySQL Data Transfer Source Server : localhost_3306 Source Server Version : 50508 Source Host : localhost:3306 Source Database : trans Target Server Type : MYSQL Target Server Version : 50508 File Encoding : 65001 Date: 2013-06-12 11:42:21 */ SET FOREIGN_KEY_CHECKS=0; -...
true
e03dbe72920acc5d2a13fb7c29c0b6f0b920a7cb
SQL
vaibhav791/Legistify
/table_creation_query.sql
UTF-8
459
2.5625
3
[]
no_license
CREATE DATABASE legistify; CREATE TABLE user ( userid int(20) NOT NULL AUTO_INCREMENT, name varchar(30), category varchar(20), email varchar(50), password varchar(20), description varchar(500), PRIMARY KEY (userid) ); CREATE TABLE userrequest ( userid int(20), username varchar(30),...
true
422c650abbf9bf15ec5ef917c7caae4e2120544d
SQL
JOJOJOFran/OneZeroApi
/脚本/用户脚本.sql
GB18030
12,163
3.421875
3
[ "Apache-2.0" ]
permissive
--SELECT -- f.name AS foreign_key_name -- ,OBJECT_NAME(f.parent_object_id) AS table_name -- ,COL_NAME(fc.parent_object_id, fc.parent_column_id) AS constraint_column_name -- ,OBJECT_NAME (f.referenced_object_id) AS referenced_object -- ,COL_NAME(fc.referenced_object_id, fc.referenced_column_id) AS ...
true
77f4e30e4cd981a0e0c3c85f69af36abeee8519f
SQL
rapid1175/Assignment1.3
/Question2d.mysql
UTF-8
101
2.59375
3
[]
no_license
Select LastName, FirstName, m.MemberID From (Entry GROUP by MemberID HAVING COUNT(DISTINCT Year) =3;
true
be134a647653e935d36ea07473134fcdffc43654
SQL
peach0819/peach
/有用的/需求记录/0、2021年需求/12、涂色聊天信息抓取/表结构/t_crm_tuse_callback_msg.sql
UTF-8
936
3.203125
3
[]
no_license
CREATE TABLE `t_crm_tuse_callback_msg` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `creator` varchar(255) DEFAULT NULL COMMENT '提交人', `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间', `editor` varchar(255) DEFAULT NULL COMMENT '修改人', `edit_time` datetime NOT NULL DEFAULT CURRENT_TIMESTA...
true
01c993708ba7a780ee70fa81055a6e1675af8e20
SQL
Christianzer/projet-agricole
/scriptproce.sql
UTF-8
12,502
2.953125
3
[ "MIT" ]
permissive
create procedure insertCand(photo in CANDIDATS.PHOTO_CANDIDAT%TYPE, nom in CANDIDATS.NOM_CANDIDAT%TYPE, prenoms in CANDIDATS.PRENOM_CANDIDAT%TYPE, dateC in CANDIDATS.DATE_NAISS_CANDIDAT%TYPE, lieu in CANDIDATS.LIEU_NAIS_CANDIDAT%TYPE, n...
true
b1c7d9a48df065c4d50bdabaf3e0630353a35385
SQL
sfqin/book
/src/sql/d1/1.sql
UTF-8
3,365
3.390625
3
[]
no_license
ALTER TABLE student ADD COLUMN class_id INT(11) NOT NULL DEFAULT 1 COMMENT '班级id'; DROP TABLE IF EXISTS `course`; CREATE TABLE `course` ( `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '自增id', `class_id` int(11) NULL DEFAULT NULL COMMENT '班级id', `class_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general...
true
04a0eec95b745648632c4a2f18fa8068f8497e87
SQL
haitan2408/C0220G1-TranVanThanh
/module2/Database/CaseStudy/task13.sql
UTF-8
763
3.734375
4
[]
no_license
select Ten_DichVuDiKem as TenDV,sum(So_luong)as 'Tổng sô' from HopDongChiTiet join Dich_Vu_Di_Kem DVDK on HopDongChiTiet.ID_DichVuDiKem = DVDK.ID_DichVuDiKem group by Ten_DichVuDiKem order by `Tổng sô` desc limit 1; select Ten_DichVuDiKem as TenDV, (sum(So_luong)) as 'Tổng sô' from HopDongChiTiet jo...
true
5426f6ae10b2cc02381f3bca419892d39bbfeaca
SQL
wzt3309/tutorials
/spring-mockito/src/test/resources/db/schema.sql
UTF-8
369
2.59375
3
[ "MIT" ]
permissive
CREATE TABLE IF NOT EXISTS t_user ( `id` bigint primary key auto_increment not null, `gmt_create` datetime not null default CURRENT_TIMESTAMP, `gmt_modified` datetime not null default CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `name` ...
true
560200dd803b9514d4aaeab1e0ed4e9badb62174
SQL
akshatkarani/CS313
/Lab8/p2/create2.sql
UTF-8
284
2.609375
3
[]
no_license
create table account (user_id varchar(20), password1 varchar(20), primary key (user_id) ); create table reviews (user_id varchar(20), restaurant_id varchar(5), user_review varchar(100), user_rating numeric(4,2) );
true
ff97cee8e6ea1c23abd18b4b4348d5a7013116e2
SQL
silence-do-good/stress-test-Postgres-and-MySQL
/dump/high/day23/select0239.sql
UTF-8
263
3.015625
3
[]
no_license
SELECT sen.name FROM SENSOR sen, SENSOR_TYPE st, COVERAGE_INFRASTRUCTURE ci WHERE sen.SENSOR_TYPE_ID=st.id AND st.name='WeMo' AND sen.id=ci.SENSOR_ID AND ci.INFRASTRUCTURE_ID=ANY(array['2100_10','6019','5084','4072','5038','3065','6213','4208','4052','4231'])
true
370579b725594e4e4d59a7af233c961b564dd8ce
SQL
vreplicon/gear-closet-api
/seeds/seed.gear.sql
UTF-8
547
2.609375
3
[]
no_license
-- first remove any data that may be present TRUNCATE gear RESTART IDENTITY CASCADE; -- insert some suppliers INSERT INTO gear (user_id, gear_name, gear_type, gear_weight, weight_unit, notes) VALUES (1, 'Crash pad', 'Rock Climbing', 14.0, 'oz', NULL), (1, 'Quickdraw', 'Rock Climbing', 4.0, 'oz', 'Made by B...
true
58086ed4079aaf45165f2903c31355ec9843af70
SQL
2much2learn/article-oct192021-cassandra-with-docker
/schema/cassandra/3_race_times.cql
UTF-8
1,095
3.21875
3
[]
no_license
// ------------------- race_times --- DROP TABLE IF EXISTS cycling.race_times; CREATE TABLE cycling.race_times ( race_name text, race_time time, finish_time duration, race_date date, cyclist_name text, PRIMARY KEY (race_date, race_name, cyclist_name)); INSERT INTO cycling.race_times (race_name...
true
8b98a9b493ecb73766d35ee6381d5b0693123282
SQL
NANYASH/findMe
/sql/CREATE_USERS_TAGGED_TABELE.sql
UTF-8
168
2.78125
3
[]
no_license
CREATE TABLE USERS_TAGGED ( USER_ID BIGINT, POST_ID BIGINT, FOREIGN KEY(USER_ID) REFERENCES USER_TABLE(ID), FOREIGN KEY(POST_ID) REFERENCES POST(ID) )
true
5cb9a5c462cb6cda4dea46f094a215637f7d9778
SQL
gustavoprimitive/oracle
/PL_matar_sesiones_invalid.sql
UTF-8
615
3.03125
3
[]
no_license
--Se finalizan las sesiones en estado INVALID. --Debe ejecutarse con usuario con rol DBA. --Gustavo Tejerina SET SERVEROUTPUT ON DECLARE v_cont NUMBER DEFAULT 0; BEGIN dbms_output.enable(buffer_size => NULL); FOR reg IN (SELECT 'ALTER SYSTEM KILL SESSION ' || '''' || sid || ',' || serial# ||...
true
9e4fc43efa2589c96aad31bbc0cfa82fd61e7489
SQL
morenodeperalta/FSWD80-CodeReview10-FranciscoXMorenoH
/mysqul/phpday3.sql
UTF-8
3,120
3.28125
3
[]
no_license
-- phpMyAdmin SQL Dump -- version 4.9.1 -- https://www.phpmyadmin.net/ -- -- Host: localhost -- Generation Time: Nov 15, 2019 at 08:54 AM -- Server version: 10.4.8-MariaDB -- PHP Version: 7.3.10 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD...
true
2d8949d413193e29101c6e331d27458b5d4b16b2
SQL
ToborTheGreat/Repository01
/dw_evdo.sam_evdo_bts_serv_type_params_fact.sql
UTF-8
2,412
3.015625
3
[]
no_license
-- -- PostgreSQL database dump -- SET statement_timeout = 0; SET client_encoding = 'UTF8'; SET standard_conforming_strings = off; SET check_function_bodies = false; SET client_min_messages = warning; SET escape_string_warning = off; SET search_path = dw_evdo, pg_catalog; DROP TRIGGER dw_evdo_sam_evdo_bts_serv_type_p...
true
767f6c59cad9d2e820dc0c103fa14ff90eff281d
SQL
ArtemZaikovsky/Back
/src/test/resources/BankAccount-before.sql
UTF-8
715
2.578125
3
[]
no_license
alter table contractors_bank_accounts drop if exists bank_accounts_id; alter table companies_bank_accounts drop if exists bank_accounts_id; alter table contracts drop if exists bank_account_id; delete from bank_accounts; insert into bank_accounts (id, rcbic, bank, address, correspondent_account, account, main_account...
true
3aac99c0d5d91e8111cf400216f82a6c2f23428f
SQL
loukiana/SParse
/tests/4095/select_durations.sql
UTF-8
267
2.734375
3
[]
no_license
SELECT tstamp_out, avail_size, duration FROM 22_ro1_20017_io where UNIX_TIMESTAMP(tstamp) > UNIX_TIMESTAMP('2014-01-22 17:15:00') and UNIX_TIMESTAMP(tstamp) < UNIX_TIMESTAMP('2014-01-22 21:10:00') /*and duration > 30*/ /*order by avail_size*/ order by tstamp_out
true
020d174373cf312978ff11622b3f54e24f5a7de3
SQL
tthommmm/AmericanPolitics
/sql_final.sql
UTF-8
7,530
3.484375
3
[]
no_license
-- phpMyAdmin SQL Dump -- version 4.8.5 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Dec 12, 2019 at 04:32 PM -- Server version: 10.1.38-MariaDB -- PHP Version: 7.1.28 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OL...
true
6f96712b5b6b55f9cdae03264c181b7bb0b63bee
SQL
IndianaUEdFi/CompassReports-Datamart
/Database/CompassReports.Db.CompassDataMart/PostDeployment/ETL/cmp/2005_LoadAssessmentFact_ISTAR.sql
UTF-8
560
2.78125
3
[]
no_license
/* STUDENT ASSESSMENT PERFORMANCE FOR ISTAR */ INSERT INTO [cmp].[AssessmentFact] ([DemographicKey] ,[SchoolKey] ,[SchoolYearKey] ,[AssessmentKey] ,[PerformanceKey] ,[GoodCauseExemptionKey] ,[AssessmentStudentCount] ) SELECT [Demographic...
true
0e586ac3fe2632db1b968253a905a216893e4e6d
SQL
hakangvnc/Pyhton-Tkinter-ve-MYSQL-ornek-Proje
/veriatabanı/hakanfilo.sql
UTF-8
23,684
3.40625
3
[]
no_license
-- phpMyAdmin SQL Dump -- version 5.0.2 -- https://www.phpmyadmin.net/ -- -- Anamakine: 127.0.0.1 -- Üretim Zamanı: 20 Haz 2020, 23:49:31 -- Sunucu sürümü: 10.4.11-MariaDB -- PHP Sürümü: 7.4.4 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=...
true
15f575a517bab42eb2761fb79680bd8e5e57fc95
SQL
johngrinstead/hopper-mysql-exercises
/order_by_exercise.sql
UTF-8
3,273
4.15625
4
[]
no_license
-- 1. Create a new file named order_by_exercises.sql and copy in the contents of your exercise from the previous lesson. -- 2. Find all employees with first names 'Irena', 'Vidya', or 'Maya', and order your results returned by first name. In your comments, answer: What was the first and last name in the first row of t...
true
8202f5a4dc9d2363574f467b72f121363d46da75
SQL
krzysztofkogut/Database_lab
/lab03/zad-3-5.sql
UTF-8
947
3.796875
4
[]
no_license
/* baza danych: cukiernia Korzystając z operatorów UNION, INTERSECT, EXCEPT napisz zapytanie w języku SQL wyświetlające: */ /* identyfikatory klientów, którzy nigdy nie złożyli żadnego zamówienia, */ select idklienta from cukiernia.klienci except select idklienta from cukiernia.zamowienia; -- to zapytanie zwraca ze...
true
93aa7acebc201198e42f13cc652d7b4b77edf472
SQL
julianflowers/Achilles
/inst/sql/sql_server/analyses/1500.sql
UTF-8
1,154
3.546875
4
[ "Apache-2.0" ]
permissive
-- 1500 Number of drug cost records with invalid drug exposure id {cdmVersion == '5'}?{ select 1500 as analysis_id, cast(null as varchar(255)) as stratum_1, cast(null as varchar(255)) as stratum_2, cast(null as varchar(255)) as stratum_3, cast(null as varchar(255)) as stratum_4, cast(null as varchar(255)) as stra...
true
3f051a70759e6b90a63211ed17005b2205a28d35
SQL
zhangmin87/ceb-springboot
/ceb-springboot-provider/sql/user2018725.sql
UTF-8
852
3.78125
4
[]
no_license
-- USER 表 CREATE TABLE T_SYSTEM_USER ( id integer primary key auto_increment COMMENT 'ID', USERNAME varchar (100) COMMENT '用户名', PASSWORD varchar (100) COMMENT '密码' ) COMMENT='用户表' ; -- 用户名不能为空 ALTER TABLE T_SYSTEM_USER modify USERNAME VARCHAR(100) NOT NULL; -- 密码不能为空 ALTER TABLE T_SYSTEM_USER MO...
true
2acf1f30c85340968b6ccf39e8bdb3adb0906d60
SQL
FranciscoJavierLuzon/Taller
/base.sql
UTF-8
7,405
3
3
[]
no_license
-- phpMyAdmin SQL Dump -- version 4.2.11 -- http://www.phpmyadmin.net -- -- Servidor: localhost -- Tiempo de generación: 27-05-2015 a las 01:52:42 -- Versión del servidor: 5.6.21 -- Versión de PHP: 5.6.3 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARAC...
true
3fe47acf379b2ebb43ad35238ff2768d946878d0
SQL
treasure-data/lda-board
/workflow_examples/web_access_log/queries/predict_lda.sql
UTF-8
694
3.5625
4
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
-- @TD reducers: 10 WITH exploded as ( select l.docid, extract_feature(feature) as word, extract_weight(feature) as value, l.contents from input l LATERAL VIEW explode(features) r as feature ), predicted as ( select t.docid, t.contents, lda_predict(t.word, t.value, m.label, m...
true
488a908c303d39ded728b4c065025de00302ce71
SQL
afdhanmr/surat-bpprd-tab
/database/suratbpprd.sql
UTF-8
9,693
2.78125
3
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
-- phpMyAdmin SQL Dump -- version 5.0.2 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Waktu pembuatan: 19 Mar 2021 pada 02.09 -- Versi server: 10.4.13-MariaDB -- Versi PHP: 7.4.8 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CH...
true
a81124a08bef87caa5c96c888c2bf0bfe92abe2f
SQL
sqllensman/Presentations
/SydneySQLUserGrup May 2019/DAC.sql
UTF-8
345
2.875
3
[ "MIT" ]
permissive
SELECT en.name, CASE WHEN ses.session_id= @@SPID THEN 'It''s me! ' ELSE '' END + coalesce(ses.login_name,'???') as WhosGotTheDAC, ses.session_id, ses.login_time, ses.status, ses.original_login_name from sys.endpoints as en join sys.dm_exec_sessions ses on en.endpoint_id=ses.endpoint_id where en.name='Dedicated Admin C...
true
deb8ca29dab51f159a542c29f0d01edeb8e81d6e
SQL
18918090402/MZJF_Work
/MZJF_Work/0002 Git.nonobank.com/archive_20180806/bi-etl.git/03_DW_HADOOP/02_IDW/03_SCRIPT/FACT_CSYY_USER_INVEST_STAT_DAILY/FACT_CSYY_USER_INVEST_STAT_DAILY.sql
UTF-8
2,003
3.171875
3
[]
no_license
set mapreduce.job.name = IDW_FACT_CSYY_USER_INVEST_STAT_DAILY_01; set mapreduce.job.queuename = etl-dw; set hive.exec.parallel=true; set hive.exec.dynamic.partition.mode=nonstrict; set hive.exec.max.dynamic.partitions.pernode=100000000; set hive.exec.max.dynamic.partitions=100000000; set hive.exec.max.created.files=100...
true
389b50a33456adb509297e3c1a7d29d4e6f3e7b4
SQL
anarch-ist/view_transport
/web_viewer/trunk/sbat.logist.ru/common_files/dao/SQL/create_users.sql
UTF-8
4,323
3.203125
3
[]
no_license
/*GRANT priv_type [(column_list)] [, priv_type [(column_list)]] ... ON [object_type] priv_level TO user_specification [, user_specification] ... [REQUIRE {NONE | ssl_option [[AND] ssl_option] ...}] [WITH with_option ...] object_type: TABLE | FUNCTION | PROCED...
true
d3c8a47b49287c4ab1428cd3a95ffd699b1171ea
SQL
phillipeastman/KleinDeployed
/DBScripts/AddressTableSetup.mysql
UTF-8
502
2.953125
3
[]
no_license
CREATE TABLE `eastmanf_kleinuser`.`address` ( `ID` INT(11) UNSIGNED NOT NULL AUTO_INCREMENT , `User_ID` INT(11) UNSIGNED NOT NULL , `Address1` VARCHAR(64) NOT NULL , `Address2` VARCHAR(64) NULL DEFAULT NULL , `City` VARCHAR(32) NOT NULL , `State` VARCHAR(32) NOT NULL , `Zip` INT(6) U...
true
040101e21ef2d9fcef5d0954b661479d688e676f
SQL
ytatus94/Leetcode
/SQL/1045_Customers_Who_Bought_All_Products.sql
UTF-8
187
3.296875
3
[]
no_license
# Write your MySQL query statement below SELECT customer_id FROM Customer GROUP BY 1 HAVING COUNT(DISTINCT product_key) = ( SELECT COUNT(DISTINCT product_key) FROM Product );
true
6ad1b54d12c05c937ca1a3d9b1f4c740f5a13735
SQL
Samwimb/sql-employee-analysis
/Files/data_analysis.sql
UTF-8
2,491
4.5625
5
[]
no_license
-- 1. List the following details of each employee: employee number, last name, first name, gender, and salary. select emp.emp_no, emp.last_name, emp.first_name, emp.gender, salaries.salary from emp join salaries on salaries.emp_no = emp.emp_no; -- 2. List employees who were hired in 1986. select emp_no, first_name, l...
true
49585676c41193e640020cd3e2b5325728c7306f
SQL
Weltburger/incubator-week3
/Database/Airport/Query2.sql
UTF-8
263
3.078125
3
[]
no_license
-- Выбрать всех пассажиров, у которых багаж превышал 10 кг SELECT DISTINCT pr."id", pr."name", pr.age, pr.email, pr.phone_number FROM passenger as pr JOIN ticket as tt ON tt.passenger_id = pr."id" WHERE tt.weight > 10
true
f85b39447909c2d36f2f1c7fc3abae739c4ec5f2
SQL
Aswarkasim/kafood
/rest_kafood.sql
UTF-8
5,860
2.96875
3
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
-- phpMyAdmin SQL Dump -- version 4.5.1 -- http://www.phpmyadmin.net -- -- Host: 127.0.0.1 -- Generation Time: 25 Jan 2021 pada 00.35 -- Versi Server: 10.1.32-MariaDB -- PHP Version: 7.0.5 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT ...
true
da433af9f97dafaec4ec5e14ca809b0873fce9ba
SQL
karimiehsan90/Keenbo
/search/src/main/resources/sql/init.sql
UTF-8
784
3.375
3
[]
no_license
DROP DATABASE IF EXISTS keenbo; CREATE DATABASE keenbo; USE keenbo; CREATE TABLE users ( username VARCHAR(100) PRIMARY KEY, password TEXT NOT NULL , name TEXT NOT NULL , email TEXT NOT NULL , token TEXT NOT NULL ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4; CREATE TABLE clicks ( id INT(11) PRI...
true
f0ddcf3cbe51fec6afd27c49ac94d1a1e37af7d3
SQL
ivanceras/old-rustorm
/scripts/bazaar_v8_all.sql
UTF-8
65,738
3.125
3
[ "MIT" ]
permissive
-- -- PostgreSQL database dump -- SET statement_timeout = 0; SET lock_timeout = 0; SET client_encoding = 'UTF8'; SET standard_conforming_strings = on; SET check_function_bodies = false; SET client_min_messages = warning; -- -- Name: bazaar; Type: SCHEMA; Schema: -; Owner: postgres -- CREATE SCHEMA bazaar; ALTER SC...
true
95e952582c9df5a85722f54b7f3c942744c49a67
SQL
princespn/vikkit
/symfony.sql
UTF-8
3,211
3.078125
3
[]
no_license
-- phpMyAdmin SQL Dump -- version 5.0.1 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Mar 18, 2020 at 08:02 AM -- Server version: 10.4.11-MariaDB -- PHP Version: 7.2.28 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OL...
true
56eaa5378dc20db3da9306dd2aa93f5ade98d2af
SQL
ViniciusSevero/FIAP-2TDSF-PLSQL
/2SEM/aula02.sql
ISO-8859-3
969
3.109375
3
[]
no_license
SET SERVEROUTPUT ON ACCEPT localizacao PROMPT 'ENDEREO...' DECLARE var_country LOCATIONS.COUNTRY_ID%TYPE := &localizacao; CURSOR address_cursor IS SELECT STREET_ADDRESS, CITY FROM LOCATIONS WHERE COUNTRY_ID = var_country; -- address_record address_cursor%ROWTYPE; BEGIN -- open address_cursor; /* LOOP fe...
true
9ec55c5a83bbd950942f6aee321b76cd7a9a3072
SQL
mturley/luper
/luper-android/res/raw/create_sqlite_tables.sql
UTF-8
2,288
3.40625
3
[]
no_license
drop table if exists Users; drop table if exists Sequences; drop table if exists Tracks; drop table if exists Files; drop table if exists Clips; create table Users ( _id integer primary key, username text not null, email text not null, isActiveUser integer n...
true
27c2792275caaa047bf6633122ac01c24455dad9
SQL
nabysow/dbtvault
/macros/staging/hash_columns.sql
UTF-8
1,465
3.109375
3
[ "Apache-2.0" ]
permissive
{#- Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distribute...
true
69ac17fccffe0a4e0188d6fa586f967558928f8b
SQL
choutruong/VietMarketPlace
/dbs/order_tag_lists.sql
UTF-8
3,272
2.59375
3
[ "MIT" ]
permissive
-- phpMyAdmin SQL Dump -- version 4.5.1 -- http://www.phpmyadmin.net -- -- Host: 127.0.0.1 -- Generation Time: May 25, 2017 at 05:25 AM -- Server version: 10.1.19-MariaDB -- PHP Version: 5.6.24 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CL...
true
5815bed62a58e784b4aeee7d0f7b93afe046131e
SQL
goobisanubis21/burger
/db/schema.sql
UTF-8
409
3.484375
3
[]
no_license
/* If database already exsits drop it and overwrite it */ DROP DATABASE IF EXISTS burgers_db; /* Creating and using database */ CREATE DATABASE burgers_db; USE burgers_db; /* New tables with primary keys that auto-increments and ids that refer to other tables */ CREATE TABLE burgers ( id INT NOT NULL AUTO_INCREMENT...
true
350199598edbfc57300e7913c0e18a9edf9745c4
SQL
raghu5910/Banking_DBMS
/DDLscripts.sql
UTF-8
2,799
3.609375
4
[]
no_license
CREATE SCHEMA BANKING; set search_path to BANKING; create table Customer ( CIF CHAR(11) NOT NULL UNIQUE, fname VARCHAR(50) NOT NULL, midname VARCHAR(50), lname VARCHAR(50) NOT NULL, contact_no VARCHAR(50) NOT NULL, Pan_no CHAR(10) NOT NULL, Aadhaar_no CHAR(12) NOT NULL UNIQUE, House_No VARCHAR(5), ...
true
983e3341e84345216eb2502a48d380bd4bb02d58
SQL
hxb6/oldBook
/src/main/resources/old_book.sql
UTF-8
13,947
3.34375
3
[]
no_license
/* Navicat MySQL Data Transfer Source Server : localhost_3306 Source Server Version : 50549 Source Host : localhost:3306 Source Database : old_book Target Server Type : MYSQL Target Server Version : 50549 File Encoding : 65001 Date: 2018-05-23 10:34:59 */ SET FOREIGN_KEY_CHECKS=0;...
true
32ac98bac902adcbb08a5575acbc8ae4f5a5ee38
SQL
nachosmail/curso_SQL
/CentroMedico_Solucion/CentroMedico/ProyectoInicial/SEL_TurnoPaciente.sql
UTF-8
941
3.625
4
[]
no_license
--EXEC SELECT_TurnoPaciente 2 ALTER PROC SELECT_TurnoPaciente( @idPaciente paciente ) AS SET NOCOUNT ON /* SELECT * FROM Turno SELECT * FROM TurnoPaciente SELECT * FROM Paciente SELECT * FROM MedicoEspecialidad INSERT INTO MedicoEspecialidad VALUES(1,2,'Medico clinico') */ IF EXISTS(SELECT ...
true
fd03ffe4d02336d461e594133e03c697204456c6
SQL
dubaopeng/test
/zzdata-sychor-scripts/同步-会员数据/member_card_grade_info-20181207.sql
UTF-8
2,385
3.65625
4
[]
no_license
SET mapred.job.name='b_card_grade_info-卡等级信息表同步'; --set hive.execution.engine=mr; set hive.tez.container.size=6144; set hive.cbo.enable=true; SET hive.exec.compress.output=true; SET mapred.max.split.size=512000000; set mapred.min.split.size.per.node=100000000; set mapred.min.split.size.per.rack=100000000; set hive.inpu...
true
8b8a9f913209806c853084fef67a6ec53557f482
SQL
komuisam/project
/project0/project0.sql
UTF-8
2,887
3.171875
3
[]
no_license
-- phpMyAdmin SQL Dump -- version 4.8.4 -- https://www.phpmyadmin.net/ -- -- Servidor: 127.0.0.1 -- Tiempo de generación: 08-07-2019 a las 04:23:54 -- Versión del servidor: 10.1.37-MariaDB -- Versión de PHP: 7.3.1 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; ...
true
913fc1afcb4bd8a4f52d1a3826a1608b02e49e93
SQL
reynaldocv/MAC6909-Vamos
/database/database_vamos.sql
UTF-8
12,018
2.6875
3
[]
no_license
-- phpMyAdmin SQL Dump -- version 4.7.7 -- https://www.phpmyadmin.net/ -- -- Servidor: localhost -- Tiempo de generación: 02-12-2018 a las 02:31:06 -- Versión del servidor: 10.1.31-MariaDB -- Versión de PHP: 7.0.26 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00";...
true
fbbb8a6d22d7986c2a170e3ff0f0e71356e9efe5
SQL
geralsantos/sisProyect
/dbventaslaravel.sql
UTF-8
16,364
2.96875
3
[]
no_license
-- phpMyAdmin SQL Dump -- version 4.5.2 -- http://www.phpmyadmin.net -- -- Host: localhost -- Generation Time: Nov 04, 2016 at 07:23 VM -- Server version: 10.1.16-MariaDB -- PHP Version: 5.6.24 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CL...
true
3c259753d7f8b0d9207579b85bec6ed583c12c41
SQL
ahmed1075/web_projects
/minhaj/minhaj.sql
UTF-8
9,655
3.21875
3
[]
no_license
-- phpMyAdmin SQL Dump -- version 4.8.5 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Jan 10, 2020 at 03:46 PM -- Server version: 10.1.40-MariaDB -- PHP Version: 7.3.5 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD...
true
e71e8cb3cda33dab2144dc4793112f5ded2e0948
SQL
shinexus/WorkScripts
/CMP_退货单商品库存不等_2013-12-18.sql
UTF-8
824
3.765625
4
[]
no_license
SELECT th.BillNo, th.RefBillNo, th.OrgCode, th.OrgName, th.BillType, th.YwType, th.LrDate, th.JzDate, th.CkCode, tb.PluCode, tb.PluType, tb.PluName, tb.ThCount, th.DataStatus, kc.kccount FROM tOrdThHead th, tOrdThBody tb, ( SELECT plu.plucode, ls...
true
600efd7889da0d47c4f1d876c87c4d81f910598c
SQL
Kuzj/tiny6410
/init.sql
UTF-8
3,080
3.421875
3
[]
no_license
BEGIN TRANSACTION; CREATE TABLE `daqd_sensors` ( `id` INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, `name` TEXT, `interface_id` INTEGER NOT NULL, `enable` INTEGER, `desc` TEXT, `action_id` INTEGER, `counter` INTEGER DEFAULT 0, FOREIGN KEY(`interface_id`) REFERENCES daqd_interfaces(id), FOREIGN KEY(`action_id`) R...
true
953e9b905d1b75f036ee2d51257fa16efd4cbc3d
SQL
aslam-ep/Ninam
/ninam.sql
UTF-8
2,483
3.15625
3
[]
no_license
/* SQLyog Community Edition- MySQL GUI v8.03 MySQL - 5.5.5-10.3.16-MariaDB : Database - ninam ********************************************************************* */ /*!40101 SET NAMES utf8 */; /*!40101 SET SQL_MODE=''*/; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */...
true
c100a6181a9f17d84c230f2fae9ee156e251570f
SQL
github188/note-1
/数据结构变更/数据洞察分析/货源投放sql/1.2.2投放规则明细对比.sql
UTF-8
1,023
3.109375
3
[]
no_license
--CUST_COUNT_SUPPLY/CUST_COUNT_NEED NEEDRATE,--投放面(这个需要注意) --CUST_COUNT_NEED-CUST_COUNT_ORD NEED_ORD,--断供零售户数(个)(这个需要注意) --(CO_COUNT_NEED-CO_COUNT_ORD)/CO_COUNT_NEED ORDRATE,--断供面 --CO_COUNT_ORDFULL/CUST_COUNT_SUPPLY FULLRATE, --订足面 --QTY_ORD/QTY_NEED ORDNEEDRATE, --订单满足率(%) --QTY_ORD_PERCENT_TOP1*100/QTY_ORD QTYR...
true
30f082d07d0af95c789fe4b2c75ca33ac5b38eb7
SQL
manders87/Redshift-IQVIA-Data-Warehouse
/prod_ptab_Sales_Xptrx_Nbrx.sql
UTF-8
12,430
3.71875
4
[ "MIT" ]
permissive
/*---------------------------------------------------------------------------------- SQL File: ptab_Sales_Xptrx_Nbrx.sql Table Name: rpt_apollo.ptab_sales_xptrx_nbrx_combined rpt_apollo.ptab_sales_xptrx_nbrx_combined_alignment View Name: rpt_apollo.v_tab_sales_xptrx_nbrx_combined rpt_apollo.v_tab_sales_x...
true
312c71d746c61425f443e10b95980e883bd55c73
SQL
FrancoPlacencia/Projects
/Spring/iba_workspace/iba_mvc/target/iba-webapp/WEB-INF/classes/db/sql/create-db.sql
UTF-8
772
3.796875
4
[]
no_license
/** This table is the reference for a user object, this will contain the information of the user, and the relation with the role that the user have */ CREATE TABLE t_user ( id INTEGER GENERATED BY DEFAULT AS IDENTITY(START WITH 1, INCREMENT BY 1) PRIMARY KEY, name VARCHAR(30), email VARCHAR(50), passwo...
true
d802ead3245c2bd7ac367088c8d5f20937f2638c
SQL
MacroSong1996/springcloud
/demo-projects/dp-websocket/src/main/resources/xh_zc_tb.sql
UTF-8
1,456
3.3125
3
[]
no_license
/* Navicat MySQL Data Transfer Source Server : 192.168.1.111 Source Server Version : 50725 Source Host : 192.168.1.111:3306 Source Database : xht_ywp Target Server Type : MYSQL Target Server Version : 50725 File Encoding : 65001 Date: 2019-05-29 18:05:41 */ SET FOREIGN_KEY_CHECKS=...
true
3f14e9a3cad74e7e5eb291969b535a485339e1f3
SQL
acesogwapo/OnlineHotel
/database/database(3-12-2015).sql
UTF-8
7,510
3.3125
3
[]
no_license
-- phpMyAdmin SQL Dump -- version 4.2.7.1 -- http://www.phpmyadmin.net -- -- Host: 127.0.0.1 -- Generation Time: Mar 12, 2015 at 01:19 PM -- Server version: 5.6.20 -- PHP Version: 5.5.15 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */...
true
a90cc1b3d0a6cd38e29fea042041f302c2373096
SQL
Aslem1/Perso
/Bases de donnees/Entreprise_LDD_maison.sql
UTF-8
992
3.65625
4
[]
no_license
DROP TABLE IF EXISTS materiel; DROP TABLE IF EXISTS contrat; DROP TABLE IF EXISTS societe; DROP TABLE IF EXISTS type; CREATE TABLE societe ( code_societe integer, raison_sociale varchar(50) not null, adresse varchar(50) not null, ville varchar(50) not null, code_postal integer not null, PRIMARY KEY (code_socie...
true
f9544b7298487db15a0a0738fc38a2e8f91c767b
SQL
lucas-pessoa/LabBD-2017
/views.sql
UTF-8
4,999
3.5625
4
[]
no_license
CREATE VIEW cuidaCompleto as SELECT Cuida.cpf,Cuida.idCuidador,periodicidade, local_cuida, horarioNro, inicio, termino,descricao FROM Cuida, HorarioCuida, IntercorrenciaCuida WHERE Cuida.cpf = IntercorrenciaCuida.cpf AND Cuida.cpf = HorarioCuida.cpf AND Cuida.idCuidador = IntercorrenciaCuida.idCuidador AND Cuida.idCui...
true
ef87a8393bb1ecdf504c33c4284bb11eb453caad
SQL
HotBrigtherExperience/internship02
/ClaudiaLupu/Queries/TOTAL_DAT_FUNCTION.sql
UTF-8
1,180
3.015625
3
[]
no_license
CREATE OR REPLACE FUNCTION CL_TOTAL_DATORII (p_repr_comp angajati.cod_angajat%TYPE) RETURN NUMBER IS v_datorie NUMBER; v_cod NUMBER; v_mesaj VARCHAR2(255); BEGIN SELECT SUM(cp.datoria) INTO v_datorie FROM companii cp, angajati ag WHERE cp.reprezentant_companie = ag.cod_angajat A...
true
daf83ceab091c7fd77d1cbf06c94df2d9b63f206
SQL
mariana1412/FEUP-BDAD-PROJ
/Parte III/Triggers/gatilho1_adiciona.sql
UTF-8
607
3.328125
3
[]
no_license
PRAGMA foreign_keys=ON; -- Atualiza pontuacoes e total ganho quando adicionadas novas participacoes individuais CREATE TRIGGER updateRiderDerivatives AFTER INSERT ON IndividualParticipation Begin Update Rider set TotalPoints = TotalPoints + (select Points from Participation where DateTime = New.DateTime AND...
true
7ea529d350d1e9946bff5f4553a379b0adfe5c54
SQL
phackctf/phack-ctf-2021-public
/challenges/Web-Server/the_faceboox/utils/mysql.sql
UTF-8
1,099
2.59375
3
[]
no_license
create database thefaceboox; use thefaceboox; create table messages(id serial, from_user int, to_user int, msg text); create table students(id serial, mail text, passwd text, postfix_hash_salt text, first_name text); create table press(id serial, user text, passwd text); insert into students(mail, passwd, postfix_has...
true
8ab040438d419b60403e942489ce7877e2b0de02
SQL
275465158/allStack
/ecms-backend-master/src/main/java/com/ecms/dal/entity/DDL_repertory.sql
UTF-8
767
3
3
[]
no_license
CREATE TABLE `repertory` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `repertory_code` varchar(128) NOT NULL COMMENT '仓库编码', `repertory_name` varchar(128) NOT NULL COMMENT '仓库名称', `repertory_type` varchar(128) NOT NULL COMMENT '仓库类型 ', `repertory_department_id` int(11) NOT NULL COMMENT '仓库所属部门', `create...
true
140194ad1bc39b8d3b6e5b8973be38f902aeb3e5
SQL
arturovirreyiii/PostgreSQL-Project-NAU
/CREATE_CUSTOMER.sql
UTF-8
237
2.984375
3
[]
no_license
CREATE TABLE CUSTOMER ( CUSTID INT, CUST_NAME VARCHAR (255), PHONE_NUMBER VARCHAR (255), RENTAL_TITLE VARCHAR (255), RENTED_TIME INT, DATE_RENTED DATE, STOREID INT, PRIMARY KEY (CUSTID), FOREIGN KEY (STOREID) REFERENCES STORE (STOREID) )
true
b48ef7fcf20797dc0b3cc72b9bb5f30bc397837f
SQL
AlexanderSchaedlich/testProject
/database/fullstack111.sql
UTF-8
21,102
3.46875
3
[]
no_license
-- phpMyAdmin SQL Dump -- version 5.0.1 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Erstellungszeit: 27. Jun 2020 um 11:00 -- Server-Version: 10.4.11-MariaDB -- PHP-Version: 7.4.3 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CH...
true
f9ff347f3df4cdb53305bd6f5a7eef0377128148
SQL
task-seagods/seagods
/admin/seagods.sql
UTF-8
7,878
3.015625
3
[]
no_license
-- phpMyAdmin SQL Dump -- version 4.2.7.1 -- http://www.phpmyadmin.net -- -- Host: 127.0.0.1 -- Generation Time: Feb 19, 2018 at 05:35 AM -- Server version: 5.5.39 -- PHP Version: 5.4.31 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */...
true
ea76eaaaa3474b7281ffd25de2fddd4e4973576e
SQL
athauanmarques/IFSP
/Trabalhos/POO/Trabalho - museu/0POO Trabalho/Programa/Banco/Ver 1.0/tabelas e consultas/Consultas.sql
UTF-8
1,769
2.875
3
[]
no_license
-- ================ Teste Login ========================= call prVerificarLogin('VIS18456dfgd', '123456', 'visitante'); -- ok visitante call prVerificarLogin('1247fds', '782', 'funcionario'); -- ok call prRedifinirSenha('Athauan','amc@oi.com','321'); -- B.O call prExcluirConta(1); call cadastrarVistante('Athauan','...
true
37410df27e98c3e559a9a3d9403de14f75c1b205
SQL
baowei1003/OracleDatabase
/scripts/dba_scripts-master/sql/tune_set_select.sql
UTF-8
600
2.875
3
[]
no_license
define name=&1 set echo off set feed on col parsing_schema_name for a15 truncated col plan_hash for 9999999999 col rows_x_sec for a10 col text for a35 truncate select sql_id,plan_hash_value plan_hash,parsing_schema_name ,round(elapsed_time/1000/1000/60,2) elap_min ,round(cpu_time/1000/1000/60,2) cpu_min ,buffer_gets,d...
true
6853e5ace63a655fd75ddad1cea338913ebafc68
SQL
olbo98/D0018E
/SQL.sql
UTF-8
4,446
3.53125
4
[]
no_license
CREATE TABLE Users( userID INT NOT NULL, username VARCHAR(12) NOT NULL UNIQUE, password VARCHAR(255) NOT NULL, PRIMARY KEY(userID) ); CREATE TABLE Products( productID INT NOT NULL AUTO_INCREMENT, name VARCHAR(255) NOT NULL, quantity INT NOT NULL, price INT NOT NULL, description VARC...
true
d4587ce5a9c8c635aff316a2b58e05a066352b09
SQL
vishalsaraf44/Advanced-Java
/Bank/Dump20170808/bank_transactiontable.sql
UTF-8
2,056
2.96875
3
[]
no_license
-- MySQL dump 10.13 Distrib 5.7.17, for Win64 (x86_64) -- -- Host: localhost Database: bank -- ------------------------------------------------------ -- Server version 5.5.56 /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!401...
true
780fd181a36bcb16df6e31bb8cd46f69b4b8313f
SQL
bill-zm/nodetest
/yuekong_server/yuekong_server/data/SQL_script_V3.3/20160420_yuekong_db_diff.sql
UTF-8
2,051
2.5625
3
[ "Apache-2.0" ]
permissive
ALTER TABLE `ucon_generic`.`brand` ADD COLUMN `ble_sub_category` INT(11) NULL COMMENT '' AFTER `name_tw`; ALTER TABLE `ucon_generic`.`brand` ADD COLUMN `ble_sub_category_name` VARCHAR(32) NULL COMMENT '' AFTER `ble_sub_category`; ALTER TABLE `ucon_generic`.`remote_index_ii` ADD COLUMN `ble_sub_category` INT(11) NULL ...
true
d01543a95f63c218a0c7a493738174f294f5adda
SQL
thepieterdc/nrf52-heartrate
/web/migrations/002-create-measurements.sql
UTF-8
643
3.0625
3
[]
no_license
-------------------------------------------------------------------------------- -- Up -------------------------------------------------------------------------------- CREATE TABLE measurements ( measurement_id INTEGER PRIMARY KEY AUTOINCREMENT, device_id INTEGER, value DOUBLE, dateline INTEGER DEFAULT...
true
f6a86ee94084809ac954aaac7192dce59a0be2f7
SQL
wabyking/E_Course
/e_course.sql
UTF-8
7,278
3.25
3
[]
no_license
/* Navicat MySQL Data Transfer Source Server : ben Source Server Version : 50610 Source Host : 127.0.0.1:3306 Source Database : e_course Target Server Type : MYSQL Target Server Version : 50610 File Encoding : 65001 Date: 2014-09-17 14:54:01 */ SET FOREIGN_KEY_CHECKS=0; -- ------...
true
d7b23d53f2bb9350eb47b068d1c69d663a4684d9
SQL
igoryen/bearberry2
/sql_scripts/select/progress/by_eid_uid.sql
UTF-8
423
3.6875
4
[]
no_license
# select/progress # for user 4 and exercise 82 show me weeks and weights SELECT p.id AS 'p.id', p.uid AS 'p.uid', p.eid AS 'p.eid', #max(p.week) AS 'p.week' p.week AS 'p.week', p.weight AS 'p.weight' FROM bearberry.Progress AS p #JOIN bearberry.weight AS w ON p.id = w.pid WHERE p....
true
cb9c8c279f8768ef3a371f44b7a2fac4ba91ac73
SQL
buddika-sandMan/PublicWall
/dbbackups/publicwallscript2.sql
UTF-8
6,905
3.6875
4
[]
no_license
-- MySQL Workbench Forward Engineering SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0; SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0; SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='TRADITIONAL,ALLOW_INVALID_DATES'; -- ----------------------------------------------------- -- Schema my...
true
3a8879500064b4d4f23b8decb938d2b70fd1c59b
SQL
ThoPeumasschel/MyProjects
/labs/Aufgabe_1_18.sql
UTF-8
339
3.359375
3
[]
no_license
SELECT last_name, department_id, salary FROM employees WHERE department_id IN ( SELECT department_id FROM employees WHERE salary = ( SELECT MAX(salary) FROM employees ...
true
a04300f24ae87ddef7aeda6cfed1665cfafe1b78
SQL
dhistira/PointOfSalesPHP
/database/POSRPL.sql
UTF-8
3,678
3.1875
3
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
-- phpMyAdmin SQL Dump -- version 4.8.3 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1:3306 -- Generation Time: Jun 26, 2019 at 07:42 PM -- Server version: 5.7.23 -- PHP Version: 7.2.10 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CH...
true
9a2802e80bcb6e1c9d3e634f33127056e65c8546
SQL
mendigali/karbil-database
/queries.sql
UTF-8
3,480
4.25
4
[]
no_license
-- SHOW LIST OF THE TEACHERS AND LESSON THAT EACH OF THEM TEACH SELECT `user`.`first_name`, `user`.`last_name`, `lesson`.`name` FROM `user` INNER JOIN `teacher` ON `user`.`id` = `teacher`.`user_id` INNER JOIN `lesson` ON `teacher`.`lesson_id` = `lesson`.`id`; -- SHOW LIST OF CLASSES AND THEIR CLASSROOMS SELECT `class`...
true
31b4a429450797d9a8d6b22678e399557249e90f
SQL
um505/Database-development
/Mail Delivery.sql
UTF-8
9,150
3.296875
3
[]
no_license
-- phpMyAdmin SQL Dump -- version 4.9.3 -- https://www.phpmyadmin.net/ -- -- Host: localhost:8889 -- Generation Time: Jun 01, 2020 at 04:13 PM -- Server version: 5.7.26 -- PHP Version: 7.4.2 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; -- -- Database: `cr09_Maxim_Ulyanov_delivery` -- CREATE DATAB...
true
0f80dd468f68d5256e3f3d471b3df268b2aad50a
SQL
UniversityOfHawaii/banner_uh_cpostranslator_ecommunities
/sql/stvrest_inserts.sql
UTF-8
2,409
3.421875
3
[]
no_license
------------------------------------------------------------------------------------------------------------- -- -- File Name: stvrest_inserts.sql -- Created: 18-May-17 -- Version: 1.0 -- -- Purpose: Insert needed records into STVREST for the CPOS process. -- -- Notes: 1. Run as SATURN. -- 2. Cha...
true
79c368da27caffcb1def20cb145304b535a95926
SQL
hailiangchen/testCode
/51_admin.sql
UTF-8
1,459
2.703125
3
[]
no_license
-- phpMyAdmin SQL Dump -- version 4.1.4 -- http://www.phpmyadmin.net -- -- Host: localhost -- Generation Time: 2017-03-17 09:25:27 -- 服务器版本: 10.1.19-MariaDB -- PHP Version: 5.6.28 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40...
true
79ce543c524f535fccd125ea5494587dff9503ef
SQL
VAegorov/forum
/sql/forum.sql
UTF-8
2,000
3.09375
3
[]
no_license
-- phpMyAdmin SQL Dump -- version 4.6.5.2 -- https://www.phpmyadmin.net/ -- -- Хост: 127.0.0.1 -- Время создания: Янв 23 2018 г., 10:37 -- Версия сервера: 10.1.21-MariaDB -- Версия PHP: 7.1.1 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIE...
true