Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

Joins In SQL

Joins There are different type of joins in SQL 1.Inner Join-Return all the values if there is a match in both the table. 2.Outer join -left outer join-Return all the values from left table and the values matched from the right table. -right oute

MySQL subqueries examples

Subqueries are generally similar to Normal queries in databases like - They may return one column They may return more column They may return single rows They may return multiple rows Or it can be any of combination from above. SubQueries are

What is the difference between == and equals in Java?

In Java, the "==" operator is used to compare references. When we use the “==” operator in Java it compares 2 objects, it checks whether the two objects refer to the same place in memory or not. Example: String str1 = new String("abc"); String st

C issues with Xcode.

Hello Guys/Gals, I went to a 4 day C programming course in which I learned using windows. Now I'm using Xcode on my own MAC. I'm trying to practice some of the things I learned but having some small issues with Xcode. I wrote this C program to prom

Check whether two strings are anagram of each other in C with character count method?

# include <stdio.h> # define NO_OF_CHARS 256 bool areAnagram(char *str1, char *str2) //function checks whether two strings are anagrams. { // Create 2 count arrays and initialize all values as 0 int count1[NO_OF_CHARS] = {0}; int

Pattern Desigining in PHP

Hello Reader! All of us must have designed a code to print pyramid or some other pattern of asterisk using C, C++. Here is a simple program to print the different asterisk(stars) patterns in PHP. A pattern of stars is a way of arranging these in some

Readonly keyword in C#

Readonly keyword Readonly: Readonly is a keyword which when used with a variable then the value of that variable can only be changed either at runtime or at the time of the instance initialization. The value is assigned to these variable when they

Cumilative sum in SQL

Displaying running totals is a common request, and there is no straightforward way to do so in SQL.     The idea for using SQL to display running totals similar to that for displaying rank: first do a self-join, then, list out the result

Operator operloading in C# via a custom Vector3 class

using System ; class MyVector3{ public float X {get; set;} public float Y {get; set;} public float Z {get; set;} public MyVector3(float x, float y, float z){ X = x ; Y = y ; Z = z ; } public static MyVector3 operator+ (MyVector3 vec

Array and operations on array

Array is used to keep collection of objects. Array in ruby can have any type of objects together. Using array in ruby: >> a = [] >> arr = [1, 0, 7] >> arr[2] # => 7 >> arr.size # => 3 >> arr = ["string", 5, 0.8,

1 29 949
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: