Deep and simple SQL: 2 SELECT statement

SELECT * from my_contacts; Better select - Use the WHERE clause (to provide conditions for search) SELECT * FROM my_contacts WHERE first_name = 'Anne'; Note that text strings need single quotation marks. An asterisk (*) indicates that RDBMS returns all columns in the table. Practice: CREATE DATABASE drinks; USE drinks; CREATE T ...

Posted by StumpDK on Sat, 13 Jul 2019 23:48:44 +0200

Talking about React Implementation Comment Box

Structure: Layer 1 - CommentBox Layer 2 - CommentList Layer 3 - Comment Layer 2 - CommentForm   1. JSX grammar: var CommentBox = React.createClass({ render: function() { return ( <div className="commentBox"> CommentBox </div> ); } }); ReactDOM.render( <CommentBox />, document.getElementById('commentBox ...

Posted by hemoglobina on Sat, 06 Jul 2019 23:02:45 +0200

Python 3 Basic Data Types

I. Explanation Variables in Python do not need to be declared. Every variable must be assigned before it is used, and the variable will be created after it is assigned.In Python, a variable is a variable. It has no type. What we call "type" is the type of object in memory that a variable refers to.The equal sign (=) is used to assign ...

Posted by nicx on Mon, 24 Jun 2019 02:00:22 +0200

(4) A Byte of Python - Functions

Functions are reusable program fragments. They allow you to name a block of code, allow you to run it anywhere in your program with that particular name, and repeat it any number of times. This is called Calling. Function. Functions can be defined by the keyword def. This key is followed by the identifier name of a function, followed by a p ...

Posted by shamsuljewel on Mon, 20 May 2019 06:33:21 +0200