IT heros


details about it.


63 User See All
Ansari Tahirnisarg patelNAGA SAI HEMANTH JAMILIVishal PatelJalpa Savaliya
Ansari Md TahirKaran PardeshiKamal HemaniHarshil KabraRituraj Singh
Jigar ParikhRajan VirdiyaDark KnightArbaz PathanRahul Kashaudhan
Dhaval KakadiyaAshish MishraAnsari TahirTushar PrajapatiShashvat Parekh
Huzefa BiyawarwalaSydney MunyaradziKeyur ParmarRohan PatelMaitulya Nayak
Paras MehtaSagar LodhiyaAbhinav ShrivastavaMustafa ZariNirmal Shah
Mask JakashHemal PatelEr Chandresh PrajapatiVijaykumar SarvaiaDarshan Patel
Chirag TalsaniyaHinal ShahMahesh BariaAsmi VasoyaRathod Nilam
Hothi SagarMahesh MiyaniDevarshi GandhiKishan SonaniJinen Kothari
Girish ShrimaliArpan PatelArvind PatelChirag NakumRajesh Pansara
Vignat VoraSagar LodhiyaVatan BhagatDhruvin ShahSatyam Pandey
Vipul ChavdaShah JigneshAnjali ChaudharyKonik PokarJoydip Panchal
Raxit BhattShaily ShahHiren Solanki
Photo
Back to cluster list

Make Comments..!!


Karan Pardeshi
give me c programing nots
Like · Comment ·
Ansari Md Tahir likes this
Ansari Md Tahir
i hav only c programs..if u want ..give me ur email ID
Like ·
Joydip Panchal
#SQL
#GROUp BY CLAUSE
#Example

How to get max salary in each department?

Table :

id salary fname department
1 10000 prakash IT

2 12000 Ramesh IT

3 15000 Manish SYSTEM

4 7000 Suresh DEVELOPMENT

5 7500 Mukesh DEVELOPMENT

6 9500 Kamlesh SUPPORT

8 6000 Lalit SUPPORT

9 9000 Umesh IT

10 8000 Tapan SYSTEM

11 9000 Ila DEVELOPMENT

12 4500 Patan SYSTEM

13 18000 Yugank SUPPORT


Query :

SELECT MAX(salary) AS salary,department FROM table1 GROUP BY department

Result :

salary department
9000 DEVELOPMENT
12000 IT

18000 SUPPORT

15000 SYSTEM

Now if we want to display fname,id of that record, we simply add those columns name to query like :

Query :

SELECT id,fname,MAX(salary) AS salary,department FROM table1 GROUP BY department

Result :

id fname salary department
4 Suresh 9000 DEVELOPMENT
1 prakash 12000 IT

6 Kamlesh 18000 SUPPORT

3 Manish 15000 SYSTEM


Result data is contain wrong fname and id. Becase group by always fetch first row of group. So, we have to include join in to our query.

Query :

SELECT t1.* FROM table1 t1 INNER JOIN (SELECT MAX(salary) AS s,department FROM table1 GROUP BY department) AS t2 ON t2.s = t1.salary WHERE t1.department = t2.department

Result :

id fname salary department
2 Ramesh 12000 IT


3 Manish 15000 SYSTEM
11 Ila 9000 DEVELOPMENT
13 Yugank 18000 SUPPORT
Like · Comment ·
Rahul Kashaudhan
hey ....... plz cmd program coding give me....
Like · Comment ·
Ansari Tahir
Socket Programming...plz share me best link..//
Like · Comment ·
Sydney Munyaradzi
http://pcsx2.net/download.htmlll PLAYSTATION 2 games using a PLAYSTATION 2 Emulator......

http://pcsx2.net/download.html
Like · Comment ·
Ansari Tahir likes this
Ansari Tahir
thnx..friend
Like ·
Joydip Panchal
https://addons.mozilla.org/en-US/firefox/addon/wmlbrowser/

Do you want to test your WML Program files??

Just install WMLbrowser add-ons in firefox.. and you can test it into firefox...

Enjoy..
Like · Comment ·
Shaily Shah and 2 other like this
Mahesh Baria
In C pls tell me answer......
main()
{
float f=1.3;
if(f==1.3)
{
printf("true";
}else
{
printf("flasle";
}
}
Like · Comment ·
Satyam Pandey and Mahesh Baria like this
Mahesh Baria
Tell me answer
Like ·
Bhuro Patel
false.
Like ·
Rakesh Pathak
false because you are compariongfloat value with double,use 1.3f in place of 1.3 , ans will true.
Like · 1 ·
Sydney Munyaradzi
flasle, that will be the answer
Like · 1 ·
Dhruvin Shah
Plzz...tell me the differance between DA n DBA
Like · Comment ·
Hiren Solanki
Facebook-Datalogix deal may violate privacy promises


Privacy groups say Facebook may be pushing the boundaries of its recent agreement with the FTC over how it handles user data
Like · Comment ·
Joydip Panchal likes this
Hiren Solanki
Cyber criminals hack Adobe certificate server


Adobe is working on revoking a certificate and enlisting the help of security vendors
Like · Comment ·
Joydip Panchal and Arpan Patel like this
Hiren Solanki
The BlueStacks App Player will allow users to run Android apps on their AMD-powered Windows PCs, including those running Windows 8.
Like · Comment ·
Joydip Panchal likes this
Hiren Solanki
The apple effect on your pc be surprised if your next PC is (also) a tablet.
for more information
http://news.cnet.com/8301-13579_3-57508831-37/the-apple-effect-on-your-next-pc/
Like · Comment ·
Admin and 4 other like this
Hiren Solanki
sorry but the startuing sentence is "The apple effect on your pc".
Like ·
Download Android App