SQL | Difference between primary key and unique constraints There is only one primary key in a table. It creates the clustered index automatically and it cannot have NULL value whereas there can be multiple …

Last updated 7 years, 3 months ago | 2392 views

Tags:- SQL MySQL

Python | Program to find factorial of a number This is an example of how to find the factorial of a number in python. The factorial of a number is a product of all the positive …

Last updated 5 years, 4 months ago | 2342 views

Tags:- Python

HTML | Basic tags A tag is a string in the language enclosed in angle brackets. An opening tag does not begin with a slash (/). An ending or closing tag is a string that …

Last updated 5 years, 3 months ago | 2315 views

Tags:- HTML

PHP | What are cookies in PHP? A cookie is a small piece of information store by the browser on the client location and sent to the server with every request. It stores a limited amount …

Last updated 7 years, 12 months ago | 2304 views

Tags:- PHP

SHUTDOWN | A CLI command for Windows It's really cool to shutdown your computer through Run command or command prompt. Actually shutdown is a CLI (command line interface) command or function which is use to …

Last updated 7 years, 3 months ago | 2293 views

Tags:- CMD

Python | Program to find factorial of a number using recursive function This is an example of how to find the factorial of a number in python using a recursive function. The factorial of a …

Last updated 5 years, 4 months ago | 2285 views

Tags:- Python

Django | Insert record in database using create() function create() create(**kwargs) Create function create a new object with the given `kwargs`, saving it to the database and returning the created object. It creates an object …

Last updated 5 years, 7 months ago | 2273 views

Tags:- Django

Python | Program to count the number of words in a string split() and len() method is used to get the number of words in a string. The split() method split a string into a list …

Last updated 5 years, 8 months ago | 2262 views

Tags:- Python

Git init | Initialize a local Git repository The git init command creates a new Git repository in local. This is usually the first command you will run before working on a new project. git …

Last updated 5 years, 7 months ago | 2259 views

Tags:- Git

Python | Fibonacci series This is an example of how to print the Fibonacci series. It takes an input number from the user to print the Fibonacci series. The Fibonacci series is a sequence of …

Last updated 5 years, 4 months ago | 2252 views

Tags:- Python

Bellow code is used for the same $date1 = date(‘Y-m-d’); $date2 = ‘2006-08-15’; $days = (strtotime($date1) – strtotime($date2)) / (60 * 60 * 24); echo $days;  

Last updated 7 years, 12 months ago | 2251 views

Tags:- PHP

DATEDIFF function is use for finding the number of days between two given dates using MySQL DATEDIFF(‘2018-03-07′,’2017-01-01’)  

Last updated 7 years, 12 months ago | 2238 views

Tags:- MySQL

HTML  | What is HTML Elements HTML elements help to create a webpage. It consists of a start tag, some content, and an end tag.   Everything from the start tag to the end tag …

Last updated 5 years, 3 months ago | 2212 views

Tags:- HTML

Django |  Loosely Coupled Framework Django is called a loosely coupled framework because of its MVT architecture, which is a variant of the MVC architecture. It helps in separating the server code from the client-related code. Django’s …

Last updated 4 years, 3 months ago | 2184 views

Tags:- Django

JQuery | Difference between JavaScript and JQuery  Javascript is a client-side scripting language whereas jQuery is a library (or framework) built with JavaScript.     Javascript JQuery  javascript is a dynamic and interpreted client-side scripting language …

Last updated 5 years, 2 months ago | 2095 views

Tags:- JQuery JavaScript