Skip to content

Instantly share code, notes, and snippets.

View suryansh011's full-sized avatar

Suryansh Singh suryansh011

View GitHub Profile
@suryansh011
suryansh011 / nginx
Created August 30, 2021 12:00 — forked from d-bo/nginx
nginx rc.d init script freebsd
#!/bin/sh
# if compiled from sources
# place this file inside /usr/local/etc/rc.d
# point _pidfrefix where nginx holds pid file
. /etc/rc.subr
name="nginx"
rcvar=nginx_enable
@suryansh011
suryansh011 / PROGRAM 16.txt
Created September 13, 2022 10:25 — forked from vijayakumarchinthala/PROGRAM 16.txt
Program 16 Create a student table and insert data. Implement the following SQL commands on the student table: ALTER table to add new attributes / modify data type / drop attribute UPDATE table to modify data ORDER By to display data in ascending / descending order DELETE to remove tuple(s) GROUP BY and find the min, max, sum, count and average
#Switched to a database
mysql> USE GVKCV;
Database changed
#Creating table student
mysql> create table student
-> (ROLLNO INT NOT NULL PRIMARY KEY,
-> NAME CHAR(10),
-> TELUGU CHAR(10),
-> HINDI CHAR(10),