Okay, I am totally stuck here, and I hope that you can help me.
I am working with Access 2010.
My table looks like this:
id || Product || Price || Store || Storeno. ||
1 || Hammer || 5,99 || Gamma || 1001 ||
1 || Hammer || 6,99 || Karwei || 1002 ||
2 || Nails || 3,99 || Gamma || 1001 ||
2 || Nails || 3,49 || Karwei || 1002 ||
2 || Nails || 2,99 || Praxis || 1003 ||
3 || Saw || 8,99 || Karwei || 1002 ||
3 || Saw || 6,99 || Praxis || 1003 ||
What I need is a query or code who compares the prices from various products and gives me the cheapest product.
At the end, my table has to look like this:
id || Product || Price || Store || Storeno. ||
1 || Hammer || 5,99 || Gamma || 1001 ||
2 || Nails || 2,99 || Praxis || 1003 ||
3 || Saw || 6,99 || Praxis || 1003 ||
I hope you guys can help me.
Thanks.
I am working with Access 2010.
My table looks like this:
id || Product || Price || Store || Storeno. ||
1 || Hammer || 5,99 || Gamma || 1001 ||
1 || Hammer || 6,99 || Karwei || 1002 ||
2 || Nails || 3,99 || Gamma || 1001 ||
2 || Nails || 3,49 || Karwei || 1002 ||
2 || Nails || 2,99 || Praxis || 1003 ||
3 || Saw || 8,99 || Karwei || 1002 ||
3 || Saw || 6,99 || Praxis || 1003 ||
What I need is a query or code who compares the prices from various products and gives me the cheapest product.
At the end, my table has to look like this:
id || Product || Price || Store || Storeno. ||
1 || Hammer || 5,99 || Gamma || 1001 ||
2 || Nails || 2,99 || Praxis || 1003 ||
3 || Saw || 6,99 || Praxis || 1003 ||
I hope you guys can help me.
Thanks.