Tuesday, July 15, 2014

Count and distinct over multiple columns..


1) http://stackoverflow.com/questions/18715798/count-multiple-columns-sql

This is the final format of the query :
SELECT COUNT(*) FROM mytable GROUP BY id, name, address
 
2) COUNT() in SQL Server accepts the following syntax :

COUNT(*)
COUNT(colName)
COUNT(DISTINCT colName)
Good link to read is below 
 
http://stackoverflow.com/questions/18968963/select-countdistinct-error-on-multiple-columns 
 
3)  Count(DISTINCT) in multiple columns in SQL Server 2008
http://stackoverflow.com/questions/11920317/countdistinct-in-multiple-columns-in-sql-server-2008 
 
SELECT COUNT(*) FROM (SELECT DISTINCT Column1, Column2  FROM Table) A 

4) Counting over distinct columns
http://stackoverflow.com/questions/1471250/counting-distinct-over-multiple-columns 

 

 

 

Thursday, July 10, 2014

Node and BlueMix

Node JS for beginners

Adding a Runtime on BlueMix

Meteor Library

IBM Operational Decision Manager

Cannot Satisfy Dependency error in Eclipse

Eclipse Releases : Version - Release Name - Downloads Page

Some pretty useful life hacks!

Wednesday, July 2, 2014

Blue Mix Developed Projects

BlueMix Instance URL
https://ace.stage1.ng.bluemix.net/?ssoLogout=true

Omkar Nimbalkar on BlueMix
https://www.youtube.com/watch?v=2LKOwZtW5ao#t=76?ce=ism0070&ct=is&cmp=ibmsocial&cm=h&cr=crossbrand&ccy=us

Hotel Application using the Rules service

  1. Developer Works Tutorial
  2. Installing Rules Designer in Eclipse
  3. Rules Service example DevOps Link

Analytics Service on BlueMix
http://www.ibm.com/developerworks/library/bd-ruby-bluacceleration-app/index.html?ca=drs-


Getting started with IBM Gamification for BlueMix!
IBM Gamification for Blue Mix

Git Hub Getting started
Getting started with Git Hub

Git Hub for Windows
Git Hub for Windows Setup

 Bus Simulator Project

Bus Simulator Demo Live Link

Build and Deploy a REST API on IBM Blue Mix with PHP and MySQL
build-and-deploy-a-rest-api-on-ibm-bluemix-with-php-and-mysql/

Building a Web App
Steps to build a web app

Sentiment Analysis App
Sentiment Analysis App

Automate Famo.us mobile apps with Cloudant on Bluemix
http://www.ibm.com/developerworks/cloud/library/cl-bluemix-famous-mobile/index.html?ce=ism0070&ct=is&cmp=ibmsocial&cm=h&cr=crossbrand&ccy=us

Animate Images in a node.js web app
http://www.ibm.com/developerworks/cloud/library/cl-animate-images-app/index.html?ce=ism0070&ct=is&cmp=ibmsocial&cm=h&cr=crossbrand&ccy=us

Image Rotator Source Code
https://hub.jazz.net/project/nathviswa/ImageRotator/overview#https://hub.jazz.net/project/nathviswa/ImageRotator/nathviswa%2520%257C%2520ImageRotator/_V1xiYAAwEeSgjb7zPlBjjw/_V2LyEAAwEeSgjb7zPlBjjw/index.ejs

My Image Rotator Source Code
https://hub.jazz.net/project/sonia14/MyImageAnimator/settings/options


Do it yourself: Build a remote surveillance app using Bluemix, Cloudant, and Raspberry Pi
http://www.ibm.com/developerworks/library/ba-remoteservpi-app/index.html?ce=ism0070&ct=is&cmp=ibmsocial&cm=h&cr=crossbrand&ccy=us

Build a time-control app using iBeacons and the IBM MobileData service
http://www.ibm.com/developerworks/mobile/library/mo-bluemix-ibeacons/index.html?ce=ism0070&ct=is&cmp=ibmsocial&cm=h&cr=crossbrand&ccy=us

Dev Ops Repository Links

env-javaweb

REST Products API


Calorie Counter Demo App

Initial Days with Git Hub

This article talks about how we can fork a repository on Git Hub. 
Fork a Git Hub Repository

Getting started with the Spoon/Knife project on GitHub
Spoon-Knife Sample Project